@webiny/admin-ui 6.4.5 → 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.
- package/Accordion/Accordion.d.ts +7 -6
- package/Accordion/components/AccordionItem.d.ts +7 -6
- package/Accordion/components/AccordionItemAction.d.ts +7 -6
- package/Accordion/components/AccordionItemIcon.d.ts +7 -6
- package/Accordion/components/AccordionItemSeparator.d.ts +7 -6
- package/Alert/Alert.d.ts +21 -19
- package/AutoComplete/AutoComplete.d.ts +7 -6
- package/AutoComplete/primitives/AutoCompletePrimitive.d.ts +7 -6
- package/Avatar/Avatar.d.ts +9 -8
- package/Avatar/components/AvatarFallback.d.ts +7 -6
- package/Avatar/components/AvatarImage.d.ts +7 -6
- package/Button/Button.d.ts +10 -9
- package/Button/CopyButton.d.ts +7 -6
- package/Button/IconButton.d.ts +10 -9
- package/Calendar/Calendar.d.ts +7 -6
- package/Card/Card.d.ts +8 -22
- package/Card/components/CancelAction.d.ts +8 -6
- package/Card/components/CardContent.d.ts +6 -6
- package/Card/components/CardTitle.d.ts +2 -2
- package/Card/components/ConfirmAction.d.ts +8 -6
- package/Card/components/Icon.d.ts +7 -6
- package/Checkbox/Checkbox.d.ts +7 -6
- package/Checkbox/primitives/CheckboxPrimitive.d.ts +17 -12
- package/CheckboxGroup/CheckboxGroup.d.ts +7 -6
- package/CheckboxGroup/primitives/CheckboxGroupPrimitive.d.ts +20 -12
- package/CodeEditor/CodeEditor.d.ts +7 -6
- package/CodeEditor/CodeEditorPrimitive.d.ts +7 -6
- package/ColorPicker/ColorPicker.d.ts +7 -6
- package/ColorPicker/primitives/ColorPickerPrimitive.d.ts +7 -6
- package/Command/Command.d.ts +10 -8
- package/DataList/DataListModal.d.ts +6 -3
- package/DataTable/DataTable.d.ts +7 -6
- package/DatePicker/DatePicker.d.ts +7 -6
- package/DatePicker/primitives/DatePickerPrimitive.d.ts +7 -6
- package/Dialog/Dialog.d.ts +8 -22
- package/Dialog/components/CancelAction.d.ts +8 -6
- package/Dialog/components/ConfirmAction.d.ts +8 -6
- package/Dialog/components/DialogContent.d.ts +1 -1
- package/Dialog/components/DialogFooter.d.ts +1 -1
- package/Dialog/components/DialogTitle.d.ts +1 -1
- package/Dialog/components/Icon.d.ts +7 -6
- package/Drawer/Drawer.d.ts +8 -22
- package/Drawer/Drawer.stories.js +1 -0
- package/Drawer/Drawer.stories.js.map +1 -1
- package/Drawer/components/CancelButton.d.ts +8 -6
- package/Drawer/components/ConfirmButton.d.ts +8 -6
- package/Drawer/components/DrawerContent.d.ts +1 -1
- package/Drawer/components/Icon.d.ts +7 -6
- package/DropdownMenu/components/DropdownMenuItem.d.ts +3 -2
- package/DropdownMenu/components/DropdownMenuItem.js +9 -2
- package/DropdownMenu/components/DropdownMenuItem.js.map +1 -1
- package/DropdownMenu/components/DropdownMenuLink.d.ts +9 -8
- package/DropdownMenu/components/DropdownMenuSeparator.d.ts +7 -6
- package/EditableTitle/EditableTitle.d.ts +7 -6
- package/EmptyState/EmptyState.d.ts +43 -0
- package/EmptyState/EmptyState.js +93 -0
- package/EmptyState/EmptyState.js.map +1 -0
- package/EmptyState/EmptyState.stories.d.ts +13 -0
- package/EmptyState/EmptyState.stories.js +136 -0
- package/EmptyState/EmptyState.stories.js.map +1 -0
- package/EmptyState/illustrations/ContentIllustration.d.ts +2 -0
- package/EmptyState/illustrations/ContentIllustration.js +100 -0
- package/EmptyState/illustrations/ContentIllustration.js.map +1 -0
- package/EmptyState/illustrations/LayoutIllustration.d.ts +2 -0
- package/EmptyState/illustrations/LayoutIllustration.js +93 -0
- package/EmptyState/illustrations/LayoutIllustration.js.map +1 -0
- package/EmptyState/illustrations/ListingIllustration.d.ts +2 -0
- package/EmptyState/illustrations/ListingIllustration.js +92 -0
- package/EmptyState/illustrations/ListingIllustration.js.map +1 -0
- package/EmptyState/illustrations/SelectIllustration.d.ts +2 -0
- package/EmptyState/illustrations/SelectIllustration.js +100 -0
- package/EmptyState/illustrations/SelectIllustration.js.map +1 -0
- package/EmptyState/illustrations/TableIllustration.d.ts +2 -0
- package/EmptyState/illustrations/TableIllustration.js +233 -0
- package/EmptyState/illustrations/TableIllustration.js.map +1 -0
- package/EmptyState/illustrations/UploadIllustration.d.ts +2 -0
- package/EmptyState/illustrations/UploadIllustration.js +77 -0
- package/EmptyState/illustrations/UploadIllustration.js.map +1 -0
- package/EmptyState/illustrations/index.d.ts +6 -0
- package/EmptyState/illustrations/index.js +6 -0
- package/EmptyState/index.d.ts +1 -0
- package/EmptyState/index.js +1 -0
- package/FilePicker/FilePicker.d.ts +7 -6
- package/FilePicker/primitives/FilePickerPrimitive.d.ts +8 -7
- package/FilePicker/primitives/components/Trigger.d.ts +1 -1
- package/FilePicker/primitives/components/previews/ImagePreview/ImagePreview.d.ts +7 -6
- package/FilePicker/primitives/components/previews/RichItemPreview/RichItemPreview.d.ts +7 -6
- package/FilePicker/primitives/components/previews/TextOnlyPreview/TextOnlyPreview.d.ts +7 -6
- package/FilePicker/primitives/components/previews/variants.d.ts +1 -1
- package/FillViewport/FillViewport.d.ts +21 -18
- package/FormComponent/Description.d.ts +7 -6
- package/FormComponent/ErrorMessage.d.ts +7 -6
- package/FormComponent/Label.d.ts +7 -6
- package/FormComponent/Note.d.ts +7 -6
- package/Grid/Grid.d.ts +24 -22
- package/HeaderBar/HeaderBar.d.ts +7 -6
- package/Heading/Heading.d.ts +8 -7
- package/Icon/Icon.d.ts +9 -8
- package/IconPicker/IconPicker.d.ts +7 -6
- package/IconPicker/primitives/IconPickerPrimitive.d.ts +1 -1
- package/IconPicker/primitives/components/IconPickerTrigger.d.ts +1 -1
- package/Input/Input.d.ts +7 -6
- package/Input/InputPrimitive.d.ts +9 -8
- package/Label/Label.d.ts +8 -7
- package/Label/components/LabelValue.d.ts +1 -1
- package/Link/Link.d.ts +2 -2
- package/List/List.d.ts +8 -7
- package/List/components/ListItem.d.ts +7 -6
- package/List/components/ListItemAction.d.ts +7 -6
- package/List/components/ListItemHandle.d.ts +7 -6
- package/List/components/ListItemIcon.d.ts +7 -6
- package/List/components/ListItemSeparator.d.ts +7 -6
- package/Loader/Loader.d.ts +9 -8
- package/Loader/OverlayLoader.d.ts +7 -6
- package/MultiAutoComplete/MultiAutoComplete.d.ts +7 -6
- package/MultiAutoComplete/primitives/MultiAutoCompletePrimitive.d.ts +7 -6
- package/MultiAutoComplete/primitives/presenters/MultiAutoCompletePresenterWithFreeInput.d.ts +3 -3
- package/MultiAutoComplete/primitives/useMultiAutoComplete.d.ts +3 -3
- package/MultiFilePicker/MultiFilePicker.d.ts +7 -6
- package/MultiFilePicker/primitives/MultiFilePickerPrimitive.d.ts +7 -6
- package/MultiSelect/MultiSelect.d.ts +7 -6
- package/MultiSelect/primitives/MultiSelectPrimitive.d.ts +10 -6
- package/Popover/Popover.d.ts +7 -6
- package/Popover/primitives/PopoverPrimitive.d.ts +7 -7
- package/ProgressBar/ProgressBar.d.ts +7 -6
- package/RadioGroup/RadioGroup.d.ts +7 -6
- package/RadioGroup/primitives/Radio.d.ts +7 -6
- package/RadioGroup/primitives/RadioGroupPrimitive.d.ts +5 -1
- package/RangeSlider/RangeSlider.d.ts +7 -6
- package/SegmentedControl/SegmentedControl.d.ts +8 -7
- package/SegmentedControl/SegmentedControlTabs.d.ts +5 -2
- package/SegmentedControl/primitives/SegmentedControlPrimitive.d.ts +1 -1
- package/Select/Select.d.ts +7 -6
- package/Select/primitives/components/SelectTrigger.d.ts +2 -2
- package/Separator/Separator.d.ts +9 -8
- package/Sidebar/Sidebar.d.ts +7 -6
- package/Sidebar/components/SidebarIcon.d.ts +7 -6
- package/Sidebar/components/SidebarProvider.d.ts +4 -4
- package/Sidebar/components/items/SidebarMenuGroup.d.ts +9 -8
- package/Sidebar/components/items/SidebarMenuItem.d.ts +11 -10
- package/Sidebar/components/items/SidebarMenuItemIcon.d.ts +7 -6
- package/Sidebar/components/items/SidebarMenuLink.d.ts +11 -10
- package/Sidebar/components/items/SidebarMenuProvider.d.ts +4 -4
- package/Sidebar/components/items/SidebarMenuRootItem.d.ts +9 -7
- package/Skeleton/Skeleton.d.ts +9 -7
- package/Skeleton/Skeleton.js +10 -4
- package/Skeleton/Skeleton.js.map +1 -1
- package/Skeleton/Skeleton.stories.d.ts +2 -0
- package/Skeleton/Skeleton.stories.js +28 -2
- package/Skeleton/Skeleton.stories.js.map +1 -1
- package/Slider/Slider.d.ts +7 -6
- package/SteppedProgress/SteppedProgress.d.ts +7 -6
- package/SteppedProgress/SteppedProgressItem.d.ts +7 -6
- package/Switch/Switch.d.ts +7 -6
- package/Switch/primitives/SwitchPrimitive.d.ts +10 -6
- package/Table/Table.d.ts +12 -10
- package/Table/components/Direction.d.ts +1 -1
- package/Tabs/Tabs.d.ts +8 -6
- package/Tabs/Tabs.js +5 -2
- package/Tabs/Tabs.js.map +1 -1
- package/Tabs/components/Content.d.ts +1 -1
- package/Tabs/components/List.d.ts +2 -2
- package/Tabs/components/Tab.d.ts +7 -6
- package/Tabs/components/Trigger.d.ts +3 -2
- package/Tabs/components/Trigger.js +8 -3
- package/Tabs/components/Trigger.js.map +1 -1
- package/Tag/Tag.d.ts +8 -7
- package/Tags/Tags.d.ts +7 -6
- package/Tags/primitives/TagsPrimitive.d.ts +7 -6
- package/Text/Text.d.ts +8 -7
- package/Textarea/Textarea.d.ts +7 -6
- package/Textarea/TextareaPrimitive.d.ts +9 -8
- package/Toast/Toast.d.ts +7 -6
- package/Toast/components/ToastActions.d.ts +7 -6
- package/Toast/components/ToastDescription.d.ts +7 -6
- package/Toast/components/ToastTitle.d.ts +7 -6
- package/Toggle/Toggle.d.ts +7 -6
- package/Toggle/primitives/TogglePrimitive.d.ts +13 -9
- package/ToggleGroup/ToggleGroup.d.ts +7 -6
- package/ToggleGroup/primitives/ToggleGroupPrimitive.d.ts +13 -9
- package/Tooltip/Tooltip.d.ts +7 -6
- package/Tree/Tree.d.ts +7 -6
- package/Tree/components/Item.d.ts +7 -6
- package/Tree/components/ItemCollapseTrigger.d.ts +7 -6
- package/Tree/components/ItemContent.d.ts +8 -6
- package/Tree/components/ItemDragHandle.d.ts +7 -6
- package/Tree/components/ItemIcon.d.ts +7 -6
- package/Tree/components/ItemPlaceholder.d.ts +7 -6
- package/Tree/components/ItemSubIndentation.d.ts +7 -6
- package/Widget/Widget.d.ts +8 -22
- package/Widget/components/Icon.d.ts +7 -6
- package/Widget/components/WidgetAction.d.ts +8 -6
- package/Widget/components/WidgetContent.d.ts +5 -5
- package/exports/admin/ui.d.ts +1 -0
- package/exports/admin/ui.js +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +24 -24
- package/theme.css +13 -1
- package/utils.js +52 -34
- package/utils.js.map +1 -1
package/Accordion/Accordion.d.ts
CHANGED
|
@@ -12,21 +12,22 @@ type AccordionProps = React.ComponentPropsWithoutRef<typeof AccordionRoot> & Var
|
|
|
12
12
|
border?: "none" | "accent";
|
|
13
13
|
openClosedIndicatorPosition?: "left" | "right";
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
declare const AccordionBase: (props: AccordionProps) => React.JSX.Element;
|
|
16
|
+
export declare const Accordion: typeof AccordionBase & {
|
|
17
|
+
original: typeof AccordionBase;
|
|
17
18
|
originalName: string;
|
|
18
19
|
displayName: string;
|
|
19
20
|
} & {
|
|
20
|
-
original:
|
|
21
|
-
original:
|
|
21
|
+
original: typeof AccordionBase & {
|
|
22
|
+
original: typeof AccordionBase;
|
|
22
23
|
originalName: string;
|
|
23
24
|
displayName: string;
|
|
24
25
|
};
|
|
25
26
|
originalName: string;
|
|
26
27
|
displayName: string;
|
|
27
28
|
} & {
|
|
28
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
29
|
-
original:
|
|
29
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof AccordionBase & {
|
|
30
|
+
original: typeof AccordionBase;
|
|
30
31
|
originalName: string;
|
|
31
32
|
displayName: string;
|
|
32
33
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -14,21 +14,22 @@ interface AccordionItemProps extends Omit<AccordionRootProps, "title"> {
|
|
|
14
14
|
actions?: React.ReactNode;
|
|
15
15
|
children: React.ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const
|
|
18
|
-
|
|
17
|
+
declare const AccordionItemBase: (props: AccordionItemProps) => React.JSX.Element;
|
|
18
|
+
declare const AccordionItem: typeof AccordionItemBase & {
|
|
19
|
+
original: typeof AccordionItemBase;
|
|
19
20
|
originalName: string;
|
|
20
21
|
displayName: string;
|
|
21
22
|
} & {
|
|
22
|
-
original:
|
|
23
|
-
original:
|
|
23
|
+
original: typeof AccordionItemBase & {
|
|
24
|
+
original: typeof AccordionItemBase;
|
|
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<
|
|
31
|
-
original:
|
|
31
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof AccordionItemBase & {
|
|
32
|
+
original: typeof AccordionItemBase;
|
|
32
33
|
originalName: string;
|
|
33
34
|
displayName: string;
|
|
34
35
|
}>) => (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 AccordionItemActionProps = IconButtonProps;
|
|
4
|
-
declare const
|
|
5
|
-
|
|
4
|
+
declare const AccordionItemActionBase: ({ onClick, ...props }: AccordionItemActionProps) => React.JSX.Element;
|
|
5
|
+
declare const AccordionItemAction: typeof AccordionItemActionBase & {
|
|
6
|
+
original: typeof AccordionItemActionBase;
|
|
6
7
|
originalName: string;
|
|
7
8
|
displayName: string;
|
|
8
9
|
} & {
|
|
9
|
-
original:
|
|
10
|
-
original:
|
|
10
|
+
original: typeof AccordionItemActionBase & {
|
|
11
|
+
original: typeof AccordionItemActionBase;
|
|
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<
|
|
18
|
-
original:
|
|
18
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof AccordionItemActionBase & {
|
|
19
|
+
original: typeof AccordionItemActionBase;
|
|
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 { IconProps as IconComponentProps } from "../../Icon/index.js";
|
|
3
3
|
type AccordionItemIconProps = IconComponentProps;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
declare const AccordionItemIconBase: (props: AccordionItemIconProps) => React.JSX.Element;
|
|
5
|
+
export declare const AccordionItemIcon: typeof AccordionItemIconBase & {
|
|
6
|
+
original: typeof AccordionItemIconBase;
|
|
6
7
|
originalName: string;
|
|
7
8
|
displayName: string;
|
|
8
9
|
} & {
|
|
9
|
-
original:
|
|
10
|
-
original:
|
|
10
|
+
original: typeof AccordionItemIconBase & {
|
|
11
|
+
original: typeof AccordionItemIconBase;
|
|
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<
|
|
18
|
-
original:
|
|
18
|
+
createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof AccordionItemIconBase & {
|
|
19
|
+
original: typeof AccordionItemIconBase;
|
|
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 AccordionItemSeparatorProps = SeparatorProps;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
declare const AccordionItemSeparatorBase: (props: AccordionItemSeparatorProps) => React.JSX.Element;
|
|
5
|
+
export declare const AccordionItemSeparator: typeof AccordionItemSeparatorBase & {
|
|
6
|
+
original: typeof AccordionItemSeparatorBase;
|
|
6
7
|
originalName: string;
|
|
7
8
|
displayName: string;
|
|
8
9
|
} & {
|
|
9
|
-
original:
|
|
10
|
-
original:
|
|
10
|
+
original: typeof AccordionItemSeparatorBase & {
|
|
11
|
+
original: typeof AccordionItemSeparatorBase;
|
|
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<
|
|
18
|
-
original:
|
|
18
|
+
createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof AccordionItemSeparatorBase & {
|
|
19
|
+
original: typeof AccordionItemSeparatorBase;
|
|
19
20
|
originalName: string;
|
|
20
21
|
displayName: string;
|
|
21
22
|
}>) => (props: unknown) => React.JSX.Element;
|
package/Alert/Alert.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { type VariantProps } from "../utils.js";
|
|
3
3
|
import { type ButtonProps } from "../Button/index.js";
|
|
4
4
|
declare const alertVariants: (props?: ({
|
|
5
|
-
type?: "
|
|
5
|
+
type?: "danger" | "info" | "success" | "warning" | null | undefined;
|
|
6
6
|
variant?: "strong" | "subtle" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
@@ -13,59 +13,61 @@ export interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, Varian
|
|
|
13
13
|
swatchColor?: string;
|
|
14
14
|
swatchColorIcon?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare const
|
|
17
|
-
|
|
16
|
+
declare const AlertActionBase: (props: ButtonProps) => React.JSX.Element;
|
|
17
|
+
declare const AlertAction: typeof AlertActionBase & {
|
|
18
|
+
original: typeof AlertActionBase;
|
|
18
19
|
originalName: string;
|
|
19
20
|
displayName: string;
|
|
20
21
|
} & {
|
|
21
|
-
original:
|
|
22
|
-
original:
|
|
22
|
+
original: typeof AlertActionBase & {
|
|
23
|
+
original: typeof AlertActionBase;
|
|
23
24
|
originalName: string;
|
|
24
25
|
displayName: string;
|
|
25
26
|
};
|
|
26
27
|
originalName: string;
|
|
27
28
|
displayName: string;
|
|
28
29
|
} & {
|
|
29
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
30
|
-
original:
|
|
30
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof AlertActionBase & {
|
|
31
|
+
original: typeof AlertActionBase;
|
|
31
32
|
originalName: string;
|
|
32
33
|
displayName: string;
|
|
33
34
|
}>) => (props: unknown) => React.JSX.Element;
|
|
34
35
|
};
|
|
35
|
-
declare const
|
|
36
|
-
|
|
36
|
+
declare const AlertBase: (props: AlertProps) => React.JSX.Element;
|
|
37
|
+
declare const Alert: typeof AlertBase & {
|
|
38
|
+
original: typeof AlertBase;
|
|
37
39
|
originalName: string;
|
|
38
40
|
displayName: string;
|
|
39
41
|
} & {
|
|
40
|
-
original:
|
|
41
|
-
original:
|
|
42
|
+
original: typeof AlertBase & {
|
|
43
|
+
original: typeof AlertBase;
|
|
42
44
|
originalName: string;
|
|
43
45
|
displayName: string;
|
|
44
46
|
};
|
|
45
47
|
originalName: string;
|
|
46
48
|
displayName: string;
|
|
47
49
|
} & {
|
|
48
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
49
|
-
original:
|
|
50
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof AlertBase & {
|
|
51
|
+
original: typeof AlertBase;
|
|
50
52
|
originalName: string;
|
|
51
53
|
displayName: string;
|
|
52
54
|
}>) => (props: unknown) => React.JSX.Element;
|
|
53
55
|
} & {
|
|
54
|
-
Action:
|
|
55
|
-
original:
|
|
56
|
+
Action: typeof AlertActionBase & {
|
|
57
|
+
original: typeof AlertActionBase;
|
|
56
58
|
originalName: string;
|
|
57
59
|
displayName: string;
|
|
58
60
|
} & {
|
|
59
|
-
original:
|
|
60
|
-
original:
|
|
61
|
+
original: typeof AlertActionBase & {
|
|
62
|
+
original: typeof AlertActionBase;
|
|
61
63
|
originalName: string;
|
|
62
64
|
displayName: string;
|
|
63
65
|
};
|
|
64
66
|
originalName: string;
|
|
65
67
|
displayName: string;
|
|
66
68
|
} & {
|
|
67
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
68
|
-
original:
|
|
69
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof AlertActionBase & {
|
|
70
|
+
original: typeof AlertActionBase;
|
|
69
71
|
originalName: string;
|
|
70
72
|
displayName: string;
|
|
71
73
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -2,21 +2,22 @@ import React from "react";
|
|
|
2
2
|
import type { AutoCompletePrimitiveProps } from "./primitives/index.js";
|
|
3
3
|
import type { FormComponentProps } from "../FormComponent/index.js";
|
|
4
4
|
type AutoCompleteProps = AutoCompletePrimitiveProps & FormComponentProps;
|
|
5
|
-
declare const
|
|
6
|
-
|
|
5
|
+
declare const DecoratableAutoComplete: ({ label, description, note, hint, required, disabled, validation, ...props }: AutoCompleteProps) => React.JSX.Element;
|
|
6
|
+
declare const AutoComplete: typeof DecoratableAutoComplete & {
|
|
7
|
+
original: typeof DecoratableAutoComplete;
|
|
7
8
|
originalName: string;
|
|
8
9
|
displayName: string;
|
|
9
10
|
} & {
|
|
10
|
-
original:
|
|
11
|
-
original:
|
|
11
|
+
original: typeof DecoratableAutoComplete & {
|
|
12
|
+
original: typeof DecoratableAutoComplete;
|
|
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<
|
|
19
|
-
original:
|
|
19
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableAutoComplete & {
|
|
20
|
+
original: typeof DecoratableAutoComplete;
|
|
20
21
|
originalName: string;
|
|
21
22
|
displayName: string;
|
|
22
23
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -88,21 +88,22 @@ interface AutoCompletePrimitiveProps {
|
|
|
88
88
|
*/
|
|
89
89
|
value?: string;
|
|
90
90
|
}
|
|
91
|
-
declare const
|
|
92
|
-
|
|
91
|
+
declare const DecoratableAutoCompletePrimitive: (props: AutoCompletePrimitiveProps) => React.JSX.Element;
|
|
92
|
+
declare const AutoCompletePrimitive: typeof DecoratableAutoCompletePrimitive & {
|
|
93
|
+
original: typeof DecoratableAutoCompletePrimitive;
|
|
93
94
|
originalName: string;
|
|
94
95
|
displayName: string;
|
|
95
96
|
} & {
|
|
96
|
-
original:
|
|
97
|
-
original:
|
|
97
|
+
original: typeof DecoratableAutoCompletePrimitive & {
|
|
98
|
+
original: typeof DecoratableAutoCompletePrimitive;
|
|
98
99
|
originalName: string;
|
|
99
100
|
displayName: string;
|
|
100
101
|
};
|
|
101
102
|
originalName: string;
|
|
102
103
|
displayName: string;
|
|
103
104
|
} & {
|
|
104
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
105
|
-
original:
|
|
105
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableAutoCompletePrimitive & {
|
|
106
|
+
original: typeof DecoratableAutoCompletePrimitive;
|
|
106
107
|
originalName: string;
|
|
107
108
|
displayName: string;
|
|
108
109
|
}>) => (props: unknown) => React.JSX.Element;
|
package/Avatar/Avatar.d.ts
CHANGED
|
@@ -7,24 +7,25 @@ interface AvatarProps extends React.ComponentPropsWithoutRef<typeof AvatarPrimit
|
|
|
7
7
|
fallback?: React.ReactElement<AvatarFallbackProps>;
|
|
8
8
|
}
|
|
9
9
|
declare const avatarVariants: (props?: ({
|
|
10
|
-
size?: "
|
|
11
|
-
variant?: "
|
|
10
|
+
size?: "lg" | "md" | "sm" | "xl" | null | undefined;
|
|
11
|
+
variant?: "light" | "outlined" | "quiet" | "strong" | "subtle" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
|
-
declare const
|
|
14
|
-
|
|
13
|
+
declare const AvatarBase: ({ image, fallback, className, size, variant, ...props }: AvatarProps) => React.JSX.Element;
|
|
14
|
+
declare const Avatar: typeof AvatarBase & {
|
|
15
|
+
original: typeof AvatarBase;
|
|
15
16
|
originalName: string;
|
|
16
17
|
displayName: string;
|
|
17
18
|
} & {
|
|
18
|
-
original:
|
|
19
|
-
original:
|
|
19
|
+
original: typeof AvatarBase & {
|
|
20
|
+
original: typeof AvatarBase;
|
|
20
21
|
originalName: string;
|
|
21
22
|
displayName: string;
|
|
22
23
|
};
|
|
23
24
|
originalName: string;
|
|
24
25
|
displayName: string;
|
|
25
26
|
} & {
|
|
26
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
27
|
-
original:
|
|
27
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof AvatarBase & {
|
|
28
|
+
original: typeof AvatarBase;
|
|
28
29
|
originalName: string;
|
|
29
30
|
displayName: string;
|
|
30
31
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Avatar as AvatarPrimitive } from "radix-ui";
|
|
3
3
|
type AvatarFallbackProps = AvatarPrimitive.AvatarFallbackProps;
|
|
4
|
-
declare const
|
|
5
|
-
|
|
4
|
+
declare const AvatarFallbackBase: ({ className, ...props }: AvatarFallbackProps) => React.JSX.Element;
|
|
5
|
+
declare const AvatarFallback: typeof AvatarFallbackBase & {
|
|
6
|
+
original: typeof AvatarFallbackBase;
|
|
6
7
|
originalName: string;
|
|
7
8
|
displayName: string;
|
|
8
9
|
} & {
|
|
9
|
-
original:
|
|
10
|
-
original:
|
|
10
|
+
original: typeof AvatarFallbackBase & {
|
|
11
|
+
original: typeof AvatarFallbackBase;
|
|
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<
|
|
18
|
-
original:
|
|
18
|
+
createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof AvatarFallbackBase & {
|
|
19
|
+
original: typeof AvatarFallbackBase;
|
|
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 { Avatar as AvatarPrimitive } from "radix-ui";
|
|
3
3
|
type AvatarImageProps = AvatarPrimitive.AvatarImageProps;
|
|
4
|
-
declare const
|
|
5
|
-
|
|
4
|
+
declare const AvatarImageBase: ({ className, ...props }: AvatarImageProps) => React.JSX.Element;
|
|
5
|
+
declare const AvatarImage: typeof AvatarImageBase & {
|
|
6
|
+
original: typeof AvatarImageBase;
|
|
6
7
|
originalName: string;
|
|
7
8
|
displayName: string;
|
|
8
9
|
} & {
|
|
9
|
-
original:
|
|
10
|
-
original:
|
|
10
|
+
original: typeof AvatarImageBase & {
|
|
11
|
+
original: typeof AvatarImageBase;
|
|
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<
|
|
18
|
-
original:
|
|
18
|
+
createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof AvatarImageBase & {
|
|
19
|
+
original: typeof AvatarImageBase;
|
|
19
20
|
originalName: string;
|
|
20
21
|
displayName: string;
|
|
21
22
|
}>) => (props: unknown) => React.JSX.Element;
|
package/Button/Button.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { type VariantProps } from "../utils.js";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
5
|
-
size?: "
|
|
6
|
-
contentLayout?: "
|
|
4
|
+
variant?: "ghost" | "ghost-negative" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
5
|
+
size?: "lg" | "md" | "sm" | "xl" | null | undefined;
|
|
6
|
+
contentLayout?: "icon" | "text" | "text-icon-end" | "text-icon-start" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children">, VariantProps<typeof buttonVariants> {
|
|
9
9
|
text?: React.ReactNode;
|
|
@@ -13,21 +13,22 @@ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
13
13
|
asChild?: boolean;
|
|
14
14
|
containerClassName?: string;
|
|
15
15
|
}
|
|
16
|
-
declare const
|
|
17
|
-
|
|
16
|
+
declare const ButtonBase: ({ className, variant, size, asChild, text, children, icon, iconPosition, disabled, containerClassName, ...rest }: ButtonProps) => React.JSX.Element;
|
|
17
|
+
declare const Button: typeof ButtonBase & {
|
|
18
|
+
original: typeof ButtonBase;
|
|
18
19
|
originalName: string;
|
|
19
20
|
displayName: string;
|
|
20
21
|
} & {
|
|
21
|
-
original:
|
|
22
|
-
original:
|
|
22
|
+
original: typeof ButtonBase & {
|
|
23
|
+
original: typeof ButtonBase;
|
|
23
24
|
originalName: string;
|
|
24
25
|
displayName: string;
|
|
25
26
|
};
|
|
26
27
|
originalName: string;
|
|
27
28
|
displayName: string;
|
|
28
29
|
} & {
|
|
29
|
-
createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<
|
|
30
|
-
original:
|
|
30
|
+
createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof ButtonBase & {
|
|
31
|
+
original: typeof ButtonBase;
|
|
31
32
|
originalName: string;
|
|
32
33
|
displayName: string;
|
|
33
34
|
}>) => (props: unknown) => React.JSX.Element;
|
package/Button/CopyButton.d.ts
CHANGED
|
@@ -10,21 +10,22 @@ interface CopyButtonProps extends ButtonProps {
|
|
|
10
10
|
*/
|
|
11
11
|
onCopy?: () => void;
|
|
12
12
|
}
|
|
13
|
-
declare const
|
|
14
|
-
|
|
13
|
+
declare const CopyButtonBase: (props: CopyButtonProps) => React.JSX.Element;
|
|
14
|
+
declare const CopyButton: typeof CopyButtonBase & {
|
|
15
|
+
original: typeof CopyButtonBase;
|
|
15
16
|
originalName: string;
|
|
16
17
|
displayName: string;
|
|
17
18
|
} & {
|
|
18
|
-
original:
|
|
19
|
-
original:
|
|
19
|
+
original: typeof CopyButtonBase & {
|
|
20
|
+
original: typeof CopyButtonBase;
|
|
20
21
|
originalName: string;
|
|
21
22
|
displayName: string;
|
|
22
23
|
};
|
|
23
24
|
originalName: string;
|
|
24
25
|
displayName: string;
|
|
25
26
|
} & {
|
|
26
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
27
|
-
original:
|
|
27
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof CopyButtonBase & {
|
|
28
|
+
original: typeof CopyButtonBase;
|
|
28
29
|
originalName: string;
|
|
29
30
|
displayName: string;
|
|
30
31
|
}>) => (props: unknown) => React.JSX.Element;
|
package/Button/IconButton.d.ts
CHANGED
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { type VariantProps } from "../utils.js";
|
|
3
3
|
declare const iconButtonVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
5
|
-
size?: "
|
|
6
|
-
iconSize?: "
|
|
4
|
+
variant?: "ghost" | "ghost-negative" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
5
|
+
size?: "lg" | "md" | "sm" | "xl" | "xs" | "xxs" | null | undefined;
|
|
6
|
+
iconSize?: "default" | "lg" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
interface IconButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children">, VariantProps<typeof iconButtonVariants> {
|
|
9
9
|
icon?: React.ReactNode;
|
|
10
10
|
asChild?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare const
|
|
13
|
-
|
|
12
|
+
declare const DecoratableIconButton: ({ className, variant, size, icon, iconSize, asChild, disabled, ...props }: IconButtonProps) => React.JSX.Element;
|
|
13
|
+
declare const IconButton: typeof DecoratableIconButton & {
|
|
14
|
+
original: typeof DecoratableIconButton;
|
|
14
15
|
originalName: string;
|
|
15
16
|
displayName: string;
|
|
16
17
|
} & {
|
|
17
|
-
original:
|
|
18
|
-
original:
|
|
18
|
+
original: typeof DecoratableIconButton & {
|
|
19
|
+
original: typeof DecoratableIconButton;
|
|
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").ComponentDecorator<
|
|
26
|
-
original:
|
|
26
|
+
createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof DecoratableIconButton & {
|
|
27
|
+
original: typeof DecoratableIconButton;
|
|
27
28
|
originalName: string;
|
|
28
29
|
displayName: string;
|
|
29
30
|
}>) => (props: unknown) => React.JSX.Element;
|
package/Calendar/Calendar.d.ts
CHANGED
|
@@ -3,21 +3,22 @@ import { type DayPickerProps } from "react-day-picker";
|
|
|
3
3
|
type CalendarProps = DayPickerProps & {
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
7
|
-
|
|
6
|
+
declare const DecoratableCalendar: ({ className, classNames, components, ...props }: CalendarProps) => React.JSX.Element;
|
|
7
|
+
declare const Calendar: typeof DecoratableCalendar & {
|
|
8
|
+
original: typeof DecoratableCalendar;
|
|
8
9
|
originalName: string;
|
|
9
10
|
displayName: string;
|
|
10
11
|
} & {
|
|
11
|
-
original:
|
|
12
|
-
original:
|
|
12
|
+
original: typeof DecoratableCalendar & {
|
|
13
|
+
original: typeof DecoratableCalendar;
|
|
13
14
|
originalName: string;
|
|
14
15
|
displayName: string;
|
|
15
16
|
};
|
|
16
17
|
originalName: string;
|
|
17
18
|
displayName: string;
|
|
18
19
|
} & {
|
|
19
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
20
|
-
original:
|
|
20
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableCalendar & {
|
|
21
|
+
original: typeof DecoratableCalendar;
|
|
21
22
|
originalName: string;
|
|
22
23
|
displayName: string;
|
|
23
24
|
}>) => (props: unknown) => React.JSX.Element;
|
package/Card/Card.d.ts
CHANGED
|
@@ -16,39 +16,25 @@ interface CardProps extends Omit<React.ComponentPropsWithoutRef<typeof CardConte
|
|
|
16
16
|
info?: React.ReactNode;
|
|
17
17
|
children: React.ReactNode;
|
|
18
18
|
}
|
|
19
|
-
declare const
|
|
19
|
+
declare const CardBase: {
|
|
20
20
|
(props: CardProps): React.JSX.Element;
|
|
21
21
|
displayName: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
displayName: string;
|
|
26
|
-
};
|
|
22
|
+
};
|
|
23
|
+
declare const Card: typeof CardBase & {
|
|
24
|
+
original: typeof CardBase;
|
|
27
25
|
originalName: string;
|
|
28
26
|
displayName: string;
|
|
29
27
|
} & {
|
|
30
|
-
original: {
|
|
31
|
-
|
|
32
|
-
displayName: string;
|
|
33
|
-
} & {
|
|
34
|
-
original: {
|
|
35
|
-
(props: CardProps): React.JSX.Element;
|
|
36
|
-
displayName: string;
|
|
37
|
-
};
|
|
28
|
+
original: typeof CardBase & {
|
|
29
|
+
original: typeof CardBase;
|
|
38
30
|
originalName: string;
|
|
39
31
|
displayName: string;
|
|
40
32
|
};
|
|
41
33
|
originalName: string;
|
|
42
34
|
displayName: string;
|
|
43
35
|
} & {
|
|
44
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<{
|
|
45
|
-
|
|
46
|
-
displayName: string;
|
|
47
|
-
} & {
|
|
48
|
-
original: {
|
|
49
|
-
(props: CardProps): React.JSX.Element;
|
|
50
|
-
displayName: string;
|
|
51
|
-
};
|
|
36
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof CardBase & {
|
|
37
|
+
original: typeof CardBase;
|
|
52
38
|
originalName: string;
|
|
53
39
|
displayName: string;
|
|
54
40
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ButtonProps } from "../../Button/index.js";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
declare const CancelActionBase: (props: ButtonProps) => React.JSX.Element;
|
|
4
|
+
export declare const CancelAction: typeof CancelActionBase & {
|
|
5
|
+
original: typeof CancelActionBase;
|
|
5
6
|
originalName: string;
|
|
6
7
|
displayName: string;
|
|
7
8
|
} & {
|
|
8
|
-
original:
|
|
9
|
-
original:
|
|
9
|
+
original: typeof CancelActionBase & {
|
|
10
|
+
original: typeof CancelActionBase;
|
|
10
11
|
originalName: string;
|
|
11
12
|
displayName: string;
|
|
12
13
|
};
|
|
13
14
|
originalName: string;
|
|
14
15
|
displayName: string;
|
|
15
16
|
} & {
|
|
16
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
17
|
-
original:
|
|
17
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof CancelActionBase & {
|
|
18
|
+
original: typeof CancelActionBase;
|
|
18
19
|
originalName: string;
|
|
19
20
|
displayName: string;
|
|
20
21
|
}>) => (props: unknown) => React.JSX.Element;
|
|
21
22
|
};
|
|
23
|
+
export {};
|