@wistia/vhs 5.0.0 → 5.0.1-beta.0ae29d8b.c8c7b4e

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/vhs",
3
- "version": "5.0.0",
3
+ "version": "5.0.1-beta.0ae29d8b.c8c7b4e",
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",
@@ -9,10 +9,8 @@
9
9
  "exports": {
10
10
  "./package.json": "./package.json",
11
11
  ".": {
12
- "import": {
13
- "types": "./dist/index.d.ts",
14
- "default": "./dist/index.js"
15
- }
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js"
16
14
  }
17
15
  },
18
16
  "files": [
@@ -25,20 +23,16 @@
25
23
  "browsers": "node ./scripts/browserSupport.mjs",
26
24
  "build": "tsup --config tsup.config.mts",
27
25
  "build:analyze": "yarn build --metafile && esbuild-visualizer --metadata ./dist/metafile-esm.json --filename ./dist/esbuild-stats.html && open ./dist/esbuild-stats.html",
28
- "build:src": "cross-env NODE_ENV=production ./esbuild.config.mjs",
29
26
  "build:types": "tsc --project tsconfig.build.json",
30
27
  "build:types:debug": "tsc --project tsconfig.build.json --showConfig",
31
- "build:watch": "cross-env NODE_ENV=development ./esbuild.config.mjs --watch",
32
- "build:watch:src": "cross-env NODE_ENV=development ./esbuild.config.mjs --watch",
33
- "build:watch:types": "tsc --watch --project tsconfig.build.json",
34
- "build:watch_": "concurrently \"yarn build:watch:src\" \"yarn build:watch:types\"",
28
+ "build:watch": "yarn build --watch",
35
29
  "clean": "shx rm -rf ./dist && echo 'dist directory has been removed'",
36
30
  "chromatic": "cross-env STORYBOOK_IS_CHROMATIC_BUILD=true chromatic --build-script-name=storybook:build --storybook-base-dir==packages/vhs --allow-console-errors",
37
- "depcheck": "depcheck",
38
31
  "generate": "node ./scripts/generators/generateComponent.mjs",
39
32
  "generate:icon": "node ./scripts/generators/generateIcon.mjs",
40
33
  "link:test": "node ./scripts/watchAndCopyBuild.mjs",
41
34
  "prepack": "yarn run build",
35
+ "publint:export": "check-export-map",
42
36
  "publint_": "publint-check",
43
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')",
44
38
  "storybook:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook build --quiet",
@@ -58,13 +52,14 @@
58
52
  },
59
53
  "dependencies": {
60
54
  "@radix-ui/react-dropdown-menu": "^2.1.16",
61
- "@wistia/type-guards": "^0.9.1",
55
+ "@wistia/type-guards": "^0.9.3",
62
56
  "@wistia/vhs-design-tokens": "^3.0.1",
63
57
  "date-fns": "^4.1.0",
64
58
  "formik": "^2.4.9",
65
59
  "is-hotkey": "^0.2.0",
66
- "motion": "^12.23.25",
60
+ "motion": "^12.34.3",
67
61
  "polished": "^4.3.1",
62
+ "prettier": "^3.8.1",
68
63
  "react-aria-live": "^2.0.5",
69
64
  "react-fast-compare": "^3.2.2",
70
65
  "react-slider": "^2.0.6",
@@ -74,54 +69,54 @@
74
69
  "slate-hyperscript": "^0.100.0",
75
70
  "slate-react": "0.120.0",
76
71
  "throttle-debounce": "^5.0.2",
77
- "type-fest": "^5.3.0"
72
+ "type-fest": "^5.4.4"
78
73
  },
79
74
  "devDependencies": {
80
75
  "@karibash/pixel-units": "^2.3.0",
81
76
  "@repo/config": "workspace:*",
82
- "@storybook/addon-a11y": "^10.1.4",
83
- "@storybook/addon-docs": "^10.1.4",
84
- "@storybook/addon-links": "^10.1.4",
85
- "@storybook/react-vite": "^10.1.4",
77
+ "@storybook/addon-a11y": "^10.2.13",
78
+ "@storybook/addon-docs": "^10.2.13",
79
+ "@storybook/addon-links": "^10.2.13",
80
+ "@storybook/react-vite": "^10.2.13",
86
81
  "@testing-library/dom": "^10.4.1",
87
82
  "@testing-library/jest-dom": "^6.9.1",
88
- "@testing-library/react": "^16.3.0",
83
+ "@testing-library/react": "^16.3.2",
89
84
  "@testing-library/user-event": "^14.6.1",
90
85
  "@types/is-hotkey": "^0.1.10",
91
86
  "@types/jest-axe": "^3.5.9",
92
- "@types/node": "^24.10.1",
93
- "@types/react": "^19.2.7",
87
+ "@types/node": "^25.3.1",
88
+ "@types/react": "^19.2.14",
94
89
  "@types/react-aria-live": "^2.0.6",
95
90
  "@types/react-dom": "^19.2.3",
96
91
  "@types/react-slider": "^1.3.6",
92
+ "@types/signale": "^1.4.7",
97
93
  "@types/throttle-debounce": "^5.0.2",
98
- "@vitejs/plugin-react": "^5.1.1",
99
- "@vitest/coverage-istanbul": "^4.0.15",
94
+ "@vitejs/plugin-react": "^5.1.4",
95
+ "@vitest/coverage-istanbul": "^4.0.18",
100
96
  "browserslist": "^4.28.1",
101
- "chromatic": "^13.3.4",
102
- "concurrently": "^9.2.1",
97
+ "check-export-map": "^1.3.1",
98
+ "chromatic": "^15.2.0",
103
99
  "cross-env": "^10.1.0",
104
- "depcheck": "^1.4.7",
105
100
  "esbuild-visualizer": "^0.7.0",
106
- "globby": "^16.0.0",
101
+ "globby": "^16.1.1",
107
102
  "jsdoc-to-markdown": "^9.1.3",
108
- "jsdom": "^27.2.0",
103
+ "jsdom": "^28.1.0",
109
104
  "minimist": "^1.2.8",
110
105
  "pascalcase": "^2.0.0",
111
- "prettier": "^3.7.4",
112
- "react": "^19.2.1",
106
+ "prettier": "^3.8.1",
107
+ "react": "^19.2.4",
113
108
  "react-docgen-typescript": "^2.4.0",
114
- "react-dom": "^19.2.1",
109
+ "react-dom": "^19.2.4",
115
110
  "remark-gfm": "^4.0.1",
116
111
  "shx": "^0.4.0",
117
112
  "signale": "^1.4.0",
118
- "storybook": "^10.1.4",
119
- "styled-components": "^6.1.19",
113
+ "storybook": "^10.2.13",
114
+ "styled-components": "6.2.0",
120
115
  "tsup": "^8.5.1",
121
116
  "tsx": "^4.21.0",
122
- "typescript": "^5.9.3",
123
- "vite": "^7.2.6",
124
- "vitest": "^4.0.15",
117
+ "typescript": "6.0.0-beta",
118
+ "vite": "^7.3.1",
119
+ "vitest": "^4.0.18",
125
120
  "vitest-axe": "^1.0.0-pre.5",
126
121
  "vitest-canvas-mock": "^1.1.3",
127
122
  "yup": "^1.7.1"