krl-alfred 2.23.13 → 2.23.15
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/dist/components/Accordion/Accordion.styled.d.ts +21 -7
- package/dist/components/Accordion/stories/Accordion.stories.d.ts +105 -28
- package/dist/components/Accordion/stories/Accordion.stories.js +73 -129
- package/dist/components/ActionButton/ActionButton.styled.d.ts +51 -17
- package/dist/components/ActionButton/stories/ActionButton.stories.d.ts +210 -18
- package/dist/components/ActionButton/stories/ActionButton.stories.js +87 -140
- package/dist/components/AddressCard/AddressCard.styled.d.ts +6 -2
- package/dist/components/AddressCard/stories/AddressCard.stories.d.ts +148 -26
- package/dist/components/AddressCard/stories/AddressCard.stories.js +96 -167
- package/dist/components/Agreement/Agreement.styled.d.ts +3 -1
- package/dist/components/Agreement/stories/Agreement.stories.d.ts +263 -1
- package/dist/components/Agreement/stories/Agreement.stories.js +89 -11
- package/dist/components/Alert/Alert.styled.d.ts +3 -1
- package/dist/components/Alert/stories/Alert.stories.d.ts +138 -8
- package/dist/components/Alert/stories/Alert.stories.js +68 -119
- package/dist/components/AutocompleteInput/AutocompleteInput.styled.d.ts +12 -4
- package/dist/components/AutocompleteInput/stories/AutocompleteInput.stories.d.ts +737 -2
- package/dist/components/AutocompleteInput/stories/AutocompleteInput.stories.js +161 -74
- package/dist/components/Badges/layouts/belt/belt.styled.d.ts +3 -1
- package/dist/components/Badges/layouts/dark/dark.styled.d.ts +3 -1
- package/dist/components/Badges/layouts/text/text.styled.d.ts +3 -1
- package/dist/components/Badges/stories/Badges.stories.d.ts +228 -10
- package/dist/components/Badges/stories/Badges.stories.js +113 -55
- package/dist/components/BannerCard/BannerCard.styled.d.ts +3 -1
- package/dist/components/BannerCard/stories/BannerCard.stories.d.ts +278 -5
- package/dist/components/BannerCard/stories/BannerCard.stories.js +82 -24
- package/dist/components/BlogCard/BlogCard.styled.d.ts +3 -1
- package/dist/components/BlogCard/stories/BlogCard.stories.d.ts +161 -9
- package/dist/components/BlogCard/stories/BlogCard.stories.js +84 -41
- package/dist/components/Breadcrumbs/Breadcrumbs.styled.d.ts +39 -13
- package/dist/components/Breadcrumbs/stories/Breadcrumbs.stories.d.ts +380 -10
- package/dist/components/Breadcrumbs/stories/Breadcrumbs.stories.js +170 -13
- package/dist/components/Button/Button.styled.d.ts +6 -2
- package/dist/components/Button/stories/Button.stories.d.ts +301 -49
- package/dist/components/Button/stories/Button.stories.js +105 -46
- package/dist/components/CampaignCard/CampaignCard.styled.d.ts +3 -1
- package/dist/components/CampaignCard/stories/CampaignCard.stories.d.ts +118 -3
- package/dist/components/CampaignCard/stories/CampaignCard.stories.js +55 -32
- package/dist/components/CategoryMenu/CategoryMenu.styled.d.ts +24 -8
- package/dist/components/CategoryMenu/stories/CategoryMenu.stories.d.ts +807 -29
- package/dist/components/CategoryMenu/stories/CategoryMenu.stories.js +198 -31
- package/dist/components/Checkbox/Checkbox.styled.d.ts +15 -5
- package/dist/components/Checkbox/stories/Checkbox.stories.d.ts +313 -7
- package/dist/components/Checkbox/stories/Checkbox.stories.js +69 -25
- package/dist/components/CheckboxGroup/CheckboxGroup.styled.d.ts +3 -1
- package/dist/components/CheckboxGroup/stories/CheckboxGroup.stories.d.ts +400 -2
- package/dist/components/CheckboxGroup/stories/CheckboxGroup.stories.js +129 -43
- package/dist/components/CircleProgress/CircleProgress.styled.d.ts +3 -1
- package/dist/components/CircleProgress/stories/CircleProgress.stories.d.ts +142 -3
- package/dist/components/CircleProgress/stories/CircleProgress.stories.js +133 -7
- package/dist/components/CircleProgressPro/CircleProgressPro.styled.d.ts +33 -11
- package/dist/components/CircleProgressPro/stories/CircleProgressPro.stories.d.ts +25 -2
- package/dist/components/CircleProgressPro/stories/CircleProgressPro.stories.js +50 -5
- package/dist/components/ColorPalette/ColorPalette.styled.d.ts +27 -9
- package/dist/components/CouponCode/CouponCode.styled.d.ts +9 -3
- package/dist/components/CouponCode/stories/CouponCode.stories.d.ts +311 -1
- package/dist/components/CouponCode/stories/CouponCode.stories.js +100 -18
- package/dist/components/DescriptionCard/DescriptionCard.styled.d.ts +117 -46
- package/dist/components/DescriptionCard/stories/DescriptionCard.stories.d.ts +788 -2
- package/dist/components/DescriptionCard/stories/DescriptionCard.stories.js +74 -3
- package/dist/components/Divider/Divider.styled.d.ts +6 -2
- package/dist/components/Divider/stories/Divider.stories.d.ts +85 -2
- package/dist/components/Divider/stories/Divider.stories.js +65 -12
- package/dist/components/Dropdown/Dropdown.styled.d.ts +6 -2
- package/dist/components/Dropdown/stories/Dropdown.stories.d.ts +395 -5
- package/dist/components/Dropdown/stories/Dropdown.stories.js +166 -36
- package/dist/components/DropdownButton/DropdownButton.styled.d.ts +9 -3
- package/dist/components/DropdownButton/stories/DropdownButton.stories.d.ts +177 -5
- package/dist/components/DropdownButton/stories/DropdownButton.stories.js +84 -36
- package/dist/components/Icon/Icon.styled.d.ts +9 -3
- package/dist/components/Icon/props.d.ts +2 -2
- package/dist/components/Icon/stories/Icons.stories.d.ts +134 -3
- package/dist/components/Icon/stories/Icons.stories.js +55 -17
- package/dist/components/InfoBox/InfoBox.styled.d.ts +24 -8
- package/dist/components/InfoBox/stories/InfoBox.stories.d.ts +25 -1
- package/dist/components/InfoBox/stories/InfoBox.stories.js +23 -13
- package/dist/components/InlineProgress/InlineProgress.styled.d.ts +3 -1
- package/dist/components/InlineProgress/stories/InlineProgress.stories.d.ts +69 -2
- package/dist/components/InlineProgress/stories/InlineProgress.stories.js +50 -7
- package/dist/components/Input/Input.styled.d.ts +27 -9
- package/dist/components/Input/stories/Input.stories.d.ts +62 -1
- package/dist/components/Input/stories/Input.stories.js +59 -40
- package/dist/components/InstallmentBox/InstallmentBox.styled.d.ts +3 -1
- package/dist/components/InstallmentBox/stories/InstallmentBox.stories.d.ts +41 -2
- package/dist/components/InstallmentBox/stories/InstallmentBox.stories.js +36 -13
- package/dist/components/InsuranceBox/InsuranceBox.styled.d.ts +21 -7
- package/dist/components/InsuranceBox/stories/InsuranceBox.stories.d.ts +53 -0
- package/dist/components/InsuranceBox/stories/InsuranceBox.stories.js +19 -1
- package/dist/components/ListGroup/ListGroup.styled.d.ts +15 -5
- package/dist/components/ListGroup/stories/ListGroup.stories.d.ts +21 -1
- package/dist/components/ListGroup/stories/ListGroup.stories.js +28 -1
- package/dist/components/Loader/Loader.styled.d.ts +6 -2
- package/dist/components/Loader/stories/Loader.stories.d.ts +22 -4
- package/dist/components/Loader/stories/Loader.stories.js +8 -1
- package/dist/components/Modal/Modal.styled.d.ts +7 -5
- package/dist/components/Modal/stories/Modal.stories.d.ts +98 -1
- package/dist/components/Modal/stories/Modal.stories.js +64 -38
- package/dist/components/OptionMenu/OptionMenu.styled.d.ts +15 -5
- package/dist/components/OptionMenu/stories/OptionMenu.stories.d.ts +126 -44
- package/dist/components/OptionMenu/stories/OptionMenu.stories.js +82 -11
- package/dist/components/OtpInput/OtpInput.styled.d.ts +12 -4
- package/dist/components/OtpInput/stories/OtpInput.stories.d.ts +29 -1
- package/dist/components/OtpInput/stories/OtpInput.stories.js +30 -19
- package/dist/components/Pagination/Pagination.styled.d.ts +3 -1
- package/dist/components/Pagination/stories/Pagination.stories.d.ts +95 -3
- package/dist/components/Pagination/stories/Pagination.stories.js +79 -18
- package/dist/components/PaymentCart/PaymentCart.styled.d.ts +36 -12
- package/dist/components/PaymentCart/stories/PaymentCart.stories.d.ts +180 -1
- package/dist/components/PaymentCart/stories/PaymentCart.stories.js +47 -14
- package/dist/components/ProductCardCheckbox/ProductCardCheckbox.d.ts +1 -1
- package/dist/components/ProductCardCheckbox/ProductCardCheckbox.js +2 -2
- package/dist/components/ProductCardCheckbox/ProductCardCheckbox.styled.d.ts +57 -19
- package/dist/components/ProductCardCheckbox/ProductCardCheckbox.styled.js +15 -13
- package/dist/components/ProductCardCheckbox/ProductCardCheckbox.test.d.ts +1 -0
- package/dist/components/ProductCardCheckbox/ProductCardCheckbox.test.js +94 -0
- package/dist/components/ProductCardCheckbox/props.d.ts +2 -0
- package/dist/components/ProductCardCheckbox/props.js +1 -0
- package/dist/components/ProductCardCheckbox/stories/ProductCardCheckbox.stories.d.ts +190 -0
- package/dist/components/ProductCardCheckbox/stories/ProductCardCheckbox.stories.js +51 -14
- package/dist/components/ProductCardHorizontal/ProductCardHorizontal.styled.d.ts +3 -1
- package/dist/components/ProductCardHorizontal/stories/ProductCardHorizontal.stories.d.ts +57 -0
- package/dist/components/ProductCardHorizontal/stories/ProductCardHorizontal.stories.js +29 -9
- package/dist/components/ProductCardHorizontalMd/ProductCardHorizontalMd.styled.d.ts +60 -29
- package/dist/components/ProductCardHorizontalMd/stories/ProductCardHorizontalMd.stories.d.ts +106 -0
- package/dist/components/ProductCardHorizontalMd/stories/ProductCardHorizontalMd.stories.js +35 -10
- package/dist/components/ProductCardHorizontalSm/ProductCardHorizontalSm.styled.d.ts +33 -11
- package/dist/components/ProductCardHorizontalSm/stories/ProductCardHorizontalSm.stories.d.ts +192 -0
- package/dist/components/ProductCardHorizontalSm/stories/ProductCardHorizontalSm.stories.js +72 -40
- package/dist/components/ProductCardRadio/ProductCardRadio.styled.d.ts +43 -17
- package/dist/components/ProductCardRadio/stories/ProductCardRadio.stories.d.ts +275 -12
- package/dist/components/ProductCardRadio/stories/ProductCardRadio.stories.js +72 -105
- package/dist/components/ProductCardVertical/ProductCardVertical.styled.d.ts +63 -21
- package/dist/components/ProductCardVertical/stories/ProductCardVertical.stories.d.ts +139 -0
- package/dist/components/ProductCardVertical/stories/ProductCardVertical.stories.js +19 -1
- package/dist/components/QuantitySelector/QuantitySelector.styled.d.ts +15 -5
- package/dist/components/QuantitySelector/stories/QuantitySelector.stories.d.ts +114 -0
- package/dist/components/QuantitySelector/stories/QuantitySelector.stories.js +58 -12
- package/dist/components/RadioButton/layouts/basic/Basic.styled.d.ts +15 -5
- package/dist/components/RadioButton/layouts/boxed/Boxed.styled.d.ts +24 -8
- package/dist/components/RadioButton/layouts/boxed/Boxed.styled.js +1 -1
- package/dist/components/RadioButton/layouts/boxedMd/BoxedMd.styled.d.ts +12 -4
- package/dist/components/RadioButton/layouts/boxedSm/BoxedSm.styled.d.ts +12 -4
- package/dist/components/RadioButton/layouts/boxedSm/BoxedSm.styled.js +1 -1
- package/dist/components/RadioButton/layouts/boxedWithIcon/BoxedWithIcon.styled.d.ts +25 -12
- package/dist/components/RadioButton/layouts/color/Color.styled.d.ts +9 -3
- package/dist/components/RadioButton/layouts/horizontal/Horizontal.js +2 -2
- package/dist/components/RadioButton/layouts/horizontal/Horizontal.styled.d.ts +55 -18
- package/dist/components/RadioButton/layouts/horizontal/Horizontal.styled.js +1 -1
- package/dist/components/RadioButton/layouts/horizontal/Horizontal.test.d.ts +1 -0
- package/dist/components/RadioButton/layouts/horizontal/Horizontal.test.js +56 -0
- package/dist/components/RadioButton/props.d.ts +4 -0
- package/dist/components/RadioButton/props.js +3 -0
- package/dist/components/RadioButton/stories/RadioButton.stories.d.ts +14 -0
- package/dist/components/RadioButton/stories/RadioButton.stories.js +15 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.styled.d.ts +21 -7
- package/dist/components/RadioGroup/RadioGroup.test.d.ts +1 -0
- package/dist/components/RadioGroup/RadioGroup.test.js +40 -0
- package/dist/components/RadioGroup/props.d.ts +4 -0
- package/dist/components/RadioScale/RadioScale.styled.d.ts +9 -3
- package/dist/components/RadioScale/stories/RadioScale.stories.d.ts +37 -0
- package/dist/components/RadioScale/stories/RadioScale.stories.js +16 -1
- package/dist/components/ReviewBlock/ReviewBlock.styled.d.ts +57 -19
- package/dist/components/ReviewBlock/stories/ReviewBlock.stories.d.ts +108 -0
- package/dist/components/ReviewBlock/stories/ReviewBlock.stories.js +23 -1
- package/dist/components/ReviewCard/ReviewCard.styled.d.ts +39 -13
- package/dist/components/ReviewCard/stories/ReviewCard.stories.d.ts +55 -0
- package/dist/components/ReviewCard/stories/ReviewCard.stories.js +19 -1
- package/dist/components/RichTextEditor/RichTextEditor.js +20 -12
- package/dist/components/RichTextEditor/RichTextEditor.styled.d.ts +36 -22
- package/dist/components/RichTextEditor/RichTextEditor.styled.js +1 -1
- package/dist/components/RichTextEditor/RichTextEditor.test.d.ts +1 -0
- package/dist/components/RichTextEditor/RichTextEditor.test.js +250 -0
- package/dist/components/RichTextEditor/props.d.ts +6 -0
- package/dist/components/RichTextEditor/props.js +3 -0
- package/dist/components/RichTextEditor/stories/RichTextEditor.stories.d.ts +74 -0
- package/dist/components/RichTextEditor/stories/RichTextEditor.stories.js +83 -1
- package/dist/components/RichTextEditor/utils/sanitize.d.ts +5 -3
- package/dist/components/RichTextEditor/utils/sanitize.js +38 -10
- package/dist/components/SearchBox/SearchBox.styled.d.ts +6 -2
- package/dist/components/SearchBox/stories/SearchBox.stories.d.ts +175 -0
- package/dist/components/SearchBox/stories/SearchBox.stories.js +53 -9
- package/dist/components/SelectBox/SelectBox.styled.d.ts +3 -1
- package/dist/components/SelectBox/stories/SelectBox.stories.d.ts +162 -2
- package/dist/components/SelectBox/stories/SelectBox.stories.js +24 -1
- package/dist/components/ShoppingCartProduct/ShoppingCartProduct.styled.d.ts +150 -56
- package/dist/components/ShoppingCartProduct/stories/ShoppingCartProduct.stories.d.ts +227 -0
- package/dist/components/ShoppingCartProduct/stories/ShoppingCartProduct.stories.js +31 -1
- package/dist/components/SkeletonLoader/SkeletonLoader.styled.d.ts +3 -1
- package/dist/components/SkeletonLoader/stories/SkeletonLoader.stories.d.ts +36 -2
- package/dist/components/SkeletonLoader/stories/SkeletonLoader.stories.js +41 -15
- package/dist/components/StepSlider/StepSlider.styled.d.ts +16 -8
- package/dist/components/StepSlider/stories/StepSlider.stories.d.ts +136 -6
- package/dist/components/StepSlider/stories/StepSlider.stories.js +86 -39
- package/dist/components/Stepper/Stepper.styled.d.ts +12 -4
- package/dist/components/Stepper/stories/Stepper.stories.d.ts +149 -3
- package/dist/components/Stepper/stories/Stepper.stories.js +92 -9
- package/dist/components/SuggestBox/SuggestBox.styled.d.ts +3 -1
- package/dist/components/SuggestBox/stories/SuggestBox.stories.d.ts +68 -2
- package/dist/components/SuggestBox/stories/SuggestBox.stories.js +48 -9
- package/dist/components/Table/Table.styled.d.ts +9 -3
- package/dist/components/Table/stories/Table.stories.d.ts +167 -2
- package/dist/components/Table/stories/Table.stories.js +72 -19
- package/dist/components/Tabs/Tabs.styled.d.ts +15 -5
- package/dist/components/Tabs/stories/Tabs.stories.d.ts +168 -12
- package/dist/components/Tabs/stories/Tabs.stories.js +118 -65
- package/dist/components/Tag/Tag.styled.d.ts +13 -8
- package/dist/components/Tag/stories/Tag.stories.d.ts +63 -5
- package/dist/components/Tag/stories/Tag.stories.js +41 -28
- package/dist/components/TagInput/TagInput.styled.d.ts +22 -11
- package/dist/components/TagInput/stories/TagInput.stories.d.ts +172 -4
- package/dist/components/TagInput/stories/TagInput.stories.js +80 -26
- package/dist/components/TextLink/TextLink.styled.d.ts +12 -4
- package/dist/components/TextLink/stories/TextLink.stories.d.ts +153 -7
- package/dist/components/TextLink/stories/TextLink.stories.js +61 -25
- package/dist/components/Textarea/Textarea.styled.d.ts +6 -2
- package/dist/components/Textarea/stories/Textarea.stories.d.ts +180 -6
- package/dist/components/Textarea/stories/Textarea.stories.js +59 -40
- package/dist/components/Toast/Toast.styled.d.ts +6 -2
- package/dist/components/Toast/stories/Toast.stories.d.ts +369 -5
- package/dist/components/Toast/stories/Toast.stories.js +77 -33
- package/dist/components/Tooltip/Tooltip.styled.d.ts +21 -7
- package/dist/components/Tooltip/stories/Tooltip.stories.d.ts +249 -19
- package/dist/components/Tooltip/stories/Tooltip.stories.js +72 -25
- package/dist/components/Typography/Typography.styled.d.ts +21 -7
- package/dist/components/Uploader/Uploader.styled.d.ts +49 -37
- package/dist/components/Uploader/stories/Uploader.stories.d.ts +219 -4
- package/dist/components/Uploader/stories/Uploader.stories.js +86 -46
- package/dist/components/VideoCard/VideoCard.styled.d.ts +18 -6
- package/dist/components/VideoCard/stories/VideoCard.stories.d.ts +50 -2
- package/dist/components/VideoCard/stories/VideoCard.stories.js +40 -10
- package/dist/setupTests.d.ts +1 -0
- package/dist/setupTests.js +3 -0
- package/package.json +9 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: (props: any) => React.JSX.Element;
|
|
@@ -8,6 +8,31 @@ declare const _default: {
|
|
|
8
8
|
control: string;
|
|
9
9
|
options: string[];
|
|
10
10
|
};
|
|
11
|
+
childrenVariant: {
|
|
12
|
+
control: string;
|
|
13
|
+
options: string[];
|
|
14
|
+
};
|
|
15
|
+
show: {
|
|
16
|
+
control: string;
|
|
17
|
+
};
|
|
18
|
+
isShowTopChevron: {
|
|
19
|
+
control: string;
|
|
20
|
+
};
|
|
21
|
+
right: {
|
|
22
|
+
control: string;
|
|
23
|
+
};
|
|
24
|
+
width: {
|
|
25
|
+
control: string;
|
|
26
|
+
};
|
|
27
|
+
top: {
|
|
28
|
+
control: string;
|
|
29
|
+
};
|
|
30
|
+
list: {
|
|
31
|
+
control: string;
|
|
32
|
+
};
|
|
33
|
+
Toggle: {
|
|
34
|
+
control: boolean;
|
|
35
|
+
};
|
|
11
36
|
};
|
|
12
37
|
};
|
|
13
38
|
export default _default;
|
|
@@ -17,23 +42,388 @@ export declare const Default: {
|
|
|
17
42
|
icon: string;
|
|
18
43
|
title: string;
|
|
19
44
|
slug: string;
|
|
20
|
-
onClick
|
|
45
|
+
onClick: () => void;
|
|
46
|
+
} | {
|
|
47
|
+
title: string;
|
|
48
|
+
slug: string;
|
|
49
|
+
onClick: () => void;
|
|
50
|
+
icon?: undefined;
|
|
51
|
+
})[];
|
|
52
|
+
show: boolean;
|
|
53
|
+
size: string;
|
|
54
|
+
isShowTopChevron: boolean;
|
|
55
|
+
childrenVariant: string;
|
|
56
|
+
right: string;
|
|
57
|
+
width: any;
|
|
58
|
+
top: any;
|
|
59
|
+
Toggle: any;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export declare const Open: {
|
|
63
|
+
args: {
|
|
64
|
+
show: boolean;
|
|
65
|
+
list: ({
|
|
66
|
+
icon: string;
|
|
67
|
+
title: string;
|
|
68
|
+
slug: string;
|
|
69
|
+
onClick: () => void;
|
|
21
70
|
} | {
|
|
22
71
|
title: string;
|
|
23
72
|
slug: string;
|
|
73
|
+
onClick: () => void;
|
|
24
74
|
icon?: undefined;
|
|
25
|
-
|
|
75
|
+
})[];
|
|
76
|
+
size: string;
|
|
77
|
+
isShowTopChevron: boolean;
|
|
78
|
+
childrenVariant: string;
|
|
79
|
+
right: string;
|
|
80
|
+
width: any;
|
|
81
|
+
top: any;
|
|
82
|
+
Toggle: any;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
export declare const Closed: {
|
|
86
|
+
args: {
|
|
87
|
+
show: boolean;
|
|
88
|
+
list: ({
|
|
89
|
+
icon: string;
|
|
90
|
+
title: string;
|
|
91
|
+
slug: string;
|
|
92
|
+
onClick: () => void;
|
|
26
93
|
} | {
|
|
27
94
|
title: string;
|
|
95
|
+
slug: string;
|
|
96
|
+
onClick: () => void;
|
|
97
|
+
icon?: undefined;
|
|
98
|
+
})[];
|
|
99
|
+
size: string;
|
|
100
|
+
isShowTopChevron: boolean;
|
|
101
|
+
childrenVariant: string;
|
|
102
|
+
right: string;
|
|
103
|
+
width: any;
|
|
104
|
+
top: any;
|
|
105
|
+
Toggle: any;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
export declare const Small: {
|
|
109
|
+
args: {
|
|
110
|
+
size: string;
|
|
111
|
+
show: boolean;
|
|
112
|
+
list: ({
|
|
113
|
+
icon: string;
|
|
114
|
+
title: string;
|
|
115
|
+
slug: string;
|
|
28
116
|
onClick: () => void;
|
|
117
|
+
} | {
|
|
118
|
+
title: string;
|
|
29
119
|
slug: string;
|
|
120
|
+
onClick: () => void;
|
|
30
121
|
icon?: undefined;
|
|
31
122
|
})[];
|
|
32
123
|
isShowTopChevron: boolean;
|
|
33
124
|
childrenVariant: string;
|
|
34
|
-
right:
|
|
125
|
+
right: string;
|
|
35
126
|
width: any;
|
|
36
127
|
top: any;
|
|
37
|
-
|
|
128
|
+
Toggle: any;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
export declare const Medium: {
|
|
132
|
+
args: {
|
|
133
|
+
size: string;
|
|
134
|
+
show: boolean;
|
|
135
|
+
list: ({
|
|
136
|
+
icon: string;
|
|
137
|
+
title: string;
|
|
138
|
+
slug: string;
|
|
139
|
+
onClick: () => void;
|
|
140
|
+
} | {
|
|
141
|
+
title: string;
|
|
142
|
+
slug: string;
|
|
143
|
+
onClick: () => void;
|
|
144
|
+
icon?: undefined;
|
|
145
|
+
})[];
|
|
146
|
+
isShowTopChevron: boolean;
|
|
147
|
+
childrenVariant: string;
|
|
148
|
+
right: string;
|
|
149
|
+
width: any;
|
|
150
|
+
top: any;
|
|
151
|
+
Toggle: any;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
export declare const PrimaryVariant: {
|
|
155
|
+
args: {
|
|
156
|
+
childrenVariant: string;
|
|
157
|
+
show: boolean;
|
|
158
|
+
list: ({
|
|
159
|
+
icon: string;
|
|
160
|
+
title: string;
|
|
161
|
+
slug: string;
|
|
162
|
+
onClick: () => void;
|
|
163
|
+
} | {
|
|
164
|
+
title: string;
|
|
165
|
+
slug: string;
|
|
166
|
+
onClick: () => void;
|
|
167
|
+
icon?: undefined;
|
|
168
|
+
})[];
|
|
169
|
+
size: string;
|
|
170
|
+
isShowTopChevron: boolean;
|
|
171
|
+
right: string;
|
|
172
|
+
width: any;
|
|
173
|
+
top: any;
|
|
174
|
+
Toggle: any;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
export declare const SecondaryVariant: {
|
|
178
|
+
args: {
|
|
179
|
+
childrenVariant: string;
|
|
180
|
+
show: boolean;
|
|
181
|
+
list: ({
|
|
182
|
+
icon: string;
|
|
183
|
+
title: string;
|
|
184
|
+
slug: string;
|
|
185
|
+
onClick: () => void;
|
|
186
|
+
} | {
|
|
187
|
+
title: string;
|
|
188
|
+
slug: string;
|
|
189
|
+
onClick: () => void;
|
|
190
|
+
icon?: undefined;
|
|
191
|
+
})[];
|
|
192
|
+
size: string;
|
|
193
|
+
isShowTopChevron: boolean;
|
|
194
|
+
right: string;
|
|
195
|
+
width: any;
|
|
196
|
+
top: any;
|
|
197
|
+
Toggle: any;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
export declare const WithoutTopChevron: {
|
|
201
|
+
args: {
|
|
202
|
+
isShowTopChevron: boolean;
|
|
203
|
+
show: boolean;
|
|
204
|
+
list: ({
|
|
205
|
+
icon: string;
|
|
206
|
+
title: string;
|
|
207
|
+
slug: string;
|
|
208
|
+
onClick: () => void;
|
|
209
|
+
} | {
|
|
210
|
+
title: string;
|
|
211
|
+
slug: string;
|
|
212
|
+
onClick: () => void;
|
|
213
|
+
icon?: undefined;
|
|
214
|
+
})[];
|
|
215
|
+
size: string;
|
|
216
|
+
childrenVariant: string;
|
|
217
|
+
right: string;
|
|
218
|
+
width: any;
|
|
219
|
+
top: any;
|
|
220
|
+
Toggle: any;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
export declare const CustomPosition: {
|
|
224
|
+
args: {
|
|
225
|
+
show: boolean;
|
|
226
|
+
right: string;
|
|
227
|
+
top: string;
|
|
228
|
+
width: string;
|
|
229
|
+
list: ({
|
|
230
|
+
icon: string;
|
|
231
|
+
title: string;
|
|
232
|
+
slug: string;
|
|
233
|
+
onClick: () => void;
|
|
234
|
+
} | {
|
|
235
|
+
title: string;
|
|
236
|
+
slug: string;
|
|
237
|
+
onClick: () => void;
|
|
238
|
+
icon?: undefined;
|
|
239
|
+
})[];
|
|
240
|
+
size: string;
|
|
241
|
+
isShowTopChevron: boolean;
|
|
242
|
+
childrenVariant: string;
|
|
243
|
+
Toggle: any;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
export declare const WideMenu: {
|
|
247
|
+
args: {
|
|
248
|
+
show: boolean;
|
|
249
|
+
width: string;
|
|
250
|
+
list: ({
|
|
251
|
+
icon: string;
|
|
252
|
+
title: string;
|
|
253
|
+
slug: string;
|
|
254
|
+
onClick: () => void;
|
|
255
|
+
} | {
|
|
256
|
+
title: string;
|
|
257
|
+
slug: string;
|
|
258
|
+
onClick: () => void;
|
|
259
|
+
icon?: undefined;
|
|
260
|
+
})[];
|
|
261
|
+
size: string;
|
|
262
|
+
isShowTopChevron: boolean;
|
|
263
|
+
childrenVariant: string;
|
|
264
|
+
right: string;
|
|
265
|
+
top: any;
|
|
266
|
+
Toggle: any;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
export declare const WithIcons: {
|
|
270
|
+
args: {
|
|
271
|
+
list: {
|
|
272
|
+
icon: string;
|
|
273
|
+
title: string;
|
|
274
|
+
slug: string;
|
|
275
|
+
onClick: () => void;
|
|
276
|
+
}[];
|
|
277
|
+
show: boolean;
|
|
278
|
+
size: string;
|
|
279
|
+
isShowTopChevron: boolean;
|
|
280
|
+
childrenVariant: string;
|
|
281
|
+
right: string;
|
|
282
|
+
width: any;
|
|
283
|
+
top: any;
|
|
284
|
+
Toggle: any;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
export declare const EmptyList: {
|
|
288
|
+
args: {
|
|
289
|
+
list: any[];
|
|
290
|
+
show: boolean;
|
|
291
|
+
size: string;
|
|
292
|
+
isShowTopChevron: boolean;
|
|
293
|
+
childrenVariant: string;
|
|
294
|
+
right: string;
|
|
295
|
+
width: any;
|
|
296
|
+
top: any;
|
|
297
|
+
Toggle: any;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
export declare const SingleItem: {
|
|
301
|
+
args: {
|
|
302
|
+
list: {
|
|
303
|
+
title: string;
|
|
304
|
+
slug: string;
|
|
305
|
+
onClick: () => void;
|
|
306
|
+
}[];
|
|
307
|
+
show: boolean;
|
|
308
|
+
size: string;
|
|
309
|
+
isShowTopChevron: boolean;
|
|
310
|
+
childrenVariant: string;
|
|
311
|
+
right: string;
|
|
312
|
+
width: any;
|
|
313
|
+
top: any;
|
|
314
|
+
Toggle: any;
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
export declare const WithCustomItemComponent: {
|
|
318
|
+
args: {
|
|
319
|
+
list: ({
|
|
320
|
+
title: string;
|
|
321
|
+
onClick: () => void;
|
|
322
|
+
component: ({ children, onClick }: {
|
|
323
|
+
children: any;
|
|
324
|
+
onClick: any;
|
|
325
|
+
}) => React.JSX.Element;
|
|
326
|
+
slug?: undefined;
|
|
327
|
+
} | {
|
|
328
|
+
title: string;
|
|
329
|
+
slug: string;
|
|
330
|
+
onClick: () => void;
|
|
331
|
+
component?: undefined;
|
|
332
|
+
})[];
|
|
333
|
+
show: boolean;
|
|
334
|
+
size: string;
|
|
335
|
+
isShowTopChevron: boolean;
|
|
336
|
+
childrenVariant: string;
|
|
337
|
+
right: string;
|
|
338
|
+
width: any;
|
|
339
|
+
top: any;
|
|
340
|
+
Toggle: any;
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
export declare const CustomToggle: {
|
|
344
|
+
args: {
|
|
345
|
+
show: boolean;
|
|
346
|
+
Toggle: ({ show }: {
|
|
347
|
+
show: any;
|
|
348
|
+
}) => React.JSX.Element;
|
|
349
|
+
size: string;
|
|
350
|
+
isShowTopChevron: boolean;
|
|
351
|
+
right: string;
|
|
352
|
+
width: string;
|
|
353
|
+
top: string;
|
|
354
|
+
childrenVariant: string;
|
|
355
|
+
list: {
|
|
356
|
+
icon: string;
|
|
357
|
+
title: string;
|
|
358
|
+
slug: string;
|
|
359
|
+
onClick: () => void;
|
|
360
|
+
}[];
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
export declare const CustomToggleButton: {
|
|
364
|
+
args: {
|
|
365
|
+
show: boolean;
|
|
366
|
+
Toggle: () => React.JSX.Element;
|
|
367
|
+
list: ({
|
|
368
|
+
icon: string;
|
|
369
|
+
title: string;
|
|
370
|
+
slug: string;
|
|
371
|
+
onClick: () => void;
|
|
372
|
+
} | {
|
|
373
|
+
title: string;
|
|
374
|
+
slug: string;
|
|
375
|
+
onClick: () => void;
|
|
376
|
+
icon?: undefined;
|
|
377
|
+
})[];
|
|
378
|
+
size: string;
|
|
379
|
+
isShowTopChevron: boolean;
|
|
380
|
+
childrenVariant: string;
|
|
381
|
+
right: string;
|
|
382
|
+
width: any;
|
|
383
|
+
top: any;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
export declare const AllSizes: {
|
|
387
|
+
args: {
|
|
388
|
+
list: ({
|
|
389
|
+
icon: string;
|
|
390
|
+
title: string;
|
|
391
|
+
slug: string;
|
|
392
|
+
onClick: () => void;
|
|
393
|
+
} | {
|
|
394
|
+
title: string;
|
|
395
|
+
slug: string;
|
|
396
|
+
onClick: () => void;
|
|
397
|
+
icon?: undefined;
|
|
398
|
+
})[];
|
|
399
|
+
show: boolean;
|
|
400
|
+
size: string;
|
|
401
|
+
isShowTopChevron: boolean;
|
|
402
|
+
childrenVariant: string;
|
|
403
|
+
right: string;
|
|
404
|
+
width: any;
|
|
405
|
+
top: any;
|
|
406
|
+
Toggle: any;
|
|
407
|
+
};
|
|
408
|
+
render: (args: any) => React.JSX.Element;
|
|
409
|
+
};
|
|
410
|
+
export declare const Complete: {
|
|
411
|
+
args: {
|
|
412
|
+
show: boolean;
|
|
413
|
+
size: string;
|
|
414
|
+
childrenVariant: string;
|
|
415
|
+
isShowTopChevron: boolean;
|
|
416
|
+
width: string;
|
|
417
|
+
top: string;
|
|
418
|
+
list: {
|
|
419
|
+
icon: string;
|
|
420
|
+
title: string;
|
|
421
|
+
slug: string;
|
|
422
|
+
onClick: () => void;
|
|
423
|
+
}[];
|
|
424
|
+
Toggle: ({ show }: {
|
|
425
|
+
show: any;
|
|
426
|
+
}) => React.JSX.Element;
|
|
427
|
+
right: string;
|
|
38
428
|
};
|
|
39
429
|
};
|
|
@@ -14,47 +14,177 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.Default = void 0;
|
|
17
|
+
exports.Complete = exports.AllSizes = exports.CustomToggleButton = exports.CustomToggle = exports.WithCustomItemComponent = exports.SingleItem = exports.EmptyList = exports.WithIcons = exports.WideMenu = exports.CustomPosition = exports.WithoutTopChevron = exports.SecondaryVariant = exports.PrimaryVariant = exports.Medium = exports.Small = exports.Closed = exports.Open = exports.Default = void 0;
|
|
18
18
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
var Dropdown_1 = __importDefault(require("../Dropdown"));
|
|
20
20
|
var props_1 = require("../props");
|
|
21
|
+
var Button_1 = __importDefault(require("../../Button"));
|
|
22
|
+
var Icon_1 = __importDefault(require("../../Icon"));
|
|
23
|
+
var defaultList = [
|
|
24
|
+
{
|
|
25
|
+
icon: "ArrowDownCircle",
|
|
26
|
+
title: "Siparişlerim",
|
|
27
|
+
slug: "/hesabim/kiraladiklarim",
|
|
28
|
+
onClick: function () { return console.log("siparislerim"); },
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: "Hesabım",
|
|
32
|
+
slug: "/hesabim/adres-bilgilerim",
|
|
33
|
+
onClick: function () { return console.log("hesabim"); },
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
title: "Kampanyalarım",
|
|
37
|
+
slug: "/hesabim/kampanyalarim",
|
|
38
|
+
onClick: function () { return console.log("kampanyalarim"); },
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
title: "Çıkış Yap",
|
|
42
|
+
onClick: function () { return console.log("logout"); },
|
|
43
|
+
slug: "",
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
var iconList = [
|
|
47
|
+
{
|
|
48
|
+
icon: "Profile",
|
|
49
|
+
title: "Profil",
|
|
50
|
+
slug: "/profil",
|
|
51
|
+
onClick: function () { return console.log("profil"); },
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
icon: "Setting",
|
|
55
|
+
title: "Ayarlar",
|
|
56
|
+
slug: "/ayarlar",
|
|
57
|
+
onClick: function () { return console.log("ayarlar"); },
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
icon: "Ticket",
|
|
61
|
+
title: "Kuponlar",
|
|
62
|
+
slug: "/kuponlar",
|
|
63
|
+
onClick: function () { return console.log("kuponlar"); },
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
var withCustomComponent = [
|
|
67
|
+
{
|
|
68
|
+
title: "Özel bileşen",
|
|
69
|
+
onClick: function () { return console.log("custom"); },
|
|
70
|
+
component: function (_a) {
|
|
71
|
+
var children = _a.children, onClick = _a.onClick;
|
|
72
|
+
return ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", onClick: onClick, style: {
|
|
73
|
+
border: "none",
|
|
74
|
+
background: "transparent",
|
|
75
|
+
padding: "12px",
|
|
76
|
+
width: "100%",
|
|
77
|
+
textAlign: "left",
|
|
78
|
+
cursor: "pointer",
|
|
79
|
+
font: "inherit",
|
|
80
|
+
} }, { children: children })));
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
title: "Normal link",
|
|
85
|
+
slug: "/link",
|
|
86
|
+
onClick: function () { return console.log("link"); },
|
|
87
|
+
},
|
|
88
|
+
];
|
|
89
|
+
var IconToggle = function (_a) {
|
|
90
|
+
var show = _a.show;
|
|
91
|
+
return ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", "aria-expanded": show, style: {
|
|
92
|
+
border: "1px solid var(--dark-opacity-10)",
|
|
93
|
+
borderRadius: 8,
|
|
94
|
+
background: "white",
|
|
95
|
+
padding: 8,
|
|
96
|
+
cursor: "pointer",
|
|
97
|
+
display: "inline-flex",
|
|
98
|
+
} }, { children: (0, jsx_runtime_1.jsx)(Icon_1.default, { name: "MoreCircle" }) })));
|
|
99
|
+
};
|
|
100
|
+
var baseArgs = {
|
|
101
|
+
list: defaultList,
|
|
102
|
+
show: false,
|
|
103
|
+
size: "medium",
|
|
104
|
+
isShowTopChevron: true,
|
|
105
|
+
childrenVariant: "secondary",
|
|
106
|
+
right: "-100px",
|
|
107
|
+
width: null,
|
|
108
|
+
top: null,
|
|
109
|
+
Toggle: null,
|
|
110
|
+
};
|
|
111
|
+
var Frame = function (_a) {
|
|
112
|
+
var children = _a.children, _b = _a.tall, tall = _b === void 0 ? false : _b;
|
|
113
|
+
return ((0, jsx_runtime_1.jsx)("div", __assign({ style: {
|
|
114
|
+
display: "inline-block",
|
|
115
|
+
margin: "8px 0 0 24px",
|
|
116
|
+
minHeight: tall ? 260 : 80,
|
|
117
|
+
paddingBottom: tall ? 16 : 0,
|
|
118
|
+
} }, { children: children })));
|
|
119
|
+
};
|
|
21
120
|
exports.default = {
|
|
22
|
-
title:
|
|
23
|
-
component: function (props) { return (0, jsx_runtime_1.jsx)(
|
|
24
|
-
tags: [
|
|
121
|
+
title: "Components/Dropdown",
|
|
122
|
+
component: function (props) { return ((0, jsx_runtime_1.jsx)(Frame, __assign({ tall: props.show }, { children: (0, jsx_runtime_1.jsx)(Dropdown_1.default, __assign({}, props)) }))); },
|
|
123
|
+
tags: ["autodocs"],
|
|
25
124
|
argTypes: {
|
|
26
|
-
size: { control:
|
|
27
|
-
|
|
125
|
+
size: { control: "select", options: props_1.sizes },
|
|
126
|
+
childrenVariant: { control: "select", options: props_1.variants },
|
|
127
|
+
show: { control: "boolean" },
|
|
128
|
+
isShowTopChevron: { control: "boolean" },
|
|
129
|
+
right: { control: "text" },
|
|
130
|
+
width: { control: "text" },
|
|
131
|
+
top: { control: "text" },
|
|
132
|
+
list: { control: "object" },
|
|
133
|
+
Toggle: { control: false },
|
|
134
|
+
},
|
|
28
135
|
};
|
|
29
136
|
exports.Default = {
|
|
30
|
-
args: {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
137
|
+
args: __assign({}, baseArgs),
|
|
138
|
+
};
|
|
139
|
+
exports.Open = {
|
|
140
|
+
args: __assign(__assign({}, baseArgs), { show: true }),
|
|
141
|
+
};
|
|
142
|
+
exports.Closed = {
|
|
143
|
+
args: __assign(__assign({}, baseArgs), { show: false }),
|
|
144
|
+
};
|
|
145
|
+
exports.Small = {
|
|
146
|
+
args: __assign(__assign({}, baseArgs), { size: "small", show: true }),
|
|
147
|
+
};
|
|
148
|
+
exports.Medium = {
|
|
149
|
+
args: __assign(__assign({}, baseArgs), { size: "medium", show: true }),
|
|
150
|
+
};
|
|
151
|
+
exports.PrimaryVariant = {
|
|
152
|
+
args: __assign(__assign({}, baseArgs), { childrenVariant: "primary", show: true }),
|
|
153
|
+
};
|
|
154
|
+
exports.SecondaryVariant = {
|
|
155
|
+
args: __assign(__assign({}, baseArgs), { childrenVariant: "secondary", show: true }),
|
|
156
|
+
};
|
|
157
|
+
exports.WithoutTopChevron = {
|
|
158
|
+
args: __assign(__assign({}, baseArgs), { isShowTopChevron: false, show: true }),
|
|
159
|
+
};
|
|
160
|
+
exports.CustomPosition = {
|
|
161
|
+
args: __assign(__assign({}, baseArgs), { show: true, right: "0", top: "calc(100% + 8px)", width: "220px" }),
|
|
162
|
+
};
|
|
163
|
+
exports.WideMenu = {
|
|
164
|
+
args: __assign(__assign({}, baseArgs), { show: true, width: "280px" }),
|
|
165
|
+
};
|
|
166
|
+
exports.WithIcons = {
|
|
167
|
+
args: __assign(__assign({}, baseArgs), { list: iconList, show: true }),
|
|
168
|
+
};
|
|
169
|
+
exports.EmptyList = {
|
|
170
|
+
args: __assign(__assign({}, baseArgs), { list: [], show: true }),
|
|
171
|
+
};
|
|
172
|
+
exports.SingleItem = {
|
|
173
|
+
args: __assign(__assign({}, baseArgs), { list: [{ title: "Tek seçenek", slug: "/tek", onClick: function () { return console.log("tek"); } }], show: true }),
|
|
174
|
+
};
|
|
175
|
+
exports.WithCustomItemComponent = {
|
|
176
|
+
args: __assign(__assign({}, baseArgs), { list: withCustomComponent, show: true }),
|
|
177
|
+
};
|
|
178
|
+
exports.CustomToggle = {
|
|
179
|
+
args: __assign(__assign({}, baseArgs), { show: true, Toggle: IconToggle, size: "small", isShowTopChevron: true, right: "-12px", width: "170px", top: "calc(100% + 10px)", childrenVariant: "primary", list: iconList }),
|
|
180
|
+
};
|
|
181
|
+
exports.CustomToggleButton = {
|
|
182
|
+
args: __assign(__assign({}, baseArgs), { show: true, Toggle: function () { return (0, jsx_runtime_1.jsx)(Button_1.default, __assign({ size: "small", variant: "inverted", icon: "ArrowSmallDown" }, { children: "Men\u00FC" })); }, list: defaultList }),
|
|
183
|
+
};
|
|
184
|
+
exports.AllSizes = {
|
|
185
|
+
args: baseArgs,
|
|
186
|
+
render: function (args) { return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { display: "flex", gap: 48, minHeight: 260, paddingLeft: 24 } }, { children: props_1.sizes.map(function (size) { return ((0, jsx_runtime_1.jsx)(Dropdown_1.default, __assign({}, args, { size: size, show: true, list: defaultList }), size)); }) }))); },
|
|
187
|
+
};
|
|
188
|
+
exports.Complete = {
|
|
189
|
+
args: __assign(__assign({}, baseArgs), { show: true, size: "medium", childrenVariant: "primary", isShowTopChevron: true, width: "220px", top: "calc(100% + 12px)", list: iconList, Toggle: IconToggle }),
|
|
60
190
|
};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DropdownButtonStyledProps } from "./props";
|
|
3
|
-
export declare const DropdownButtonStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export declare const DropdownButtonStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
4
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
5
|
+
}, DropdownButtonStyledProps>> & string;
|
|
6
|
+
export declare const DropdownListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "style"> & {
|
|
7
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
8
|
+
}, DropdownButtonStyledProps>> & string;
|
|
9
|
+
export declare const DropdownListItemStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "style"> & {
|
|
10
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
11
|
+
}, DropdownButtonStyledProps>> & string;
|