Skip to content

Commit 2d55730

Browse files
authored
Merge pull request #97 from forumone/1.x-RC
1.1.3
2 parents 00477a5 + bf436d2 commit 2d55730

36 files changed

+5168
-9252
lines changed

.prettierrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"useTabs": false,
1414
"overrides": [
1515
{
16-
"files": ["source/01-global/icon/**/*.tsx"],
16+
"files": ["source/01-global/icon/**/*.tsx", "source/01-global/icon/**/*.svg"],
1717
"options": {
18-
"organizeImportsSkipDestructiveCodeActions": true
18+
"plugins": []
1919
}
2020
}
2121
]

.storybook/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ module.exports = {
1313
],
1414
framework: {
1515
name: '@storybook/nextjs',
16-
options: { builder: { useSWC: true } },
1716
},
1817
webpackFinal: async config => {
1918
config.plugins.push(

.storybook/preview.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import '../source/01-global/index.css';
44
import '../source/06-utility/index.css';
55

66
const parameters = {
7-
actions: { argTypesRegex: '^on[A-Z].*' },
87
controls: {
98
matchers: {
109
color: /(background|color)$/i,

.stylelintrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ rules:
2828
- global
2929
- iff
3030
- 'responsive-font-size'
31+
- 'rem-convert'
3132
import-notation: string
3233
max-nesting-depth: 4
3334
number-max-precision: null

lib/icon-template.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,12 @@ const iconTemplate = (
5353
}
5454

5555
return tpl`
56+
// organize-imports-ignore
57+
5658
// This component is automatically generated.
5759
// SVGs should be added to icon/svgs.
5860
// See the project documentation for more information.
61+
5962
// tslint:disable:ordered-imports
6063
import clsx from 'clsx';
6164
${imports};

package-lock.json

Lines changed: 5042 additions & 9138 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nextjs-project",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
@@ -30,25 +30,23 @@
3030
"react-select": "^5.8.0"
3131
},
3232
"devDependencies": {
33-
"@babel/core": "^7.23.7",
3433
"@csstools/postcss-global-data": "^2.1.1",
35-
"@storybook/addon-a11y": "^7.6.17",
36-
"@storybook/addon-actions": "^7.6.17",
37-
"@storybook/addon-essentials": "^7.6.17",
38-
"@storybook/addon-interactions": "^7.6.17",
39-
"@storybook/addon-links": "^7.6.17",
40-
"@storybook/nextjs": "^7.6.17",
41-
"@storybook/react": "^7.6.17",
42-
"@storybook/testing-library": "^0.2.2",
43-
"@storybook/theming": "^7.6.17",
34+
"@storybook/addon-a11y": "^8.0.2",
35+
"@storybook/addon-actions": "^8.0.2",
36+
"@storybook/addon-essentials": "^8.0.2",
37+
"@storybook/addon-interactions": "^8.0.2",
38+
"@storybook/addon-links": "^8.0.2",
39+
"@storybook/nextjs": "^8.0.2",
40+
"@storybook/react": "^8.0.2",
41+
"@storybook/test": "^8.0.2",
42+
"@storybook/theming": "^8.0.2",
4443
"@svgr/babel-plugin-add-jsx-attribute": "^8.0.0",
4544
"@svgr/babel-plugin-remove-jsx-attribute": "^8.0.0",
4645
"@svgr/cli": "^8.1.0",
4746
"@types/node": "^18.19.3",
4847
"@types/react": "^18.2.48",
49-
"@typescript-eslint/eslint-plugin": "^6.19.1",
50-
"@typescript-eslint/parser": "^6.19.1",
51-
"babel-loader": "^9.1.3",
48+
"@typescript-eslint/eslint-plugin": "^7.3.1",
49+
"@typescript-eslint/parser": "^7.3.1",
5250
"clsx": "^2.1.0",
5351
"css-loader": "^6.9.1",
5452
"csstype": "3.1.3",
@@ -58,25 +56,23 @@
5856
"eslint-config-prettier": "^9.1.0",
5957
"eslint-plugin-prettier": "^5.1.3",
6058
"html-react-parser": "^5.1.1",
61-
"husky": "^8.0.3",
62-
"i": "^0.3.7",
59+
"husky": "^9.0.11",
6360
"inquirer": "^9.2.12",
6461
"mkdirp": "^3.0.1",
65-
"npm": "^10.2.5",
6662
"postcss": "^8.4.33",
6763
"postcss-advanced-variables": "github:kmonahan/postcss-advanced-variables",
68-
"postcss-loader": "^7.3.4",
64+
"postcss-loader": "^8.1.1",
6965
"postcss-nesting": "^12.0.2",
7066
"postcss-preset-env": "^9.3.0",
71-
"postcss-rem": "^2.0.2",
67+
"postcss-rem": "^3.0.0",
7268
"prettier": "^3.2.4",
7369
"prettier-plugin-organize-imports": "^3.2.4",
74-
"storybook": "^7.6.17",
70+
"storybook": "^8.0.2",
7571
"style-loader": "^3.3.4",
76-
"stylelint": "^15.11.0",
77-
"stylelint-config-standard": "^33.0.0",
72+
"stylelint": "^16.2.1",
73+
"stylelint-config-standard": "^36.0.0",
7874
"stylelint-order": "^6.0.4",
79-
"stylelint-webpack-plugin": "^4.1.1",
75+
"stylelint-webpack-plugin": "^5.0.0",
8076
"typescript": "^5.3.3",
8177
"yaml": "^2.3.4"
8278
},

source/00-config/mixins/grids.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@
8282
@param {String} $item-min-width Minimum column width.
8383
@param {Boolean} $flex-override Whether to reset styling to remove flex constrains first.
8484
*/
85-
@mixin css-autofit-grid($item-min-width: rem(300px), $flex-override: false) {
85+
@mixin css-autofit-grid(
86+
$item-min-width: rem-convert(300px),
87+
$flex-override: false
88+
) {
8689
@if $flex-override {
8790
@include css-grid-reset();
8891
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:root {
2-
--constrain-sm: rem(800px);
3-
--constrain-md: rem(1440px);
4-
--constrain-lg: rem(2200px);
2+
--constrain-sm: rem-convert(800px);
3+
--constrain-md: rem-convert(1440px);
4+
--constrain-lg: rem-convert(2200px);
55
}

source/00-config/vars/spacing.css

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
:root {
22
--spacing-0: 0;
3-
--spacing-0-5: rem(4px);
4-
--spacing-1: rem(8px);
5-
--spacing-1-5: rem(12px);
6-
--spacing-2: rem(16px);
7-
--spacing-2-5: rem(20px);
8-
--spacing-3: rem(24px);
9-
--spacing-4: rem(32px);
10-
--spacing-5: rem(40px);
11-
--spacing-6: rem(48px);
12-
--spacing-7: rem(56px);
13-
--spacing-8: rem(64px);
14-
--spacing-9: rem(72px);
15-
--spacing-10: rem(80px);
16-
--spacing-12: rem(96px);
17-
--spacing-15: rem(120px);
3+
--spacing-0-5: rem-convert(4px);
4+
--spacing-1: rem-convert(8px);
5+
--spacing-1-5: rem-convert(12px);
6+
--spacing-2: rem-convert(16px);
7+
--spacing-2-5: rem-convert(20px);
8+
--spacing-3: rem-convert(24px);
9+
--spacing-4: rem-convert(32px);
10+
--spacing-5: rem-convert(40px);
11+
--spacing-6: rem-convert(48px);
12+
--spacing-7: rem-convert(56px);
13+
--spacing-8: rem-convert(64px);
14+
--spacing-9: rem-convert(72px);
15+
--spacing-10: rem-convert(80px);
16+
--spacing-12: rem-convert(96px);
17+
--spacing-15: rem-convert(120px);
1818

19-
--gutter-width: rem(40px);
19+
--gutter-width: rem-convert(40px);
2020

21-
--site-margins: rem(16px);
21+
--site-margins: rem-convert(16px);
2222
}
2323

2424
@media (--desktop) {
2525
:root {
26-
--site-margins: rem(32px);
26+
--site-margins: rem-convert(32px);
2727
}
2828
}

0 commit comments

Comments
 (0)