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
|
@@ -14,92 +14,145 @@ 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.WithFixedTabWidth = exports.LargeSize = exports.
|
|
17
|
+
exports.Complete = exports.Interactive = exports.AllSizes = exports.Empty = exports.LongTitles = exports.HideHeaderOnMobile = exports.ManyTabs = exports.WithFixedTabWidth = exports.WithAutoFlex = exports.LargeSize = exports.MediumSize = exports.SmallSize = exports.WithDisabledTab = exports.WithDefaultTab = exports.Default = void 0;
|
|
18
18
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
var react_1 = __importDefault(require("react"));
|
|
19
20
|
var Tabs_1 = __importDefault(require("../Tabs"));
|
|
20
|
-
var
|
|
21
|
+
var props_1 = require("../props");
|
|
22
|
+
var ExampleContent = function (_a) {
|
|
23
|
+
var title = _a.title;
|
|
24
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: { padding: "20px", background: "#f5f5f5", borderRadius: "8px" } }, { children: [title, " Content"] })));
|
|
25
|
+
};
|
|
26
|
+
var defaultTabs = [
|
|
27
|
+
{ key: "tab1", title: "Tab 1", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 1" }) },
|
|
28
|
+
{ key: "tab2", title: "Tab 2", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 2" }) },
|
|
29
|
+
{ key: "tab3", title: "Tab 3", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 3" }) },
|
|
30
|
+
];
|
|
31
|
+
var manyTabs = Array.from({ length: 8 }, function (_, i) { return ({
|
|
32
|
+
key: "tab".concat(i + 1),
|
|
33
|
+
title: "Tab ".concat(i + 1),
|
|
34
|
+
content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab ".concat(i + 1) }),
|
|
35
|
+
}); });
|
|
36
|
+
var baseArgs = {
|
|
37
|
+
tabs: defaultTabs,
|
|
38
|
+
size: "md",
|
|
39
|
+
hasAutoFlex: false,
|
|
40
|
+
isHideTabHeaderOnMobile: false,
|
|
41
|
+
tabButtonWidth: undefined,
|
|
42
|
+
};
|
|
43
|
+
exports.default = {
|
|
21
44
|
title: "Components/Tabs",
|
|
22
|
-
component: Tabs_1.default,
|
|
45
|
+
component: function (props) { return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { width: 560, maxWidth: "100%" } }, { children: (0, jsx_runtime_1.jsx)(Tabs_1.default, __assign({}, props)) }))); },
|
|
23
46
|
parameters: {
|
|
24
47
|
layout: "centered",
|
|
25
48
|
},
|
|
26
49
|
tags: ["autodocs"],
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
50
|
+
argTypes: {
|
|
51
|
+
size: { control: "select", options: props_1.sizes },
|
|
52
|
+
hasAutoFlex: { control: "boolean" },
|
|
53
|
+
isHideTabHeaderOnMobile: { control: "boolean" },
|
|
54
|
+
tabButtonWidth: { control: "number" },
|
|
55
|
+
activeTab: { control: "text" },
|
|
56
|
+
defaultTab: { control: "text" },
|
|
57
|
+
tabs: { control: false },
|
|
58
|
+
onChange: { action: "changed" },
|
|
59
|
+
},
|
|
32
60
|
};
|
|
33
61
|
exports.Default = {
|
|
34
|
-
args: {
|
|
35
|
-
tabs: [
|
|
36
|
-
{ key: "tab1", title: "Tab 1", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 1" }) },
|
|
37
|
-
{ key: "tab2", title: "Tab 2", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 2" }) },
|
|
38
|
-
{ key: "tab3", title: "Tab 3", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 3" }) },
|
|
39
|
-
],
|
|
40
|
-
size: "md",
|
|
41
|
-
},
|
|
62
|
+
args: __assign({}, baseArgs),
|
|
42
63
|
};
|
|
43
64
|
exports.WithDefaultTab = {
|
|
44
|
-
args: {
|
|
45
|
-
tabs: [
|
|
46
|
-
{ key: "tab1", title: "Tab 1", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 1" }) },
|
|
47
|
-
{ key: "tab2", title: "Tab 2", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 2" }) },
|
|
48
|
-
{ key: "tab3", title: "Tab 3", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 3" }) },
|
|
49
|
-
],
|
|
50
|
-
defaultTab: "tab2",
|
|
51
|
-
size: "md",
|
|
52
|
-
},
|
|
65
|
+
args: __assign(__assign({}, baseArgs), { defaultTab: "tab2" }),
|
|
53
66
|
};
|
|
54
67
|
exports.WithDisabledTab = {
|
|
55
|
-
args: {
|
|
56
|
-
tabs: [
|
|
68
|
+
args: __assign(__assign({}, baseArgs), { tabs: [
|
|
57
69
|
{ key: "tab1", title: "Tab 1", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 1" }) },
|
|
58
|
-
{
|
|
70
|
+
{
|
|
71
|
+
key: "tab2",
|
|
72
|
+
title: "Tab 2",
|
|
73
|
+
content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 2" }),
|
|
74
|
+
isDisabled: true,
|
|
75
|
+
},
|
|
59
76
|
{ key: "tab3", title: "Tab 3", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 3" }) },
|
|
60
|
-
],
|
|
61
|
-
size: "md",
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
exports.WithAutoFlex = {
|
|
65
|
-
args: {
|
|
66
|
-
tabs: [
|
|
67
|
-
{ key: "tab1", title: "Tab 1", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 1" }) },
|
|
68
|
-
{ key: "tab2", title: "Tab 2", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 2" }) },
|
|
69
|
-
{ key: "tab3", title: "Tab 3", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 3" }) },
|
|
70
|
-
],
|
|
71
|
-
hasAutoFlex: true,
|
|
72
|
-
size: "md",
|
|
73
|
-
},
|
|
77
|
+
] }),
|
|
74
78
|
};
|
|
75
79
|
exports.SmallSize = {
|
|
76
|
-
args: {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
{ key: "tab3", title: "Tab 3", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 3" }) },
|
|
81
|
-
],
|
|
82
|
-
size: "sm",
|
|
83
|
-
},
|
|
80
|
+
args: __assign(__assign({}, baseArgs), { size: "sm" }),
|
|
81
|
+
};
|
|
82
|
+
exports.MediumSize = {
|
|
83
|
+
args: __assign(__assign({}, baseArgs), { size: "md" }),
|
|
84
84
|
};
|
|
85
85
|
exports.LargeSize = {
|
|
86
|
-
args: {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
{ key: "tab3", title: "Tab 3", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 3" }) },
|
|
91
|
-
],
|
|
92
|
-
size: "lg",
|
|
93
|
-
},
|
|
86
|
+
args: __assign(__assign({}, baseArgs), { size: "lg" }),
|
|
87
|
+
};
|
|
88
|
+
exports.WithAutoFlex = {
|
|
89
|
+
args: __assign(__assign({}, baseArgs), { hasAutoFlex: true }),
|
|
94
90
|
};
|
|
95
91
|
exports.WithFixedTabWidth = {
|
|
96
|
-
args: {
|
|
97
|
-
tabs: [
|
|
92
|
+
args: __assign(__assign({}, baseArgs), { tabs: [
|
|
98
93
|
{ key: "tab1", title: "Tab 1", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 1" }) },
|
|
99
94
|
{ key: "tab2", title: "Tab 2", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 2" }) },
|
|
100
|
-
{
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
95
|
+
{
|
|
96
|
+
key: "tab3",
|
|
97
|
+
title: "Uzun Tab Başlığı",
|
|
98
|
+
content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Tab 3" }),
|
|
99
|
+
},
|
|
100
|
+
], tabButtonWidth: 160 }),
|
|
101
|
+
};
|
|
102
|
+
exports.ManyTabs = {
|
|
103
|
+
args: __assign(__assign({}, baseArgs), { tabs: manyTabs, defaultTab: "tab3" }),
|
|
104
|
+
};
|
|
105
|
+
exports.HideHeaderOnMobile = {
|
|
106
|
+
args: __assign(__assign({}, baseArgs), { isHideTabHeaderOnMobile: true }),
|
|
107
|
+
};
|
|
108
|
+
exports.LongTitles = {
|
|
109
|
+
args: __assign(__assign({}, baseArgs), { tabs: [
|
|
110
|
+
{
|
|
111
|
+
key: "a",
|
|
112
|
+
title: "Siparişlerim",
|
|
113
|
+
content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Sipari\u015Flerim" }),
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
key: "b",
|
|
117
|
+
title: "Adres Bilgilerim",
|
|
118
|
+
content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Adres" }),
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
key: "c",
|
|
122
|
+
title: "Kampanyalar ve Kuponlar",
|
|
123
|
+
content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Kampanya" }),
|
|
124
|
+
},
|
|
125
|
+
], hasAutoFlex: true }),
|
|
126
|
+
};
|
|
127
|
+
exports.Empty = {
|
|
128
|
+
args: __assign(__assign({}, baseArgs), { tabs: [] }),
|
|
129
|
+
};
|
|
130
|
+
exports.AllSizes = {
|
|
131
|
+
args: baseArgs,
|
|
132
|
+
render: function (args) { return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { display: "flex", flexDirection: "column", gap: 32, width: 560 } }, { children: props_1.sizes.map(function (size) { return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("strong", __assign({ style: { display: "block", marginBottom: 8 } }, { children: size })), (0, jsx_runtime_1.jsx)(Tabs_1.default, __assign({}, args, { size: size }))] }, size)); }) }))); },
|
|
133
|
+
};
|
|
134
|
+
var ControlledTabsStory = function (args) {
|
|
135
|
+
var _a = react_1.default.useState("tab1"), activeTab = _a[0], setActiveTab = _a[1];
|
|
136
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: { width: 560 } }, { children: [(0, jsx_runtime_1.jsx)(Tabs_1.default, __assign({}, args, { activeTab: activeTab, onChange: setActiveTab })), (0, jsx_runtime_1.jsxs)("p", __assign({ style: { marginTop: 12, font: "var(--caption-medium-11-13)" } }, { children: ["Aktif: ", activeTab] }))] })));
|
|
137
|
+
};
|
|
138
|
+
exports.Interactive = {
|
|
139
|
+
render: function (args) { return (0, jsx_runtime_1.jsx)(ControlledTabsStory, __assign({}, args)); },
|
|
140
|
+
args: __assign({}, baseArgs),
|
|
141
|
+
};
|
|
142
|
+
exports.Complete = {
|
|
143
|
+
args: __assign(__assign({}, baseArgs), { size: "lg", hasAutoFlex: true, defaultTab: "tab2", tabs: [
|
|
144
|
+
{ key: "tab1", title: "Genel", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Genel" }) },
|
|
145
|
+
{
|
|
146
|
+
key: "tab2",
|
|
147
|
+
title: "Detay",
|
|
148
|
+
content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Detay" }),
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
key: "tab3",
|
|
152
|
+
title: "Pasif",
|
|
153
|
+
content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Pasif" }),
|
|
154
|
+
isDisabled: true,
|
|
155
|
+
},
|
|
156
|
+
{ key: "tab4", title: "Ayarlar", content: (0, jsx_runtime_1.jsx)(ExampleContent, { title: "Ayarlar" }) },
|
|
157
|
+
] }),
|
|
105
158
|
};
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const TagStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
2
|
+
export declare const TagStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
3
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
4
|
+
}, {
|
|
3
5
|
$disabled?: boolean;
|
|
4
6
|
$clickable?: boolean;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
export declare const
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
}>> & string;
|
|
8
|
+
export declare const TagStar: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
9
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
10
|
+
}> & string;
|
|
11
|
+
export declare const TagLabel: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
12
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
13
|
+
}> & string;
|
|
14
|
+
export declare const TagRemoveButton: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
15
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
16
|
+
}> & string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from
|
|
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
|
label: {
|
|
@@ -25,29 +25,87 @@ export default _default;
|
|
|
25
25
|
export declare const Default: {
|
|
26
26
|
args: {
|
|
27
27
|
label: string;
|
|
28
|
+
hasStar: boolean;
|
|
29
|
+
disabled: boolean;
|
|
28
30
|
};
|
|
29
31
|
};
|
|
30
32
|
export declare const Removable: {
|
|
31
33
|
args: {
|
|
32
34
|
label: string;
|
|
33
|
-
onRemove: () =>
|
|
35
|
+
onRemove: () => void;
|
|
36
|
+
hasStar: boolean;
|
|
37
|
+
disabled: boolean;
|
|
34
38
|
};
|
|
35
39
|
};
|
|
36
40
|
export declare const WithStar: {
|
|
37
41
|
args: {
|
|
38
42
|
label: string;
|
|
39
43
|
hasStar: boolean;
|
|
40
|
-
onRemove: () =>
|
|
44
|
+
onRemove: () => void;
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export declare const StarOnly: {
|
|
49
|
+
args: {
|
|
50
|
+
label: string;
|
|
51
|
+
hasStar: boolean;
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export declare const Clickable: {
|
|
56
|
+
args: {
|
|
57
|
+
label: string;
|
|
58
|
+
onClick: () => void;
|
|
59
|
+
hasStar: boolean;
|
|
60
|
+
disabled: boolean;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export declare const ClickableRemovable: {
|
|
64
|
+
args: {
|
|
65
|
+
label: string;
|
|
66
|
+
onClick: () => void;
|
|
67
|
+
onRemove: () => void;
|
|
68
|
+
hasStar: boolean;
|
|
69
|
+
disabled: boolean;
|
|
41
70
|
};
|
|
42
71
|
};
|
|
43
72
|
export declare const Disabled: {
|
|
44
73
|
args: {
|
|
45
74
|
label: string;
|
|
46
75
|
disabled: boolean;
|
|
47
|
-
onRemove: () =>
|
|
76
|
+
onRemove: () => void;
|
|
77
|
+
hasStar: boolean;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
export declare const DisabledWithStar: {
|
|
81
|
+
args: {
|
|
82
|
+
label: string;
|
|
83
|
+
hasStar: boolean;
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
onRemove: () => void;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export declare const LongLabel: {
|
|
89
|
+
args: {
|
|
90
|
+
label: string;
|
|
91
|
+
onRemove: () => void;
|
|
92
|
+
hasStar: boolean;
|
|
93
|
+
disabled: boolean;
|
|
48
94
|
};
|
|
49
95
|
};
|
|
96
|
+
export declare const TagList: {
|
|
97
|
+
render: () => React.JSX.Element;
|
|
98
|
+
};
|
|
50
99
|
export declare const ToggleStarOnClick: {
|
|
51
100
|
name: string;
|
|
52
101
|
render: () => React.JSX.Element;
|
|
53
102
|
};
|
|
103
|
+
export declare const Complete: {
|
|
104
|
+
args: {
|
|
105
|
+
label: string;
|
|
106
|
+
hasStar: boolean;
|
|
107
|
+
onClick: () => void;
|
|
108
|
+
onRemove: () => void;
|
|
109
|
+
disabled: boolean;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
@@ -14,61 +14,74 @@ 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.ToggleStarOnClick = exports.Disabled = exports.WithStar = exports.Removable = exports.Default = void 0;
|
|
17
|
+
exports.Complete = exports.ToggleStarOnClick = exports.TagList = exports.LongLabel = exports.DisabledWithStar = exports.Disabled = exports.ClickableRemovable = exports.Clickable = exports.StarOnly = exports.WithStar = exports.Removable = exports.Default = void 0;
|
|
18
18
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
var react_1 = require("react");
|
|
20
20
|
var Tag_1 = __importDefault(require("../Tag"));
|
|
21
|
+
var baseArgs = {
|
|
22
|
+
label: "250 Gr",
|
|
23
|
+
hasStar: false,
|
|
24
|
+
disabled: false,
|
|
25
|
+
};
|
|
21
26
|
exports.default = {
|
|
22
|
-
title:
|
|
23
|
-
component: Tag_1.default,
|
|
24
|
-
tags: [
|
|
27
|
+
title: "Components/Tag",
|
|
28
|
+
component: function (props) { return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { padding: 8 } }, { children: (0, jsx_runtime_1.jsx)(Tag_1.default, __assign({}, props)) }))); },
|
|
29
|
+
tags: ["autodocs"],
|
|
25
30
|
argTypes: {
|
|
26
|
-
label: { control:
|
|
27
|
-
hasStar: { control:
|
|
28
|
-
disabled: { control:
|
|
31
|
+
label: { control: "text" },
|
|
32
|
+
hasStar: { control: "boolean" },
|
|
33
|
+
disabled: { control: "boolean" },
|
|
29
34
|
onRemove: { control: false },
|
|
30
35
|
onClick: { control: false },
|
|
31
36
|
},
|
|
32
37
|
};
|
|
33
38
|
exports.Default = {
|
|
34
|
-
args: {
|
|
35
|
-
label: '250 Gr',
|
|
36
|
-
},
|
|
39
|
+
args: __assign({}, baseArgs),
|
|
37
40
|
};
|
|
38
41
|
exports.Removable = {
|
|
39
|
-
args: {
|
|
40
|
-
label: '500 Gr',
|
|
41
|
-
onRemove: function () { return undefined; },
|
|
42
|
-
},
|
|
42
|
+
args: __assign(__assign({}, baseArgs), { label: "500 Gr", onRemove: function () { return console.log("remove"); } }),
|
|
43
43
|
};
|
|
44
44
|
exports.WithStar = {
|
|
45
|
-
args: {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
args: __assign(__assign({}, baseArgs), { label: "Haftada bir", hasStar: true, onRemove: function () { return console.log("remove"); } }),
|
|
46
|
+
};
|
|
47
|
+
exports.StarOnly = {
|
|
48
|
+
args: __assign(__assign({}, baseArgs), { label: "Öne çıkan", hasStar: true }),
|
|
49
|
+
};
|
|
50
|
+
exports.Clickable = {
|
|
51
|
+
args: __assign(__assign({}, baseArgs), { label: "Tıklanabilir", onClick: function () { return console.log("click"); } }),
|
|
52
|
+
};
|
|
53
|
+
exports.ClickableRemovable = {
|
|
54
|
+
args: __assign(__assign({}, baseArgs), { label: "Seç / kaldır", onClick: function () { return console.log("click"); }, onRemove: function () { return console.log("remove"); } }),
|
|
50
55
|
};
|
|
51
56
|
exports.Disabled = {
|
|
52
|
-
args: {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
args: __assign(__assign({}, baseArgs), { label: "1 Kg", disabled: true, onRemove: function () { return console.log("remove"); } }),
|
|
58
|
+
};
|
|
59
|
+
exports.DisabledWithStar = {
|
|
60
|
+
args: __assign(__assign({}, baseArgs), { label: "Pasif yıldızlı", hasStar: true, disabled: true, onRemove: function () { return console.log("remove"); } }),
|
|
61
|
+
};
|
|
62
|
+
exports.LongLabel = {
|
|
63
|
+
args: __assign(__assign({}, baseArgs), { label: "Çok uzun bir etiket metni örneği", onRemove: function () { return console.log("remove"); } }),
|
|
64
|
+
};
|
|
65
|
+
exports.TagList = {
|
|
66
|
+
render: function () { return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: { display: "flex", gap: "0.75rem", flexWrap: "wrap" } }, { children: [(0, jsx_runtime_1.jsx)(Tag_1.default, { label: "S" }), (0, jsx_runtime_1.jsx)(Tag_1.default, { label: "M", onRemove: function () { return undefined; } }), (0, jsx_runtime_1.jsx)(Tag_1.default, { label: "L", hasStar: true, onRemove: function () { return undefined; } }), (0, jsx_runtime_1.jsx)(Tag_1.default, { label: "XL", disabled: true, onRemove: function () { return undefined; } }), (0, jsx_runtime_1.jsx)(Tag_1.default, { label: "XXL", onClick: function () { return undefined; }, onRemove: function () { return undefined; } })] }))); },
|
|
57
67
|
};
|
|
58
68
|
var ToggleableStarStory = function () {
|
|
59
69
|
var _a = (0, react_1.useState)({
|
|
60
|
-
|
|
70
|
+
"Haftada bir": true,
|
|
61
71
|
}), starredTags = _a[0], setStarredTags = _a[1];
|
|
62
|
-
var labels = [
|
|
72
|
+
var labels = ["Haftada bir", "İki haftada bir", "Ayda bir"];
|
|
63
73
|
var toggleStar = function (label) {
|
|
64
74
|
setStarredTags(function (prev) {
|
|
65
75
|
var _a;
|
|
66
76
|
return (__assign(__assign({}, prev), (_a = {}, _a[label] = !prev[label], _a)));
|
|
67
77
|
});
|
|
68
78
|
};
|
|
69
|
-
return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { display:
|
|
79
|
+
return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { display: "flex", gap: "0.75rem", flexWrap: "wrap" } }, { children: labels.map(function (label) { return ((0, jsx_runtime_1.jsx)(Tag_1.default, { label: label, hasStar: Boolean(starredTags[label]), onClick: function () { return toggleStar(label); }, onRemove: function () { return undefined; } }, label)); }) })));
|
|
70
80
|
};
|
|
71
81
|
exports.ToggleStarOnClick = {
|
|
72
|
-
name:
|
|
82
|
+
name: "Tıklayınca yıldız aç/kapa",
|
|
73
83
|
render: function () { return (0, jsx_runtime_1.jsx)(ToggleableStarStory, {}); },
|
|
74
84
|
};
|
|
85
|
+
exports.Complete = {
|
|
86
|
+
args: __assign(__assign({}, baseArgs), { label: "Komple tag", hasStar: true, onClick: function () { return console.log("click"); }, onRemove: function () { return console.log("remove"); } }),
|
|
87
|
+
};
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const TagInputStyled: import("styled-components/dist/types").IStyledComponentBase<"web",
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
2
|
+
export declare const TagInputStyled: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
3
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
4
|
+
}> & string;
|
|
5
|
+
export declare const TagInputLabel: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
|
|
6
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
7
|
+
}> & string;
|
|
8
|
+
export declare const TagInputFields: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
9
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
10
|
+
}> & string;
|
|
11
|
+
export declare const TagInputField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
|
|
12
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
13
|
+
}, {
|
|
6
14
|
$hasError?: boolean;
|
|
7
15
|
$disabled?: boolean;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
export declare const
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
}>> & string;
|
|
17
|
+
export declare const TagList: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
18
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
19
|
+
}> & string;
|
|
20
|
+
export declare const TagInputError: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "style"> & {
|
|
21
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
22
|
+
}> & string;
|
|
23
|
+
export declare const TagInputHiddenInputs: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
24
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
25
|
+
}> & string;
|