@wistia/vhs 5.0.4-beta.f095f7d5.633264e → 5.0.4-beta.f3e30583.ebfcb56
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.d.ts +79 -79
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +50 -49
- package/dist/index.js.map +1 -1
- package/package.json +15 -16
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
import * as styled_components0 from "styled-components";
|
|
2
|
+
import * as _$styled_components0 from "styled-components";
|
|
3
3
|
import { DefaultTheme, css } from "styled-components";
|
|
4
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
-
import * as react from "react";
|
|
4
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
import * as _$react from "react";
|
|
6
6
|
import { ChangeEvent, ComponentClass, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, ComponentType, Dispatch, ElementType, FocusEvent, HTMLInputTypeAttribute, JSX, KeyboardEvent as KeyboardEvent$1, MouseEvent, MutableRefObject, PropsWithChildren, ReactElement, ReactNode, Ref, RefObject, SetStateAction } from "react";
|
|
7
7
|
import { Field, FormikErrors, FormikHelpers, FormikProps, useFormikContext } from "formik";
|
|
8
8
|
import { ReactEditor } from "slate-react";
|
|
9
9
|
import { BaseEditor, Descendant, Editor } from "slate";
|
|
10
10
|
import { HistoryEditor } from "slate-history";
|
|
11
11
|
import { DropdownMenuCheckboxItemProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuProps, DropdownMenuRadioGroup as MenuRadioGroup, DropdownMenuRadioItemProps } from "@radix-ui/react-dropdown-menu";
|
|
12
|
-
import * as styled_components_dist_types0 from "styled-components/dist/types";
|
|
12
|
+
import * as _$styled_components_dist_types0 from "styled-components/dist/types";
|
|
13
13
|
|
|
14
14
|
//#region src/@types/vhs-theme.d.ts
|
|
15
15
|
interface VHSTheme {
|
|
@@ -336,22 +336,22 @@ declare const datetimeHelpers: {
|
|
|
336
336
|
//#endregion
|
|
337
337
|
//#region src/helpers/getBackgroundGradient/getBackgroundGradient.d.ts
|
|
338
338
|
declare const gradients: {
|
|
339
|
-
defaultDarkOne: styled_components0.RuleSet<object>;
|
|
340
|
-
defaultDarkTwo: styled_components0.RuleSet<object>;
|
|
341
|
-
defaultLightOne: styled_components0.RuleSet<object>;
|
|
342
|
-
defaultLightTwo: styled_components0.RuleSet<object>;
|
|
343
|
-
defaultMidOne: styled_components0.RuleSet<object>;
|
|
344
|
-
defaultMidTwo: styled_components0.RuleSet<object>;
|
|
345
|
-
green: styled_components0.RuleSet<object>;
|
|
346
|
-
greenWithPop: styled_components0.RuleSet<object>;
|
|
347
|
-
pink: styled_components0.RuleSet<object>;
|
|
348
|
-
pinkWithPop: styled_components0.RuleSet<object>;
|
|
349
|
-
playfulGradientOne: styled_components0.RuleSet<object>;
|
|
350
|
-
playfulGradientTwo: styled_components0.RuleSet<object>;
|
|
351
|
-
purple: styled_components0.RuleSet<object>;
|
|
352
|
-
purpleWithPop: styled_components0.RuleSet<object>;
|
|
353
|
-
yellow: styled_components0.RuleSet<object>;
|
|
354
|
-
yellowWithPop: styled_components0.RuleSet<object>;
|
|
339
|
+
defaultDarkOne: _$styled_components0.RuleSet<object>;
|
|
340
|
+
defaultDarkTwo: _$styled_components0.RuleSet<object>;
|
|
341
|
+
defaultLightOne: _$styled_components0.RuleSet<object>;
|
|
342
|
+
defaultLightTwo: _$styled_components0.RuleSet<object>;
|
|
343
|
+
defaultMidOne: _$styled_components0.RuleSet<object>;
|
|
344
|
+
defaultMidTwo: _$styled_components0.RuleSet<object>;
|
|
345
|
+
green: _$styled_components0.RuleSet<object>;
|
|
346
|
+
greenWithPop: _$styled_components0.RuleSet<object>;
|
|
347
|
+
pink: _$styled_components0.RuleSet<object>;
|
|
348
|
+
pinkWithPop: _$styled_components0.RuleSet<object>;
|
|
349
|
+
playfulGradientOne: _$styled_components0.RuleSet<object>;
|
|
350
|
+
playfulGradientTwo: _$styled_components0.RuleSet<object>;
|
|
351
|
+
purple: _$styled_components0.RuleSet<object>;
|
|
352
|
+
purpleWithPop: _$styled_components0.RuleSet<object>;
|
|
353
|
+
yellow: _$styled_components0.RuleSet<object>;
|
|
354
|
+
yellowWithPop: _$styled_components0.RuleSet<object>;
|
|
355
355
|
};
|
|
356
356
|
type GradientNameType = keyof typeof gradients;
|
|
357
357
|
type GetBackgroundGradientType = GradientNameType | undefined;
|
|
@@ -514,7 +514,7 @@ type LinkProps = ComponentPropsWithoutRef<'a'> & {
|
|
|
514
514
|
*/
|
|
515
515
|
variant?: 'dangerous' | 'primary' | 'secondary';
|
|
516
516
|
};
|
|
517
|
-
declare const Link$1: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
517
|
+
declare const Link$1: _$react.ForwardRefExoticComponent<Omit<_$react.DetailedHTMLProps<_$react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
518
518
|
/**
|
|
519
519
|
* A Promise to invoke before navigating to location.
|
|
520
520
|
* _Caution: if used with `external` type prop a new window will **not** be opened_
|
|
@@ -566,7 +566,7 @@ declare const Link$1: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLPro
|
|
|
566
566
|
* The visual type of Link to display
|
|
567
567
|
*/
|
|
568
568
|
variant?: "dangerous" | "primary" | "secondary";
|
|
569
|
-
} & react.RefAttributes<
|
|
569
|
+
} & _$react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
570
570
|
//#endregion
|
|
571
571
|
//#region src/providers/WrapperProvider.d.ts
|
|
572
572
|
type WrapperProviderLinkType = ((props: DefaultLinkWrapperProps) => JSX.Element) | undefined;
|
|
@@ -585,7 +585,7 @@ declare const VHSProvider: ({
|
|
|
585
585
|
globalStylesIncluded,
|
|
586
586
|
skipAnimations,
|
|
587
587
|
Link
|
|
588
|
-
}: VHSProviderProps) => react_jsx_runtime0.JSX.Element;
|
|
588
|
+
}: VHSProviderProps) => _$react_jsx_runtime0.JSX.Element;
|
|
589
589
|
//#endregion
|
|
590
590
|
//#region src/hooks/useBoolean/useBoolean.d.ts
|
|
591
591
|
type UseBooleanReturn = [boolean, () => void, () => void, () => void, Dispatch<SetStateAction<boolean>>];
|
|
@@ -692,7 +692,7 @@ type ColorKeysFromTheme<Theme extends DefaultTheme = DefaultTheme> = keyof Theme
|
|
|
692
692
|
type UseThemeColor = {
|
|
693
693
|
(): DefaultTheme['color'];
|
|
694
694
|
<T extends DefaultTheme, K extends ColorKeysFromTheme<T>>(param: K): T['color'][K];
|
|
695
|
-
<T extends DefaultTheme, K extends ColorKeysFromTheme<T>[]>(param: [...K]): { [
|
|
695
|
+
<T extends DefaultTheme, K extends ColorKeysFromTheme<T>[]>(param: [...K]): { [Index in keyof K]: T['color'][K[Index] & keyof T['color']] };
|
|
696
696
|
};
|
|
697
697
|
declare const useThemeColor: UseThemeColor;
|
|
698
698
|
//#endregion
|
|
@@ -743,7 +743,7 @@ type ModalBaseContentProps = {
|
|
|
743
743
|
toggle?: ((show: () => unknown, toggleButtonRef?: RefObject<HTMLElement | null | undefined>) => ReactNode) | undefined;
|
|
744
744
|
};
|
|
745
745
|
declare const ModalBase: {
|
|
746
|
-
(props: ModalBaseContentProps): react_jsx_runtime0.JSX.Element;
|
|
746
|
+
(props: ModalBaseContentProps): _$react_jsx_runtime0.JSX.Element;
|
|
747
747
|
displayName: string;
|
|
748
748
|
};
|
|
749
749
|
//#endregion
|
|
@@ -862,7 +862,7 @@ declare const ActionModal: {
|
|
|
862
862
|
toggle,
|
|
863
863
|
width,
|
|
864
864
|
...otherProps
|
|
865
|
-
}: ActionModalProps): react_jsx_runtime0.JSX.Element;
|
|
865
|
+
}: ActionModalProps): _$react_jsx_runtime0.JSX.Element;
|
|
866
866
|
displayName: string;
|
|
867
867
|
};
|
|
868
868
|
//#endregion
|
|
@@ -1030,7 +1030,7 @@ declare const BackgroundImage: {
|
|
|
1030
1030
|
src: bgImage,
|
|
1031
1031
|
width: elWidth,
|
|
1032
1032
|
...otherProps
|
|
1033
|
-
}: BackgroundImageProps): react_jsx_runtime0.JSX.Element;
|
|
1033
|
+
}: BackgroundImageProps): _$react_jsx_runtime0.JSX.Element;
|
|
1034
1034
|
displayName: string;
|
|
1035
1035
|
};
|
|
1036
1036
|
//#endregion
|
|
@@ -1200,24 +1200,24 @@ declare const Banner: {
|
|
|
1200
1200
|
icon,
|
|
1201
1201
|
children,
|
|
1202
1202
|
...otherProps
|
|
1203
|
-
}: BannerProps): react_jsx_runtime0.JSX.Element;
|
|
1203
|
+
}: BannerProps): _$react_jsx_runtime0.JSX.Element;
|
|
1204
1204
|
Body: ({
|
|
1205
1205
|
children
|
|
1206
1206
|
}: {
|
|
1207
1207
|
children?: ReactNode;
|
|
1208
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
1208
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
1209
1209
|
RightGutter: ({
|
|
1210
1210
|
verticalAlign,
|
|
1211
1211
|
children
|
|
1212
1212
|
}: {
|
|
1213
1213
|
children?: ReactNode;
|
|
1214
1214
|
verticalAlign?: string;
|
|
1215
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
1215
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
1216
1216
|
Title: ({
|
|
1217
1217
|
children
|
|
1218
1218
|
}: {
|
|
1219
1219
|
children?: ReactNode;
|
|
1220
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
1220
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
1221
1221
|
displayName: string;
|
|
1222
1222
|
};
|
|
1223
1223
|
//#endregion
|
|
@@ -1314,7 +1314,7 @@ type BoxProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
1314
1314
|
*/
|
|
1315
1315
|
wrapItems?: boolean;
|
|
1316
1316
|
};
|
|
1317
|
-
declare const Box: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1317
|
+
declare const Box: _$react.ForwardRefExoticComponent<Omit<_$react.DetailedHTMLProps<_$react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1318
1318
|
/**
|
|
1319
1319
|
* Specifies how the browser distributes space between and around
|
|
1320
1320
|
* items along the cross-axis of their container; has no effect on
|
|
@@ -1401,7 +1401,7 @@ declare const Box: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<
|
|
|
1401
1401
|
* Specifies whether items are forced into a single line or can be wrapped onto multiple lines
|
|
1402
1402
|
*/
|
|
1403
1403
|
wrapItems?: boolean;
|
|
1404
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
1404
|
+
} & _$react.RefAttributes<HTMLDivElement>>;
|
|
1405
1405
|
//#endregion
|
|
1406
1406
|
//#region src/components/Button/Button.d.ts
|
|
1407
1407
|
type TextAlignValues = 'center' | 'left' | 'right';
|
|
@@ -1481,7 +1481,7 @@ type ButtonProps = ComponentPropsWithRef<'button'> & {
|
|
|
1481
1481
|
*/
|
|
1482
1482
|
variant?: 'dangerous' | 'primary' | 'secondary' | 'tertiary';
|
|
1483
1483
|
};
|
|
1484
|
-
declare const Button: react.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1484
|
+
declare const Button: _$react.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & _$react.RefAttributes<HTMLButtonElement>>;
|
|
1485
1485
|
//#endregion
|
|
1486
1486
|
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
1487
1487
|
type ButtonGroupProps = ComponentPropsWithoutRef<'div'> & {
|
|
@@ -1600,7 +1600,7 @@ type ButtonLinkProps = ComponentPropsWithRef<'a'> & {
|
|
|
1600
1600
|
* **Note:** the props table below is incomplete; please
|
|
1601
1601
|
* refer to [Link](?path=/docs/link--link-stories) for additional props.
|
|
1602
1602
|
*/
|
|
1603
|
-
declare const ButtonLink: react.ForwardRefExoticComponent<Omit<ButtonLinkProps, "ref"> & react.RefAttributes<
|
|
1603
|
+
declare const ButtonLink: _$react.ForwardRefExoticComponent<Omit<ButtonLinkProps, "ref"> & _$react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
1604
1604
|
//#endregion
|
|
1605
1605
|
//#region src/components/Checkbox/Checkbox.d.ts
|
|
1606
1606
|
type CheckboxProps = Omit<ComponentPropsWithRef<'label'>, 'onChange'> & {
|
|
@@ -1655,7 +1655,7 @@ type CheckboxProps = Omit<ComponentPropsWithRef<'label'>, 'onChange'> & {
|
|
|
1655
1655
|
*/
|
|
1656
1656
|
value?: string;
|
|
1657
1657
|
};
|
|
1658
|
-
declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLLabelElement>>;
|
|
1658
|
+
declare const Checkbox: _$react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & _$react.RefAttributes<HTMLLabelElement>>;
|
|
1659
1659
|
//#endregion
|
|
1660
1660
|
//#region src/components/CheckboxGroup/CheckboxGroup.d.ts
|
|
1661
1661
|
type CheckboxPropsWithName = Omit<CheckboxProps, 'name'> & {
|
|
@@ -1756,7 +1756,7 @@ type ClickAreaProps = ComponentPropsWithRef<'div'> & {
|
|
|
1756
1756
|
* to prevent the container's click handler from firing.
|
|
1757
1757
|
*
|
|
1758
1758
|
*/
|
|
1759
|
-
declare const ClickArea: react.ForwardRefExoticComponent<Omit<ClickAreaProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
1759
|
+
declare const ClickArea: _$react.ForwardRefExoticComponent<Omit<ClickAreaProps, "ref"> & _$react.RefAttributes<HTMLElement>>;
|
|
1760
1760
|
//#endregion
|
|
1761
1761
|
//#region src/components/CloseButton/CloseButton.d.ts
|
|
1762
1762
|
type CloseButtonProps = ComponentPropsWithoutRef<'button'> & {
|
|
@@ -1868,7 +1868,7 @@ declare const CollapsibleGroup: {
|
|
|
1868
1868
|
showTransition,
|
|
1869
1869
|
variant,
|
|
1870
1870
|
...otherProps
|
|
1871
|
-
}: CollapsibleGroupProps): react_jsx_runtime0.JSX.Element;
|
|
1871
|
+
}: CollapsibleGroupProps): _$react_jsx_runtime0.JSX.Element;
|
|
1872
1872
|
displayName: string;
|
|
1873
1873
|
};
|
|
1874
1874
|
//#endregion
|
|
@@ -1898,8 +1898,8 @@ declare const Divider: {
|
|
|
1898
1898
|
};
|
|
1899
1899
|
//#endregion
|
|
1900
1900
|
//#region src/components/Ellipsis/Ellipsis.d.ts
|
|
1901
|
-
declare const ellipsisStyle: styled_components0.RuleSet<object>;
|
|
1902
|
-
declare const ellipsisFlexParentStyle: styled_components0.RuleSet<object>;
|
|
1901
|
+
declare const ellipsisStyle: _$styled_components0.RuleSet<object>;
|
|
1902
|
+
declare const ellipsisFlexParentStyle: _$styled_components0.RuleSet<object>;
|
|
1903
1903
|
type EllipsisProps = ComponentPropsWithoutRef<'div'> & {
|
|
1904
1904
|
/**
|
|
1905
1905
|
* The text that will be truncated with an ellipsis
|
|
@@ -1963,7 +1963,7 @@ type FileSelectProps = {
|
|
|
1963
1963
|
*/
|
|
1964
1964
|
onError?: (error: Error) => void;
|
|
1965
1965
|
};
|
|
1966
|
-
declare const FileSelect: react.ForwardRefExoticComponent<FileSelectProps & react.RefAttributes<HTMLInputElement>>;
|
|
1966
|
+
declare const FileSelect: _$react.ForwardRefExoticComponent<FileSelectProps & _$react.RefAttributes<HTMLInputElement>>;
|
|
1967
1967
|
//#endregion
|
|
1968
1968
|
//#region src/components/Form/Form.d.ts
|
|
1969
1969
|
type ValuesType = Record<string, unknown>;
|
|
@@ -2056,7 +2056,7 @@ declare const Form: {
|
|
|
2056
2056
|
globalErrorRef,
|
|
2057
2057
|
showGlobalError,
|
|
2058
2058
|
innerRef
|
|
2059
|
-
}: FormProps): react_jsx_runtime0.JSX.Element;
|
|
2059
|
+
}: FormProps): _$react_jsx_runtime0.JSX.Element;
|
|
2060
2060
|
displayName: string;
|
|
2061
2061
|
};
|
|
2062
2062
|
//#endregion
|
|
@@ -2201,7 +2201,7 @@ type FormFieldProps = Omit<ComponentPropsWithRef<'input'>, 'placeholder'> & {
|
|
|
2201
2201
|
*/
|
|
2202
2202
|
type: 'checkbox' | 'custom' | 'email' | 'hidden' | 'multiline' | 'number' | 'password' | 'radio' | 'richTextEditor' | 'select' | 'text' | 'url';
|
|
2203
2203
|
};
|
|
2204
|
-
declare const FormField: react.ForwardRefExoticComponent<Omit<FormFieldProps, "ref"> & react.RefAttributes<unknown>>;
|
|
2204
|
+
declare const FormField: _$react.ForwardRefExoticComponent<Omit<FormFieldProps, "ref"> & _$react.RefAttributes<unknown>>;
|
|
2205
2205
|
//#endregion
|
|
2206
2206
|
//#region src/components/FormFieldError/FormFieldError.d.ts
|
|
2207
2207
|
type FormFieldErrorProps = ComponentPropsWithoutRef<'div'> & {
|
|
@@ -2216,7 +2216,7 @@ declare const FormFieldError: {
|
|
|
2216
2216
|
};
|
|
2217
2217
|
//#endregion
|
|
2218
2218
|
//#region src/components/FormGlobalError/FormGlobalError.d.ts
|
|
2219
|
-
declare const FormGlobalError: react.ForwardRefExoticComponent<react.RefAttributes<HTMLDivElement>>;
|
|
2219
|
+
declare const FormGlobalError: _$react.ForwardRefExoticComponent<_$react.RefAttributes<HTMLDivElement>>;
|
|
2220
2220
|
//#endregion
|
|
2221
2221
|
//#region src/components/FullScreenModal/FullScreenModal.d.ts
|
|
2222
2222
|
type FullScreenModalProps = {
|
|
@@ -2253,7 +2253,7 @@ declare const FullScreenModal: {
|
|
|
2253
2253
|
initialShownState,
|
|
2254
2254
|
onBeforeHide,
|
|
2255
2255
|
onHide
|
|
2256
|
-
}: FullScreenModalProps): react_jsx_runtime0.JSX.Element;
|
|
2256
|
+
}: FullScreenModalProps): _$react_jsx_runtime0.JSX.Element;
|
|
2257
2257
|
displayName: string;
|
|
2258
2258
|
};
|
|
2259
2259
|
//#endregion
|
|
@@ -2344,7 +2344,7 @@ type IconButtonProps = ComponentPropsWithRef<'button'> & {
|
|
|
2344
2344
|
*/
|
|
2345
2345
|
tooltipDirection?: 'bottom' | 'left' | 'right' | 'top';
|
|
2346
2346
|
};
|
|
2347
|
-
declare const IconButton: react.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
2347
|
+
declare const IconButton: _$react.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & _$react.RefAttributes<HTMLButtonElement>>;
|
|
2348
2348
|
//#endregion
|
|
2349
2349
|
//#region src/components/Image/Image.d.ts
|
|
2350
2350
|
type ImageProps = ComponentPropsWithoutRef<'img'> & {
|
|
@@ -2477,7 +2477,7 @@ type InputProps = ComponentPropsWithRef<'input'> & {
|
|
|
2477
2477
|
*/
|
|
2478
2478
|
value?: number | string | undefined;
|
|
2479
2479
|
};
|
|
2480
|
-
declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
2480
|
+
declare const Input: _$react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & _$react.RefAttributes<HTMLInputElement>>;
|
|
2481
2481
|
//#endregion
|
|
2482
2482
|
//#region src/components/KeyboardShortcut/KeyboardKeyTypes.d.ts
|
|
2483
2483
|
type AlphanumericKeyboardKeys = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z';
|
|
@@ -2607,7 +2607,7 @@ type LinkButtonProps = ComponentPropsWithoutRef<'button'> & {
|
|
|
2607
2607
|
*/
|
|
2608
2608
|
variant?: 'primary' | 'secondary';
|
|
2609
2609
|
};
|
|
2610
|
-
declare const LinkButton: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2610
|
+
declare const LinkButton: _$react.ForwardRefExoticComponent<Omit<_$react.DetailedHTMLProps<_$react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2611
2611
|
/**
|
|
2612
2612
|
* Pass an arbitrary child node
|
|
2613
2613
|
*/
|
|
@@ -2641,7 +2641,7 @@ declare const LinkButton: react.ForwardRefExoticComponent<Omit<react.DetailedHTM
|
|
|
2641
2641
|
* The visual type of Button to display
|
|
2642
2642
|
*/
|
|
2643
2643
|
variant?: "primary" | "secondary";
|
|
2644
|
-
} & react.RefAttributes<HTMLSpanElement>>;
|
|
2644
|
+
} & _$react.RefAttributes<HTMLSpanElement>>;
|
|
2645
2645
|
//#endregion
|
|
2646
2646
|
//#region src/components/List/List.d.ts
|
|
2647
2647
|
type VariantType = 'breadcrumbs' | 'bullets' | 'commas' | 'ordered' | 'slashes' | 'spaces' | 'unbulleted';
|
|
@@ -2767,7 +2767,7 @@ declare const MenuItem: ({
|
|
|
2767
2767
|
target,
|
|
2768
2768
|
variant,
|
|
2769
2769
|
...props
|
|
2770
|
-
}: MenuItemProps) => react_jsx_runtime0.JSX.Element;
|
|
2770
|
+
}: MenuItemProps) => _$react_jsx_runtime0.JSX.Element;
|
|
2771
2771
|
declare const CheckboxMenuItem: ({
|
|
2772
2772
|
children,
|
|
2773
2773
|
label,
|
|
@@ -2776,7 +2776,7 @@ declare const CheckboxMenuItem: ({
|
|
|
2776
2776
|
icon,
|
|
2777
2777
|
indicator,
|
|
2778
2778
|
...props
|
|
2779
|
-
}: CheckboxMenuItemProps) => react_jsx_runtime0.JSX.Element;
|
|
2779
|
+
}: CheckboxMenuItemProps) => _$react_jsx_runtime0.JSX.Element;
|
|
2780
2780
|
declare const RadioMenuItem: ({
|
|
2781
2781
|
children,
|
|
2782
2782
|
label,
|
|
@@ -2785,7 +2785,7 @@ declare const RadioMenuItem: ({
|
|
|
2785
2785
|
icon,
|
|
2786
2786
|
indicator,
|
|
2787
2787
|
...props
|
|
2788
|
-
}: RadioMenuItemProps) => react_jsx_runtime0.JSX.Element;
|
|
2788
|
+
}: RadioMenuItemProps) => _$react_jsx_runtime0.JSX.Element;
|
|
2789
2789
|
//#endregion
|
|
2790
2790
|
//#region src/components/Menu/MenuLabel.d.ts
|
|
2791
2791
|
type MenuLabelProps = {
|
|
@@ -2794,7 +2794,7 @@ type MenuLabelProps = {
|
|
|
2794
2794
|
declare const MenuLabel: ({
|
|
2795
2795
|
children,
|
|
2796
2796
|
...props
|
|
2797
|
-
}: MenuLabelProps) => react_jsx_runtime0.JSX.Element;
|
|
2797
|
+
}: MenuLabelProps) => _$react_jsx_runtime0.JSX.Element;
|
|
2798
2798
|
//#endregion
|
|
2799
2799
|
//#region src/components/Menu/SubMenu.d.ts
|
|
2800
2800
|
type SubMenuProps = {
|
|
@@ -2808,7 +2808,7 @@ declare const SubMenu: ({
|
|
|
2808
2808
|
icon,
|
|
2809
2809
|
description,
|
|
2810
2810
|
children
|
|
2811
|
-
}: SubMenuProps) => react_jsx_runtime0.JSX.Element;
|
|
2811
|
+
}: SubMenuProps) => _$react_jsx_runtime0.JSX.Element;
|
|
2812
2812
|
//#endregion
|
|
2813
2813
|
//#region src/components/MenuButton/MenuButton.d.ts
|
|
2814
2814
|
type MenuButtonProps = ButtonProps & {
|
|
@@ -2949,9 +2949,9 @@ declare const Modal: {
|
|
|
2949
2949
|
};
|
|
2950
2950
|
//#endregion
|
|
2951
2951
|
//#region src/components/Modal/ModalParts.d.ts
|
|
2952
|
-
declare const ModalHeader: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2953
|
-
declare const ModalBody: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2954
|
-
declare const ModalFooter: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2952
|
+
declare const ModalHeader: _$styled_components_dist_types0.IStyledComponentBase<"web", _$styled_components0.FastOmit<_$react.DetailedHTMLProps<_$react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2953
|
+
declare const ModalBody: _$styled_components_dist_types0.IStyledComponentBase<"web", _$styled_components0.FastOmit<_$react.DetailedHTMLProps<_$react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2954
|
+
declare const ModalFooter: _$styled_components_dist_types0.IStyledComponentBase<"web", _$styled_components0.FastOmit<_$react.DetailedHTMLProps<_$react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2955
2955
|
type ModalCloseButtonProps = {
|
|
2956
2956
|
/**
|
|
2957
2957
|
* Callback invoked when the button is clicked
|
|
@@ -3067,7 +3067,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'value'> & {
|
|
|
3067
3067
|
*/
|
|
3068
3068
|
value?: string;
|
|
3069
3069
|
};
|
|
3070
|
-
declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value"> & {
|
|
3070
|
+
declare const Radio: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value"> & {
|
|
3071
3071
|
/**
|
|
3072
3072
|
* Indicates the state of the radio
|
|
3073
3073
|
*/
|
|
@@ -3114,7 +3114,7 @@ declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTM
|
|
|
3114
3114
|
* The value attribute of the input
|
|
3115
3115
|
*/
|
|
3116
3116
|
value?: string;
|
|
3117
|
-
} & react.RefAttributes<HTMLLabelElement>>;
|
|
3117
|
+
} & _$react.RefAttributes<HTMLLabelElement>>;
|
|
3118
3118
|
//#endregion
|
|
3119
3119
|
//#region src/components/RadioGroup/RadioGroup.d.ts
|
|
3120
3120
|
type RadioGroupProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
|
|
@@ -3332,7 +3332,7 @@ declare const rteSerializeToHTML: (value: Descendant[]) => string | null;
|
|
|
3332
3332
|
declare const rteDeserializeHTML: (htmlString: string) => (Descendant | string | null)[] | Descendant | string | null | undefined;
|
|
3333
3333
|
//#endregion
|
|
3334
3334
|
//#region src/components/ScreenReaderOnly/ScreenReaderOnly.d.ts
|
|
3335
|
-
declare const screenReaderOnlyStyle: styled_components0.RuleSet<object>;
|
|
3335
|
+
declare const screenReaderOnlyStyle: _$styled_components0.RuleSet<object>;
|
|
3336
3336
|
type ScreenReaderOnlyProps = ComponentPropsWithoutRef<'div'> & {
|
|
3337
3337
|
/**
|
|
3338
3338
|
* Pass an arbitrary child node
|
|
@@ -3354,7 +3354,7 @@ declare const ScreenReaderOnly: {
|
|
|
3354
3354
|
children,
|
|
3355
3355
|
focusable,
|
|
3356
3356
|
...otherProps
|
|
3357
|
-
}: ScreenReaderOnlyProps): react_jsx_runtime0.JSX.Element;
|
|
3357
|
+
}: ScreenReaderOnlyProps): _$react_jsx_runtime0.JSX.Element;
|
|
3358
3358
|
displayName: string;
|
|
3359
3359
|
};
|
|
3360
3360
|
//#endregion
|
|
@@ -3422,7 +3422,7 @@ type SelectProps = Omit<ComponentPropsWithRef<'select'>, 'placeholder'> & {
|
|
|
3422
3422
|
*/
|
|
3423
3423
|
valueName?: string;
|
|
3424
3424
|
};
|
|
3425
|
-
declare const Select: react.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & react.RefAttributes<HTMLSelectElement>>;
|
|
3425
|
+
declare const Select: _$react.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & _$react.RefAttributes<HTMLSelectElement>>;
|
|
3426
3426
|
//#endregion
|
|
3427
3427
|
//#region src/components/Slider/Slider.d.ts
|
|
3428
3428
|
type ComponentPropsWithoutRefWithoutOnChange = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'>;
|
|
@@ -3517,7 +3517,7 @@ type StackProps<T extends ElementType> = ComponentPropsWithoutRef<T> & PropsWith
|
|
|
3517
3517
|
*/
|
|
3518
3518
|
renderAs?: T | 'div';
|
|
3519
3519
|
};
|
|
3520
|
-
declare const Stack: react.ForwardRefExoticComponent<Omit<StackProps<ElementType>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
3520
|
+
declare const Stack: _$react.ForwardRefExoticComponent<Omit<StackProps<ElementType>, "ref"> & _$react.RefAttributes<HTMLDivElement>>;
|
|
3521
3521
|
//#endregion
|
|
3522
3522
|
//#region src/components/Switch/Switch.d.ts
|
|
3523
3523
|
type SwitchProps = Omit<ComponentPropsWithoutRef<'button'>, 'onChange'> & {
|
|
@@ -3575,16 +3575,16 @@ declare const renderMap: {
|
|
|
3575
3575
|
span: string;
|
|
3576
3576
|
};
|
|
3577
3577
|
declare const variantStyleMap: {
|
|
3578
|
-
headline1: styled_components0.RuleSet<object>;
|
|
3579
|
-
headline2: styled_components0.RuleSet<object>;
|
|
3580
|
-
headline3: styled_components0.RuleSet<object>;
|
|
3581
|
-
overline: styled_components0.RuleSet<object>;
|
|
3582
|
-
body1: styled_components0.RuleSet<object>;
|
|
3583
|
-
body2: styled_components0.RuleSet<object>;
|
|
3584
|
-
caption: styled_components0.RuleSet<object>;
|
|
3585
|
-
subtitle1: styled_components0.RuleSet<object>;
|
|
3586
|
-
subtitle2: styled_components0.RuleSet<object>;
|
|
3587
|
-
monospace: styled_components0.RuleSet<object>;
|
|
3578
|
+
headline1: _$styled_components0.RuleSet<object>;
|
|
3579
|
+
headline2: _$styled_components0.RuleSet<object>;
|
|
3580
|
+
headline3: _$styled_components0.RuleSet<object>;
|
|
3581
|
+
overline: _$styled_components0.RuleSet<object>;
|
|
3582
|
+
body1: _$styled_components0.RuleSet<object>;
|
|
3583
|
+
body2: _$styled_components0.RuleSet<object>;
|
|
3584
|
+
caption: _$styled_components0.RuleSet<object>;
|
|
3585
|
+
subtitle1: _$styled_components0.RuleSet<object>;
|
|
3586
|
+
subtitle2: _$styled_components0.RuleSet<object>;
|
|
3587
|
+
monospace: _$styled_components0.RuleSet<object>;
|
|
3588
3588
|
};
|
|
3589
3589
|
type TextProps = ComponentPropsWithoutRef<'div'> & {
|
|
3590
3590
|
/**
|
|
@@ -3636,7 +3636,7 @@ type TextProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
3636
3636
|
*/
|
|
3637
3637
|
variant?: keyof typeof variantStyleMap;
|
|
3638
3638
|
};
|
|
3639
|
-
declare const Text: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3639
|
+
declare const Text: _$react.ForwardRefExoticComponent<Omit<_$react.DetailedHTMLProps<_$react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3640
3640
|
/**
|
|
3641
3641
|
* The horizontal alignment
|
|
3642
3642
|
* <br />
|
|
@@ -3685,7 +3685,7 @@ declare const Text: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps
|
|
|
3685
3685
|
* The text style to display
|
|
3686
3686
|
*/
|
|
3687
3687
|
variant?: keyof typeof variantStyleMap;
|
|
3688
|
-
} & react.RefAttributes<HTMLElement>>;
|
|
3688
|
+
} & _$react.RefAttributes<HTMLElement>>;
|
|
3689
3689
|
//#endregion
|
|
3690
3690
|
//#region src/components/Thumbnail/Thumbnail.d.ts
|
|
3691
3691
|
type IconThumbnailProps = {
|
|
@@ -3815,7 +3815,7 @@ type ToastProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
3815
3815
|
*/
|
|
3816
3816
|
variant?: ToastVariants | undefined;
|
|
3817
3817
|
};
|
|
3818
|
-
declare const Toast: react.MemoExoticComponent<({
|
|
3818
|
+
declare const Toast: _$react.MemoExoticComponent<({
|
|
3819
3819
|
actionInterceptor,
|
|
3820
3820
|
actionLabel,
|
|
3821
3821
|
colorOverride,
|
|
@@ -3826,7 +3826,7 @@ declare const Toast: react.MemoExoticComponent<({
|
|
|
3826
3826
|
timeout,
|
|
3827
3827
|
variant,
|
|
3828
3828
|
...otherProps
|
|
3829
|
-
}: ToastProps) => react_jsx_runtime0.JSX.Element>;
|
|
3829
|
+
}: ToastProps) => _$react_jsx_runtime0.JSX.Element>;
|
|
3830
3830
|
//#endregion
|
|
3831
3831
|
//#region src/components/Toast/ToastContext.d.ts
|
|
3832
3832
|
type UseToastProps = {
|
|
@@ -3847,7 +3847,7 @@ declare const ToastProvider: ({
|
|
|
3847
3847
|
children
|
|
3848
3848
|
}: {
|
|
3849
3849
|
children: ReactNode;
|
|
3850
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
3850
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
3851
3851
|
//#endregion
|
|
3852
3852
|
//#region src/components/Tooltip/Tooltip.d.ts
|
|
3853
3853
|
type TooltipProps = Omit<ComponentPropsWithoutRef<'div'>, 'id'> & {
|
|
@@ -3988,7 +3988,7 @@ declare const WistiaLogo: {
|
|
|
3988
3988
|
title,
|
|
3989
3989
|
variant,
|
|
3990
3990
|
...otherProps
|
|
3991
|
-
}: WistiaLogoProps): react_jsx_runtime0.JSX.Element;
|
|
3991
|
+
}: WistiaLogoProps): _$react_jsx_runtime0.JSX.Element;
|
|
3992
3992
|
displayName: string;
|
|
3993
3993
|
};
|
|
3994
3994
|
//#endregion
|