@tap-payments/os-micro-frontend-shared 0.3.191 → 0.3.192-test.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 (185) hide show
  1. package/build/_chunks/{chunk-4GZ7XOYY.js → chunk-65DHLOE2.js} +1 -1
  2. package/build/_chunks/{chunk-TWCRVIMF.js → chunk-7G4HONFM.js} +1 -1
  3. package/build/_chunks/chunk-BUZ4SKVB.js +1 -0
  4. package/build/_chunks/{chunk-K227MKFN.js → chunk-EQVRICVJ.js} +1 -1
  5. package/build/_chunks/chunk-GTUAFX7H.js +1 -0
  6. package/build/_chunks/chunk-HDCNWBW5.js +1 -0
  7. package/build/_chunks/{chunk-AQBSQEMA.js → chunk-HL4IRO4S.js} +1 -1
  8. package/build/_chunks/{chunk-WNU66KFJ.js → chunk-HOCMRLLW.js} +1 -1
  9. package/build/_chunks/chunk-JHXPO26H.js +1 -0
  10. package/build/_chunks/chunk-N7IZEJPM.js +2 -0
  11. package/build/_chunks/chunk-QM55EFW3.js +1 -0
  12. package/build/_chunks/chunk-WWHRZD52.js +1 -0
  13. package/build/_chunks/{chunk-CKN5W76E.js → chunk-XALHNKAF.js} +2 -2
  14. package/build/_chunks/{chunk-PGNIENI6.js → chunk-YMCYR4NV.js} +1 -1
  15. package/build/_chunks/{chunk-HWJESKWC.js → chunk-YVGMG3J7.js} +1 -1
  16. package/build/components/ActionMenu/index.js +1 -1
  17. package/build/components/ActionsDropdownMenu/index.js +1 -1
  18. package/build/components/ActiveFilterChip/index.js +1 -1
  19. package/build/components/ActivityAreaChart/index.js +1 -1
  20. package/build/components/AmountConversionFilter/index.js +1 -1
  21. package/build/components/AmountInput/index.js +1 -1
  22. package/build/components/AmountSlider/index.js +1 -1
  23. package/build/components/AmountStatusChip/index.js +1 -1
  24. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  25. package/build/components/AppServices/index.js +1 -1
  26. package/build/components/AppServicesBar/index.js +1 -1
  27. package/build/components/AppWindowWrapper/index.js +1 -1
  28. package/build/components/AuthenticationTypeChip/index.js +1 -1
  29. package/build/components/Autocomplete/index.js +1 -1
  30. package/build/components/BetaBanner/index.js +1 -1
  31. package/build/components/BrandLogo/index.js +1 -1
  32. package/build/components/Calender/index.js +1 -1
  33. package/build/components/CardEmptyState/index.js +1 -1
  34. package/build/components/Chip/index.js +1 -1
  35. package/build/components/ChipStack/index.js +1 -1
  36. package/build/components/ColorPicker/index.js +1 -1
  37. package/build/components/ColumnViews/index.js +1 -1
  38. package/build/components/ConfirmDialog/index.js +1 -1
  39. package/build/components/CountryFilter/index.js +1 -1
  40. package/build/components/CountryFlag/index.js +1 -1
  41. package/build/components/CurrencyAmount/index.js +1 -1
  42. package/build/components/CurrencyFilter/index.js +1 -1
  43. package/build/components/CurrencySymbol/index.js +1 -1
  44. package/build/components/CustomBackdrop/index.js +1 -1
  45. package/build/components/Customer/index.js +1 -1
  46. package/build/components/DateFilter/index.js +1 -1
  47. package/build/components/DeviceIcon/index.js +1 -1
  48. package/build/components/Discount/index.js +1 -1
  49. package/build/components/DisplayAmount/index.js +1 -1
  50. package/build/components/Dropdown2/index.js +1 -1
  51. package/build/components/DropdownChevronIcon/index.d.ts +2 -0
  52. package/build/components/DropdownChevronIcon/index.js +1 -0
  53. package/build/components/DropdownChevronIcon/type.d.ts +3 -0
  54. package/build/components/DropdownMenu/index.js +1 -1
  55. package/build/components/Error/index.js +1 -1
  56. package/build/components/ErrorToast/index.js +1 -1
  57. package/build/components/ExpandableSideBar/index.js +1 -1
  58. package/build/components/FileInputPreview/index.js +1 -1
  59. package/build/components/FilePreview/index.js +1 -1
  60. package/build/components/FileUpload/index.js +1 -1
  61. package/build/components/FileUploader/index.js +1 -1
  62. package/build/components/FilterDropdown/index.js +1 -1
  63. package/build/components/Filters/index.js +1 -1
  64. package/build/components/FlippingCard/index.js +1 -1
  65. package/build/components/HeatMap/index.js +1 -1
  66. package/build/components/Icon/index.js +1 -1
  67. package/build/components/IconWithBadge/index.js +1 -1
  68. package/build/components/Input/index.js +1 -1
  69. package/build/components/InputBase/index.js +1 -1
  70. package/build/components/InputNumber/index.js +1 -1
  71. package/build/components/Inputs/index.js +1 -1
  72. package/build/components/JSONViewer/index.js +1 -1
  73. package/build/components/LanguageDropdown/index.js +1 -1
  74. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  75. package/build/components/ListColumnFilter/index.js +1 -1
  76. package/build/components/ListHeader/index.js +1 -1
  77. package/build/components/ListLayout/index.js +1 -1
  78. package/build/components/Loader/index.js +1 -1
  79. package/build/components/MFWidgetLoader/index.js +1 -1
  80. package/build/components/MaskedText/index.js +1 -1
  81. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  82. package/build/components/MerchantLogo/index.js +1 -1
  83. package/build/components/MerchantsDropdown/index.js +1 -1
  84. package/build/components/MultiSelectDropdownButton/index.js +1 -1
  85. package/build/components/NestedDropdown/index.js +1 -1
  86. package/build/components/NestedMultiSelect/BranchMenuItem.d.ts +12 -0
  87. package/build/components/NestedMultiSelect/FieldSelectedValues.d.ts +8 -0
  88. package/build/components/NestedMultiSelect/NestedMultiSelect.d.ts +4 -0
  89. package/build/components/NestedMultiSelect/NodeMenuItem.d.ts +10 -0
  90. package/build/components/NestedMultiSelect/SelectableOption.d.ts +9 -0
  91. package/build/components/NestedMultiSelect/constants.d.ts +13 -0
  92. package/build/components/NestedMultiSelect/index.d.ts +4 -0
  93. package/build/components/NestedMultiSelect/index.js +1 -0
  94. package/build/components/NestedMultiSelect/style.d.ts +45 -0
  95. package/build/components/NestedMultiSelect/type.d.ts +52 -0
  96. package/build/components/NestedMultiSelect/utils.d.ts +15 -0
  97. package/build/components/NoInternet/index.js +1 -1
  98. package/build/components/OpenFileInNewTab/index.js +1 -1
  99. package/build/components/PartnersFilter/index.js +1 -1
  100. package/build/components/PaymentSourceFilter/index.js +1 -1
  101. package/build/components/PhoneFilter/index.js +1 -1
  102. package/build/components/ProgressRing/index.js +1 -1
  103. package/build/components/RFH/index.js +1 -1
  104. package/build/components/RadioGroup/index.js +1 -1
  105. package/build/components/RangeCalender/index.js +1 -1
  106. package/build/components/RatingCount/index.js +1 -1
  107. package/build/components/ReceiptsViewer/index.js +1 -1
  108. package/build/components/ReferenceTypeFilter/index.js +1 -1
  109. package/build/components/ResizableHeightInput/index.js +1 -1
  110. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  111. package/build/components/SalesChannelFilter/index.js +1 -1
  112. package/build/components/SalesChannelFilter/style.d.ts +1 -1
  113. package/build/components/SearchButton/index.js +1 -1
  114. package/build/components/SearchListInput/index.js +1 -1
  115. package/build/components/SelectDropdown/index.js +1 -1
  116. package/build/components/StatusBar/index.js +1 -1
  117. package/build/components/StatusButton/index.js +1 -1
  118. package/build/components/StatusChip/index.js +1 -1
  119. package/build/components/StatusChipWithCopy/index.js +1 -1
  120. package/build/components/StatusFilter/index.js +1 -1
  121. package/build/components/StatusGroupChips/index.js +1 -1
  122. package/build/components/StatusIcons/index.js +1 -1
  123. package/build/components/StatusLabel/index.js +1 -1
  124. package/build/components/TableCells/index.js +1 -1
  125. package/build/components/TableReports/index.js +1 -1
  126. package/build/components/Timepicker/index.js +1 -1
  127. package/build/components/Toaster/index.js +1 -1
  128. package/build/components/ToggleView/index.js +1 -1
  129. package/build/components/Toolbar/index.js +1 -1
  130. package/build/components/ToolbarIcon/index.js +1 -1
  131. package/build/components/TooltipChip/index.js +1 -1
  132. package/build/components/TreeDropdown/index.js +1 -1
  133. package/build/components/VAT/index.js +1 -1
  134. package/build/components/VerificationIcon/index.js +1 -1
  135. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  136. package/build/components/VirtualTables/index.js +1 -1
  137. package/build/components/Widget/index.js +1 -1
  138. package/build/components/Window/index.js +1 -1
  139. package/build/components/WindowAppIcon/index.js +1 -1
  140. package/build/components/WindowSideBar/index.js +1 -1
  141. package/build/components/index.d.ts +2 -5
  142. package/build/components/index.js +1 -1
  143. package/build/components/primitives/index.js +1 -1
  144. package/build/constants/index.js +1 -1
  145. package/build/hooks/index.js +1 -1
  146. package/build/index.js +1 -1
  147. package/build/types/account.d.ts +1 -0
  148. package/build/types/accountWidget.d.ts +10 -1
  149. package/build/types/index.js +1 -1
  150. package/build/utils/index.js +1 -1
  151. package/package.json +2 -2
  152. package/build/_chunks/chunk-4AT6MVPS.js +0 -2
  153. package/build/_chunks/chunk-4H7CRAGJ.js +0 -1
  154. package/build/_chunks/chunk-A73QNHW7.js +0 -1
  155. package/build/_chunks/chunk-CF5MCUMN.js +0 -1
  156. package/build/_chunks/chunk-JARFVM2P.js +0 -1
  157. package/build/_chunks/chunk-P3QRKBID.js +0 -1
  158. package/build/_chunks/chunk-W6ULJ2HR.js +0 -1
  159. package/build/_chunks/chunk-ZDU6AH4F.js +0 -1
  160. package/build/components/AccountDropdown/Dropdown.d.ts +0 -13
  161. package/build/components/AccountDropdown/index.d.ts +0 -2
  162. package/build/components/AccountDropdown/index.js +0 -1
  163. package/build/components/AccountDropdown/style.d.ts +0 -18
  164. package/build/components/DropdownButton/DropdownButton.d.ts +0 -8
  165. package/build/components/DropdownButton/constants.d.ts +0 -13
  166. package/build/components/DropdownButton/index.d.ts +0 -4
  167. package/build/components/DropdownButton/index.js +0 -1
  168. package/build/components/DropdownButton/style.d.ts +0 -31
  169. package/build/components/DropdownButton/type.d.ts +0 -14
  170. package/build/components/MultiSelectWithSearch/ChildMenuItem.d.ts +0 -10
  171. package/build/components/MultiSelectWithSearch/FlatMenuItem.d.ts +0 -9
  172. package/build/components/MultiSelectWithSearch/MultiSelectWithSearch.d.ts +0 -4
  173. package/build/components/MultiSelectWithSearch/ParentMenuItem.d.ts +0 -13
  174. package/build/components/MultiSelectWithSearch/index.d.ts +0 -6
  175. package/build/components/MultiSelectWithSearch/index.js +0 -1
  176. package/build/components/MultiSelectWithSearch/style.d.ts +0 -32
  177. package/build/components/MultiSelectWithSearch/type.d.ts +0 -23
  178. package/build/components/MultiSelectWithSearch/utils.d.ts +0 -4
  179. package/build/components/SelectWithSearch/SearchIcon.d.ts +0 -8
  180. package/build/components/SelectWithSearch/SelectWithSearch.d.ts +0 -4
  181. package/build/components/SelectWithSearch/index.d.ts +0 -4
  182. package/build/components/SelectWithSearch/index.js +0 -1
  183. package/build/components/SelectWithSearch/style.d.ts +0 -28
  184. package/build/components/SelectWithSearch/type.d.ts +0 -34
  185. /package/build/components/{DropdownButton/ChevronIcon.d.ts → DropdownChevronIcon/DropdownChevronIcon.d.ts} +0 -0
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { Option } from './type';
3
- interface Props {
4
- option: Option;
5
- selectedOptions: Option[] | undefined;
6
- onChangeOptions: (options: Option[]) => void;
7
- }
8
- export declare function FlatMenuItem({ option, selectedOptions, onChangeOptions }: Props): import("react").JSX.Element;
9
- export {};
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { MultiSelectWithSearchProps } from './type';
3
- declare function MultiSelectWithSearch({ options, onChangeOptions, selectedOptions, placeholder, isLoading, searchBy, disabled, }: MultiSelectWithSearchProps): React.JSX.Element;
4
- export default MultiSelectWithSearch;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { Option } from './type';
3
- export declare function ParentMenuItem({ parentOption, selectedOptions, onChangeOptions, }: {
4
- parentOption: {
5
- options: {
6
- label: string;
7
- options: Option[];
8
- }[];
9
- label: string;
10
- };
11
- selectedOptions: Option[] | undefined;
12
- onChangeOptions: (option: Option[]) => void;
13
- }): import("react").JSX.Element;
@@ -1,6 +0,0 @@
1
- import MultiSelectWithSearch from './MultiSelectWithSearch';
2
- export * from './ChildMenuItem';
3
- export * from './FlatMenuItem';
4
- export * from './ParentMenuItem';
5
- export type { MultiSelectWithSearchProps } from './type';
6
- export default MultiSelectWithSearch;
@@ -1 +0,0 @@
1
- export{a as ChildMenuItem,c as FlatMenuItem,b as ParentMenuItem,d as default}from'../../_chunks/chunk-CF5MCUMN.js';import'../../_chunks/chunk-2DC5PMER.js';import'../../_chunks/chunk-YHKF6F6S.js';import'../../_chunks/chunk-PLMJIRXJ.js';import'../../_chunks/chunk-WHXHVOBY.js';import'../../_chunks/chunk-YKKS24ES.js';import'../../_chunks/chunk-4GZ7XOYY.js';
@@ -1,32 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Caption: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
3
- ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
4
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
5
- export declare const Title: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
6
- ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
7
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
8
- export declare const AccordionWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
11
- export declare const InputStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Input").InputProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
12
- export declare const CheckboxStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").CheckboxProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
13
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
14
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
15
- export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
17
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
18
- export declare const SelectedBadgesWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
19
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
20
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
21
- export declare const SelectedBadge: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
22
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
23
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
24
- maxWidth?: number | undefined;
25
- }, {}, {}>;
26
- export declare const ItemStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
27
- ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
28
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
29
- export declare const TriggerWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
30
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
31
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
32
- export declare const ArrowIcon: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material/styles").Theme>>;
@@ -1,23 +0,0 @@
1
- export interface Option {
2
- label: string;
3
- value: string;
4
- }
5
- export type NestedOptions = {
6
- options: {
7
- label: string;
8
- options: Option[];
9
- }[];
10
- label: string;
11
- }[];
12
- /** Flat list or nested hierarchy. */
13
- export type MultiSelectOptions = Option[] | NestedOptions;
14
- export interface MultiSelectWithSearchProps {
15
- /** Flat list or nested hierarchy. Pass an empty array for flat mode with no selectable items. */
16
- options: MultiSelectOptions;
17
- onChangeOptions: (options: Option[]) => void;
18
- selectedOptions?: Option[];
19
- placeholder?: string | null;
20
- isLoading?: boolean;
21
- searchBy?: string[];
22
- disabled?: boolean;
23
- }
@@ -1,4 +0,0 @@
1
- import { MultiSelectOptions, NestedOptions, Option } from './type';
2
- export declare const isFlatOptions: (options: MultiSelectOptions) => options is Option[];
3
- export declare const filterFlatOptions: (options: Option[], searchValue: string, searchBy: string[]) => Option[];
4
- export declare const filterNestedOptions: (nestedOptions: NestedOptions, searchValue: string, searchBy: string[]) => NestedOptions;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { SvgIconProps } from '@mui/material/SvgIcon';
3
- export interface SearchIconProps extends SvgIconProps {
4
- /** Width and height in px (square) */
5
- size?: number | string;
6
- }
7
- declare function SearchIcon({ size, sx, className, ...props }: SearchIconProps): import("react").JSX.Element;
8
- export default SearchIcon;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { SelectWithSearchProps } from './type';
3
- declare function SelectWithSearch({ options, onChangeOption, selectedOption, placeholder, label, isLoading, renderOption, iconUrl, disabled, onClearValue, slotProps, hideSelectedCheckmark, listWrapperSx, name, ...rest }: SelectWithSearchProps): import("react").JSX.Element;
4
- export default SelectWithSearch;
@@ -1,4 +0,0 @@
1
- import SelectWithSearch from './SelectWithSearch';
2
- export type { Option, SelectWithSearchProps } from './type';
3
- export * from './style';
4
- export default SelectWithSearch;
@@ -1 +0,0 @@
1
- export{c as AccordionWrapper,a as Caption,e as CheckboxStyled,f as Container,d as InputStyled,i as ItemStyled,h as SelectedBadge,g as SelectedBadgesWrapper,b as Title,j as default}from'../../_chunks/chunk-P3QRKBID.js';import'../../_chunks/chunk-QVGSIVO2.js';import'../../_chunks/chunk-ZDU6AH4F.js';import'../../_chunks/chunk-4KSZBODD.js';import'../../_chunks/chunk-4QONVXGE.js';import'../../_chunks/chunk-YHKF6F6S.js';import'../../_chunks/chunk-PLMJIRXJ.js';import'../../_chunks/chunk-WHXHVOBY.js';import'../../_chunks/chunk-YKKS24ES.js';import'../../_chunks/chunk-4GZ7XOYY.js';
@@ -1,28 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Caption: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
3
- ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
4
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
5
- export declare const Title: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
6
- ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
7
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
8
- export declare const AccordionWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
11
- export declare const InputStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Input").InputProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
12
- export declare const CheckboxStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").CheckboxProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
13
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
14
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
15
- export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
17
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
18
- export declare const SelectedBadgesWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
19
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
20
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
21
- export declare const SelectedBadge: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
22
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
23
- }, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
24
- export declare const ItemStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
25
- ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
26
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
27
- selected: boolean;
28
- }, {}, {}>;
@@ -1,34 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { InputBase } from '../InputBase';
3
- import { Container, InputStyled, ItemStyled } from './style';
4
- import { DropdownI } from '../SelectDropdown/SelectDropdown';
5
- export interface Option {
6
- label: string;
7
- value: string;
8
- }
9
- export type SelectWithSearchProps<T extends React.ElementType = 'div', AdditionalProps = {}> = Omit<DropdownI<T, AdditionalProps>, 'open' | 'anchorEl' | 'onOpen' | 'onClose' | 'trigger' | 'children'> & {
10
- /**
11
- * Passed to the underlying input as the HTML `name` attribute so the control
12
- * participates in form submission, autofill, and other browser field semantics.
13
- */
14
- name?: string;
15
- options: Option[];
16
- label?: React.ReactNode;
17
- onChangeOption: (option: Option | null) => void;
18
- selectedOption?: Option | null;
19
- placeholder?: string | null;
20
- isLoading?: boolean;
21
- renderOption?: (option: Option, { closeDropdown, open }: {
22
- closeDropdown: () => void;
23
- open: boolean;
24
- }) => ReactNode;
25
- iconUrl?: string;
26
- onClearValue?: () => void;
27
- slotProps?: {
28
- selectInput?: React.ComponentProps<typeof InputBase>;
29
- searchInput?: React.ComponentProps<typeof InputStyled>;
30
- dropdownContainer?: React.ComponentProps<typeof Container>;
31
- item?: React.ComponentProps<typeof ItemStyled>;
32
- };
33
- hideSelectedCheckmark?: boolean;
34
- };