@jobber/components 4.79.0 → 4.79.2-STCJS-to-.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/dist/AnimatedPresence/AnimatedPresence.d.ts +1 -1
  2. package/dist/AnimatedSwitcher/AnimatedSwitcher.d.ts +1 -1
  3. package/dist/Autocomplete/Autocomplete.d.ts +1 -1
  4. package/dist/Avatar/Avatar.d.ts +1 -1
  5. package/dist/Banner/Banner.d.ts +1 -1
  6. package/dist/Button/Button.d.ts +1 -1
  7. package/dist/ButtonDismiss/ButtonDismiss.d.ts +2 -2
  8. package/dist/Card/Card.d.ts +1 -1
  9. package/dist/Checkbox/Checkbox.d.ts +1 -1
  10. package/dist/Chip/Chip.d.ts +1 -0
  11. package/dist/Chips/Chips.d.ts +1 -0
  12. package/dist/Combobox/Combobox.d.ts +1 -0
  13. package/dist/Combobox/hooks/useMakeComboboxHandlers.d.ts +1 -1
  14. package/dist/ConfirmationModal/ConfirmationModal.d.ts +1 -1
  15. package/dist/Content/Content.d.ts +1 -1
  16. package/dist/Countdown/Countdown.d.ts +1 -1
  17. package/dist/DataDump/DataDump.d.ts +1 -1
  18. package/dist/DataList/DataList.const.d.ts +1 -0
  19. package/dist/DataList/DataList.d.ts +1 -0
  20. package/dist/DataTable/DataTable.d.ts +1 -0
  21. package/dist/DatePicker/DatePicker.d.ts +1 -1
  22. package/dist/DescriptionList/DescriptionList.d.ts +2 -2
  23. package/dist/Disclosure/Disclosure.d.ts +1 -1
  24. package/dist/Divider/Divider.d.ts +1 -1
  25. package/dist/Drawer/Drawer.d.ts +1 -1
  26. package/dist/Emphasis/Emphasis.d.ts +3 -3
  27. package/dist/FeatureSwitch/FeatureSwitch.d.ts +1 -1
  28. package/dist/Flex/Flex.d.ts +1 -1
  29. package/dist/Form/Form.d.ts +1 -0
  30. package/dist/FormField/FormField.d.ts +1 -0
  31. package/dist/FormatDate/FormatDate.d.ts +1 -1
  32. package/dist/FormatEmail/FormatEmail.d.ts +1 -1
  33. package/dist/FormatFile/FormatFile.d.ts +1 -1
  34. package/dist/FormatRelativeDateTime/FormatRelativeDateTime.d.ts +1 -1
  35. package/dist/FormatTime/FormatTime.d.ts +1 -1
  36. package/dist/Gallery/Gallery.d.ts +1 -0
  37. package/dist/Glimmer/Glimmer.d.ts +1 -1
  38. package/dist/Grid/Grid.d.ts +1 -1
  39. package/dist/Heading/Heading.d.ts +1 -1
  40. package/dist/Icon/Icon.d.ts +1 -0
  41. package/dist/InlineLabel/InlineLabel.d.ts +4 -4
  42. package/dist/InputAvatar/InputAvatar.d.ts +1 -1
  43. package/dist/InputDate/InputDate.d.ts +1 -1
  44. package/dist/InputEmail/InputEmail.d.ts +1 -1
  45. package/dist/InputFile/InputFile.d.ts +1 -1
  46. package/dist/InputGroup/InputGroup.d.ts +1 -1
  47. package/dist/InputNumber/InputNumber.d.ts +2 -1
  48. package/dist/InputPassword/InputPassword.d.ts +3 -3
  49. package/dist/InputPhoneNumber/InputPhoneNumber.d.ts +1 -1
  50. package/dist/InputText/InputText.d.ts +1 -0
  51. package/dist/InputTime/InputTime.d.ts +1 -0
  52. package/dist/InputValidation/InputValidation.d.ts +1 -1
  53. package/dist/LightBox/LightBox.d.ts +1 -1
  54. package/dist/Link/Link.d.ts +1 -0
  55. package/dist/List/List.d.ts +1 -1
  56. package/dist/Markdown/Markdown.d.ts +1 -1
  57. package/dist/Menu/Menu.d.ts +5 -4
  58. package/dist/Modal/Modal.d.ts +1 -0
  59. package/dist/MultiSelect/MultiSelect.d.ts +1 -1
  60. package/dist/Page/Page.d.ts +1 -1
  61. package/dist/Popover/Popover.d.ts +1 -0
  62. package/dist/ProgressBar/ProgressBar.d.ts +1 -1
  63. package/dist/RadioGroup/RadioGroup.d.ts +1 -1
  64. package/dist/RecurringSelect/RecurringSelect.d.ts +1 -1
  65. package/dist/RecurringSelect/components/DayOfMonthSelect.d.ts +2 -2
  66. package/dist/RecurringSelect/components/WeeklySelect.d.ts +2 -2
  67. package/dist/Select/Select.d.ts +1 -1
  68. package/dist/Spinner/Spinner.d.ts +1 -1
  69. package/dist/StatusLabel/StatusLabel.d.ts +1 -1
  70. package/dist/Switch/Switch.d.ts +1 -1
  71. package/dist/Table/Table.d.ts +2 -2
  72. package/dist/Tabs/Tabs.d.ts +1 -1
  73. package/dist/Text/Text.d.ts +2 -2
  74. package/dist/Toast/Toast.d.ts +1 -1
  75. package/dist/Tooltip/Tooltip.d.ts +1 -1
  76. package/dist/Typography/Typography.d.ts +2 -2
  77. package/dist/index.d.ts +72 -0
  78. package/dist/index.js +6479 -0
  79. package/package.json +6 -10
  80. package/rollup.config.js +15 -78
  81. package/dist/AnimatedPresence/index.js +0 -106
  82. package/dist/AnimatedSwitcher/index.js +0 -13
  83. package/dist/AnimatedSwitcher-3d45ec5d.js +0 -96
  84. package/dist/Autocomplete/index.js +0 -209
  85. package/dist/Avatar/index.js +0 -15
  86. package/dist/Avatar-76a799fa.js +0 -78
  87. package/dist/Banner/index.js +0 -110
  88. package/dist/Button/index.js +0 -16
  89. package/dist/Button-b73a5e01.js +0 -57
  90. package/dist/ButtonDismiss/index.js +0 -17
  91. package/dist/ButtonDismiss-350af163.js +0 -14
  92. package/dist/Card/colors.css.d.ts +0 -89
  93. package/dist/Card/index.js +0 -24
  94. package/dist/Card-426a68a8.js +0 -93
  95. package/dist/Checkbox/index.js +0 -19
  96. package/dist/Checkbox-99f6297f.js +0 -64
  97. package/dist/Chip/index.js +0 -40
  98. package/dist/Chip-c91fd6c8.js +0 -89
  99. package/dist/Chips/index.js +0 -524
  100. package/dist/Combobox/index.js +0 -37
  101. package/dist/Combobox-d4b84edf.js +0 -476
  102. package/dist/ConfirmationModal/index.js +0 -31
  103. package/dist/ConfirmationModal-f1a049fb.js +0 -100
  104. package/dist/Content/Spacing.css.d.ts +0 -13
  105. package/dist/Content/index.js +0 -12
  106. package/dist/Content-e3f7b6fc.js +0 -24
  107. package/dist/Countdown/index.js +0 -72
  108. package/dist/DataDump/index.js +0 -37
  109. package/dist/DataList/index.js +0 -1340
  110. package/dist/DataTable/index.js +0 -302
  111. package/dist/DatePicker/index.js +0 -20
  112. package/dist/DatePicker-64c5ab1a.js +0 -134
  113. package/dist/DescriptionList/index.js +0 -24
  114. package/dist/Disclosure/index.js +0 -46
  115. package/dist/Divider/index.js +0 -29
  116. package/dist/Drawer/index.js +0 -50
  117. package/dist/Emphasis/index.js +0 -13
  118. package/dist/Emphasis-bda56d3b.js +0 -19
  119. package/dist/FeatureSwitch/index.js +0 -70
  120. package/dist/Flex/index.js +0 -40
  121. package/dist/Form/index.js +0 -56
  122. package/dist/FormField/index.js +0 -25
  123. package/dist/FormField-b4e6c549.js +0 -254
  124. package/dist/FormatDate/index.js +0 -11
  125. package/dist/FormatDate-70ea5b43.js +0 -34
  126. package/dist/FormatEmail/index.js +0 -23
  127. package/dist/FormatFile/index.js +0 -36
  128. package/dist/FormatFile-652edda8.js +0 -162
  129. package/dist/FormatRelativeDateTime/index.js +0 -72
  130. package/dist/FormatTime/index.js +0 -36
  131. package/dist/Gallery/Gallery.css.d.ts +0 -9
  132. package/dist/Gallery/index.js +0 -99
  133. package/dist/Glimmer/index.js +0 -15
  134. package/dist/Glimmer/style/Shape.css.d.ts +0 -9
  135. package/dist/Glimmer/style/Sizes.css.d.ts +0 -10
  136. package/dist/Glimmer/style/Timing.css.d.ts +0 -6
  137. package/dist/Glimmer-7c317864.js +0 -77
  138. package/dist/Grid/GridAlign.css.d.ts +0 -8
  139. package/dist/Grid/index.js +0 -76
  140. package/dist/Heading/index.js +0 -14
  141. package/dist/Heading-1e8e4bd3.js +0 -55
  142. package/dist/Icon/index.js +0 -11
  143. package/dist/Icon-405a216c.js +0 -40
  144. package/dist/InlineLabel/index.js +0 -13
  145. package/dist/InlineLabel-a6557829.js +0 -28
  146. package/dist/InputAvatar/index.js +0 -71
  147. package/dist/InputDate/index.js +0 -58
  148. package/dist/InputEmail/index.js +0 -44
  149. package/dist/InputFile/index.js +0 -26
  150. package/dist/InputFile-c9eeb04b.js +0 -188
  151. package/dist/InputGroup/index.js +0 -12
  152. package/dist/InputGroup-8d4fd4eb.js +0 -33
  153. package/dist/InputNumber/index.js +0 -26
  154. package/dist/InputNumber-ceae3872.js +0 -62
  155. package/dist/InputPassword/index.js +0 -42
  156. package/dist/InputPhoneNumber/index.js +0 -117
  157. package/dist/InputText/index.js +0 -26
  158. package/dist/InputText-6e356985.js +0 -101
  159. package/dist/InputTime/index.js +0 -210
  160. package/dist/InputValidation/index.js +0 -17
  161. package/dist/InputValidation-05e839fa.js +0 -29
  162. package/dist/LightBox/index.js +0 -24
  163. package/dist/LightBox-a89d8863.js +0 -117
  164. package/dist/Link/index.js +0 -15
  165. package/dist/List/index.js +0 -93
  166. package/dist/Markdown/index.js +0 -19
  167. package/dist/Markdown-f7c55304.js +0 -62
  168. package/dist/Menu/index.js +0 -21
  169. package/dist/Menu-81b12936.js +0 -139
  170. package/dist/Modal/Sizes.css.d.ts +0 -6
  171. package/dist/Modal/index.js +0 -25
  172. package/dist/Modal-a0627c92.js +0 -71
  173. package/dist/MultiSelect/index.js +0 -183
  174. package/dist/Option-8565da71.js +0 -19
  175. package/dist/Page/index.js +0 -78
  176. package/dist/Popover/index.js +0 -61
  177. package/dist/ProgressBar/Sizes.css.d.ts +0 -7
  178. package/dist/ProgressBar/index.js +0 -12
  179. package/dist/ProgressBar-b68edc8f.js +0 -43
  180. package/dist/RadioGroup/index.js +0 -16
  181. package/dist/RadioGroup-ca7a5978.js +0 -47
  182. package/dist/RecurringSelect/index.js +0 -228
  183. package/dist/Select/index.js +0 -27
  184. package/dist/Spinner/index.js +0 -12
  185. package/dist/Spinner-9d8fc7ff.js +0 -24
  186. package/dist/StatusLabel/index.js +0 -30
  187. package/dist/Switch/index.js +0 -13
  188. package/dist/Switch-7d4aa7c3.js +0 -56
  189. package/dist/Table/index.js +0 -66
  190. package/dist/Tabs/index.js +0 -80
  191. package/dist/Text/index.js +0 -13
  192. package/dist/Text-259af966.js +0 -31
  193. package/dist/Toast/index.js +0 -111
  194. package/dist/Tooltip/index.js +0 -15
  195. package/dist/Tooltip-27771182.js +0 -111
  196. package/dist/Typography/css/Emphasis.css.d.ts +0 -6
  197. package/dist/Typography/css/FontFamilies.css.d.ts +0 -6
  198. package/dist/Typography/css/FontSizes.css.d.ts +0 -12
  199. package/dist/Typography/css/FontWeights.css.d.ts +0 -10
  200. package/dist/Typography/css/TextAlignment.css.d.ts +0 -7
  201. package/dist/Typography/css/TextCases.css.d.ts +0 -7
  202. package/dist/Typography/css/TextColors.css.d.ts +0 -22
  203. package/dist/Typography/css/Truncate.css.d.ts +0 -5
  204. package/dist/Typography/css/Typography.css.d.ts +0 -5
  205. package/dist/Typography/index.js +0 -12
  206. package/dist/Typography-c45bf216.js +0 -62
  207. package/dist/getAtlantisConfig-0f3e8af2.js +0 -13
  208. package/dist/style-inject.es-9d2f5f4e.js +0 -30
  209. package/dist/tslib.es6-754e2961.js +0 -46
@@ -21,4 +21,4 @@ interface AnimatedPresenceProps extends Required<PropsWithChildren> {
21
21
  readonly initial?: boolean;
22
22
  }
23
23
  export declare function AnimatedPresence(props: AnimatedPresenceProps): JSX.Element;
24
- export {};
24
+ export default AnimatedPresence;
@@ -28,4 +28,4 @@ interface AnimatedSwitcherIconProps extends Pick<AnimatedSwitcherProps, "switche
28
28
  readonly initialIcon: IconNames;
29
29
  readonly switchToIcon: IconNames;
30
30
  }
31
- export {};
31
+ export default AnimatedSwitcher;
@@ -47,4 +47,4 @@ interface AutocompleteProps extends Pick<FormFieldProps, "invalid" | "name" | "o
47
47
  readonly placeholder: string;
48
48
  }
49
49
  export declare const Autocomplete: React.ForwardRefExoticComponent<AutocompleteProps & React.RefAttributes<InputTextRef>>;
50
- export {};
50
+ export default Autocomplete;
@@ -35,4 +35,4 @@ interface AvatarWithInitialsProps extends AvatarFoundationProps {
35
35
  }
36
36
  export type AvatarProps = XOR<AvatarWithImageProps, AvatarWithInitialsProps>;
37
37
  export declare function Avatar({ imageUrl, name, initials, size, color, }: AvatarProps): JSX.Element;
38
- export {};
38
+ export default Avatar;
@@ -21,4 +21,4 @@ interface BannerProps {
21
21
  onDismiss?(): void;
22
22
  }
23
23
  export declare function Banner({ children, type, primaryAction, dismissible, icon, onDismiss, }: BannerProps): JSX.Element | null;
24
- export {};
24
+ export default Banner;
@@ -68,4 +68,4 @@ interface BasicButtonProps extends ButtonFoundationProps {
68
68
  }
69
69
  export type ButtonProps = XOR<BaseActionProps, XOR<DestructiveActionProps, SubmitActionProps>> & XOR<XOR<SubmitButtonProps, BasicButtonProps>, XOR<ButtonLinkProps, ButtonAnchorProps>> & XOR<ButtonIconProps, ButtonLabelProps>;
70
70
  export declare function Button(props: ButtonProps): JSX.Element;
71
- export {};
71
+ export default Button;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  interface ButtonDismissProps {
3
3
  onClick?(event: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>): void;
4
- ariaLabel: string;
4
+ readonly ariaLabel: string;
5
5
  }
6
6
  export declare function ButtonDismiss({ onClick, ariaLabel }: ButtonDismissProps): JSX.Element;
7
- export {};
7
+ export default ButtonDismiss;
@@ -16,4 +16,4 @@ interface ClickableCardProps extends CardProps {
16
16
  }
17
17
  type CardPropOptions = XOR<CardProps, XOR<LinkCardProps, ClickableCardProps>>;
18
18
  export declare function Card({ accent, header, children, onClick, title, url, external, }: CardPropOptions): JSX.Element;
19
- export {};
19
+ export default Card;
@@ -50,4 +50,4 @@ interface CheckboxChildrenProps extends BaseCheckboxProps {
50
50
  }
51
51
  type CheckboxProps = XOR<CheckboxLabelProps, CheckboxChildrenProps>;
52
52
  export declare function Checkbox({ checked, defaultChecked, disabled, label, name, value, indeterminate, description, children, onChange, onFocus, }: CheckboxProps): JSX.Element;
53
- export {};
53
+ export default Checkbox;
@@ -6,3 +6,4 @@ export declare const Chip: {
6
6
  Prefix: typeof ChipPrefix;
7
7
  Suffix: typeof ChipSuffix;
8
8
  };
9
+ export default Chip;
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ChipsProps } from "./ChipsTypes";
3
3
  export declare function Chips(props: ChipsProps): JSX.Element;
4
+ export default Chips;
@@ -9,3 +9,4 @@ export declare namespace Combobox {
9
9
  var Action: typeof ComboboxAction;
10
10
  var Option: typeof ComboboxOptionComponent;
11
11
  }
12
+ export default Combobox;
@@ -4,4 +4,4 @@ export interface UseMakeComboboxHandlersReturn {
4
4
  handleClose: () => void;
5
5
  handleSelection: (selection: ComboboxOption) => void;
6
6
  }
7
- export declare function useMakeComboboxHandlers(setOpen: (open: boolean) => void, setSearchValue: (searchValue: string) => void, selectedOptions: ComboboxOption[], shouldScroll: React.MutableRefObject<boolean>, selectedStateSetter: (selected: ComboboxOption[]) => void, multiSelect?: boolean, onClose?: () => void): UseMakeComboboxHandlersReturn;
7
+ export declare function useMakeComboboxHandlers(setOpen: (open: boolean) => void, setSearchValue: (searchValue: string) => void, selectedOptions: ComboboxOption[], shouldScroll: React.MutableRefObject<boolean>, selectedStateSetter: (selected: ComboboxOption[]) => void, multiSelect?: boolean, onClose?: () => void, onSearch?: (searchValue: string) => void): UseMakeComboboxHandlersReturn;
@@ -75,4 +75,4 @@ export interface StringMessage extends BaseConfirmationModalProps {
75
75
  children?: never;
76
76
  }
77
77
  export declare const ConfirmationModal: React.ForwardRefExoticComponent<((SimpleConfirmationModalProps & (ChildrenMessage | StringMessage)) | Omit<ComplexConfirmationModalProps & ChildrenMessage, "ref"> | Omit<ComplexConfirmationModalProps & StringMessage, "ref">) & React.RefAttributes<ConfirmationModalRef>>;
78
- export {};
78
+ export default ConfirmationModal;
@@ -19,4 +19,4 @@ interface ContentProps {
19
19
  export declare function Content({ children, spacing, type, }: ContentProps): import("react").DetailedReactHTMLElement<{
20
20
  className: string;
21
21
  }, HTMLElement>;
22
- export {};
22
+ export default Content;
@@ -29,4 +29,4 @@ interface CountdownProps {
29
29
  onComplete?(): void;
30
30
  }
31
31
  export declare function Countdown({ date: inputDate, onComplete, showUnits, granularity, }: CountdownProps): JSX.Element;
32
- export {};
32
+ export default Countdown;
@@ -18,4 +18,4 @@ interface DataDebuggerProps {
18
18
  readonly data: unknown;
19
19
  }
20
20
  export declare function DataDump({ label, defaultOpen, data, }: DataDebuggerProps): JSX.Element;
21
- export {};
21
+ export default DataDump;
@@ -15,6 +15,7 @@ export declare const SEARCH_DEBOUNCE_DELAY: number;
15
15
  export declare const DATA_LIST_FILTERING_SPINNER_TEST_ID = "ATL-DataList-filteringSpinner";
16
16
  export declare const DATA_LIST_LOADING_MORE_SPINNER_TEST_ID = "ATL-DataList-loadingMoreSpinner";
17
17
  export declare const DATA_LOAD_MORE_TEST_ID = "ATL-DataList-LoadMore-trigger";
18
+ export declare const DATA_LIST_STICKY_HEADER_TEST_ID = "ATL-DataList-stickyHeader";
18
19
  export declare const TRANSITION_DURATION_IN_SECONDS: number;
19
20
  export declare const TRANSITION_DELAY_IN_SECONDS: number;
20
21
  export {};
@@ -22,3 +22,4 @@ export declare namespace DataList {
22
22
  var BatchAction: (props: DataListBulkActionProps) => JSX.Element;
23
23
  var StatusBar: typeof DataListStatusBar;
24
24
  }
25
+ export default DataList;
@@ -55,3 +55,4 @@ export interface DataTableProps<T> {
55
55
  readonly loading?: boolean;
56
56
  }
57
57
  export declare function DataTable<T extends object>({ data, columns, pagination, sorting, height, stickyHeader, pinFirstColumn, onRowClick, emptyState, loading, }: DataTableProps<T>): JSX.Element;
58
+ export default DataTable;
@@ -58,4 +58,4 @@ interface DatePickerInlineProps extends BaseDatePickerProps {
58
58
  }
59
59
  type DatePickerProps = XOR<DatePickerModalProps, DatePickerInlineProps>;
60
60
  export declare function DatePicker({ onChange, onMonthChange, activator, inline, selected, readonly, disabled, fullWidth, smartAutofocus, maxDate, minDate, highlightDates, }: DatePickerProps): JSX.Element;
61
- export {};
61
+ export default DatePicker;
@@ -4,7 +4,7 @@ interface DescriptionListProps {
4
4
  * A tuple where the first item is the string to display as the term
5
5
  * and the second value is the string to display as the definition
6
6
  */
7
- data: [string, string | ReactNode][];
7
+ readonly data: [string, string | ReactNode][];
8
8
  }
9
9
  export declare function DescriptionList({ data }: DescriptionListProps): JSX.Element;
10
- export {};
10
+ export default DescriptionList;
@@ -17,4 +17,4 @@ interface DisclosureProps {
17
17
  readonly defaultOpen?: boolean;
18
18
  }
19
19
  export declare function Disclosure({ children, title, defaultOpen, }: DisclosureProps): JSX.Element;
20
- export {};
20
+ export default Disclosure;
@@ -14,4 +14,4 @@ interface DividerProps {
14
14
  readonly direction?: "horizontal" | "vertical";
15
15
  }
16
16
  export declare function Divider({ size, direction, }: DividerProps): JSX.Element;
17
- export {};
17
+ export default Divider;
@@ -10,4 +10,4 @@ interface DrawerProps {
10
10
  onRequestClose(): void;
11
11
  }
12
12
  export declare function Drawer({ title, children, open, onRequestClose, id, }: DrawerProps): JSX.Element;
13
- export {};
13
+ export default Drawer;
@@ -1,11 +1,11 @@
1
1
  import { ReactNode } from "react";
2
2
  import { TypographyOptions } from "../Typography";
3
3
  interface EmphasisProps {
4
- variation: "bold" | "italic" | "highlight";
5
- children: ReactNode;
4
+ readonly variation: "bold" | "italic" | "highlight";
5
+ readonly children: ReactNode;
6
6
  }
7
7
  export interface VariationMap {
8
8
  [variation: string]: TypographyOptions;
9
9
  }
10
10
  export declare function Emphasis({ variation, children }: EmphasisProps): JSX.Element;
11
- export {};
11
+ export default Emphasis;
@@ -48,4 +48,4 @@ interface FeatureSwitchProps {
48
48
  onEdit?(): void;
49
49
  }
50
50
  export declare function FeatureSwitch({ children, description, disabled, enabled, externalLink, onEdit, onSwitch, hasSaveIndicator, title, }: FeatureSwitchProps): JSX.Element;
51
- export {};
51
+ export default FeatureSwitch;
@@ -29,4 +29,4 @@ interface FlexProps extends PropsWithChildren {
29
29
  readonly direction?: Direction;
30
30
  }
31
31
  export declare function Flex({ align, children, direction, gap, template, }: FlexProps): JSX.Element;
32
- export {};
32
+ export default Flex;
@@ -15,3 +15,4 @@ export interface FormProps {
15
15
  }): void;
16
16
  }
17
17
  export declare const Form: React.ForwardRefExoticComponent<FormProps & React.RefAttributes<FormRef>>;
18
+ export default Form;
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { FormFieldProps } from "./FormFieldTypes";
3
3
  export declare function FormField(props: FormFieldProps): JSX.Element;
4
+ export default FormField;
@@ -14,4 +14,4 @@ interface FormatDateProps {
14
14
  }
15
15
  export declare function FormatDate({ date: inputDate, showYear, }: FormatDateProps): JSX.Element;
16
16
  export declare function strFormatDate(date: Date, showYear?: boolean): string;
17
- export {};
17
+ export default FormatDate;
@@ -6,4 +6,4 @@ interface FormatEmailProps {
6
6
  readonly email: string;
7
7
  }
8
8
  export declare function FormatEmail({ email }: FormatEmailProps): JSX.Element;
9
- export {};
9
+ export default FormatEmail;
@@ -27,4 +27,4 @@ interface FormatFileProps {
27
27
  onDelete?(): void;
28
28
  }
29
29
  export declare function FormatFile({ file, display, displaySize, onDelete, onClick, }: FormatFileProps): JSX.Element;
30
- export {};
30
+ export default FormatFile;
@@ -9,4 +9,4 @@ interface FormatRelativeDateTimeProps {
9
9
  readonly date: CivilDateTime | Date | string;
10
10
  }
11
11
  export declare function FormatRelativeDateTime({ date: inputDate, }: FormatRelativeDateTimeProps): JSX.Element;
12
- export {};
12
+ export default FormatRelativeDateTime;
@@ -13,4 +13,4 @@ interface FormatTimeProps {
13
13
  readonly use24HourClock?: boolean;
14
14
  }
15
15
  export declare function FormatTime({ time: inputTime, use24HourClock, }: FormatTimeProps): JSX.Element;
16
- export {};
16
+ export default FormatTime;
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { GalleryProps } from "./GalleryTypes";
3
3
  export declare function Gallery({ files, size, max, onDelete }: GalleryProps): JSX.Element;
4
+ export default Gallery;
@@ -75,4 +75,4 @@ interface GlimmerButtonProps extends Omit<GlimmerProps, "shape" | "size"> {
75
75
  */
76
76
  readonly fullWidth?: boolean;
77
77
  }
78
- export {};
78
+ export default Glimmer;
@@ -23,4 +23,4 @@ export declare function Grid({ alignItems, gap, children, }: GridProps): JSX.Ele
23
23
  export declare namespace Grid {
24
24
  var Cell: typeof GridCell;
25
25
  }
26
- export {};
26
+ export default Grid;
@@ -10,4 +10,4 @@ interface HeadingProps {
10
10
  }
11
11
  export type LevelMap = Record<HeadingLevel, TypographyOptions>;
12
12
  export declare function Heading({ level, children }: HeadingProps): JSX.Element;
13
- export {};
13
+ export default Heading;
@@ -21,3 +21,4 @@ export interface IconProps {
21
21
  readonly customColor?: string;
22
22
  }
23
23
  export declare function Icon({ name, color, customColor, size }: IconProps): JSX.Element;
24
+ export default Icon;
@@ -5,13 +5,13 @@ interface InlineLabelProps {
5
5
  * The size of the label
6
6
  * @default base
7
7
  */
8
- size?: "base" | "large" | "larger";
8
+ readonly size?: "base" | "large" | "larger";
9
9
  /**
10
10
  * The color of the label
11
11
  * @default "greyBlue"
12
12
  */
13
- color?: InlineLabelColors;
14
- children: ReactNode;
13
+ readonly color?: InlineLabelColors;
14
+ readonly children: ReactNode;
15
15
  }
16
16
  export declare function InlineLabel({ size, color, children, }: InlineLabelProps): JSX.Element;
17
- export {};
17
+ export default InlineLabel;
@@ -20,4 +20,4 @@ interface InputAvatarProps extends Omit<AvatarProps, "size"> {
20
20
  onUploadComplete?(file?: FileUpload): void;
21
21
  }
22
22
  export declare function InputAvatar({ getUploadParams, onUploadComplete, onChange, ...avatarProps }: InputAvatarProps): JSX.Element;
23
- export {};
23
+ export default InputAvatar;
@@ -17,4 +17,4 @@ interface InputDateProps extends Omit<CommonFormFieldProps, "clearable">, Pick<F
17
17
  readonly minDate?: Date;
18
18
  }
19
19
  export declare function InputDate(inputProps: InputDateProps): JSX.Element;
20
- export {};
20
+ export default InputDate;
@@ -3,4 +3,4 @@ import { CommonFormFieldProps, FormFieldProps } from "../FormField";
3
3
  type InputEmailProps = CommonFormFieldProps & Pick<FormFieldProps, "maxLength" | "readonly" | "validations" | "defaultValue">;
4
4
  export declare const validationMessage = "Please enter a valid email";
5
5
  export declare function InputEmail(props: InputEmailProps): JSX.Element;
6
- export {};
6
+ export default InputEmail;
@@ -133,4 +133,4 @@ export declare function InputFile({ variation, size, buttonLabel: providedButton
133
133
  * @returns FileUpload[] updated set of files.
134
134
  */
135
135
  export declare function updateFiles(updatedFile: FileUpload, files: FileUpload[]): FileUpload[];
136
- export {};
136
+ export default InputFile;
@@ -8,4 +8,4 @@ interface InputGroupProps {
8
8
  readonly flowDirection?: "horizontal" | "vertical";
9
9
  }
10
10
  export declare function InputGroup({ children, flowDirection, }: InputGroupProps): JSX.Element;
11
- export {};
11
+ export default InputGroup;
@@ -1,10 +1,11 @@
1
1
  import React from "react";
2
2
  import { CommonFormFieldProps, FormFieldProps } from "../FormField";
3
3
  export interface InputNumberProps extends CommonFormFieldProps, Pick<FormFieldProps, "maxLength" | "autocomplete" | "max" | "min" | "onEnter" | "onFocus" | "onBlur" | "inputRef" | "validations" | "readonly" | "defaultValue" | "keyboard" | "prefix" | "suffix"> {
4
- value?: number;
4
+ readonly value?: number;
5
5
  }
6
6
  export interface InputNumberRef {
7
7
  blur(): void;
8
8
  focus(): void;
9
9
  }
10
10
  export declare const InputNumber: React.ForwardRefExoticComponent<InputNumberProps & React.RefAttributes<InputNumberRef>>;
11
+ export default InputNumber;
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import { CommonFormFieldProps, FormFieldProps } from "../FormField";
3
3
  interface InputPasswordProps extends CommonFormFieldProps, Pick<FormFieldProps, "autocomplete" | "onEnter" | "onFocus" | "onBlur" | "inputRef" | "validations" | "defaultValue"> {
4
- value?: string;
4
+ readonly value?: string;
5
5
  onChange?(newValue: string): void;
6
6
  /**
7
7
  * Display toggle to change the visibility of the password input
8
8
  * @default false
9
9
  */
10
- hasVisibility?: boolean;
10
+ readonly hasVisibility?: boolean;
11
11
  }
12
12
  export declare function InputPassword(props: InputPasswordProps): JSX.Element;
13
- export {};
13
+ export default InputPassword;
@@ -17,4 +17,4 @@ interface InputPhoneNumberProps extends Omit<CommonFormFieldProps, "align">, Pic
17
17
  readonly required?: boolean;
18
18
  }
19
19
  export declare function InputPhoneNumber({ required, ...props }: InputPhoneNumberProps): JSX.Element;
20
- export {};
20
+ export default InputPhoneNumber;
@@ -86,3 +86,4 @@ export declare const InputText: React.ForwardRefExoticComponent<({
86
86
  readonly readonly?: boolean | undefined;
87
87
  readonly validations?: import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string> | undefined;
88
88
  }) & React.RefAttributes<InputTextRef>>;
89
+ export default InputText;
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { InputTimeProps } from "./InputTimeProps";
3
3
  export declare function InputTime({ defaultValue, value, onChange, ...params }: InputTimeProps): JSX.Element;
4
+ export default InputTime;
@@ -6,4 +6,4 @@ interface InputValidationProps {
6
6
  readonly message: string;
7
7
  }
8
8
  export declare function InputValidation({ message }: InputValidationProps): JSX.Element;
9
- export {};
9
+ export default InputValidation;
@@ -34,4 +34,4 @@ interface LightBoxProps {
34
34
  onRequestClose(options: RequestCloseOptions): void;
35
35
  }
36
36
  export declare function LightBox({ open, images, imageIndex, onRequestClose, }: LightBoxProps): React.ReactPortal;
37
- export {};
37
+ export default LightBox;
@@ -6,3 +6,4 @@ export interface LinkProps {
6
6
  readonly external?: boolean;
7
7
  }
8
8
  export declare function Link({ url, children, ariaLabel, ariaExpanded, external, }: PropsWithChildren<LinkProps>): JSX.Element;
9
+ export default Link;
@@ -7,4 +7,4 @@ interface ListProps {
7
7
  readonly items: ListItemProps[];
8
8
  }
9
9
  export declare function List({ items }: ListProps): JSX.Element;
10
- export {};
10
+ export default List;
@@ -15,4 +15,4 @@ interface MarkdownProps {
15
15
  readonly basicUsage?: boolean;
16
16
  }
17
17
  export declare function Markdown({ content, externalLink, basicUsage }: MarkdownProps): JSX.Element;
18
- export {};
18
+ export default Markdown;
@@ -25,15 +25,15 @@ export interface ActionProps {
25
25
  /**
26
26
  * Action label
27
27
  */
28
- label: string;
28
+ readonly label: string;
29
29
  /**
30
30
  * Parent Section Label
31
31
  */
32
- sectionLabel?: string;
32
+ readonly sectionLabel?: string;
33
33
  /**
34
34
  * Visual cue for the action label
35
35
  */
36
- icon?: IconNames;
36
+ readonly icon?: IconNames;
37
37
  /**
38
38
  * Callback when an action gets clicked
39
39
  */
@@ -41,5 +41,6 @@ export interface ActionProps {
41
41
  /**
42
42
  * Focus on the action when rendered
43
43
  */
44
- shouldFocus?: boolean;
44
+ readonly shouldFocus?: boolean;
45
45
  }
46
+ export default Menu;
@@ -19,3 +19,4 @@ export interface ModalProps {
19
19
  onRequestClose?(): void;
20
20
  }
21
21
  export declare function Modal({ open, title, size, dismissible, children, primaryAction, secondaryAction, tertiaryAction, onRequestClose, }: ModalProps): React.ReactPortal;
22
+ export default Modal;
@@ -23,4 +23,4 @@ interface MultiSelectProps {
23
23
  readonly size?: "small" | "large";
24
24
  }
25
25
  export declare function MultiSelect({ defaultLabel, allSelectedLabel, options, onOptionsChange, size, }: MultiSelectProps): JSX.Element;
26
- export {};
26
+ export default MultiSelect;
@@ -56,4 +56,4 @@ interface PageWithIntroProps extends PageFoundationProps {
56
56
  }
57
57
  export type PageProps = XOR<PageFoundationProps, PageWithIntroProps>;
58
58
  export declare function Page({ title, intro, externalIntroLinks, subtitle, children, width, primaryAction, secondaryAction, moreActionsMenu, }: PageProps): JSX.Element;
59
- export {};
59
+ export default Page;
@@ -24,3 +24,4 @@ export interface PopoverProps {
24
24
  readonly preferredPlacement?: "top" | "bottom" | "left" | "right" | "auto";
25
25
  }
26
26
  export declare function Popover({ onRequestClose, children, attachTo, open, preferredPlacement, }: PopoverProps): JSX.Element;
27
+ export default Popover;
@@ -21,4 +21,4 @@ interface ProgressBarProps {
21
21
  readonly variation?: "progress" | "stepped";
22
22
  }
23
23
  export declare function ProgressBar({ currentStep, totalSteps, size, variation, }: ProgressBarProps): JSX.Element;
24
- export {};
24
+ export default ProgressBar;
@@ -24,4 +24,4 @@ interface RadioGroupProps {
24
24
  readonly name?: string;
25
25
  }
26
26
  export declare function RadioGroup({ children, value, ariaLabel, onChange, name, }: RadioGroupProps): JSX.Element;
27
- export {};
27
+ export default RadioGroup;
@@ -6,4 +6,4 @@ interface RecurringSelectProps {
6
6
  onChange(value: RecurrenceRule): void;
7
7
  }
8
8
  export declare function RecurringSelect({ value, disabled, onChange, }: RecurringSelectProps): JSX.Element;
9
- export {};
9
+ export default RecurringSelect;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { DayOfMonth } from "../types";
3
3
  interface DayOfMonthSelectProps {
4
- selectedDays: Set<DayOfMonth>;
5
- disabled: boolean;
4
+ readonly selectedDays: Set<DayOfMonth>;
5
+ readonly disabled: boolean;
6
6
  onChange(selectedDays: Set<DayOfMonth>): void;
7
7
  }
8
8
  export declare function DayOfMonthSelect({ selectedDays, disabled, onChange, }: DayOfMonthSelectProps): JSX.Element;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { WeekDay } from "../types";
3
3
  interface WeeklySelectProps {
4
- disabled: boolean;
5
- selectedDays: Set<WeekDay>;
4
+ readonly disabled: boolean;
5
+ readonly selectedDays: Set<WeekDay>;
6
6
  onChange(selectedDays: Set<WeekDay>): void;
7
7
  }
8
8
  export declare function WeeklySelect({ onChange, selectedDays, disabled, }: WeeklySelectProps): JSX.Element;
@@ -8,4 +8,4 @@ import { FormFieldProps } from "../FormField";
8
8
  */
9
9
  type SelectProps = Pick<FormFieldProps, Exclude<keyof FormFieldProps, "type" | "rows" | "keyboard" | "actionsRef" | "clearable">>;
10
10
  export declare function Select(props: SelectProps): JSX.Element;
11
- export {};
11
+ export default Select;
@@ -13,4 +13,4 @@ interface SpinnerProps {
13
13
  readonly inline?: boolean;
14
14
  }
15
15
  export declare function Spinner({ size, inline }: SpinnerProps): JSX.Element;
16
- export {};
16
+ export default Spinner;
@@ -23,4 +23,4 @@ interface StatusLabelProps {
23
23
  readonly status: StatusType;
24
24
  }
25
25
  export declare function StatusLabel({ label, alignment, status, }: StatusLabelProps): JSX.Element;
26
- export {};
26
+ export default StatusLabel;
@@ -12,4 +12,4 @@ interface SwitchProps {
12
12
  onChange?(newValue: boolean): void;
13
13
  }
14
14
  export declare function Switch({ value: providedValue, ariaLabel, name, disabled, onChange, }: SwitchProps): JSX.Element;
15
- export {};
15
+ export default Switch;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from "react";
2
2
  interface TableProps {
3
- children: ReactElement | ReactElement[];
3
+ readonly children: ReactElement | ReactElement[];
4
4
  }
5
5
  export declare function Table({ children }: TableProps): JSX.Element;
6
- export {};
6
+ export default Table;
@@ -27,4 +27,4 @@ interface InternalTabProps {
27
27
  onClick?(event: React.MouseEvent<HTMLButtonElement>): void;
28
28
  }
29
29
  export declare function InternalTab({ label, selected, activateTab, onClick, }: InternalTabProps): JSX.Element;
30
- export {};
30
+ export default Tabs;
@@ -1,9 +1,9 @@
1
1
  import { PropsWithChildren } from "react";
2
2
  interface TextProps {
3
- maxLines?: "single" | "small" | "base" | "large" | "larger" | "unlimited";
3
+ readonly maxLines?: "single" | "small" | "base" | "large" | "larger" | "unlimited";
4
4
  readonly variation?: "default" | "subdued" | "success" | "error" | "warn" | "info" | "disabled";
5
5
  readonly align?: "start" | "center" | "end";
6
6
  readonly size?: "small" | "base" | "large";
7
7
  }
8
8
  export declare function Text({ variation, size, align, children, maxLines, }: PropsWithChildren<TextProps>): JSX.Element;
9
- export {};
9
+ export default Text;
@@ -23,4 +23,4 @@ export interface ToastRef {
23
23
  add(props: ToastProps): void;
24
24
  }
25
25
  export declare function Toast({ message, variation, action, actionLabel, }: ToastPropsInternal): JSX.Element;
26
- export {};
26
+ export default Toast;