@wistia/vhs 2.72.1 → 2.73.0-beta.0dc1650b.5e12bba

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.
Files changed (29) hide show
  1. package/dist/components/ActionModal/ActionModal.d.ts +1 -1
  2. package/dist/components/ActionModal/ActionModal.d.ts.map +1 -1
  3. package/dist/components/Banner/BannerChildComponents.d.ts.map +1 -1
  4. package/dist/components/FullScreenModal/FullScreenModal.d.ts +1 -1
  5. package/dist/components/FullScreenModal/FullScreenModal.d.ts.map +1 -1
  6. package/dist/components/KeyboardShortcut/KeyboardShortcut.d.ts.map +1 -1
  7. package/dist/components/Link/linkStyle.d.ts.map +1 -1
  8. package/dist/components/Menu/MenuItem.d.ts.map +1 -1
  9. package/dist/components/Modal/Modal.d.ts +5 -0
  10. package/dist/components/Modal/Modal.d.ts.map +1 -1
  11. package/dist/components/ModalBase/ModalBase.d.ts +1 -1
  12. package/dist/components/ModalBase/ModalBase.d.ts.map +1 -1
  13. package/dist/components/RichTextEditor/Element.d.ts.map +1 -1
  14. package/dist/components/RichTextEditor/serializers.d.ts.map +1 -1
  15. package/dist/components/WistiaLogo/WistiaLogo.d.ts +11 -14
  16. package/dist/components/WistiaLogo/WistiaLogo.d.ts.map +1 -1
  17. package/dist/css/normalize.d.ts.map +1 -1
  18. package/dist/hooks/useFocusTrap/helpers.d.ts.map +1 -1
  19. package/dist/index.cjs +473 -493
  20. package/dist/index.cjs.map +4 -4
  21. package/dist/index.d.ts +0 -1
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.mjs +533 -553
  24. package/dist/index.mjs.map +4 -4
  25. package/package.json +39 -39
  26. package/dist/components/WistiaLogoNew/WistiaLogoNew.d.ts +0 -39
  27. package/dist/components/WistiaLogoNew/WistiaLogoNew.d.ts.map +0 -1
  28. package/dist/components/WistiaLogoNew/index.d.ts +0 -2
  29. package/dist/components/WistiaLogoNew/index.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/vhs",
3
- "version": "2.72.1",
3
+ "version": "2.73.0-beta.0dc1650b.5e12bba",
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",
@@ -55,21 +55,21 @@
55
55
  "typecheck": "tsc"
56
56
  },
57
57
  "peerDependencies": {
58
- "@types/react": "^17.0 || ^18.0",
59
- "@types/react-dom": "^17.0 || ^18.0",
60
- "@types/styled-components": "^5.0 || ^6.0",
61
- "react": "^17.0 || ^18.0",
62
- "react-dom": "^17.0 || ^18.0",
63
- "styled-components": "^5.0 || ^6.0"
58
+ "@types/react": "^17.0.0 || ^18.0.0",
59
+ "@types/react-dom": "^17.0.0 || ^18.0.0",
60
+ "@types/styled-components": "^5.0.0",
61
+ "react": "^17.0.0 || ^18.0.0",
62
+ "react-dom": "^17.0.0 || ^18.0.0",
63
+ "styled-components": "^5.0.0 || ^6.0.0"
64
64
  },
65
65
  "dependencies": {
66
- "@radix-ui/react-dropdown-menu": "^2.1.2",
66
+ "@radix-ui/react-dropdown-menu": "^2.1.5",
67
67
  "@wistia/type-guards": "^0.6.0",
68
68
  "@wistia/vhs-design-tokens": "2.1.3",
69
69
  "date-fns": "^4.1.0",
70
70
  "formik": "^2.4.6",
71
- "framer-motion": "^11.13.1",
72
71
  "is-hotkey": "^0.2.0",
72
+ "motion": "^11.18.2",
73
73
  "polished": "^4.3.1",
74
74
  "react-aria-live": "^2.0.5",
75
75
  "react-fast-compare": "^3.2.2",
@@ -80,48 +80,48 @@
80
80
  "slate-hyperscript": "^0.100.0",
81
81
  "slate-react": "0.99.0",
82
82
  "throttle-debounce": "^5.0.2",
83
- "type-fest": "^4.30.0",
84
- "uuid": "^10.0.0"
83
+ "type-fest": "^4.33.0",
84
+ "uuid": "^11.0.5"
85
85
  },
86
86
  "devDependencies": {
87
87
  "@repo/config": "workspace:*",
88
- "@storybook/addon-a11y": "^8.4.7",
89
- "@storybook/addon-backgrounds": "^8.4.7",
90
- "@storybook/addon-controls": "^8.4.7",
91
- "@storybook/addon-docs": "^8.4.7",
92
- "@storybook/addon-links": "^8.4.7",
93
- "@storybook/addon-mdx-gfm": "^8.4.7",
94
- "@storybook/blocks": "^8.4.7",
95
- "@storybook/manager-api": "^8.4.7",
96
- "@storybook/react": "^8.4.7",
97
- "@storybook/react-vite": "^8.4.7",
98
- "@storybook/theming": "^8.4.7",
88
+ "@storybook/addon-a11y": "^8.5.2",
89
+ "@storybook/addon-backgrounds": "^8.5.2",
90
+ "@storybook/addon-controls": "^8.5.2",
91
+ "@storybook/addon-docs": "^8.5.2",
92
+ "@storybook/addon-links": "^8.5.2",
93
+ "@storybook/addon-mdx-gfm": "^8.5.2",
94
+ "@storybook/blocks": "^8.5.2",
95
+ "@storybook/manager-api": "^8.5.2",
96
+ "@storybook/react": "^8.5.2",
97
+ "@storybook/react-vite": "^8.5.2",
98
+ "@storybook/theming": "^8.5.2",
99
99
  "@testing-library/dom": "^10.4.0",
100
100
  "@testing-library/jest-dom": "^6.6.3",
101
- "@testing-library/react": "^16.1.0",
102
- "@testing-library/user-event": "^14.5.2",
101
+ "@testing-library/react": "^16.2.0",
102
+ "@testing-library/user-event": "^14.6.1",
103
103
  "@types/is-hotkey": "^0.1.10",
104
- "@types/node": "^22.10.1",
105
- "@types/react": "^18.3.14",
104
+ "@types/node": "^22.12.0",
105
+ "@types/react": "^18.3.18",
106
106
  "@types/react-aria-live": "^2.0.6",
107
- "@types/react-dom": "^18.3.2",
107
+ "@types/react-dom": "^18.3.5",
108
108
  "@types/react-slider": "^1.3.6",
109
109
  "@types/styled-components": "^5.1.34",
110
110
  "@types/throttle-debounce": "^5.0.2",
111
111
  "@types/uuid": "^10.0.0",
112
112
  "@vitejs/plugin-react": "^4.3.4",
113
- "@vitest/coverage-istanbul": "^2.1.8",
114
- "browserslist": "^4.24.2",
115
- "chromatic": "^11.20.0",
116
- "concurrently": "^9.1.0",
113
+ "@vitest/coverage-istanbul": "^3.0.4",
114
+ "browserslist": "^4.24.4",
115
+ "chromatic": "^11.25.1",
116
+ "concurrently": "^9.1.2",
117
117
  "cross-env": "^7.0.3",
118
118
  "depcheck": "^1.4.7",
119
- "esbuild": "^0.24.0",
119
+ "esbuild": "^0.24.2",
120
120
  "esbuild-plugin-browserslist": "^0.15.0",
121
- "esbuild-visualizer": "^0.6.0",
121
+ "esbuild-visualizer": "^0.7.0",
122
122
  "globby": "^14.0.2",
123
123
  "jsdoc-to-markdown": "^9.1.1",
124
- "jsdom": "^25.0.1",
124
+ "jsdom": "^26.0.0",
125
125
  "minimist": "^1.2.8",
126
126
  "pascalcase": "^2.0.0",
127
127
  "prettier": "^3.4.2",
@@ -130,16 +130,16 @@
130
130
  "react-dom": "^18.3.1",
131
131
  "shx": "^0.3.4",
132
132
  "signale": "^1.4.0",
133
- "storybook": "^8.4.7",
133
+ "storybook": "^8.5.2",
134
134
  "styled-components": "^5.3.11",
135
135
  "tsx": "^4.19.2",
136
- "typescript": "5.5.4",
137
- "vite": "^6.0.3",
138
- "vitest": "^2.1.8",
136
+ "typescript": "^5.7.3",
137
+ "vite": "^6.0.11",
138
+ "vitest": "^3.0.4",
139
139
  "vitest-axe": "^1.0.0-pre.3",
140
140
  "vitest-canvas-mock": "^0.3.3",
141
141
  "vitest-console": "^0.1.1",
142
- "yup": "^1.5.0"
142
+ "yup": "^1.6.1"
143
143
  },
144
144
  "author": "Wistia Engineering",
145
145
  "license": "UNLICENSED",
@@ -1,39 +0,0 @@
1
- import type { ComponentPropsWithoutRef } from 'react';
2
- export type WistiaLogoProps = Omit<ComponentPropsWithoutRef<'svg'>, 'href'> & {
3
- /**
4
- * An optional accessible description for the logo
5
- */
6
- description?: string;
7
- /**
8
- * Height, in pixels, of the logo
9
- */
10
- height?: number;
11
- /**
12
- * @ignore
13
- * Change the color when hovering over the logo
14
- */
15
- hoverColor?: string;
16
- /**
17
- * Display just the icon portion of the logo (ie. hide `Wistia` text)
18
- * note: there is no analogue to this because by brand guidelines, the
19
- * `Wistia` text must not be displayed without the "flags" iconography
20
- */
21
- iconOnly?: boolean;
22
- /**
23
- * If provided, will wrap the logo in a link
24
- */
25
- href?: string;
26
- /**
27
- * An accessible title for the logo (defaults to "Wistia Logo")
28
- */
29
- title?: string;
30
- /**
31
- * Style of the logo
32
- */
33
- variant?: 'dark' | 'light' | 'standard';
34
- };
35
- export declare const WistiaLogoNew: {
36
- ({ description, height, hoverColor, href, iconOnly, title, variant, ...otherProps }: WistiaLogoProps): import("react/jsx-runtime").JSX.Element;
37
- displayName: string;
38
- };
39
- //# sourceMappingURL=WistiaLogoNew.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WistiaLogoNew.d.ts","sourceRoot":"","sources":["../../../src/components/WistiaLogoNew/WistiaLogoNew.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AA8DtD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG;IAC5E;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,aAAa;yFASvB,eAAe;;CAyCjB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { WistiaLogoNew } from './WistiaLogoNew';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/WistiaLogoNew/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}