@sonic-equipment/ui 0.0.13 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base.css +4 -5
- package/dist/buttons/add-to-cart-button/add-to-cart-button.d.ts +8 -0
- package/dist/buttons/add-to-cart-button/add-to-cart-button.stories.d.ts +17 -0
- package/dist/buttons/button/button.d.ts +4 -2
- package/dist/buttons/button/button.stories.d.ts +4 -1
- package/dist/buttons/favorite/favorite-button.stories.d.ts +1 -1
- package/dist/buttons/icon-button/icon-button.stories.d.ts +1 -1
- package/dist/cards/product-card/product-card.d.ts +12 -7
- package/dist/cards/product-card/product-card.stories.d.ts +27 -1
- package/dist/display/product-price/product-price.d.ts +4 -8
- package/dist/display/product-price/product-price.stories.d.ts +1 -2
- package/dist/fonts.css +32 -32
- package/dist/{inputs → forms}/checkbox/checkbox.stories.d.ts +1 -1
- package/dist/forms/field-error/field-error.d.ts +5 -0
- package/dist/forms/field-error/field-error.stories.d.ts +15 -0
- package/dist/forms/input/input.d.ts +13 -0
- package/dist/forms/input/input.stories.d.ts +27 -0
- package/dist/forms/label/label.d.ts +6 -0
- package/dist/forms/label/label.stories.d.ts +15 -0
- package/dist/forms/number-field/number-field.d.ts +31 -0
- package/dist/forms/number-field/number-field.stories.d.ts +32 -0
- package/dist/forms/text-field/text-field.d.ts +28 -0
- package/dist/forms/text-field/text-field.stories.d.ts +24 -0
- package/dist/forms/textarea/textarea.d.ts +13 -0
- package/dist/forms/textarea/textarea.stories.d.ts +19 -0
- package/dist/icons/dehashed/dehashed-outlined-icon.d.ts +2 -0
- package/dist/icons/hashed/hashed-outlined-icon.d.ts +2 -0
- package/dist/index.d.ts +149 -29
- package/dist/index.js +251 -31
- package/dist/lists/product-overview-grid/product-overview-grid.d.ts +5 -0
- package/dist/lists/product-overview-grid/product-overview-grid.stories.d.ts +14 -0
- package/dist/media/image/image.d.ts +21 -0
- package/dist/media/image/image.stories.d.ts +16 -0
- package/dist/product-listing/product-listing.d.ts +1 -4
- package/dist/product-listing/product-listing.stories.d.ts +2 -2
- package/dist/shared/types/price.d.ts +5 -0
- package/dist/styles.css +549 -70
- package/dist/typography/heading/heading.stories.d.ts +2 -2
- package/package.json +50 -34
- package/dist/icons/arrows/left-arrow-filled-icon.d.ts +0 -2
- /package/dist/{inputs → forms}/checkbox/checkbox.d.ts +0 -0
|
@@ -8,7 +8,7 @@ declare const meta: {
|
|
|
8
8
|
};
|
|
9
9
|
description: string;
|
|
10
10
|
name: string;
|
|
11
|
-
options:
|
|
11
|
+
options: ("s" | "xxl" | "xl" | "l" | "m" | "xs" | "xxs")[];
|
|
12
12
|
};
|
|
13
13
|
tag: {
|
|
14
14
|
control: {
|
|
@@ -16,7 +16,7 @@ declare const meta: {
|
|
|
16
16
|
};
|
|
17
17
|
description: string;
|
|
18
18
|
name: string;
|
|
19
|
-
options:
|
|
19
|
+
options: ("h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "h7")[];
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
args: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonic-equipment/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -15,41 +15,34 @@
|
|
|
15
15
|
"default": "./dist/index.js"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
-
"files": [
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"clean": "rimraf node_modules dist .eslintcache",
|
|
23
|
-
"dev": "storybook dev -p 6006",
|
|
24
|
-
"lint": "eslint . --ext ts,tsx,cjs,js,mdx --report-unused-disable-directives --max-warnings 0 --cache --cache-location node_modules/.cache/.eslintcache",
|
|
25
|
-
"lint:fix": "eslint . --fix --ext ts,tsx,cjs,js,mdx --report-unused-disable-directives --max-warnings 0 --cache --cache-location node_modules/.cache/.eslintcache",
|
|
26
|
-
"prepare": "husky",
|
|
27
|
-
"publish": "npm publish",
|
|
28
|
-
"start": "http-server ./storybook-static",
|
|
29
|
-
"update-packages": "npx npm-check-updates -u --rejectVersion eslint 8.57.0"
|
|
30
|
-
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
31
22
|
"peerDependencies": {
|
|
32
23
|
"react": "^18.2.0",
|
|
33
24
|
"react-dom": "^18.2.0"
|
|
34
25
|
},
|
|
35
26
|
"devDependencies": {
|
|
36
|
-
"@chromatic-com/storybook": "^1.3.
|
|
27
|
+
"@chromatic-com/storybook": "^1.3.3",
|
|
37
28
|
"@csstools/postcss-global-data": "^2.1.1",
|
|
38
29
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
39
30
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
40
31
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
41
|
-
"@storybook/addon-
|
|
42
|
-
"@storybook/addon-
|
|
43
|
-
"@storybook/addon-
|
|
44
|
-
"@storybook/addon-
|
|
45
|
-
"@storybook/
|
|
46
|
-
"@storybook/
|
|
47
|
-
"@storybook/
|
|
48
|
-
"@storybook/
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
32
|
+
"@storybook/addon-viewport": "^8.0.9",
|
|
33
|
+
"@storybook/addon-docs": "^8.0.9",
|
|
34
|
+
"@storybook/addon-essentials": "^8.0.9",
|
|
35
|
+
"@storybook/addon-interactions": "^8.0.9",
|
|
36
|
+
"@storybook/addon-links": "^8.0.9",
|
|
37
|
+
"@storybook/blocks": "^8.0.9",
|
|
38
|
+
"@storybook/preview-api": "^8.0.9",
|
|
39
|
+
"@storybook/react": "^8.0.9",
|
|
40
|
+
"@storybook/react-vite": "^8.0.9",
|
|
41
|
+
"@storybook/test": "^8.0.9",
|
|
42
|
+
"@types/react": "^18.2.79",
|
|
43
|
+
"@types/react-dom": "^18.2.25",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
|
45
|
+
"@typescript-eslint/parser": "^7.7.1",
|
|
53
46
|
"@vitejs/plugin-react": "^4.2.1",
|
|
54
47
|
"autoprefixer": "^10.4.19",
|
|
55
48
|
"eslint": "^8.57.0",
|
|
@@ -61,7 +54,7 @@
|
|
|
61
54
|
"eslint-plugin-prettier": "^5.1.3",
|
|
62
55
|
"eslint-plugin-react": "^7.34.1",
|
|
63
56
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
64
|
-
"eslint-plugin-simple-import-sort": "^12.
|
|
57
|
+
"eslint-plugin-simple-import-sort": "^12.1.0",
|
|
65
58
|
"eslint-plugin-sort-destructure-keys": "^1.5.0",
|
|
66
59
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
67
60
|
"eslint-plugin-storybook": "^0.8.0",
|
|
@@ -69,6 +62,7 @@
|
|
|
69
62
|
"eslint-plugin-unused-imports": "^3.1.0",
|
|
70
63
|
"http-server": "^14.1.1",
|
|
71
64
|
"husky": "^9.0.11",
|
|
65
|
+
"lint-staged": "^15.2.2",
|
|
72
66
|
"postcss": "^8.4.38",
|
|
73
67
|
"postcss-custom-media": "^10.0.4",
|
|
74
68
|
"postcss-import": "^16.1.0",
|
|
@@ -76,20 +70,42 @@
|
|
|
76
70
|
"react": "^18.2.0",
|
|
77
71
|
"react-dom": "^18.2.0",
|
|
78
72
|
"rimraf": "^5.0.5",
|
|
79
|
-
"rollup": "^4.
|
|
73
|
+
"rollup": "^4.16.4",
|
|
80
74
|
"rollup-plugin-dts": "^6.1.0",
|
|
81
75
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
82
76
|
"rollup-plugin-postcss": "^4.0.2",
|
|
83
|
-
"storybook": "^8.0.
|
|
77
|
+
"storybook": "^8.0.9",
|
|
78
|
+
"stylelint": "^16.3.1",
|
|
79
|
+
"stylelint-config-css-modules": "^4.4.0",
|
|
80
|
+
"stylelint-config-idiomatic-order": "^10.0.0",
|
|
81
|
+
"stylelint-config-standard": "^36.0.0",
|
|
84
82
|
"typescript": "^5.4.5",
|
|
85
|
-
"vite": "^5.2.
|
|
83
|
+
"vite": "^5.2.10",
|
|
86
84
|
"vite-tsconfig-paths": "^4.3.2"
|
|
87
85
|
},
|
|
88
86
|
"dependencies": {
|
|
89
|
-
"clsx": "^2.1.
|
|
87
|
+
"clsx": "^2.1.1",
|
|
90
88
|
"react-aria-components": "^1.1.1"
|
|
91
89
|
},
|
|
90
|
+
"lint-staged": {
|
|
91
|
+
"src/**/*.css": "pnpm stylelint",
|
|
92
|
+
"src/**/*.{ts,tsx}": "pnpm lint"
|
|
93
|
+
},
|
|
92
94
|
"publishConfig": {
|
|
93
|
-
"access": "
|
|
95
|
+
"access": "public"
|
|
96
|
+
},
|
|
97
|
+
"scripts": {
|
|
98
|
+
"build": "rollup --config",
|
|
99
|
+
"build-storybook": "storybook build",
|
|
100
|
+
"check-updates": "npx npm-check-updates",
|
|
101
|
+
"clean": "rimraf node_modules dist",
|
|
102
|
+
"dev": "storybook dev -p 6006",
|
|
103
|
+
"lint": "eslint . --ext ts,tsx,cjs,js,mdx --report-unused-disable-directives --max-warnings 0 --cache --cache-location node_modules/.cache/.eslintcache",
|
|
104
|
+
"lint:fix": "eslint . --fix --ext ts,tsx,cjs,js,mdx --report-unused-disable-directives --max-warnings 0 --cache --cache-location node_modules/.cache/.eslintcache",
|
|
105
|
+
"start": "http-server ./storybook-static",
|
|
106
|
+
"stylelint": "stylelint --config .stylelintrc.cjs \"src/**/*.css\" --formatter verbose",
|
|
107
|
+
"stylelint:fix": "stylelint --config .stylelintrc.cjs \"src/**/*.css\" --formatter verbose --fix",
|
|
108
|
+
"test:types": "tsc --noEmit --pretty false",
|
|
109
|
+
"update-packages": "npx npm-check-updates -u"
|
|
94
110
|
}
|
|
95
|
-
}
|
|
111
|
+
}
|
|
File without changes
|