@wistia/vhs 2.76.5-beta.e9952045.29f14e2 → 2.76.5-beta.ec10674c.2ae7019

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 (60) hide show
  1. package/dist/components/RangeSelector/RangeSelector.d.ts +1 -1
  2. package/dist/components/RangeSelector/RangeSelector.d.ts.map +1 -1
  3. package/dist/components/Slider/Slider.d.ts +5 -5
  4. package/dist/components/Slider/Slider.d.ts.map +1 -1
  5. package/dist/components/WistiaLogo/WistiaLogo.d.ts +11 -14
  6. package/dist/components/WistiaLogo/WistiaLogo.d.ts.map +1 -1
  7. package/dist/index.cjs +565 -630
  8. package/dist/index.cjs.map +4 -4
  9. package/dist/index.d.ts +1 -5
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.mjs +565 -630
  12. package/dist/index.mjs.map +4 -4
  13. package/dist/private/components/RangeSelectorCalendar/RangeSelectorCalendar.d.ts.map +1 -0
  14. package/dist/private/components/RangeSelectorCalendar/index.d.ts.map +1 -0
  15. package/dist/private/components/RangeSelectorInput/ErrorMessages.d.ts.map +1 -0
  16. package/dist/private/components/RangeSelectorInput/RangeSelectorInput.d.ts.map +1 -0
  17. package/dist/private/components/RangeSelectorInput/constants.d.ts.map +1 -0
  18. package/dist/private/components/RangeSelectorInput/conversions.d.ts.map +1 -0
  19. package/dist/private/components/RangeSelectorInput/eventTypes.d.ts.map +1 -0
  20. package/dist/private/components/RangeSelectorInput/index.d.ts.map +1 -0
  21. package/dist/private/components/RangeSelectorInput/iterators.d.ts.map +1 -0
  22. package/dist/private/components/RangeSelectorInput/selection.d.ts.map +1 -0
  23. package/dist/private/components/RangeSelectorInput/utils.d.ts.map +1 -0
  24. package/package.json +6 -6
  25. package/dist/components/Breakline/Breakline.d.ts +0 -19
  26. package/dist/components/Breakline/Breakline.d.ts.map +0 -1
  27. package/dist/components/Breakline/index.d.ts +0 -2
  28. package/dist/components/Breakline/index.d.ts.map +0 -1
  29. package/dist/components/MediaObject/MediaObject.d.ts +0 -36
  30. package/dist/components/MediaObject/MediaObject.d.ts.map +0 -1
  31. package/dist/components/MediaObject/index.d.ts +0 -2
  32. package/dist/components/MediaObject/index.d.ts.map +0 -1
  33. package/dist/components/RangeSelectorCalendar/RangeSelectorCalendar.d.ts.map +0 -1
  34. package/dist/components/RangeSelectorCalendar/index.d.ts.map +0 -1
  35. package/dist/components/RangeSelectorInput/ErrorMessages.d.ts.map +0 -1
  36. package/dist/components/RangeSelectorInput/RangeSelectorInput.d.ts.map +0 -1
  37. package/dist/components/RangeSelectorInput/constants.d.ts.map +0 -1
  38. package/dist/components/RangeSelectorInput/conversions.d.ts.map +0 -1
  39. package/dist/components/RangeSelectorInput/eventTypes.d.ts.map +0 -1
  40. package/dist/components/RangeSelectorInput/index.d.ts.map +0 -1
  41. package/dist/components/RangeSelectorInput/iterators.d.ts.map +0 -1
  42. package/dist/components/RangeSelectorInput/selection.d.ts.map +0 -1
  43. package/dist/components/RangeSelectorInput/utils.d.ts.map +0 -1
  44. package/dist/components/WistiaLogoNew/WistiaLogoNew.d.ts +0 -39
  45. package/dist/components/WistiaLogoNew/WistiaLogoNew.d.ts.map +0 -1
  46. package/dist/components/WistiaLogoNew/index.d.ts +0 -2
  47. package/dist/components/WistiaLogoNew/index.d.ts.map +0 -1
  48. package/dist/reactShim.d.ts +0 -3
  49. package/dist/reactShim.d.ts.map +0 -1
  50. /package/dist/{components → private/components}/RangeSelectorCalendar/RangeSelectorCalendar.d.ts +0 -0
  51. /package/dist/{components → private/components}/RangeSelectorCalendar/index.d.ts +0 -0
  52. /package/dist/{components → private/components}/RangeSelectorInput/ErrorMessages.d.ts +0 -0
  53. /package/dist/{components → private/components}/RangeSelectorInput/RangeSelectorInput.d.ts +0 -0
  54. /package/dist/{components → private/components}/RangeSelectorInput/constants.d.ts +0 -0
  55. /package/dist/{components → private/components}/RangeSelectorInput/conversions.d.ts +0 -0
  56. /package/dist/{components → private/components}/RangeSelectorInput/eventTypes.d.ts +0 -0
  57. /package/dist/{components → private/components}/RangeSelectorInput/index.d.ts +0 -0
  58. /package/dist/{components → private/components}/RangeSelectorInput/iterators.d.ts +0 -0
  59. /package/dist/{components → private/components}/RangeSelectorInput/selection.d.ts +0 -0
  60. /package/dist/{components → private/components}/RangeSelectorInput/utils.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import type { JSX, ComponentType } from 'react';
2
- import type { DateRangeType } from '../RangeSelectorInput/utils';
2
+ import type { DateRangeType } from '../../private/components/RangeSelectorInput/utils';
3
3
  type Preset = {
4
4
  label?: string;
5
5
  value: {
@@ -1 +1 @@
1
- {"version":3,"file":"RangeSelector.d.ts","sourceRoot":"","sources":["../../../src/components/RangeSelector/RangeSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,GAAG,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAY5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAmKjE,KAAK,MAAM,GAAG;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE;QACL,GAAG,EAAE,IAAI,CAAC;QACV,KAAK,EAAE,IAAI,CAAC;KACb,CAAC;IACF,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/D;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,KAAK,GAAG,CAAC,OAA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AAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,KAAK,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAC5D;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,KAAK,OAAO,CAAC;IAIjD,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;OAGG;IAEH,sBAAsB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;CAC7D,CAAC;AAEF,eAAO,MAAM,aAAa;gLAkBvB,kBAAkB,GAAG,GAAG,CAAC,OAAO;;CAkKlC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ComponentPropsWithoutRef, JSX } from 'react';
2
- type ComponentPropsWithoutRefWithoutDefaultValue = Omit<ComponentPropsWithoutRef<'div'>, 'defaultValue' | 'onChange'>;
3
- export type SliderProps = ComponentPropsWithoutRefWithoutDefaultValue & {
2
+ type ComponentPropsWithoutRefWithoutOnChange = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'>;
3
+ export type SliderProps = ComponentPropsWithoutRefWithoutOnChange & {
4
4
  /**
5
5
  * aria-label for screen-readers to apply to the thumbs. Use an array for more than one thumb.
6
6
  * The length of the array must match the number of thumbs in the value array.
@@ -29,7 +29,7 @@ export type SliderProps = ComponentPropsWithoutRefWithoutDefaultValue & {
29
29
  * Don't pass a default value if the slider is controlled (i.e. if you already
30
30
  * use the `value` prop).
31
31
  */
32
- defaultValue?: number[] | number | undefined;
32
+ initialValue?: number[] | number | undefined;
33
33
  /**
34
34
  * If `true` the thumbs can't be moved.
35
35
  */
@@ -53,12 +53,12 @@ export type SliderProps = ComponentPropsWithoutRefWithoutDefaultValue & {
53
53
  */
54
54
  step?: number;
55
55
  /**
56
- * Like 'defaultValue' but for controlled components.
56
+ * Like 'initialValue' but for controlled components.
57
57
  */
58
58
  value?: number[] | number;
59
59
  };
60
60
  export declare const Slider: {
61
- ({ ariaLabel, ariaLabelledby, ariaValuetext, disabled, defaultValue, max, min, onChange, step, value, "data-testid": passedDataTestId, ...otherProps }: SliderProps): JSX.Element;
61
+ ({ ariaLabel, ariaLabelledby, ariaValuetext, disabled, initialValue, max, min, onChange, step, value, "data-testid": passedDataTestId, ...otherProps }: SliderProps): JSX.Element;
62
62
  displayName: string;
63
63
  };
64
64
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAyF3D,KAAK,2CAA2C,GAAG,IAAI,CACrD,wBAAwB,CAAC,KAAK,CAAC,EAC/B,cAAc,GAAG,UAAU,CAC5B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,2CAA2C,GAAG;IACtE;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAAC;IAC1C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,CAAC;IACvE;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;;;;;OASG;IACH,YAAY,CAAC,EAAE,MAAM,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AAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC;IACtD;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,MAAM;4JAahB,WAAW,GAAG,GAAG,CAAC,OAAO;;CA+E3B,CAAC"}
@@ -1,14 +1,9 @@
1
1
  import type { ComponentPropsWithoutRef } from 'react';
2
2
  export type WistiaLogoProps = Omit<ComponentPropsWithoutRef<'svg'>, 'href'> & {
3
3
  /**
4
- * Display the icon portion of the logo
4
+ * An optional accessible description for the logo
5
5
  */
6
- brandmark?: boolean;
7
- /**
8
- * @ignore
9
- * Allows user to override default logo colors
10
- */
11
- colorOverride?: string;
6
+ description?: string;
12
7
  /**
13
8
  * Height, in pixels, of the logo
14
9
  */
@@ -19,24 +14,26 @@ export type WistiaLogoProps = Omit<ComponentPropsWithoutRef<'svg'>, 'href'> & {
19
14
  */
20
15
  hoverColor?: string;
21
16
  /**
22
- * If provided, will wrap the logo in a link
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
23
20
  */
24
- href?: string;
21
+ iconOnly?: boolean;
25
22
  /**
26
- * Display the text portion of the logo
23
+ * If provided, will wrap the logo in a link
27
24
  */
28
- logotype?: boolean;
25
+ href?: string;
29
26
  /**
30
- * An accessible, short-text description of the logo
27
+ * An accessible title for the logo (defaults to "Wistia Logo")
31
28
  */
32
29
  title?: string;
33
30
  /**
34
31
  * Style of the logo
35
32
  */
36
- variant?: 'black' | 'standard' | 'white';
33
+ variant?: 'dark' | 'light' | 'standard';
37
34
  };
38
35
  export declare const WistiaLogo: {
39
- ({ brandmark, colorOverride, height, hoverColor, href, logotype, title, variant, ...otherProps }?: WistiaLogoProps): import("react/jsx-runtime").JSX.Element | null;
36
+ ({ description, height, hoverColor, href, iconOnly, title, variant, ...otherProps }: WistiaLogoProps): import("react/jsx-runtime").JSX.Element;
40
37
  displayName: string;
41
38
  };
42
39
  //# sourceMappingURL=WistiaLogo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WistiaLogo.d.ts","sourceRoot":"","sources":["../../../src/components/WistiaLogo/WistiaLogo.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAO,MAAM,OAAO,CAAC;AA8E3D,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG;IAC5E;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,UAAU;uGAUpB,eAAe;;CA4CjB,CAAC"}
1
+ {"version":3,"file":"WistiaLogo.d.ts","sourceRoot":"","sources":["../../../src/components/WistiaLogo/WistiaLogo.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AA8DtD,MAAM,MAAM,eAAe,G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