@wistia/vhs 2.68.0 → 2.68.2
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/components/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/dist/index.cjs +507 -511
- package/dist/index.cjs.map +4 -4
- package/dist/index.mjs +506 -510
- package/dist/index.mjs.map +4 -4
- package/dist/private/components/ModalAnimation/ModalAnimation.d.ts +9 -0
- package/dist/private/components/ModalAnimation/ModalAnimation.d.ts.map +1 -0
- package/dist/private/components/ModalAnimation/index.d.ts +2 -0
- package/dist/private/components/ModalAnimation/index.d.ts.map +1 -0
- package/package.json +32 -13
- package/dist/private/components/EnterTransition/EnterTransition.d.ts +0 -9
- package/dist/private/components/EnterTransition/EnterTransition.d.ts.map +0 -1
- package/dist/private/components/EnterTransition/index.d.ts +0 -2
- package/dist/private/components/EnterTransition/index.d.ts.map +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactNode, JSX } from 'react';
|
|
2
|
+
export type ModalAnimationProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Pass an arbitrary child node
|
|
5
|
+
*/
|
|
6
|
+
children?: ReactNode | undefined;
|
|
7
|
+
};
|
|
8
|
+
export declare const ModalAnimation: ({ children }: ModalAnimationProps) => JSX.Element;
|
|
9
|
+
//# sourceMappingURL=ModalAnimation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalAnimation.d.ts","sourceRoot":"","sources":["../../../../src/private/components/ModalAnimation/ModalAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAgB,GAAG,EAAE,MAAM,OAAO,CAAC;AAO1D,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,cAAc,iBAAkB,mBAAmB,KAAG,GAAG,CAAC,OAoBtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/private/components/ModalAnimation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/vhs",
|
|
3
|
-
"version": "2.68.
|
|
3
|
+
"version": "2.68.2",
|
|
4
4
|
"description": "Visual Hype System - Wistia's opinionated component library for building React UIs",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -34,16 +34,19 @@
|
|
|
34
34
|
"build:types": "tsc --project tsconfig.build.json",
|
|
35
35
|
"build:types:debug": "tsc --project tsconfig.build.json --showConfig",
|
|
36
36
|
"build:watch": "cross-env NODE_ENV=development ./esbuild.config.mjs --watch",
|
|
37
|
-
"build:watch_": "concurrently \"yarn build:watch:src\" \"yarn build:watch:types\"",
|
|
38
37
|
"build:watch:src": "cross-env NODE_ENV=development ./esbuild.config.mjs --watch",
|
|
39
38
|
"build:watch:types": "tsc --watch --project tsconfig.build.json",
|
|
39
|
+
"build:watch_": "concurrently \"yarn build:watch:src\" \"yarn build:watch:types\"",
|
|
40
40
|
"clean": "shx rm -rf ./dist && echo 'dist directory has been removed'",
|
|
41
|
+
"chromatic": "cross-env STORYBOOK_IS_CHROMATIC_BUILD=true chromatic --build-script-name=storybook:build --storybook-base-dir==packages/vhs --allow-console-errors",
|
|
41
42
|
"depcheck": "depcheck",
|
|
42
43
|
"generate": "node ./scripts/generators/generateComponent.mjs",
|
|
43
44
|
"generate:icon": "node ./scripts/generators/generateIcon.mjs",
|
|
44
45
|
"link:test": "node ./scripts/watchAndCopyBuild.mjs",
|
|
45
46
|
"prepack": "yarn run build",
|
|
46
47
|
"publint_": "publint-check",
|
|
48
|
+
"storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook dev --host localhost --port 6007",
|
|
49
|
+
"storybook:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook build --quiet",
|
|
47
50
|
"test": "cross-env NODE_ENV=test vitest run",
|
|
48
51
|
"test:coverage": "yarn run test --coverage=true && open ./coverage/index.html",
|
|
49
52
|
"test:debug": "echo 'open chrome://inspect/#devices' && cross-env NODE_ENV=test vitest --inspect-brk --no-file-parallelism",
|
|
@@ -59,12 +62,12 @@
|
|
|
59
62
|
"styled-components": "^5.0 || ^6.0"
|
|
60
63
|
},
|
|
61
64
|
"dependencies": {
|
|
62
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
65
|
+
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
63
66
|
"@wistia/type-guards": "^0.6.0",
|
|
64
67
|
"@wistia/vhs-design-tokens": "2.1.3",
|
|
65
68
|
"date-fns": "^4.1.0",
|
|
66
69
|
"formik": "^2.4.6",
|
|
67
|
-
"framer-motion": "^11.
|
|
70
|
+
"framer-motion": "^11.11.9",
|
|
68
71
|
"is-hotkey": "^0.2.0",
|
|
69
72
|
"polished": "^4.3.1",
|
|
70
73
|
"react-aria-live": "^2.0.5",
|
|
@@ -81,41 +84,57 @@
|
|
|
81
84
|
},
|
|
82
85
|
"devDependencies": {
|
|
83
86
|
"@repo/config": "workspace:*",
|
|
84
|
-
"@storybook/
|
|
87
|
+
"@storybook/addon-a11y": "^8.3.5",
|
|
88
|
+
"@storybook/addon-backgrounds": "^8.3.5",
|
|
89
|
+
"@storybook/addon-controls": "^8.3.5",
|
|
90
|
+
"@storybook/addon-docs": "^8.3.5",
|
|
91
|
+
"@storybook/addon-links": "^8.3.5",
|
|
92
|
+
"@storybook/addon-mdx-gfm": "^8.3.5",
|
|
93
|
+
"@storybook/blocks": "^8.3.5",
|
|
94
|
+
"@storybook/manager-api": "^8.3.5",
|
|
95
|
+
"@storybook/react": "^8.3.5",
|
|
96
|
+
"@storybook/react-vite": "^8.3.5",
|
|
97
|
+
"@storybook/theming": "^8.3.5",
|
|
85
98
|
"@testing-library/dom": "^10.4.0",
|
|
86
|
-
"@testing-library/jest-dom": "^6.
|
|
99
|
+
"@testing-library/jest-dom": "^6.6.1",
|
|
87
100
|
"@testing-library/react": "^16.0.1",
|
|
88
101
|
"@testing-library/user-event": "^14.5.2",
|
|
89
102
|
"@types/is-hotkey": "^0.1.10",
|
|
90
|
-
"@types/node": "^22.6
|
|
91
|
-
"@types/react": "^18.3.
|
|
103
|
+
"@types/node": "^22.7.6",
|
|
104
|
+
"@types/react": "^18.3.11",
|
|
92
105
|
"@types/react-aria-live": "^2.0.6",
|
|
93
|
-
"@types/react-dom": "^18.3.
|
|
106
|
+
"@types/react-dom": "^18.3.1",
|
|
94
107
|
"@types/react-slider": "^1.3.6",
|
|
95
108
|
"@types/styled-components": "^5.1.34",
|
|
96
109
|
"@types/throttle-debounce": "^5.0.2",
|
|
97
110
|
"@types/uuid": "^10.0.0",
|
|
98
|
-
"
|
|
111
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
112
|
+
"@vitest/coverage-istanbul": "^2.1.3",
|
|
113
|
+
"browserslist": "^4.24.0",
|
|
114
|
+
"chromatic": "^11.12.5",
|
|
99
115
|
"concurrently": "^9.0.1",
|
|
100
116
|
"cross-env": "^7.0.3",
|
|
101
117
|
"depcheck": "^1.4.7",
|
|
102
118
|
"esbuild": "^0.24.0",
|
|
103
|
-
"esbuild-plugin-browserslist": "^0.
|
|
119
|
+
"esbuild-plugin-browserslist": "^0.15.0",
|
|
104
120
|
"esbuild-visualizer": "^0.6.0",
|
|
105
121
|
"globby": "^14.0.2",
|
|
106
|
-
"jsdoc-to-markdown": "^9.0.
|
|
122
|
+
"jsdoc-to-markdown": "^9.0.2",
|
|
107
123
|
"jsdom": "^25.0.1",
|
|
108
124
|
"minimist": "^1.2.8",
|
|
109
125
|
"pascalcase": "^2.0.0",
|
|
110
126
|
"prettier": "^3.3.3",
|
|
111
127
|
"react": "^18.3.1",
|
|
128
|
+
"react-docgen-typescript": "^2.2.2",
|
|
112
129
|
"react-dom": "^18.3.1",
|
|
113
130
|
"shx": "^0.3.4",
|
|
114
131
|
"signale": "^1.4.0",
|
|
132
|
+
"storybook": "^8.3.5",
|
|
115
133
|
"styled-components": "^5.3.11",
|
|
116
134
|
"tsx": "^4.19.1",
|
|
117
135
|
"typescript": "5.5.4",
|
|
118
|
-
"
|
|
136
|
+
"vite": "^5.4.9",
|
|
137
|
+
"vitest": "^2.1.3",
|
|
119
138
|
"vitest-axe": "^1.0.0-pre.3",
|
|
120
139
|
"vitest-canvas-mock": "^0.3.3",
|
|
121
140
|
"vitest-console": "^0.1.1",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ReactNode, JSX } from 'react';
|
|
2
|
-
export type EnterTransitionProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Pass an arbitrary child node
|
|
5
|
-
*/
|
|
6
|
-
children?: ReactNode | undefined;
|
|
7
|
-
};
|
|
8
|
-
export declare const EnterTransition: ({ children }: EnterTransitionProps) => JSX.Element;
|
|
9
|
-
//# sourceMappingURL=EnterTransition.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EnterTransition.d.ts","sourceRoot":"","sources":["../../../../src/private/components/EnterTransition/EnterTransition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAgB,GAAG,EAAE,MAAM,OAAO,CAAC;AAc1D,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,eAAe,iBAAkB,oBAAoB,KAAG,GAAG,CAAC,OAwBxE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/private/components/EnterTransition/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|