@wistia/vhs 2.48.1-beta.3acbb1da.35683ac → 2.48.1-beta.5e5160e5.4aabc75
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 +526 -517
- package/dist/index.cjs.map +4 -4
- package/dist/index.mjs +526 -517
- package/dist/index.mjs.map +4 -4
- package/dist/src/hooks/useKeyPressOnce/UseKeyPressOnceExample.d.ts.map +1 -1
- package/dist/src/hooks/usePreventScroll/UsePreventScrollExample.d.ts.map +1 -1
- package/dist/src/private/components/HideInVisualRegressionTests/HideInVisualRegressionTests.d.ts.map +1 -0
- package/dist/src/private/components/HideInVisualRegressionTests/index.d.ts +2 -0
- package/dist/src/private/components/HideInVisualRegressionTests/index.d.ts.map +1 -0
- package/package.json +9 -6
- package/dist/.storybook/components/HideInVisualRegressionTests.d.ts.map +0 -1
- package/dist/.storybook/helpers/getRandomEmoji.d.ts +0 -2
- package/dist/.storybook/helpers/getRandomEmoji.d.ts.map +0 -1
- package/dist/.storybook/helpers/placeholderText.d.ts +0 -8
- package/dist/.storybook/helpers/placeholderText.d.ts.map +0 -1
- package/dist/src/private/helpers/escapeHtml.d.ts +0 -8
- package/dist/src/private/helpers/escapeHtml.d.ts.map +0 -1
- /package/dist/{.storybook/components → src/private/components/HideInVisualRegressionTests}/HideInVisualRegressionTests.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UseKeyPressOnceExample.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useKeyPressOnce/UseKeyPressOnceExample.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UseKeyPressOnceExample.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useKeyPressOnce/UseKeyPressOnceExample.tsx"],"names":[],"mappings":"AAoDA,eAAO,MAAM,sBAAsB,+CAmClC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsePreventScrollExample.d.ts","sourceRoot":"","sources":["../../../../src/hooks/usePreventScroll/UsePreventScrollExample.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UsePreventScrollExample.d.ts","sourceRoot":"","sources":["../../../../src/hooks/usePreventScroll/UsePreventScrollExample.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,uBAAuB,+CAsBnC,CAAC"}
|
package/dist/src/private/components/HideInVisualRegressionTests/HideInVisualRegressionTests.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HideInVisualRegressionTests.d.ts","sourceRoot":"","sources":["../../../../../src/private/components/HideInVisualRegressionTests/HideInVisualRegressionTests.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,gCAAgC,GAAG;IACtC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAIF,eAAO,MAAM,2BAA2B,kBAErC,gCAAgC,KAAG,WAOrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/private/components/HideInVisualRegressionTests/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/vhs",
|
|
3
|
-
"version": "2.48.1-beta.
|
|
3
|
+
"version": "2.48.1-beta.5e5160e5.4aabc75",
|
|
4
4
|
"packageManager": "yarn@4.1.1",
|
|
5
5
|
"description": "Visual Hype System",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
"lint:style": "stylelint --cache --cache-location .stylelintcache --report-needless-disables \"**/*.tsx\"",
|
|
50
50
|
"outdated": "yarn upgrade-interactive",
|
|
51
51
|
"prepublishOnly": "yarn run build",
|
|
52
|
-
"publint": "publint",
|
|
53
52
|
"storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook dev --host localhost --port 6006",
|
|
54
53
|
"storybook:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook build --quiet",
|
|
55
54
|
"test": "cross-env NODE_ENV=test vitest run",
|
|
@@ -57,7 +56,8 @@
|
|
|
57
56
|
"test:coverage": "yarn run test --coverage=true && open ./coverage/lcov-report/index.html",
|
|
58
57
|
"test:debug": "echo 'open chrome://inspect/#devices' && cross-env NODE_ENV=test vitest --inspect-brk --no-file-parallelism",
|
|
59
58
|
"ts:check": "tsc",
|
|
60
|
-
"ts:generate": "tsx ./scripts/generateTypes.ts"
|
|
59
|
+
"ts:generate": "tsx ./scripts/generateTypes.ts",
|
|
60
|
+
"ts:progress": "node ./scripts/typescriptMigrationProgress.mjs"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"@types/react": "^17.0 || ^18.0",
|
|
@@ -73,11 +73,12 @@
|
|
|
73
73
|
"@wistia/type-guards": "^0.0.8",
|
|
74
74
|
"@wistia/vhs-design-tokens": "^2.1.0",
|
|
75
75
|
"date-fns": "^3.6.0",
|
|
76
|
+
"escape-html": "^1.0.3",
|
|
76
77
|
"formik": "^2.4.5",
|
|
77
78
|
"is-hotkey": "^0.2.0",
|
|
79
|
+
"lodash.isequal": "^4.5.0",
|
|
78
80
|
"polished": "^4.3.1",
|
|
79
81
|
"react-aria-live": "^2.0.5",
|
|
80
|
-
"react-fast-compare": "^3.2.2",
|
|
81
82
|
"react-is": "^18.2.0",
|
|
82
83
|
"react-slider": "^2.0.6",
|
|
83
84
|
"react-transition-group": "^4.4.5",
|
|
@@ -104,6 +105,8 @@
|
|
|
104
105
|
"@testing-library/jest-dom": "^6.4.2",
|
|
105
106
|
"@testing-library/react": "^15.0.1",
|
|
106
107
|
"@testing-library/user-event": "^14.5.2",
|
|
108
|
+
"@types/escape-html": "^1.0.4",
|
|
109
|
+
"@types/lodash.template": "^4.5.3",
|
|
107
110
|
"@types/node": "^20.12.7",
|
|
108
111
|
"@types/react": "18.2.21",
|
|
109
112
|
"@types/react-dom": "^18.2.24",
|
|
@@ -126,9 +129,9 @@
|
|
|
126
129
|
"globby": "^14.0.1",
|
|
127
130
|
"jsdoc-to-markdown": "^8.0.1",
|
|
128
131
|
"jsdom": "^24.0.0",
|
|
132
|
+
"lodash.camelcase": "^4.3.0",
|
|
133
|
+
"lodash.template": "^4.5.0",
|
|
129
134
|
"minimist": "^1.2.8",
|
|
130
|
-
"pascalcase": "^2.0.0",
|
|
131
|
-
"publint": "^0.2.7",
|
|
132
135
|
"react": "^18.2.0",
|
|
133
136
|
"react-dom": "^18.2.0",
|
|
134
137
|
"shx": "^0.3.4",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HideInVisualRegressionTests.d.ts","sourceRoot":"","sources":["../../../.storybook/components/HideInVisualRegressionTests.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,gCAAgC,GAAG;IACtC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAIF,eAAO,MAAM,2BAA2B,kBAErC,gCAAgC,KAAG,WAOrC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getRandomEmoji.d.ts","sourceRoot":"","sources":["../../../.storybook/helpers/getRandomEmoji.ts"],"names":[],"mappings":"AAuCA,eAAO,MAAM,cAAc,sBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,GAAG,MAAM,GAAG,SAO5E,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type dictType = keyof typeof dictionary;
|
|
2
|
-
declare const dictionary: {
|
|
3
|
-
default: string[];
|
|
4
|
-
marketing: string[];
|
|
5
|
-
};
|
|
6
|
-
export declare const placeholderText: (wordCount?: number, dictionaryType?: dictType, addPeriod?: boolean, noSpaces?: boolean) => string;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=placeholderText.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"placeholderText.d.ts","sourceRoot":"","sources":["../../../.storybook/helpers/placeholderText.ts"],"names":[],"mappings":"AAEA,KAAK,QAAQ,GAAG,MAAM,OAAO,UAAU,CAAC;AAGxC,QAAA,MAAM,UAAU;;;CAGf,CAAC;AAMF,eAAO,MAAM,eAAe,wCAEV,QAAQ,oDAgBzB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Handle special characters by escaping in the provided text string.
|
|
3
|
-
*
|
|
4
|
-
* @param {string} stringToEscape - the string to escape
|
|
5
|
-
* @return {string} - the escaped string
|
|
6
|
-
*/
|
|
7
|
-
export declare const escapeHtml: (stringToEscape: number | string | null | undefined) => string;
|
|
8
|
-
//# sourceMappingURL=escapeHtml.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"escapeHtml.d.ts","sourceRoot":"","sources":["../../../../src/private/helpers/escapeHtml.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,eAAO,MAAM,UAAU,mBAAoB,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,KAAG,MAwC/E,CAAC"}
|