@televet/kibble-ui 2.1.1 → 2.1.2-beta.866b0wdrd.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/build/{alert.component-bc8594cc.js → alert.component-52451145.js} +2 -2
- package/build/{alert.component-bc8594cc.js.map → alert.component-52451145.js.map} +1 -1
- package/build/{avatar.component-7e35ab41.js → avatar.component-a96cbc6b.js} +2 -2
- package/build/{avatar.component-7e35ab41.js.map → avatar.component-a96cbc6b.js.map} +1 -1
- package/build/avatarGroup.component-98140be9.js +2 -0
- package/build/{avatarGroup.component-d0fcf1da.js.map → avatarGroup.component-98140be9.js.map} +1 -1
- package/build/{button.component-981918e8.js → button.component-957d9e9f.js} +2 -2
- package/build/{button.component-981918e8.js.map → button.component-957d9e9f.js.map} +1 -1
- package/build/chakra/index.js +1 -1
- package/build/chakra-ui-menu.esm-92cf9b97.js +2 -0
- package/build/{chakra-ui-menu.esm-fe9ef385.js.map → chakra-ui-menu.esm-92cf9b97.js.map} +1 -1
- package/build/{chakra-ui-modal.esm-5ec83d2f.js → chakra-ui-modal.esm-5b3636d6.js} +2 -2
- package/build/{chakra-ui-modal.esm-5ec83d2f.js.map → chakra-ui-modal.esm-5b3636d6.js.map} +1 -1
- package/build/{chakra-ui-skeleton.esm-75810d78.js → chakra-ui-skeleton.esm-65be7af3.js} +2 -2
- package/build/{chakra-ui-skeleton.esm-75810d78.js.map → chakra-ui-skeleton.esm-65be7af3.js.map} +1 -1
- package/build/checkbox.component-b2d6ac56.js +2 -0
- package/build/{checkbox.component-c5ca7d54.js.map → checkbox.component-b2d6ac56.js.map} +1 -1
- package/build/{checkboxGroup.component-ffd4bb63.js → checkboxGroup.component-3fce48e7.js} +2 -2
- package/build/{checkboxGroup.component-ffd4bb63.js.map → checkboxGroup.component-3fce48e7.js.map} +1 -1
- package/build/components/Alert/index.js +1 -1
- package/build/components/Avatar/index.js +1 -1
- package/build/components/AvatarGroup/index.js +1 -1
- package/build/components/Button/index.js +1 -1
- package/build/components/Checkbox/index.js +1 -1
- package/build/components/CheckboxGroup/index.js +1 -1
- package/build/components/DatePicker/index.js +1 -1
- package/build/components/Icon/index.js +1 -1
- package/build/components/Link/index.js +1 -1
- package/build/components/Menu/components/MenuButton/index.js +1 -1
- package/build/components/Menu/components/MenuButton/menuButton.argTypes.d.ts +3 -9
- package/build/components/Menu/components/MenuButton/menuButton.component.d.ts +2 -1
- package/build/components/Menu/components/MenuButton/menuButton.records.d.ts +20 -0
- package/build/components/Menu/components/MenuButton/menuButton.stories.d.ts +6 -14
- package/build/components/Menu/components/MenuContainer/index.js +1 -1
- package/build/components/Menu/components/MenuContainer/menuContainer.argTypes.d.ts +3 -14
- package/build/components/Menu/components/MenuContainer/menuContainer.component.d.ts +15 -2
- package/build/components/Menu/components/MenuContainer/menuContainer.stories.d.ts +6 -19
- package/build/components/Menu/components/MenuItem/index.js +1 -1
- package/build/components/Menu/components/MenuItem/menuItem.argTypes.d.ts +3 -15
- package/build/components/Menu/components/MenuItem/menuItem.component.d.ts +11 -8
- package/build/components/Menu/components/MenuItem/menuItem.stories.d.ts +6 -20
- package/build/components/Menu/components/MenuList/index.js +1 -1
- package/build/components/Menu/components/MenuList/menuList.argTypes.d.ts +3 -16
- package/build/components/Menu/components/MenuList/menuList.component.d.ts +5 -3
- package/build/components/Menu/components/MenuList/menuList.stories.d.ts +6 -21
- package/build/components/Menu/examples/withAvatars.stories.d.ts +2 -81
- package/build/components/Menu/examples/withCustomChildren.stories.d.ts +2 -81
- package/build/components/Menu/examples/withCustomLabel.stories.d.ts +2 -81
- package/build/components/Menu/examples/withGroups.stories.d.ts +2 -81
- package/build/components/Menu/examples/withIconButton.stories.d.ts +2 -81
- package/build/components/Menu/examples/withIcons.stories.d.ts +2 -81
- package/build/components/Menu/examples/withMultiSelect.stories.d.ts +2 -81
- package/build/components/Menu/examples/withScroll.stories.d.ts +2 -81
- package/build/components/Menu/examples/withSearch.stories.d.ts +2 -81
- package/build/components/Menu/examples/withSearchAndMultiSelect.stories.d.ts +2 -81
- package/build/components/Menu/examples/withSwatch.stories.d.ts +2 -81
- package/build/components/Menu/index.d.ts +0 -1
- package/build/components/Menu/index.js +1 -1
- package/build/components/Menu/menu.argTypes.d.ts +3 -80
- package/build/components/Menu/menu.component.d.ts +5 -5
- package/build/components/Menu/menu.stories.d.ts +2 -81
- package/build/components/Modal/components/ModalBody/index.js +1 -1
- package/build/components/Modal/components/ModalCloseButton/index.js +1 -1
- package/build/components/Modal/components/ModalFooter/index.js +1 -1
- package/build/components/Modal/components/ModalFooterButtons/index.js +1 -1
- package/build/components/Modal/components/ModalHeader/index.js +1 -1
- package/build/components/Modal/index.js +1 -1
- package/build/components/Popover/components/PopoverFooter/index.js +1 -1
- package/build/components/Popover/components/PopoverHeader/index.js +1 -1
- package/build/components/Popover/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/Select/components/SelectList/selectList.argTypes.d.ts +3 -0
- package/build/components/Select/components/SelectList/selectList.component.d.ts +3 -2
- package/build/components/Select/components/SelectList/selectList.stories.d.ts +12 -0
- package/build/components/Select/components/SelectOption/selectOption.argTypes.d.ts +3 -0
- package/build/components/Select/components/SelectOption/selectOption.stories.d.ts +12 -0
- package/build/components/Select/components/SelectOption/selectOption.types.d.ts +3 -0
- package/build/components/Select/examples/withFormControl.stories.d.ts +20 -0
- package/build/components/Select/index.js +1 -1
- package/build/components/Select/select.argTypes.d.ts +3 -0
- package/build/components/Select/select.component.d.ts +6 -16
- package/build/components/Select/select.stories.d.ts +3 -130
- package/build/components/Select/select.storiesData.d.ts +2 -0
- package/build/components/SortableList/components/DragHandle/index.js +1 -1
- package/build/components/SortableList/index.js +1 -1
- package/build/components/Switch/index.js +1 -1
- package/build/components/Tabs/components/Tab/index.js +1 -1
- package/build/components/Tabs/index.js +1 -1
- package/build/components/TabsLayout/index.js +1 -1
- package/build/components/TextInput/index.js +1 -1
- package/build/components/Textarea/index.js +1 -1
- package/build/components/TimePicker/index.js +1 -1
- package/build/components/TimeRange/index.js +1 -1
- package/build/components/Toast/index.js +1 -1
- package/build/components/index.js +1 -1
- package/build/{datepicker.types-d73cb70d.js → datepicker.types-00b4e57b.js} +2 -2
- package/build/{datepicker.types-d73cb70d.js.map → datepicker.types-00b4e57b.js.map} +1 -1
- package/build/{dragHandle.component-0719a340.js → dragHandle.component-faffecf9.js} +2 -2
- package/build/{dragHandle.component-0719a340.js.map → dragHandle.component-faffecf9.js.map} +1 -1
- package/build/{icon.component-9318bebf.js → icon.component-729a7547.js} +1 -1
- package/build/{icon.component-9318bebf.js.map → icon.component-729a7547.js.map} +1 -1
- package/build/icons/QuestionMarkCircleSolid.d.ts +10 -0
- package/build/icons/index.d.ts +1 -1
- package/build/icons/index.js +1 -1
- package/build/icons/index.js.map +1 -1
- package/build/{index-8fecff45.js → index-c60b408f.js} +1 -1
- package/build/{index-8fecff45.js.map → index-c60b408f.js.map} +1 -1
- package/build/index.js +1 -1
- package/build/{link.component-8cc9b076.js → link.component-a5027ab7.js} +2 -2
- package/build/{link.component-8cc9b076.js.map → link.component-a5027ab7.js.map} +1 -1
- package/build/menu.component-09b8501f.js +2 -0
- package/build/menu.component-09b8501f.js.map +1 -0
- package/build/menuButton.component-4aa92838.js +2 -0
- package/build/menuButton.component-4aa92838.js.map +1 -0
- package/build/{menuContainer.component-adb9204a.js → menuContainer.component-315466f2.js} +2 -2
- package/build/menuContainer.component-315466f2.js.map +1 -0
- package/build/menuItem.component-5d391ad0.js +2 -0
- package/build/menuItem.component-5d391ad0.js.map +1 -0
- package/build/menuList.component-911fe1c3.js +2 -0
- package/build/menuList.component-911fe1c3.js.map +1 -0
- package/build/{modal.component-6990e35a.js → modal.component-488c95b3.js} +2 -2
- package/build/{modal.component-6990e35a.js.map → modal.component-488c95b3.js.map} +1 -1
- package/build/modalBody.component-d16ec3c2.js +2 -0
- package/build/{modalBody.component-771775b3.js.map → modalBody.component-d16ec3c2.js.map} +1 -1
- package/build/modalCloseButton.component-a2ee80b8.js +2 -0
- package/build/{modalCloseButton.component-eddb7a57.js.map → modalCloseButton.component-a2ee80b8.js.map} +1 -1
- package/build/modalFooter.component-cdecefb9.js +2 -0
- package/build/{modalFooter.component-a8dca3ea.js.map → modalFooter.component-cdecefb9.js.map} +1 -1
- package/build/{modalFooterButtons.component-3d53a2fd.js → modalFooterButtons.component-85166391.js} +2 -2
- package/build/{modalFooterButtons.component-3d53a2fd.js.map → modalFooterButtons.component-85166391.js.map} +1 -1
- package/build/{modalHeader.component-d1fd5719.js → modalHeader.component-8b663f4e.js} +2 -2
- package/build/{modalHeader.component-d1fd5719.js.map → modalHeader.component-8b663f4e.js.map} +1 -1
- package/build/{popover.component-b1318f2b.js → popover.component-c06d692e.js} +2 -2
- package/build/{popover.component-b1318f2b.js.map → popover.component-c06d692e.js.map} +1 -1
- package/build/{popoverFooter.component-c0ee782e.js → popoverFooter.component-3280b596.js} +2 -2
- package/build/{popoverFooter.component-c0ee782e.js.map → popoverFooter.component-3280b596.js.map} +1 -1
- package/build/{popoverHeader.component-c18911f7.js → popoverHeader.component-63b549bf.js} +2 -2
- package/build/{popoverHeader.component-c18911f7.js.map → popoverHeader.component-63b549bf.js.map} +1 -1
- package/build/{radioGroup.component-dd58c847.js → radioGroup.component-5719cd37.js} +2 -2
- package/build/{radioGroup.component-dd58c847.js.map → radioGroup.component-5719cd37.js.map} +1 -1
- package/build/select.component-ad0272ab.js +2 -0
- package/build/select.component-ad0272ab.js.map +1 -0
- package/build/switch.component-1065f097.js +2 -0
- package/build/{switch.component-8d66801f.js.map → switch.component-1065f097.js.map} +1 -1
- package/build/tab.component-df791b96.js +2 -0
- package/build/{tab.component-7216c161.js.map → tab.component-df791b96.js.map} +1 -1
- package/build/tabs.component-cfe10d1e.js +2 -0
- package/build/{tabs.component-a9d4cd4d.js.map → tabs.component-cfe10d1e.js.map} +1 -1
- package/build/{tabsLayout.component-c9722b65.js → tabsLayout.component-4055835c.js} +2 -2
- package/build/{tabsLayout.component-c9722b65.js.map → tabsLayout.component-4055835c.js.map} +1 -1
- package/build/{textInput.component-698edd91.js → textInput.component-d63fb051.js} +2 -2
- package/build/{textInput.component-698edd91.js.map → textInput.component-d63fb051.js.map} +1 -1
- package/build/{textarea.component-2ce3b83d.js → textarea.component-eda7f5d3.js} +2 -2
- package/build/{textarea.component-2ce3b83d.js.map → textarea.component-eda7f5d3.js.map} +1 -1
- package/build/{timePicker.component-a09c5a46.js → timePicker.component-0385a923.js} +2 -2
- package/build/{timePicker.component-a09c5a46.js.map → timePicker.component-0385a923.js.map} +1 -1
- package/build/{timeRange.component-db33f38f.js → timeRange.component-41f34bea.js} +2 -2
- package/build/{timeRange.component-db33f38f.js.map → timeRange.component-41f34bea.js.map} +1 -1
- package/build/{useToast-f39055be.js → useToast-dc263271.js} +2 -2
- package/build/{useToast-f39055be.js.map → useToast-dc263271.js.map} +1 -1
- package/build/{withFormControl-fbce8608.js → withFormControl-1971ad8f.js} +2 -2
- package/build/{withFormControl-fbce8608.js.map → withFormControl-1971ad8f.js.map} +1 -1
- package/package.json +1 -1
- package/build/avatarGroup.component-d0fcf1da.js +0 -2
- package/build/chakra-ui-menu.esm-fe9ef385.js +0 -2
- package/build/checkbox.component-c5ca7d54.js +0 -2
- package/build/components/Menu/components/MenuOptionGroup/index.d.ts +0 -1
- package/build/components/Menu/components/MenuOptionGroup/index.js +0 -2
- package/build/components/Menu/components/MenuOptionGroup/index.js.map +0 -1
- package/build/components/Menu/components/MenuOptionGroup/menuOptionGroup.component.d.ts +0 -2
- package/build/components/Select/components/SelectBrowserDefault/selectBrowserDefault.component.d.ts +0 -2
- package/build/menu.component-94722777.js +0 -2
- package/build/menu.component-94722777.js.map +0 -1
- package/build/menuButton.component-e1cbaba8.js +0 -2
- package/build/menuButton.component-e1cbaba8.js.map +0 -1
- package/build/menuContainer.component-adb9204a.js.map +0 -1
- package/build/menuItem.component-218a8419.js +0 -2
- package/build/menuItem.component-218a8419.js.map +0 -1
- package/build/menuList.component-93b00c0b.js +0 -2
- package/build/menuList.component-93b00c0b.js.map +0 -1
- package/build/menuOptionGroup.component-bfcf4e53.js +0 -2
- package/build/menuOptionGroup.component-bfcf4e53.js.map +0 -1
- package/build/modalBody.component-771775b3.js +0 -2
- package/build/modalCloseButton.component-eddb7a57.js +0 -2
- package/build/modalFooter.component-a8dca3ea.js +0 -2
- package/build/select.component-51158b2c.js +0 -2
- package/build/select.component-51158b2c.js.map +0 -1
- package/build/switch.component-8d66801f.js +0 -2
- package/build/tab.component-7216c161.js +0 -2
- package/build/tabs.component-a9d4cd4d.js +0 -2
|
@@ -2,93 +2,14 @@
|
|
|
2
2
|
import { MenuProps } from '../menu.component';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ buttonProps,
|
|
5
|
+
component: ({ buttonProps, customTriggerElement, listProps, containerProps, ...props }: MenuProps) => JSX.Element;
|
|
6
6
|
parameters: {
|
|
7
7
|
controls: {
|
|
8
8
|
sort: string;
|
|
9
9
|
};
|
|
10
10
|
height: string;
|
|
11
11
|
};
|
|
12
|
-
argTypes:
|
|
13
|
-
children: any;
|
|
14
|
-
closeOnSelect: any;
|
|
15
|
-
groupLabel: any;
|
|
16
|
-
isDisabled: any;
|
|
17
|
-
isMultiSelect: any;
|
|
18
|
-
isPlaceholder: any;
|
|
19
|
-
isSelected: any;
|
|
20
|
-
label: any;
|
|
21
|
-
leftElement: any;
|
|
22
|
-
itemOnSelect: any;
|
|
23
|
-
shouldRetainSelection: any;
|
|
24
|
-
shouldTruncateText: any;
|
|
25
|
-
value: any;
|
|
26
|
-
canSelectAll: any;
|
|
27
|
-
canSelectGroups: any;
|
|
28
|
-
isGrouped: any;
|
|
29
|
-
isSearchable: any;
|
|
30
|
-
maxW: any;
|
|
31
|
-
minW: any;
|
|
32
|
-
maxH: any;
|
|
33
|
-
menuItems: any;
|
|
34
|
-
menuOnSelect: any;
|
|
35
|
-
onSelectAll: any;
|
|
36
|
-
searchPlaceholder: any;
|
|
37
|
-
autoSelect: any;
|
|
38
|
-
closeOnBlur: any;
|
|
39
|
-
defaultIsOpen: any;
|
|
40
|
-
flip: any;
|
|
41
|
-
gutter: any;
|
|
42
|
-
isLazy: any;
|
|
43
|
-
isOpen: any;
|
|
44
|
-
matchWidth: any;
|
|
45
|
-
offset: any;
|
|
46
|
-
onOpen: any;
|
|
47
|
-
onClose: any;
|
|
48
|
-
placement: any;
|
|
49
|
-
leftIconName: any;
|
|
50
|
-
rightIconName: any;
|
|
51
|
-
showRightIcon: any;
|
|
52
|
-
size: any;
|
|
53
|
-
text: any;
|
|
54
|
-
variant: any;
|
|
55
|
-
buttonProps: {
|
|
56
|
-
control: {
|
|
57
|
-
type: string;
|
|
58
|
-
};
|
|
59
|
-
table: {
|
|
60
|
-
summary: {
|
|
61
|
-
variant: string;
|
|
62
|
-
size: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
listProps: {
|
|
68
|
-
control: {
|
|
69
|
-
type: string;
|
|
70
|
-
};
|
|
71
|
-
table: {
|
|
72
|
-
summary: {
|
|
73
|
-
variant: string;
|
|
74
|
-
size: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
description: string;
|
|
78
|
-
};
|
|
79
|
-
containerProps: {
|
|
80
|
-
control: {
|
|
81
|
-
type: string;
|
|
82
|
-
};
|
|
83
|
-
table: {
|
|
84
|
-
summary: {
|
|
85
|
-
variant: string;
|
|
86
|
-
size: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
description: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
12
|
+
argTypes: import("../../../shared/types/storybook").KibbleArgTypes<import("../menu.component").KMenuProps>;
|
|
92
13
|
};
|
|
93
14
|
export default _default;
|
|
94
15
|
export declare const WithAvatars: {
|
|
@@ -2,93 +2,14 @@
|
|
|
2
2
|
import { MenuProps } from '../menu.component';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ buttonProps,
|
|
5
|
+
component: ({ buttonProps, customTriggerElement, listProps, containerProps, ...props }: MenuProps) => JSX.Element;
|
|
6
6
|
parameters: {
|
|
7
7
|
controls: {
|
|
8
8
|
sort: string;
|
|
9
9
|
};
|
|
10
10
|
height: string;
|
|
11
11
|
};
|
|
12
|
-
argTypes:
|
|
13
|
-
children: any;
|
|
14
|
-
closeOnSelect: any;
|
|
15
|
-
groupLabel: any;
|
|
16
|
-
isDisabled: any;
|
|
17
|
-
isMultiSelect: any;
|
|
18
|
-
isPlaceholder: any;
|
|
19
|
-
isSelected: any;
|
|
20
|
-
label: any;
|
|
21
|
-
leftElement: any;
|
|
22
|
-
itemOnSelect: any;
|
|
23
|
-
shouldRetainSelection: any;
|
|
24
|
-
shouldTruncateText: any;
|
|
25
|
-
value: any;
|
|
26
|
-
canSelectAll: any;
|
|
27
|
-
canSelectGroups: any;
|
|
28
|
-
isGrouped: any;
|
|
29
|
-
isSearchable: any;
|
|
30
|
-
maxW: any;
|
|
31
|
-
minW: any;
|
|
32
|
-
maxH: any;
|
|
33
|
-
menuItems: any;
|
|
34
|
-
menuOnSelect: any;
|
|
35
|
-
onSelectAll: any;
|
|
36
|
-
searchPlaceholder: any;
|
|
37
|
-
autoSelect: any;
|
|
38
|
-
closeOnBlur: any;
|
|
39
|
-
defaultIsOpen: any;
|
|
40
|
-
flip: any;
|
|
41
|
-
gutter: any;
|
|
42
|
-
isLazy: any;
|
|
43
|
-
isOpen: any;
|
|
44
|
-
matchWidth: any;
|
|
45
|
-
offset: any;
|
|
46
|
-
onOpen: any;
|
|
47
|
-
onClose: any;
|
|
48
|
-
placement: any;
|
|
49
|
-
leftIconName: any;
|
|
50
|
-
rightIconName: any;
|
|
51
|
-
showRightIcon: any;
|
|
52
|
-
size: any;
|
|
53
|
-
text: any;
|
|
54
|
-
variant: any;
|
|
55
|
-
buttonProps: {
|
|
56
|
-
control: {
|
|
57
|
-
type: string;
|
|
58
|
-
};
|
|
59
|
-
table: {
|
|
60
|
-
summary: {
|
|
61
|
-
variant: string;
|
|
62
|
-
size: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
listProps: {
|
|
68
|
-
control: {
|
|
69
|
-
type: string;
|
|
70
|
-
};
|
|
71
|
-
table: {
|
|
72
|
-
summary: {
|
|
73
|
-
variant: string;
|
|
74
|
-
size: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
description: string;
|
|
78
|
-
};
|
|
79
|
-
containerProps: {
|
|
80
|
-
control: {
|
|
81
|
-
type: string;
|
|
82
|
-
};
|
|
83
|
-
table: {
|
|
84
|
-
summary: {
|
|
85
|
-
variant: string;
|
|
86
|
-
size: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
description: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
12
|
+
argTypes: import("../../../shared/types/storybook").KibbleArgTypes<import("../menu.component").KMenuProps>;
|
|
92
13
|
};
|
|
93
14
|
export default _default;
|
|
94
15
|
export declare const WithCustomChildrenItems: {
|
|
@@ -2,93 +2,14 @@
|
|
|
2
2
|
import { MenuProps } from '../menu.component';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ buttonProps,
|
|
5
|
+
component: ({ buttonProps, customTriggerElement, listProps, containerProps, ...props }: MenuProps) => JSX.Element;
|
|
6
6
|
parameters: {
|
|
7
7
|
controls: {
|
|
8
8
|
sort: string;
|
|
9
9
|
};
|
|
10
10
|
height: string;
|
|
11
11
|
};
|
|
12
|
-
argTypes:
|
|
13
|
-
children: any;
|
|
14
|
-
closeOnSelect: any;
|
|
15
|
-
groupLabel: any;
|
|
16
|
-
isDisabled: any;
|
|
17
|
-
isMultiSelect: any;
|
|
18
|
-
isPlaceholder: any;
|
|
19
|
-
isSelected: any;
|
|
20
|
-
label: any;
|
|
21
|
-
leftElement: any;
|
|
22
|
-
itemOnSelect: any;
|
|
23
|
-
shouldRetainSelection: any;
|
|
24
|
-
shouldTruncateText: any;
|
|
25
|
-
value: any;
|
|
26
|
-
canSelectAll: any;
|
|
27
|
-
canSelectGroups: any;
|
|
28
|
-
isGrouped: any;
|
|
29
|
-
isSearchable: any;
|
|
30
|
-
maxW: any;
|
|
31
|
-
minW: any;
|
|
32
|
-
maxH: any;
|
|
33
|
-
menuItems: any;
|
|
34
|
-
menuOnSelect: any;
|
|
35
|
-
onSelectAll: any;
|
|
36
|
-
searchPlaceholder: any;
|
|
37
|
-
autoSelect: any;
|
|
38
|
-
closeOnBlur: any;
|
|
39
|
-
defaultIsOpen: any;
|
|
40
|
-
flip: any;
|
|
41
|
-
gutter: any;
|
|
42
|
-
isLazy: any;
|
|
43
|
-
isOpen: any;
|
|
44
|
-
matchWidth: any;
|
|
45
|
-
offset: any;
|
|
46
|
-
onOpen: any;
|
|
47
|
-
onClose: any;
|
|
48
|
-
placement: any;
|
|
49
|
-
leftIconName: any;
|
|
50
|
-
rightIconName: any;
|
|
51
|
-
showRightIcon: any;
|
|
52
|
-
size: any;
|
|
53
|
-
text: any;
|
|
54
|
-
variant: any;
|
|
55
|
-
buttonProps: {
|
|
56
|
-
control: {
|
|
57
|
-
type: string;
|
|
58
|
-
};
|
|
59
|
-
table: {
|
|
60
|
-
summary: {
|
|
61
|
-
variant: string;
|
|
62
|
-
size: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
listProps: {
|
|
68
|
-
control: {
|
|
69
|
-
type: string;
|
|
70
|
-
};
|
|
71
|
-
table: {
|
|
72
|
-
summary: {
|
|
73
|
-
variant: string;
|
|
74
|
-
size: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
description: string;
|
|
78
|
-
};
|
|
79
|
-
containerProps: {
|
|
80
|
-
control: {
|
|
81
|
-
type: string;
|
|
82
|
-
};
|
|
83
|
-
table: {
|
|
84
|
-
summary: {
|
|
85
|
-
variant: string;
|
|
86
|
-
size: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
description: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
12
|
+
argTypes: import("../../../shared/types/storybook").KibbleArgTypes<import("../menu.component").KMenuProps>;
|
|
92
13
|
};
|
|
93
14
|
export default _default;
|
|
94
15
|
export declare const WithCustomLabel: {
|
|
@@ -2,93 +2,14 @@
|
|
|
2
2
|
import { MenuProps } from '../menu.component';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ buttonProps,
|
|
5
|
+
component: ({ buttonProps, customTriggerElement, listProps, containerProps, ...props }: MenuProps) => JSX.Element;
|
|
6
6
|
parameters: {
|
|
7
7
|
controls: {
|
|
8
8
|
sort: string;
|
|
9
9
|
};
|
|
10
10
|
height: string;
|
|
11
11
|
};
|
|
12
|
-
argTypes:
|
|
13
|
-
children: any;
|
|
14
|
-
closeOnSelect: any;
|
|
15
|
-
groupLabel: any;
|
|
16
|
-
isDisabled: any;
|
|
17
|
-
isMultiSelect: any;
|
|
18
|
-
isPlaceholder: any;
|
|
19
|
-
isSelected: any;
|
|
20
|
-
label: any;
|
|
21
|
-
leftElement: any;
|
|
22
|
-
itemOnSelect: any;
|
|
23
|
-
shouldRetainSelection: any;
|
|
24
|
-
shouldTruncateText: any;
|
|
25
|
-
value: any;
|
|
26
|
-
canSelectAll: any;
|
|
27
|
-
canSelectGroups: any;
|
|
28
|
-
isGrouped: any;
|
|
29
|
-
isSearchable: any;
|
|
30
|
-
maxW: any;
|
|
31
|
-
minW: any;
|
|
32
|
-
maxH: any;
|
|
33
|
-
menuItems: any;
|
|
34
|
-
menuOnSelect: any;
|
|
35
|
-
onSelectAll: any;
|
|
36
|
-
searchPlaceholder: any;
|
|
37
|
-
autoSelect: any;
|
|
38
|
-
closeOnBlur: any;
|
|
39
|
-
defaultIsOpen: any;
|
|
40
|
-
flip: any;
|
|
41
|
-
gutter: any;
|
|
42
|
-
isLazy: any;
|
|
43
|
-
isOpen: any;
|
|
44
|
-
matchWidth: any;
|
|
45
|
-
offset: any;
|
|
46
|
-
onOpen: any;
|
|
47
|
-
onClose: any;
|
|
48
|
-
placement: any;
|
|
49
|
-
leftIconName: any;
|
|
50
|
-
rightIconName: any;
|
|
51
|
-
showRightIcon: any;
|
|
52
|
-
size: any;
|
|
53
|
-
text: any;
|
|
54
|
-
variant: any;
|
|
55
|
-
buttonProps: {
|
|
56
|
-
control: {
|
|
57
|
-
type: string;
|
|
58
|
-
};
|
|
59
|
-
table: {
|
|
60
|
-
summary: {
|
|
61
|
-
variant: string;
|
|
62
|
-
size: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
listProps: {
|
|
68
|
-
control: {
|
|
69
|
-
type: string;
|
|
70
|
-
};
|
|
71
|
-
table: {
|
|
72
|
-
summary: {
|
|
73
|
-
variant: string;
|
|
74
|
-
size: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
description: string;
|
|
78
|
-
};
|
|
79
|
-
containerProps: {
|
|
80
|
-
control: {
|
|
81
|
-
type: string;
|
|
82
|
-
};
|
|
83
|
-
table: {
|
|
84
|
-
summary: {
|
|
85
|
-
variant: string;
|
|
86
|
-
size: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
description: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
12
|
+
argTypes: import("../../../shared/types/storybook").KibbleArgTypes<import("../menu.component").KMenuProps>;
|
|
92
13
|
};
|
|
93
14
|
export default _default;
|
|
94
15
|
export declare const WithGroups: {
|
|
@@ -2,93 +2,14 @@
|
|
|
2
2
|
import { MenuProps } from '../menu.component';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ buttonProps,
|
|
5
|
+
component: ({ buttonProps, customTriggerElement, listProps, containerProps, ...props }: MenuProps) => JSX.Element;
|
|
6
6
|
parameters: {
|
|
7
7
|
controls: {
|
|
8
8
|
sort: string;
|
|
9
9
|
};
|
|
10
10
|
height: string;
|
|
11
11
|
};
|
|
12
|
-
argTypes:
|
|
13
|
-
children: any;
|
|
14
|
-
closeOnSelect: any;
|
|
15
|
-
groupLabel: any;
|
|
16
|
-
isDisabled: any;
|
|
17
|
-
isMultiSelect: any;
|
|
18
|
-
isPlaceholder: any;
|
|
19
|
-
isSelected: any;
|
|
20
|
-
label: any;
|
|
21
|
-
leftElement: any;
|
|
22
|
-
itemOnSelect: any;
|
|
23
|
-
shouldRetainSelection: any;
|
|
24
|
-
shouldTruncateText: any;
|
|
25
|
-
value: any;
|
|
26
|
-
canSelectAll: any;
|
|
27
|
-
canSelectGroups: any;
|
|
28
|
-
isGrouped: any;
|
|
29
|
-
isSearchable: any;
|
|
30
|
-
maxW: any;
|
|
31
|
-
minW: any;
|
|
32
|
-
maxH: any;
|
|
33
|
-
menuItems: any;
|
|
34
|
-
menuOnSelect: any;
|
|
35
|
-
onSelectAll: any;
|
|
36
|
-
searchPlaceholder: any;
|
|
37
|
-
autoSelect: any;
|
|
38
|
-
closeOnBlur: any;
|
|
39
|
-
defaultIsOpen: any;
|
|
40
|
-
flip: any;
|
|
41
|
-
gutter: any;
|
|
42
|
-
isLazy: any;
|
|
43
|
-
isOpen: any;
|
|
44
|
-
matchWidth: any;
|
|
45
|
-
offset: any;
|
|
46
|
-
onOpen: any;
|
|
47
|
-
onClose: any;
|
|
48
|
-
placement: any;
|
|
49
|
-
leftIconName: any;
|
|
50
|
-
rightIconName: any;
|
|
51
|
-
showRightIcon: any;
|
|
52
|
-
size: any;
|
|
53
|
-
text: any;
|
|
54
|
-
variant: any;
|
|
55
|
-
buttonProps: {
|
|
56
|
-
control: {
|
|
57
|
-
type: string;
|
|
58
|
-
};
|
|
59
|
-
table: {
|
|
60
|
-
summary: {
|
|
61
|
-
variant: string;
|
|
62
|
-
size: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
listProps: {
|
|
68
|
-
control: {
|
|
69
|
-
type: string;
|
|
70
|
-
};
|
|
71
|
-
table: {
|
|
72
|
-
summary: {
|
|
73
|
-
variant: string;
|
|
74
|
-
size: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
description: string;
|
|
78
|
-
};
|
|
79
|
-
containerProps: {
|
|
80
|
-
control: {
|
|
81
|
-
type: string;
|
|
82
|
-
};
|
|
83
|
-
table: {
|
|
84
|
-
summary: {
|
|
85
|
-
variant: string;
|
|
86
|
-
size: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
description: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
12
|
+
argTypes: import("../../../shared/types/storybook").KibbleArgTypes<import("../menu.component").KMenuProps>;
|
|
92
13
|
};
|
|
93
14
|
export default _default;
|
|
94
15
|
export declare const WithIconButton: {
|
|
@@ -2,93 +2,14 @@
|
|
|
2
2
|
import { MenuProps } from '../menu.component';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ buttonProps,
|
|
5
|
+
component: ({ buttonProps, customTriggerElement, listProps, containerProps, ...props }: MenuProps) => JSX.Element;
|
|
6
6
|
parameters: {
|
|
7
7
|
controls: {
|
|
8
8
|
sort: string;
|
|
9
9
|
};
|
|
10
10
|
height: string;
|
|
11
11
|
};
|
|
12
|
-
argTypes:
|
|
13
|
-
children: any;
|
|
14
|
-
closeOnSelect: any;
|
|
15
|
-
groupLabel: any;
|
|
16
|
-
isDisabled: any;
|
|
17
|
-
isMultiSelect: any;
|
|
18
|
-
isPlaceholder: any;
|
|
19
|
-
isSelected: any;
|
|
20
|
-
label: any;
|
|
21
|
-
leftElement: any;
|
|
22
|
-
itemOnSelect: any;
|
|
23
|
-
shouldRetainSelection: any;
|
|
24
|
-
shouldTruncateText: any;
|
|
25
|
-
value: any;
|
|
26
|
-
canSelectAll: any;
|
|
27
|
-
canSelectGroups: any;
|
|
28
|
-
isGrouped: any;
|
|
29
|
-
isSearchable: any;
|
|
30
|
-
maxW: any;
|
|
31
|
-
minW: any;
|
|
32
|
-
maxH: any;
|
|
33
|
-
menuItems: any;
|
|
34
|
-
menuOnSelect: any;
|
|
35
|
-
onSelectAll: any;
|
|
36
|
-
searchPlaceholder: any;
|
|
37
|
-
autoSelect: any;
|
|
38
|
-
closeOnBlur: any;
|
|
39
|
-
defaultIsOpen: any;
|
|
40
|
-
flip: any;
|
|
41
|
-
gutter: any;
|
|
42
|
-
isLazy: any;
|
|
43
|
-
isOpen: any;
|
|
44
|
-
matchWidth: any;
|
|
45
|
-
offset: any;
|
|
46
|
-
onOpen: any;
|
|
47
|
-
onClose: any;
|
|
48
|
-
placement: any;
|
|
49
|
-
leftIconName: any;
|
|
50
|
-
rightIconName: any;
|
|
51
|
-
showRightIcon: any;
|
|
52
|
-
size: any;
|
|
53
|
-
text: any;
|
|
54
|
-
variant: any;
|
|
55
|
-
buttonProps: {
|
|
56
|
-
control: {
|
|
57
|
-
type: string;
|
|
58
|
-
};
|
|
59
|
-
table: {
|
|
60
|
-
summary: {
|
|
61
|
-
variant: string;
|
|
62
|
-
size: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
listProps: {
|
|
68
|
-
control: {
|
|
69
|
-
type: string;
|
|
70
|
-
};
|
|
71
|
-
table: {
|
|
72
|
-
summary: {
|
|
73
|
-
variant: string;
|
|
74
|
-
size: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
description: string;
|
|
78
|
-
};
|
|
79
|
-
containerProps: {
|
|
80
|
-
control: {
|
|
81
|
-
type: string;
|
|
82
|
-
};
|
|
83
|
-
table: {
|
|
84
|
-
summary: {
|
|
85
|
-
variant: string;
|
|
86
|
-
size: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
description: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
12
|
+
argTypes: import("../../../shared/types/storybook").KibbleArgTypes<import("../menu.component").KMenuProps>;
|
|
92
13
|
};
|
|
93
14
|
export default _default;
|
|
94
15
|
export declare const WithIcons: {
|
|
@@ -2,93 +2,14 @@
|
|
|
2
2
|
import { MenuProps } from '../menu.component';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ buttonProps,
|
|
5
|
+
component: ({ buttonProps, customTriggerElement, listProps, containerProps, ...props }: MenuProps) => JSX.Element;
|
|
6
6
|
parameters: {
|
|
7
7
|
controls: {
|
|
8
8
|
sort: string;
|
|
9
9
|
};
|
|
10
10
|
height: string;
|
|
11
11
|
};
|
|
12
|
-
argTypes:
|
|
13
|
-
children: any;
|
|
14
|
-
closeOnSelect: any;
|
|
15
|
-
groupLabel: any;
|
|
16
|
-
isDisabled: any;
|
|
17
|
-
isMultiSelect: any;
|
|
18
|
-
isPlaceholder: any;
|
|
19
|
-
isSelected: any;
|
|
20
|
-
label: any;
|
|
21
|
-
leftElement: any;
|
|
22
|
-
itemOnSelect: any;
|
|
23
|
-
shouldRetainSelection: any;
|
|
24
|
-
shouldTruncateText: any;
|
|
25
|
-
value: any;
|
|
26
|
-
canSelectAll: any;
|
|
27
|
-
canSelectGroups: any;
|
|
28
|
-
isGrouped: any;
|
|
29
|
-
isSearchable: any;
|
|
30
|
-
maxW: any;
|
|
31
|
-
minW: any;
|
|
32
|
-
maxH: any;
|
|
33
|
-
menuItems: any;
|
|
34
|
-
menuOnSelect: any;
|
|
35
|
-
onSelectAll: any;
|
|
36
|
-
searchPlaceholder: any;
|
|
37
|
-
autoSelect: any;
|
|
38
|
-
closeOnBlur: any;
|
|
39
|
-
defaultIsOpen: any;
|
|
40
|
-
flip: any;
|
|
41
|
-
gutter: any;
|
|
42
|
-
isLazy: any;
|
|
43
|
-
isOpen: any;
|
|
44
|
-
matchWidth: any;
|
|
45
|
-
offset: any;
|
|
46
|
-
onOpen: any;
|
|
47
|
-
onClose: any;
|
|
48
|
-
placement: any;
|
|
49
|
-
leftIconName: any;
|
|
50
|
-
rightIconName: any;
|
|
51
|
-
showRightIcon: any;
|
|
52
|
-
size: any;
|
|
53
|
-
text: any;
|
|
54
|
-
variant: any;
|
|
55
|
-
buttonProps: {
|
|
56
|
-
control: {
|
|
57
|
-
type: string;
|
|
58
|
-
};
|
|
59
|
-
table: {
|
|
60
|
-
summary: {
|
|
61
|
-
variant: string;
|
|
62
|
-
size: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
listProps: {
|
|
68
|
-
control: {
|
|
69
|
-
type: string;
|
|
70
|
-
};
|
|
71
|
-
table: {
|
|
72
|
-
summary: {
|
|
73
|
-
variant: string;
|
|
74
|
-
size: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
description: string;
|
|
78
|
-
};
|
|
79
|
-
containerProps: {
|
|
80
|
-
control: {
|
|
81
|
-
type: string;
|
|
82
|
-
};
|
|
83
|
-
table: {
|
|
84
|
-
summary: {
|
|
85
|
-
variant: string;
|
|
86
|
-
size: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
description: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
12
|
+
argTypes: import("../../../shared/types/storybook").KibbleArgTypes<import("../menu.component").KMenuProps>;
|
|
92
13
|
};
|
|
93
14
|
export default _default;
|
|
94
15
|
export declare const WithMultiSelect: {
|