@cerebruminc/cerebellum 11.2.0 → 11.2.1

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 (136) hide show
  1. package/lib/cjs/{CheckboxGroup-0b818a73.js → CheckboxGroup-61c52880.js} +2 -2
  2. package/lib/cjs/CheckboxGroup-61c52880.js.map +1 -0
  3. package/lib/cjs/CheckboxGroup.cjs +1 -1
  4. package/lib/cjs/Form.cjs +3 -3
  5. package/lib/cjs/{FormikContainer-22c468a8.js → FormikContainer-b5e70eec.js} +3 -3
  6. package/lib/cjs/{FormikContainer-22c468a8.js.map → FormikContainer-b5e70eec.js.map} +1 -1
  7. package/lib/cjs/{IconSwitcher-9156a7d0.js → IconSwitcher-a79777ca.js} +4 -1
  8. package/lib/cjs/IconSwitcher-a79777ca.js.map +1 -0
  9. package/lib/cjs/IconSwitcher.cjs +1 -1
  10. package/lib/cjs/{ToggleGroup-528f2152.js → ToggleGroup-9d2d1f75.js} +2 -2
  11. package/lib/cjs/ToggleGroup-9d2d1f75.js.map +1 -0
  12. package/lib/cjs/ToggleGroup.cjs +1 -1
  13. package/lib/cjs/index.cjs +4 -4
  14. package/lib/esm/{CheckboxGroup-c82d22bd.js → CheckboxGroup-05dc484c.js} +2 -2
  15. package/lib/esm/CheckboxGroup-05dc484c.js.map +1 -0
  16. package/lib/esm/CheckboxGroup.js +1 -1
  17. package/lib/esm/Form.js +3 -3
  18. package/lib/esm/{FormikContainer-b1005e89.js → FormikContainer-b144e3b9.js} +3 -3
  19. package/lib/esm/{FormikContainer-b1005e89.js.map → FormikContainer-b144e3b9.js.map} +1 -1
  20. package/lib/esm/{IconSwitcher-74f97895.js → IconSwitcher-8cff450c.js} +4 -1
  21. package/lib/esm/IconSwitcher-8cff450c.js.map +1 -0
  22. package/lib/esm/IconSwitcher.js +1 -1
  23. package/lib/esm/{ToggleGroup-b78d47b9.js → ToggleGroup-87825bf3.js} +3 -3
  24. package/lib/esm/ToggleGroup-87825bf3.js.map +1 -0
  25. package/lib/esm/ToggleGroup.js +1 -1
  26. package/lib/esm/index.js +4 -4
  27. package/lib/types/src/SharedStorybook/ComponentLabel.d.ts +4 -4
  28. package/lib/types/src/SharedStorybook/DocStyles.d.ts +3 -3
  29. package/lib/types/src/assets/CerebrumLogo.d.ts +1 -1
  30. package/lib/types/src/assets/EmptySearchIcon.d.ts +1 -1
  31. package/lib/types/src/components/AddressInput/AddressInputErrorBoundary.d.ts +1 -1
  32. package/lib/types/src/components/Button/ButtonComponentStyles.d.ts +2 -2
  33. package/lib/types/src/components/Button/types.d.ts +2 -2
  34. package/lib/types/src/components/CheckboxGroup/types.d.ts +2 -2
  35. package/lib/types/src/components/CheckboxItem/types.d.ts +2 -2
  36. package/lib/types/src/components/ConfirmModal/ConfirmModalStyles.d.ts +2 -2
  37. package/lib/types/src/components/ConfirmModal/types.d.ts +3 -3
  38. package/lib/types/src/components/ConfirmationModal/Button/Button.d.ts +2 -2
  39. package/lib/types/src/components/CreditCardInput/types.d.ts +2 -2
  40. package/lib/types/src/components/CurrencyInput/types.d.ts +2 -2
  41. package/lib/types/src/components/DatePicker/DatePickerStyles.d.ts +3 -3
  42. package/lib/types/src/components/DatePicker/types.d.ts +2 -2
  43. package/lib/types/src/components/DescriptiveSwitchMenu/DescriptiveSwitchMenuStyles.d.ts +2 -2
  44. package/lib/types/src/components/DescriptiveSwitchMenu/mocks/options.d.ts +4 -4
  45. package/lib/types/src/components/DescriptiveSwitchMenu/types.d.ts +2 -2
  46. package/lib/types/src/components/DigitalInput/types.d.ts +2 -2
  47. package/lib/types/src/components/Drawer/mocks.d.ts +5 -5
  48. package/lib/types/src/components/Drawer/types.d.ts +4 -4
  49. package/lib/types/src/components/EmailInput/types.d.ts +2 -2
  50. package/lib/types/src/components/Footer/FooterStyles.d.ts +1 -1
  51. package/lib/types/src/components/Form/Form.d.ts +1 -1
  52. package/lib/types/src/components/Form/FormLoader.d.ts +1 -1
  53. package/lib/types/src/components/Form/FormStyles.d.ts +7 -7
  54. package/lib/types/src/components/Form/FormikContainer.d.ts +1 -1
  55. package/lib/types/src/components/Form/mocks/fields.d.ts +1 -1
  56. package/lib/types/src/components/Form/types.d.ts +2 -2
  57. package/lib/types/src/components/IconTile/IconTileStyles.d.ts +1 -1
  58. package/lib/types/src/components/ImagePicker/ImagePickerStyles.d.ts +1 -1
  59. package/lib/types/src/components/ImagePicker/types.d.ts +2 -2
  60. package/lib/types/src/components/InlineInput/types.d.ts +1 -1
  61. package/lib/types/src/components/Input/types.d.ts +2 -2
  62. package/lib/types/src/components/InputButton/InputButtonStyles.d.ts +2 -2
  63. package/lib/types/src/components/InputButton/types.d.ts +1 -1
  64. package/lib/types/src/components/InteriorSidebar/types.d.ts +2 -2
  65. package/lib/types/src/components/LabelledIconGroup/LabelledIconGroupStyles.d.ts +1 -1
  66. package/lib/types/src/components/PhoneInput/types.d.ts +2 -2
  67. package/lib/types/src/components/RJSForm/fields/ArrayField.d.ts +1 -1
  68. package/lib/types/src/components/RadioGroup/types.d.ts +2 -2
  69. package/lib/types/src/components/RadioItem/RadioItemStyles.d.ts +1 -1
  70. package/lib/types/src/components/RadioItem/types.d.ts +2 -2
  71. package/lib/types/src/components/SearchMenu/SearchMenuStyles.d.ts +2 -2
  72. package/lib/types/src/components/SearchMenu/types.d.ts +2 -2
  73. package/lib/types/src/components/Select/SelectStyles.d.ts +1 -1
  74. package/lib/types/src/components/Select/types.d.ts +2 -2
  75. package/lib/types/src/components/SnackContainer/storybook/MultipleToastsExample.d.ts +1 -1
  76. package/lib/types/src/components/SnackContainer/storybook/SnackDialogExample.d.ts +1 -1
  77. package/lib/types/src/components/SnackContainer/storybook/SnackbarExample.d.ts +1 -1
  78. package/lib/types/src/components/SnackContainer/storybook/ToastExample.d.ts +1 -1
  79. package/lib/types/src/components/SsnInput/types.d.ts +2 -2
  80. package/lib/types/src/components/Stepper/StepperStyles.d.ts +3 -3
  81. package/lib/types/src/components/Stepper/showFooterText.d.ts +1 -1
  82. package/lib/types/src/components/TabModal/examples/Stepper.d.ts +1 -1
  83. package/lib/types/src/components/TabModal/mocks.d.ts +1 -1
  84. package/lib/types/src/components/TabModal/types.d.ts +3 -3
  85. package/lib/types/src/components/Table/LoadingRows.d.ts +1 -1
  86. package/lib/types/src/components/Table/TableStyles.d.ts +8 -8
  87. package/lib/types/src/components/Table/examples/ClickableCells.d.ts +1 -1
  88. package/lib/types/src/components/Table/examples/ExternalPagination.d.ts +1 -1
  89. package/lib/types/src/components/Table/helpers.d.ts +2 -2
  90. package/lib/types/src/components/Table/mocks/MockStyles.d.ts +2 -2
  91. package/lib/types/src/components/Table/mocks/mockColumns.d.ts +1 -1
  92. package/lib/types/src/components/Table/stories/templates.d.ts +2 -2
  93. package/lib/types/src/components/Table/types.d.ts +5 -4
  94. package/lib/types/src/components/TextLink/helpers.d.ts +2 -3
  95. package/lib/types/src/components/TextLink/types.d.ts +2 -2
  96. package/lib/types/src/components/Textarea/TextareaStyles.d.ts +1 -1
  97. package/lib/types/src/components/Textarea/types.d.ts +2 -2
  98. package/lib/types/src/components/ToggleGroup/types.d.ts +2 -2
  99. package/lib/types/src/components/ToggleItem/types.d.ts +2 -2
  100. package/lib/types/src/components/Tooltip/Tooltip.d.ts +2 -2
  101. package/lib/types/src/components/Tooltip/TooltipStyles.d.ts +1 -1
  102. package/lib/types/src/components/TooltipOptions/TooltipOptionsStyles.d.ts +2 -2
  103. package/lib/types/src/components/TooltipOptions/mockOptions.d.ts +3 -3
  104. package/lib/types/src/components/TooltipOptions/types.d.ts +3 -3
  105. package/lib/types/src/components/UploadDropzone/UploadDropzoneStyles.d.ts +1 -1
  106. package/lib/types/src/components/UploadDropzone/helpers.d.ts +1 -1
  107. package/lib/types/src/components/UserCard/UserCardModal.d.ts +1 -1
  108. package/lib/types/src/components/UserCard/UserCardStyles.d.ts +5 -5
  109. package/lib/types/src/components/UserInformationCard/UserInformationCardStyles.d.ts +3 -3
  110. package/lib/types/src/components/ZipCodeInput/types.d.ts +2 -2
  111. package/lib/types/src/configuredComponents/AddMenu/types.d.ts +2 -2
  112. package/lib/types/src/configuredComponents/CountyDropdown/types.d.ts +2 -2
  113. package/lib/types/src/configuredComponents/DescriptiveDropdownInput/types.d.ts +1 -1
  114. package/lib/types/src/configuredComponents/DropdownButton/DropdownButtonStyles.d.ts +1 -1
  115. package/lib/types/src/configuredComponents/DropdownInput/types.d.ts +2 -2
  116. package/lib/types/src/configuredComponents/IconSwitcher/IconSwitcherStyles.d.ts +2 -2
  117. package/lib/types/src/configuredComponents/InlineDropdown/types.d.ts +2 -2
  118. package/lib/types/src/configuredComponents/MoreMenuButton/RowExample.d.ts +1 -1
  119. package/lib/types/src/configuredComponents/StateDropdown/types.d.ts +2 -2
  120. package/lib/types/src/configuredComponents/StatusDropdown/types.d.ts +2 -2
  121. package/lib/types/src/configuredComponents/TableFiltersPanel/TableFiltersPanel.d.ts +1 -1
  122. package/lib/types/src/layout/NavLayout/NavLayout.d.ts +1 -1
  123. package/lib/types/src/pages/NotFound/NotFoundStyles.d.ts +2 -2
  124. package/lib/types/src/sharedHelpers/showLabel.d.ts +3 -3
  125. package/lib/types/src/sharedMocks/options.d.ts +6 -6
  126. package/lib/types/src/sharedStyle/Inputs.d.ts +2 -2
  127. package/lib/types/src/sharedStyle/Labels.d.ts +1 -1
  128. package/lib/types/src/sharedStyle/Switches.d.ts +3 -3
  129. package/lib/types/src/sharedTypes/types.d.ts +3 -3
  130. package/package.json +4 -4
  131. package/lib/cjs/CheckboxGroup-0b818a73.js.map +0 -1
  132. package/lib/cjs/IconSwitcher-9156a7d0.js.map +0 -1
  133. package/lib/cjs/ToggleGroup-528f2152.js.map +0 -1
  134. package/lib/esm/CheckboxGroup-c82d22bd.js.map +0 -1
  135. package/lib/esm/IconSwitcher-74f97895.js.map +0 -1
  136. package/lib/esm/ToggleGroup-b78d47b9.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
1
+ /// <reference types="react" />
2
2
  import { InlineCurrencyInputType } from "../InlineCurrencyInput/types";
3
3
  export interface CurrencyInputType extends Omit<InlineCurrencyInputType, "trailingTextColor"> {
4
4
  /** Required asterisk color. THEME PROP: default is colors.BLUE_70 */
@@ -8,7 +8,7 @@ export interface CurrencyInputType extends Omit<InlineCurrencyInputType, "traili
8
8
  /** The helper text color. Also used for trailing text. THEME PROP: default is colors.COOL_GREY_60 */
9
9
  helperTextColor?: string;
10
10
  /** A label for your input. Not required, but strongly recommended. */
11
- inputLabel?: string | FC | JSX.Element;
11
+ inputLabel?: React.ReactNode;
12
12
  /** The label color. THEME PROPS: default is colors.COOL_GREY_80 */
13
13
  labelColor?: string;
14
14
  /** A message for when the input fails validation. Only displays if `showValidationMessage: true` */
@@ -1,15 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  import { CalendarBoxProps, DatePickerBoxProps, DatePickerGroupProps, LabelProps, HelperTextProps, ValidationTextProps, ButtonBoxProps } from "./types";
3
3
  export declare const DatePickerGroup: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, DatePickerGroupProps>>;
4
- export declare const DatePickerBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$inputWidth"> & import("../../sharedStyle/types").InputBoxProps, "$inputWidth" | "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
4
+ export declare const DatePickerBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$inputWidth"> & import("../../sharedStyle/types").InputBoxProps, "ref"> & {
5
5
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
6
6
  }, DatePickerBoxProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("../../sharedStyle/types").InputBoxProps>>, keyof import("react").Component<any, {}, any>>;
7
7
  export declare const Label: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, LabelProps>>;
8
8
  export declare const HelperText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, HelperTextProps>>;
9
9
  export declare const ValidationText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, ValidationTextProps>>;
10
- export declare const CalendarBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").FastOmit<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("../../sharedStyle/types").LeadingIconBoxProps> & import("../../sharedStyle/types").LeadingIconBoxProps, "key" | keyof import("../../sharedStyle/types").LeadingIconBoxProps | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
10
+ export declare const CalendarBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("../../sharedStyle/types").LeadingIconBoxProps> & import("../../sharedStyle/types").LeadingIconBoxProps, "ref"> & {
11
11
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
12
- }, keyof import("../../sharedStyle/types").TrailingIconBoxProps> & import("../../sharedStyle/types").TrailingIconBoxProps, CalendarBoxProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("../../sharedStyle/types").LeadingIconBoxProps> & import("../../sharedStyle/types").LeadingIconBoxProps, "key" | keyof import("../../sharedStyle/types").LeadingIconBoxProps | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
12
+ }, keyof import("../../sharedStyle/types").TrailingIconBoxProps> & import("../../sharedStyle/types").TrailingIconBoxProps, CalendarBoxProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("../../sharedStyle/types").LeadingIconBoxProps> & import("../../sharedStyle/types").LeadingIconBoxProps, "ref"> & {
13
13
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
14
14
  }, import("../../sharedStyle/types").TrailingIconBoxProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, import("../../sharedStyle/types").LeadingIconBoxProps>>, keyof import("react").Component<any, {}, any>>, keyof import("react").Component<any, {}, any>>;
15
15
  export declare const Header: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
1
+ /// <reference types="react" />
2
2
  import { ReactDatePickerProps } from "react-datepicker";
3
3
  import { InputTheme } from "../../sharedTypes/enums";
4
4
  declare type InlineDatePickerTypeProps = {
@@ -77,7 +77,7 @@ export declare type DatePickerType = InlineDatePickerProps & {
77
77
  /** The helper text color. Set by the theme, defaults to colors.COOL_GREY_60 */
78
78
  helperTextColor?: string;
79
79
  /** A label for your input. Not required, but strongly recommended. */
80
- inputLabel?: string | FC | JSX.Element;
80
+ inputLabel?: React.ReactNode;
81
81
  /** The label color. Set by the theme, defaults to colors.COOL_GREY_80 */
82
82
  labelColor?: string;
83
83
  /** Enabling this prop will cause the DatePicker to not render the picker */
@@ -3,9 +3,9 @@ import { ThemeOverrideProps, OptionProps, SwitchBoxProps } from "./types";
3
3
  export declare const Menu: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ThemeOverrideProps>>;
4
4
  export declare const Option: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OptionProps>>;
5
5
  export declare const SwitchBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SwitchBoxProps>>;
6
- export declare const Title: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "key" | keyof import("../../const/types").TextProps | keyof import("react").HTMLAttributes<HTMLParagraphElement>> & {
6
+ export declare const Title: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
7
7
  ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
8
8
  }, ThemeOverrideProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
9
- export declare const Description: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "key" | keyof import("../../const/types").TextProps | keyof import("react").HTMLAttributes<HTMLParagraphElement>> & {
9
+ export declare const Description: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
10
10
  ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
11
11
  }, ThemeOverrideProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
@@ -4,19 +4,19 @@ export declare const componentOptions: ({
4
4
  active: boolean;
5
5
  description: string;
6
6
  disabled: boolean;
7
- name: JSX.Element;
7
+ name: import("react/jsx-runtime").JSX.Element;
8
8
  value: string;
9
9
  } | {
10
10
  active: boolean;
11
- description: JSX.Element;
11
+ description: import("react/jsx-runtime").JSX.Element;
12
12
  disabled: boolean;
13
13
  name: string;
14
14
  value: string;
15
15
  } | {
16
16
  active: boolean;
17
- description: JSX.Element;
17
+ description: import("react/jsx-runtime").JSX.Element;
18
18
  disabled: boolean;
19
- name: JSX.Element;
19
+ name: import("react/jsx-runtime").JSX.Element;
20
20
  value: string;
21
21
  })[];
22
22
  export declare const scrollingOptions: {
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
1
+ /// <reference types="react" />
2
2
  export interface DescriptiveSwitchMenuType {
3
3
  /** The id matching the active radio option. Has no effect if not using switchType.Radio */
4
4
  activeRadioId?: string;
@@ -32,7 +32,7 @@ export interface ThemeOverride {
32
32
  }
33
33
  export interface SwitchMenuOptionsType {
34
34
  active?: boolean;
35
- description?: string | FC | JSX.Element;
35
+ description?: React.ReactNode;
36
36
  disabled?: boolean;
37
37
  name?: string | JSX.Element;
38
38
  value: string;
@@ -1,4 +1,4 @@
1
- import { ChangeEvent, FC, FocusEvent, RefObject } from "react";
1
+ import { ChangeEvent, FocusEvent, RefObject } from "react";
2
2
  export interface DigitalInputProps {
3
3
  /** Sets HTML attribute `autofocus`, which will focus on the first input on load. */
4
4
  autofocus?: boolean;
@@ -15,7 +15,7 @@ export interface DigitalInputProps {
15
15
  /** Used to pass a ref to the hidden input component, that holds the value */
16
16
  innerHiddenRef?: RefObject<HTMLInputElement>;
17
17
  /** A label for DigitalInput. Not required, but strongly recommended. */
18
- label?: string | FC | JSX.Element;
18
+ label?: React.ReactNode;
19
19
  /** html name attribute */
20
20
  name: string;
21
21
  /** Fires when the input changes. This is required, unless you want to use `DigitalInput` for display only. */
@@ -1,5 +1,5 @@
1
- export declare const drawerMockTable: JSX.Element;
2
- export declare const longText: JSX.Element;
3
- export declare const FullExampleTitleComponent: JSX.Element;
4
- export declare const partialExampleContent: JSX.Element;
5
- export declare const fullExampleContent: JSX.Element;
1
+ export declare const drawerMockTable: import("react/jsx-runtime").JSX.Element;
2
+ export declare const longText: import("react/jsx-runtime").JSX.Element;
3
+ export declare const FullExampleTitleComponent: import("react/jsx-runtime").JSX.Element;
4
+ export declare const partialExampleContent: import("react/jsx-runtime").JSX.Element;
5
+ export declare const fullExampleContent: import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { FC, KeyboardEvent, MouseEvent } from "react";
1
+ import { KeyboardEvent, MouseEvent } from "react";
2
2
  import { TextVariantEnum } from "../Typography";
3
3
  export interface DrawerType {
4
4
  /** This will change the base title font to the Accordion font style */
@@ -6,7 +6,7 @@ export interface DrawerType {
6
6
  /** Toggle's current state. Required to render the toggle, alongside the onToggle function. */
7
7
  activeToggle?: boolean;
8
8
  /** The Drawer content will only be displayed when the component is open. */
9
- content?: string | FC | JSX.Element;
9
+ content?: React.ReactNode;
10
10
  /** Adds default padding between the header and content. */
11
11
  keepHeaderPadding?: boolean;
12
12
  /** External control over state of the Drawer. It's not necessary if the Drawer should only open/close on user interaction. Using it will disable the default actions. */
@@ -18,9 +18,9 @@ export interface DrawerType {
18
18
  /** Decides if the Drawer should render opened in a page */
19
19
  startsOpen?: boolean;
20
20
  /** Drawer title. This text will always be displayed, open or closed, positioned at the top left. */
21
- title?: string | FC | JSX.Element;
21
+ title?: React.ReactNode;
22
22
  /** Extra component or text that will always be displayed, open or closed, positioned at the top right. */
23
- titleComponent?: string | FC | JSX.Element;
23
+ titleComponent?: React.ReactNode;
24
24
  /** You can override the theme by passing a `themeOverride` object. See below for the available props. */
25
25
  themeOverride?: ThemeOverride;
26
26
  }
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
1
+ /// <reference types="react" />
2
2
  import { InlineEmailInputType } from "../InlineEmailInput";
3
3
  export interface EmailInputType extends InlineEmailInputType {
4
4
  /** Required asterisk color. THEME PROP: default is colors.BLUE_70 */
@@ -8,7 +8,7 @@ export interface EmailInputType extends InlineEmailInputType {
8
8
  /** The helper text color. Also used for trailing text. THEME PROP: default is colors.COOL_GREY_60 */
9
9
  helperTextColor?: string;
10
10
  /** A label for your input. Not required, but strongly recommended. */
11
- inputLabel?: string | FC | JSX.Element;
11
+ inputLabel?: React.ReactNode;
12
12
  /** The label color. THEME PROPS: default is colors.TEXT_50 */
13
13
  labelColor?: string;
14
14
  /** A message for when the input fails validation. Only displays if `showValidationMessage: true` */
@@ -8,7 +8,7 @@ export declare const DetailsBox: import("styled-components").IStyledComponent<"w
8
8
  export declare const TermsBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TermsBoxProps>>;
9
9
  export declare const Copyright: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, CopyrightProps>>;
10
10
  export declare const Line: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, LineProps>>;
11
- export declare const MobileLine: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$themeOverride"> & LineProps, "$themeOverride" | "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
11
+ export declare const MobileLine: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$themeOverride"> & LineProps, "ref"> & {
12
12
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
13
13
  }, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, LineProps>>, keyof import("react").Component<any, {}, any>>;
14
14
  export declare const SocialLinks: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SocialLinksProps>>;
@@ -1,7 +1,7 @@
1
1
  import { InternalFormType } from "./types";
2
2
  export declare const CLEAR_FORM_BUTTON_TEXT = "Clear Form";
3
3
  export declare const Form: {
4
- <T extends Record<string, any>>({ addButtons, addButtonWidth, cancelButtonText, cancelButtonFunction, clearFormButton, clearOnBottom, configurableInputFieldActiveIds, disableSubmit, disableSubmitUntilValid, fields, formikProps, hasValues, hideSubmitButton, leftLabels, leftLabelsRightGutter, leftLabelWidth, loading, loadingFieldsNumber, maximumHeight, nextButton, observeScrollRef, rowGap, stickyFooter, submitAttempt, submitButtonLoading, setConfigurableInputFieldActiveIds, setHasValues, setSubmitAttempt, submitButtonAlign, submitButtonText, submitOnBlur, title, themeOverride, thinStickyPadding, }: InternalFormType<T>): JSX.Element;
4
+ <T extends Record<string, any>>({ addButtons, addButtonWidth, cancelButtonText, cancelButtonFunction, clearFormButton, clearOnBottom, configurableInputFieldActiveIds, disableSubmit, disableSubmitUntilValid, fields, formikProps, hasValues, hideSubmitButton, leftLabels, leftLabelsRightGutter, leftLabelWidth, loading, loadingFieldsNumber, maximumHeight, nextButton, observeScrollRef, rowGap, stickyFooter, submitAttempt, submitButtonLoading, setConfigurableInputFieldActiveIds, setHasValues, setSubmitAttempt, submitButtonAlign, submitButtonText, submitOnBlur, title, themeOverride, thinStickyPadding, }: InternalFormType<T>): import("react/jsx-runtime").JSX.Element;
5
5
  defaultProps: {
6
6
  cancelButtonText: string;
7
7
  nextButton: boolean;
@@ -5,5 +5,5 @@ interface FormLoaderProps {
5
5
  loadingFieldsNumber: number;
6
6
  rowGap?: number;
7
7
  }
8
- export declare const FormLoader: ({ leftLabelsRightGutter, leftLabelWidth, loadingFieldsNumber, leftLabels, rowGap }: FormLoaderProps) => JSX.Element;
8
+ export declare const FormLoader: ({ leftLabelsRightGutter, leftLabelWidth, loadingFieldsNumber, leftLabels, rowGap }: FormLoaderProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -3,21 +3,21 @@ import { ButtonGroupProps, ClearFormButtonWrapProps, FieldBoxProps, FormGroupPro
3
3
  export declare const FormWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FormWrapperType>>;
4
4
  export declare const FormGroup: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FormGroupProps>>;
5
5
  export declare const FormTitleGroup: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
6
- export declare const Title: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "key" | keyof import("../../const/types").TextProps | keyof import("react").HTMLAttributes<HTMLHeadingElement>> & {
6
+ export declare const Title: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
7
7
  ref?: ((instance: HTMLHeadingElement | null) => void) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
8
8
  }, TitleProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
9
9
  export declare const ClearFormButtonWrap: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ClearFormButtonWrapProps>>;
10
10
  export declare const FieldBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FieldBoxProps>>;
11
11
  export declare const LeftGutter: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, LeftGutterProps>>;
12
12
  export declare const RightGutter: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SwitchSpacingProps>>;
13
- export declare const LeftLabel: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "key" | keyof import("../../const/types").TextProps | keyof import("react").HTMLAttributes<HTMLParagraphElement>> & {
13
+ export declare const LeftLabel: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
14
14
  ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
15
15
  }, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
16
16
  export declare const InputBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, InputBoxProps>>;
17
- export declare const HelperTextGrid: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../sharedStyle/types").HelperTextProps> & import("../../sharedStyle/types").HelperTextProps, "key" | keyof import("react").HTMLAttributes<HTMLParagraphElement> | keyof import("../../sharedStyle/types").HelperTextProps> & {
17
+ export declare const HelperTextGrid: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../sharedStyle/types").HelperTextProps> & import("../../sharedStyle/types").HelperTextProps, "ref"> & {
18
18
  ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
19
19
  }, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../sharedStyle/types").HelperTextProps>>, keyof import("react").Component<any, {}, any>>;
20
- export declare const ValidationTextGrid: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../sharedStyle/types").ValidationTextProps> & import("../../sharedStyle/types").ValidationTextProps, "key" | keyof import("react").HTMLAttributes<HTMLParagraphElement> | keyof import("../../sharedStyle/types").ValidationTextProps> & {
20
+ export declare const ValidationTextGrid: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../sharedStyle/types").ValidationTextProps> & import("../../sharedStyle/types").ValidationTextProps, "ref"> & {
21
21
  ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
22
22
  }, SwitchSpacingProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../sharedStyle/types").ValidationTextProps>>, keyof import("react").Component<any, {}, any>>;
23
23
  export declare const ButtonGroup: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ButtonGroupProps>>;
@@ -27,7 +27,7 @@ export declare const InlineFieldGrid: import("styled-components").IStyledCompone
27
27
  export declare const InlineFieldCell: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, InlineFieldCellProps>>;
28
28
  export declare const CenterCheckbox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
29
29
  export declare const CenterToggle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
30
- export declare const AddButtonGroup: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ButtonGroupProps> & ButtonGroupProps, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | keyof ButtonGroupProps> & {
30
+ export declare const AddButtonGroup: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ButtonGroupProps> & ButtonGroupProps, "ref"> & {
31
31
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
32
32
  }, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ButtonGroupProps>>, keyof import("react").Component<any, {}, any>>;
33
33
  export declare const AddButtonBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -38,10 +38,10 @@ export declare const RemovableButtonBox: import("styled-components").IStyledComp
38
38
  export declare const RemovableFieldBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, RemovableFieldBoxProps>>;
39
39
  export declare const RemoveButtonWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
40
40
  export declare const TitleGroup: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TitleGroupProps>>;
41
- export declare const Text: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "key" | keyof import("../../const/types").TextProps | keyof import("react").HTMLAttributes<HTMLParagraphElement>> & {
41
+ export declare const Text: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
42
42
  ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
43
43
  }, TextProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
44
- export declare const SubHeader: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "key" | keyof import("../../const/types").TextProps | keyof import("react").HTMLAttributes<HTMLParagraphElement>> & {
44
+ export declare const SubHeader: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
45
45
  ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
46
46
  }, SubHeaderProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
47
47
  export declare const Separator: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, SeparatorProps>>;
@@ -1,6 +1,6 @@
1
1
  import { FormType } from "./types";
2
2
  export declare const FormikContainer: {
3
- <FormData_1 extends Record<string, any>>(props: FormType<FormData_1>): JSX.Element;
3
+ <FormData_1 extends Record<string, any>>(props: FormType<FormData_1>): import("react/jsx-runtime").JSX.Element;
4
4
  defaultProps: {
5
5
  cancelButtonText: string;
6
6
  leftLabels: boolean;
@@ -1,4 +1,4 @@
1
- import { FormFieldType, FormFieldTypeEnum } from "./../types";
1
+ import { FormFieldType, FormFieldTypeEnum } from "../types";
2
2
  import { northAmericanPhoneMask } from "../../../helpers/inputMasks";
3
3
  import { SwitchTypeEnum } from "../../DescriptiveSwitchMenu";
4
4
  import { CountryMaskEnum } from "../../../sharedTypes/enums";
@@ -107,7 +107,7 @@ export interface ThemeOverride {
107
107
  }
108
108
  export interface FormFieldType {
109
109
  disabled?: boolean;
110
- fieldLabel?: string | FC | JSX.Element;
110
+ fieldLabel?: React.ReactNode;
111
111
  initialValue?: string | number | boolean | Array<string>;
112
112
  name: string;
113
113
  nextGap?: number;
@@ -418,7 +418,7 @@ export interface RadioGroupOptionsType {
418
418
  radios: Array<SwitchGroupSwitchType>;
419
419
  }
420
420
  export interface SelectOptionsType {
421
- bottomButtonLabel?: string | FC | JSX.Element;
421
+ bottomButtonLabel?: React.ReactNode;
422
422
  bottomButtonClick?: () => void;
423
423
  BottomButtonIcon?: IconType;
424
424
  helperText?: string;
@@ -4,7 +4,7 @@ export declare const TileGroup: import("styled-components").IStyledComponent<"we
4
4
  export declare const Tile: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TileProps>>;
5
5
  export declare const CheckBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
6
6
  export declare const IconBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
7
- export declare const Label: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "key" | keyof import("../../const/types").TextProps | keyof import("react").HTMLAttributes<HTMLParagraphElement>> & {
7
+ export declare const Label: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
8
8
  ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
9
9
  }, LabelProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
10
10
  export declare const OptionsButton: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -6,7 +6,7 @@ export declare const ImageInput: import("styled-components").IStyledComponent<"w
6
6
  export declare const CenterImage: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CenterImageProps>>;
7
7
  export declare const LoadedImage: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>>;
8
8
  export declare const PlaceholderCircle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, PlaceholderCircleProps>>;
9
- export declare const PlaceholderInitials: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "key" | keyof import("../../const/types").TextProps | keyof import("react").HTMLAttributes<HTMLHeadingElement>> & {
9
+ export declare const PlaceholderInitials: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
10
10
  ref?: ((instance: HTMLHeadingElement | null) => void) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
11
11
  }, PlaceholderInitialsProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
12
12
  export declare const EditIconBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, EditIconBoxProps>>;
@@ -1,4 +1,4 @@
1
- import { ChangeEvent, FC } from "react";
1
+ import { ChangeEvent } from "react";
2
2
  import { ButtonColorFamilyEnum } from "../../sharedTypes/enums";
3
3
  import { ColorFamilyType } from "../../sharedTypes/types";
4
4
  import { IconType } from "../Icons";
@@ -25,7 +25,7 @@ export interface ImagePickerType {
25
25
  /** Hides the edit icon */
26
26
  hideIcon?: boolean;
27
27
  /** A label for the image */
28
- imageLabel?: string | FC | JSX.Element;
28
+ imageLabel?: React.ReactNode;
29
29
  /** Prevents imageLabel, helperText, or validationMessage from rendering */
30
30
  inline?: boolean;
31
31
  /** Placeholder icon in the center of the component */
@@ -27,7 +27,7 @@ export interface InlineInputType {
27
27
  /** HTML inputmode attribute. Used to determine keyboard type only */
28
28
  inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
29
29
  /** Passed to the input element. Necessary if using an external label */
30
- inputLabel?: string | FC | JSX.Element;
30
+ inputLabel?: React.ReactNode;
31
31
  /** The input will appear like a button instead of an input. Don't use this if you intend to allow text entry in the Input */
32
32
  lookLikeAButton?: boolean;
33
33
  /** html name attribute */
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
1
+ /// <reference types="react" />
2
2
  import { InlineInputType } from "../InlineInput";
3
3
  export interface InputType extends InlineInputType {
4
4
  /** Required asterisk color. THEME PROP: default is colors.BLUE_70 */
@@ -8,7 +8,7 @@ export interface InputType extends InlineInputType {
8
8
  /** The helper text color. Also used for trailing text. THEME PROP: default is colors.COOL_GREY_60 */
9
9
  helperTextColor?: string;
10
10
  /** A label for your input. Not required, but strongly recommended. */
11
- inputLabel?: string | FC | JSX.Element;
11
+ inputLabel?: React.ReactNode;
12
12
  /** The label color. THEME PROPS: default is colors.COOL_GREY_80 */
13
13
  labelColor?: string;
14
14
  /** A message for when the input fails validation. Only displays if `showValidationMessage: true` */
@@ -5,8 +5,8 @@ export declare const Text: import("styled-components").IStyledComponent<"web", i
5
5
  export declare const TextBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextBoxProps>>;
6
6
  export declare const TagBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
7
7
  export declare const CaretBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
8
- export declare const TrailingCaret: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").FastOmit<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("../../sharedStyle/types").LeadingIconBoxProps> & import("../../sharedStyle/types").LeadingIconBoxProps, "key" | keyof import("../../sharedStyle/types").LeadingIconBoxProps | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
8
+ export declare const TrailingCaret: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("../../sharedStyle/types").LeadingIconBoxProps> & import("../../sharedStyle/types").LeadingIconBoxProps, "ref"> & {
9
9
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
10
- }, keyof import("../../sharedStyle/types").TrailingIconBoxProps> & import("../../sharedStyle/types").TrailingIconBoxProps, TrailingCaretProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("../../sharedStyle/types").LeadingIconBoxProps> & import("../../sharedStyle/types").LeadingIconBoxProps, "key" | keyof import("../../sharedStyle/types").LeadingIconBoxProps | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
10
+ }, keyof import("../../sharedStyle/types").TrailingIconBoxProps> & import("../../sharedStyle/types").TrailingIconBoxProps, TrailingCaretProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("../../sharedStyle/types").LeadingIconBoxProps> & import("../../sharedStyle/types").LeadingIconBoxProps, "ref"> & {
11
11
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
12
12
  }, import("../../sharedStyle/types").TrailingIconBoxProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, import("../../sharedStyle/types").LeadingIconBoxProps>>, keyof import("react").Component<any, {}, any>>, keyof import("react").Component<any, {}, any>>;
@@ -103,7 +103,7 @@ export interface InputButtonType extends InlineInputButtonType {
103
103
  /** The helper text color. THEME PROP: default is */
104
104
  helperTextColor?: string;
105
105
  /** A label for your input. Not required, but strongly recommended. */
106
- inputLabel?: string | FC | JSX.Element;
106
+ inputLabel?: React.ReactNode;
107
107
  /** A message when the input fails validation. */
108
108
  validationMessage?: string;
109
109
  /** The label color. THEME PROP: default is colors.COOL_GREY_80 */
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
1
+ /// <reference types="react" />
2
2
  import { MenuOptionType } from "../../sharedTypes/types";
3
3
  export interface InteriorSidebarType {
4
4
  /** Overrides active option if passed. Useful for stepper components. Must match `id` field in `options` */
@@ -12,7 +12,7 @@ export interface InteriorSidebarType {
12
12
  /** The distance the divider line extends past the options, in pixels. Can cause a scrollbar */
13
13
  dividerExtension?: number;
14
14
  /** The title for InteriorSidebar */
15
- header?: string | FC | JSX.Element;
15
+ header?: React.ReactNode;
16
16
  /** Hide the divider on the right */
17
17
  hideDivider?: boolean;
18
18
  /** Disables the CSS transition when there was not an active optionSelected initially. Useful when InteriorSidebar initializes without an activeOption, but one is applied after the first render programatically */
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ButtonWrapperProps } from "./types";
3
3
  export declare const Base: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
- export declare const HeaderText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, keyof import("../../const/types").TextProps | "key" | keyof import("react").HTMLAttributes<HTMLParagraphElement>> & {
4
+ export declare const HeaderText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
5
5
  ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
6
6
  }, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof import("react").Component<any, {}, any>>;
7
7
  export declare const ListBase: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
1
+ /// <reference types="react" />
2
2
  import { InlinePhoneInputType } from "../InlinePhoneInput/types";
3
3
  export interface PhoneInputType extends Omit<InlinePhoneInputType, "trailingTextColor"> {
4
4
  /** The color of the required asterisk. THEME PROP: default is colors.BLUE_70 */
@@ -8,7 +8,7 @@ export interface PhoneInputType extends Omit<InlinePhoneInputType, "trailingText
8
8
  /** The helper text color. Also used for trailing text. THEME PROP: default is colors.COOL_GREY_60 */
9
9
  helperTextColor?: string;
10
10
  /** A label for your input. Not required, but strongly recommended. */
11
- inputLabel?: string | FC | JSX.Element;
11
+ inputLabel?: React.ReactNode;
12
12
  /** The label color. THEME PROPS: default is colors.COOL_GREY_80 */
13
13
  labelColor?: string;
14
14
  /** A message for when the input fails validation. Only displays if `showValidationMessage: true` */
@@ -1,2 +1,2 @@
1
1
  import { ArrayFieldTemplateProps } from "@rjsf/utils";
2
- export declare const ArrayFieldTemplate: (props: ArrayFieldTemplateProps) => JSX.Element;
2
+ export declare const ArrayFieldTemplate: (props: ArrayFieldTemplateProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ChangeEvent, FC } from "react";
1
+ import { ChangeEvent } from "react";
2
2
  import { SwitchGroupSwitchType } from "../../sharedTypes/types";
3
3
  import { RadioItemType } from "../RadioItem";
4
4
  export interface RadioGroupType extends Omit<RadioItemType, "active" | "disabled" | "label" | "onClick" | "id" | "value"> {
@@ -23,7 +23,7 @@ export interface RadioGroupType extends Omit<RadioItemType, "active" | "disabled
23
23
  /** Called when a radio is clicked. Returns the radio id that was passed to it */
24
24
  onRadioClick: (event: ChangeEvent<HTMLInputElement>) => void;
25
25
  /** The label for RadioGroup. Not required, but strongly recommended. */
26
- radioLabel?: string | FC | JSX.Element;
26
+ radioLabel?: React.ReactNode;
27
27
  /** An array of radio objects, one for each toggle */
28
28
  radios: Array<SwitchGroupSwitchType>;
29
29
  /** Gap between radios in the list. THEME PROP: default is 20 */
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { RadioItemProps, LabelProps } from "./types";
3
- export declare const RadioItemWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("../Radio/types").RadioContainerProps> & import("../Radio/types").RadioContainerProps, keyof import("../Radio/types").RadioContainerProps | "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
3
+ export declare const RadioItemWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("../Radio/types").RadioContainerProps> & import("../Radio/types").RadioContainerProps, "ref"> & {
4
4
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
5
5
  }, RadioItemProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, import("../Radio/types").RadioContainerProps>>, keyof import("react").Component<any, {}, any>>;
6
6
  export declare const Label: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, LabelProps>>;
@@ -1,4 +1,4 @@
1
- import { ChangeEvent, FC } from "react";
1
+ import { ChangeEvent } from "react";
2
2
  export interface RadioItemType {
3
3
  /** Is the Radio active or not */
4
4
  active: boolean;
@@ -19,7 +19,7 @@ export interface RadioItemType {
19
19
  /** The radio's inactive color. Uses checkbox theme inactiveColor by default. THEME PROP: default is COOL_GREY_25 */
20
20
  inactiveColor?: string;
21
21
  /** Text to accompany the radio */
22
- label?: string | FC | JSX.Element;
22
+ label?: React.ReactNode;
23
23
  /** The label color. THEME PROP: default is BodySPrimary color*/
24
24
  labelColor?: string;
25
25
  /** Maximum width for the label */
@@ -4,11 +4,11 @@ export declare const Menu: import("styled-components").IStyledComponent<"web", i
4
4
  export declare const AltSearchWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, AltSearchWrapperProps>>;
5
5
  export declare const SearchWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
6
6
  export declare const Header: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
7
- export declare const HeaderTitle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Pick<import("styled-components/dist/types").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "key" | keyof import("../../const/types").TextProps | keyof React.HTMLAttributes<HTMLParagraphElement>> & {
7
+ export declare const HeaderTitle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("../../const/types").TextProps> & import("../../const/types").TextProps, "ref"> & {
8
8
  ref?: ((instance: HTMLParagraphElement | null) => void) | React.RefObject<HTMLParagraphElement> | null | undefined;
9
9
  }, HeaderTitleProps>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../const/types").TextProps>>, keyof React.Component<any, {}, any>>;
10
10
  export declare const TextLinkBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
11
- export declare const ContentPad: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<any, ContentPadProps>> & Omit<(props: any) => JSX.Element, keyof React.Component<any, {}, any>>;
11
+ export declare const ContentPad: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<any, ContentPadProps>> & Omit<(props: any) => import("react/jsx-runtime").JSX.Element, keyof React.Component<any, {}, any>>;
12
12
  export declare const SubOption: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, OptionLabelProps>>;
13
13
  export declare const OptionLabel: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, OptionLabelProps>>;
14
14
  export declare const LabelText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, LabelTextProps>>;
@@ -1,4 +1,4 @@
1
- import { FC, KeyboardEvent, MouseEvent, RefObject } from "react";
1
+ import { KeyboardEvent, MouseEvent, RefObject } from "react";
2
2
  import { OptionType, RenderOptionLabelProps } from "../../sharedTypes/types";
3
3
  import { IconType } from "../Icons";
4
4
  import { TextProps } from "../../const/types";
@@ -16,7 +16,7 @@ export interface SearchMenuType {
16
16
  /** Menu border radius, in pixels. THEME PROP: default is 8 */
17
17
  borderRadius?: number;
18
18
  /** Bottom button label text. This and bottomButtonClick are required to enable the bottom button */
19
- bottomButtonLabel?: string | FC | JSX.Element;
19
+ bottomButtonLabel?: React.ReactNode;
20
20
  /** Called when the bottom button is clicked. This and bottomButtonLabel are required to enable the bottom button */
21
21
  bottomButtonClick?: (event: MouseEvent<HTMLSpanElement> | KeyboardEvent<HTMLSpanElement>) => void;
22
22
  /** An icon to emphasize the button action. Strongly encouraged, but not technically required. Accepts a Cerebellum Icon component directly, or JSX */