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,21 +1,49 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: (
|
|
4
|
+
component: (props: any) => React.JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
argTypes: {
|
|
7
7
|
onClick: {
|
|
8
8
|
action: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
width: {
|
|
11
|
+
control: string;
|
|
12
|
+
};
|
|
13
|
+
title: {
|
|
14
|
+
control: string;
|
|
15
|
+
};
|
|
16
|
+
description: {
|
|
17
|
+
control: string;
|
|
18
|
+
};
|
|
19
|
+
hasTimer: {
|
|
20
|
+
control: string;
|
|
21
|
+
};
|
|
22
|
+
hasInfo: {
|
|
23
|
+
control: string;
|
|
24
|
+
};
|
|
25
|
+
infoText: {
|
|
26
|
+
control: string;
|
|
27
|
+
};
|
|
28
|
+
isMonthVisible: {
|
|
29
|
+
control: string;
|
|
30
|
+
};
|
|
31
|
+
isLoading: {
|
|
32
|
+
control: string;
|
|
33
|
+
};
|
|
34
|
+
alignButtonWithTitle: {
|
|
35
|
+
control: string;
|
|
36
|
+
};
|
|
37
|
+
date: {
|
|
11
38
|
control: string;
|
|
12
|
-
options: string[];
|
|
13
39
|
};
|
|
14
40
|
};
|
|
15
41
|
};
|
|
16
42
|
export default _default;
|
|
17
43
|
export declare const Default: {
|
|
18
44
|
args: {
|
|
45
|
+
hasInfo: boolean;
|
|
46
|
+
infoText: string;
|
|
19
47
|
width: string;
|
|
20
48
|
title: string;
|
|
21
49
|
date: string;
|
|
@@ -24,14 +52,14 @@ export declare const Default: {
|
|
|
24
52
|
onClick: (e: any) => void;
|
|
25
53
|
isMonthVisible: boolean;
|
|
26
54
|
isLoading: boolean;
|
|
27
|
-
|
|
28
|
-
|
|
55
|
+
description: any;
|
|
56
|
+
alignButtonWithTitle: boolean;
|
|
29
57
|
};
|
|
30
58
|
};
|
|
31
59
|
export declare const WithTimerNoInfo: {
|
|
32
60
|
args: {
|
|
33
|
-
width: string;
|
|
34
61
|
title: string;
|
|
62
|
+
width: string;
|
|
35
63
|
date: string;
|
|
36
64
|
hasTimer: boolean;
|
|
37
65
|
img: React.JSX.Element;
|
|
@@ -40,84 +68,210 @@ export declare const WithTimerNoInfo: {
|
|
|
40
68
|
isLoading: boolean;
|
|
41
69
|
hasInfo: boolean;
|
|
42
70
|
infoText: string;
|
|
71
|
+
description: any;
|
|
72
|
+
alignButtonWithTitle: boolean;
|
|
43
73
|
};
|
|
44
74
|
};
|
|
45
75
|
export declare const WithTimerWithInfo: {
|
|
46
76
|
args: {
|
|
47
|
-
width: string;
|
|
48
77
|
title: string;
|
|
78
|
+
hasInfo: boolean;
|
|
79
|
+
infoText: string;
|
|
80
|
+
width: string;
|
|
49
81
|
date: string;
|
|
50
82
|
hasTimer: boolean;
|
|
51
83
|
img: React.JSX.Element;
|
|
52
84
|
onClick: (e: any) => void;
|
|
53
85
|
isMonthVisible: boolean;
|
|
54
86
|
isLoading: boolean;
|
|
55
|
-
|
|
56
|
-
|
|
87
|
+
description: any;
|
|
88
|
+
alignButtonWithTitle: boolean;
|
|
57
89
|
};
|
|
58
90
|
};
|
|
59
91
|
export declare const WithTimerWithMonth: {
|
|
60
92
|
args: {
|
|
61
|
-
width: string;
|
|
62
93
|
title: string;
|
|
94
|
+
isMonthVisible: boolean;
|
|
95
|
+
width: string;
|
|
63
96
|
date: string;
|
|
64
97
|
hasTimer: boolean;
|
|
65
98
|
img: React.JSX.Element;
|
|
66
99
|
onClick: (e: any) => void;
|
|
67
|
-
isMonthVisible: boolean;
|
|
68
100
|
isLoading: boolean;
|
|
69
101
|
hasInfo: boolean;
|
|
70
102
|
infoText: string;
|
|
103
|
+
description: any;
|
|
104
|
+
alignButtonWithTitle: boolean;
|
|
71
105
|
};
|
|
72
106
|
};
|
|
73
107
|
export declare const WithTimerWithMonthAndInfo: {
|
|
74
108
|
args: {
|
|
109
|
+
title: string;
|
|
110
|
+
isMonthVisible: boolean;
|
|
111
|
+
hasInfo: boolean;
|
|
112
|
+
infoText: string;
|
|
75
113
|
width: string;
|
|
114
|
+
date: string;
|
|
115
|
+
hasTimer: boolean;
|
|
116
|
+
img: React.JSX.Element;
|
|
117
|
+
onClick: (e: any) => void;
|
|
118
|
+
isLoading: boolean;
|
|
119
|
+
description: any;
|
|
120
|
+
alignButtonWithTitle: boolean;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
export declare const WithTimerLoading: {
|
|
124
|
+
args: {
|
|
76
125
|
title: string;
|
|
126
|
+
isLoading: boolean;
|
|
127
|
+
width: string;
|
|
77
128
|
date: string;
|
|
78
129
|
hasTimer: boolean;
|
|
79
130
|
img: React.JSX.Element;
|
|
80
131
|
onClick: (e: any) => void;
|
|
81
132
|
isMonthVisible: boolean;
|
|
82
|
-
isLoading: boolean;
|
|
83
133
|
hasInfo: boolean;
|
|
84
134
|
infoText: string;
|
|
135
|
+
description: any;
|
|
136
|
+
alignButtonWithTitle: boolean;
|
|
85
137
|
};
|
|
86
138
|
};
|
|
87
|
-
export declare const
|
|
139
|
+
export declare const WithTimerLoadingWithInfo: {
|
|
88
140
|
args: {
|
|
141
|
+
title: string;
|
|
142
|
+
isLoading: boolean;
|
|
143
|
+
hasInfo: boolean;
|
|
144
|
+
infoText: string;
|
|
89
145
|
width: string;
|
|
146
|
+
date: string;
|
|
147
|
+
hasTimer: boolean;
|
|
148
|
+
img: React.JSX.Element;
|
|
149
|
+
onClick: (e: any) => void;
|
|
150
|
+
isMonthVisible: boolean;
|
|
151
|
+
description: any;
|
|
152
|
+
alignButtonWithTitle: boolean;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
export declare const LoadingWithoutTimer: {
|
|
156
|
+
args: {
|
|
90
157
|
title: string;
|
|
158
|
+
hasTimer: boolean;
|
|
159
|
+
isLoading: boolean;
|
|
160
|
+
width: string;
|
|
91
161
|
date: string;
|
|
162
|
+
img: React.JSX.Element;
|
|
163
|
+
onClick: (e: any) => void;
|
|
164
|
+
isMonthVisible: boolean;
|
|
165
|
+
hasInfo: boolean;
|
|
166
|
+
infoText: string;
|
|
167
|
+
description: any;
|
|
168
|
+
alignButtonWithTitle: boolean;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
export declare const WithoutTimer: {
|
|
172
|
+
args: {
|
|
173
|
+
title: string;
|
|
92
174
|
hasTimer: boolean;
|
|
175
|
+
width: string;
|
|
176
|
+
date: string;
|
|
93
177
|
img: React.JSX.Element;
|
|
94
178
|
onClick: (e: any) => void;
|
|
95
179
|
isMonthVisible: boolean;
|
|
96
180
|
isLoading: boolean;
|
|
97
181
|
hasInfo: boolean;
|
|
98
182
|
infoText: string;
|
|
183
|
+
description: any;
|
|
184
|
+
alignButtonWithTitle: boolean;
|
|
99
185
|
};
|
|
100
186
|
};
|
|
101
|
-
export declare const
|
|
187
|
+
export declare const WithoutTimerWithInfo: {
|
|
188
|
+
args: {
|
|
189
|
+
title: string;
|
|
190
|
+
hasTimer: boolean;
|
|
191
|
+
hasInfo: boolean;
|
|
192
|
+
infoText: string;
|
|
193
|
+
width: string;
|
|
194
|
+
date: string;
|
|
195
|
+
img: React.JSX.Element;
|
|
196
|
+
onClick: (e: any) => void;
|
|
197
|
+
isMonthVisible: boolean;
|
|
198
|
+
isLoading: boolean;
|
|
199
|
+
description: any;
|
|
200
|
+
alignButtonWithTitle: boolean;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
export declare const WithoutImage: {
|
|
102
204
|
args: {
|
|
205
|
+
title: string;
|
|
206
|
+
img: any;
|
|
207
|
+
hasTimer: boolean;
|
|
103
208
|
width: string;
|
|
209
|
+
date: string;
|
|
210
|
+
onClick: (e: any) => void;
|
|
211
|
+
isMonthVisible: boolean;
|
|
212
|
+
isLoading: boolean;
|
|
213
|
+
hasInfo: boolean;
|
|
214
|
+
infoText: string;
|
|
215
|
+
description: any;
|
|
216
|
+
alignButtonWithTitle: boolean;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
export declare const WithHtmlTitle: {
|
|
220
|
+
args: {
|
|
104
221
|
title: string;
|
|
222
|
+
hasInfo: boolean;
|
|
223
|
+
infoText: string;
|
|
224
|
+
width: string;
|
|
105
225
|
date: string;
|
|
106
226
|
hasTimer: boolean;
|
|
107
227
|
img: React.JSX.Element;
|
|
108
228
|
onClick: (e: any) => void;
|
|
109
229
|
isMonthVisible: boolean;
|
|
110
230
|
isLoading: boolean;
|
|
231
|
+
description: any;
|
|
232
|
+
alignButtonWithTitle: boolean;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
export declare const ExpiredTimer: {
|
|
236
|
+
args: {
|
|
237
|
+
title: string;
|
|
238
|
+
date: string;
|
|
111
239
|
hasInfo: boolean;
|
|
112
240
|
infoText: string;
|
|
241
|
+
width: string;
|
|
242
|
+
hasTimer: boolean;
|
|
243
|
+
img: React.JSX.Element;
|
|
244
|
+
onClick: (e: any) => void;
|
|
245
|
+
isMonthVisible: boolean;
|
|
246
|
+
isLoading: boolean;
|
|
247
|
+
description: any;
|
|
248
|
+
alignButtonWithTitle: boolean;
|
|
113
249
|
};
|
|
114
250
|
};
|
|
115
|
-
export declare const
|
|
251
|
+
export declare const WithDescription: {
|
|
116
252
|
args: {
|
|
117
253
|
width: string;
|
|
118
254
|
title: string;
|
|
255
|
+
description: string;
|
|
256
|
+
alignButtonWithTitle: boolean;
|
|
257
|
+
hasTimer: boolean;
|
|
119
258
|
date: string;
|
|
259
|
+
img: React.JSX.Element;
|
|
260
|
+
onClick: (e: any) => void;
|
|
261
|
+
isMonthVisible: boolean;
|
|
262
|
+
isLoading: boolean;
|
|
263
|
+
hasInfo: boolean;
|
|
264
|
+
infoText: string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
export declare const DescriptionWithoutAlign: {
|
|
268
|
+
args: {
|
|
269
|
+
width: string;
|
|
270
|
+
title: string;
|
|
271
|
+
description: string;
|
|
272
|
+
alignButtonWithTitle: boolean;
|
|
120
273
|
hasTimer: boolean;
|
|
274
|
+
date: string;
|
|
121
275
|
img: React.JSX.Element;
|
|
122
276
|
onClick: (e: any) => void;
|
|
123
277
|
isMonthVisible: boolean;
|
|
@@ -126,12 +280,30 @@ export declare const WithoutTimer: {
|
|
|
126
280
|
infoText: string;
|
|
127
281
|
};
|
|
128
282
|
};
|
|
129
|
-
export declare const
|
|
283
|
+
export declare const WithDescriptionAndTimer: {
|
|
130
284
|
args: {
|
|
131
285
|
width: string;
|
|
132
286
|
title: string;
|
|
287
|
+
description: string;
|
|
288
|
+
hasTimer: boolean;
|
|
289
|
+
hasInfo: boolean;
|
|
290
|
+
infoText: string;
|
|
133
291
|
date: string;
|
|
292
|
+
img: React.JSX.Element;
|
|
293
|
+
onClick: (e: any) => void;
|
|
294
|
+
isMonthVisible: boolean;
|
|
295
|
+
isLoading: boolean;
|
|
296
|
+
alignButtonWithTitle: boolean;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
export declare const AlignButtonWithTitleAndTimer: {
|
|
300
|
+
args: {
|
|
301
|
+
width: string;
|
|
302
|
+
title: string;
|
|
303
|
+
description: string;
|
|
304
|
+
alignButtonWithTitle: boolean;
|
|
134
305
|
hasTimer: boolean;
|
|
306
|
+
date: string;
|
|
135
307
|
img: React.JSX.Element;
|
|
136
308
|
onClick: (e: any) => void;
|
|
137
309
|
isMonthVisible: boolean;
|
|
@@ -140,16 +312,36 @@ export declare const WithoutTimerWithInfo: {
|
|
|
140
312
|
infoText: string;
|
|
141
313
|
};
|
|
142
314
|
};
|
|
143
|
-
export declare const
|
|
315
|
+
export declare const FullWidth: {
|
|
316
|
+
args: {
|
|
317
|
+
width: string;
|
|
318
|
+
title: string;
|
|
319
|
+
hasInfo: boolean;
|
|
320
|
+
infoText: string;
|
|
321
|
+
date: string;
|
|
322
|
+
hasTimer: boolean;
|
|
323
|
+
img: React.JSX.Element;
|
|
324
|
+
onClick: (e: any) => void;
|
|
325
|
+
isMonthVisible: boolean;
|
|
326
|
+
isLoading: boolean;
|
|
327
|
+
description: any;
|
|
328
|
+
alignButtonWithTitle: boolean;
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
export declare const Complete: {
|
|
144
332
|
args: {
|
|
145
333
|
width: string;
|
|
146
334
|
title: string;
|
|
147
335
|
description: string;
|
|
148
336
|
alignButtonWithTitle: boolean;
|
|
337
|
+
isMonthVisible: boolean;
|
|
338
|
+
isLoading: boolean;
|
|
339
|
+
hasInfo: boolean;
|
|
340
|
+
infoText: string;
|
|
341
|
+
date: string;
|
|
149
342
|
hasTimer: boolean;
|
|
150
343
|
img: React.JSX.Element;
|
|
151
344
|
onClick: (e: any) => void;
|
|
152
|
-
hasInfo: boolean;
|
|
153
345
|
};
|
|
154
346
|
};
|
|
155
347
|
export declare const StoreSettings: {
|
|
@@ -14,171 +14,118 @@ 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.StoreSettings = exports.WithDescription = exports.WithoutTimerWithInfo = exports.WithoutTimer = exports.WithTimerLoadingWithInfo = exports.WithTimerLoading = exports.WithTimerWithMonthAndInfo = exports.WithTimerWithMonth = exports.WithTimerWithInfo = exports.WithTimerNoInfo = exports.Default = void 0;
|
|
17
|
+
exports.StoreSettings = exports.Complete = exports.FullWidth = exports.AlignButtonWithTitleAndTimer = exports.WithDescriptionAndTimer = exports.DescriptionWithoutAlign = exports.WithDescription = exports.ExpiredTimer = exports.WithHtmlTitle = exports.WithoutImage = exports.WithoutTimerWithInfo = exports.WithoutTimer = exports.LoadingWithoutTimer = exports.WithTimerLoadingWithInfo = exports.WithTimerLoading = exports.WithTimerWithMonthAndInfo = exports.WithTimerWithMonth = exports.WithTimerWithInfo = exports.WithTimerNoInfo = exports.Default = void 0;
|
|
18
18
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
var ActionButton_1 = __importDefault(require("../ActionButton"));
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
var futureDate = new Date();
|
|
21
|
+
futureDate.setFullYear(new Date().getFullYear() + 1);
|
|
22
|
+
var expiredDate = new Date();
|
|
23
|
+
expiredDate.setDate(expiredDate.getDate() - 1);
|
|
24
|
+
var defaultImg = ((0, jsx_runtime_1.jsx)("img", { src: "https://www.kiralarsin.com/actionTimeCircle.svg", alt: "test" }));
|
|
25
|
+
var baseArgs = {
|
|
26
|
+
width: "311px",
|
|
27
|
+
title: "Title",
|
|
28
|
+
date: futureDate.toISOString(),
|
|
29
|
+
hasTimer: true,
|
|
30
|
+
img: defaultImg,
|
|
31
|
+
onClick: function (e) { return console.log(e); },
|
|
32
|
+
isMonthVisible: false,
|
|
33
|
+
isLoading: false,
|
|
34
|
+
hasInfo: false,
|
|
35
|
+
infoText: "",
|
|
36
|
+
description: null,
|
|
37
|
+
alignButtonWithTitle: false,
|
|
38
|
+
};
|
|
24
39
|
exports.default = {
|
|
25
|
-
title:
|
|
26
|
-
component: ActionButton_1.default,
|
|
27
|
-
tags: [
|
|
40
|
+
title: "Components/Action Button",
|
|
41
|
+
component: function (props) { return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { maxWidth: 480 } }, { children: (0, jsx_runtime_1.jsx)(ActionButton_1.default, __assign({}, props)) }))); },
|
|
42
|
+
tags: ["autodocs"],
|
|
28
43
|
argTypes: {
|
|
29
|
-
onClick: { action:
|
|
30
|
-
|
|
31
|
-
|
|
44
|
+
onClick: { action: "clicked" },
|
|
45
|
+
width: { control: "text" },
|
|
46
|
+
title: { control: "text" },
|
|
47
|
+
description: { control: "text" },
|
|
48
|
+
hasTimer: { control: "boolean" },
|
|
49
|
+
hasInfo: { control: "boolean" },
|
|
50
|
+
infoText: { control: "text" },
|
|
51
|
+
isMonthVisible: { control: "boolean" },
|
|
52
|
+
isLoading: { control: "boolean" },
|
|
53
|
+
alignButtonWithTitle: { control: "boolean" },
|
|
54
|
+
date: { control: "date" },
|
|
55
|
+
},
|
|
32
56
|
};
|
|
33
57
|
exports.Default = {
|
|
34
|
-
args: {
|
|
35
|
-
width: '311px',
|
|
36
|
-
title: 'Title',
|
|
37
|
-
date: date.toISOString(),
|
|
38
|
-
hasTimer: true,
|
|
39
|
-
img: defaultImg,
|
|
40
|
-
onClick: function (e) { return console.log(e); },
|
|
41
|
-
isMonthVisible: false,
|
|
42
|
-
isLoading: false,
|
|
43
|
-
hasInfo: true,
|
|
44
|
-
infoText: "UZAT10 koduyla %10 indirim ",
|
|
45
|
-
},
|
|
58
|
+
args: __assign(__assign({}, baseArgs), { hasInfo: true, infoText: "UZAT10 koduyla %10 indirim " }),
|
|
46
59
|
};
|
|
47
60
|
exports.WithTimerNoInfo = {
|
|
48
|
-
args: {
|
|
49
|
-
width: '311px',
|
|
50
|
-
title: 'Action Button Title',
|
|
51
|
-
date: date.toISOString(),
|
|
52
|
-
hasTimer: true,
|
|
53
|
-
img: defaultImg,
|
|
54
|
-
onClick: function (e) { return console.log(e); },
|
|
55
|
-
isMonthVisible: false,
|
|
56
|
-
isLoading: false,
|
|
57
|
-
hasInfo: false,
|
|
58
|
-
infoText: "",
|
|
59
|
-
},
|
|
61
|
+
args: __assign(__assign({}, baseArgs), { title: "Action Button Title" }),
|
|
60
62
|
};
|
|
61
63
|
exports.WithTimerWithInfo = {
|
|
62
|
-
args: {
|
|
63
|
-
width: '311px',
|
|
64
|
-
title: 'Special Offer',
|
|
65
|
-
date: date.toISOString(),
|
|
66
|
-
hasTimer: true,
|
|
67
|
-
img: defaultImg,
|
|
68
|
-
onClick: function (e) { return console.log(e); },
|
|
69
|
-
isMonthVisible: false,
|
|
70
|
-
isLoading: false,
|
|
71
|
-
hasInfo: true,
|
|
72
|
-
infoText: "UZAT10 koduyla %10 indirim",
|
|
73
|
-
},
|
|
64
|
+
args: __assign(__assign({}, baseArgs), { title: "Special Offer", hasInfo: true, infoText: "UZAT10 koduyla %10 indirim" }),
|
|
74
65
|
};
|
|
75
66
|
exports.WithTimerWithMonth = {
|
|
76
|
-
args: {
|
|
77
|
-
width: '311px',
|
|
78
|
-
title: 'Long Term Campaign',
|
|
79
|
-
date: date.toISOString(),
|
|
80
|
-
hasTimer: true,
|
|
81
|
-
img: defaultImg,
|
|
82
|
-
onClick: function (e) { return console.log(e); },
|
|
83
|
-
isMonthVisible: true,
|
|
84
|
-
isLoading: false,
|
|
85
|
-
hasInfo: false,
|
|
86
|
-
infoText: "",
|
|
87
|
-
},
|
|
67
|
+
args: __assign(__assign({}, baseArgs), { title: "Long Term Campaign", isMonthVisible: true }),
|
|
88
68
|
};
|
|
89
69
|
exports.WithTimerWithMonthAndInfo = {
|
|
90
|
-
args: {
|
|
91
|
-
width: '311px',
|
|
92
|
-
title: 'Extended Campaign',
|
|
93
|
-
date: date.toISOString(),
|
|
94
|
-
hasTimer: true,
|
|
95
|
-
img: defaultImg,
|
|
96
|
-
onClick: function (e) { return console.log(e); },
|
|
97
|
-
isMonthVisible: true,
|
|
98
|
-
isLoading: false,
|
|
99
|
-
hasInfo: true,
|
|
100
|
-
infoText: "Özel kampanya fırsatı",
|
|
101
|
-
},
|
|
70
|
+
args: __assign(__assign({}, baseArgs), { title: "Extended Campaign", isMonthVisible: true, hasInfo: true, infoText: "Özel kampanya fırsatı" }),
|
|
102
71
|
};
|
|
103
72
|
exports.WithTimerLoading = {
|
|
104
|
-
args: {
|
|
105
|
-
width: '311px',
|
|
106
|
-
title: 'Processing...',
|
|
107
|
-
date: date.toISOString(),
|
|
108
|
-
hasTimer: true,
|
|
109
|
-
img: defaultImg,
|
|
110
|
-
onClick: function (e) { return console.log(e); },
|
|
111
|
-
isMonthVisible: false,
|
|
112
|
-
isLoading: true,
|
|
113
|
-
hasInfo: false,
|
|
114
|
-
infoText: "",
|
|
115
|
-
},
|
|
73
|
+
args: __assign(__assign({}, baseArgs), { title: "Processing...", isLoading: true }),
|
|
116
74
|
};
|
|
117
75
|
exports.WithTimerLoadingWithInfo = {
|
|
118
|
-
args: {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
hasTimer: true,
|
|
123
|
-
img: defaultImg,
|
|
124
|
-
onClick: function (e) { return console.log(e); },
|
|
125
|
-
isMonthVisible: false,
|
|
126
|
-
isLoading: true,
|
|
127
|
-
hasInfo: true,
|
|
128
|
-
infoText: "İşlem devam ediyor...",
|
|
129
|
-
},
|
|
76
|
+
args: __assign(__assign({}, baseArgs), { title: "Loading Action", isLoading: true, hasInfo: true, infoText: "İşlem devam ediyor..." }),
|
|
77
|
+
};
|
|
78
|
+
exports.LoadingWithoutTimer = {
|
|
79
|
+
args: __assign(__assign({}, baseArgs), { title: "Yönlendiriliyor...", hasTimer: false, isLoading: true }),
|
|
130
80
|
};
|
|
131
81
|
exports.WithoutTimer = {
|
|
132
|
-
args: {
|
|
133
|
-
width: '311px',
|
|
134
|
-
title: 'Simple Action Button',
|
|
135
|
-
date: date.toISOString(),
|
|
136
|
-
hasTimer: false,
|
|
137
|
-
img: defaultImg,
|
|
138
|
-
onClick: function (e) { return console.log(e); },
|
|
139
|
-
isMonthVisible: false,
|
|
140
|
-
isLoading: false,
|
|
141
|
-
hasInfo: false,
|
|
142
|
-
infoText: "",
|
|
143
|
-
},
|
|
82
|
+
args: __assign(__assign({}, baseArgs), { title: "Simple Action Button", hasTimer: false }),
|
|
144
83
|
};
|
|
145
84
|
exports.WithoutTimerWithInfo = {
|
|
146
|
-
args: {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
infoText: "Bilgilendirme metni buraya gelir",
|
|
157
|
-
},
|
|
85
|
+
args: __assign(__assign({}, baseArgs), { title: "Action with Info", hasTimer: false, hasInfo: true, infoText: "Bilgilendirme metni buraya gelir" }),
|
|
86
|
+
};
|
|
87
|
+
exports.WithoutImage = {
|
|
88
|
+
args: __assign(__assign({}, baseArgs), { title: "Görselsiz aksiyon", img: null, hasTimer: false }),
|
|
89
|
+
};
|
|
90
|
+
exports.WithHtmlTitle = {
|
|
91
|
+
args: __assign(__assign({}, baseArgs), { title: "Kira süreni <b>uzat</b>, <span style='color:var(--primary)'>%10</span> kazan", hasInfo: true, infoText: "Kampanya kodu: UZAT10" }),
|
|
92
|
+
};
|
|
93
|
+
exports.ExpiredTimer = {
|
|
94
|
+
args: __assign(__assign({}, baseArgs), { title: "Süresi dolmuş kampanya", date: expiredDate.toISOString(), hasInfo: true, infoText: "Bu teklifin süresi doldu" }),
|
|
158
95
|
};
|
|
159
96
|
exports.WithDescription = {
|
|
160
|
-
args: {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
},
|
|
97
|
+
args: __assign(__assign({}, baseArgs), { width: "100%", title: "Kargo ayarları", description: "Tüm ürünlerinde mi kargo var, yoksa ürün bazlı mı? Kargo ücreti ve teslimat sürelerini buradan yönet.", alignButtonWithTitle: true, hasTimer: false }),
|
|
98
|
+
};
|
|
99
|
+
exports.DescriptionWithoutAlign = {
|
|
100
|
+
args: __assign(__assign({}, baseArgs), { width: "100%", title: "Ödeme ayarları", description: "Ödeme yöntemlerini, taksit seçeneklerini ve fatura bilgilerini bu alandan düzenleyebilirsin.", alignButtonWithTitle: false, hasTimer: false }),
|
|
101
|
+
};
|
|
102
|
+
exports.WithDescriptionAndTimer = {
|
|
103
|
+
args: __assign(__assign({}, baseArgs), { width: "100%", title: "Kampanyayı kaçırma", description: "Süre dolmadan teklifi değerlendir, indirimden yararlan.", hasTimer: true, hasInfo: true, infoText: "Son günler" }),
|
|
104
|
+
};
|
|
105
|
+
exports.AlignButtonWithTitleAndTimer = {
|
|
106
|
+
args: __assign(__assign({}, baseArgs), { width: "100%", title: "Buton başlıkla hizalı", description: "Timer açıkken buton title satırında kalır.", alignButtonWithTitle: true, hasTimer: true }),
|
|
107
|
+
};
|
|
108
|
+
exports.FullWidth = {
|
|
109
|
+
args: __assign(__assign({}, baseArgs), { width: "100%", title: "Tam genişlik aksiyon", hasInfo: true, infoText: "Geniş layout örneği" }),
|
|
110
|
+
};
|
|
111
|
+
exports.Complete = {
|
|
112
|
+
args: __assign(__assign({}, baseArgs), { width: "100%", title: "Tüm özellikler <b>aktif</b>", description: "Info, timer, ay görünümü ve loading birlikte.", alignButtonWithTitle: true, isMonthVisible: true, isLoading: true, hasInfo: true, infoText: "Komple örnek" }),
|
|
170
113
|
};
|
|
171
114
|
exports.StoreSettings = {
|
|
172
115
|
render: function () { return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: {
|
|
173
|
-
width:
|
|
174
|
-
maxWidth:
|
|
175
|
-
padding:
|
|
176
|
-
border:
|
|
177
|
-
borderRadius:
|
|
178
|
-
background:
|
|
179
|
-
} }, { children: [(0, jsx_runtime_1.jsx)("strong", __assign({ style: {
|
|
180
|
-
display:
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
} }, { children:
|
|
116
|
+
width: "100%",
|
|
117
|
+
maxWidth: "900px",
|
|
118
|
+
padding: "1.5rem",
|
|
119
|
+
border: "1px solid var(--dark-opacity-10)",
|
|
120
|
+
borderRadius: "0.5rem",
|
|
121
|
+
background: "white",
|
|
122
|
+
} }, { children: [(0, jsx_runtime_1.jsx)("strong", __assign({ style: {
|
|
123
|
+
display: "block",
|
|
124
|
+
marginBottom: "1.5rem",
|
|
125
|
+
font: "var(--headline-semi-bold-18-22)",
|
|
126
|
+
} }, { children: "Ma\u011Faza ayarlar\u0131" })), (0, jsx_runtime_1.jsxs)("div", __assign({ style: {
|
|
127
|
+
display: "grid",
|
|
128
|
+
gridTemplateColumns: "repeat(2, minmax(0, 1fr))",
|
|
129
|
+
gap: "1rem",
|
|
130
|
+
} }, { children: [(0, jsx_runtime_1.jsx)(ActionButton_1.default, { title: "Kargo ayarlar\u0131", description: "T\u00FCm \u00FCr\u00FCnlerinde mi kargo var, yoksa \u00FCr\u00FCn bazl\u0131 m\u0131? Kargo \u00FCcreti ve teslimat s\u00FCrelerini buradan y\u00F6net.", alignButtonWithTitle: true, hasTimer: false, img: defaultImg, onClick: function () { return console.log("Kargo ayarları"); } }), (0, jsx_runtime_1.jsx)(ActionButton_1.default, { title: "\u00D6deme ayarlar\u0131", description: "\u00D6deme y\u00F6ntemlerini, taksit se\u00E7eneklerini ve fatura bilgilerini bu alandan d\u00FCzenleyebilirsin.", alignButtonWithTitle: true, hasTimer: false, img: defaultImg, onClick: function () { return console.log("Ödeme ayarları"); } }), (0, jsx_runtime_1.jsx)(ActionButton_1.default, { title: "Abonelik kurallar\u0131", description: "Abonelik planlar\u0131n\u0131, iptal ko\u015Fullar\u0131n\u0131 ve yenileme kurallar\u0131n\u0131 buradan y\u00F6net.", alignButtonWithTitle: true, hasTimer: false, img: defaultImg, onClick: function () { return console.log("Abonelik kuralları"); } }), (0, jsx_runtime_1.jsx)(ActionButton_1.default, { title: "Ma\u011Faza bilgileri", description: "Ma\u011Faza ad\u0131, ileti\u015Fim bilgileri ve g\u00F6r\u00FCn\u00FCr ma\u011Faza detaylar\u0131n\u0131 g\u00FCncelle.", alignButtonWithTitle: true, hasTimer: false, img: defaultImg, onClick: function () { return console.log("Mağaza bilgileri"); } })] }))] }))); },
|
|
184
131
|
};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AddressCardStyledProps } from "./props";
|
|
3
|
-
export declare const AddressCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
4
|
-
|
|
3
|
+
export declare const AddressCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
|
|
4
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
5
|
+
}, AddressCardStyledProps>> & string;
|
|
6
|
+
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
7
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
8
|
+
}> & string;
|