@webiny/admin-ui 6.4.5-beta.0 → 6.6.0-alpha.0

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 (201) hide show
  1. package/Accordion/Accordion.d.ts +7 -6
  2. package/Accordion/components/AccordionItem.d.ts +7 -6
  3. package/Accordion/components/AccordionItemAction.d.ts +7 -6
  4. package/Accordion/components/AccordionItemIcon.d.ts +7 -6
  5. package/Accordion/components/AccordionItemSeparator.d.ts +7 -6
  6. package/Alert/Alert.d.ts +21 -19
  7. package/AutoComplete/AutoComplete.d.ts +7 -6
  8. package/AutoComplete/primitives/AutoCompletePrimitive.d.ts +7 -6
  9. package/Avatar/Avatar.d.ts +9 -8
  10. package/Avatar/components/AvatarFallback.d.ts +7 -6
  11. package/Avatar/components/AvatarImage.d.ts +7 -6
  12. package/Button/Button.d.ts +10 -9
  13. package/Button/CopyButton.d.ts +7 -6
  14. package/Button/IconButton.d.ts +10 -9
  15. package/Calendar/Calendar.d.ts +7 -6
  16. package/Card/Card.d.ts +8 -22
  17. package/Card/components/CancelAction.d.ts +8 -6
  18. package/Card/components/CardContent.d.ts +6 -6
  19. package/Card/components/CardTitle.d.ts +2 -2
  20. package/Card/components/ConfirmAction.d.ts +8 -6
  21. package/Card/components/Icon.d.ts +7 -6
  22. package/Checkbox/Checkbox.d.ts +7 -6
  23. package/Checkbox/primitives/CheckboxPrimitive.d.ts +17 -12
  24. package/CheckboxGroup/CheckboxGroup.d.ts +7 -6
  25. package/CheckboxGroup/primitives/CheckboxGroupPrimitive.d.ts +20 -12
  26. package/CodeEditor/CodeEditor.d.ts +7 -6
  27. package/CodeEditor/CodeEditorPrimitive.d.ts +7 -6
  28. package/ColorPicker/ColorPicker.d.ts +7 -6
  29. package/ColorPicker/primitives/ColorPickerPrimitive.d.ts +7 -6
  30. package/Command/Command.d.ts +10 -8
  31. package/DataList/DataListModal.d.ts +6 -3
  32. package/DataTable/DataTable.d.ts +7 -6
  33. package/DatePicker/DatePicker.d.ts +7 -6
  34. package/DatePicker/primitives/DatePickerPrimitive.d.ts +7 -6
  35. package/Dialog/Dialog.d.ts +8 -22
  36. package/Dialog/components/CancelAction.d.ts +8 -6
  37. package/Dialog/components/ConfirmAction.d.ts +8 -6
  38. package/Dialog/components/DialogContent.d.ts +1 -1
  39. package/Dialog/components/DialogFooter.d.ts +1 -1
  40. package/Dialog/components/DialogTitle.d.ts +1 -1
  41. package/Dialog/components/Icon.d.ts +7 -6
  42. package/Drawer/Drawer.d.ts +8 -22
  43. package/Drawer/Drawer.stories.js +1 -0
  44. package/Drawer/Drawer.stories.js.map +1 -1
  45. package/Drawer/components/CancelButton.d.ts +8 -6
  46. package/Drawer/components/ConfirmButton.d.ts +8 -6
  47. package/Drawer/components/DrawerContent.d.ts +1 -1
  48. package/Drawer/components/Icon.d.ts +7 -6
  49. package/DropdownMenu/components/DropdownMenuItem.d.ts +3 -2
  50. package/DropdownMenu/components/DropdownMenuItem.js +9 -2
  51. package/DropdownMenu/components/DropdownMenuItem.js.map +1 -1
  52. package/DropdownMenu/components/DropdownMenuLink.d.ts +9 -8
  53. package/DropdownMenu/components/DropdownMenuSeparator.d.ts +7 -6
  54. package/EditableTitle/EditableTitle.d.ts +7 -6
  55. package/EmptyState/EmptyState.d.ts +43 -0
  56. package/EmptyState/EmptyState.js +93 -0
  57. package/EmptyState/EmptyState.js.map +1 -0
  58. package/EmptyState/EmptyState.stories.d.ts +13 -0
  59. package/EmptyState/EmptyState.stories.js +136 -0
  60. package/EmptyState/EmptyState.stories.js.map +1 -0
  61. package/EmptyState/illustrations/ContentIllustration.d.ts +2 -0
  62. package/EmptyState/illustrations/ContentIllustration.js +100 -0
  63. package/EmptyState/illustrations/ContentIllustration.js.map +1 -0
  64. package/EmptyState/illustrations/LayoutIllustration.d.ts +2 -0
  65. package/EmptyState/illustrations/LayoutIllustration.js +93 -0
  66. package/EmptyState/illustrations/LayoutIllustration.js.map +1 -0
  67. package/EmptyState/illustrations/ListingIllustration.d.ts +2 -0
  68. package/EmptyState/illustrations/ListingIllustration.js +92 -0
  69. package/EmptyState/illustrations/ListingIllustration.js.map +1 -0
  70. package/EmptyState/illustrations/SelectIllustration.d.ts +2 -0
  71. package/EmptyState/illustrations/SelectIllustration.js +100 -0
  72. package/EmptyState/illustrations/SelectIllustration.js.map +1 -0
  73. package/EmptyState/illustrations/TableIllustration.d.ts +2 -0
  74. package/EmptyState/illustrations/TableIllustration.js +233 -0
  75. package/EmptyState/illustrations/TableIllustration.js.map +1 -0
  76. package/EmptyState/illustrations/UploadIllustration.d.ts +2 -0
  77. package/EmptyState/illustrations/UploadIllustration.js +77 -0
  78. package/EmptyState/illustrations/UploadIllustration.js.map +1 -0
  79. package/EmptyState/illustrations/index.d.ts +6 -0
  80. package/EmptyState/illustrations/index.js +6 -0
  81. package/EmptyState/index.d.ts +1 -0
  82. package/EmptyState/index.js +1 -0
  83. package/FilePicker/FilePicker.d.ts +7 -6
  84. package/FilePicker/primitives/FilePickerPrimitive.d.ts +8 -7
  85. package/FilePicker/primitives/components/Trigger.d.ts +1 -1
  86. package/FilePicker/primitives/components/previews/ImagePreview/ImagePreview.d.ts +7 -6
  87. package/FilePicker/primitives/components/previews/RichItemPreview/RichItemPreview.d.ts +7 -6
  88. package/FilePicker/primitives/components/previews/TextOnlyPreview/TextOnlyPreview.d.ts +7 -6
  89. package/FilePicker/primitives/components/previews/variants.d.ts +1 -1
  90. package/FillViewport/FillViewport.d.ts +21 -18
  91. package/FormComponent/Description.d.ts +7 -6
  92. package/FormComponent/ErrorMessage.d.ts +7 -6
  93. package/FormComponent/Label.d.ts +7 -6
  94. package/FormComponent/Note.d.ts +7 -6
  95. package/Grid/Grid.d.ts +24 -22
  96. package/HeaderBar/HeaderBar.d.ts +7 -6
  97. package/Heading/Heading.d.ts +8 -7
  98. package/Icon/Icon.d.ts +9 -8
  99. package/IconPicker/IconPicker.d.ts +7 -6
  100. package/IconPicker/primitives/IconPickerPrimitive.d.ts +1 -1
  101. package/IconPicker/primitives/components/IconPickerTrigger.d.ts +1 -1
  102. package/Input/Input.d.ts +7 -6
  103. package/Input/InputPrimitive.d.ts +9 -8
  104. package/Label/Label.d.ts +8 -7
  105. package/Label/components/LabelValue.d.ts +1 -1
  106. package/Link/Link.d.ts +2 -2
  107. package/List/List.d.ts +8 -7
  108. package/List/components/ListItem.d.ts +7 -6
  109. package/List/components/ListItemAction.d.ts +7 -6
  110. package/List/components/ListItemHandle.d.ts +7 -6
  111. package/List/components/ListItemIcon.d.ts +7 -6
  112. package/List/components/ListItemSeparator.d.ts +7 -6
  113. package/Loader/Loader.d.ts +9 -8
  114. package/Loader/OverlayLoader.d.ts +7 -6
  115. package/MultiAutoComplete/MultiAutoComplete.d.ts +7 -6
  116. package/MultiAutoComplete/primitives/MultiAutoCompletePrimitive.d.ts +7 -6
  117. package/MultiAutoComplete/primitives/presenters/MultiAutoCompletePresenterWithFreeInput.d.ts +3 -3
  118. package/MultiAutoComplete/primitives/useMultiAutoComplete.d.ts +3 -3
  119. package/MultiFilePicker/MultiFilePicker.d.ts +7 -6
  120. package/MultiFilePicker/primitives/MultiFilePickerPrimitive.d.ts +7 -6
  121. package/MultiSelect/MultiSelect.d.ts +7 -6
  122. package/MultiSelect/primitives/MultiSelectPrimitive.d.ts +10 -6
  123. package/Popover/Popover.d.ts +7 -6
  124. package/Popover/primitives/PopoverPrimitive.d.ts +7 -7
  125. package/ProgressBar/ProgressBar.d.ts +7 -6
  126. package/RadioGroup/RadioGroup.d.ts +7 -6
  127. package/RadioGroup/primitives/Radio.d.ts +7 -6
  128. package/RadioGroup/primitives/RadioGroupPrimitive.d.ts +5 -1
  129. package/RangeSlider/RangeSlider.d.ts +7 -6
  130. package/SegmentedControl/SegmentedControl.d.ts +8 -7
  131. package/SegmentedControl/SegmentedControlTabs.d.ts +5 -2
  132. package/SegmentedControl/primitives/SegmentedControlPrimitive.d.ts +1 -1
  133. package/Select/Select.d.ts +7 -6
  134. package/Select/primitives/components/SelectTrigger.d.ts +2 -2
  135. package/Separator/Separator.d.ts +9 -8
  136. package/Sidebar/Sidebar.d.ts +7 -6
  137. package/Sidebar/components/SidebarIcon.d.ts +7 -6
  138. package/Sidebar/components/SidebarProvider.d.ts +4 -4
  139. package/Sidebar/components/items/SidebarMenuGroup.d.ts +9 -8
  140. package/Sidebar/components/items/SidebarMenuItem.d.ts +11 -10
  141. package/Sidebar/components/items/SidebarMenuItemIcon.d.ts +7 -6
  142. package/Sidebar/components/items/SidebarMenuLink.d.ts +11 -10
  143. package/Sidebar/components/items/SidebarMenuProvider.d.ts +4 -4
  144. package/Sidebar/components/items/SidebarMenuRootItem.d.ts +9 -7
  145. package/Skeleton/Skeleton.d.ts +9 -7
  146. package/Skeleton/Skeleton.js +10 -4
  147. package/Skeleton/Skeleton.js.map +1 -1
  148. package/Skeleton/Skeleton.stories.d.ts +2 -0
  149. package/Skeleton/Skeleton.stories.js +28 -2
  150. package/Skeleton/Skeleton.stories.js.map +1 -1
  151. package/Slider/Slider.d.ts +7 -6
  152. package/SteppedProgress/SteppedProgress.d.ts +7 -6
  153. package/SteppedProgress/SteppedProgressItem.d.ts +7 -6
  154. package/Switch/Switch.d.ts +7 -6
  155. package/Switch/primitives/SwitchPrimitive.d.ts +10 -6
  156. package/Table/Table.d.ts +12 -10
  157. package/Table/components/Direction.d.ts +1 -1
  158. package/Tabs/Tabs.d.ts +8 -6
  159. package/Tabs/Tabs.js +5 -2
  160. package/Tabs/Tabs.js.map +1 -1
  161. package/Tabs/components/Content.d.ts +1 -1
  162. package/Tabs/components/List.d.ts +2 -2
  163. package/Tabs/components/Tab.d.ts +7 -6
  164. package/Tabs/components/Trigger.d.ts +3 -2
  165. package/Tabs/components/Trigger.js +8 -3
  166. package/Tabs/components/Trigger.js.map +1 -1
  167. package/Tag/Tag.d.ts +8 -7
  168. package/Tags/Tags.d.ts +7 -6
  169. package/Tags/primitives/TagsPrimitive.d.ts +7 -6
  170. package/Text/Text.d.ts +8 -7
  171. package/Textarea/Textarea.d.ts +7 -6
  172. package/Textarea/TextareaPrimitive.d.ts +9 -8
  173. package/Toast/Toast.d.ts +7 -6
  174. package/Toast/components/ToastActions.d.ts +7 -6
  175. package/Toast/components/ToastDescription.d.ts +7 -6
  176. package/Toast/components/ToastTitle.d.ts +7 -6
  177. package/Toggle/Toggle.d.ts +7 -6
  178. package/Toggle/primitives/TogglePrimitive.d.ts +13 -9
  179. package/ToggleGroup/ToggleGroup.d.ts +7 -6
  180. package/ToggleGroup/primitives/ToggleGroupPrimitive.d.ts +13 -9
  181. package/Tooltip/Tooltip.d.ts +7 -6
  182. package/Tree/Tree.d.ts +7 -6
  183. package/Tree/components/Item.d.ts +7 -6
  184. package/Tree/components/ItemCollapseTrigger.d.ts +7 -6
  185. package/Tree/components/ItemContent.d.ts +8 -6
  186. package/Tree/components/ItemDragHandle.d.ts +7 -6
  187. package/Tree/components/ItemIcon.d.ts +7 -6
  188. package/Tree/components/ItemPlaceholder.d.ts +7 -6
  189. package/Tree/components/ItemSubIndentation.d.ts +7 -6
  190. package/Widget/Widget.d.ts +8 -22
  191. package/Widget/components/Icon.d.ts +7 -6
  192. package/Widget/components/WidgetAction.d.ts +8 -6
  193. package/Widget/components/WidgetContent.d.ts +5 -5
  194. package/exports/admin/ui.d.ts +1 -0
  195. package/exports/admin/ui.js +1 -0
  196. package/index.d.ts +1 -0
  197. package/index.js +1 -0
  198. package/package.json +24 -24
  199. package/theme.css +13 -1
  200. package/utils.js +52 -34
  201. package/utils.js.map +1 -1
package/Label/Label.d.ts CHANGED
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { Label as LabelPrimitive } from "radix-ui";
3
3
  import { type VariantProps } from "../utils.js";
4
4
  declare const labelVariants: (props?: ({
5
- weight?: "strong" | "light" | null | undefined;
5
+ weight?: "light" | "strong" | null | undefined;
6
6
  disabled?: boolean | null | undefined;
7
7
  invalid?: boolean | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -14,21 +14,22 @@ interface LabelProps extends Omit<React.ComponentPropsWithoutRef<typeof LabelPri
14
14
  required?: boolean;
15
15
  disabled?: boolean;
16
16
  }
17
- declare const Label: (({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null) & {
18
- original: ({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null;
17
+ declare const LabelBase: ({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null;
18
+ declare const Label: typeof LabelBase & {
19
+ original: typeof LabelBase;
19
20
  originalName: string;
20
21
  displayName: string;
21
22
  } & {
22
- original: (({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null) & {
23
- original: ({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null;
23
+ original: typeof LabelBase & {
24
+ original: typeof LabelBase;
24
25
  originalName: string;
25
26
  displayName: string;
26
27
  };
27
28
  originalName: string;
28
29
  displayName: string;
29
30
  } & {
30
- createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null) & {
31
- original: ({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null;
31
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof LabelBase & {
32
+ original: typeof LabelBase;
32
33
  originalName: string;
33
34
  displayName: string;
34
35
  }>) => (props: unknown) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { type VariantProps } from "../../utils.js";
3
3
  declare const labelValueVariants: (props?: ({
4
- weight?: "strong" | "light" | null | undefined;
4
+ weight?: "light" | "strong" | null | undefined;
5
5
  disabled?: boolean | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  interface LabelValueProps extends VariantProps<typeof labelValueVariants> {
package/Link/Link.d.ts CHANGED
@@ -2,8 +2,8 @@ import React from "react";
2
2
  import { type VariantProps } from "../utils.js";
3
3
  import { LinkComponentProps } from "./LinkComponent.js";
4
4
  declare const linkVariants: (props?: ({
5
- size?: "sm" | "md" | "lg" | "xl" | "inherit" | null | undefined;
6
- variant?: "primary" | "secondary" | "primary-negative" | "secondary-negative" | null | undefined;
5
+ size?: "inherit" | "lg" | "md" | "sm" | "xl" | null | undefined;
6
+ variant?: "primary" | "primary-negative" | "secondary" | "secondary-negative" | null | undefined;
7
7
  underline?: boolean | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  export type LinkProps = LinkComponentProps & VariantProps<typeof linkVariants> & {
package/List/List.d.ts CHANGED
@@ -3,26 +3,27 @@ import { type VariantProps } from "../utils.js";
3
3
  import { type ListItemProps } from "./components/index.js";
4
4
  declare const listVariants: (props?: ({
5
5
  variant?: "container" | "underline" | null | undefined;
6
- background?: "base" | "transparent" | "light" | null | undefined;
6
+ background?: "base" | "light" | "transparent" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  interface ListProps extends VariantProps<typeof listVariants>, Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
9
9
  children: React.ReactNode;
10
10
  }
11
- declare const List: (({ children, variant, background, className, ...props }: ListProps) => React.JSX.Element) & {
12
- original: ({ children, variant, background, className, ...props }: ListProps) => React.JSX.Element;
11
+ declare const DecoratableList: ({ children, variant, background, className, ...props }: ListProps) => React.JSX.Element;
12
+ declare const List: typeof DecoratableList & {
13
+ original: typeof DecoratableList;
13
14
  originalName: string;
14
15
  displayName: string;
15
16
  } & {
16
- original: (({ children, variant, background, className, ...props }: ListProps) => React.JSX.Element) & {
17
- original: ({ children, variant, background, className, ...props }: ListProps) => React.JSX.Element;
17
+ original: typeof DecoratableList & {
18
+ original: typeof DecoratableList;
18
19
  originalName: string;
19
20
  displayName: string;
20
21
  };
21
22
  originalName: string;
22
23
  displayName: string;
23
24
  } & {
24
- createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ children, variant, background, className, ...props }: ListProps) => React.JSX.Element) & {
25
- original: ({ children, variant, background, className, ...props }: ListProps) => React.JSX.Element;
25
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableList & {
26
+ original: typeof DecoratableList;
26
27
  originalName: string;
27
28
  displayName: string;
28
29
  }>) => (props: unknown) => React.JSX.Element;
@@ -15,21 +15,22 @@ interface ListItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "titl
15
15
  colorMark?: string;
16
16
  sidePadding?: "md" | "lg";
17
17
  }
18
- declare const ListItem: (({ actions, children, className, description, activated, disabled, selected, handle, icon, colorMark, sidePadding, onClick, title, ...props }: ListItemProps) => React.JSX.Element) & {
19
- original: ({ actions, children, className, description, activated, disabled, selected, handle, icon, colorMark, sidePadding, onClick, title, ...props }: ListItemProps) => React.JSX.Element;
18
+ declare const DecoratableListItem: ({ actions, children, className, description, activated, disabled, selected, handle, icon, colorMark, sidePadding, onClick, title, ...props }: ListItemProps) => React.JSX.Element;
19
+ declare const ListItem: typeof DecoratableListItem & {
20
+ original: typeof DecoratableListItem;
20
21
  originalName: string;
21
22
  displayName: string;
22
23
  } & {
23
- original: (({ actions, children, className, description, activated, disabled, selected, handle, icon, colorMark, sidePadding, onClick, title, ...props }: ListItemProps) => React.JSX.Element) & {
24
- original: ({ actions, children, className, description, activated, disabled, selected, handle, icon, colorMark, sidePadding, onClick, title, ...props }: ListItemProps) => React.JSX.Element;
24
+ original: typeof DecoratableListItem & {
25
+ original: typeof DecoratableListItem;
25
26
  originalName: string;
26
27
  displayName: string;
27
28
  };
28
29
  originalName: string;
29
30
  displayName: string;
30
31
  } & {
31
- createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ actions, children, className, description, activated, disabled, selected, handle, icon, colorMark, sidePadding, onClick, title, ...props }: ListItemProps) => React.JSX.Element) & {
32
- original: ({ actions, children, className, description, activated, disabled, selected, handle, icon, colorMark, sidePadding, onClick, title, ...props }: ListItemProps) => React.JSX.Element;
32
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableListItem & {
33
+ original: typeof DecoratableListItem;
33
34
  originalName: string;
34
35
  displayName: string;
35
36
  }>) => (props: unknown) => React.JSX.Element;
@@ -1,21 +1,22 @@
1
1
  import * as React from "react";
2
2
  import type { IconButtonProps } from "../../Button/index.js";
3
3
  type ListItemActionProps = IconButtonProps;
4
- declare const ListItemAction: ((props: ListItemActionProps) => React.JSX.Element) & {
5
- original: (props: ListItemActionProps) => React.JSX.Element;
4
+ declare const DecoratableListItemAction: (props: ListItemActionProps) => React.JSX.Element;
5
+ declare const ListItemAction: typeof DecoratableListItemAction & {
6
+ original: typeof DecoratableListItemAction;
6
7
  originalName: string;
7
8
  displayName: string;
8
9
  } & {
9
- original: ((props: ListItemActionProps) => React.JSX.Element) & {
10
- original: (props: ListItemActionProps) => React.JSX.Element;
10
+ original: typeof DecoratableListItemAction & {
11
+ original: typeof DecoratableListItemAction;
11
12
  originalName: string;
12
13
  displayName: string;
13
14
  };
14
15
  originalName: string;
15
16
  displayName: string;
16
17
  } & {
17
- createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: ListItemActionProps) => React.JSX.Element) & {
18
- original: (props: ListItemActionProps) => React.JSX.Element;
18
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableListItemAction & {
19
+ original: typeof DecoratableListItemAction;
19
20
  originalName: string;
20
21
  displayName: string;
21
22
  }>) => (props: unknown) => React.JSX.Element;
@@ -4,21 +4,22 @@ interface ListItemHandleProps extends Omit<IconProps, "icon" | "label"> {
4
4
  icon?: React.ReactElement;
5
5
  label?: string;
6
6
  }
7
- declare const ListItemHandle: ((props: ListItemHandleProps) => React.JSX.Element) & {
8
- original: (props: ListItemHandleProps) => React.JSX.Element;
7
+ declare const DecoratableListItemHandle: (props: ListItemHandleProps) => React.JSX.Element;
8
+ declare const ListItemHandle: typeof DecoratableListItemHandle & {
9
+ original: typeof DecoratableListItemHandle;
9
10
  originalName: string;
10
11
  displayName: string;
11
12
  } & {
12
- original: ((props: ListItemHandleProps) => React.JSX.Element) & {
13
- original: (props: ListItemHandleProps) => React.JSX.Element;
13
+ original: typeof DecoratableListItemHandle & {
14
+ original: typeof DecoratableListItemHandle;
14
15
  originalName: string;
15
16
  displayName: string;
16
17
  };
17
18
  originalName: string;
18
19
  displayName: string;
19
20
  } & {
20
- createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<((props: ListItemHandleProps) => React.JSX.Element) & {
21
- original: (props: ListItemHandleProps) => React.JSX.Element;
21
+ createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof DecoratableListItemHandle & {
22
+ original: typeof DecoratableListItemHandle;
22
23
  originalName: string;
23
24
  displayName: string;
24
25
  }>) => (props: unknown) => React.JSX.Element;
@@ -1,21 +1,22 @@
1
1
  import * as React from "react";
2
2
  import type { IconProps as IconComponentProps } from "../../Icon/index.js";
3
3
  type ListItemIconProps = IconComponentProps;
4
- export declare const ListItemIcon: ((props: ListItemIconProps) => React.JSX.Element) & {
5
- original: (props: ListItemIconProps) => React.JSX.Element;
4
+ declare const DecoratableListItemIcon: (props: ListItemIconProps) => React.JSX.Element;
5
+ export declare const ListItemIcon: typeof DecoratableListItemIcon & {
6
+ original: typeof DecoratableListItemIcon;
6
7
  originalName: string;
7
8
  displayName: string;
8
9
  } & {
9
- original: ((props: ListItemIconProps) => React.JSX.Element) & {
10
- original: (props: ListItemIconProps) => React.JSX.Element;
10
+ original: typeof DecoratableListItemIcon & {
11
+ original: typeof DecoratableListItemIcon;
11
12
  originalName: string;
12
13
  displayName: string;
13
14
  };
14
15
  originalName: string;
15
16
  displayName: string;
16
17
  } & {
17
- createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<((props: ListItemIconProps) => React.JSX.Element) & {
18
- original: (props: ListItemIconProps) => React.JSX.Element;
18
+ createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof DecoratableListItemIcon & {
19
+ original: typeof DecoratableListItemIcon;
19
20
  originalName: string;
20
21
  displayName: string;
21
22
  }>) => (props: unknown) => React.JSX.Element;
@@ -1,21 +1,22 @@
1
1
  import * as React from "react";
2
2
  import { type SeparatorProps } from "../../Separator/index.js";
3
3
  type ListItemSeparatorProps = SeparatorProps;
4
- declare const ListItemSeparator: ((props: ListItemSeparatorProps) => React.JSX.Element) & {
5
- original: (props: ListItemSeparatorProps) => React.JSX.Element;
4
+ declare const DecoratableListItemSeparator: (props: ListItemSeparatorProps) => React.JSX.Element;
5
+ declare const ListItemSeparator: typeof DecoratableListItemSeparator & {
6
+ original: typeof DecoratableListItemSeparator;
6
7
  originalName: string;
7
8
  displayName: string;
8
9
  } & {
9
- original: ((props: ListItemSeparatorProps) => React.JSX.Element) & {
10
- original: (props: ListItemSeparatorProps) => React.JSX.Element;
10
+ original: typeof DecoratableListItemSeparator & {
11
+ original: typeof DecoratableListItemSeparator;
11
12
  originalName: string;
12
13
  displayName: string;
13
14
  };
14
15
  originalName: string;
15
16
  displayName: string;
16
17
  } & {
17
- createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<((props: ListItemSeparatorProps) => React.JSX.Element) & {
18
- original: (props: ListItemSeparatorProps) => React.JSX.Element;
18
+ createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof DecoratableListItemSeparator & {
19
+ original: typeof DecoratableListItemSeparator;
19
20
  originalName: string;
20
21
  displayName: string;
21
22
  }>) => (props: unknown) => React.JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import React from "react";
2
2
  import { type VariantProps } from "../utils.js";
3
3
  declare const loaderVariants: (props?: ({
4
- size?: "sm" | "md" | "lg" | "xs" | null | undefined;
4
+ size?: "lg" | "md" | "sm" | "xs" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  declare const loaderBaseVariant: (props?: ({
7
- variant?: "accent" | "subtle" | "negative" | null | undefined;
7
+ variant?: "accent" | "negative" | "subtle" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  interface LoaderProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof loaderVariants>, VariantProps<typeof loaderBaseVariant> {
10
10
  max?: number;
@@ -14,21 +14,22 @@ interface LoaderProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps
14
14
  indeterminate?: boolean;
15
15
  text?: React.ReactNode;
16
16
  }
17
- declare const Loader: (({ max, min, value, indeterminate, className, size, variant, text, ...props }: LoaderProps) => React.JSX.Element) & {
18
- original: ({ max, min, value, indeterminate, className, size, variant, text, ...props }: LoaderProps) => React.JSX.Element;
17
+ declare const DecoratableLoader: ({ max, min, value, indeterminate, className, size, variant, text, ...props }: LoaderProps) => React.JSX.Element;
18
+ declare const Loader: typeof DecoratableLoader & {
19
+ original: typeof DecoratableLoader;
19
20
  originalName: string;
20
21
  displayName: string;
21
22
  } & {
22
- original: (({ max, min, value, indeterminate, className, size, variant, text, ...props }: LoaderProps) => React.JSX.Element) & {
23
- original: ({ max, min, value, indeterminate, className, size, variant, text, ...props }: LoaderProps) => React.JSX.Element;
23
+ original: typeof DecoratableLoader & {
24
+ original: typeof DecoratableLoader;
24
25
  originalName: string;
25
26
  displayName: string;
26
27
  };
27
28
  originalName: string;
28
29
  displayName: string;
29
30
  } & {
30
- createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<(({ max, min, value, indeterminate, className, size, variant, text, ...props }: LoaderProps) => React.JSX.Element) & {
31
- original: ({ max, min, value, indeterminate, className, size, variant, text, ...props }: LoaderProps) => React.JSX.Element;
31
+ createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof DecoratableLoader & {
32
+ original: typeof DecoratableLoader;
32
33
  originalName: string;
33
34
  displayName: string;
34
35
  }>) => (props: unknown) => React.JSX.Element;
@@ -1,21 +1,22 @@
1
1
  import React from "react";
2
2
  import type { LoaderProps } from "./Loader.js";
3
3
  type OverlayLoaderProps = LoaderProps;
4
- declare const OverlayLoader: (({ className, size, ...props }: OverlayLoaderProps) => React.JSX.Element) & {
5
- original: ({ className, size, ...props }: OverlayLoaderProps) => React.JSX.Element;
4
+ declare const DecoratableOverlayLoader: ({ className, size, ...props }: OverlayLoaderProps) => React.JSX.Element;
5
+ declare const OverlayLoader: typeof DecoratableOverlayLoader & {
6
+ original: typeof DecoratableOverlayLoader;
6
7
  originalName: string;
7
8
  displayName: string;
8
9
  } & {
9
- original: (({ className, size, ...props }: OverlayLoaderProps) => React.JSX.Element) & {
10
- original: ({ className, size, ...props }: OverlayLoaderProps) => React.JSX.Element;
10
+ original: typeof DecoratableOverlayLoader & {
11
+ original: typeof DecoratableOverlayLoader;
11
12
  originalName: string;
12
13
  displayName: string;
13
14
  };
14
15
  originalName: string;
15
16
  displayName: string;
16
17
  } & {
17
- createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ className, size, ...props }: OverlayLoaderProps) => React.JSX.Element) & {
18
- original: ({ className, size, ...props }: OverlayLoaderProps) => React.JSX.Element;
18
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableOverlayLoader & {
19
+ original: typeof DecoratableOverlayLoader;
19
20
  originalName: string;
20
21
  displayName: string;
21
22
  }>) => (props: unknown) => React.JSX.Element;
@@ -2,21 +2,22 @@ import React from "react";
2
2
  import type { MultiAutoCompletePrimitiveProps } from "./primitives/index.js";
3
3
  import type { FormComponentProps } from "../FormComponent/index.js";
4
4
  type MultiAutoCompleteProps = MultiAutoCompletePrimitiveProps & FormComponentProps;
5
- declare const MultiAutoComplete: (({ label, description, note, hint, required, disabled, validation, ...props }: MultiAutoCompleteProps) => React.JSX.Element) & {
6
- original: ({ label, description, note, hint, required, disabled, validation, ...props }: MultiAutoCompleteProps) => React.JSX.Element;
5
+ declare const DecoratableMultiAutoComplete: ({ label, description, note, hint, required, disabled, validation, ...props }: MultiAutoCompleteProps) => React.JSX.Element;
6
+ declare const MultiAutoComplete: typeof DecoratableMultiAutoComplete & {
7
+ original: typeof DecoratableMultiAutoComplete;
7
8
  originalName: string;
8
9
  displayName: string;
9
10
  } & {
10
- original: (({ label, description, note, hint, required, disabled, validation, ...props }: MultiAutoCompleteProps) => React.JSX.Element) & {
11
- original: ({ label, description, note, hint, required, disabled, validation, ...props }: MultiAutoCompleteProps) => React.JSX.Element;
11
+ original: typeof DecoratableMultiAutoComplete & {
12
+ original: typeof DecoratableMultiAutoComplete;
12
13
  originalName: string;
13
14
  displayName: string;
14
15
  };
15
16
  originalName: string;
16
17
  displayName: string;
17
18
  } & {
18
- createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ label, description, note, hint, required, disabled, validation, ...props }: MultiAutoCompleteProps) => React.JSX.Element) & {
19
- original: ({ label, description, note, hint, required, disabled, validation, ...props }: MultiAutoCompleteProps) => React.JSX.Element;
19
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableMultiAutoComplete & {
20
+ original: typeof DecoratableMultiAutoComplete;
20
21
  originalName: string;
21
22
  displayName: string;
22
23
  }>) => (props: unknown) => React.JSX.Element;
@@ -100,21 +100,22 @@ interface MultiAutoCompletePrimitiveProps {
100
100
  */
101
101
  values?: string[];
102
102
  }
103
- declare const MultiAutoCompletePrimitive: ((props: MultiAutoCompletePrimitiveProps) => React.JSX.Element) & {
104
- original: (props: MultiAutoCompletePrimitiveProps) => React.JSX.Element;
103
+ declare const DecoratableMultiAutoCompletePrimitive: (props: MultiAutoCompletePrimitiveProps) => React.JSX.Element;
104
+ declare const MultiAutoCompletePrimitive: typeof DecoratableMultiAutoCompletePrimitive & {
105
+ original: typeof DecoratableMultiAutoCompletePrimitive;
105
106
  originalName: string;
106
107
  displayName: string;
107
108
  } & {
108
- original: ((props: MultiAutoCompletePrimitiveProps) => React.JSX.Element) & {
109
- original: (props: MultiAutoCompletePrimitiveProps) => React.JSX.Element;
109
+ original: typeof DecoratableMultiAutoCompletePrimitive & {
110
+ original: typeof DecoratableMultiAutoCompletePrimitive;
110
111
  originalName: string;
111
112
  displayName: string;
112
113
  };
113
114
  originalName: string;
114
115
  displayName: string;
115
116
  } & {
116
- createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: MultiAutoCompletePrimitiveProps) => React.JSX.Element) & {
117
- original: (props: MultiAutoCompletePrimitiveProps) => React.JSX.Element;
117
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableMultiAutoCompletePrimitive & {
118
+ original: typeof DecoratableMultiAutoCompletePrimitive;
118
119
  originalName: string;
119
120
  displayName: string;
120
121
  }>) => (props: unknown) => React.JSX.Element;
@@ -6,12 +6,12 @@ declare class MultiAutoCompletePresenterWithFreeInput implements IMultiAutoCompl
6
6
  constructor(temporaryOptionPresenter: IMultiAutoCompleteTemporaryOptionPresenter, multiAutoCompletePresenter: IMultiAutoCompletePresenter);
7
7
  init(params: MultiAutoCompletePresenterParams): void;
8
8
  get vm(): {
9
- temporaryOptionVm: {
10
- option?: import("../../../Command/index.js").CommandOptionFormatted;
11
- };
12
9
  inputVm: import("./MultiAutoCompleteInputPresenter.js").IMultiAutoCompleteInputPresenter["vm"];
13
10
  selectedOptionsVm: import("./MultiAutoCompleteSelectedOptionsPresenter.js").IMultiAutoCompleteSelectedOptionsPresenter["vm"];
14
11
  optionsListVm: import("./MultiAutoCompleteListOptionsPresenter.js").IMultiAutoCompleteListOptionsPresenter["vm"];
12
+ temporaryOptionVm: {
13
+ option?: import("../../../Command/index.js").CommandOptionFormatted;
14
+ };
15
15
  };
16
16
  setListOpenState: (open: boolean) => void;
17
17
  searchOption: (value: string) => void;
@@ -21,12 +21,12 @@ export declare const useMultiAutoComplete: (props: MultiAutoCompletePrimitivePro
21
21
  option: undefined;
22
22
  };
23
23
  } | {
24
- temporaryOptionVm: {
25
- option?: import("../../Command/index.js").CommandOptionFormatted;
26
- };
27
24
  inputVm: import("./presenters/MultiAutoCompleteInputPresenter.js").IMultiAutoCompleteInputPresenter["vm"];
28
25
  selectedOptionsVm: import("./presenters/MultiAutoCompleteSelectedOptionsPresenter.js").IMultiAutoCompleteSelectedOptionsPresenter["vm"];
29
26
  optionsListVm: import("./presenters/MultiAutoCompleteListOptionsPresenter.js").IMultiAutoCompleteListOptionsPresenter["vm"];
27
+ temporaryOptionVm: {
28
+ option?: import("../../Command/index.js").CommandOptionFormatted;
29
+ };
30
30
  };
31
31
  setSelectedOption: ((value: string) => void) | ((value: string) => void);
32
32
  removeSelectedOption: ((value: string) => void) | ((value: string) => void);
@@ -2,21 +2,22 @@ import React from "react";
2
2
  import { type MultiFilePickerPrimitiveProps } from "./primitives/index.js";
3
3
  import { type FormComponentProps } from "../FormComponent/index.js";
4
4
  type MultiFilePickerProps = MultiFilePickerPrimitiveProps & FormComponentProps;
5
- declare const MultiFilePicker: (({ label, description, note, disabled, validation, validate, onBlur: originalOnBlur, type, ...props }: MultiFilePickerProps) => React.JSX.Element) & {
6
- original: ({ label, description, note, disabled, validation, validate, onBlur: originalOnBlur, type, ...props }: MultiFilePickerProps) => React.JSX.Element;
5
+ declare const BaseMultiFilePicker: ({ label, description, note, disabled, validation, validate, onBlur: originalOnBlur, type, ...props }: MultiFilePickerProps) => React.JSX.Element;
6
+ declare const MultiFilePicker: typeof BaseMultiFilePicker & {
7
+ original: typeof BaseMultiFilePicker;
7
8
  originalName: string;
8
9
  displayName: string;
9
10
  } & {
10
- original: (({ label, description, note, disabled, validation, validate, onBlur: originalOnBlur, type, ...props }: MultiFilePickerProps) => React.JSX.Element) & {
11
- original: ({ label, description, note, disabled, validation, validate, onBlur: originalOnBlur, type, ...props }: MultiFilePickerProps) => React.JSX.Element;
11
+ original: typeof BaseMultiFilePicker & {
12
+ original: typeof BaseMultiFilePicker;
12
13
  originalName: string;
13
14
  displayName: string;
14
15
  };
15
16
  originalName: string;
16
17
  displayName: string;
17
18
  } & {
18
- createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ label, description, note, disabled, validation, validate, onBlur: originalOnBlur, type, ...props }: MultiFilePickerProps) => React.JSX.Element) & {
19
- original: ({ label, description, note, disabled, validation, validate, onBlur: originalOnBlur, type, ...props }: MultiFilePickerProps) => React.JSX.Element;
19
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof BaseMultiFilePicker & {
20
+ original: typeof BaseMultiFilePicker;
20
21
  originalName: string;
21
22
  displayName: string;
22
23
  }>) => (props: unknown) => React.JSX.Element;
@@ -22,21 +22,22 @@ interface MultiFilePickerPrimitiveProps extends Omit<FilePickerPrimitiveProps, "
22
22
  */
23
23
  onRemoveItem?: (item: FileItemFormatted | null, index: number) => void;
24
24
  }
25
- declare const MultiFilePickerPrimitive: (({ className, buttonPlaceholder, containerStyle, description, disabled, invalid, label, onEditItem, onRemoveItem, onReplaceItem, onSelectItem, placeholder, renderFilePreview, renderTrigger, type, values, variant }: MultiFilePickerPrimitiveProps) => React.JSX.Element) & {
26
- original: ({ className, buttonPlaceholder, containerStyle, description, disabled, invalid, label, onEditItem, onRemoveItem, onReplaceItem, onSelectItem, placeholder, renderFilePreview, renderTrigger, type, values, variant }: MultiFilePickerPrimitiveProps) => React.JSX.Element;
25
+ declare const BaseMultiFilePickerPrimitive: ({ className, buttonPlaceholder, containerStyle, description, disabled, invalid, label, onEditItem, onRemoveItem, onReplaceItem, onSelectItem, placeholder, renderFilePreview, renderTrigger, type, values, variant }: MultiFilePickerPrimitiveProps) => React.JSX.Element;
26
+ declare const MultiFilePickerPrimitive: typeof BaseMultiFilePickerPrimitive & {
27
+ original: typeof BaseMultiFilePickerPrimitive;
27
28
  originalName: string;
28
29
  displayName: string;
29
30
  } & {
30
- original: (({ className, buttonPlaceholder, containerStyle, description, disabled, invalid, label, onEditItem, onRemoveItem, onReplaceItem, onSelectItem, placeholder, renderFilePreview, renderTrigger, type, values, variant }: MultiFilePickerPrimitiveProps) => React.JSX.Element) & {
31
- original: ({ className, buttonPlaceholder, containerStyle, description, disabled, invalid, label, onEditItem, onRemoveItem, onReplaceItem, onSelectItem, placeholder, renderFilePreview, renderTrigger, type, values, variant }: MultiFilePickerPrimitiveProps) => React.JSX.Element;
31
+ original: typeof BaseMultiFilePickerPrimitive & {
32
+ original: typeof BaseMultiFilePickerPrimitive;
32
33
  originalName: string;
33
34
  displayName: string;
34
35
  };
35
36
  originalName: string;
36
37
  displayName: string;
37
38
  } & {
38
- createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<(({ className, buttonPlaceholder, containerStyle, description, disabled, invalid, label, onEditItem, onRemoveItem, onReplaceItem, onSelectItem, placeholder, renderFilePreview, renderTrigger, type, values, variant }: MultiFilePickerPrimitiveProps) => React.JSX.Element) & {
39
- original: ({ className, buttonPlaceholder, containerStyle, description, disabled, invalid, label, onEditItem, onRemoveItem, onReplaceItem, onSelectItem, placeholder, renderFilePreview, renderTrigger, type, values, variant }: MultiFilePickerPrimitiveProps) => React.JSX.Element;
39
+ createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof BaseMultiFilePickerPrimitive & {
40
+ original: typeof BaseMultiFilePickerPrimitive;
40
41
  originalName: string;
41
42
  displayName: string;
42
43
  }>) => (props: unknown) => React.JSX.Element;
@@ -2,21 +2,22 @@ import React from "react";
2
2
  import type { MultiSelectPrimitiveProps } from "./primitives/index.js";
3
3
  import type { FormComponentProps } from "../FormComponent/index.js";
4
4
  type MultiSelectProps = MultiSelectPrimitiveProps & FormComponentProps;
5
- declare const MultiSelect: (({ label, description, note, hint, required, disabled, validation, ...props }: MultiSelectProps) => React.JSX.Element) & {
6
- original: ({ label, description, note, hint, required, disabled, validation, ...props }: MultiSelectProps) => React.JSX.Element;
5
+ declare const DecoratableMultiSelect: ({ label, description, note, hint, required, disabled, validation, ...props }: MultiSelectProps) => React.JSX.Element;
6
+ declare const MultiSelect: typeof DecoratableMultiSelect & {
7
+ original: typeof DecoratableMultiSelect;
7
8
  originalName: string;
8
9
  displayName: string;
9
10
  } & {
10
- original: (({ label, description, note, hint, required, disabled, validation, ...props }: MultiSelectProps) => React.JSX.Element) & {
11
- original: ({ label, description, note, hint, required, disabled, validation, ...props }: MultiSelectProps) => React.JSX.Element;
11
+ original: typeof DecoratableMultiSelect & {
12
+ original: typeof DecoratableMultiSelect;
12
13
  originalName: string;
13
14
  displayName: string;
14
15
  };
15
16
  originalName: string;
16
17
  displayName: string;
17
18
  } & {
18
- createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ label, description, note, hint, required, disabled, validation, ...props }: MultiSelectProps) => React.JSX.Element) & {
19
- original: ({ label, description, note, hint, required, disabled, validation, ...props }: MultiSelectProps) => React.JSX.Element;
19
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableMultiSelect & {
20
+ original: typeof DecoratableMultiSelect;
20
21
  originalName: string;
21
22
  displayName: string;
22
23
  }>) => (props: unknown) => React.JSX.Element;
@@ -23,21 +23,25 @@ interface MultiSelectPrimitiveProps {
23
23
  size?: VariantProps<typeof selectTriggerVariants>["size"];
24
24
  variant?: VariantProps<typeof selectTriggerVariants>["variant"];
25
25
  }
26
- declare const MultiSelectPrimitive: (({ options, value, onChange, onValueReset, placeholder, disabled, invalid, displayResetAction, showSelectionCount, size, variant }: MultiSelectPrimitiveProps) => React.JSX.Element) & {
27
- original: ({ options, value, onChange, onValueReset, placeholder, disabled, invalid, displayResetAction, showSelectionCount, size, variant }: MultiSelectPrimitiveProps) => React.JSX.Element;
26
+ /**
27
+ * MultiSelect Primitive
28
+ */
29
+ declare const DecoratableMultiSelectPrimitive: ({ options, value, onChange, onValueReset, placeholder, disabled, invalid, displayResetAction, showSelectionCount, size, variant }: MultiSelectPrimitiveProps) => React.JSX.Element;
30
+ declare const MultiSelectPrimitive: typeof DecoratableMultiSelectPrimitive & {
31
+ original: typeof DecoratableMultiSelectPrimitive;
28
32
  originalName: string;
29
33
  displayName: string;
30
34
  } & {
31
- original: (({ options, value, onChange, onValueReset, placeholder, disabled, invalid, displayResetAction, showSelectionCount, size, variant }: MultiSelectPrimitiveProps) => React.JSX.Element) & {
32
- original: ({ options, value, onChange, onValueReset, placeholder, disabled, invalid, displayResetAction, showSelectionCount, size, variant }: MultiSelectPrimitiveProps) => React.JSX.Element;
35
+ original: typeof DecoratableMultiSelectPrimitive & {
36
+ original: typeof DecoratableMultiSelectPrimitive;
33
37
  originalName: string;
34
38
  displayName: string;
35
39
  };
36
40
  originalName: string;
37
41
  displayName: string;
38
42
  } & {
39
- createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<(({ options, value, onChange, onValueReset, placeholder, disabled, invalid, displayResetAction, showSelectionCount, size, variant }: MultiSelectPrimitiveProps) => React.JSX.Element) & {
40
- original: ({ options, value, onChange, onValueReset, placeholder, disabled, invalid, displayResetAction, showSelectionCount, size, variant }: MultiSelectPrimitiveProps) => React.JSX.Element;
43
+ createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof DecoratableMultiSelectPrimitive & {
44
+ original: typeof DecoratableMultiSelectPrimitive;
41
45
  originalName: string;
42
46
  displayName: string;
43
47
  }>) => (props: unknown) => React.JSX.Element;
@@ -9,21 +9,22 @@ interface PopoverProps extends PopoverPrimitiveProps, Omit<PopoverPrimitiveProps
9
9
  trigger: React.ReactNode;
10
10
  variant?: PopoverPrimitiveContentProps["variant"];
11
11
  }
12
- declare const Popover: (({ align, arrow, close, content, side, trigger, variant, ...props }: PopoverProps) => React.JSX.Element) & {
13
- original: ({ align, arrow, close, content, side, trigger, variant, ...props }: PopoverProps) => React.JSX.Element;
12
+ declare const DecoratablePopover: ({ align, arrow, close, content, side, trigger, variant, ...props }: PopoverProps) => React.JSX.Element;
13
+ declare const Popover: typeof DecoratablePopover & {
14
+ original: typeof DecoratablePopover;
14
15
  originalName: string;
15
16
  displayName: string;
16
17
  } & {
17
- original: (({ align, arrow, close, content, side, trigger, variant, ...props }: PopoverProps) => React.JSX.Element) & {
18
- original: ({ align, arrow, close, content, side, trigger, variant, ...props }: PopoverProps) => React.JSX.Element;
18
+ original: typeof DecoratablePopover & {
19
+ original: typeof DecoratablePopover;
19
20
  originalName: string;
20
21
  displayName: string;
21
22
  };
22
23
  originalName: string;
23
24
  displayName: string;
24
25
  } & {
25
- createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ align, arrow, close, content, side, trigger, variant, ...props }: PopoverProps) => React.JSX.Element) & {
26
- original: ({ align, arrow, close, content, side, trigger, variant, ...props }: PopoverProps) => React.JSX.Element;
26
+ createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratablePopover & {
27
+ original: typeof DecoratablePopover;
27
28
  originalName: string;
28
29
  displayName: string;
29
30
  }>) => (props: unknown) => React.JSX.Element;
@@ -1,9 +1,9 @@
1
- import { type PopoverAnchorProps as PopoverPrimitiveAnchorProps, type PopoverArrowProps as PopoverPrimitiveArrowProps, type PopoverCloseProps as PopoverPrimitiveCloseProps, type PopoverContentProps as PopoverPrimitiveContentProps, type PopoverRootProps as PopoverPrimitiveProps, type PopoverTriggerProps as PopoverPrimitiveTriggerProps } from "./components/index.js";
2
- declare const PopoverPrimitive: (({ ...props }: PopoverPrimitiveProps) => import("react").JSX.Element) & {
3
- Anchor: ({ ...props }: PopoverPrimitiveAnchorProps) => import("react").JSX.Element;
4
- Arrow: ({ variant, className, ...props }: PopoverPrimitiveArrowProps) => import("react").JSX.Element;
5
- Close: ({ ...props }: PopoverPrimitiveCloseProps) => import("react").JSX.Element;
6
- Content: ({ className, variant, arrow, align, sideOffset, collisionPadding, ...props }: PopoverPrimitiveContentProps) => import("react").JSX.Element;
7
- Trigger: ({ ...props }: PopoverPrimitiveTriggerProps) => import("react").JSX.Element;
1
+ import { PopoverAnchor, PopoverArrow, PopoverContent, PopoverClose, PopoverRoot, PopoverTrigger, type PopoverAnchorProps as PopoverPrimitiveAnchorProps, type PopoverArrowProps as PopoverPrimitiveArrowProps, type PopoverCloseProps as PopoverPrimitiveCloseProps, type PopoverContentProps as PopoverPrimitiveContentProps, type PopoverRootProps as PopoverPrimitiveProps, type PopoverTriggerProps as PopoverPrimitiveTriggerProps } from "./components/index.js";
2
+ declare const PopoverPrimitive: typeof PopoverRoot & {
3
+ Anchor: typeof PopoverAnchor;
4
+ Arrow: typeof PopoverArrow;
5
+ Close: typeof PopoverClose;
6
+ Content: typeof PopoverContent;
7
+ Trigger: typeof PopoverTrigger;
8
8
  };
9
9
  export { PopoverPrimitive, type PopoverPrimitiveProps, type PopoverPrimitiveAnchorProps, type PopoverPrimitiveArrowProps, type PopoverPrimitiveCloseProps, type PopoverPrimitiveContentProps, type PopoverPrimitiveTriggerProps };