Skip to content

Commit

Permalink
Merge pull request #706 from danskernesdigitalebibliotek/develop
Browse files Browse the repository at this point in the history
Release 2024.33.0
  • Loading branch information
rasben authored Aug 13, 2024
2 parents 4f5c76a + e658bc2 commit a94d618
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- run: yarn css:build

- name: Publish to Chromatic
uses: chromaui/action@v11.5.5
uses: chromaui/action@v11.7.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: c6b96f9648b6
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@storybook/node-logger": "^6.3.7",
"@storybook/preset-create-react-app": "^3.2.0",
"@storybook/react": "^6.5.9",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
Expand All @@ -70,13 +70,13 @@
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.34.4",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-webpack-plugin": "^4.2.0",
"flatpickr": "^4.6.13",
"json": "^11.0.0",
"markdownlint-cli2": "^0.4.0",
"postcss": "^8.4.39",
"postcss": "^8.4.41",
"prettier": "^2.7.1",
"react": "^17.0.2",
"react-docgen-typescript": "^2.1.0",
Expand All @@ -92,7 +92,7 @@
"stylelint-prettier": "^3.0.0",
"stylelint-scss": "^5.3.2",
"typescript": "^4.7.4",
"web-vitals": "^4.2.1"
"web-vitals": "^4.2.3"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
Expand Down
7 changes: 4 additions & 3 deletions src/stories/Library/dropdown/dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ $_dropdown-icon-size: 50px;
.dropdown__select {
$_padding: 20px;

@include typography($typo__button);

appearance: none;
-webkit-appearance: none;
min-width: 230px;
Expand All @@ -37,8 +39,7 @@ $_dropdown-icon-size: 50px;
padding-right: $_dropdown-icon-size + $_padding;
text-overflow: ellipsis;
white-space: nowrap;

@include typography($typo__button);
text-transform: none;

// Chromeium based browsers will trigger focus when opening the dropdown
@extend %default-focus-visible;
Expand All @@ -49,7 +50,6 @@ $_dropdown-icon-size: 50px;
}

.dropdown__option {
text-transform: capitalize;
background-color: #f9f9f9;
height: 400px;

Expand Down Expand Up @@ -85,6 +85,7 @@ $_dropdown-icon-size: 50px;
height: 100%;
padding: $s-sm $s-md;
min-width: 200px;
text-transform: none;
}

.dropdown__select--inline-body-font {
Expand Down
1 change: 1 addition & 0 deletions src/stories/Library/multiselect/multiselect.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
text-overflow: ellipsis;
padding: 0 $s-md;
cursor: pointer;
text-transform: none;
}

&__opener {
Expand Down
5 changes: 5 additions & 0 deletions src/styles/scss/reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
box-sizing: border-box;
}

// Controls word hyphenation when text wraps.
* {
hyphens: auto;
}

/* Remove default padding and list styles */
ul,
ol {
Expand Down
43 changes: 16 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2873,10 +2873,10 @@
lz-string "^1.5.0"
pretty-format "^27.0.2"

"@testing-library/jest-dom@^6.4.6":
version "6.4.6"
resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-6.4.6.tgz#ec1df8108651bed5475534955565bed88c6732ce"
integrity sha512-8qpnGVincVDLEcQXWaHOf6zmlbwTKc6Us6PPu4CRnPXCzo2OGBS5cwgMMOWdxDpEz1mkbvXHpEy99M5Yvt682w==
"@testing-library/jest-dom@^6.4.8":
version "6.4.8"
resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-6.4.8.tgz#9c435742b20c6183d4e7034f2b329d562c079daa"
integrity sha512-JD0G+Zc38f5MBHA4NgxQMR5XtO5Jx9g86jqturNTt2WUfRmLDIY7iKkWHDCCTiDuFMre6nxAD5wHw9W5kI4rGw==
dependencies:
"@adobe/css-tools" "^4.4.0"
"@babel/runtime" "^7.9.2"
Expand Down Expand Up @@ -4242,16 +4242,6 @@ array.prototype.reduce@^1.0.4:
es-array-method-boxes-properly "^1.0.0"
is-string "^1.0.7"

array.prototype.toreversed@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/array.prototype.toreversed/-/array.prototype.toreversed-1.1.2.tgz#b989a6bf35c4c5051e1dc0325151bf8088954eba"
integrity sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==
dependencies:
call-bind "^1.0.2"
define-properties "^1.2.0"
es-abstract "^1.22.1"
es-shim-unscopables "^1.0.0"

array.prototype.tosorted@^1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz#fe954678ff53034e717ea3352a03f0b0b86f7ffc"
Expand Down Expand Up @@ -7303,15 +7293,14 @@ eslint-plugin-react-hooks@^4.2.0, eslint-plugin-react-hooks@^4.6.2:
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz#c829eb06c0e6f484b3fbb85a97e57784f328c596"
integrity sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==

eslint-plugin-react@^7.21.5, eslint-plugin-react@^7.34.4:
version "7.34.4"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.34.4.tgz#1f0dc313a0937db7ce15fd1f6c3d77e70f3e02fb"
integrity sha512-Np+jo9bUwJNxCsT12pXtrGhJgT3T44T1sHhn1Ssr42XFn8TES0267wPGo5nNrMHi8qkyimDAX2BUmkf9pSaVzA==
eslint-plugin-react@^7.21.5, eslint-plugin-react@^7.35.0:
version "7.35.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.35.0.tgz#00b1e4559896710e58af6358898f2ff917ea4c41"
integrity sha512-v501SSMOWv8gerHkk+IIQBkcGRGrO2nfybfj5pLxuJNFTPxxA3PSryhXTK+9pNbtkggheDdsC0E9Q8CuPk6JKA==
dependencies:
array-includes "^3.1.8"
array.prototype.findlast "^1.2.5"
array.prototype.flatmap "^1.3.2"
array.prototype.toreversed "^1.1.2"
array.prototype.tosorted "^1.1.4"
doctrine "^2.1.0"
es-iterator-helpers "^1.0.19"
Expand Down Expand Up @@ -13111,10 +13100,10 @@ postcss@^7, postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.17, po
picocolors "^0.2.1"
source-map "^0.6.1"

postcss@^8.1.0, postcss@^8.4.19, postcss@^8.4.39:
version "8.4.39"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.39.tgz#aa3c94998b61d3a9c259efa51db4b392e1bde0e3"
integrity sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==
postcss@^8.1.0, postcss@^8.4.19, postcss@^8.4.41:
version "8.4.41"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.41.tgz#d6104d3ba272d882fe18fc07d15dc2da62fa2681"
integrity sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==
dependencies:
nanoid "^3.3.7"
picocolors "^1.0.1"
Expand Down Expand Up @@ -16485,10 +16474,10 @@ web-namespaces@^1.0.0:
resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.4.tgz#bc98a3de60dadd7faefc403d1076d529f5e030ec"
integrity sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw==

web-vitals@^4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-4.2.1.tgz#67eec387ddd0ef4c25574a01ab9dae723eee2b97"
integrity sha512-U6bAxeudnhDqcXNl50JC4hLlqox9DZnngxfISZm3DMZnonW35xtJOVUc091L+DOY+6hVZVpKXoiCP0RiT6339Q==
web-vitals@^4.2.3:
version "4.2.3"
resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-4.2.3.tgz#270c4baecfbc6ec6fc15da1989e465e5f9b94fb7"
integrity sha512-/CFAm1mNxSmOj6i0Co+iGFJ58OS4NRGVP+AWS/l509uIK5a1bSoIVaHz/ZumpHTfHSZBpgrJ+wjfpAOrTHok5Q==

webidl-conversions@^3.0.0:
version "3.0.1"
Expand Down

0 comments on commit a94d618

Please sign in to comment.