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,10 +1,16 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
2
|
import type { AddressCardProps } from "../props";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: (props: any) => React.JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
argTypes: {
|
|
8
|
+
title: {
|
|
9
|
+
control: string;
|
|
10
|
+
};
|
|
11
|
+
description: {
|
|
12
|
+
control: string;
|
|
13
|
+
};
|
|
8
14
|
checked: {
|
|
9
15
|
control: string;
|
|
10
16
|
};
|
|
@@ -17,6 +23,9 @@ declare const _default: {
|
|
|
17
23
|
hasBlockDescription: {
|
|
18
24
|
control: string;
|
|
19
25
|
};
|
|
26
|
+
minHeight: {
|
|
27
|
+
control: string;
|
|
28
|
+
};
|
|
20
29
|
content: {
|
|
21
30
|
control: boolean;
|
|
22
31
|
};
|
|
@@ -36,126 +45,178 @@ export declare const Default: {
|
|
|
36
45
|
disabled: boolean;
|
|
37
46
|
isShowEditBtn: boolean;
|
|
38
47
|
minHeight: string;
|
|
48
|
+
hasBlockDescription: boolean;
|
|
49
|
+
content: any;
|
|
39
50
|
};
|
|
40
51
|
};
|
|
41
52
|
export declare const Checked: {
|
|
42
53
|
args: {
|
|
43
54
|
title: string;
|
|
55
|
+
id: string;
|
|
56
|
+
value: string;
|
|
57
|
+
checked: boolean;
|
|
44
58
|
description: string;
|
|
45
59
|
handleUpdate: () => void;
|
|
46
60
|
onChange: () => void;
|
|
47
|
-
id: string;
|
|
48
61
|
name: string;
|
|
49
|
-
value: string;
|
|
50
|
-
checked: boolean;
|
|
51
62
|
disabled: boolean;
|
|
52
63
|
isShowEditBtn: boolean;
|
|
53
64
|
minHeight: string;
|
|
65
|
+
hasBlockDescription: boolean;
|
|
66
|
+
content: any;
|
|
54
67
|
};
|
|
55
68
|
};
|
|
56
69
|
export declare const WithoutEditButton: {
|
|
57
70
|
args: {
|
|
58
71
|
title: string;
|
|
72
|
+
id: string;
|
|
73
|
+
value: string;
|
|
74
|
+
isShowEditBtn: boolean;
|
|
59
75
|
description: string;
|
|
60
76
|
handleUpdate: () => void;
|
|
61
77
|
onChange: () => void;
|
|
62
|
-
id: string;
|
|
63
78
|
name: string;
|
|
64
|
-
value: string;
|
|
65
79
|
checked: boolean;
|
|
66
80
|
disabled: boolean;
|
|
67
|
-
isShowEditBtn: boolean;
|
|
68
81
|
minHeight: string;
|
|
82
|
+
hasBlockDescription: boolean;
|
|
83
|
+
content: any;
|
|
69
84
|
};
|
|
70
85
|
};
|
|
71
86
|
export declare const WithoutEditButtonChecked: {
|
|
72
87
|
args: {
|
|
73
88
|
title: string;
|
|
89
|
+
id: string;
|
|
90
|
+
value: string;
|
|
91
|
+
checked: boolean;
|
|
92
|
+
isShowEditBtn: boolean;
|
|
74
93
|
description: string;
|
|
75
94
|
handleUpdate: () => void;
|
|
76
95
|
onChange: () => void;
|
|
77
|
-
id: string;
|
|
78
96
|
name: string;
|
|
97
|
+
disabled: boolean;
|
|
98
|
+
minHeight: string;
|
|
99
|
+
hasBlockDescription: boolean;
|
|
100
|
+
content: any;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
export declare const WithoutDescription: {
|
|
104
|
+
args: {
|
|
105
|
+
title: string;
|
|
106
|
+
description: string;
|
|
107
|
+
id: string;
|
|
79
108
|
value: string;
|
|
109
|
+
minHeight: string;
|
|
110
|
+
handleUpdate: () => void;
|
|
111
|
+
onChange: () => void;
|
|
112
|
+
name: string;
|
|
80
113
|
checked: boolean;
|
|
81
114
|
disabled: boolean;
|
|
82
115
|
isShowEditBtn: boolean;
|
|
83
|
-
|
|
116
|
+
hasBlockDescription: boolean;
|
|
117
|
+
content: any;
|
|
84
118
|
};
|
|
85
119
|
};
|
|
86
120
|
export declare const Disabled: {
|
|
87
121
|
args: {
|
|
88
122
|
title: string;
|
|
123
|
+
id: string;
|
|
124
|
+
value: string;
|
|
125
|
+
disabled: boolean;
|
|
89
126
|
description: string;
|
|
90
127
|
handleUpdate: () => void;
|
|
91
128
|
onChange: () => void;
|
|
92
|
-
id: string;
|
|
93
129
|
name: string;
|
|
94
|
-
value: string;
|
|
95
130
|
checked: boolean;
|
|
96
|
-
disabled: boolean;
|
|
97
131
|
isShowEditBtn: boolean;
|
|
98
132
|
minHeight: string;
|
|
133
|
+
hasBlockDescription: boolean;
|
|
134
|
+
content: any;
|
|
99
135
|
};
|
|
100
136
|
};
|
|
101
137
|
export declare const DisabledChecked: {
|
|
102
138
|
args: {
|
|
103
139
|
title: string;
|
|
140
|
+
id: string;
|
|
141
|
+
value: string;
|
|
142
|
+
checked: boolean;
|
|
143
|
+
disabled: boolean;
|
|
104
144
|
description: string;
|
|
105
145
|
handleUpdate: () => void;
|
|
106
146
|
onChange: () => void;
|
|
107
|
-
id: string;
|
|
108
147
|
name: string;
|
|
148
|
+
isShowEditBtn: boolean;
|
|
149
|
+
minHeight: string;
|
|
150
|
+
hasBlockDescription: boolean;
|
|
151
|
+
content: any;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
export declare const DisabledWithoutEditButton: {
|
|
155
|
+
args: {
|
|
156
|
+
title: string;
|
|
157
|
+
id: string;
|
|
109
158
|
value: string;
|
|
110
|
-
checked: boolean;
|
|
111
159
|
disabled: boolean;
|
|
112
160
|
isShowEditBtn: boolean;
|
|
161
|
+
description: string;
|
|
162
|
+
handleUpdate: () => void;
|
|
163
|
+
onChange: () => void;
|
|
164
|
+
name: string;
|
|
165
|
+
checked: boolean;
|
|
113
166
|
minHeight: string;
|
|
167
|
+
hasBlockDescription: boolean;
|
|
168
|
+
content: any;
|
|
114
169
|
};
|
|
115
170
|
};
|
|
116
171
|
export declare const ShortDescription: {
|
|
117
172
|
args: {
|
|
118
173
|
title: string;
|
|
119
174
|
description: string;
|
|
175
|
+
id: string;
|
|
176
|
+
value: string;
|
|
120
177
|
handleUpdate: () => void;
|
|
121
178
|
onChange: () => void;
|
|
122
|
-
id: string;
|
|
123
179
|
name: string;
|
|
124
|
-
value: string;
|
|
125
180
|
checked: boolean;
|
|
126
181
|
disabled: boolean;
|
|
127
182
|
isShowEditBtn: boolean;
|
|
128
183
|
minHeight: string;
|
|
184
|
+
hasBlockDescription: boolean;
|
|
185
|
+
content: any;
|
|
129
186
|
};
|
|
130
187
|
};
|
|
131
188
|
export declare const LongDescription: {
|
|
132
189
|
args: {
|
|
133
190
|
title: string;
|
|
134
191
|
description: string;
|
|
192
|
+
id: string;
|
|
193
|
+
value: string;
|
|
135
194
|
handleUpdate: () => void;
|
|
136
195
|
onChange: () => void;
|
|
137
|
-
id: string;
|
|
138
196
|
name: string;
|
|
139
|
-
value: string;
|
|
140
197
|
checked: boolean;
|
|
141
198
|
disabled: boolean;
|
|
142
199
|
isShowEditBtn: boolean;
|
|
143
200
|
minHeight: string;
|
|
201
|
+
hasBlockDescription: boolean;
|
|
202
|
+
content: any;
|
|
144
203
|
};
|
|
145
204
|
};
|
|
146
205
|
export declare const CustomMinHeight: {
|
|
147
206
|
args: {
|
|
148
207
|
title: string;
|
|
208
|
+
id: string;
|
|
209
|
+
value: string;
|
|
210
|
+
minHeight: string;
|
|
149
211
|
description: string;
|
|
150
212
|
handleUpdate: () => void;
|
|
151
213
|
onChange: () => void;
|
|
152
|
-
id: string;
|
|
153
214
|
name: string;
|
|
154
|
-
value: string;
|
|
155
215
|
checked: boolean;
|
|
156
216
|
disabled: boolean;
|
|
157
217
|
isShowEditBtn: boolean;
|
|
158
|
-
|
|
218
|
+
hasBlockDescription: boolean;
|
|
219
|
+
content: any;
|
|
159
220
|
};
|
|
160
221
|
};
|
|
161
222
|
export declare const WithContent: {
|
|
@@ -163,45 +224,106 @@ export declare const WithContent: {
|
|
|
163
224
|
args: {
|
|
164
225
|
title: string;
|
|
165
226
|
description: any;
|
|
227
|
+
id: string;
|
|
228
|
+
name: string;
|
|
229
|
+
value: string;
|
|
230
|
+
isShowEditBtn: boolean;
|
|
231
|
+
minHeight: string;
|
|
232
|
+
hasBlockDescription: boolean;
|
|
166
233
|
handleUpdate: () => void;
|
|
234
|
+
onChange: () => void;
|
|
235
|
+
checked: boolean;
|
|
236
|
+
disabled: boolean;
|
|
237
|
+
content: any;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
export declare const WithContentOpen: {
|
|
241
|
+
render: (args: AddressCardProps) => React.JSX.Element;
|
|
242
|
+
args: {
|
|
243
|
+
title: string;
|
|
244
|
+
description: any;
|
|
167
245
|
id: string;
|
|
168
246
|
name: string;
|
|
169
247
|
value: string;
|
|
170
248
|
checked: boolean;
|
|
249
|
+
isShowEditBtn: boolean;
|
|
250
|
+
minHeight: string;
|
|
251
|
+
hasBlockDescription: boolean;
|
|
252
|
+
handleUpdate: () => void;
|
|
253
|
+
onChange: () => void;
|
|
171
254
|
disabled: boolean;
|
|
255
|
+
content: any;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
export declare const WithContentAndEdit: {
|
|
259
|
+
render: (args: AddressCardProps) => React.JSX.Element;
|
|
260
|
+
args: {
|
|
261
|
+
title: string;
|
|
262
|
+
description: string;
|
|
263
|
+
id: string;
|
|
264
|
+
name: string;
|
|
265
|
+
value: string;
|
|
266
|
+
checked: boolean;
|
|
172
267
|
isShowEditBtn: boolean;
|
|
173
268
|
minHeight: string;
|
|
269
|
+
handleUpdate: () => void;
|
|
270
|
+
onChange: () => void;
|
|
271
|
+
disabled: boolean;
|
|
174
272
|
hasBlockDescription: boolean;
|
|
273
|
+
content: any;
|
|
175
274
|
};
|
|
176
275
|
};
|
|
177
276
|
export declare const BlockDescription: {
|
|
178
277
|
args: {
|
|
179
278
|
title: string;
|
|
279
|
+
id: string;
|
|
280
|
+
value: string;
|
|
281
|
+
hasBlockDescription: boolean;
|
|
180
282
|
description: string;
|
|
181
283
|
handleUpdate: () => void;
|
|
182
284
|
onChange: () => void;
|
|
183
|
-
id: string;
|
|
184
285
|
name: string;
|
|
185
|
-
value: string;
|
|
186
286
|
checked: boolean;
|
|
187
287
|
disabled: boolean;
|
|
188
288
|
isShowEditBtn: boolean;
|
|
189
289
|
minHeight: string;
|
|
190
|
-
|
|
290
|
+
content: any;
|
|
191
291
|
};
|
|
192
292
|
};
|
|
193
|
-
export declare const
|
|
293
|
+
export declare const BlockDescriptionChecked: {
|
|
194
294
|
args: {
|
|
195
295
|
title: string;
|
|
296
|
+
id: string;
|
|
297
|
+
value: string;
|
|
298
|
+
checked: boolean;
|
|
299
|
+
hasBlockDescription: boolean;
|
|
196
300
|
description: string;
|
|
197
301
|
handleUpdate: () => void;
|
|
198
302
|
onChange: () => void;
|
|
199
|
-
id: string;
|
|
200
303
|
name: string;
|
|
304
|
+
disabled: boolean;
|
|
305
|
+
isShowEditBtn: boolean;
|
|
306
|
+
minHeight: string;
|
|
307
|
+
content: any;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
export declare const AddressList: {
|
|
311
|
+
render: () => React.JSX.Element;
|
|
312
|
+
};
|
|
313
|
+
export declare const Complete: {
|
|
314
|
+
args: {
|
|
315
|
+
title: string;
|
|
316
|
+
id: string;
|
|
201
317
|
value: string;
|
|
202
318
|
checked: boolean;
|
|
319
|
+
hasBlockDescription: boolean;
|
|
320
|
+
description: string;
|
|
321
|
+
handleUpdate: () => void;
|
|
322
|
+
onChange: () => void;
|
|
323
|
+
name: string;
|
|
203
324
|
disabled: boolean;
|
|
204
325
|
isShowEditBtn: boolean;
|
|
205
326
|
minHeight: string;
|
|
327
|
+
content: any;
|
|
206
328
|
};
|
|
207
329
|
};
|
|
@@ -14,207 +14,136 @@ 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.Complete = exports.BlockDescription = exports.WithContent = exports.CustomMinHeight = exports.LongDescription = exports.ShortDescription = exports.DisabledChecked = exports.Disabled = exports.WithoutEditButtonChecked = exports.WithoutEditButton = exports.Checked = exports.Default = void 0;
|
|
17
|
+
exports.Complete = exports.AddressList = exports.BlockDescriptionChecked = exports.BlockDescription = exports.WithContentAndEdit = exports.WithContentOpen = exports.WithContent = exports.CustomMinHeight = exports.LongDescription = exports.ShortDescription = exports.DisabledWithoutEditButton = exports.DisabledChecked = exports.Disabled = exports.WithoutDescription = exports.WithoutEditButtonChecked = exports.WithoutEditButton = exports.Checked = exports.Default = void 0;
|
|
18
18
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
var react_1 = __importDefault(require("react"));
|
|
20
20
|
var AddressCard_1 = __importDefault(require("../AddressCard"));
|
|
21
21
|
var Input_1 = __importDefault(require("../../Input"));
|
|
22
|
+
var longDescription = "Manchester, Kentucky 394954517 Washington Ave. Manchester, Kentucky 394954517 Washington Ave.4517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave.";
|
|
23
|
+
var shortDescription = "4517 Washington Ave. Manchester, Kentucky 39495";
|
|
24
|
+
var contentExample = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("p", __assign({ style: {
|
|
25
|
+
margin: "0 0 0.5rem",
|
|
26
|
+
font: "var(--body-regular-14-17)",
|
|
27
|
+
color: "var(--dark)",
|
|
28
|
+
} }, { children: "Aboneli\u011Fin se\u00E7ti\u011Fin tarihte otomatik olarak yeniden ba\u015Flar." })), (0, jsx_runtime_1.jsx)(Input_1.default, { label: "Tarih", placeholder: "GG/AA/YYYY", type: "text" })] }));
|
|
29
|
+
var baseArgs = {
|
|
30
|
+
title: "Address title",
|
|
31
|
+
description: longDescription,
|
|
32
|
+
handleUpdate: function () { return console.log("handleUpdate"); },
|
|
33
|
+
onChange: function () { return console.log("onChange"); },
|
|
34
|
+
id: "addressCard_1",
|
|
35
|
+
name: "address",
|
|
36
|
+
value: "address_1",
|
|
37
|
+
checked: false,
|
|
38
|
+
disabled: false,
|
|
39
|
+
isShowEditBtn: true,
|
|
40
|
+
minHeight: "68px",
|
|
41
|
+
hasBlockDescription: false,
|
|
42
|
+
content: null,
|
|
43
|
+
};
|
|
22
44
|
var WithContentStory = function (args) {
|
|
23
45
|
var _a;
|
|
24
46
|
var _b = react_1.default.useState((_a = args.checked) !== null && _a !== void 0 ? _a : false), checked = _b[0], setChecked = _b[1];
|
|
25
|
-
return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { maxWidth:
|
|
47
|
+
return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { maxWidth: "305px" } }, { children: (0, jsx_runtime_1.jsx)(AddressCard_1.default, __assign({}, args, { checked: checked, onChange: function () { return setChecked(function (prev) { return !prev; }); }, content: contentExample })) })));
|
|
48
|
+
};
|
|
49
|
+
var AddressListStory = function () {
|
|
50
|
+
var _a = react_1.default.useState("home"), selected = _a[0], setSelected = _a[1];
|
|
51
|
+
var items = [
|
|
52
|
+
{
|
|
53
|
+
id: "address_home",
|
|
54
|
+
value: "home",
|
|
55
|
+
title: "Ev",
|
|
56
|
+
description: "Bağdat Cad. No:12, Kadıköy / İstanbul",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: "address_work",
|
|
60
|
+
value: "work",
|
|
61
|
+
title: "İş",
|
|
62
|
+
description: "Levent Mah. Büyükdere Cad. No:45, Beşiktaş / İstanbul",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: "address_other",
|
|
66
|
+
value: "other",
|
|
67
|
+
title: "Diğer",
|
|
68
|
+
description: "Atatürk Bulvarı No:8, Çankaya / Ankara",
|
|
69
|
+
},
|
|
70
|
+
];
|
|
71
|
+
return ((0, jsx_runtime_1.jsx)("div", __assign({ style: {
|
|
72
|
+
maxWidth: "305px",
|
|
73
|
+
display: "flex",
|
|
74
|
+
flexDirection: "column",
|
|
75
|
+
gap: "1rem",
|
|
76
|
+
} }, { children: items.map(function (item) { return ((0, jsx_runtime_1.jsx)(AddressCard_1.default, __assign({}, item, { name: "addressList", checked: selected === item.value, onChange: function () { return setSelected(item.value); }, handleUpdate: function () { return console.log("edit", item.value); } }), item.id)); }) })));
|
|
26
77
|
};
|
|
27
78
|
exports.default = {
|
|
28
|
-
title:
|
|
29
|
-
component: function (props) { return (0, jsx_runtime_1.jsx)("div", __assign({ style: { maxWidth:
|
|
30
|
-
tags: [
|
|
79
|
+
title: "Components/AddressCard",
|
|
80
|
+
component: function (props) { return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { maxWidth: "305px" } }, { children: (0, jsx_runtime_1.jsx)(AddressCard_1.default, __assign({}, props)) }))); },
|
|
81
|
+
tags: ["autodocs"],
|
|
31
82
|
argTypes: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
83
|
+
title: { control: "text" },
|
|
84
|
+
description: { control: "text" },
|
|
85
|
+
checked: { control: "boolean" },
|
|
86
|
+
disabled: { control: "boolean" },
|
|
87
|
+
isShowEditBtn: { control: "boolean" },
|
|
88
|
+
hasBlockDescription: { control: "boolean" },
|
|
89
|
+
minHeight: { control: "text" },
|
|
36
90
|
content: { control: false },
|
|
37
|
-
}
|
|
91
|
+
},
|
|
38
92
|
};
|
|
39
93
|
exports.Default = {
|
|
40
|
-
args: {
|
|
41
|
-
title: "Address title",
|
|
42
|
-
description: "Manchester, Kentucky 394954517 Washington Ave. Manchester, Kentucky 394954517 Washington Ave.4517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave.",
|
|
43
|
-
handleUpdate: function () { return console.log('handleUpdate'); },
|
|
44
|
-
onChange: function () { return console.log('onChange'); },
|
|
45
|
-
id: "addressCard_1",
|
|
46
|
-
name: "address",
|
|
47
|
-
value: "address_1",
|
|
48
|
-
checked: false,
|
|
49
|
-
disabled: false,
|
|
50
|
-
isShowEditBtn: true,
|
|
51
|
-
minHeight: "68px",
|
|
52
|
-
},
|
|
94
|
+
args: __assign({}, baseArgs),
|
|
53
95
|
};
|
|
54
96
|
exports.Checked = {
|
|
55
|
-
args: {
|
|
56
|
-
title: "Selected Address",
|
|
57
|
-
description: "Manchester, Kentucky 394954517 Washington Ave. Manchester, Kentucky 394954517 Washington Ave.4517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave.",
|
|
58
|
-
handleUpdate: function () { return console.log('handleUpdate'); },
|
|
59
|
-
onChange: function () { return console.log('onChange'); },
|
|
60
|
-
id: "addressCard_2",
|
|
61
|
-
name: "address",
|
|
62
|
-
value: "address_2",
|
|
63
|
-
checked: true,
|
|
64
|
-
disabled: false,
|
|
65
|
-
isShowEditBtn: true,
|
|
66
|
-
minHeight: "68px",
|
|
67
|
-
},
|
|
97
|
+
args: __assign(__assign({}, baseArgs), { title: "Selected Address", id: "addressCard_2", value: "address_2", checked: true }),
|
|
68
98
|
};
|
|
69
99
|
exports.WithoutEditButton = {
|
|
70
|
-
args: {
|
|
71
|
-
title: "Address Without Edit",
|
|
72
|
-
description: "Manchester, Kentucky 394954517 Washington Ave. Manchester, Kentucky 394954517 Washington Ave.4517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave.",
|
|
73
|
-
handleUpdate: function () { return console.log('handleUpdate'); },
|
|
74
|
-
onChange: function () { return console.log('onChange'); },
|
|
75
|
-
id: "addressCard_3",
|
|
76
|
-
name: "address",
|
|
77
|
-
value: "address_3",
|
|
78
|
-
checked: false,
|
|
79
|
-
disabled: false,
|
|
80
|
-
isShowEditBtn: false,
|
|
81
|
-
minHeight: "68px",
|
|
82
|
-
},
|
|
100
|
+
args: __assign(__assign({}, baseArgs), { title: "Address Without Edit", id: "addressCard_3", value: "address_3", isShowEditBtn: false }),
|
|
83
101
|
};
|
|
84
102
|
exports.WithoutEditButtonChecked = {
|
|
85
|
-
args: {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
onChange: function () { return console.log('onChange'); },
|
|
90
|
-
id: "addressCard_4",
|
|
91
|
-
name: "address",
|
|
92
|
-
value: "address_4",
|
|
93
|
-
checked: true,
|
|
94
|
-
disabled: false,
|
|
95
|
-
isShowEditBtn: false,
|
|
96
|
-
minHeight: "68px",
|
|
97
|
-
},
|
|
103
|
+
args: __assign(__assign({}, baseArgs), { title: "Selected Address Without Edit", id: "addressCard_4", value: "address_4", checked: true, isShowEditBtn: false }),
|
|
104
|
+
};
|
|
105
|
+
exports.WithoutDescription = {
|
|
106
|
+
args: __assign(__assign({}, baseArgs), { title: "Sadece başlık", description: "", id: "addressCard_no_desc", value: "address_no_desc", minHeight: "auto" }),
|
|
98
107
|
};
|
|
99
108
|
exports.Disabled = {
|
|
100
|
-
args: {
|
|
101
|
-
title: "Disabled Address",
|
|
102
|
-
description: "Manchester, Kentucky 394954517 Washington Ave. Manchester, Kentucky 394954517 Washington Ave.4517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave.",
|
|
103
|
-
handleUpdate: function () { return console.log('handleUpdate'); },
|
|
104
|
-
onChange: function () { return console.log('onChange'); },
|
|
105
|
-
id: "addressCard_5",
|
|
106
|
-
name: "address",
|
|
107
|
-
value: "address_5",
|
|
108
|
-
checked: false,
|
|
109
|
-
disabled: true,
|
|
110
|
-
isShowEditBtn: true,
|
|
111
|
-
minHeight: "68px",
|
|
112
|
-
},
|
|
109
|
+
args: __assign(__assign({}, baseArgs), { title: "Disabled Address", id: "addressCard_5", value: "address_5", disabled: true }),
|
|
113
110
|
};
|
|
114
111
|
exports.DisabledChecked = {
|
|
115
|
-
args: {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
onChange: function () { return console.log('onChange'); },
|
|
120
|
-
id: "addressCard_6",
|
|
121
|
-
name: "address",
|
|
122
|
-
value: "address_6",
|
|
123
|
-
checked: true,
|
|
124
|
-
disabled: true,
|
|
125
|
-
isShowEditBtn: true,
|
|
126
|
-
minHeight: "68px",
|
|
127
|
-
},
|
|
112
|
+
args: __assign(__assign({}, baseArgs), { title: "Disabled Selected Address", id: "addressCard_6", value: "address_6", checked: true, disabled: true }),
|
|
113
|
+
};
|
|
114
|
+
exports.DisabledWithoutEditButton = {
|
|
115
|
+
args: __assign(__assign({}, baseArgs), { title: "Disabled Without Edit", id: "addressCard_disabled_no_edit", value: "address_disabled_no_edit", disabled: true, isShowEditBtn: false }),
|
|
128
116
|
};
|
|
129
117
|
exports.ShortDescription = {
|
|
130
|
-
args: {
|
|
131
|
-
title: "Short Address",
|
|
132
|
-
description: "4517 Washington Ave. Manchester, Kentucky 39495",
|
|
133
|
-
handleUpdate: function () { return console.log('handleUpdate'); },
|
|
134
|
-
onChange: function () { return console.log('onChange'); },
|
|
135
|
-
id: "addressCard_7",
|
|
136
|
-
name: "address",
|
|
137
|
-
value: "address_7",
|
|
138
|
-
checked: false,
|
|
139
|
-
disabled: false,
|
|
140
|
-
isShowEditBtn: true,
|
|
141
|
-
minHeight: "68px",
|
|
142
|
-
},
|
|
118
|
+
args: __assign(__assign({}, baseArgs), { title: "Short Address", description: shortDescription, id: "addressCard_7", value: "address_7" }),
|
|
143
119
|
};
|
|
144
120
|
exports.LongDescription = {
|
|
145
|
-
args: {
|
|
146
|
-
title: "Long Address Description",
|
|
147
|
-
description: "Manchester, Kentucky 394954517 Washington Ave. Manchester, Kentucky 394954517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave. Manchester, Kentucky 394954517 Washington Ave. Manchester, Kentucky 394954517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave.",
|
|
148
|
-
handleUpdate: function () { return console.log('handleUpdate'); },
|
|
149
|
-
onChange: function () { return console.log('onChange'); },
|
|
150
|
-
id: "addressCard_8",
|
|
151
|
-
name: "address",
|
|
152
|
-
value: "address_8",
|
|
153
|
-
checked: false,
|
|
154
|
-
disabled: false,
|
|
155
|
-
isShowEditBtn: true,
|
|
156
|
-
minHeight: "68px",
|
|
157
|
-
},
|
|
121
|
+
args: __assign(__assign({}, baseArgs), { title: "Long Address Description", description: "".concat(longDescription, " ").concat(longDescription), id: "addressCard_8", value: "address_8" }),
|
|
158
122
|
};
|
|
159
123
|
exports.CustomMinHeight = {
|
|
160
|
-
args: {
|
|
161
|
-
title: "Custom Height Address",
|
|
162
|
-
description: "Manchester, Kentucky 394954517 Washington Ave. Manchester, Kentucky 394954517 Washington Ave.4517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave.",
|
|
163
|
-
handleUpdate: function () { return console.log('handleUpdate'); },
|
|
164
|
-
onChange: function () { return console.log('onChange'); },
|
|
165
|
-
id: "addressCard_9",
|
|
166
|
-
name: "address",
|
|
167
|
-
value: "address_9",
|
|
168
|
-
checked: false,
|
|
169
|
-
disabled: false,
|
|
170
|
-
isShowEditBtn: true,
|
|
171
|
-
minHeight: "120px",
|
|
172
|
-
},
|
|
124
|
+
args: __assign(__assign({}, baseArgs), { title: "Custom Height Address", id: "addressCard_9", value: "address_9", minHeight: "120px" }),
|
|
173
125
|
};
|
|
174
126
|
exports.WithContent = {
|
|
175
127
|
render: function (args) { return (0, jsx_runtime_1.jsx)(WithContentStory, __assign({}, args)); },
|
|
176
|
-
args: {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
isShowEditBtn: false,
|
|
186
|
-
minHeight: "auto",
|
|
187
|
-
hasBlockDescription: true,
|
|
188
|
-
},
|
|
128
|
+
args: __assign(__assign({}, baseArgs), { title: "Belirli bir tarihte tekrar başlasın", description: null, id: "addressCard_content", name: "pause", value: "pause_date", isShowEditBtn: false, minHeight: "auto", hasBlockDescription: true }),
|
|
129
|
+
};
|
|
130
|
+
exports.WithContentOpen = {
|
|
131
|
+
render: function (args) { return (0, jsx_runtime_1.jsx)(WithContentStory, __assign({}, args)); },
|
|
132
|
+
args: __assign(__assign({}, baseArgs), { title: "Belirli bir tarihte tekrar başlasın", description: null, id: "addressCard_content_open", name: "pause", value: "pause_date_open", checked: true, isShowEditBtn: false, minHeight: "auto", hasBlockDescription: true }),
|
|
133
|
+
};
|
|
134
|
+
exports.WithContentAndEdit = {
|
|
135
|
+
render: function (args) { return (0, jsx_runtime_1.jsx)(WithContentStory, __assign({}, args)); },
|
|
136
|
+
args: __assign(__assign({}, baseArgs), { title: "Adres + ek içerik", description: shortDescription, id: "addressCard_content_edit", name: "pause", value: "pause_with_edit", checked: true, isShowEditBtn: true, minHeight: "auto" }),
|
|
189
137
|
};
|
|
190
138
|
exports.BlockDescription = {
|
|
191
|
-
args: {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
value: "address_block",
|
|
199
|
-
checked: false,
|
|
200
|
-
disabled: false,
|
|
201
|
-
isShowEditBtn: true,
|
|
202
|
-
minHeight: "68px",
|
|
203
|
-
hasBlockDescription: true,
|
|
204
|
-
},
|
|
139
|
+
args: __assign(__assign({}, baseArgs), { title: "Block Description Address", id: "addressCard_block", value: "address_block", hasBlockDescription: true }),
|
|
140
|
+
};
|
|
141
|
+
exports.BlockDescriptionChecked = {
|
|
142
|
+
args: __assign(__assign({}, baseArgs), { title: "Block Description Selected", id: "addressCard_block_checked", value: "address_block_checked", checked: true, hasBlockDescription: true }),
|
|
143
|
+
};
|
|
144
|
+
exports.AddressList = {
|
|
145
|
+
render: function () { return (0, jsx_runtime_1.jsx)(AddressListStory, {}); },
|
|
205
146
|
};
|
|
206
147
|
exports.Complete = {
|
|
207
|
-
args: {
|
|
208
|
-
title: "Complete Address Card",
|
|
209
|
-
description: "Manchester, Kentucky 394954517 Washington Ave. Manchester, Kentucky 394954517 Washington Ave.4517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave.",
|
|
210
|
-
handleUpdate: function () { return console.log('handleUpdate'); },
|
|
211
|
-
onChange: function () { return console.log('onChange'); },
|
|
212
|
-
id: "addressCard_10",
|
|
213
|
-
name: "address",
|
|
214
|
-
value: "address_10",
|
|
215
|
-
checked: true,
|
|
216
|
-
disabled: false,
|
|
217
|
-
isShowEditBtn: true,
|
|
218
|
-
minHeight: "68px",
|
|
219
|
-
},
|
|
148
|
+
args: __assign(__assign({}, baseArgs), { title: "Complete Address Card", id: "addressCard_10", value: "address_10", checked: true, hasBlockDescription: true }),
|
|
220
149
|
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AgreementStyledProps } from "./props";
|
|
3
|
-
export declare const AgreementStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
3
|
+
export declare const AgreementStyled: 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
|
+
}, AgreementStyledProps>> & string;
|