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
|
@@ -23,6 +23,24 @@ declare const _default: {
|
|
|
23
23
|
hasDisableActions: {
|
|
24
24
|
control: string;
|
|
25
25
|
};
|
|
26
|
+
hasDisableIncrement: {
|
|
27
|
+
control: string;
|
|
28
|
+
};
|
|
29
|
+
hasInsuranceTooltip: {
|
|
30
|
+
control: string;
|
|
31
|
+
};
|
|
32
|
+
hasInsuranceLoading: {
|
|
33
|
+
control: string;
|
|
34
|
+
};
|
|
35
|
+
hasInsurancePriceAdded: {
|
|
36
|
+
control: string;
|
|
37
|
+
};
|
|
38
|
+
discountRate: {
|
|
39
|
+
control: string;
|
|
40
|
+
};
|
|
41
|
+
quantity: {
|
|
42
|
+
control: string;
|
|
43
|
+
};
|
|
26
44
|
};
|
|
27
45
|
};
|
|
28
46
|
export default _default;
|
|
@@ -581,3 +599,212 @@ export declare const UpfrontAddonCheckedLoading: {
|
|
|
581
599
|
insuranceTooltipWidth: string;
|
|
582
600
|
};
|
|
583
601
|
};
|
|
602
|
+
export declare const WithInsuranceTooltip: {
|
|
603
|
+
args: {
|
|
604
|
+
hasInsuranceTooltip: boolean;
|
|
605
|
+
hasInsuranceTooltipClickAction: boolean;
|
|
606
|
+
insuranceTooltipText: React.JSX.Element;
|
|
607
|
+
title: string;
|
|
608
|
+
deliveryText: string;
|
|
609
|
+
price: string;
|
|
610
|
+
priceSm: string;
|
|
611
|
+
oldPrice: string;
|
|
612
|
+
oldPriceSm: string;
|
|
613
|
+
component: ({ children }: any) => React.JSX.Element;
|
|
614
|
+
discountRate: number;
|
|
615
|
+
hasRemove: boolean;
|
|
616
|
+
oldPricePeriod: string;
|
|
617
|
+
quantity: string;
|
|
618
|
+
period: string;
|
|
619
|
+
deliveryDangerText: string;
|
|
620
|
+
onRemove: () => void;
|
|
621
|
+
onIncrement: () => void;
|
|
622
|
+
onDecrement: () => void;
|
|
623
|
+
toggleInsurance: () => void;
|
|
624
|
+
image: React.JSX.Element;
|
|
625
|
+
hasError: boolean;
|
|
626
|
+
hasLoading: boolean;
|
|
627
|
+
errorText: string;
|
|
628
|
+
insuranceText: string;
|
|
629
|
+
insurancePrice: string;
|
|
630
|
+
insuranceQuantity: string;
|
|
631
|
+
hasInsurance: boolean;
|
|
632
|
+
hasDisableActions: boolean;
|
|
633
|
+
insuranceTooltipWidth: string;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
export declare const InsuranceLoading: {
|
|
637
|
+
args: {
|
|
638
|
+
hasInsuranceLoading: boolean;
|
|
639
|
+
title: string;
|
|
640
|
+
deliveryText: string;
|
|
641
|
+
price: string;
|
|
642
|
+
priceSm: string;
|
|
643
|
+
oldPrice: string;
|
|
644
|
+
oldPriceSm: string;
|
|
645
|
+
component: ({ children }: any) => React.JSX.Element;
|
|
646
|
+
discountRate: number;
|
|
647
|
+
hasRemove: boolean;
|
|
648
|
+
hasInsuranceTooltipClickAction: boolean;
|
|
649
|
+
oldPricePeriod: string;
|
|
650
|
+
quantity: string;
|
|
651
|
+
period: string;
|
|
652
|
+
deliveryDangerText: string;
|
|
653
|
+
onRemove: () => void;
|
|
654
|
+
onIncrement: () => void;
|
|
655
|
+
onDecrement: () => void;
|
|
656
|
+
toggleInsurance: () => void;
|
|
657
|
+
image: React.JSX.Element;
|
|
658
|
+
hasError: boolean;
|
|
659
|
+
hasLoading: boolean;
|
|
660
|
+
errorText: string;
|
|
661
|
+
insuranceText: string;
|
|
662
|
+
insurancePrice: string;
|
|
663
|
+
insuranceQuantity: string;
|
|
664
|
+
hasInsurance: boolean;
|
|
665
|
+
hasInsuranceTooltip: boolean;
|
|
666
|
+
hasDisableActions: boolean;
|
|
667
|
+
insuranceTooltipText: React.JSX.Element;
|
|
668
|
+
insuranceTooltipWidth: string;
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
export declare const InsurancePriceAdded: {
|
|
672
|
+
args: {
|
|
673
|
+
hasInsurancePriceAdded: boolean;
|
|
674
|
+
insurancePrice: string;
|
|
675
|
+
insuranceQuantity: string;
|
|
676
|
+
title: string;
|
|
677
|
+
deliveryText: string;
|
|
678
|
+
price: string;
|
|
679
|
+
priceSm: string;
|
|
680
|
+
oldPrice: string;
|
|
681
|
+
oldPriceSm: string;
|
|
682
|
+
component: ({ children }: any) => React.JSX.Element;
|
|
683
|
+
discountRate: number;
|
|
684
|
+
hasRemove: boolean;
|
|
685
|
+
hasInsuranceTooltipClickAction: boolean;
|
|
686
|
+
oldPricePeriod: string;
|
|
687
|
+
quantity: string;
|
|
688
|
+
period: string;
|
|
689
|
+
deliveryDangerText: string;
|
|
690
|
+
onRemove: () => void;
|
|
691
|
+
onIncrement: () => void;
|
|
692
|
+
onDecrement: () => void;
|
|
693
|
+
toggleInsurance: () => void;
|
|
694
|
+
image: React.JSX.Element;
|
|
695
|
+
hasError: boolean;
|
|
696
|
+
hasLoading: boolean;
|
|
697
|
+
errorText: string;
|
|
698
|
+
insuranceText: string;
|
|
699
|
+
hasInsurance: boolean;
|
|
700
|
+
hasInsuranceTooltip: boolean;
|
|
701
|
+
hasDisableActions: boolean;
|
|
702
|
+
insuranceTooltipText: React.JSX.Element;
|
|
703
|
+
insuranceTooltipWidth: string;
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
export declare const DisableIncrement: {
|
|
707
|
+
args: {
|
|
708
|
+
hasDisableIncrement: boolean;
|
|
709
|
+
quantity: string;
|
|
710
|
+
title: string;
|
|
711
|
+
deliveryText: string;
|
|
712
|
+
price: string;
|
|
713
|
+
priceSm: string;
|
|
714
|
+
oldPrice: string;
|
|
715
|
+
oldPriceSm: string;
|
|
716
|
+
component: ({ children }: any) => React.JSX.Element;
|
|
717
|
+
discountRate: number;
|
|
718
|
+
hasRemove: boolean;
|
|
719
|
+
hasInsuranceTooltipClickAction: boolean;
|
|
720
|
+
oldPricePeriod: string;
|
|
721
|
+
period: string;
|
|
722
|
+
deliveryDangerText: string;
|
|
723
|
+
onRemove: () => void;
|
|
724
|
+
onIncrement: () => void;
|
|
725
|
+
onDecrement: () => void;
|
|
726
|
+
toggleInsurance: () => void;
|
|
727
|
+
image: React.JSX.Element;
|
|
728
|
+
hasError: boolean;
|
|
729
|
+
hasLoading: boolean;
|
|
730
|
+
errorText: string;
|
|
731
|
+
insuranceText: string;
|
|
732
|
+
insurancePrice: string;
|
|
733
|
+
insuranceQuantity: string;
|
|
734
|
+
hasInsurance: boolean;
|
|
735
|
+
hasInsuranceTooltip: boolean;
|
|
736
|
+
hasDisableActions: boolean;
|
|
737
|
+
insuranceTooltipText: React.JSX.Element;
|
|
738
|
+
insuranceTooltipWidth: string;
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
export declare const Complete: {
|
|
742
|
+
args: {
|
|
743
|
+
hasRemove: boolean;
|
|
744
|
+
hasInsurance: boolean;
|
|
745
|
+
hasInsuranceTooltip: boolean;
|
|
746
|
+
hasInsurancePriceAdded: boolean;
|
|
747
|
+
insurancePrice: string;
|
|
748
|
+
insuranceQuantity: string;
|
|
749
|
+
hasError: boolean;
|
|
750
|
+
errorText: string;
|
|
751
|
+
discountRate: number;
|
|
752
|
+
deliveryDangerText: string;
|
|
753
|
+
title: string;
|
|
754
|
+
deliveryText: string;
|
|
755
|
+
price: string;
|
|
756
|
+
priceSm: string;
|
|
757
|
+
oldPrice: string;
|
|
758
|
+
oldPriceSm: string;
|
|
759
|
+
component: ({ children }: any) => React.JSX.Element;
|
|
760
|
+
hasInsuranceTooltipClickAction: boolean;
|
|
761
|
+
oldPricePeriod: string;
|
|
762
|
+
quantity: string;
|
|
763
|
+
period: string;
|
|
764
|
+
onRemove: () => void;
|
|
765
|
+
onIncrement: () => void;
|
|
766
|
+
onDecrement: () => void;
|
|
767
|
+
toggleInsurance: () => void;
|
|
768
|
+
image: React.JSX.Element;
|
|
769
|
+
hasLoading: boolean;
|
|
770
|
+
insuranceText: string;
|
|
771
|
+
hasDisableActions: boolean;
|
|
772
|
+
insuranceTooltipText: React.JSX.Element;
|
|
773
|
+
insuranceTooltipWidth: string;
|
|
774
|
+
};
|
|
775
|
+
};
|
|
776
|
+
export declare const Interactive: {
|
|
777
|
+
render: (args: any) => React.JSX.Element;
|
|
778
|
+
args: {
|
|
779
|
+
hasRemove: boolean;
|
|
780
|
+
quantity: string;
|
|
781
|
+
title: string;
|
|
782
|
+
deliveryText: string;
|
|
783
|
+
price: string;
|
|
784
|
+
priceSm: string;
|
|
785
|
+
oldPrice: string;
|
|
786
|
+
oldPriceSm: string;
|
|
787
|
+
component: ({ children }: any) => React.JSX.Element;
|
|
788
|
+
discountRate: number;
|
|
789
|
+
hasInsuranceTooltipClickAction: boolean;
|
|
790
|
+
oldPricePeriod: string;
|
|
791
|
+
period: string;
|
|
792
|
+
deliveryDangerText: string;
|
|
793
|
+
onRemove: () => void;
|
|
794
|
+
onIncrement: () => void;
|
|
795
|
+
onDecrement: () => void;
|
|
796
|
+
toggleInsurance: () => void;
|
|
797
|
+
image: React.JSX.Element;
|
|
798
|
+
hasError: boolean;
|
|
799
|
+
hasLoading: boolean;
|
|
800
|
+
errorText: string;
|
|
801
|
+
insuranceText: string;
|
|
802
|
+
insurancePrice: string;
|
|
803
|
+
insuranceQuantity: string;
|
|
804
|
+
hasInsurance: boolean;
|
|
805
|
+
hasInsuranceTooltip: boolean;
|
|
806
|
+
hasDisableActions: boolean;
|
|
807
|
+
insuranceTooltipText: React.JSX.Element;
|
|
808
|
+
insuranceTooltipWidth: string;
|
|
809
|
+
};
|
|
810
|
+
};
|
|
@@ -14,7 +14,7 @@ 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.UpfrontAddonCheckedLoading = exports.UpfrontAddonChecked = exports.UpfrontAddonSimple = exports.UpfrontAddonWithDiscount = exports.InsuranceType2PriceLoading = exports.InsuranceType2 = exports.Minimal = exports.WithInsurancePrice = exports.DisabledActions = exports.WithoutDiscount = exports.WithError = exports.Loading = exports.WithoutInsurance = exports.WithRemove = exports.Default = void 0;
|
|
17
|
+
exports.Interactive = exports.Complete = exports.DisableIncrement = exports.InsurancePriceAdded = exports.InsuranceLoading = exports.WithInsuranceTooltip = exports.UpfrontAddonCheckedLoading = exports.UpfrontAddonChecked = exports.UpfrontAddonSimple = exports.UpfrontAddonWithDiscount = exports.InsuranceType2PriceLoading = exports.InsuranceType2 = exports.Minimal = exports.WithInsurancePrice = exports.DisabledActions = exports.WithoutDiscount = exports.WithError = exports.Loading = exports.WithoutInsurance = exports.WithRemove = exports.Default = void 0;
|
|
18
18
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
var react_1 = require("react");
|
|
20
20
|
var ShoppingCartProduct_1 = __importDefault(require("../ShoppingCartProduct"));
|
|
@@ -65,6 +65,12 @@ exports.default = {
|
|
|
65
65
|
hasLoading: { control: 'boolean' },
|
|
66
66
|
hasError: { control: 'boolean' },
|
|
67
67
|
hasDisableActions: { control: 'boolean' },
|
|
68
|
+
hasDisableIncrement: { control: 'boolean' },
|
|
69
|
+
hasInsuranceTooltip: { control: 'boolean' },
|
|
70
|
+
hasInsuranceLoading: { control: 'boolean' },
|
|
71
|
+
hasInsurancePriceAdded: { control: 'boolean' },
|
|
72
|
+
discountRate: { control: 'number' },
|
|
73
|
+
quantity: { control: 'text' },
|
|
68
74
|
}
|
|
69
75
|
};
|
|
70
76
|
exports.Default = {
|
|
@@ -129,3 +135,27 @@ exports.UpfrontAddonCheckedLoading = {
|
|
|
129
135
|
render: UpfrontAddonWithState,
|
|
130
136
|
args: __assign(__assign({}, upfrontAddonBaseArgs), { image: coffeeImage, upfrontAddonChecked: true, upfrontAddonDiscountBadge: "%10 indirim", upfrontAddonOldPrice: "3.120 TL", hasUpfrontAddonPriceLoading: true }),
|
|
131
137
|
};
|
|
138
|
+
exports.WithInsuranceTooltip = {
|
|
139
|
+
args: __assign(__assign({}, defaultArgs), { hasInsuranceTooltip: true, hasInsuranceTooltipClickAction: true, insuranceTooltipText: ((0, jsx_runtime_1.jsx)("div", { children: "\u00D6nceki kiralaman ek g\u00FCvenceli oldu\u011Fu i\u00E7in, s\u00FCre uzat\u0131rken de ek g\u00FCvencen otomatik olarak eklenir" })) }),
|
|
140
|
+
};
|
|
141
|
+
exports.InsuranceLoading = {
|
|
142
|
+
args: __assign(__assign({}, defaultArgs), { hasInsuranceLoading: true }),
|
|
143
|
+
};
|
|
144
|
+
exports.InsurancePriceAdded = {
|
|
145
|
+
args: __assign(__assign({}, defaultArgs), { hasInsurancePriceAdded: true, insurancePrice: "+115 TL", insuranceQuantity: "/ay" }),
|
|
146
|
+
};
|
|
147
|
+
exports.DisableIncrement = {
|
|
148
|
+
args: __assign(__assign({}, defaultArgs), { hasDisableIncrement: true, quantity: "5" }),
|
|
149
|
+
};
|
|
150
|
+
exports.Complete = {
|
|
151
|
+
args: __assign(__assign({}, defaultArgs), { hasRemove: true, hasInsurance: true, hasInsuranceTooltip: true, hasInsurancePriceAdded: true, insurancePrice: "+115 TL", insuranceQuantity: "/ay", hasError: true, errorText: "Bu üründen daha fazla sepetinize ekleyemezsiniz.", discountRate: 32, deliveryDangerText: "Tahmini teslim değişti" }),
|
|
152
|
+
};
|
|
153
|
+
var InteractiveStory = function (args) {
|
|
154
|
+
var _a = (0, react_1.useState)(Number(args.quantity) || 1), quantity = _a[0], setQuantity = _a[1];
|
|
155
|
+
var _b = (0, react_1.useState)(Boolean(args.hasInsurancePriceAdded)), insuranceAdded = _b[0], setInsuranceAdded = _b[1];
|
|
156
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: { maxWidth: '368px' } }, { children: [(0, jsx_runtime_1.jsx)(ShoppingCartProduct_1.default, __assign({}, args, { quantity: String(quantity), hasInsurance: true, insurancePrice: insuranceAdded ? "+115 TL" : "", insuranceQuantity: insuranceAdded ? "/ay" : "", hasInsurancePriceAdded: insuranceAdded, onIncrement: function () { return setQuantity(function (q) { return q + 1; }); }, onDecrement: function () { return setQuantity(function (q) { return Math.max(1, q - 1); }); }, onRemove: function () { return console.log("removed"); }, toggleInsurance: function () { return setInsuranceAdded(function (v) { return !v; }); } })), (0, jsx_runtime_1.jsxs)("p", __assign({ style: { marginTop: 12, font: "var(--caption-medium-11-13)" } }, { children: ["Adet: ", quantity, " \u00B7 G\u00FCvence: ", insuranceAdded ? "eklendi" : "yok"] }))] })));
|
|
157
|
+
};
|
|
158
|
+
exports.Interactive = {
|
|
159
|
+
render: InteractiveStory,
|
|
160
|
+
args: __assign(__assign({}, defaultArgs), { hasRemove: true, quantity: "1" }),
|
|
161
|
+
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SkeletonLoaderStyledProps } from "./props";
|
|
3
|
-
export declare const SkeletonLoaderStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
3
|
+
export declare const SkeletonLoaderStyled: 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
|
+
}, SkeletonLoaderStyledProps>> & 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
|
width: {
|
|
@@ -51,6 +51,40 @@ export declare const Square: {
|
|
|
51
51
|
hasInset: boolean;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
|
+
export declare const Circle: {
|
|
55
|
+
args: {
|
|
56
|
+
width: string;
|
|
57
|
+
height: string;
|
|
58
|
+
hasInset: boolean;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export declare const FullWidth: {
|
|
62
|
+
args: {
|
|
63
|
+
width: string;
|
|
64
|
+
height: string;
|
|
65
|
+
hasInset: boolean;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export declare const TallBlock: {
|
|
69
|
+
args: {
|
|
70
|
+
width: string;
|
|
71
|
+
height: string;
|
|
72
|
+
hasInset: boolean;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
54
75
|
export declare const Multiple: {
|
|
55
76
|
render: () => React.JSX.Element;
|
|
56
77
|
};
|
|
78
|
+
export declare const CardSkeleton: {
|
|
79
|
+
render: () => React.JSX.Element;
|
|
80
|
+
};
|
|
81
|
+
export declare const TableRowSkeleton: {
|
|
82
|
+
render: () => React.JSX.Element;
|
|
83
|
+
};
|
|
84
|
+
export declare const Complete: {
|
|
85
|
+
args: {
|
|
86
|
+
width: string;
|
|
87
|
+
height: string;
|
|
88
|
+
hasInset: boolean;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
@@ -14,39 +14,65 @@ 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.Multiple = exports.Square = exports.Large = exports.Small = exports.WithInset = exports.Default = void 0;
|
|
17
|
+
exports.Complete = exports.TableRowSkeleton = exports.CardSkeleton = exports.Multiple = exports.TallBlock = exports.FullWidth = exports.Circle = exports.Square = exports.Large = exports.Small = exports.WithInset = exports.Default = void 0;
|
|
18
18
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
var SkeletonLoader_1 = __importDefault(require("../SkeletonLoader"));
|
|
20
|
-
var
|
|
20
|
+
var baseArgs = {
|
|
21
21
|
width: "300px",
|
|
22
22
|
height: "20px",
|
|
23
23
|
hasInset: false,
|
|
24
24
|
};
|
|
25
25
|
exports.default = {
|
|
26
|
-
title:
|
|
27
|
-
component: SkeletonLoader_1.default,
|
|
28
|
-
tags: [
|
|
26
|
+
title: "Components/SkeletonLoader",
|
|
27
|
+
component: function (props) { return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { padding: 8 } }, { children: (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, __assign({}, props)) }))); },
|
|
28
|
+
tags: ["autodocs"],
|
|
29
29
|
argTypes: {
|
|
30
|
-
width: { control:
|
|
31
|
-
height: { control:
|
|
32
|
-
hasInset: { control:
|
|
33
|
-
}
|
|
30
|
+
width: { control: "text" },
|
|
31
|
+
height: { control: "text" },
|
|
32
|
+
hasInset: { control: "boolean" },
|
|
33
|
+
},
|
|
34
34
|
};
|
|
35
35
|
exports.Default = {
|
|
36
|
-
args:
|
|
36
|
+
args: __assign({}, baseArgs),
|
|
37
37
|
};
|
|
38
38
|
exports.WithInset = {
|
|
39
|
-
args: __assign(__assign({},
|
|
39
|
+
args: __assign(__assign({}, baseArgs), { hasInset: true }),
|
|
40
40
|
};
|
|
41
41
|
exports.Small = {
|
|
42
|
-
args: __assign(__assign({},
|
|
42
|
+
args: __assign(__assign({}, baseArgs), { width: "100px", height: "16px" }),
|
|
43
43
|
};
|
|
44
44
|
exports.Large = {
|
|
45
|
-
args: __assign(__assign({},
|
|
45
|
+
args: __assign(__assign({}, baseArgs), { width: "400px", height: "32px" }),
|
|
46
46
|
};
|
|
47
47
|
exports.Square = {
|
|
48
|
-
args: __assign(__assign({},
|
|
48
|
+
args: __assign(__assign({}, baseArgs), { width: "80px", height: "80px" }),
|
|
49
|
+
};
|
|
50
|
+
exports.Circle = {
|
|
51
|
+
args: __assign(__assign({}, baseArgs), { width: "48px", height: "48px", hasInset: true }),
|
|
52
|
+
};
|
|
53
|
+
exports.FullWidth = {
|
|
54
|
+
args: __assign(__assign({}, baseArgs), { width: "100%", height: "24px" }),
|
|
55
|
+
};
|
|
56
|
+
exports.TallBlock = {
|
|
57
|
+
args: __assign(__assign({}, baseArgs), { width: "100%", height: "160px" }),
|
|
49
58
|
};
|
|
50
59
|
exports.Multiple = {
|
|
51
|
-
render: function () { return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: { display:
|
|
60
|
+
render: function () { return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: { display: "flex", flexDirection: "column", gap: "12px", maxWidth: 400 } }, { children: [(0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "100%", height: "24px" }), (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "80%", height: "16px", hasInset: true }), (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "60%", height: "16px" })] }))); },
|
|
61
|
+
};
|
|
62
|
+
exports.CardSkeleton = {
|
|
63
|
+
render: function () { return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: {
|
|
64
|
+
width: 280,
|
|
65
|
+
padding: 16,
|
|
66
|
+
border: "1px solid var(--dark-opacity-10)",
|
|
67
|
+
borderRadius: 8,
|
|
68
|
+
display: "flex",
|
|
69
|
+
flexDirection: "column",
|
|
70
|
+
gap: 12,
|
|
71
|
+
} }, { children: [(0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "100%", height: "140px" }), (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "70%", height: "18px" }), (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "90%", height: "14px", hasInset: true }), (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "50%", height: "14px" }), (0, jsx_runtime_1.jsxs)("div", __assign({ style: { display: "flex", gap: 8, marginTop: 8 } }, { children: [(0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "48px", height: "48px", hasInset: true }), (0, jsx_runtime_1.jsxs)("div", __assign({ style: { flex: 1, display: "flex", flexDirection: "column", gap: 8 } }, { children: [(0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "100%", height: "14px" }), (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "60%", height: "14px" })] }))] }))] }))); },
|
|
72
|
+
};
|
|
73
|
+
exports.TableRowSkeleton = {
|
|
74
|
+
render: function () { return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { display: "flex", flexDirection: "column", gap: 12, maxWidth: 720 } }, { children: Array.from({ length: 5 }).map(function (_, i) { return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: { display: "grid", gridTemplateColumns: "1fr 80px 1.5fr 100px", gap: 16 } }, { children: [(0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "100%", height: "18px" }), (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "100%", height: "18px" }), (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "100%", height: "18px", hasInset: true }), (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "100%", height: "18px" })] }), i)); }) }))); },
|
|
75
|
+
};
|
|
76
|
+
exports.Complete = {
|
|
77
|
+
args: __assign(__assign({}, baseArgs), { width: "100%", height: "40px", hasInset: true }),
|
|
52
78
|
};
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web",
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
2
|
+
export declare const Container: 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 StepSliderStyled: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
6
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
7
|
+
}> & string;
|
|
8
|
+
export declare const StepsWrapper: 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 IndicatorStyled: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
12
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
13
|
+
}> & string;
|
|
14
|
+
export declare const StepOptionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
15
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
16
|
+
}, {
|
|
7
17
|
isActive: boolean;
|
|
8
|
-
}
|
|
9
|
-
isActive: boolean;
|
|
10
|
-
}, never>>> & string;
|
|
18
|
+
}>> & string;
|
|
@@ -1,12 +1,142 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: (props: any) => React.JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
label: {
|
|
8
|
+
control: string;
|
|
9
|
+
};
|
|
10
|
+
selectedValue: {
|
|
11
|
+
control: string;
|
|
12
|
+
};
|
|
13
|
+
options: {
|
|
14
|
+
control: boolean;
|
|
15
|
+
};
|
|
16
|
+
onChange: {
|
|
17
|
+
action: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
6
20
|
};
|
|
7
21
|
export default _default;
|
|
8
|
-
export declare const Default:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
22
|
+
export declare const Default: {
|
|
23
|
+
args: {
|
|
24
|
+
options: {
|
|
25
|
+
value: string;
|
|
26
|
+
label: string;
|
|
27
|
+
activeLabel: React.JSX.Element;
|
|
28
|
+
}[];
|
|
29
|
+
selectedValue: string;
|
|
30
|
+
label: string;
|
|
31
|
+
onChange: (value: any) => void;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const MiddleSelected: {
|
|
35
|
+
args: {
|
|
36
|
+
selectedValue: string;
|
|
37
|
+
options: {
|
|
38
|
+
value: string;
|
|
39
|
+
label: string;
|
|
40
|
+
activeLabel: React.JSX.Element;
|
|
41
|
+
}[];
|
|
42
|
+
label: string;
|
|
43
|
+
onChange: (value: any) => void;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare const LastSelected: {
|
|
47
|
+
args: {
|
|
48
|
+
selectedValue: string;
|
|
49
|
+
options: {
|
|
50
|
+
value: string;
|
|
51
|
+
label: string;
|
|
52
|
+
activeLabel: React.JSX.Element;
|
|
53
|
+
}[];
|
|
54
|
+
label: string;
|
|
55
|
+
onChange: (value: any) => void;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export declare const WithoutLabel: {
|
|
59
|
+
args: {
|
|
60
|
+
label: any;
|
|
61
|
+
options: {
|
|
62
|
+
value: string;
|
|
63
|
+
label: string;
|
|
64
|
+
activeLabel: React.JSX.Element;
|
|
65
|
+
}[];
|
|
66
|
+
selectedValue: string;
|
|
67
|
+
onChange: (value: any) => void;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export declare const TwoSteps: {
|
|
71
|
+
args: {
|
|
72
|
+
options: {
|
|
73
|
+
value: string;
|
|
74
|
+
label: string;
|
|
75
|
+
activeLabel: React.JSX.Element;
|
|
76
|
+
}[];
|
|
77
|
+
selectedValue: string;
|
|
78
|
+
label: string;
|
|
79
|
+
onChange: (value: any) => void;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export declare const FourSteps: {
|
|
83
|
+
args: {
|
|
84
|
+
options: {
|
|
85
|
+
value: string;
|
|
86
|
+
label: string;
|
|
87
|
+
activeLabel: React.JSX.Element;
|
|
88
|
+
}[];
|
|
89
|
+
selectedValue: string;
|
|
90
|
+
label: string;
|
|
91
|
+
onChange: (value: any) => void;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
export declare const WithDifferentValues: {
|
|
95
|
+
args: {
|
|
96
|
+
options: {
|
|
97
|
+
value: number;
|
|
98
|
+
label: string;
|
|
99
|
+
activeLabel: string;
|
|
100
|
+
}[];
|
|
101
|
+
selectedValue: number;
|
|
102
|
+
label: string;
|
|
103
|
+
onChange: (value: any) => void;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export declare const WithCustomComponent: {
|
|
107
|
+
args: {
|
|
108
|
+
selectedValue: string;
|
|
109
|
+
options: {
|
|
110
|
+
value: string;
|
|
111
|
+
label: string;
|
|
112
|
+
activeLabel: React.JSX.Element;
|
|
113
|
+
}[];
|
|
114
|
+
label: string;
|
|
115
|
+
onChange: (value: any) => void;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
export declare const Interactive: {
|
|
119
|
+
render: (args: any) => React.JSX.Element;
|
|
120
|
+
args: {
|
|
121
|
+
options: {
|
|
122
|
+
value: string;
|
|
123
|
+
label: string;
|
|
124
|
+
activeLabel: React.JSX.Element;
|
|
125
|
+
}[];
|
|
126
|
+
selectedValue: string;
|
|
127
|
+
label: string;
|
|
128
|
+
onChange: (value: any) => void;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
export declare const Complete: {
|
|
132
|
+
args: {
|
|
133
|
+
options: {
|
|
134
|
+
value: string;
|
|
135
|
+
label: string;
|
|
136
|
+
activeLabel: React.JSX.Element;
|
|
137
|
+
}[];
|
|
138
|
+
selectedValue: string;
|
|
139
|
+
label: string;
|
|
140
|
+
onChange: (value: any) => void;
|
|
141
|
+
};
|
|
142
|
+
};
|