@wistia/ui 0.26.16 → 1.0.0
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/css-custom-data.css +164 -85
- package/dist/index.d.ts +10 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +252 -347
- package/dist/index.js.map +1 -1
- package/package.json +34 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Wistia UI React component library",
|
|
5
5
|
"homepage": "https://github.com/wistia/vhs#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build:analyze": "cross-env ANALYZE=true vp run build && open ./dist/bundle-stats.html",
|
|
32
|
+
"build:tokens": "tz build && node scripts/splitColorSchemes.mjs && node scripts/generateDesignTokenTypes.mjs",
|
|
33
|
+
"build:tokens:watch": "tz build --watch & node scripts/splitColorSchemes.mjs --watch",
|
|
32
34
|
"build:watch": "tsdown --watch",
|
|
33
35
|
"chromatic": "chromatic --build-script-name=storybook:build --storybook-base-dir==packages/ui --allow-console-errors",
|
|
34
36
|
"clean": "rm -rf ./dist && echo 'dist directory has been removed'",
|
|
@@ -36,11 +38,11 @@
|
|
|
36
38
|
"figma": "npx figma connect publish",
|
|
37
39
|
"generate": "node ./scripts/generators/generateComponent.mjs",
|
|
38
40
|
"generateIconMap": "node ./scripts/generators/generateIconMap.mjs",
|
|
39
|
-
"prepack": "
|
|
41
|
+
"prepack": "yarn build:tokens && yarn exec tsdown && yarn node scripts/generateCssCustomData.mjs",
|
|
40
42
|
"publint": "publint-check",
|
|
41
43
|
"publint:export": "check-export-map",
|
|
42
44
|
"storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider STORYBOOK_PRIVATE_STORIES=true storybook dev --host 127.0.0.1 --port 6006 $([ -n \"${CLOUD_DEV_TUNNEL:-}\" ] && echo '--no-open')",
|
|
43
|
-
"storybook:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook build --quiet",
|
|
45
|
+
"storybook:build": "yarn build:tokens && cross-env NODE_OPTIONS=--openssl-legacy-provider storybook build --quiet",
|
|
44
46
|
"test:ci": "vitest run --coverage",
|
|
45
47
|
"test:coverage": "vitest --coverage --ui",
|
|
46
48
|
"test:debug": "echo 'open chrome://inspect/#devices' && vitest --inspect-brk --no-file-parallelism",
|
|
@@ -49,11 +51,11 @@
|
|
|
49
51
|
},
|
|
50
52
|
"dependencies": {
|
|
51
53
|
"@ariakit/react": "^0.4.26",
|
|
52
|
-
"@base-ui/react": "^1.
|
|
53
|
-
"@daypicker/react": "^10.0.
|
|
54
|
+
"@base-ui/react": "^1.5.0",
|
|
55
|
+
"@daypicker/react": "^10.0.1",
|
|
54
56
|
"@wistia/type-guards": "^0.11.0",
|
|
55
57
|
"culori": "^4.0.2",
|
|
56
|
-
"date-fns": "^4.1
|
|
58
|
+
"date-fns": "^4.2.1",
|
|
57
59
|
"match-sorter": "^8.3.0",
|
|
58
60
|
"polished": "^4.3.1",
|
|
59
61
|
"react-markdown": "^10.1.0",
|
|
@@ -63,48 +65,52 @@
|
|
|
63
65
|
"yup": "^1.7.1"
|
|
64
66
|
},
|
|
65
67
|
"devDependencies": {
|
|
66
|
-
"@figma/code-connect": "^1.4.
|
|
68
|
+
"@figma/code-connect": "^1.4.5",
|
|
67
69
|
"@repo/config": "workspace:*",
|
|
68
|
-
"@storybook/addon-a11y": "^10.
|
|
69
|
-
"@storybook/addon-links": "^10.
|
|
70
|
-
"@storybook/react-vite": "^10.
|
|
70
|
+
"@storybook/addon-a11y": "^10.4.1",
|
|
71
|
+
"@storybook/addon-links": "^10.4.1",
|
|
72
|
+
"@storybook/react-vite": "^10.4.1",
|
|
73
|
+
"@terrazzo/cli": "^2.2.0",
|
|
74
|
+
"@terrazzo/parser": "^2.2.0",
|
|
75
|
+
"@terrazzo/plugin-css": "^2.2.0",
|
|
71
76
|
"@testing-library/dom": "^10.4.1",
|
|
72
77
|
"@testing-library/jest-dom": "^6.9.1",
|
|
73
78
|
"@testing-library/react": "^16.3.2",
|
|
74
79
|
"@testing-library/user-event": "^14.6.1",
|
|
75
80
|
"@types/culori": "^4.0.1",
|
|
76
81
|
"@types/jest-axe": "^3.5.9",
|
|
77
|
-
"@types/jsdom": "^28.0.
|
|
78
|
-
"@types/node": "^25.
|
|
79
|
-
"@types/react": "^19.2.
|
|
82
|
+
"@types/jsdom": "^28.0.3",
|
|
83
|
+
"@types/node": "^25.9.1",
|
|
84
|
+
"@types/react": "^19.2.15",
|
|
80
85
|
"@types/react-dom": "^19.2.3",
|
|
81
86
|
"@types/throttle-debounce": "^5.0.2",
|
|
82
|
-
"@typescript/native-preview": "^7.0.0-dev.
|
|
83
|
-
"@vitejs/plugin-react": "^6.0.
|
|
84
|
-
"@vitest/coverage-istanbul": "^4.1.
|
|
85
|
-
"@vitest/ui": "^4.1.
|
|
87
|
+
"@typescript/native-preview": "^7.0.0-dev.20260522.1",
|
|
88
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
89
|
+
"@vitest/coverage-istanbul": "^4.1.7",
|
|
90
|
+
"@vitest/ui": "^4.1.7",
|
|
86
91
|
"browserslist": "^4.28.2",
|
|
87
92
|
"check-export-map": "^1.3.1",
|
|
88
|
-
"chromatic": "^
|
|
93
|
+
"chromatic": "^17.0.0",
|
|
89
94
|
"cross-env": "^10.1.0",
|
|
90
95
|
"glob": "^13.0.6",
|
|
96
|
+
"hono": "^4.12.22",
|
|
91
97
|
"jsdom": "^29.1.1",
|
|
92
98
|
"minimist": "^1.2.8",
|
|
93
99
|
"pascalcase": "^2.0.0",
|
|
94
100
|
"prettier": "^3.8.3",
|
|
95
|
-
"react": "^19.2.
|
|
101
|
+
"react": "^19.2.6",
|
|
96
102
|
"react-docgen-typescript": "^2.4.0",
|
|
97
|
-
"react-dom": "^19.2.
|
|
98
|
-
"react-router": "^7.15.
|
|
99
|
-
"rolldown": "^1.0.
|
|
103
|
+
"react-dom": "^19.2.6",
|
|
104
|
+
"react-router": "^7.15.1",
|
|
105
|
+
"rolldown": "^1.0.2",
|
|
100
106
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
101
107
|
"signale": "^1.4.0",
|
|
102
|
-
"storybook": "^10.
|
|
103
|
-
"styled-components": "^6.4.
|
|
104
|
-
"tsdown": "^0.
|
|
108
|
+
"storybook": "^10.4.1",
|
|
109
|
+
"styled-components": "^6.4.2",
|
|
110
|
+
"tsdown": "^0.22.0",
|
|
105
111
|
"typescript": "^6.0.3",
|
|
106
|
-
"vite": "^8.0.
|
|
107
|
-
"vitest": "^4.1.
|
|
112
|
+
"vite": "^8.0.14",
|
|
113
|
+
"vitest": "^4.1.7",
|
|
108
114
|
"vitest-axe": "^1.0.0-pre.5",
|
|
109
115
|
"vitest-canvas-mock": "^1.1.4"
|
|
110
116
|
},
|
|
@@ -117,6 +123,6 @@
|
|
|
117
123
|
"styled-components": "^6.0.0"
|
|
118
124
|
},
|
|
119
125
|
"engines": {
|
|
120
|
-
"node": ">=
|
|
126
|
+
"node": ">=24.0.0"
|
|
121
127
|
}
|
|
122
128
|
}
|