@wistia/vhs 5.0.4 → 5.0.5
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.d.ts +2239 -2670
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +140 -144
- package/dist/index.js.map +1 -1
- package/package.json +33 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/vhs",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5",
|
|
4
4
|
"description": "Visual Hype System - Wistia's opinionated component library for building React UIs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -21,27 +21,26 @@
|
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"browsers": "node ./scripts/browserSupport.mjs",
|
|
24
|
-
"build": "
|
|
25
|
-
"build:analyze": "yarn build --metafile && esbuild-visualizer --metadata ./dist/metafile-esm.json --filename ./dist/esbuild-stats.html && open ./dist/esbuild-stats.html",
|
|
24
|
+
"build:analyze": "cross-env ANALYZE=true vp run build && open ./dist/bundle-stats.html",
|
|
26
25
|
"build:types": "tsc --project tsconfig.build.json",
|
|
27
26
|
"build:types:debug": "tsc --project tsconfig.build.json --showConfig",
|
|
28
|
-
"build:watch": "
|
|
27
|
+
"build:watch": "tsdown --watch",
|
|
29
28
|
"clean": "shx rm -rf ./dist && echo 'dist directory has been removed'",
|
|
30
29
|
"chromatic": "cross-env STORYBOOK_IS_CHROMATIC_BUILD=true chromatic --build-script-name=storybook:build --storybook-base-dir==packages/vhs --allow-console-errors",
|
|
31
30
|
"generate": "node ./scripts/generators/generateComponent.mjs",
|
|
32
31
|
"generate:icon": "node ./scripts/generators/generateIcon.mjs",
|
|
33
32
|
"link:test": "node ./scripts/watchAndCopyBuild.mjs",
|
|
34
|
-
"prepack": "
|
|
33
|
+
"prepack": "vp run build",
|
|
35
34
|
"publint:export": "check-export-map",
|
|
36
35
|
"publint_": "publint-check",
|
|
37
|
-
"storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook dev --host 127.0.0.1 --port 6007 $([ -n \"${CLOUD_DEV_TUNNEL:-}\" ] && echo '--no-open')",
|
|
36
|
+
"storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider STORYBOOK_PRIVATE_STORIES=true storybook dev --host 127.0.0.1 --port 6007 $([ -n \"${CLOUD_DEV_TUNNEL:-}\" ] && echo '--no-open')",
|
|
38
37
|
"storybook:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook build --quiet",
|
|
39
|
-
"test": "vitest",
|
|
40
38
|
"test:ci": "vitest run --coverage",
|
|
41
39
|
"test:coverage": "yarn run test:ci && open ./coverage/index.html",
|
|
42
40
|
"test:debug": "echo 'open chrome://inspect/#devices' && vitest --inspect-brk --no-file-parallelism",
|
|
41
|
+
"test:watch": "vitest",
|
|
43
42
|
"ts:generate": "tsx ./scripts/generateTypes.ts",
|
|
44
|
-
"typecheck": "
|
|
43
|
+
"typecheck": "tsgo"
|
|
45
44
|
},
|
|
46
45
|
"peerDependencies": {
|
|
47
46
|
"@types/react": "^19.0.0",
|
|
@@ -52,72 +51,71 @@
|
|
|
52
51
|
},
|
|
53
52
|
"dependencies": {
|
|
54
53
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
55
|
-
"@wistia/type-guards": "^0.
|
|
54
|
+
"@wistia/type-guards": "^0.11.0",
|
|
56
55
|
"@wistia/vhs-design-tokens": "^3.0.1",
|
|
57
56
|
"date-fns": "^4.1.0",
|
|
58
57
|
"formik": "^2.4.9",
|
|
59
58
|
"is-hotkey": "^0.2.0",
|
|
60
59
|
"motion": "^12.38.0",
|
|
61
60
|
"polished": "^4.3.1",
|
|
62
|
-
"prettier": "^3.8.
|
|
61
|
+
"prettier": "^3.8.3",
|
|
63
62
|
"react-aria-live": "^2.0.5",
|
|
64
63
|
"react-fast-compare": "^3.2.2",
|
|
65
64
|
"react-slider": "^2.0.6",
|
|
66
|
-
"slate": "0.
|
|
67
|
-
"slate-dom": "^0.
|
|
65
|
+
"slate": "^0.124.1",
|
|
66
|
+
"slate-dom": "^0.124.1",
|
|
68
67
|
"slate-history": "^0.113.1",
|
|
69
68
|
"slate-hyperscript": "^0.100.0",
|
|
70
|
-
"slate-react": "0.
|
|
69
|
+
"slate-react": "^0.124.0",
|
|
71
70
|
"throttle-debounce": "^5.0.2",
|
|
72
|
-
"type-fest": "^5.
|
|
71
|
+
"type-fest": "^5.6.0"
|
|
73
72
|
},
|
|
74
73
|
"devDependencies": {
|
|
75
74
|
"@karibash/pixel-units": "^2.3.0",
|
|
76
75
|
"@repo/config": "workspace:*",
|
|
77
|
-
"@storybook/addon-a11y": "^10.3.
|
|
78
|
-
"@storybook/addon-docs": "^10.3.
|
|
79
|
-
"@storybook/addon-links": "^10.3.
|
|
80
|
-
"@storybook/react-vite": "^10.3.
|
|
76
|
+
"@storybook/addon-a11y": "^10.3.6",
|
|
77
|
+
"@storybook/addon-docs": "^10.3.6",
|
|
78
|
+
"@storybook/addon-links": "^10.3.6",
|
|
79
|
+
"@storybook/react-vite": "^10.3.6",
|
|
81
80
|
"@testing-library/dom": "^10.4.1",
|
|
82
81
|
"@testing-library/jest-dom": "^6.9.1",
|
|
83
82
|
"@testing-library/react": "^16.3.2",
|
|
84
83
|
"@testing-library/user-event": "^14.6.1",
|
|
85
84
|
"@types/is-hotkey": "^0.1.10",
|
|
86
85
|
"@types/jest-axe": "^3.5.9",
|
|
87
|
-
"@types/node": "^25.
|
|
86
|
+
"@types/node": "^25.6.0",
|
|
88
87
|
"@types/react": "^19.2.14",
|
|
89
88
|
"@types/react-aria-live": "^2.0.6",
|
|
90
89
|
"@types/react-dom": "^19.2.3",
|
|
91
90
|
"@types/react-slider": "^1.3.6",
|
|
92
91
|
"@types/signale": "^1.4.7",
|
|
93
92
|
"@types/throttle-debounce": "^5.0.2",
|
|
93
|
+
"@typescript/native-preview": "^7.0.0-dev.20260505.1",
|
|
94
94
|
"@vitejs/plugin-react": "^6.0.1",
|
|
95
|
-
"@vitest/coverage-istanbul": "^4.1.
|
|
96
|
-
"browserslist": "^4.28.
|
|
95
|
+
"@vitest/coverage-istanbul": "^4.1.5",
|
|
96
|
+
"browserslist": "^4.28.2",
|
|
97
97
|
"check-export-map": "^1.3.1",
|
|
98
|
-
"chromatic": "^16.
|
|
98
|
+
"chromatic": "^16.8.0",
|
|
99
99
|
"cross-env": "^10.1.0",
|
|
100
|
-
"
|
|
101
|
-
"globby": "^16.1.1",
|
|
102
|
-
"jsdoc-to-markdown": "^9.1.3",
|
|
103
|
-
"jsdom": "^29.0.1",
|
|
100
|
+
"jsdom": "^29.1.1",
|
|
104
101
|
"minimist": "^1.2.8",
|
|
105
102
|
"pascalcase": "^2.0.0",
|
|
106
|
-
"prettier": "^3.8.
|
|
107
|
-
"react": "^19.2.
|
|
103
|
+
"prettier": "^3.8.3",
|
|
104
|
+
"react": "^19.2.5",
|
|
108
105
|
"react-docgen-typescript": "^2.4.0",
|
|
109
|
-
"react-dom": "^19.2.
|
|
106
|
+
"react-dom": "^19.2.5",
|
|
110
107
|
"remark-gfm": "^4.0.1",
|
|
111
|
-
"rolldown": "^1.0.0-rc.
|
|
108
|
+
"rolldown": "^1.0.0-rc.18",
|
|
109
|
+
"rollup-plugin-visualizer": "^7.0.1",
|
|
112
110
|
"shx": "^0.4.0",
|
|
113
111
|
"signale": "^1.4.0",
|
|
114
|
-
"storybook": "^10.3.
|
|
112
|
+
"storybook": "^10.3.6",
|
|
115
113
|
"styled-components": "6.3.12",
|
|
116
|
-
"tsdown": "^0.21.
|
|
114
|
+
"tsdown": "^0.21.10",
|
|
117
115
|
"tsx": "^4.21.0",
|
|
118
|
-
"typescript": "^6.0.
|
|
119
|
-
"vite": "^8.0.
|
|
120
|
-
"vitest": "^4.1.
|
|
116
|
+
"typescript": "^6.0.3",
|
|
117
|
+
"vite": "^8.0.10",
|
|
118
|
+
"vitest": "^4.1.5",
|
|
121
119
|
"vitest-axe": "^1.0.0-pre.5",
|
|
122
120
|
"vitest-canvas-mock": "^1.1.4",
|
|
123
121
|
"yup": "^1.7.1"
|