@wistia/vhs 3.0.1-beta.cd0ec91c.fd8df29 → 3.0.1-beta.de727c7e.149ab3d
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 +267 -411
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +34 -35
- package/dist/index.d.ts +34 -35
- package/dist/index.mjs +147 -291
- package/dist/index.mjs.map +1 -1
- package/package.json +18 -15
package/dist/index.d.mts
CHANGED
|
@@ -7,7 +7,6 @@ import { FormikProps, FormikHelpers, FormikErrors, Field } from 'formik';
|
|
|
7
7
|
export { useFormikContext } from 'formik';
|
|
8
8
|
import { DropdownMenuProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuCheckboxItemProps, DropdownMenuRadioItemProps } from '@radix-ui/react-dropdown-menu';
|
|
9
9
|
export { DropdownMenuRadioGroup as MenuRadioGroup } from '@radix-ui/react-dropdown-menu';
|
|
10
|
-
import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
11
10
|
import { Descendant } from 'slate';
|
|
12
11
|
import { ReactEditor } from 'slate-react';
|
|
13
12
|
|
|
@@ -310,22 +309,22 @@ declare const datetimeHelpers: {
|
|
|
310
309
|
};
|
|
311
310
|
|
|
312
311
|
declare const gradients: {
|
|
313
|
-
defaultDarkOne: styled_components.
|
|
314
|
-
defaultDarkTwo: styled_components.
|
|
315
|
-
defaultLightOne: styled_components.
|
|
316
|
-
defaultLightTwo: styled_components.
|
|
317
|
-
defaultMidOne: styled_components.
|
|
318
|
-
defaultMidTwo: styled_components.
|
|
319
|
-
green: styled_components.
|
|
320
|
-
greenWithPop: styled_components.
|
|
321
|
-
pink: styled_components.
|
|
322
|
-
pinkWithPop: styled_components.
|
|
323
|
-
playfulGradientOne: styled_components.
|
|
324
|
-
playfulGradientTwo: styled_components.
|
|
325
|
-
purple: styled_components.
|
|
326
|
-
purpleWithPop: styled_components.
|
|
327
|
-
yellow: styled_components.
|
|
328
|
-
yellowWithPop: styled_components.
|
|
312
|
+
defaultDarkOne: styled_components.FlattenSimpleInterpolation;
|
|
313
|
+
defaultDarkTwo: styled_components.FlattenSimpleInterpolation;
|
|
314
|
+
defaultLightOne: styled_components.FlattenSimpleInterpolation;
|
|
315
|
+
defaultLightTwo: styled_components.FlattenSimpleInterpolation;
|
|
316
|
+
defaultMidOne: styled_components.FlattenSimpleInterpolation;
|
|
317
|
+
defaultMidTwo: styled_components.FlattenSimpleInterpolation;
|
|
318
|
+
green: styled_components.FlattenSimpleInterpolation;
|
|
319
|
+
greenWithPop: styled_components.FlattenSimpleInterpolation;
|
|
320
|
+
pink: styled_components.FlattenSimpleInterpolation;
|
|
321
|
+
pinkWithPop: styled_components.FlattenSimpleInterpolation;
|
|
322
|
+
playfulGradientOne: styled_components.FlattenSimpleInterpolation;
|
|
323
|
+
playfulGradientTwo: styled_components.FlattenSimpleInterpolation;
|
|
324
|
+
purple: styled_components.FlattenSimpleInterpolation;
|
|
325
|
+
purpleWithPop: styled_components.FlattenSimpleInterpolation;
|
|
326
|
+
yellow: styled_components.FlattenSimpleInterpolation;
|
|
327
|
+
yellowWithPop: styled_components.FlattenSimpleInterpolation;
|
|
329
328
|
};
|
|
330
329
|
type GradientNameType = keyof typeof gradients;
|
|
331
330
|
type GetBackgroundGradientType = GradientNameType | undefined;
|
|
@@ -513,7 +512,7 @@ declare const Link: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps
|
|
|
513
512
|
* The visual type of Link to display
|
|
514
513
|
*/
|
|
515
514
|
variant?: "dangerous" | "primary" | "secondary";
|
|
516
|
-
} & react.RefAttributes<
|
|
515
|
+
} & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
517
516
|
|
|
518
517
|
type WrapperProviderLinkType = ((props: DefaultLinkWrapperProps) => JSX.Element) | undefined;
|
|
519
518
|
|
|
@@ -1445,7 +1444,7 @@ type ButtonLinkProps = ComponentPropsWithRef<'a'> & {
|
|
|
1445
1444
|
* **Note:** the props table below is incomplete; please
|
|
1446
1445
|
* refer to [Link](?path=/docs/link--link-stories) for additional props.
|
|
1447
1446
|
*/
|
|
1448
|
-
declare const ButtonLink: react.ForwardRefExoticComponent<Omit<ButtonLinkProps, "ref"> & react.RefAttributes<
|
|
1447
|
+
declare const ButtonLink: react.ForwardRefExoticComponent<Omit<ButtonLinkProps, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
1449
1448
|
|
|
1450
1449
|
type CheckboxProps = Omit<ComponentPropsWithRef<'label'>, 'onChange'> & {
|
|
1451
1450
|
/**
|
|
@@ -1697,8 +1696,8 @@ declare const Divider: {
|
|
|
1697
1696
|
displayName: string;
|
|
1698
1697
|
};
|
|
1699
1698
|
|
|
1700
|
-
declare const ellipsisStyle: styled_components.
|
|
1701
|
-
declare const ellipsisFlexParentStyle: styled_components.
|
|
1699
|
+
declare const ellipsisStyle: styled_components.FlattenSimpleInterpolation;
|
|
1700
|
+
declare const ellipsisFlexParentStyle: styled_components.FlattenSimpleInterpolation;
|
|
1702
1701
|
type EllipsisProps = ComponentPropsWithoutRef<'div'> & {
|
|
1703
1702
|
/**
|
|
1704
1703
|
* The text that will be truncated with an ellipsis
|
|
@@ -2566,9 +2565,9 @@ declare const Modal: {
|
|
|
2566
2565
|
displayName: string;
|
|
2567
2566
|
};
|
|
2568
2567
|
|
|
2569
|
-
declare const ModalHeader:
|
|
2570
|
-
declare const ModalBody:
|
|
2571
|
-
declare const ModalFooter:
|
|
2568
|
+
declare const ModalHeader: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
|
2569
|
+
declare const ModalBody: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
|
2570
|
+
declare const ModalFooter: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
|
2572
2571
|
type ModalCloseButtonProps = {
|
|
2573
2572
|
/**
|
|
2574
2573
|
* Callback invoked when the button is clicked
|
|
@@ -2915,7 +2914,7 @@ declare const RichTextEditor: {
|
|
|
2915
2914
|
declare const rteSerializeToHTML: (value: Descendant[]) => string | null;
|
|
2916
2915
|
declare const rteDeserializeHTML: (htmlString: string) => (Descendant | string | null)[] | Descendant | string | null | undefined;
|
|
2917
2916
|
|
|
2918
|
-
declare const screenReaderOnlyStyle: styled_components.
|
|
2917
|
+
declare const screenReaderOnlyStyle: styled_components.FlattenSimpleInterpolation;
|
|
2919
2918
|
type ScreenReaderOnlyProps = ComponentPropsWithoutRef<'div'> & {
|
|
2920
2919
|
/**
|
|
2921
2920
|
* Pass an arbitrary child node
|
|
@@ -3128,16 +3127,16 @@ declare const renderMap: {
|
|
|
3128
3127
|
span: string;
|
|
3129
3128
|
};
|
|
3130
3129
|
declare const variantStyleMap: {
|
|
3131
|
-
headline1: styled_components.
|
|
3132
|
-
headline2: styled_components.
|
|
3133
|
-
headline3: styled_components.
|
|
3134
|
-
overline: styled_components.
|
|
3135
|
-
body1: styled_components.
|
|
3136
|
-
body2: styled_components.
|
|
3137
|
-
caption: styled_components.
|
|
3138
|
-
subtitle1: styled_components.
|
|
3139
|
-
subtitle2: styled_components.
|
|
3140
|
-
monospace: styled_components.
|
|
3130
|
+
headline1: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3131
|
+
headline2: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3132
|
+
headline3: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3133
|
+
overline: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3134
|
+
body1: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3135
|
+
body2: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3136
|
+
caption: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3137
|
+
subtitle1: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3138
|
+
subtitle2: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3139
|
+
monospace: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3141
3140
|
};
|
|
3142
3141
|
type TextProps = ComponentPropsWithoutRef<'div'> & {
|
|
3143
3142
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { FormikProps, FormikHelpers, FormikErrors, Field } from 'formik';
|
|
|
7
7
|
export { useFormikContext } from 'formik';
|
|
8
8
|
import { DropdownMenuProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuCheckboxItemProps, DropdownMenuRadioItemProps } from '@radix-ui/react-dropdown-menu';
|
|
9
9
|
export { DropdownMenuRadioGroup as MenuRadioGroup } from '@radix-ui/react-dropdown-menu';
|
|
10
|
-
import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
11
10
|
import { Descendant } from 'slate';
|
|
12
11
|
import { ReactEditor } from 'slate-react';
|
|
13
12
|
|
|
@@ -310,22 +309,22 @@ declare const datetimeHelpers: {
|
|
|
310
309
|
};
|
|
311
310
|
|
|
312
311
|
declare const gradients: {
|
|
313
|
-
defaultDarkOne: styled_components.
|
|
314
|
-
defaultDarkTwo: styled_components.
|
|
315
|
-
defaultLightOne: styled_components.
|
|
316
|
-
defaultLightTwo: styled_components.
|
|
317
|
-
defaultMidOne: styled_components.
|
|
318
|
-
defaultMidTwo: styled_components.
|
|
319
|
-
green: styled_components.
|
|
320
|
-
greenWithPop: styled_components.
|
|
321
|
-
pink: styled_components.
|
|
322
|
-
pinkWithPop: styled_components.
|
|
323
|
-
playfulGradientOne: styled_components.
|
|
324
|
-
playfulGradientTwo: styled_components.
|
|
325
|
-
purple: styled_components.
|
|
326
|
-
purpleWithPop: styled_components.
|
|
327
|
-
yellow: styled_components.
|
|
328
|
-
yellowWithPop: styled_components.
|
|
312
|
+
defaultDarkOne: styled_components.FlattenSimpleInterpolation;
|
|
313
|
+
defaultDarkTwo: styled_components.FlattenSimpleInterpolation;
|
|
314
|
+
defaultLightOne: styled_components.FlattenSimpleInterpolation;
|
|
315
|
+
defaultLightTwo: styled_components.FlattenSimpleInterpolation;
|
|
316
|
+
defaultMidOne: styled_components.FlattenSimpleInterpolation;
|
|
317
|
+
defaultMidTwo: styled_components.FlattenSimpleInterpolation;
|
|
318
|
+
green: styled_components.FlattenSimpleInterpolation;
|
|
319
|
+
greenWithPop: styled_components.FlattenSimpleInterpolation;
|
|
320
|
+
pink: styled_components.FlattenSimpleInterpolation;
|
|
321
|
+
pinkWithPop: styled_components.FlattenSimpleInterpolation;
|
|
322
|
+
playfulGradientOne: styled_components.FlattenSimpleInterpolation;
|
|
323
|
+
playfulGradientTwo: styled_components.FlattenSimpleInterpolation;
|
|
324
|
+
purple: styled_components.FlattenSimpleInterpolation;
|
|
325
|
+
purpleWithPop: styled_components.FlattenSimpleInterpolation;
|
|
326
|
+
yellow: styled_components.FlattenSimpleInterpolation;
|
|
327
|
+
yellowWithPop: styled_components.FlattenSimpleInterpolation;
|
|
329
328
|
};
|
|
330
329
|
type GradientNameType = keyof typeof gradients;
|
|
331
330
|
type GetBackgroundGradientType = GradientNameType | undefined;
|
|
@@ -513,7 +512,7 @@ declare const Link: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps
|
|
|
513
512
|
* The visual type of Link to display
|
|
514
513
|
*/
|
|
515
514
|
variant?: "dangerous" | "primary" | "secondary";
|
|
516
|
-
} & react.RefAttributes<
|
|
515
|
+
} & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
517
516
|
|
|
518
517
|
type WrapperProviderLinkType = ((props: DefaultLinkWrapperProps) => JSX.Element) | undefined;
|
|
519
518
|
|
|
@@ -1445,7 +1444,7 @@ type ButtonLinkProps = ComponentPropsWithRef<'a'> & {
|
|
|
1445
1444
|
* **Note:** the props table below is incomplete; please
|
|
1446
1445
|
* refer to [Link](?path=/docs/link--link-stories) for additional props.
|
|
1447
1446
|
*/
|
|
1448
|
-
declare const ButtonLink: react.ForwardRefExoticComponent<Omit<ButtonLinkProps, "ref"> & react.RefAttributes<
|
|
1447
|
+
declare const ButtonLink: react.ForwardRefExoticComponent<Omit<ButtonLinkProps, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
1449
1448
|
|
|
1450
1449
|
type CheckboxProps = Omit<ComponentPropsWithRef<'label'>, 'onChange'> & {
|
|
1451
1450
|
/**
|
|
@@ -1697,8 +1696,8 @@ declare const Divider: {
|
|
|
1697
1696
|
displayName: string;
|
|
1698
1697
|
};
|
|
1699
1698
|
|
|
1700
|
-
declare const ellipsisStyle: styled_components.
|
|
1701
|
-
declare const ellipsisFlexParentStyle: styled_components.
|
|
1699
|
+
declare const ellipsisStyle: styled_components.FlattenSimpleInterpolation;
|
|
1700
|
+
declare const ellipsisFlexParentStyle: styled_components.FlattenSimpleInterpolation;
|
|
1702
1701
|
type EllipsisProps = ComponentPropsWithoutRef<'div'> & {
|
|
1703
1702
|
/**
|
|
1704
1703
|
* The text that will be truncated with an ellipsis
|
|
@@ -2566,9 +2565,9 @@ declare const Modal: {
|
|
|
2566
2565
|
displayName: string;
|
|
2567
2566
|
};
|
|
2568
2567
|
|
|
2569
|
-
declare const ModalHeader:
|
|
2570
|
-
declare const ModalBody:
|
|
2571
|
-
declare const ModalFooter:
|
|
2568
|
+
declare const ModalHeader: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
|
2569
|
+
declare const ModalBody: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
|
2570
|
+
declare const ModalFooter: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
|
2572
2571
|
type ModalCloseButtonProps = {
|
|
2573
2572
|
/**
|
|
2574
2573
|
* Callback invoked when the button is clicked
|
|
@@ -2915,7 +2914,7 @@ declare const RichTextEditor: {
|
|
|
2915
2914
|
declare const rteSerializeToHTML: (value: Descendant[]) => string | null;
|
|
2916
2915
|
declare const rteDeserializeHTML: (htmlString: string) => (Descendant | string | null)[] | Descendant | string | null | undefined;
|
|
2917
2916
|
|
|
2918
|
-
declare const screenReaderOnlyStyle: styled_components.
|
|
2917
|
+
declare const screenReaderOnlyStyle: styled_components.FlattenSimpleInterpolation;
|
|
2919
2918
|
type ScreenReaderOnlyProps = ComponentPropsWithoutRef<'div'> & {
|
|
2920
2919
|
/**
|
|
2921
2920
|
* Pass an arbitrary child node
|
|
@@ -3128,16 +3127,16 @@ declare const renderMap: {
|
|
|
3128
3127
|
span: string;
|
|
3129
3128
|
};
|
|
3130
3129
|
declare const variantStyleMap: {
|
|
3131
|
-
headline1: styled_components.
|
|
3132
|
-
headline2: styled_components.
|
|
3133
|
-
headline3: styled_components.
|
|
3134
|
-
overline: styled_components.
|
|
3135
|
-
body1: styled_components.
|
|
3136
|
-
body2: styled_components.
|
|
3137
|
-
caption: styled_components.
|
|
3138
|
-
subtitle1: styled_components.
|
|
3139
|
-
subtitle2: styled_components.
|
|
3140
|
-
monospace: styled_components.
|
|
3130
|
+
headline1: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3131
|
+
headline2: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3132
|
+
headline3: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3133
|
+
overline: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3134
|
+
body1: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3135
|
+
body2: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3136
|
+
caption: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3137
|
+
subtitle1: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3138
|
+
subtitle2: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3139
|
+
monospace: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
|
|
3141
3140
|
};
|
|
3142
3141
|
type TextProps = ComponentPropsWithoutRef<'div'> & {
|
|
3143
3142
|
/**
|