@wistia/vhs 2.47.4 → 2.48.0-beta.48aec9e9.bc005c0
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.cjs.js → index.cjs} +114 -114
- package/dist/index.cjs.map +7 -0
- package/dist/{index.esm.js → index.mjs} +123 -123
- package/dist/index.mjs.map +7 -0
- package/dist/src/hooks/useClipboard/useClipboard.d.ts +1 -1
- package/dist/src/hooks/useClipboard/useClipboard.d.ts.map +1 -1
- package/dist/src/hooks/useLocalStorage/useLocalStorage.d.ts +1 -1
- package/dist/src/hooks/useLocalStorage/useLocalStorage.d.ts.map +1 -1
- package/package.json +19 -18
- package/dist/index.cjs.js.map +0 -7
- package/dist/index.esm.js.map +0 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const useClipboard: (textToCopy: string, timeout?: number) => [() => Promise<void>, boolean];
|
|
1
|
+
export declare const useClipboard: (textToCopy: string, timeout?: number) => [() => Promise<void>, boolean, boolean];
|
|
2
2
|
//# sourceMappingURL=useClipboard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useClipboard.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useClipboard/useClipboard.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,eACX,MAAM,uBAEjB,CAAC,MAAM,QAAQ,IAAI,CAAC,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"useClipboard.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useClipboard/useClipboard.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,eACX,MAAM,uBAEjB,CAAC,MAAM,QAAQ,IAAI,CAAC,EAAE,OAAO,EAAE,OAAO,CAoBxC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
type SetItemType = Storage['setItem'];
|
|
2
|
-
export declare const useLocalStorage: <T, _>(key: Parameters<SetItemType>[0], initialValue: T) => [T | undefined, (newValue: T) => void, () => void];
|
|
2
|
+
export declare const useLocalStorage: <T, _>(key: Parameters<SetItemType>[0], initialValue: T, storage?: Storage) => [T | undefined, (newValue: T) => void, () => void];
|
|
3
3
|
export {};
|
|
4
4
|
//# sourceMappingURL=useLocalStorage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocalStorage.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useLocalStorage/useLocalStorage.ts"],"names":[],"mappings":"AAEA,KAAK,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAItC,eAAO,MAAM,eAAe,cACrB,WAAW,WAAW,CAAC,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useLocalStorage.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useLocalStorage/useLocalStorage.ts"],"names":[],"mappings":"AAEA,KAAK,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAItC,eAAO,MAAM,eAAe,cACrB,WAAW,WAAW,CAAC,CAAC,CAAC,CAAC,6BAEtB,OAAO,sCACkB,IAAI,QAAQ,IAAI,CAsCnD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/vhs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.48.0-beta.48aec9e9.bc005c0",
|
|
4
4
|
"packageManager": "yarn@4.1.1",
|
|
5
5
|
"description": "Visual Hype System",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
6
|
+
"type": "commonjs",
|
|
7
|
+
"main": "dist/index.cjs",
|
|
8
|
+
"module": "dist/index.mjs",
|
|
8
9
|
"types": "dist/src/index.d.ts",
|
|
9
10
|
"sideEffects": false,
|
|
10
11
|
"files": [
|
|
@@ -77,25 +78,25 @@
|
|
|
77
78
|
"uuid": "^9.0.1"
|
|
78
79
|
},
|
|
79
80
|
"devDependencies": {
|
|
80
|
-
"@storybook/addon-a11y": "^8.0.
|
|
81
|
-
"@storybook/addon-controls": "^8.0.
|
|
82
|
-
"@storybook/addon-docs": "^8.0.
|
|
83
|
-
"@storybook/addon-links": "^8.0.
|
|
84
|
-
"@storybook/addon-mdx-gfm": "^8.0.
|
|
85
|
-
"@storybook/blocks": "^8.0.
|
|
86
|
-
"@storybook/manager-api": "^8.0.
|
|
87
|
-
"@storybook/react": "^8.0.
|
|
88
|
-
"@storybook/react-vite": "^8.0.
|
|
89
|
-
"@storybook/theming": "^8.0.
|
|
90
|
-
"@testing-library/dom": "^
|
|
81
|
+
"@storybook/addon-a11y": "^8.0.8",
|
|
82
|
+
"@storybook/addon-controls": "^8.0.8",
|
|
83
|
+
"@storybook/addon-docs": "^8.0.8",
|
|
84
|
+
"@storybook/addon-links": "^8.0.8",
|
|
85
|
+
"@storybook/addon-mdx-gfm": "^8.0.8",
|
|
86
|
+
"@storybook/blocks": "^8.0.8",
|
|
87
|
+
"@storybook/manager-api": "^8.0.8",
|
|
88
|
+
"@storybook/react": "^8.0.8",
|
|
89
|
+
"@storybook/react-vite": "^8.0.8",
|
|
90
|
+
"@storybook/theming": "^8.0.8",
|
|
91
|
+
"@testing-library/dom": "^10.0.0",
|
|
91
92
|
"@testing-library/jest-dom": "^6.4.2",
|
|
92
|
-
"@testing-library/react": "
|
|
93
|
+
"@testing-library/react": "^15.0.1",
|
|
93
94
|
"@testing-library/user-event": "^14.5.2",
|
|
94
95
|
"@types/escape-html": "^1.0.4",
|
|
95
96
|
"@types/lodash.template": "^4.5.3",
|
|
96
|
-
"@types/node": "^20.12.
|
|
97
|
+
"@types/node": "^20.12.7",
|
|
97
98
|
"@types/react": "18.2.21",
|
|
98
|
-
"@types/react-dom": "^18.2.
|
|
99
|
+
"@types/react-dom": "^18.2.24",
|
|
99
100
|
"@types/react-transition-group": "^4.4.10",
|
|
100
101
|
"@types/styled-components": "^5.1.34",
|
|
101
102
|
"@types/uuid": "^9.0.8",
|
|
@@ -121,7 +122,7 @@
|
|
|
121
122
|
"react": "^18.2.0",
|
|
122
123
|
"react-dom": "^18.2.0",
|
|
123
124
|
"shx": "^0.3.4",
|
|
124
|
-
"storybook": "^8.0.
|
|
125
|
+
"storybook": "^8.0.8",
|
|
125
126
|
"styled-components": "^5.3.11",
|
|
126
127
|
"stylelint": "^16.3.1",
|
|
127
128
|
"tsx": "^4.7.2",
|