@wistia/vhs 2.28.0 → 2.29.0-beta.23062eea.abeac7c

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 (62) hide show
  1. package/dist/index.cjs.js +479 -478
  2. package/dist/index.cjs.js.map +4 -4
  3. package/dist/index.esm.js +500 -499
  4. package/dist/index.esm.js.map +4 -4
  5. package/dist/src/components/Button/ButtonStyledComponent.d.ts +8 -32
  6. package/dist/src/components/Button/ButtonStyledComponent.d.ts.map +1 -1
  7. package/dist/src/components/ButtonLink/ButtonLink.d.ts.map +1 -1
  8. package/dist/src/components/Checkbox/OptionStyledComponent.d.ts +857 -14
  9. package/dist/src/components/Checkbox/OptionStyledComponent.d.ts.map +1 -1
  10. package/dist/src/components/CollapsibleGroup/CollapsibleGroup.d.ts.map +1 -1
  11. package/dist/src/components/Ellipsis/Ellipsis.d.ts +2 -2
  12. package/dist/src/components/Ellipsis/Ellipsis.d.ts.map +1 -1
  13. package/dist/src/components/FormButtons/FormButtons.d.ts +1 -0
  14. package/dist/src/components/FormButtons/FormButtons.d.ts.map +1 -1
  15. package/dist/src/components/Icon/icons/CheckmarkCircleOutlineIcon.d.ts +1 -0
  16. package/dist/src/components/Icon/icons/CheckmarkCircleOutlineIcon.d.ts.map +1 -1
  17. package/dist/src/components/Icon/icons/LightningBoltIcon.d.ts +1 -0
  18. package/dist/src/components/Icon/icons/LightningBoltIcon.d.ts.map +1 -1
  19. package/dist/src/components/Input/InputStyledComponent.d.ts +2 -1
  20. package/dist/src/components/Input/InputStyledComponent.d.ts.map +1 -1
  21. package/dist/src/components/Link/Link.d.ts.map +1 -1
  22. package/dist/src/components/Link/linkStyle.d.ts +4 -4
  23. package/dist/src/components/Link/linkStyle.d.ts.map +1 -1
  24. package/dist/src/components/Menu/MenuItem.d.ts.map +1 -1
  25. package/dist/src/components/Modal/Dialog.d.ts +2 -1
  26. package/dist/src/components/Modal/Dialog.d.ts.map +1 -1
  27. package/dist/src/components/Modal/ModalParts.d.ts +816 -3
  28. package/dist/src/components/Modal/ModalParts.d.ts.map +1 -1
  29. package/dist/src/components/RangeSelector/RangeSelector.d.ts +1 -0
  30. package/dist/src/components/RangeSelector/RangeSelector.d.ts.map +1 -1
  31. package/dist/src/components/RangeSelectorInput/ErrorMessages.d.ts +1 -0
  32. package/dist/src/components/RangeSelectorInput/ErrorMessages.d.ts.map +1 -1
  33. package/dist/src/components/RichTextEditor/EditorButtons.d.ts +1 -0
  34. package/dist/src/components/RichTextEditor/EditorButtons.d.ts.map +1 -1
  35. package/dist/src/components/RichTextEditor/Element.d.ts +1 -0
  36. package/dist/src/components/RichTextEditor/Element.d.ts.map +1 -1
  37. package/dist/src/components/RichTextEditor/RichTextEditor.d.ts +6 -1
  38. package/dist/src/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  39. package/dist/src/components/ScreenReaderOnly/ScreenReaderOnly.d.ts +1 -1
  40. package/dist/src/components/ScreenReaderOnly/ScreenReaderOnly.d.ts.map +1 -1
  41. package/dist/src/components/Select/SelectStyledComponent.d.ts +2 -1
  42. package/dist/src/components/Select/SelectStyledComponent.d.ts.map +1 -1
  43. package/dist/src/components/Text/Text.d.ts +10 -10
  44. package/dist/src/components/Thumbnail/Thumbnail.d.ts +272 -1
  45. package/dist/src/components/Thumbnail/Thumbnail.d.ts.map +1 -1
  46. package/dist/src/components/Truncate/Truncate.d.ts +1 -0
  47. package/dist/src/components/Truncate/Truncate.d.ts.map +1 -1
  48. package/dist/src/css/GlobalStyle.d.ts +2 -1
  49. package/dist/src/css/GlobalStyle.d.ts.map +1 -1
  50. package/dist/src/css/baseline.d.ts +1 -1
  51. package/dist/src/css/baseline.d.ts.map +1 -1
  52. package/dist/src/css/normalize.d.ts +1 -1
  53. package/dist/src/css/normalize.d.ts.map +1 -1
  54. package/dist/src/private/components/Calendar/Calendar.d.ts +556 -2
  55. package/dist/src/private/components/Calendar/Calendar.d.ts.map +1 -1
  56. package/dist/src/private/components/Icon/Icon.d.ts +1 -0
  57. package/dist/src/private/components/Icon/Icon.d.ts.map +1 -1
  58. package/dist/src/private/components/Table/TableStyle.d.ts +283 -1
  59. package/dist/src/private/components/Table/TableStyle.d.ts.map +1 -1
  60. package/dist/src/private/hooks/useMouseLeave/useMouseLeave.d.ts.map +1 -1
  61. package/dist/src/providers/VHSProvider.d.ts.map +1 -1
  62. package/package.json +44 -36
@@ -1,12 +1,12 @@
1
1
  import type { ReactNode, MouseEvent, AriaAttributes, ComponentPropsWithRef } from 'react';
2
2
  import type { iconMap } from '../Icon/iconMap';
3
3
  import type { TextAlignValues } from '../../@types/shared_types';
4
- export declare const buttonResetStyle: import("styled-components").FlattenSimpleInterpolation;
5
- export declare const disabledButtonStyle: import("styled-components").FlattenSimpleInterpolation;
6
- export declare const largeButtonStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
7
- export declare const mediumButtonStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
8
- export declare const smallButtonStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
9
- export declare const fullWidthButtonStyle: import("styled-components").FlattenSimpleInterpolation;
4
+ export declare const buttonResetStyle: import("styled-components").RuleSet<object>;
5
+ export declare const disabledButtonStyle: import("styled-components").RuleSet<object>;
6
+ export declare const largeButtonStyle: import("styled-components").RuleSet<object>;
7
+ export declare const mediumButtonStyle: import("styled-components").RuleSet<object>;
8
+ export declare const smallButtonStyle: import("styled-components").RuleSet<object>;
9
+ export declare const fullWidthButtonStyle: import("styled-components").RuleSet<object>;
10
10
  export type ButtonStyleProps = AriaAttributes & ComponentPropsWithRef<'button'> & {
11
11
  buttonColor: string;
12
12
  children?: ReactNode;
@@ -31,30 +31,6 @@ export type ButtonStyleProps = AriaAttributes & ComponentPropsWithRef<'button'>
31
31
  export type ButtonStyledComponentProps = ButtonStyleProps & {
32
32
  noStyle: boolean;
33
33
  };
34
- export declare const buttonStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<ButtonStyleProps, import("styled-components").DefaultTheme>>;
35
- export declare const ButtonStyledComponent: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, AriaAttributes & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
36
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
37
- } & {
38
- buttonColor: string;
39
- children?: ReactNode;
40
- colorOverride?: string;
41
- disabled?: boolean;
42
- forceState?: 'active' | 'focus' | 'hover' | undefined;
43
- fullWidth?: boolean;
44
- icon?: ReactNode;
45
- iconName?: keyof typeof iconMap;
46
- iconPosition?: 'end' | 'start';
47
- isLoading?: boolean;
48
- label?: string;
49
- labelWrap?: boolean;
50
- noStyle?: boolean;
51
- onClick?: (event: MouseEvent) => void;
52
- size?: 'lg' | 'md' | 'sm';
53
- square?: boolean;
54
- textAlign: TextAlignValues;
55
- type?: 'button' | 'reset' | 'submit';
56
- variant?: 'dangerous' | 'primary' | 'secondary' | 'tertiary';
57
- } & {
58
- noStyle: boolean;
59
- }, never>;
34
+ export declare const buttonStyle: import("styled-components").RuleSet<ButtonStyleProps>;
35
+ export declare const ButtonStyledComponent: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ButtonStyledComponentProps>>;
60
36
  //# sourceMappingURL=ButtonStyledComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonStyledComponent.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/ButtonStyledComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAG1F,OAAO,KAAK,EAAE,OAAO,EA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