@wistia/vhs 6.0.2-beta.ef04ee46.2b618d7 → 6.0.2-beta.f014acbc.9a750bf
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 +78 -78
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +85 -57
- package/dist/index.js.map +1 -1
- package/package.json +30 -30
package/dist/index.d.ts
CHANGED
|
@@ -286,17 +286,17 @@ declare const Link$1: ForwardRefExoticComponent<LinkProps & RefAttributes<HTMLAn
|
|
|
286
286
|
type WrapperProviderLinkType = ((props: DefaultLinkWrapperProps) => JSX.Element) | undefined;
|
|
287
287
|
//#endregion
|
|
288
288
|
//#region src/providers/VHSProvider.d.ts
|
|
289
|
-
type VHSProviderProps = {
|
|
289
|
+
export type VHSProviderProps = {
|
|
290
290
|
children: ReactNode;
|
|
291
291
|
globalStylesIncluded?: boolean;
|
|
292
292
|
Link?: WrapperProviderLinkType;
|
|
293
293
|
skipAnimations?: boolean;
|
|
294
294
|
theme?: Record<string, unknown>;
|
|
295
295
|
};
|
|
296
|
-
declare const VHSProvider: ({ children, theme, globalStylesIncluded, skipAnimations, Link }: VHSProviderProps) => ReactNode;
|
|
296
|
+
export declare const VHSProvider: ({ children, theme, globalStylesIncluded, skipAnimations, Link }: VHSProviderProps) => ReactNode;
|
|
297
297
|
//#endregion
|
|
298
298
|
//#region src/hooks/useTheme/useTheme.d.ts
|
|
299
|
-
declare const useTheme: <T extends DefaultTheme = DefaultTheme>() => T;
|
|
299
|
+
export declare const useTheme: <T extends DefaultTheme = DefaultTheme>() => T;
|
|
300
300
|
//#endregion
|
|
301
301
|
//#region src/hooks/useThemeColor/useThemeColor.d.ts
|
|
302
302
|
type ColorKeysFromTheme<Theme extends DefaultTheme = DefaultTheme> = keyof Theme["color"];
|
|
@@ -305,7 +305,7 @@ type UseThemeColor = {
|
|
|
305
305
|
<T extends DefaultTheme, K extends ColorKeysFromTheme<T>>(param: K): T["color"][K];
|
|
306
306
|
<T extends DefaultTheme, K extends ColorKeysFromTheme<T>[]>(param: [...K]): { [Index in keyof K]: T["color"][K[Index] & keyof T["color"]]; };
|
|
307
307
|
};
|
|
308
|
-
declare const useThemeColor: UseThemeColor;
|
|
308
|
+
export declare const useThemeColor: UseThemeColor;
|
|
309
309
|
//#endregion
|
|
310
310
|
//#region src/components/ModalBase/ModalBase.d.ts
|
|
311
311
|
type OnBeforeHideInterface = {
|
|
@@ -347,7 +347,7 @@ type ModalBaseContentProps = {
|
|
|
347
347
|
*/
|
|
348
348
|
toggle?: ((show: () => unknown, toggleButtonRef?: RefObject<HTMLElement | null | undefined>) => ReactNode) | undefined;
|
|
349
349
|
};
|
|
350
|
-
declare const ModalBase: FC<ModalBaseContentProps>;
|
|
350
|
+
export declare const ModalBase: FC<ModalBaseContentProps>;
|
|
351
351
|
//#endregion
|
|
352
352
|
//#region src/components/ActionModal/ActionModal.d.ts
|
|
353
353
|
type ActionModalProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -442,7 +442,7 @@ type ActionModalProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
442
442
|
* [Modal](?path=/docs/components-modal--docs) allows for a separate state control to toggle its visibility and is also more composable
|
|
443
443
|
* allowing for more variation.
|
|
444
444
|
*/
|
|
445
|
-
declare const ActionModal: FC<ActionModalProps>;
|
|
445
|
+
export declare const ActionModal: FC<ActionModalProps>;
|
|
446
446
|
//#endregion
|
|
447
447
|
//#region src/components/Avatar/Avatar.d.ts
|
|
448
448
|
type AvatarInstanceType = "image" | "initials";
|
|
@@ -470,7 +470,7 @@ type AvatarProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
470
470
|
*/
|
|
471
471
|
onImageLoad?: (avatarType: AvatarInstanceType) => void;
|
|
472
472
|
};
|
|
473
|
-
declare const Avatar: FC<AvatarProps>;
|
|
473
|
+
export declare const Avatar: FC<AvatarProps>;
|
|
474
474
|
//#endregion
|
|
475
475
|
//#region src/components/Backdrop/Backdrop.d.ts
|
|
476
476
|
declare const alignVerticalMap: {
|
|
@@ -507,7 +507,7 @@ type BackdropProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
507
507
|
*/
|
|
508
508
|
elevated?: boolean;
|
|
509
509
|
};
|
|
510
|
-
declare const Backdrop: FC<BackdropProps>;
|
|
510
|
+
export declare const Backdrop: FC<BackdropProps>;
|
|
511
511
|
//#endregion
|
|
512
512
|
//#region src/components/BackgroundImage/BackgroundImage.d.ts
|
|
513
513
|
type OverflowObject = {
|
|
@@ -573,7 +573,7 @@ type BackgroundImageProps = Omit<ComponentPropsWithoutRef<"img">, "src"> & {
|
|
|
573
573
|
*/
|
|
574
574
|
width?: string;
|
|
575
575
|
};
|
|
576
|
-
declare const BackgroundImage: FC<BackgroundImageProps>;
|
|
576
|
+
export declare const BackgroundImage: FC<BackgroundImageProps>;
|
|
577
577
|
//#endregion
|
|
578
578
|
//#region src/components/Icon/iconMap.d.ts
|
|
579
579
|
declare const iconMap: {
|
|
@@ -710,7 +710,7 @@ type BadgeProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
710
710
|
*/
|
|
711
711
|
label: string;
|
|
712
712
|
};
|
|
713
|
-
declare const Badge: FC<BadgeProps>;
|
|
713
|
+
export declare const Badge: FC<BadgeProps>;
|
|
714
714
|
//#endregion
|
|
715
715
|
//#region src/components/Banner/BannerChildComponents.d.ts
|
|
716
716
|
type BodyProps = {
|
|
@@ -742,7 +742,7 @@ type BannerProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
742
742
|
*/
|
|
743
743
|
icon?: ReactNode;
|
|
744
744
|
};
|
|
745
|
-
declare const Banner: FC<BannerProps> & {
|
|
745
|
+
export declare const Banner: FC<BannerProps> & {
|
|
746
746
|
Body: typeof Body;
|
|
747
747
|
RightGutter: typeof RightGutter;
|
|
748
748
|
Title: typeof Title;
|
|
@@ -841,7 +841,7 @@ type BoxProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
841
841
|
*/
|
|
842
842
|
wrapItems?: boolean;
|
|
843
843
|
};
|
|
844
|
-
declare const Box: ForwardRefExoticComponent<BoxProps & RefAttributes<HTMLDivElement>>;
|
|
844
|
+
export declare const Box: ForwardRefExoticComponent<BoxProps & RefAttributes<HTMLDivElement>>;
|
|
845
845
|
//#endregion
|
|
846
846
|
//#region src/components/Button/Button.d.ts
|
|
847
847
|
type TextAlignValues = "center" | "left" | "right";
|
|
@@ -921,7 +921,7 @@ type ButtonProps = ComponentPropsWithRef<"button"> & {
|
|
|
921
921
|
*/
|
|
922
922
|
variant?: "dangerous" | "primary" | "secondary" | "tertiary";
|
|
923
923
|
};
|
|
924
|
-
declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
924
|
+
export declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
925
925
|
//#endregion
|
|
926
926
|
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
927
927
|
type ButtonGroupProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -938,7 +938,7 @@ type ButtonGroupProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
938
938
|
*/
|
|
939
939
|
fullWidth?: boolean;
|
|
940
940
|
};
|
|
941
|
-
declare const ButtonGroup: FC<ButtonGroupProps>;
|
|
941
|
+
export declare const ButtonGroup: FC<ButtonGroupProps>;
|
|
942
942
|
//#endregion
|
|
943
943
|
//#region src/components/ButtonLink/ButtonLink.d.ts
|
|
944
944
|
type ButtonLinkProps = ComponentPropsWithRef<"a"> & {
|
|
@@ -1032,7 +1032,7 @@ type ButtonLinkProps = ComponentPropsWithRef<"a"> & {
|
|
|
1032
1032
|
* **Note:** the props table below is incomplete; please
|
|
1033
1033
|
* refer to [Link](?path=/docs/link--link-stories) for additional props.
|
|
1034
1034
|
*/
|
|
1035
|
-
declare const ButtonLink: ForwardRefExoticComponent<ButtonLinkProps & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
1035
|
+
export declare const ButtonLink: ForwardRefExoticComponent<ButtonLinkProps & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
1036
1036
|
//#endregion
|
|
1037
1037
|
//#region src/components/Checkbox/Checkbox.d.ts
|
|
1038
1038
|
type CheckboxProps = Omit<ComponentPropsWithRef<"label">, "onChange"> & {
|
|
@@ -1087,7 +1087,7 @@ type CheckboxProps = Omit<ComponentPropsWithRef<"label">, "onChange"> & {
|
|
|
1087
1087
|
*/
|
|
1088
1088
|
value?: string;
|
|
1089
1089
|
};
|
|
1090
|
-
declare const Checkbox: ForwardRefExoticComponent<CheckboxProps & RefAttributes<HTMLLabelElement>>;
|
|
1090
|
+
export declare const Checkbox: ForwardRefExoticComponent<CheckboxProps & RefAttributes<HTMLLabelElement>>;
|
|
1091
1091
|
//#endregion
|
|
1092
1092
|
//#region src/components/CheckboxGroup/CheckboxGroup.d.ts
|
|
1093
1093
|
type CheckboxPropsWithName = Omit<CheckboxProps, "name"> & {
|
|
@@ -1138,7 +1138,7 @@ type CheckboxGroupProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
|
|
|
1138
1138
|
*/
|
|
1139
1139
|
value?: string[] | boolean | undefined;
|
|
1140
1140
|
};
|
|
1141
|
-
declare const CheckboxGroup: FC<CheckboxGroupProps>;
|
|
1141
|
+
export declare const CheckboxGroup: FC<CheckboxGroupProps>;
|
|
1142
1142
|
//#endregion
|
|
1143
1143
|
//#region src/components/ClickArea/ClickArea.d.ts
|
|
1144
1144
|
type ClickAreaProps = ComponentPropsWithRef<"div"> & {
|
|
@@ -1173,7 +1173,7 @@ type ClickAreaProps = ComponentPropsWithRef<"div"> & {
|
|
|
1173
1173
|
* to prevent the container's click handler from firing.
|
|
1174
1174
|
*
|
|
1175
1175
|
*/
|
|
1176
|
-
declare const ClickArea: ForwardRefExoticComponent<ClickAreaProps & RefAttributes<HTMLElement>>;
|
|
1176
|
+
export declare const ClickArea: ForwardRefExoticComponent<ClickAreaProps & RefAttributes<HTMLElement>>;
|
|
1177
1177
|
//#endregion
|
|
1178
1178
|
//#region src/components/CloseButton/CloseButton.d.ts
|
|
1179
1179
|
type CloseButtonProps = ComponentPropsWithoutRef<"button"> & {
|
|
@@ -1182,7 +1182,7 @@ type CloseButtonProps = ComponentPropsWithoutRef<"button"> & {
|
|
|
1182
1182
|
*/
|
|
1183
1183
|
onClick?: () => void;
|
|
1184
1184
|
};
|
|
1185
|
-
declare const CloseButton: FC<CloseButtonProps>;
|
|
1185
|
+
export declare const CloseButton: FC<CloseButtonProps>;
|
|
1186
1186
|
//#endregion
|
|
1187
1187
|
//#region src/components/CollapsibleGroup/CollapsibleGroup.d.ts
|
|
1188
1188
|
declare const VARIANT_BRAND_BLUE = "brandblue";
|
|
@@ -1259,7 +1259,7 @@ type CollapsibleGroupProps = {
|
|
|
1259
1259
|
*/
|
|
1260
1260
|
variant?: typeof VARIANT_BRAND_BLUE;
|
|
1261
1261
|
};
|
|
1262
|
-
declare const CollapsibleGroup: FC<CollapsibleGroupProps>;
|
|
1262
|
+
export declare const CollapsibleGroup: FC<CollapsibleGroupProps>;
|
|
1263
1263
|
//#endregion
|
|
1264
1264
|
//#region src/components/Divider/Divider.d.ts
|
|
1265
1265
|
type DividerProps = ComponentPropsWithoutRef<"hr"> & {
|
|
@@ -1276,11 +1276,11 @@ type DividerProps = ComponentPropsWithoutRef<"hr"> & {
|
|
|
1276
1276
|
*/
|
|
1277
1277
|
variant?: "dashed" | "solid";
|
|
1278
1278
|
};
|
|
1279
|
-
declare const Divider: FC<DividerProps>;
|
|
1279
|
+
export declare const Divider: FC<DividerProps>;
|
|
1280
1280
|
//#endregion
|
|
1281
1281
|
//#region src/components/Ellipsis/Ellipsis.d.ts
|
|
1282
|
-
declare const ellipsisStyle: RuleSet<object>;
|
|
1283
|
-
declare const ellipsisFlexParentStyle: RuleSet<object>;
|
|
1282
|
+
export declare const ellipsisStyle: RuleSet<object>;
|
|
1283
|
+
export declare const ellipsisFlexParentStyle: RuleSet<object>;
|
|
1284
1284
|
type EllipsisProps = ComponentPropsWithoutRef<"div"> & {
|
|
1285
1285
|
/**
|
|
1286
1286
|
* The text that will be truncated with an ellipsis
|
|
@@ -1291,7 +1291,7 @@ type EllipsisProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1291
1291
|
*/
|
|
1292
1292
|
lines?: number;
|
|
1293
1293
|
};
|
|
1294
|
-
declare const Ellipsis: FC<EllipsisProps>;
|
|
1294
|
+
export declare const Ellipsis: FC<EllipsisProps>;
|
|
1295
1295
|
//#endregion
|
|
1296
1296
|
//#region src/components/FileSelect/FileSelect.d.ts
|
|
1297
1297
|
type FileSelectProps = {
|
|
@@ -1337,7 +1337,7 @@ type FileSelectProps = {
|
|
|
1337
1337
|
*/
|
|
1338
1338
|
onError?: (error: Error) => void;
|
|
1339
1339
|
};
|
|
1340
|
-
declare const FileSelect: ForwardRefExoticComponent<FileSelectProps & RefAttributes<HTMLInputElement>>;
|
|
1340
|
+
export declare const FileSelect: ForwardRefExoticComponent<FileSelectProps & RefAttributes<HTMLInputElement>>;
|
|
1341
1341
|
//#endregion
|
|
1342
1342
|
//#region src/components/Form/Form.d.ts
|
|
1343
1343
|
type ValuesType = Record<string, unknown>;
|
|
@@ -1412,7 +1412,7 @@ type FormProps = {
|
|
|
1412
1412
|
type ValidationSchemaType = {
|
|
1413
1413
|
fields: Record<string, unknown>;
|
|
1414
1414
|
};
|
|
1415
|
-
declare const Form: FC<FormProps>;
|
|
1415
|
+
export declare const Form: FC<FormProps>;
|
|
1416
1416
|
//#endregion
|
|
1417
1417
|
//#region src/components/FormButtons/FormButtons.d.ts
|
|
1418
1418
|
type ButtonsType = {
|
|
@@ -1430,7 +1430,7 @@ type FormButtonsProps = {
|
|
|
1430
1430
|
*/
|
|
1431
1431
|
buttons: ButtonsType[];
|
|
1432
1432
|
};
|
|
1433
|
-
declare const FormButtons: FC<FormButtonsProps>;
|
|
1433
|
+
export declare const FormButtons: FC<FormButtonsProps>;
|
|
1434
1434
|
//#endregion
|
|
1435
1435
|
//#region src/private/components/FormConnectorCustomField/FormConnectorCustomField.d.ts
|
|
1436
1436
|
type CustomComponentClass = {
|
|
@@ -1468,7 +1468,7 @@ type NodeLeafObject = {
|
|
|
1468
1468
|
};
|
|
1469
1469
|
//#endregion
|
|
1470
1470
|
//#region src/components/RichTextEditor/utilities/rteFormatTypes.d.ts
|
|
1471
|
-
declare const rteFormatTypes: {
|
|
1471
|
+
export declare const rteFormatTypes: {
|
|
1472
1472
|
readonly BOLD: "BOLD";
|
|
1473
1473
|
readonly ITALIC: "ITALIC";
|
|
1474
1474
|
readonly UNDERLINE: "UNDERLINE";
|
|
@@ -1540,16 +1540,16 @@ type FormFieldProps = Omit<ComponentPropsWithRef<"input">, "placeholder"> & {
|
|
|
1540
1540
|
*/
|
|
1541
1541
|
type: "checkbox" | "custom" | "email" | "hidden" | "multiline" | "number" | "password" | "radio" | "richTextEditor" | "select" | "text" | "url";
|
|
1542
1542
|
};
|
|
1543
|
-
declare const FormField: ForwardRefExoticComponent<FormFieldProps & RefAttributes<HTMLElement>>;
|
|
1543
|
+
export declare const FormField: ForwardRefExoticComponent<FormFieldProps & RefAttributes<HTMLElement>>;
|
|
1544
1544
|
//#endregion
|
|
1545
1545
|
//#region src/components/FormFieldError/FormFieldError.d.ts
|
|
1546
1546
|
type FormFieldErrorProps = ComponentPropsWithoutRef<"div"> & {
|
|
1547
1547
|
children?: ReactNode | undefined;
|
|
1548
1548
|
};
|
|
1549
|
-
declare const FormFieldError: FC<FormFieldErrorProps>;
|
|
1549
|
+
export declare const FormFieldError: FC<FormFieldErrorProps>;
|
|
1550
1550
|
//#endregion
|
|
1551
1551
|
//#region src/components/FormGlobalError/FormGlobalError.d.ts
|
|
1552
|
-
declare const FormGlobalError: ForwardRefExoticComponent<RefAttributes<HTMLDivElement>>;
|
|
1552
|
+
export declare const FormGlobalError: ForwardRefExoticComponent<RefAttributes<HTMLDivElement>>;
|
|
1553
1553
|
//#endregion
|
|
1554
1554
|
//#region src/components/FullScreenModal/FullScreenModal.d.ts
|
|
1555
1555
|
type FullScreenModalProps = {
|
|
@@ -1578,10 +1578,10 @@ type FullScreenModalProps = {
|
|
|
1578
1578
|
*/
|
|
1579
1579
|
toggle?: ((show: () => unknown, toggleButtonRef?: RefObject<HTMLElement | null | undefined>) => ReactNode) | undefined;
|
|
1580
1580
|
};
|
|
1581
|
-
declare const FullScreenModal: FC<FullScreenModalProps>;
|
|
1581
|
+
export declare const FullScreenModal: FC<FullScreenModalProps>;
|
|
1582
1582
|
//#endregion
|
|
1583
1583
|
//#region src/components/Icon/Icon.d.ts
|
|
1584
|
-
declare const iconSizeMap: {
|
|
1584
|
+
export declare const iconSizeMap: {
|
|
1585
1585
|
sm: string;
|
|
1586
1586
|
md: string;
|
|
1587
1587
|
lg: string;
|
|
@@ -1606,7 +1606,7 @@ type IconProps = ComponentPropsWithoutRef<"svg"> & {
|
|
|
1606
1606
|
*/
|
|
1607
1607
|
type: IconNameType;
|
|
1608
1608
|
};
|
|
1609
|
-
declare const Icon: FC<IconProps>;
|
|
1609
|
+
export declare const Icon: FC<IconProps>;
|
|
1610
1610
|
//#endregion
|
|
1611
1611
|
//#region src/components/IconButton/IconButton.d.ts
|
|
1612
1612
|
declare const sizeMap: {
|
|
@@ -1658,7 +1658,7 @@ type IconButtonProps = ComponentPropsWithRef<"button"> & {
|
|
|
1658
1658
|
*/
|
|
1659
1659
|
tooltipDirection?: "bottom" | "left" | "right" | "top";
|
|
1660
1660
|
};
|
|
1661
|
-
declare const IconButton: ForwardRefExoticComponent<IconButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
1661
|
+
export declare const IconButton: ForwardRefExoticComponent<IconButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
1662
1662
|
//#endregion
|
|
1663
1663
|
//#region src/components/Image/Image.d.ts
|
|
1664
1664
|
type ImageProps = ComponentPropsWithoutRef<"img"> & {
|
|
@@ -1692,7 +1692,7 @@ type ImageProps = ComponentPropsWithoutRef<"img"> & {
|
|
|
1692
1692
|
*/
|
|
1693
1693
|
src: string;
|
|
1694
1694
|
};
|
|
1695
|
-
declare const Image: FC<ImageProps>;
|
|
1695
|
+
export declare const Image: FC<ImageProps>;
|
|
1696
1696
|
//#endregion
|
|
1697
1697
|
//#region src/components/Input/Input.d.ts
|
|
1698
1698
|
type IconPositionStrings = "end" | "start";
|
|
@@ -1780,7 +1780,7 @@ type InputProps = ComponentPropsWithRef<"input"> & {
|
|
|
1780
1780
|
*/
|
|
1781
1781
|
value?: number | string | undefined;
|
|
1782
1782
|
};
|
|
1783
|
-
declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement>>;
|
|
1783
|
+
export declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement>>;
|
|
1784
1784
|
//#endregion
|
|
1785
1785
|
//#region src/components/KeyboardShortcut/KeyboardKeyTypes.d.ts
|
|
1786
1786
|
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";
|
|
@@ -1808,7 +1808,7 @@ type KeyboardShortcutProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1808
1808
|
*/
|
|
1809
1809
|
label?: string;
|
|
1810
1810
|
};
|
|
1811
|
-
declare const KeyboardShortcut: FC<KeyboardShortcutProps>;
|
|
1811
|
+
export declare const KeyboardShortcut: FC<KeyboardShortcutProps>;
|
|
1812
1812
|
//#endregion
|
|
1813
1813
|
//#region src/components/Label/Label.d.ts
|
|
1814
1814
|
type LabelProps = ComponentPropsWithoutRef<"label"> & {
|
|
@@ -1838,14 +1838,14 @@ type LabelProps = ComponentPropsWithoutRef<"label"> & {
|
|
|
1838
1838
|
*/
|
|
1839
1839
|
screenReaderOnly?: boolean;
|
|
1840
1840
|
};
|
|
1841
|
-
declare const Label: FC<LabelProps>;
|
|
1841
|
+
export declare const Label: FC<LabelProps>;
|
|
1842
1842
|
//#endregion
|
|
1843
1843
|
//#region src/components/LabelDescription/LabelDescription.d.ts
|
|
1844
1844
|
type LabelDescriptionProps = ComponentPropsWithoutRef<"div"> & {
|
|
1845
1845
|
children: ReactNode;
|
|
1846
1846
|
disabled?: boolean;
|
|
1847
1847
|
};
|
|
1848
|
-
declare const LabelDescription: FC<LabelDescriptionProps>;
|
|
1848
|
+
export declare const LabelDescription: FC<LabelDescriptionProps>;
|
|
1849
1849
|
//#endregion
|
|
1850
1850
|
//#region src/components/LinkButton/LinkButton.d.ts
|
|
1851
1851
|
type LinkButtonProps = ComponentPropsWithoutRef<"button"> & {
|
|
@@ -1883,7 +1883,7 @@ type LinkButtonProps = ComponentPropsWithoutRef<"button"> & {
|
|
|
1883
1883
|
*/
|
|
1884
1884
|
variant?: "primary" | "secondary";
|
|
1885
1885
|
};
|
|
1886
|
-
declare const LinkButton: ForwardRefExoticComponent<LinkButtonProps & RefAttributes<HTMLSpanElement>>;
|
|
1886
|
+
export declare const LinkButton: ForwardRefExoticComponent<LinkButtonProps & RefAttributes<HTMLSpanElement>>;
|
|
1887
1887
|
//#endregion
|
|
1888
1888
|
//#region src/components/List/List.d.ts
|
|
1889
1889
|
type VariantType = "breadcrumbs" | "bullets" | "commas" | "ordered" | "slashes" | "spaces" | "unbulleted";
|
|
@@ -1903,7 +1903,7 @@ type ListProps = ComponentPropsWithoutRef<"ul"> & {
|
|
|
1903
1903
|
*/
|
|
1904
1904
|
variant?: VariantType;
|
|
1905
1905
|
};
|
|
1906
|
-
declare const List: FC<ListProps>;
|
|
1906
|
+
export declare const List: FC<ListProps>;
|
|
1907
1907
|
//#endregion
|
|
1908
1908
|
//#region src/components/List/ListItem.d.ts
|
|
1909
1909
|
type ListItemProps = {
|
|
@@ -1912,7 +1912,7 @@ type ListItemProps = {
|
|
|
1912
1912
|
*/
|
|
1913
1913
|
children?: ReactNode;
|
|
1914
1914
|
};
|
|
1915
|
-
declare const ListItem: FC<ListItemProps>;
|
|
1915
|
+
export declare const ListItem: FC<ListItemProps>;
|
|
1916
1916
|
//#endregion
|
|
1917
1917
|
//#region src/components/Menu/Menu.d.ts
|
|
1918
1918
|
type ControlledMenuProps = {
|
|
@@ -1948,7 +1948,7 @@ type MenuPropsWithCustomTrigger = DefaultMenuProps & {
|
|
|
1948
1948
|
trigger: JSX.Element;
|
|
1949
1949
|
};
|
|
1950
1950
|
type MenuProps = MenuPropsWithCustomTrigger | MenuPropsWithLabel;
|
|
1951
|
-
declare const Menu: FC<MenuProps>;
|
|
1951
|
+
export declare const Menu: FC<MenuProps>;
|
|
1952
1952
|
//#endregion
|
|
1953
1953
|
//#region src/components/Menu/MenuItem.d.ts
|
|
1954
1954
|
type MenuItemPropsWithLabelDescription = {
|
|
@@ -1978,15 +1978,15 @@ type MenuItemPropsWithChildren = {
|
|
|
1978
1978
|
type MenuItemProps = DropdownMenuItemProps & (MenuItemPropsWithChildren | MenuItemPropsWithLabelDescription);
|
|
1979
1979
|
type CheckboxMenuItemProps = DropdownMenuCheckboxItemProps & (MenuItemPropsWithChildren | MenuItemPropsWithLabelDescription);
|
|
1980
1980
|
type RadioMenuItemProps = DropdownMenuRadioItemProps & (MenuItemPropsWithChildren | MenuItemPropsWithLabelDescription);
|
|
1981
|
-
declare const MenuItem: ({ children, label, description, badge, icon, renderAs, href, target, variant, ...props }: MenuItemProps) => JSX.Element;
|
|
1982
|
-
declare const CheckboxMenuItem: ({ children, label, description, badge, icon, indicator, ...props }: CheckboxMenuItemProps) => JSX.Element;
|
|
1983
|
-
declare const RadioMenuItem: ({ children, label, badge, description, icon, indicator, ...props }: RadioMenuItemProps) => JSX.Element;
|
|
1981
|
+
export declare const MenuItem: ({ children, label, description, badge, icon, renderAs, href, target, variant, ...props }: MenuItemProps) => JSX.Element;
|
|
1982
|
+
export declare const CheckboxMenuItem: ({ children, label, description, badge, icon, indicator, ...props }: CheckboxMenuItemProps) => JSX.Element;
|
|
1983
|
+
export declare const RadioMenuItem: ({ children, label, badge, description, icon, indicator, ...props }: RadioMenuItemProps) => JSX.Element;
|
|
1984
1984
|
//#endregion
|
|
1985
1985
|
//#region src/components/Menu/MenuLabel.d.ts
|
|
1986
1986
|
type MenuLabelProps = {
|
|
1987
1987
|
children: ReactNode | string;
|
|
1988
1988
|
};
|
|
1989
|
-
declare const MenuLabel: ({ children, ...props }: MenuLabelProps) => JSX.Element;
|
|
1989
|
+
export declare const MenuLabel: ({ children, ...props }: MenuLabelProps) => JSX.Element;
|
|
1990
1990
|
//#endregion
|
|
1991
1991
|
//#region src/components/Menu/SubMenu.d.ts
|
|
1992
1992
|
type SubMenuProps = {
|
|
@@ -1995,7 +1995,7 @@ type SubMenuProps = {
|
|
|
1995
1995
|
icon?: ReactNode;
|
|
1996
1996
|
description?: ReactNode;
|
|
1997
1997
|
};
|
|
1998
|
-
declare const SubMenu: ({ label, icon, description, children }: SubMenuProps) => JSX.Element;
|
|
1998
|
+
export declare const SubMenu: ({ label, icon, description, children }: SubMenuProps) => JSX.Element;
|
|
1999
1999
|
//#endregion
|
|
2000
2000
|
//#region src/components/MenuButton/MenuButton.d.ts
|
|
2001
2001
|
type MenuButtonProps = ButtonProps & {
|
|
@@ -2054,7 +2054,7 @@ type MenuButtonProps = ButtonProps & {
|
|
|
2054
2054
|
* 2. Menu supports submenus.
|
|
2055
2055
|
* 3. Menu is properly portalled.
|
|
2056
2056
|
*/
|
|
2057
|
-
declare const MenuButton: FC<MenuButtonProps>;
|
|
2057
|
+
export declare const MenuButton: FC<MenuButtonProps>;
|
|
2058
2058
|
//#endregion
|
|
2059
2059
|
//#region src/components/Modal/Modal.d.ts
|
|
2060
2060
|
type ModalProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -2115,20 +2115,20 @@ type ModalProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2115
2115
|
*/
|
|
2116
2116
|
overflow?: "auto" | "clip" | "hidden" | "scroll" | "visible";
|
|
2117
2117
|
};
|
|
2118
|
-
declare const Modal: FC<ModalProps>;
|
|
2118
|
+
export declare const Modal: FC<ModalProps>;
|
|
2119
2119
|
//#endregion
|
|
2120
2120
|
//#region src/components/Modal/ModalParts.d.ts
|
|
2121
2121
|
type DivProps = DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
2122
|
-
declare const ModalHeader: IStyledComponent<"web", DivProps>;
|
|
2123
|
-
declare const ModalBody: IStyledComponent<"web", DivProps>;
|
|
2124
|
-
declare const ModalFooter: IStyledComponent<"web", DivProps>;
|
|
2122
|
+
export declare const ModalHeader: IStyledComponent<"web", DivProps>;
|
|
2123
|
+
export declare const ModalBody: IStyledComponent<"web", DivProps>;
|
|
2124
|
+
export declare const ModalFooter: IStyledComponent<"web", DivProps>;
|
|
2125
2125
|
type ModalCloseButtonProps = {
|
|
2126
2126
|
/**
|
|
2127
2127
|
* Callback invoked when the button is clicked
|
|
2128
2128
|
*/
|
|
2129
2129
|
onClick?: (event: MouseEvent) => void;
|
|
2130
2130
|
};
|
|
2131
|
-
declare const ModalCloseButton: ({ onClick, ...props }: ModalCloseButtonProps) => JSX.Element;
|
|
2131
|
+
export declare const ModalCloseButton: ({ onClick, ...props }: ModalCloseButtonProps) => JSX.Element;
|
|
2132
2132
|
//#endregion
|
|
2133
2133
|
//#region src/components/Paper/Paper.d.ts
|
|
2134
2134
|
type PaperProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -2141,7 +2141,7 @@ type PaperProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2141
2141
|
*/
|
|
2142
2142
|
elevation?: 0 | 1 | 2 | undefined;
|
|
2143
2143
|
};
|
|
2144
|
-
declare const Paper: FC<PaperProps>;
|
|
2144
|
+
export declare const Paper: FC<PaperProps>;
|
|
2145
2145
|
//#endregion
|
|
2146
2146
|
//#region src/components/ProgressBar/ProgressBar.d.ts
|
|
2147
2147
|
type ProgressBarProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -2166,7 +2166,7 @@ type ProgressBarProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2166
2166
|
*/
|
|
2167
2167
|
colorOverride?: string;
|
|
2168
2168
|
};
|
|
2169
|
-
declare const ProgressBar: FC<ProgressBarProps>;
|
|
2169
|
+
export declare const ProgressBar: FC<ProgressBarProps>;
|
|
2170
2170
|
//#endregion
|
|
2171
2171
|
//#region src/components/Radio/Radio.d.ts
|
|
2172
2172
|
type RadioProps = Omit<ComponentPropsWithoutRef<"input">, "value"> & {
|
|
@@ -2217,7 +2217,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<"input">, "value"> & {
|
|
|
2217
2217
|
*/
|
|
2218
2218
|
value?: string;
|
|
2219
2219
|
};
|
|
2220
|
-
declare const Radio: ForwardRefExoticComponent<RadioProps & RefAttributes<HTMLLabelElement>>;
|
|
2220
|
+
export declare const Radio: ForwardRefExoticComponent<RadioProps & RefAttributes<HTMLLabelElement>>;
|
|
2221
2221
|
//#endregion
|
|
2222
2222
|
//#region src/components/RadioGroup/RadioGroup.d.ts
|
|
2223
2223
|
type RadioGroupProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
|
|
@@ -2265,7 +2265,7 @@ type RadioGroupProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
|
|
|
2265
2265
|
*/
|
|
2266
2266
|
value?: string | undefined;
|
|
2267
2267
|
};
|
|
2268
|
-
declare const RadioGroup: FC<RadioGroupProps>;
|
|
2268
|
+
export declare const RadioGroup: FC<RadioGroupProps>;
|
|
2269
2269
|
//#endregion
|
|
2270
2270
|
//#region src/private/components/RangeSelectorInput/utils.d.ts
|
|
2271
2271
|
type DateRangeType = {
|
|
@@ -2335,7 +2335,7 @@ type RangeSelectorProps = {
|
|
|
2335
2335
|
*/
|
|
2336
2336
|
customTriggerComponent?: ComponentType<Record<string, any>>;
|
|
2337
2337
|
};
|
|
2338
|
-
declare const RangeSelector: FC<RangeSelectorProps>;
|
|
2338
|
+
export declare const RangeSelector: FC<RangeSelectorProps>;
|
|
2339
2339
|
//#endregion
|
|
2340
2340
|
//#region src/components/RichTextEditor/RichTextEditor.d.ts
|
|
2341
2341
|
type RichTextEditorProps = {
|
|
@@ -2380,14 +2380,14 @@ type RichTextEditorProps = {
|
|
|
2380
2380
|
*/
|
|
2381
2381
|
height?: string | undefined;
|
|
2382
2382
|
};
|
|
2383
|
-
declare const RichTextEditor: FC<RichTextEditorProps>;
|
|
2383
|
+
export declare const RichTextEditor: FC<RichTextEditorProps>;
|
|
2384
2384
|
//#endregion
|
|
2385
2385
|
//#region src/components/RichTextEditor/serializers.d.ts
|
|
2386
|
-
declare const rteSerializeToHTML: (value: NodeObject[]) => string | null;
|
|
2387
|
-
declare const rteDeserializeHTML: (htmlString: string) => (NodeObject | string | null)[] | NodeObject | string | null | undefined;
|
|
2386
|
+
export declare const rteSerializeToHTML: (value: NodeObject[]) => string | null;
|
|
2387
|
+
export declare const rteDeserializeHTML: (htmlString: string) => (NodeObject | string | null)[] | NodeObject | string | null | undefined;
|
|
2388
2388
|
//#endregion
|
|
2389
2389
|
//#region src/components/ScreenReaderOnly/ScreenReaderOnly.d.ts
|
|
2390
|
-
declare const screenReaderOnlyStyle: RuleSet<object>;
|
|
2390
|
+
export declare const screenReaderOnlyStyle: RuleSet<object>;
|
|
2391
2391
|
type ScreenReaderOnlyProps = ComponentPropsWithoutRef<"div"> & {
|
|
2392
2392
|
/**
|
|
2393
2393
|
* Pass an arbitrary child node
|
|
@@ -2403,7 +2403,7 @@ type ScreenReaderOnlyProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2403
2403
|
*/
|
|
2404
2404
|
text?: ReactNode;
|
|
2405
2405
|
};
|
|
2406
|
-
declare const ScreenReaderOnly: FC<ScreenReaderOnlyProps>;
|
|
2406
|
+
export declare const ScreenReaderOnly: FC<ScreenReaderOnlyProps>;
|
|
2407
2407
|
//#endregion
|
|
2408
2408
|
//#region src/components/Select/Select.d.ts
|
|
2409
2409
|
type GroupOptionType = {
|
|
@@ -2469,7 +2469,7 @@ type SelectProps = Omit<ComponentPropsWithRef<"select">, "placeholder"> & {
|
|
|
2469
2469
|
*/
|
|
2470
2470
|
valueName?: string;
|
|
2471
2471
|
};
|
|
2472
|
-
declare const Select: ForwardRefExoticComponent<SelectProps & RefAttributes<HTMLSelectElement>>;
|
|
2472
|
+
export declare const Select: ForwardRefExoticComponent<SelectProps & RefAttributes<HTMLSelectElement>>;
|
|
2473
2473
|
//#endregion
|
|
2474
2474
|
//#region src/components/Slider/Slider.d.ts
|
|
2475
2475
|
type ComponentPropsWithoutRefWithoutOnChange = Omit<ComponentPropsWithoutRef<"div">, "onChange">;
|
|
@@ -2530,7 +2530,7 @@ type SliderProps = ComponentPropsWithoutRefWithoutOnChange & {
|
|
|
2530
2530
|
*/
|
|
2531
2531
|
value?: number[] | number;
|
|
2532
2532
|
};
|
|
2533
|
-
declare const Slider: FC<SliderProps>;
|
|
2533
|
+
export declare const Slider: FC<SliderProps>;
|
|
2534
2534
|
//#endregion
|
|
2535
2535
|
//#region src/components/Stack/Stack.d.ts
|
|
2536
2536
|
type StackProps<T extends ElementType> = ComponentPropsWithoutRef<T> & PropsWithChildren & {
|
|
@@ -2548,7 +2548,7 @@ type StackProps<T extends ElementType> = ComponentPropsWithoutRef<T> & PropsWith
|
|
|
2548
2548
|
*/
|
|
2549
2549
|
renderAs?: T | "div";
|
|
2550
2550
|
};
|
|
2551
|
-
declare const Stack: ForwardRefExoticComponent<StackProps<ElementType> & RefAttributes<HTMLDivElement>>;
|
|
2551
|
+
export declare const Stack: ForwardRefExoticComponent<StackProps<ElementType> & RefAttributes<HTMLDivElement>>;
|
|
2552
2552
|
//#endregion
|
|
2553
2553
|
//#region src/components/Switch/Switch.d.ts
|
|
2554
2554
|
type SwitchProps = Omit<ComponentPropsWithoutRef<"button">, "onChange"> & {
|
|
@@ -2573,7 +2573,7 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<"button">, "onChange"> & {
|
|
|
2573
2573
|
*/
|
|
2574
2574
|
hideText?: boolean;
|
|
2575
2575
|
};
|
|
2576
|
-
declare const Switch: FC<SwitchProps>;
|
|
2576
|
+
export declare const Switch: FC<SwitchProps>;
|
|
2577
2577
|
//#endregion
|
|
2578
2578
|
//#region src/components/Text/Text.d.ts
|
|
2579
2579
|
declare const alignMap: {
|
|
@@ -2657,7 +2657,7 @@ type TextProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2657
2657
|
*/
|
|
2658
2658
|
variant?: keyof typeof variantStyleMap;
|
|
2659
2659
|
};
|
|
2660
|
-
declare const Text: ForwardRefExoticComponent<TextProps & RefAttributes<HTMLElement>>;
|
|
2660
|
+
export declare const Text: ForwardRefExoticComponent<TextProps & RefAttributes<HTMLElement>>;
|
|
2661
2661
|
//#endregion
|
|
2662
2662
|
//#region src/private/helpers/getBackgroundGradient/getBackgroundGradient.d.ts
|
|
2663
2663
|
type GradientNameType = "defaultDarkOne" | "defaultDarkTwo" | "defaultLightOne" | "defaultLightTwo" | "defaultMidOne" | "defaultMidTwo" | "green" | "greenWithPop" | "pink" | "pinkWithPop" | "playfulGradientOne" | "playfulGradientTwo" | "purple" | "purpleWithPop" | "yellow" | "yellowWithPop";
|
|
@@ -2717,7 +2717,7 @@ type ThumbnailProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2717
2717
|
*/
|
|
2718
2718
|
width?: string;
|
|
2719
2719
|
} & (IconThumbnailProps | ImageThumbnailProps);
|
|
2720
|
-
declare const Thumbnail: FC<ThumbnailProps>;
|
|
2720
|
+
export declare const Thumbnail: FC<ThumbnailProps>;
|
|
2721
2721
|
//#endregion
|
|
2722
2722
|
//#region src/components/ThumbnailCollage/ThumbnailCollage.d.ts
|
|
2723
2723
|
type ThumbnailCollageProps = {
|
|
@@ -2773,7 +2773,7 @@ type ToastProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2773
2773
|
*/
|
|
2774
2774
|
variant?: ToastVariants | undefined;
|
|
2775
2775
|
};
|
|
2776
|
-
declare const Toast: MemoExoticComponent<(props: ToastProps) => JSX.Element>;
|
|
2776
|
+
export declare const Toast: MemoExoticComponent<(props: ToastProps) => JSX.Element>;
|
|
2777
2777
|
//#endregion
|
|
2778
2778
|
//#region src/components/Toast/ToastContext.d.ts
|
|
2779
2779
|
type UseToastProps = {
|
|
@@ -2787,10 +2787,10 @@ type UseToastProps = {
|
|
|
2787
2787
|
type UseToastFn = (props: UseToastProps) => void;
|
|
2788
2788
|
//#endregion
|
|
2789
2789
|
//#region src/components/Toast/useToast.d.ts
|
|
2790
|
-
declare const useToast: () => UseToastFn;
|
|
2790
|
+
export declare const useToast: () => UseToastFn;
|
|
2791
2791
|
//#endregion
|
|
2792
2792
|
//#region src/components/Toast/ToastProvider.d.ts
|
|
2793
|
-
declare const ToastProvider: ({ children }: {
|
|
2793
|
+
export declare const ToastProvider: ({ children }: {
|
|
2794
2794
|
children: ReactNode;
|
|
2795
2795
|
}) => JSX.Element;
|
|
2796
2796
|
//#endregion
|
|
@@ -2842,7 +2842,7 @@ type TooltipProps = Omit<ComponentPropsWithoutRef<"div">, "id"> & {
|
|
|
2842
2842
|
*/
|
|
2843
2843
|
fontColorOverride?: string;
|
|
2844
2844
|
};
|
|
2845
|
-
declare const Tooltip: FC<TooltipProps>;
|
|
2845
|
+
export declare const Tooltip: FC<TooltipProps>;
|
|
2846
2846
|
//#endregion
|
|
2847
2847
|
//#region src/components/Truncate/Truncate.d.ts
|
|
2848
2848
|
type TruncateProps = {
|
|
@@ -2863,7 +2863,7 @@ type TruncateProps = {
|
|
|
2863
2863
|
*/
|
|
2864
2864
|
terminator?: string;
|
|
2865
2865
|
};
|
|
2866
|
-
declare const Truncate: FC<TruncateProps>;
|
|
2866
|
+
export declare const Truncate: FC<TruncateProps>;
|
|
2867
2867
|
//#endregion
|
|
2868
2868
|
//#region src/components/WistiaLogo/WistiaLogo.d.ts
|
|
2869
2869
|
type WistiaLogoProps = Omit<ComponentPropsWithoutRef<"svg">, "href"> & {
|
|
@@ -2899,7 +2899,7 @@ type WistiaLogoProps = Omit<ComponentPropsWithoutRef<"svg">, "href"> & {
|
|
|
2899
2899
|
*/
|
|
2900
2900
|
variant?: "dark" | "light" | "standard";
|
|
2901
2901
|
};
|
|
2902
|
-
declare const WistiaLogo: FC<WistiaLogoProps>;
|
|
2902
|
+
export declare const WistiaLogo: FC<WistiaLogoProps>;
|
|
2903
2903
|
//#endregion
|
|
2904
|
-
export {
|
|
2904
|
+
export { type ActionModalProps, type AvatarInstanceType, type AvatarProps, type BackdropProps, type BackgroundImageProps, type BadgeColorScheme, type BadgeProps, type BannerProps, type BoxProps, type ButtonGroupProps, type ButtonLinkProps, type ButtonProps, type CheckboxGroupProps, type CheckboxMenuItemProps, type CheckboxProps, type ClickAreaProps, type CloseButtonProps, type CollapsibleGroupProps, type DividerProps, type EllipsisProps, type FileSelectProps, type FormButtonsProps, type FormFieldErrorProps, type FormFieldProps, type FormProps, type FormState, type FullScreenModalProps, type IconButtonProps, type IconNameType, type ImageProps, type InputProps, type KeyboardKeys, type LabelDescriptionProps, type LabelProps, Link$1 as Link, type LinkButtonProps, type LinkProps, type ListItemProps, type ListProps, type MenuButtonProps, type MenuItemProps, type MenuProps, MenuRadioGroup, type ModalBaseContentProps, type ModalCloseButtonProps, type ModalProps, type NodeElementObject, type NodeLeafObject, type NodeObject, type OnBeforeHideInterface, type OptionsType, type PaperProps, type ProgressBarProps, type RadioGroupProps, type RadioMenuItemProps, type RadioProps, type RangeSelectorProps, type RichTextEditorProps, type ScreenReaderOnlyProps, type SelectProps, type SliderProps, type StackProps, type SwitchProps, type TextProps, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, type ToastProps, type ToastVariants, type TooltipProps, type TruncateProps, type VHSTheme, type WistiaLogoProps, type WrapperProviderLinkType, useFormikContext };
|
|
2905
2905
|
//# sourceMappingURL=index.d.ts.map
|