@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
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "../../utils.js";
|
|
3
3
|
declare const cardContentVariants: (props?: ({
|
|
4
|
-
cornerSize?: "
|
|
4
|
+
cornerSize?: "lg" | "md" | null | undefined;
|
|
5
5
|
variant?: "accent" | "default" | null | undefined;
|
|
6
|
-
elevation?: "
|
|
6
|
+
elevation?: "large" | "medium" | "none" | "small" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface CardContentProps extends VariantProps<typeof cardContentVariants> {
|
|
9
9
|
className?: string;
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
displayName: string;
|
|
15
|
-
}
|
|
12
|
+
declare function CardContent({ children }: CardContentProps): React.JSX.Element;
|
|
13
|
+
declare namespace CardContent {
|
|
14
|
+
var displayName: string;
|
|
15
|
+
}
|
|
16
16
|
export { CardContent };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "../../utils.js";
|
|
3
3
|
declare const cardTitleVariants: (props?: ({
|
|
4
|
-
padding?: "
|
|
5
|
-
size?: "
|
|
4
|
+
padding?: "lg" | "md" | "sm" | null | undefined;
|
|
5
|
+
size?: "md" | "sm" | null | undefined;
|
|
6
6
|
variant?: "accent" | "default" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export type CardTitleProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardTitleVariants>;
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ButtonProps } from "../../Button/index.js";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
declare const ConfirmActionBase: (props: ButtonProps) => React.JSX.Element;
|
|
4
|
+
export declare const ConfirmAction: typeof ConfirmActionBase & {
|
|
5
|
+
original: typeof ConfirmActionBase;
|
|
5
6
|
originalName: string;
|
|
6
7
|
displayName: string;
|
|
7
8
|
} & {
|
|
8
|
-
original:
|
|
9
|
-
original:
|
|
9
|
+
original: typeof ConfirmActionBase & {
|
|
10
|
+
original: typeof ConfirmActionBase;
|
|
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 ConfirmActionBase & {
|
|
18
|
+
original: typeof ConfirmActionBase;
|
|
18
19
|
originalName: string;
|
|
19
20
|
displayName: string;
|
|
20
21
|
}>) => (props: unknown) => React.JSX.Element;
|
|
21
22
|
};
|
|
23
|
+
export {};
|
|
@@ -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 IconProps = IconComponentProps;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
declare const IconBase: (props: IconProps) => React.JSX.Element;
|
|
5
|
+
export declare const Icon: typeof IconBase & {
|
|
6
|
+
original: typeof IconBase;
|
|
6
7
|
originalName: string;
|
|
7
8
|
displayName: string;
|
|
8
9
|
} & {
|
|
9
|
-
original:
|
|
10
|
-
original:
|
|
10
|
+
original: typeof IconBase & {
|
|
11
|
+
original: typeof IconBase;
|
|
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 IconBase & {
|
|
19
|
+
original: typeof IconBase;
|
|
19
20
|
originalName: string;
|
|
20
21
|
displayName: string;
|
|
21
22
|
}>) => (props: unknown) => React.JSX.Element;
|
package/Checkbox/Checkbox.d.ts
CHANGED
|
@@ -2,21 +2,22 @@ import React from "react";
|
|
|
2
2
|
import type { CheckboxPrimitiveProps } from "./primitives/index.js";
|
|
3
3
|
import type { FormComponentProps } from "../FormComponent/index.js";
|
|
4
4
|
type CheckboxProps = CheckboxPrimitiveProps & FormComponentProps;
|
|
5
|
-
declare const
|
|
6
|
-
|
|
5
|
+
declare const DecoratableCheckbox: ({ description, note, validation, ...props }: CheckboxProps) => React.JSX.Element;
|
|
6
|
+
declare const Checkbox: typeof DecoratableCheckbox & {
|
|
7
|
+
original: typeof DecoratableCheckbox;
|
|
7
8
|
originalName: string;
|
|
8
9
|
displayName: string;
|
|
9
10
|
} & {
|
|
10
|
-
original:
|
|
11
|
-
original:
|
|
11
|
+
original: typeof DecoratableCheckbox & {
|
|
12
|
+
original: typeof DecoratableCheckbox;
|
|
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 DecoratableCheckbox & {
|
|
20
|
+
original: typeof DecoratableCheckbox;
|
|
20
21
|
originalName: string;
|
|
21
22
|
displayName: string;
|
|
22
23
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -19,40 +19,45 @@ type CheckboxPrimitiveRendererProps = Omit<CheckboxPrimitiveProps, "onCheckedCha
|
|
|
19
19
|
changeChecked: (checked: boolean) => void;
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
};
|
|
22
|
-
declare const
|
|
23
|
-
|
|
22
|
+
declare const DecoratableCheckboxPrimitiveRenderer: ({ label, id, hasLabel, indeterminate, changeChecked, checked, className, disabled, ...props }: CheckboxPrimitiveRendererProps) => React.JSX.Element;
|
|
23
|
+
declare const CheckboxPrimitiveRenderer: typeof DecoratableCheckboxPrimitiveRenderer & {
|
|
24
|
+
original: typeof DecoratableCheckboxPrimitiveRenderer;
|
|
24
25
|
originalName: string;
|
|
25
26
|
displayName: string;
|
|
26
27
|
} & {
|
|
27
|
-
original:
|
|
28
|
-
original:
|
|
28
|
+
original: typeof DecoratableCheckboxPrimitiveRenderer & {
|
|
29
|
+
original: typeof DecoratableCheckboxPrimitiveRenderer;
|
|
29
30
|
originalName: string;
|
|
30
31
|
displayName: string;
|
|
31
32
|
};
|
|
32
33
|
originalName: string;
|
|
33
34
|
displayName: string;
|
|
34
35
|
} & {
|
|
35
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
36
|
-
original:
|
|
36
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableCheckboxPrimitiveRenderer & {
|
|
37
|
+
original: typeof DecoratableCheckboxPrimitiveRenderer;
|
|
37
38
|
originalName: string;
|
|
38
39
|
displayName: string;
|
|
39
40
|
}>) => (props: unknown) => React.JSX.Element;
|
|
40
41
|
};
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
/**
|
|
43
|
+
* Checkbox
|
|
44
|
+
*/
|
|
45
|
+
declare const DecoratableCheckboxPrimitive: (props: CheckboxPrimitiveProps) => React.JSX.Element | null;
|
|
46
|
+
declare const CheckboxPrimitive: typeof DecoratableCheckboxPrimitive & {
|
|
47
|
+
original: typeof DecoratableCheckboxPrimitive;
|
|
43
48
|
originalName: string;
|
|
44
49
|
displayName: string;
|
|
45
50
|
} & {
|
|
46
|
-
original:
|
|
47
|
-
original:
|
|
51
|
+
original: typeof DecoratableCheckboxPrimitive & {
|
|
52
|
+
original: typeof DecoratableCheckboxPrimitive;
|
|
48
53
|
originalName: string;
|
|
49
54
|
displayName: string;
|
|
50
55
|
};
|
|
51
56
|
originalName: string;
|
|
52
57
|
displayName: string;
|
|
53
58
|
} & {
|
|
54
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
55
|
-
original:
|
|
59
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableCheckboxPrimitive & {
|
|
60
|
+
original: typeof DecoratableCheckboxPrimitive;
|
|
56
61
|
originalName: string;
|
|
57
62
|
displayName: string;
|
|
58
63
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -2,21 +2,22 @@ import React from "react";
|
|
|
2
2
|
import type { CheckboxGroupPrimitiveProps } from "./primitives/CheckboxGroupPrimitive.js";
|
|
3
3
|
import type { FormComponentProps } from "../FormComponent/index.js";
|
|
4
4
|
type CheckboxGroupProps = CheckboxGroupPrimitiveProps & FormComponentProps;
|
|
5
|
-
declare const
|
|
6
|
-
|
|
5
|
+
declare const DecoratableCheckboxGroup: ({ label, description, note, required, disabled, hint, validation, ...props }: CheckboxGroupProps) => React.JSX.Element;
|
|
6
|
+
declare const CheckboxGroup: typeof DecoratableCheckboxGroup & {
|
|
7
|
+
original: typeof DecoratableCheckboxGroup;
|
|
7
8
|
originalName: string;
|
|
8
9
|
displayName: string;
|
|
9
10
|
} & {
|
|
10
|
-
original:
|
|
11
|
-
original:
|
|
11
|
+
original: typeof DecoratableCheckboxGroup & {
|
|
12
|
+
original: typeof DecoratableCheckboxGroup;
|
|
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 DecoratableCheckboxGroup & {
|
|
20
|
+
original: typeof DecoratableCheckboxGroup;
|
|
20
21
|
originalName: string;
|
|
21
22
|
displayName: string;
|
|
22
23
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -25,40 +25,48 @@ type CheckboxGroupPrimitiveRendererProps<TValue = any> = CheckboxGroupPrimitiveV
|
|
|
25
25
|
changeChecked: (value: TValue) => void;
|
|
26
26
|
disabled?: boolean;
|
|
27
27
|
};
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Checkbox Group Renderer
|
|
30
|
+
*/
|
|
31
|
+
declare const DecoratableCheckboxGroupPrimitiveRenderer: ({ items, changeChecked, disabled }: CheckboxGroupPrimitiveRendererProps) => React.JSX.Element;
|
|
32
|
+
declare const CheckboxGroupPrimitiveRenderer: typeof DecoratableCheckboxGroupPrimitiveRenderer & {
|
|
33
|
+
original: typeof DecoratableCheckboxGroupPrimitiveRenderer;
|
|
30
34
|
originalName: string;
|
|
31
35
|
displayName: string;
|
|
32
36
|
} & {
|
|
33
|
-
original:
|
|
34
|
-
original:
|
|
37
|
+
original: typeof DecoratableCheckboxGroupPrimitiveRenderer & {
|
|
38
|
+
original: typeof DecoratableCheckboxGroupPrimitiveRenderer;
|
|
35
39
|
originalName: string;
|
|
36
40
|
displayName: string;
|
|
37
41
|
};
|
|
38
42
|
originalName: string;
|
|
39
43
|
displayName: string;
|
|
40
44
|
} & {
|
|
41
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
42
|
-
original:
|
|
45
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableCheckboxGroupPrimitiveRenderer & {
|
|
46
|
+
original: typeof DecoratableCheckboxGroupPrimitiveRenderer;
|
|
43
47
|
originalName: string;
|
|
44
48
|
displayName: string;
|
|
45
49
|
}>) => (props: unknown) => React.JSX.Element;
|
|
46
50
|
};
|
|
47
|
-
|
|
48
|
-
|
|
51
|
+
/**
|
|
52
|
+
* Checkbox Group
|
|
53
|
+
*/
|
|
54
|
+
declare const DecoratableCheckboxGroupPrimitive: (props: CheckboxGroupPrimitiveProps) => React.JSX.Element;
|
|
55
|
+
declare const CheckboxGroupPrimitive: typeof DecoratableCheckboxGroupPrimitive & {
|
|
56
|
+
original: typeof DecoratableCheckboxGroupPrimitive;
|
|
49
57
|
originalName: string;
|
|
50
58
|
displayName: string;
|
|
51
59
|
} & {
|
|
52
|
-
original:
|
|
53
|
-
original:
|
|
60
|
+
original: typeof DecoratableCheckboxGroupPrimitive & {
|
|
61
|
+
original: typeof DecoratableCheckboxGroupPrimitive;
|
|
54
62
|
originalName: string;
|
|
55
63
|
displayName: string;
|
|
56
64
|
};
|
|
57
65
|
originalName: string;
|
|
58
66
|
displayName: string;
|
|
59
67
|
} & {
|
|
60
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
61
|
-
original:
|
|
68
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableCheckboxGroupPrimitive & {
|
|
69
|
+
original: typeof DecoratableCheckboxGroupPrimitive;
|
|
62
70
|
originalName: string;
|
|
63
71
|
displayName: string;
|
|
64
72
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -2,21 +2,22 @@ import React from "react";
|
|
|
2
2
|
import type { CodeEditorPrimitiveProps } from "./CodeEditorPrimitive.js";
|
|
3
3
|
import type { FormComponentProps } from "../FormComponent/index.js";
|
|
4
4
|
type CodeEditorProps = CodeEditorPrimitiveProps & FormComponentProps;
|
|
5
|
-
declare const
|
|
6
|
-
|
|
5
|
+
declare const DecoratableCodeEditor: ({ label, description, note, hint, required, disabled, validation, ...props }: CodeEditorProps) => React.JSX.Element;
|
|
6
|
+
declare const CodeEditor: typeof DecoratableCodeEditor & {
|
|
7
|
+
original: typeof DecoratableCodeEditor;
|
|
7
8
|
originalName: string;
|
|
8
9
|
displayName: string;
|
|
9
10
|
} & {
|
|
10
|
-
original:
|
|
11
|
-
original:
|
|
11
|
+
original: typeof DecoratableCodeEditor & {
|
|
12
|
+
original: typeof DecoratableCodeEditor;
|
|
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 DecoratableCodeEditor & {
|
|
20
|
+
original: typeof DecoratableCodeEditor;
|
|
20
21
|
originalName: string;
|
|
21
22
|
displayName: string;
|
|
22
23
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -3,21 +3,22 @@ import type { EditorProps } from "@monaco-editor/react";
|
|
|
3
3
|
interface CodeEditorPrimitiveProps extends Partial<EditorProps> {
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const
|
|
7
|
-
|
|
6
|
+
declare const DecoratableCodeEditorPrimitive: ({ value, disabled, options: optionsInput, ...rest }: CodeEditorPrimitiveProps) => React.JSX.Element;
|
|
7
|
+
declare const CodeEditorPrimitive: typeof DecoratableCodeEditorPrimitive & {
|
|
8
|
+
original: typeof DecoratableCodeEditorPrimitive;
|
|
8
9
|
originalName: string;
|
|
9
10
|
displayName: string;
|
|
10
11
|
} & {
|
|
11
|
-
original:
|
|
12
|
-
original:
|
|
12
|
+
original: typeof DecoratableCodeEditorPrimitive & {
|
|
13
|
+
original: typeof DecoratableCodeEditorPrimitive;
|
|
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").ComponentDecorator<
|
|
20
|
-
original:
|
|
20
|
+
createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<typeof DecoratableCodeEditorPrimitive & {
|
|
21
|
+
original: typeof DecoratableCodeEditorPrimitive;
|
|
21
22
|
originalName: string;
|
|
22
23
|
displayName: string;
|
|
23
24
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -2,21 +2,22 @@ import React from "react";
|
|
|
2
2
|
import type { ColorPickerPrimitiveProps } from "./primitives/index.js";
|
|
3
3
|
import type { FormComponentProps } from "../FormComponent/index.js";
|
|
4
4
|
type ColorPickerProps = ColorPickerPrimitiveProps & FormComponentProps;
|
|
5
|
-
declare const
|
|
6
|
-
|
|
5
|
+
declare const DecoratableIconPicker: ({ label, description, note, hint, required, disabled, validation, ...props }: ColorPickerProps) => React.JSX.Element;
|
|
6
|
+
declare const ColorPicker: typeof DecoratableIconPicker & {
|
|
7
|
+
original: typeof DecoratableIconPicker;
|
|
7
8
|
originalName: string;
|
|
8
9
|
displayName: string;
|
|
9
10
|
} & {
|
|
10
|
-
original:
|
|
11
|
-
original:
|
|
11
|
+
original: typeof DecoratableIconPicker & {
|
|
12
|
+
original: typeof DecoratableIconPicker;
|
|
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 DecoratableIconPicker & {
|
|
20
|
+
original: typeof DecoratableIconPicker;
|
|
20
21
|
originalName: string;
|
|
21
22
|
displayName: string;
|
|
22
23
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -43,21 +43,22 @@ interface ColorPickerPrimitiveProps extends Omit<React.HTMLAttributes<HTMLDivEle
|
|
|
43
43
|
*/
|
|
44
44
|
invalid?: InputPrimitiveProps["invalid"];
|
|
45
45
|
}
|
|
46
|
-
declare const
|
|
47
|
-
|
|
46
|
+
declare const DecoratableColorPickerPrimitive: ({ align, disabled, invalid, size, variant, value, onOpenChange, onChange, onChangeComplete, ...props }: ColorPickerPrimitiveProps) => React.JSX.Element;
|
|
47
|
+
declare const ColorPickerPrimitive: typeof DecoratableColorPickerPrimitive & {
|
|
48
|
+
original: typeof DecoratableColorPickerPrimitive;
|
|
48
49
|
originalName: string;
|
|
49
50
|
displayName: string;
|
|
50
51
|
} & {
|
|
51
|
-
original:
|
|
52
|
-
original:
|
|
52
|
+
original: typeof DecoratableColorPickerPrimitive & {
|
|
53
|
+
original: typeof DecoratableColorPickerPrimitive;
|
|
53
54
|
originalName: string;
|
|
54
55
|
displayName: string;
|
|
55
56
|
};
|
|
56
57
|
originalName: string;
|
|
57
58
|
displayName: string;
|
|
58
59
|
} & {
|
|
59
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
60
|
-
original:
|
|
60
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableColorPickerPrimitive & {
|
|
61
|
+
original: typeof DecoratableColorPickerPrimitive;
|
|
61
62
|
originalName: string;
|
|
62
63
|
displayName: string;
|
|
63
64
|
}>) => (props: unknown) => React.JSX.Element;
|
package/Command/Command.d.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Command as CommandPrimitive } from "cmdk";
|
|
3
|
+
import { Empty, Group, Input, Item, List, Loading, Separator } from "./components/index.js";
|
|
3
4
|
type CommandProps = React.ComponentPropsWithoutRef<typeof CommandPrimitive>;
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
declare const CommandBase: ({ className, ...props }: React.ComponentPropsWithoutRef<typeof CommandPrimitive>) => React.JSX.Element;
|
|
6
|
+
declare const Command: typeof CommandBase & {
|
|
7
|
+
Empty: typeof Empty;
|
|
8
|
+
Group: typeof Group;
|
|
9
|
+
Input: typeof Input;
|
|
10
|
+
Item: typeof Item;
|
|
11
|
+
List: typeof List;
|
|
12
|
+
Loading: typeof Loading;
|
|
13
|
+
Separator: typeof Separator;
|
|
12
14
|
};
|
|
13
15
|
export { Command, type CommandProps };
|
|
@@ -2,16 +2,19 @@ import React from "react";
|
|
|
2
2
|
interface DataListModalContentProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
+
declare const DataListModalContent: ({ children }: DataListModalContentProps) => React.JSX.Element;
|
|
5
6
|
interface DataListModalTriggerProps {
|
|
6
7
|
"data-testid"?: string;
|
|
7
8
|
icon?: React.ReactElement;
|
|
8
9
|
}
|
|
10
|
+
declare const DataListModalTrigger: ({ icon, ...props }: DataListModalTriggerProps) => React.JSX.Element;
|
|
9
11
|
interface DataListModalProps {
|
|
10
12
|
trigger: React.ReactElement;
|
|
11
13
|
content: React.ReactElement;
|
|
12
14
|
}
|
|
13
|
-
declare const
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
declare const BaseDataListModal: (props: DataListModalProps) => React.JSX.Element | null;
|
|
16
|
+
declare const DataListModal: typeof BaseDataListModal & {
|
|
17
|
+
Trigger: typeof DataListModalTrigger;
|
|
18
|
+
Content: typeof DataListModalContent;
|
|
16
19
|
};
|
|
17
20
|
export { DataListModal, type DataListModalProps, type DataListModalContentProps, type DataListModalTriggerProps };
|
package/DataTable/DataTable.d.ts
CHANGED
|
@@ -86,21 +86,22 @@ interface DataTableProps<TEntry> {
|
|
|
86
86
|
*/
|
|
87
87
|
stickyHeader?: boolean;
|
|
88
88
|
}
|
|
89
|
-
declare const
|
|
90
|
-
|
|
89
|
+
declare const DecoratableDataTable: <T extends Record<string, any> & DataTableDefaultData>({ bordered, canSelectAllRows, columnVisibility, columns: initialColumns, data: initialData, initialSorting, isRowSelectable, loading, onColumnVisibilityChange, onSelectRow, onSortingChange, onToggleRow, selectedRows, sorting, stickyHeader }: DataTableProps<T>) => React.JSX.Element;
|
|
90
|
+
declare const DataTable: typeof DecoratableDataTable & {
|
|
91
|
+
original: typeof DecoratableDataTable;
|
|
91
92
|
originalName: string;
|
|
92
93
|
displayName: string;
|
|
93
94
|
} & {
|
|
94
|
-
original:
|
|
95
|
-
original:
|
|
95
|
+
original: typeof DecoratableDataTable & {
|
|
96
|
+
original: typeof DecoratableDataTable;
|
|
96
97
|
originalName: string;
|
|
97
98
|
displayName: string;
|
|
98
99
|
};
|
|
99
100
|
originalName: string;
|
|
100
101
|
displayName: string;
|
|
101
102
|
} & {
|
|
102
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<
|
|
103
|
-
original:
|
|
103
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DecoratableDataTable & {
|
|
104
|
+
original: typeof DecoratableDataTable;
|
|
104
105
|
originalName: string;
|
|
105
106
|
displayName: string;
|
|
106
107
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -2,21 +2,22 @@ import React from "react";
|
|
|
2
2
|
import type { DatePickerPrimitiveProps } from "./primitives/index.js";
|
|
3
3
|
import type { FormComponentProps } from "../FormComponent/index.js";
|
|
4
4
|
type DatePickerProps = DatePickerPrimitiveProps & FormComponentProps;
|
|
5
|
-
declare const
|
|
6
|
-
|
|
5
|
+
declare const DecoratableDatePicker: ({ label, description, note, hint, required, disabled, validation, ...props }: DatePickerProps) => React.JSX.Element;
|
|
6
|
+
declare const DatePicker: typeof DecoratableDatePicker & {
|
|
7
|
+
original: typeof DecoratableDatePicker;
|
|
7
8
|
originalName: string;
|
|
8
9
|
displayName: string;
|
|
9
10
|
} & {
|
|
10
|
-
original:
|
|
11
|
-
original:
|
|
11
|
+
original: typeof DecoratableDatePicker & {
|
|
12
|
+
original: typeof DecoratableDatePicker;
|
|
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 DecoratableDatePicker & {
|
|
20
|
+
original: typeof DecoratableDatePicker;
|
|
20
21
|
originalName: string;
|
|
21
22
|
displayName: string;
|
|
22
23
|
}>) => (props: unknown) => React.JSX.Element;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { DatePickerPrimitiveProps } from "../utils/types.js";
|
|
3
|
-
declare const
|
|
4
|
-
|
|
3
|
+
declare const DecoratableDatePickerPrimitive: (props: DatePickerPrimitiveProps) => React.JSX.Element;
|
|
4
|
+
declare const DatePickerPrimitive: typeof DecoratableDatePickerPrimitive & {
|
|
5
|
+
original: typeof DecoratableDatePickerPrimitive;
|
|
5
6
|
originalName: string;
|
|
6
7
|
displayName: string;
|
|
7
8
|
} & {
|
|
8
|
-
original:
|
|
9
|
-
original:
|
|
9
|
+
original: typeof DecoratableDatePickerPrimitive & {
|
|
10
|
+
original: typeof DecoratableDatePickerPrimitive;
|
|
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 DecoratableDatePickerPrimitive & {
|
|
18
|
+
original: typeof DecoratableDatePickerPrimitive;
|
|
18
19
|
originalName: string;
|
|
19
20
|
displayName: string;
|
|
20
21
|
}>) => (props: unknown) => React.JSX.Element;
|
package/Dialog/Dialog.d.ts
CHANGED
|
@@ -20,39 +20,25 @@ interface DialogProps extends React.ComponentPropsWithoutRef<typeof DialogRoot>,
|
|
|
20
20
|
onClose?: () => void;
|
|
21
21
|
onOpen?: () => void;
|
|
22
22
|
}
|
|
23
|
-
declare const
|
|
23
|
+
declare const DialogBase: {
|
|
24
24
|
(props: DialogProps): React.JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
displayName: string;
|
|
30
|
-
};
|
|
26
|
+
};
|
|
27
|
+
declare const Dialog: typeof DialogBase & {
|
|
28
|
+
original: typeof DialogBase;
|
|
31
29
|
originalName: string;
|
|
32
30
|
displayName: string;
|
|
33
31
|
} & {
|
|
34
|
-
original: {
|
|
35
|
-
|
|
36
|
-
displayName: string;
|
|
37
|
-
} & {
|
|
38
|
-
original: {
|
|
39
|
-
(props: DialogProps): React.JSX.Element;
|
|
40
|
-
displayName: string;
|
|
41
|
-
};
|
|
32
|
+
original: typeof DialogBase & {
|
|
33
|
+
original: typeof DialogBase;
|
|
42
34
|
originalName: string;
|
|
43
35
|
displayName: string;
|
|
44
36
|
};
|
|
45
37
|
originalName: string;
|
|
46
38
|
displayName: string;
|
|
47
39
|
} & {
|
|
48
|
-
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<{
|
|
49
|
-
|
|
50
|
-
displayName: string;
|
|
51
|
-
} & {
|
|
52
|
-
original: {
|
|
53
|
-
(props: DialogProps): React.JSX.Element;
|
|
54
|
-
displayName: string;
|
|
55
|
-
};
|
|
40
|
+
createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<typeof DialogBase & {
|
|
41
|
+
original: typeof DialogBase;
|
|
56
42
|
originalName: string;
|
|
57
43
|
displayName: string;
|
|
58
44
|
}>) => (props: unknown) => React.JSX.Element;
|