Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .stylelintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ rules:
import-notation: string
layer-name-pattern: null
max-nesting-depth: 4
nesting-selector-no-missing-scoping-root: null
no-invalid-position-declaration: null
number-max-precision: null
order/order:
- - type: at-rule
Expand Down
1,296 changes: 667 additions & 629 deletions package-lock.json

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,35 @@
">= 1% in US"
],
"dependencies": {
"next": "15.3.5",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-select": "^5.10.1"
"next": "15.4.5",
"react": "19.1.1",
"react-dom": "19.1.1",
"react-select": "^5.10.2"
},
"devDependencies": {
"@csstools/postcss-global-data": "^3.0.0",
"@eslint/eslintrc": "^3.3.1",
"@forumone/eslint-config-es5": "^3.0.0",
"@forumone/eslint-config-react": "^3.0.0",
"@next/eslint-plugin-next": "15.3.5",
"@storybook/addon-a11y": "^9.0.15",
"@storybook/addon-docs": "^9.0.15",
"@storybook/addon-links": "^9.0.15",
"@storybook/nextjs": "^9.0.15",
"@forumone/eslint-config-es5": "^3.0.2",
"@forumone/eslint-config-react": "^3.0.2",
"@next/eslint-plugin-next": "15.4.5",
"@storybook/addon-a11y": "^9.1.1",
"@storybook/addon-docs": "^9.1.1",
"@storybook/addon-links": "^9.1.1",
"@storybook/nextjs": "^9.1.1",
"@svgr/babel-plugin-add-jsx-attribute": "^8.0.0",
"@svgr/babel-plugin-remove-jsx-attribute": "^8.0.0",
"@svgr/cli": "^8.1.0",
"@types/node": "^20.19.4",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
"@types/node": "^20.19.9",
"@types/react": "19.1.9",
"@types/react-dom": "19.1.7",
"@typescript-eslint/eslint-plugin": "^8.29.1",
"@typescript-eslint/parser": "^8.29.1",
"clsx": "^2.1.1",
"css-loader": "^7.1.2",
"csstype": "3.1.3",
"enhanced-resolve": "^5.18.2",
"eslint": "^9.30.1",
"html-react-parser": "^5.2.5",
"eslint": "^9.32.0",
"html-react-parser": "^5.2.6",
"husky": "^9.1.7",
"inquirer": "^10.2.2",
"plop": "^4.0.1",
Expand All @@ -64,20 +64,20 @@
"postcss-preset-env": "^10.2.4",
"postcss-rem": "^3.0.0",
"prettier": "^3.6.2",
"prettier-plugin-organize-imports": "^4.1.0",
"storybook": "^9.0.15",
"prettier-plugin-organize-imports": "^4.2.0",
"storybook": "^9.1.1",
"style-loader": "^4.0.0",
"stylelint": "^16.21.1",
"stylelint-config-standard": "^38.0.0",
"stylelint": "^16.23.0",
"stylelint-config-standard": "^39.0.0",
"stylelint-order": "^7.0.0",
"stylelint-webpack-plugin": "^5.0.1",
"typescript": "~5.8.3",
"yaml": "^2.8.0"
},
"overrides": {
"csstype": "3.1.3",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
"@types/react": "19.1.9",
"@types/react-dom": "19.1.7",
"storybook": "$storybook"
}
}
6 changes: 3 additions & 3 deletions source/00-config/mixins/accessibility.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
@param {Boolean} $important
*/
@mixin visually-hidden($important: false) {
clip: rect(1px, 1px, 1px, 1px) iff($important, !important);
clip-path: rect(1px, 1px, 1px, 1px) iff($important, !important);
height: 1px iff($important, !important);
overflow: hidden iff($important, !important);
overflow-wrap: normal iff($important, !important);
position: absolute iff($important, !important);
width: 1px iff($important, !important);
word-wrap: normal iff($important, !important);
}

/**
Expand All @@ -24,7 +24,7 @@
@param {boolean} $important
*/
@mixin visually-hidden-off($important: false) {
clip: auto iff($important, !important);
clip-path: auto iff($important, !important);
height: auto iff($important, !important);
overflow: visible iff($important, !important);
position: static iff($important, !important);
Expand Down
2 changes: 1 addition & 1 deletion source/01-global/html-elements/02-body/body.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ body {
color: var(--text-primary);
inline-size: 100%;
margin: 0;
overflow-wrap: break-word;
overflow-x: hidden;
padding: 0;
word-wrap: break-word;

&.has-open-menu,
&.has-open-modal {
Expand Down
2 changes: 1 addition & 1 deletion source/01-global/html-elements/13-headings/headings.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
text-rendering: optimizeLegibility;

@media print {
break-after: avoid;
orphans: 3;
page-break-after: avoid;
widows: 3;

&::after {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ blockquote {
}

@media print {
page-break-inside: avoid;
break-inside: avoid;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ pre {
overflow: auto;

@media print {
page-break-inside: avoid;
break-inside: avoid;
}
}
2 changes: 1 addition & 1 deletion source/01-global/html-elements/22-list-item/list-item.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ li {
}

@media print {
page-break-inside: avoid;
break-inside: avoid;
}
}
2 changes: 1 addition & 1 deletion source/01-global/html-elements/24-table/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ th {

tr {
@media print {
page-break-inside: avoid;
break-inside: avoid;
}
}

Expand Down
2 changes: 1 addition & 1 deletion source/01-global/html-elements/26-media/img.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ img {
vertical-align: middle;

@media print {
break-inside: avoid;
max-width: 100% !important;
page-break-inside: avoid;
}
}
2 changes: 1 addition & 1 deletion source/02-layouts/Sidebar/sidebar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
--sidebar-width: 300px;
@media (--sidebar) {
display: grid;
grid-gap: var(--sidebar-gutter);
gap: var(--sidebar-gutter);
grid-template-columns: minmax(0, 1fr);

.full {
Expand Down