@wistia/vhs 2.48.1-beta.3788478f.5b063f4 → 2.48.1-beta.3a71e41b.c712265

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.
@@ -1 +1 @@
1
- {"version":3,"file":"UseKeyPressOnceExample.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useKeyPressOnce/UseKeyPressOnceExample.tsx"],"names":[],"mappings":"AAoDA,eAAO,MAAM,sBAAsB,+CAmClC,CAAC"}
1
+ {"version":3,"file":"UseKeyPressOnceExample.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useKeyPressOnce/UseKeyPressOnceExample.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,+CAmClC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UsePreventScrollExample.d.ts","sourceRoot":"","sources":["../../../../src/hooks/usePreventScroll/UsePreventScrollExample.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,uBAAuB,+CAsBnC,CAAC"}
1
+ {"version":3,"file":"UsePreventScrollExample.d.ts","sourceRoot":"","sources":["../../../../src/hooks/usePreventScroll/UsePreventScrollExample.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,uBAAuB,+CAsBnC,CAAC"}
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@wistia/vhs",
3
- "version": "2.48.1-beta.3788478f.5b063f4",
3
+ "version": "2.48.1-beta.3a71e41b.c712265",
4
4
  "packageManager": "yarn@4.1.1",
5
- "description": "Visual Hype System",
6
- "type": "commonjs",
5
+ "description": "Visual Hype System - Wistia's opinionated component library for building React UIs",
6
+ "type": "module",
7
7
  "main": "dist/index.cjs",
8
8
  "module": "dist/index.mjs",
9
9
  "types": "dist/src/index.d.ts",
10
- "sideEffects": false,
11
10
  "exports": {
12
11
  "./package.json": "./package.json",
13
12
  ".": {
@@ -21,11 +20,12 @@
21
20
  }
22
21
  }
23
22
  },
23
+ "sideEffects": false,
24
24
  "files": [
25
25
  "dist"
26
26
  ],
27
27
  "engines": {
28
- "node": ">=18.0.0 || >=20.0.0"
28
+ "node": ">= 16.0.0"
29
29
  },
30
30
  "scripts": {
31
31
  "browsers": "./scripts/browserSupport.mjs",
@@ -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":["../../../../../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"}
@@ -1,2 +0,0 @@
1
- export { HideInVisualRegressionTests } from './HideInVisualRegressionTests';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -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"}