@shoplflow/base 0.46.16 → 0.46.18
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/index.cjs +302 -196
- package/dist/index.d.cts +34 -93
- package/dist/index.d.ts +34 -93
- package/dist/index.js +304 -198
- package/package.json +23 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shoplflow/base",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -62,14 +62,26 @@
|
|
|
62
62
|
"@types/node": "20.4.9",
|
|
63
63
|
"@types/react": "^18.2.0",
|
|
64
64
|
"@types/react-dom": "^18.2.1",
|
|
65
|
+
"chromatic": "^15.2.0",
|
|
65
66
|
"classnames": "^2.3.2",
|
|
66
67
|
"storybook": "^10.2.1",
|
|
68
|
+
"@storybook/test-runner": "^0.24.2",
|
|
69
|
+
"playwright": "1.58.2",
|
|
70
|
+
"concurrently": "^9.1.0",
|
|
71
|
+
"serve": "^14.2.4",
|
|
72
|
+
"wait-on": "^8.0.1",
|
|
67
73
|
"ts-node": "^10.9.1",
|
|
74
|
+
"vitest": "^1.2.2",
|
|
75
|
+
"@testing-library/react": "^14.0.0",
|
|
76
|
+
"@testing-library/jest-dom": "^6.1.5",
|
|
77
|
+
"@testing-library/user-event": "^14.5.1",
|
|
78
|
+
"jsdom": "^24.0.0",
|
|
68
79
|
"tslib": "^2.6.2",
|
|
69
80
|
"tsup": "7.2.0",
|
|
70
81
|
"typescript": "^5.9.0"
|
|
71
82
|
},
|
|
72
83
|
"dependencies": {
|
|
84
|
+
"@figma/code-connect": "^1.4.3",
|
|
73
85
|
"@floating-ui/core": "^1.5.0",
|
|
74
86
|
"@floating-ui/react": "^0.26.2",
|
|
75
87
|
"@floating-ui/react-dom": "^2.0.3",
|
|
@@ -80,22 +92,27 @@
|
|
|
80
92
|
"react-datepicker": "^7.3.0",
|
|
81
93
|
"react-dom": "^18.2.0",
|
|
82
94
|
"simplebar-react": "^3.2.6",
|
|
83
|
-
"@shoplflow/
|
|
95
|
+
"@shoplflow/hada-assets": "^0.1.10",
|
|
84
96
|
"@shoplflow/utils": "^0.8.0",
|
|
85
|
-
"@shoplflow/
|
|
97
|
+
"@shoplflow/shopl-assets": "^0.12.39"
|
|
86
98
|
},
|
|
87
99
|
"homepage": "https://github.com/shopl/shoplflow#readme",
|
|
88
100
|
"scripts": {
|
|
89
101
|
"type-check": "tsc --noEmit",
|
|
90
|
-
"version:sync": "node scripts/component-version.mjs sync",
|
|
91
|
-
"version:bump": "node scripts/component-version.mjs bump",
|
|
92
102
|
"build:tokens": "node scripts/generate-tokens.cjs",
|
|
93
103
|
"build:package": "rm -rf dist/ && tsup",
|
|
94
104
|
"generate:component": "scripts/generate-component.sh",
|
|
95
105
|
"build:storybook": "storybook build",
|
|
96
106
|
"build": "pnpm run build:package && pnpm run build:storybook",
|
|
107
|
+
"chromatic": "chromatic --build-script-name=build:storybook",
|
|
97
108
|
"dev:stories": "storybook dev -p 6007",
|
|
98
|
-
"dev": "tsup --watch"
|
|
109
|
+
"dev": "tsup --watch",
|
|
110
|
+
"figma:parse": "npx figma connect parse",
|
|
111
|
+
"figma:publish": "npx figma connect publish",
|
|
112
|
+
"test": "vitest",
|
|
113
|
+
"install:playwright": "PLAYWRIGHT_BROWSERS_PATH=./.playwright-browsers pnpm exec playwright install chromium",
|
|
114
|
+
"test-storybook": "PLAYWRIGHT_BROWSERS_PATH=./.playwright-browsers test-storybook --url http://localhost:6007",
|
|
115
|
+
"test-storybook:ci": "pnpm run build:storybook && npx concurrently -k -s first -n SB,TEST -c magenta,blue \"npx serve storybook-static --listen 6007\" \"npx wait-on tcp:127.0.0.1:6007 && pnpm run test-storybook\""
|
|
99
116
|
},
|
|
100
117
|
"module": "dist/index.js",
|
|
101
118
|
"types": "dist/index.d.ts"
|