@wistia/vhs 2.48.0 → 2.48.1-beta.12aa9bbf.22968a4

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,2 +1,3 @@
1
+ export type { BadgeColorScheme } from './Badge';
1
2
  export { Badge } from './Badge';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -1,2 +1,3 @@
1
+ export type { FormFieldProps } from './FormField';
1
2
  export { FormField } from './FormField';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FormField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FormField/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -1,4 +1,3 @@
1
- export type IconNameType = keyof typeof iconMap;
2
1
  export declare const iconMap: {
3
2
  'ab-test': string;
4
3
  'all-content': string;
@@ -105,4 +104,5 @@ export declare const iconMap: {
105
104
  'zoom-in': string;
106
105
  'zoom-out': string;
107
106
  };
107
+ export type IconNameType = keyof typeof iconMap;
108
108
  //# sourceMappingURL=iconMap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"iconMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/iconMap.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,OAAO,CAAC;AAEhD,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyGnB,CAAC"}
1
+ {"version":3,"file":"iconMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/iconMap.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyGnB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,OAAO,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Icon, iconSizeMap } from './Icon';
2
1
  export type { IconNameType } from './iconMap';
2
+ export { Icon, iconSizeMap } from './Icon';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC3C,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC"}
@@ -1,2 +1,3 @@
1
+ export type { KeyboardKeys } from './KeyboardKeyTypes';
1
2
  export { KeyboardShortcut } from './KeyboardShortcut';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/KeyboardShortcut/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/KeyboardShortcut/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,2 +1,3 @@
1
+ export type { RangeSelectorProps } from './RangeSelector';
1
2
  export { RangeSelector } from './RangeSelector';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/RangeSelector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/RangeSelector/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,3 +1,4 @@
1
+ export type { NodeElementObject } from './types';
1
2
  export { RichTextEditor } from './RichTextEditor';
2
3
  export { rteSerializeToHTML, rteDeserializeHTML } from './serializers';
3
4
  export { rteFormatTypes } from './utilities/rteFormatTypes';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/RichTextEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/RichTextEditor/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC"}
@@ -1,3 +1,4 @@
1
+ export type { ToastVariants } from './Toast';
1
2
  export { Toast } from './Toast';
2
3
  export { useToast } from './useToast';
3
4
  export { ToastProvider } from './ToastProvider';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,2 +1,3 @@
1
+ export type { TooltipProps } from './Tooltip';
1
2
  export { Tooltip } from './Tooltip';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,8 @@
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
@@ -0,0 +1 @@
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/vhs",
3
- "version": "2.48.0",
3
+ "version": "2.48.1-beta.12aa9bbf.22968a4",
4
4
  "packageManager": "yarn@4.1.1",
5
5
  "description": "Visual Hype System",
6
6
  "type": "commonjs",
@@ -8,6 +8,19 @@
8
8
  "module": "dist/index.mjs",
9
9
  "types": "dist/src/index.d.ts",
10
10
  "sideEffects": false,
11
+ "exports": {
12
+ "./package.json": "./package.json",
13
+ ".": {
14
+ "require": {
15
+ "types": "./dist/src/index.d.ts",
16
+ "default": "./dist/index.cjs"
17
+ },
18
+ "import": {
19
+ "types": "./dist/src/index.d.ts",
20
+ "default": "./dist/index.mjs"
21
+ }
22
+ }
23
+ },
11
24
  "files": [
12
25
  "dist"
13
26
  ],
@@ -60,7 +73,6 @@
60
73
  "@wistia/type-guards": "^0.0.8",
61
74
  "@wistia/vhs-design-tokens": "^2.1.0",
62
75
  "date-fns": "^3.6.0",
63
- "escape-html": "^1.0.3",
64
76
  "formik": "^2.4.5",
65
77
  "is-hotkey": "^0.2.0",
66
78
  "lodash.isequal": "^4.5.0",
@@ -92,7 +104,6 @@
92
104
  "@testing-library/jest-dom": "^6.4.2",
93
105
  "@testing-library/react": "^15.0.1",
94
106
  "@testing-library/user-event": "^14.5.2",
95
- "@types/escape-html": "^1.0.4",
96
107
  "@types/lodash.template": "^4.5.3",
97
108
  "@types/node": "^20.12.7",
98
109
  "@types/react": "18.2.21",