@wistia/vhs 6.0.6 → 6.0.7-beta.010d64be.3ec07f9

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 CHANGED
@@ -6,7 +6,6 @@ import { Editor } from "slate";
6
6
  import "slate-history";
7
7
  import { ReactEditor } from "slate-react";
8
8
  import { DropdownMenuCheckboxItemProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuProps, DropdownMenuRadioGroup as MenuRadioGroup, DropdownMenuRadioItemProps } from "@radix-ui/react-dropdown-menu";
9
- //#region src/@types/vhs-theme.d.ts
10
9
  interface VHSTheme {
11
10
  readonly breakpoint: {
12
11
  readonly xs: string;
@@ -218,8 +217,6 @@ interface VHSTheme {
218
217
  readonly elevation2: string;
219
218
  };
220
219
  }
221
- //#endregion
222
- //#region src/components/Link/Link.d.ts
223
220
  type LinkURLParameters = Record<string, string>;
224
221
  type LinkTypes = "default" | "email" | "external" | "phone";
225
222
  type DefaultLinkWrapperProps = {
@@ -281,11 +278,7 @@ type LinkProps = ComponentPropsWithoutRef<"a"> & {
281
278
  variant?: "dangerous" | "primary" | "secondary";
282
279
  };
283
280
  declare const Link$1: ForwardRefExoticComponent<LinkProps & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
284
- //#endregion
285
- //#region src/providers/WrapperProvider.d.ts
286
281
  type WrapperProviderLinkType = ((props: DefaultLinkWrapperProps) => JSX.Element) | undefined;
287
- //#endregion
288
- //#region src/providers/VHSProvider.d.ts
289
282
  export type VHSProviderProps = {
290
283
  children: ReactNode;
291
284
  globalStylesIncluded?: boolean;
@@ -294,11 +287,7 @@ export type VHSProviderProps = {
294
287
  theme?: Record<string, unknown>;
295
288
  };
296
289
  export declare const VHSProvider: ({ children, theme, globalStylesIncluded, skipAnimations, Link }: VHSProviderProps) => ReactNode;
297
- //#endregion
298
- //#region src/hooks/useTheme/useTheme.d.ts
299
290
  export declare const useTheme: <T extends DefaultTheme = DefaultTheme>() => T;
300
- //#endregion
301
- //#region src/hooks/useThemeColor/useThemeColor.d.ts
302
291
  type ColorKeysFromTheme<Theme extends DefaultTheme = DefaultTheme> = keyof Theme["color"];
303
292
  type UseThemeColor = {
304
293
  (): DefaultTheme["color"];
@@ -306,8 +295,6 @@ type UseThemeColor = {
306
295
  <T extends DefaultTheme, K extends ColorKeysFromTheme<T>[]>(param: [...K]): { [Index in keyof K]: T["color"][K[Index] & keyof T["color"]]; };
307
296
  };
308
297
  export declare const useThemeColor: UseThemeColor;
309
- //#endregion
310
- //#region src/components/ModalBase/ModalBase.d.ts
311
298
  type OnBeforeHideInterface = {
312
299
  shouldShowMessage: boolean;
313
300
  message: string;
@@ -348,8 +335,6 @@ type ModalBaseContentProps = {
348
335
  toggle?: ((show: () => unknown, toggleButtonRef?: RefObject<HTMLElement | null | undefined>) => ReactNode) | undefined;
349
336
  };
350
337
  export declare const ModalBase: FC<ModalBaseContentProps>;
351
- //#endregion
352
- //#region src/components/ActionModal/ActionModal.d.ts
353
338
  type ActionModalProps = ComponentPropsWithoutRef<"div"> & {
354
339
  /**
355
340
  * Horizontally align modal to the left, center, or right of the container
@@ -443,8 +428,6 @@ type ActionModalProps = ComponentPropsWithoutRef<"div"> & {
443
428
  * allowing for more variation.
444
429
  */
445
430
  export declare const ActionModal: FC<ActionModalProps>;
446
- //#endregion
447
- //#region src/components/Avatar/Avatar.d.ts
448
431
  type AvatarInstanceType = "image" | "initials";
449
432
  type AvatarProps = ComponentPropsWithoutRef<"div"> & {
450
433
  /**
@@ -471,8 +454,6 @@ type AvatarProps = ComponentPropsWithoutRef<"div"> & {
471
454
  onImageLoad?: (avatarType: AvatarInstanceType) => void;
472
455
  };
473
456
  export declare const Avatar: FC<AvatarProps>;
474
- //#endregion
475
- //#region src/components/Backdrop/Backdrop.d.ts
476
457
  declare const alignVerticalMap: {
477
458
  normal: string;
478
459
  top: string;
@@ -508,8 +489,6 @@ type BackdropProps = ComponentPropsWithoutRef<"div"> & {
508
489
  elevated?: boolean;
509
490
  };
510
491
  export declare const Backdrop: FC<BackdropProps>;
511
- //#endregion
512
- //#region src/components/BackgroundImage/BackgroundImage.d.ts
513
492
  type OverflowObject = {
514
493
  horizontal: string;
515
494
  vertical: string;
@@ -574,8 +553,6 @@ type BackgroundImageProps = Omit<ComponentPropsWithoutRef<"img">, "src"> & {
574
553
  width?: string;
575
554
  };
576
555
  export declare const BackgroundImage: FC<BackgroundImageProps>;
577
- //#endregion
578
- //#region src/components/Icon/iconMap.d.ts
579
556
  declare const iconMap: {
580
557
  "ab-test": string;
581
558
  "all-content": string;
@@ -693,8 +670,6 @@ declare const iconMap: {
693
670
  "zoom-out": string;
694
671
  };
695
672
  type IconNameType = keyof typeof iconMap;
696
- //#endregion
697
- //#region src/components/Badge/Badge.d.ts
698
673
  type BadgeColorScheme = "brandBlue" | "error" | "green" | "grey" | "orange" | "pink" | "purple" | "red" | "success" | "warning" | "yellow";
699
674
  type BadgeProps = ComponentPropsWithoutRef<"div"> & {
700
675
  /**
@@ -711,8 +686,6 @@ type BadgeProps = ComponentPropsWithoutRef<"div"> & {
711
686
  label: string;
712
687
  };
713
688
  export declare const Badge: FC<BadgeProps>;
714
- //#endregion
715
- //#region src/components/Banner/BannerChildComponents.d.ts
716
689
  type BodyProps = {
717
690
  children?: ReactNode;
718
691
  };
@@ -726,8 +699,6 @@ type RightGutterProps = {
726
699
  verticalAlign?: string;
727
700
  };
728
701
  declare const RightGutter: ({ verticalAlign, children }: RightGutterProps) => JSX.Element;
729
- //#endregion
730
- //#region src/components/Banner/Banner.d.ts
731
702
  type BannerProps = ComponentPropsWithoutRef<"div"> & {
732
703
  /**
733
704
  * color string
@@ -747,8 +718,6 @@ export declare const Banner: FC<BannerProps> & {
747
718
  RightGutter: typeof RightGutter;
748
719
  Title: typeof Title;
749
720
  };
750
- //#endregion
751
- //#region src/components/Box/Box.d.ts
752
721
  type Gap = {
753
722
  column: number | string;
754
723
  row: number | string;
@@ -842,8 +811,6 @@ type BoxProps = ComponentPropsWithoutRef<"div"> & {
842
811
  wrapItems?: boolean;
843
812
  };
844
813
  export declare const Box: ForwardRefExoticComponent<BoxProps & RefAttributes<HTMLDivElement>>;
845
- //#endregion
846
- //#region src/components/Button/Button.d.ts
847
814
  type TextAlignValues = "center" | "left" | "right";
848
815
  type ButtonProps = ComponentPropsWithRef<"button"> & {
849
816
  /**
@@ -922,8 +889,6 @@ type ButtonProps = ComponentPropsWithRef<"button"> & {
922
889
  variant?: "dangerous" | "primary" | "secondary" | "tertiary";
923
890
  };
924
891
  export declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>;
925
- //#endregion
926
- //#region src/components/ButtonGroup/ButtonGroup.d.ts
927
892
  type ButtonGroupProps = ComponentPropsWithoutRef<"div"> & {
928
893
  /**
929
894
  * Align buttons to the left or right of their container
@@ -939,8 +904,6 @@ type ButtonGroupProps = ComponentPropsWithoutRef<"div"> & {
939
904
  fullWidth?: boolean;
940
905
  };
941
906
  export declare const ButtonGroup: FC<ButtonGroupProps>;
942
- //#endregion
943
- //#region src/components/ButtonLink/ButtonLink.d.ts
944
907
  type ButtonLinkProps = ComponentPropsWithRef<"a"> & {
945
908
  /**
946
909
  * A Promise to invoke before navigating to location.
@@ -1033,8 +996,6 @@ type ButtonLinkProps = ComponentPropsWithRef<"a"> & {
1033
996
  * refer to [Link](?path=/docs/link--link-stories) for additional props.
1034
997
  */
1035
998
  export declare const ButtonLink: ForwardRefExoticComponent<ButtonLinkProps & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
1036
- //#endregion
1037
- //#region src/components/Checkbox/Checkbox.d.ts
1038
999
  type CheckboxProps = Omit<ComponentPropsWithRef<"label">, "onChange"> & {
1039
1000
  /**
1040
1001
  * Indicates the state of the checkbox
@@ -1088,8 +1049,6 @@ type CheckboxProps = Omit<ComponentPropsWithRef<"label">, "onChange"> & {
1088
1049
  value?: string;
1089
1050
  };
1090
1051
  export declare const Checkbox: ForwardRefExoticComponent<CheckboxProps & RefAttributes<HTMLLabelElement>>;
1091
- //#endregion
1092
- //#region src/components/CheckboxGroup/CheckboxGroup.d.ts
1093
1052
  type CheckboxPropsWithName = Omit<CheckboxProps, "name"> & {
1094
1053
  name: string;
1095
1054
  };
@@ -1139,8 +1098,6 @@ type CheckboxGroupProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
1139
1098
  value?: string[] | boolean | undefined;
1140
1099
  };
1141
1100
  export declare const CheckboxGroup: FC<CheckboxGroupProps>;
1142
- //#endregion
1143
- //#region src/components/ClickArea/ClickArea.d.ts
1144
1101
  type ClickAreaProps = ComponentPropsWithRef<"div"> & {
1145
1102
  /**
1146
1103
  * Supply an element or Component to render as the root compoennt (default is div)
@@ -1174,8 +1131,6 @@ type ClickAreaProps = ComponentPropsWithRef<"div"> & {
1174
1131
  *
1175
1132
  */
1176
1133
  export declare const ClickArea: ForwardRefExoticComponent<ClickAreaProps & RefAttributes<HTMLElement>>;
1177
- //#endregion
1178
- //#region src/components/CloseButton/CloseButton.d.ts
1179
1134
  type CloseButtonProps = ComponentPropsWithoutRef<"button"> & {
1180
1135
  /**
1181
1136
  * Callback function invoked when the button is clicked
@@ -1183,8 +1138,6 @@ type CloseButtonProps = ComponentPropsWithoutRef<"button"> & {
1183
1138
  onClick?: () => void;
1184
1139
  };
1185
1140
  export declare const CloseButton: FC<CloseButtonProps>;
1186
- //#endregion
1187
- //#region src/components/CollapsibleGroup/CollapsibleGroup.d.ts
1188
1141
  declare const VARIANT_BRAND_BLUE = "brandblue";
1189
1142
  declare const CARET_DIRECTION_UP = "up";
1190
1143
  declare const CARET_DIRECTION_DOWN = "down";
@@ -1260,8 +1213,6 @@ type CollapsibleGroupProps = {
1260
1213
  variant?: typeof VARIANT_BRAND_BLUE;
1261
1214
  };
1262
1215
  export declare const CollapsibleGroup: FC<CollapsibleGroupProps>;
1263
- //#endregion
1264
- //#region src/components/Divider/Divider.d.ts
1265
1216
  type DividerProps = ComponentPropsWithoutRef<"hr"> & {
1266
1217
  /**
1267
1218
  * Allows user to override default divider color
@@ -1277,8 +1228,6 @@ type DividerProps = ComponentPropsWithoutRef<"hr"> & {
1277
1228
  variant?: "dashed" | "solid";
1278
1229
  };
1279
1230
  export declare const Divider: FC<DividerProps>;
1280
- //#endregion
1281
- //#region src/components/Ellipsis/Ellipsis.d.ts
1282
1231
  export declare const ellipsisStyle: RuleSet<object>;
1283
1232
  export declare const ellipsisFlexParentStyle: RuleSet<object>;
1284
1233
  type EllipsisProps = ComponentPropsWithoutRef<"div"> & {
@@ -1292,8 +1241,6 @@ type EllipsisProps = ComponentPropsWithoutRef<"div"> & {
1292
1241
  lines?: number;
1293
1242
  };
1294
1243
  export declare const Ellipsis: FC<EllipsisProps>;
1295
- //#endregion
1296
- //#region src/components/FileSelect/FileSelect.d.ts
1297
1244
  type FileSelectProps = {
1298
1245
  /**
1299
1246
  * Allowlist of file types that the server will accept
@@ -1338,8 +1285,6 @@ type FileSelectProps = {
1338
1285
  onError?: (error: Error) => void;
1339
1286
  };
1340
1287
  export declare const FileSelect: ForwardRefExoticComponent<FileSelectProps & RefAttributes<HTMLInputElement>>;
1341
- //#endregion
1342
- //#region src/components/Form/Form.d.ts
1343
1288
  type ValuesType = Record<string, unknown>;
1344
1289
  type Values = Record<string, unknown>;
1345
1290
  type FormState = FormikProps<Values>;
@@ -1413,8 +1358,6 @@ type ValidationSchemaType = {
1413
1358
  fields: Record<string, unknown>;
1414
1359
  };
1415
1360
  export declare const Form: FC<FormProps>;
1416
- //#endregion
1417
- //#region src/components/FormButtons/FormButtons.d.ts
1418
1361
  type ButtonsType = {
1419
1362
  [key: string]: unknown;
1420
1363
  name: string;
@@ -1431,8 +1374,6 @@ type FormButtonsProps = {
1431
1374
  buttons: ButtonsType[];
1432
1375
  };
1433
1376
  export declare const FormButtons: FC<FormButtonsProps>;
1434
- //#endregion
1435
- //#region src/private/components/FormConnectorCustomField/FormConnectorCustomField.d.ts
1436
1377
  type CustomComponentClass = {
1437
1378
  field: {
1438
1379
  name: string;
@@ -1444,8 +1385,6 @@ type CustomComponentClass = {
1444
1385
  values?: Record<string, string> | undefined;
1445
1386
  };
1446
1387
  };
1447
- //#endregion
1448
- //#region src/components/RichTextEditor/types.d.ts
1449
1388
  type NodeElementObject = {
1450
1389
  attributes?: Record<string, string>;
1451
1390
  children?: NodeLeafObject[];
@@ -1466,8 +1405,6 @@ type NodeLeafObject = {
1466
1405
  url?: string;
1467
1406
  underline?: boolean;
1468
1407
  };
1469
- //#endregion
1470
- //#region src/components/RichTextEditor/utilities/rteFormatTypes.d.ts
1471
1408
  export declare const rteFormatTypes: {
1472
1409
  readonly BOLD: "BOLD";
1473
1410
  readonly ITALIC: "ITALIC";
@@ -1481,8 +1418,6 @@ export declare const rteFormatTypes: {
1481
1418
  readonly LINK: "LINK";
1482
1419
  readonly IMAGE: "IMAGE";
1483
1420
  };
1484
- //#endregion
1485
- //#region src/components/FormField/FormField.d.ts
1486
1421
  type FormFieldProps = Omit<ComponentPropsWithRef<"input">, "placeholder"> & {
1487
1422
  /**
1488
1423
  * A custom component that acts as a field and that needs access to Formik fields
@@ -1541,17 +1476,11 @@ type FormFieldProps = Omit<ComponentPropsWithRef<"input">, "placeholder"> & {
1541
1476
  type: "checkbox" | "custom" | "email" | "hidden" | "multiline" | "number" | "password" | "radio" | "richTextEditor" | "select" | "text" | "url";
1542
1477
  };
1543
1478
  export declare const FormField: ForwardRefExoticComponent<FormFieldProps & RefAttributes<HTMLElement>>;
1544
- //#endregion
1545
- //#region src/components/FormFieldError/FormFieldError.d.ts
1546
1479
  type FormFieldErrorProps = ComponentPropsWithoutRef<"div"> & {
1547
1480
  children?: ReactNode | undefined;
1548
1481
  };
1549
1482
  export declare const FormFieldError: FC<FormFieldErrorProps>;
1550
- //#endregion
1551
- //#region src/components/FormGlobalError/FormGlobalError.d.ts
1552
1483
  export declare const FormGlobalError: ForwardRefExoticComponent<RefAttributes<HTMLDivElement>>;
1553
- //#endregion
1554
- //#region src/components/FullScreenModal/FullScreenModal.d.ts
1555
1484
  type FullScreenModalProps = {
1556
1485
  /**
1557
1486
  * Color of the modal background
@@ -1579,8 +1508,6 @@ type FullScreenModalProps = {
1579
1508
  toggle?: ((show: () => unknown, toggleButtonRef?: RefObject<HTMLElement | null | undefined>) => ReactNode) | undefined;
1580
1509
  };
1581
1510
  export declare const FullScreenModal: FC<FullScreenModalProps>;
1582
- //#endregion
1583
- //#region src/components/Icon/Icon.d.ts
1584
1511
  export declare const iconSizeMap: {
1585
1512
  sm: string;
1586
1513
  md: string;
@@ -1607,8 +1534,6 @@ type IconProps = ComponentPropsWithoutRef<"svg"> & {
1607
1534
  type: IconNameType;
1608
1535
  };
1609
1536
  export declare const Icon: FC<IconProps>;
1610
- //#endregion
1611
- //#region src/components/IconButton/IconButton.d.ts
1612
1537
  declare const sizeMap: {
1613
1538
  sm: string;
1614
1539
  md: string;
@@ -1659,8 +1584,6 @@ type IconButtonProps = ComponentPropsWithRef<"button"> & {
1659
1584
  tooltipDirection?: "bottom" | "left" | "right" | "top";
1660
1585
  };
1661
1586
  export declare const IconButton: ForwardRefExoticComponent<IconButtonProps & RefAttributes<HTMLButtonElement>>;
1662
- //#endregion
1663
- //#region src/components/Image/Image.d.ts
1664
1587
  type ImageProps = ComponentPropsWithoutRef<"img"> & {
1665
1588
  /**
1666
1589
  * Accessible text to apply to the image
@@ -1693,8 +1616,6 @@ type ImageProps = ComponentPropsWithoutRef<"img"> & {
1693
1616
  src: string;
1694
1617
  };
1695
1618
  export declare const Image: FC<ImageProps>;
1696
- //#endregion
1697
- //#region src/components/Input/Input.d.ts
1698
1619
  type IconPositionStrings = "end" | "start";
1699
1620
  type ForcedStateStrings = "active" | "focus" | "hover";
1700
1621
  type InputProps = ComponentPropsWithRef<"input"> & {
@@ -1781,15 +1702,11 @@ type InputProps = ComponentPropsWithRef<"input"> & {
1781
1702
  value?: number | string | undefined;
1782
1703
  };
1783
1704
  export declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement>>;
1784
- //#endregion
1785
- //#region src/components/KeyboardShortcut/KeyboardKeyTypes.d.ts
1786
1705
  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";
1787
1706
  type ModifierKeys = "Alt" | "Cmd" | "Ctrl" | "Meta" | "Option" | "Shift";
1788
1707
  type WhitespaceKeys = "Enter" | "Space" | "Tab";
1789
1708
  type ArrowKeys = "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp";
1790
1709
  type KeyboardKeys = AlphanumericKeyboardKeys | ArrowKeys | ModifierKeys | WhitespaceKeys | "?" | "Backspace" | "Esc";
1791
- //#endregion
1792
- //#region src/components/KeyboardShortcut/KeyboardShortcut.d.ts
1793
1710
  type KeyboardShortcutProps = ComponentPropsWithoutRef<"div"> & {
1794
1711
  /**
1795
1712
  * @description The visual style of the keyboard shortcut. Choose light if the background is dark and dark if the background is light.
@@ -1809,8 +1726,6 @@ type KeyboardShortcutProps = ComponentPropsWithoutRef<"div"> & {
1809
1726
  label?: string;
1810
1727
  };
1811
1728
  export declare const KeyboardShortcut: FC<KeyboardShortcutProps>;
1812
- //#endregion
1813
- //#region src/components/Label/Label.d.ts
1814
1729
  type LabelProps = ComponentPropsWithoutRef<"label"> & {
1815
1730
  /**
1816
1731
  * Pass an arbitrary child node
@@ -1839,15 +1754,11 @@ type LabelProps = ComponentPropsWithoutRef<"label"> & {
1839
1754
  screenReaderOnly?: boolean;
1840
1755
  };
1841
1756
  export declare const Label: FC<LabelProps>;
1842
- //#endregion
1843
- //#region src/components/LabelDescription/LabelDescription.d.ts
1844
1757
  type LabelDescriptionProps = ComponentPropsWithoutRef<"div"> & {
1845
1758
  children: ReactNode;
1846
1759
  disabled?: boolean;
1847
1760
  };
1848
1761
  export declare const LabelDescription: FC<LabelDescriptionProps>;
1849
- //#endregion
1850
- //#region src/components/LinkButton/LinkButton.d.ts
1851
1762
  type LinkButtonProps = ComponentPropsWithoutRef<"button"> & {
1852
1763
  /**
1853
1764
  * Pass an arbitrary child node
@@ -1884,8 +1795,6 @@ type LinkButtonProps = ComponentPropsWithoutRef<"button"> & {
1884
1795
  variant?: "primary" | "secondary";
1885
1796
  };
1886
1797
  export declare const LinkButton: ForwardRefExoticComponent<LinkButtonProps & RefAttributes<HTMLSpanElement>>;
1887
- //#endregion
1888
- //#region src/components/List/List.d.ts
1889
1798
  type VariantType = "breadcrumbs" | "bullets" | "commas" | "ordered" | "slashes" | "spaces" | "unbulleted";
1890
1799
  type ItemType = ItemType[] | string[] | string;
1891
1800
  type ListProps = ComponentPropsWithoutRef<"ul"> & {
@@ -1904,8 +1813,6 @@ type ListProps = ComponentPropsWithoutRef<"ul"> & {
1904
1813
  variant?: VariantType;
1905
1814
  };
1906
1815
  export declare const List: FC<ListProps>;
1907
- //#endregion
1908
- //#region src/components/List/ListItem.d.ts
1909
1816
  type ListItemProps = {
1910
1817
  /**
1911
1818
  * Pass an arbitrary child node
@@ -1913,8 +1820,6 @@ type ListItemProps = {
1913
1820
  children?: ReactNode;
1914
1821
  };
1915
1822
  export declare const ListItem: FC<ListItemProps>;
1916
- //#endregion
1917
- //#region src/components/Menu/Menu.d.ts
1918
1823
  type ControlledMenuProps = {
1919
1824
  /** Is the menu open. Must be used with `onOpenChange`. */
1920
1825
  isOpen: boolean;
@@ -1949,8 +1854,6 @@ type MenuPropsWithCustomTrigger = DefaultMenuProps & {
1949
1854
  };
1950
1855
  type MenuProps = MenuPropsWithCustomTrigger | MenuPropsWithLabel;
1951
1856
  export declare const Menu: FC<MenuProps>;
1952
- //#endregion
1953
- //#region src/components/Menu/MenuItem.d.ts
1954
1857
  type MenuItemPropsWithLabelDescription = {
1955
1858
  href?: string;
1956
1859
  badge?: ReactNode;
@@ -1981,14 +1884,10 @@ type RadioMenuItemProps = DropdownMenuRadioItemProps & (MenuItemPropsWithChildre
1981
1884
  export declare const MenuItem: ({ children, label, description, badge, icon, renderAs, href, target, variant, ...props }: MenuItemProps) => JSX.Element;
1982
1885
  export declare const CheckboxMenuItem: ({ children, label, description, badge, icon, indicator, ...props }: CheckboxMenuItemProps) => JSX.Element;
1983
1886
  export declare const RadioMenuItem: ({ children, label, badge, description, icon, indicator, ...props }: RadioMenuItemProps) => JSX.Element;
1984
- //#endregion
1985
- //#region src/components/Menu/MenuLabel.d.ts
1986
1887
  type MenuLabelProps = {
1987
1888
  children: ReactNode | string;
1988
1889
  };
1989
1890
  export declare const MenuLabel: ({ children, ...props }: MenuLabelProps) => JSX.Element;
1990
- //#endregion
1991
- //#region src/components/Menu/SubMenu.d.ts
1992
1891
  type SubMenuProps = {
1993
1892
  label: string;
1994
1893
  children: ReactNode;
@@ -1996,8 +1895,6 @@ type SubMenuProps = {
1996
1895
  description?: ReactNode;
1997
1896
  };
1998
1897
  export declare const SubMenu: ({ label, icon, description, children }: SubMenuProps) => JSX.Element;
1999
- //#endregion
2000
- //#region src/components/MenuButton/MenuButton.d.ts
2001
1898
  type MenuButtonProps = ButtonProps & {
2002
1899
  /**
2003
1900
  * Disables button
@@ -2055,8 +1952,6 @@ type MenuButtonProps = ButtonProps & {
2055
1952
  * 3. Menu is properly portalled.
2056
1953
  */
2057
1954
  export declare const MenuButton: FC<MenuButtonProps>;
2058
- //#endregion
2059
- //#region src/components/Modal/Modal.d.ts
2060
1955
  type ModalProps = ComponentPropsWithoutRef<"div"> & {
2061
1956
  /**
2062
1957
  * Horizontally align modal to the left, center, or right of the container
@@ -2116,8 +2011,6 @@ type ModalProps = ComponentPropsWithoutRef<"div"> & {
2116
2011
  overflow?: "auto" | "clip" | "hidden" | "scroll" | "visible";
2117
2012
  };
2118
2013
  export declare const Modal: FC<ModalProps>;
2119
- //#endregion
2120
- //#region src/components/Modal/ModalParts.d.ts
2121
2014
  type DivProps = DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
2122
2015
  export declare const ModalHeader: IStyledComponent<"web", DivProps>;
2123
2016
  export declare const ModalBody: IStyledComponent<"web", DivProps>;
@@ -2129,8 +2022,6 @@ type ModalCloseButtonProps = {
2129
2022
  onClick?: (event: MouseEvent) => void;
2130
2023
  };
2131
2024
  export declare const ModalCloseButton: ({ onClick, ...props }: ModalCloseButtonProps) => JSX.Element;
2132
- //#endregion
2133
- //#region src/components/Paper/Paper.d.ts
2134
2025
  type PaperProps = ComponentPropsWithoutRef<"div"> & {
2135
2026
  /**
2136
2027
  * The content within Paper component
@@ -2142,8 +2033,6 @@ type PaperProps = ComponentPropsWithoutRef<"div"> & {
2142
2033
  elevation?: 0 | 1 | 2 | undefined;
2143
2034
  };
2144
2035
  export declare const Paper: FC<PaperProps>;
2145
- //#endregion
2146
- //#region src/components/ProgressBar/ProgressBar.d.ts
2147
2036
  type ProgressBarProps = ComponentPropsWithoutRef<"div"> & {
2148
2037
  /**
2149
2038
  * Whether the progress bar has a label
@@ -2167,8 +2056,6 @@ type ProgressBarProps = ComponentPropsWithoutRef<"div"> & {
2167
2056
  colorOverride?: string;
2168
2057
  };
2169
2058
  export declare const ProgressBar: FC<ProgressBarProps>;
2170
- //#endregion
2171
- //#region src/components/Radio/Radio.d.ts
2172
2059
  type RadioProps = Omit<ComponentPropsWithoutRef<"input">, "value"> & {
2173
2060
  /**
2174
2061
  * Indicates the state of the radio
@@ -2218,8 +2105,6 @@ type RadioProps = Omit<ComponentPropsWithoutRef<"input">, "value"> & {
2218
2105
  value?: string;
2219
2106
  };
2220
2107
  export declare const Radio: ForwardRefExoticComponent<RadioProps & RefAttributes<HTMLLabelElement>>;
2221
- //#endregion
2222
- //#region src/components/RadioGroup/RadioGroup.d.ts
2223
2108
  type RadioGroupProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
2224
2109
  /**
2225
2110
  * Should the radio buttons be displayed vertically as a column or horizontally as a row
@@ -2266,14 +2151,10 @@ type RadioGroupProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
2266
2151
  value?: string | undefined;
2267
2152
  };
2268
2153
  export declare const RadioGroup: FC<RadioGroupProps>;
2269
- //#endregion
2270
- //#region src/private/components/RangeSelectorInput/utils.d.ts
2271
2154
  type DateRangeType = {
2272
2155
  start: Date;
2273
2156
  end: Date;
2274
2157
  };
2275
- //#endregion
2276
- //#region src/components/RangeSelector/RangeSelector.d.ts
2277
2158
  type Preset = {
2278
2159
  label?: string;
2279
2160
  value: {
@@ -2336,8 +2217,6 @@ type RangeSelectorProps = {
2336
2217
  customTriggerComponent?: ComponentType<Record<string, any>>;
2337
2218
  };
2338
2219
  export declare const RangeSelector: FC<RangeSelectorProps>;
2339
- //#endregion
2340
- //#region src/components/RichTextEditor/RichTextEditor.d.ts
2341
2220
  type RichTextEditorProps = {
2342
2221
  /**
2343
2222
  * Optional id to set aria-labelledby
@@ -2381,12 +2260,8 @@ type RichTextEditorProps = {
2381
2260
  height?: string | undefined;
2382
2261
  };
2383
2262
  export declare const RichTextEditor: FC<RichTextEditorProps>;
2384
- //#endregion
2385
- //#region src/components/RichTextEditor/serializers.d.ts
2386
2263
  export declare const rteSerializeToHTML: (value: NodeObject[]) => string | null;
2387
2264
  export declare const rteDeserializeHTML: (htmlString: string) => (NodeObject | string | null)[] | NodeObject | string | null | undefined;
2388
- //#endregion
2389
- //#region src/components/ScreenReaderOnly/ScreenReaderOnly.d.ts
2390
2265
  export declare const screenReaderOnlyStyle: RuleSet<object>;
2391
2266
  type ScreenReaderOnlyProps = ComponentPropsWithoutRef<"div"> & {
2392
2267
  /**
@@ -2404,8 +2279,6 @@ type ScreenReaderOnlyProps = ComponentPropsWithoutRef<"div"> & {
2404
2279
  text?: ReactNode;
2405
2280
  };
2406
2281
  export declare const ScreenReaderOnly: FC<ScreenReaderOnlyProps>;
2407
- //#endregion
2408
- //#region src/components/Select/Select.d.ts
2409
2282
  type GroupOptionType = {
2410
2283
  disabled?: boolean;
2411
2284
  groupLabel?: string;
@@ -2470,8 +2343,6 @@ type SelectProps = Omit<ComponentPropsWithRef<"select">, "placeholder"> & {
2470
2343
  valueName?: string;
2471
2344
  };
2472
2345
  export declare const Select: ForwardRefExoticComponent<SelectProps & RefAttributes<HTMLSelectElement>>;
2473
- //#endregion
2474
- //#region src/components/Slider/Slider.d.ts
2475
2346
  type ComponentPropsWithoutRefWithoutOnChange = Omit<ComponentPropsWithoutRef<"div">, "onChange">;
2476
2347
  type SliderProps = ComponentPropsWithoutRefWithoutOnChange & {
2477
2348
  /**
@@ -2531,8 +2402,6 @@ type SliderProps = ComponentPropsWithoutRefWithoutOnChange & {
2531
2402
  value?: number[] | number;
2532
2403
  };
2533
2404
  export declare const Slider: FC<SliderProps>;
2534
- //#endregion
2535
- //#region src/components/Stack/Stack.d.ts
2536
2405
  type StackProps<T extends ElementType> = ComponentPropsWithoutRef<T> & PropsWithChildren & {
2537
2406
  /**
2538
2407
  * The gap between each item in the stack. Should be one of the spacing values from the theme
@@ -2549,8 +2418,6 @@ type StackProps<T extends ElementType> = ComponentPropsWithoutRef<T> & PropsWith
2549
2418
  renderAs?: T | "div";
2550
2419
  };
2551
2420
  export declare const Stack: ForwardRefExoticComponent<StackProps<ElementType> & RefAttributes<HTMLDivElement>>;
2552
- //#endregion
2553
- //#region src/components/Switch/Switch.d.ts
2554
2421
  type SwitchProps = Omit<ComponentPropsWithoutRef<"button">, "onChange"> & {
2555
2422
  /**
2556
2423
  * Allows user to override default "on" color
@@ -2574,8 +2441,6 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<"button">, "onChange"> & {
2574
2441
  hideText?: boolean;
2575
2442
  };
2576
2443
  export declare const Switch: FC<SwitchProps>;
2577
- //#endregion
2578
- //#region src/components/Text/Text.d.ts
2579
2444
  declare const alignMap: {
2580
2445
  left: string;
2581
2446
  right: string;
@@ -2658,11 +2523,7 @@ type TextProps = ComponentPropsWithoutRef<"div"> & {
2658
2523
  variant?: keyof typeof variantStyleMap;
2659
2524
  };
2660
2525
  export declare const Text: ForwardRefExoticComponent<TextProps & RefAttributes<HTMLElement>>;
2661
- //#endregion
2662
- //#region src/private/helpers/getBackgroundGradient/getBackgroundGradient.d.ts
2663
2526
  type GradientNameType = "defaultDarkOne" | "defaultDarkTwo" | "defaultLightOne" | "defaultLightTwo" | "defaultMidOne" | "defaultMidTwo" | "green" | "greenWithPop" | "pink" | "pinkWithPop" | "playfulGradientOne" | "playfulGradientTwo" | "purple" | "purpleWithPop" | "yellow" | "yellowWithPop";
2664
- //#endregion
2665
- //#region src/components/Thumbnail/Thumbnail.d.ts
2666
2527
  type IconThumbnailProps = {
2667
2528
  /**
2668
2529
  * The desired display of the thumbnail, either wide or square
@@ -2718,8 +2579,6 @@ type ThumbnailProps = ComponentPropsWithoutRef<"div"> & {
2718
2579
  width?: string;
2719
2580
  } & (IconThumbnailProps | ImageThumbnailProps);
2720
2581
  export declare const Thumbnail: FC<ThumbnailProps>;
2721
- //#endregion
2722
- //#region src/components/ThumbnailCollage/ThumbnailCollage.d.ts
2723
2582
  type ThumbnailCollageProps = {
2724
2583
  /**
2725
2584
  * An array of image urls to show in the thumbnail. Supports up to 3 images
@@ -2731,8 +2590,6 @@ type ThumbnailCollageProps = {
2731
2590
  gradientBackground?: GradientNameType;
2732
2591
  };
2733
2592
  declare const ThumbnailCollage: ({ thumbnailUrls, gradientBackground, ...props }: ThumbnailCollageProps) => JSX.Element;
2734
- //#endregion
2735
- //#region src/components/Toast/Toast.d.ts
2736
2593
  type ToastVariants = "dangerous" | "error" | "success" | "warning";
2737
2594
  type ToastProps = ComponentPropsWithoutRef<"div"> & {
2738
2595
  /**
@@ -2774,8 +2631,6 @@ type ToastProps = ComponentPropsWithoutRef<"div"> & {
2774
2631
  variant?: ToastVariants | undefined;
2775
2632
  };
2776
2633
  export declare const Toast: MemoExoticComponent<(props: ToastProps) => JSX.Element>;
2777
- //#endregion
2778
- //#region src/components/Toast/ToastContext.d.ts
2779
2634
  type UseToastProps = {
2780
2635
  message: string;
2781
2636
  variant?: ToastVariants;
@@ -2785,16 +2640,10 @@ type UseToastProps = {
2785
2640
  colorOverride?: string | undefined;
2786
2641
  };
2787
2642
  type UseToastFn = (props: UseToastProps) => void;
2788
- //#endregion
2789
- //#region src/components/Toast/useToast.d.ts
2790
2643
  export declare const useToast: () => UseToastFn;
2791
- //#endregion
2792
- //#region src/components/Toast/ToastProvider.d.ts
2793
2644
  export declare const ToastProvider: ({ children }: {
2794
2645
  children: ReactNode;
2795
2646
  }) => JSX.Element;
2796
- //#endregion
2797
- //#region src/components/Tooltip/Tooltip.d.ts
2798
2647
  type TooltipProps = Omit<ComponentPropsWithoutRef<"div">, "id"> & {
2799
2648
  /**
2800
2649
  * The node that will be wrapped by the Tooltip
@@ -2843,8 +2692,6 @@ type TooltipProps = Omit<ComponentPropsWithoutRef<"div">, "id"> & {
2843
2692
  fontColorOverride?: string;
2844
2693
  };
2845
2694
  export declare const Tooltip: FC<TooltipProps>;
2846
- //#endregion
2847
- //#region src/components/Truncate/Truncate.d.ts
2848
2695
  type TruncateProps = {
2849
2696
  /**
2850
2697
  * Prevent ellipsis from truncating mid-word
@@ -2864,8 +2711,6 @@ type TruncateProps = {
2864
2711
  terminator?: string;
2865
2712
  };
2866
2713
  export declare const Truncate: FC<TruncateProps>;
2867
- //#endregion
2868
- //#region src/components/WistiaLogo/WistiaLogo.d.ts
2869
2714
  type WistiaLogoProps = Omit<ComponentPropsWithoutRef<"svg">, "href"> & {
2870
2715
  /**
2871
2716
  * An optional accessible description for the logo
@@ -2900,6 +2745,5 @@ type WistiaLogoProps = Omit<ComponentPropsWithoutRef<"svg">, "href"> & {
2900
2745
  variant?: "dark" | "light" | "standard";
2901
2746
  };
2902
2747
  export declare const WistiaLogo: FC<WistiaLogoProps>;
2903
- //#endregion
2904
2748
  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
2749
  //# sourceMappingURL=index.d.ts.map