@orangesk/orange-design-system 2.0.0-beta.36 → 2.0.0-beta.38
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/README.md +8 -2
- package/build/components/Icon/style.css +1 -1
- package/build/components/Icon/style.css.map +1 -1
- package/build/components/Loader/style.css +1 -1
- package/build/components/Loader/style.css.map +1 -1
- package/build/components/PromoBanner/style.css +1 -1
- package/build/components/PromoBanner/style.css.map +1 -1
- package/build/components/Table/style.css +1 -1
- package/build/components/Table/style.css.map +1 -1
- package/build/components/index.js +1 -1
- package/build/components/index.js.map +1 -1
- package/build/components/tsconfig.tsbuildinfo +1 -1
- package/build/components/types/index.d.ts +737 -729
- package/build/components/types/src/components/Accordion/Accordion.static.d.ts +2 -0
- package/build/components/types/src/components/Bar/index.d.ts +1 -1
- package/build/components/types/src/components/BlockAction/Context.d.ts +1 -1
- package/build/components/types/src/components/BlockAction/index.d.ts +2 -4
- package/build/components/types/src/components/Button/index.d.ts +1 -1
- package/build/components/types/src/components/Card/index.d.ts +2 -2
- package/build/components/types/src/components/Carousel/Carousel.d.ts +1 -1
- package/build/components/types/src/components/Carousel/CarouselItem.d.ts +1 -1
- package/build/components/types/src/components/CarouselHero/CarouselHero.d.ts +1 -1
- package/build/components/types/src/components/CarouselHero/CarouselHero.static.d.ts +1 -1
- package/build/components/types/src/components/CarouselHero/CarouselHeroItem.d.ts +1 -1
- package/build/components/types/src/components/CarouselHero/index.d.ts +1 -1
- package/build/components/types/src/components/CartTable/CartTable.d.ts +1 -1
- package/build/components/types/src/components/CartTable/data.d.ts +1 -1
- package/build/components/types/src/components/Code/Code.d.ts +1 -1
- package/build/components/types/src/components/Divider/Divider.d.ts +1 -1
- package/build/components/types/src/components/DocumentationSidebar/index.d.ts +1 -1
- package/build/components/types/src/components/Dropdown/index.d.ts +1 -1
- package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.d.ts +3 -1
- package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.static.d.ts +1 -0
- package/build/components/types/src/components/Forms/Group/Group.d.ts +1 -1
- package/build/components/types/src/components/Forms/Group/Item.d.ts +1 -1
- package/build/components/types/src/components/Forms/index.d.ts +1 -1
- package/build/components/types/src/components/Grid/GridCol.d.ts +3 -3
- package/build/components/types/src/components/Icon/iconSearchTags.d.ts +1 -0
- package/build/components/types/src/components/Icon/index.d.ts +1 -2
- package/build/components/types/src/components/IconList/Item.d.ts +1 -1
- package/build/components/types/src/components/List/ClickableControl.d.ts +1 -1
- package/build/components/types/src/components/List/List.d.ts +3 -3
- package/build/components/types/src/components/List/ListItem.d.ts +1 -1
- package/build/components/types/src/components/Loader/LoaderFullscreen.d.ts +7 -0
- package/build/components/types/src/components/Loader/index.d.ts +1 -0
- package/build/components/types/src/components/Megamenu/index.d.ts +1 -1
- package/build/components/types/src/components/Modal/ModalCloseButton.d.ts +1 -1
- package/build/components/types/src/components/Modal/index.d.ts +2 -2
- package/build/components/types/src/components/Pagination/helpers.d.ts +1 -1
- package/build/components/types/src/components/Pill/Pill.d.ts +1 -1
- package/build/components/types/src/components/Preview/Preview.d.ts +1 -1
- package/build/components/types/src/components/Preview/PreviewGenerator.d.ts +1 -1
- package/build/components/types/src/components/PromotionCard/PromotionCardContent.d.ts +1 -1
- package/build/components/types/src/components/PromotionCard/PromotionCardImageWrapper.d.ts +1 -1
- package/build/components/types/src/components/PromotionCard/PromotionCardTitle.d.ts +1 -1
- package/build/components/types/src/components/Sticker/Sticker.d.ts +3 -3
- package/build/components/types/src/components/Table/Table.d.ts +1 -1
- package/build/components/types/src/components/Table/index.d.ts +1 -1
- package/build/components/types/src/components/Tabs/index.d.ts +2 -2
- package/build/components/types/src/components/Tag/index.d.ts +1 -1
- package/build/components/types/src/components/Testimonial/Testimonial.d.ts +2 -2
- package/build/components/types/src/components/Tooltip/Tooltip.static.d.ts +6 -2
- package/build/components/types/src/components/Tooltip/index.d.ts +1 -1
- package/build/components/types/src/components/index.d.ts +21 -21
- package/build/components/types/src/scripts/index.d.ts +5 -5
- package/build/components/types/src/scripts/modules/SpacePreview/index.d.ts +1 -1
- package/build/components/types/src/utils/hooks.d.ts +1 -1
- package/build/components/types/src/utils/index.d.ts +2 -2
- package/build/lib/base.css +1 -1
- package/build/lib/base.css.map +1 -1
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/footer.js +1 -1
- package/build/lib/footer.js.map +1 -1
- package/build/lib/megamenu.js +1 -1
- package/build/lib/megamenu.js.map +1 -1
- package/build/lib/scripts.js +1 -1
- package/build/lib/scripts.js.map +1 -1
- package/build/lib/style.css +1 -1
- package/build/lib/style.css.map +1 -1
- package/build/lib/tsconfig.tsbuildinfo +1 -1
- package/build/sprite.svg +1 -1
- package/package.json +39 -30
- package/src/assets/icons/discount-price.svg +4 -0
- package/src/components/Accordion/Accordion.static.ts +44 -1
- package/src/components/Accordion/Accordion.tsx +2 -3
- package/src/components/Accordion/AccordionHeader.tsx +1 -1
- package/src/components/Accordion/AccordionItem.tsx +2 -1
- package/src/components/Accordion/HeadingContext.tsx +1 -1
- package/src/components/Accordion/tests/Accordion.unit.test.jsx +112 -4
- package/src/components/Alert/Alert.tsx +3 -4
- package/src/components/Alert/tests/Alert.conformance.test.jsx +2 -3
- package/src/components/Alert/tests/Alert.test.jsx +1 -1
- package/src/components/Alert/tests/Alert.visual.test.jsx +1 -2
- package/src/components/AnchorNavigation/AnchorNavigation.tsx +3 -3
- package/src/components/AnchorNavigation/tests/AnchorNavigation.conformance.test.jsx +1 -1
- package/src/components/Bar/Bar.tsx +1 -1
- package/src/components/Bar/BarBreak.tsx +1 -1
- package/src/components/Bar/BarItem.tsx +1 -1
- package/src/components/Bar/index.ts +1 -1
- package/src/components/Bar/tests/Bar.conformance.test.jsx +1 -1
- package/src/components/BlockAction/BlockAction.tsx +1 -1
- package/src/components/BlockAction/BlockActionControl.tsx +2 -3
- package/src/components/BlockAction/BlockActionIndicator.tsx +2 -3
- package/src/components/BlockAction/CloneElementWithClassName.tsx +1 -1
- package/src/components/BlockAction/Context.tsx +1 -1
- package/src/components/BlockAction/index.tsx +3 -8
- package/src/components/BlockAction/styles/config.scss +6 -6
- package/src/components/BlockAction/tests/BlockActionControl.unit.test.jsx +1 -1
- package/src/components/BodyBanner/BodyBanner.tsx +2 -2
- package/src/components/BodyBanner/tests/BodyBanner.conformance.test.jsx +1 -1
- package/src/components/Breadcrumbs/BreadcrumbItem.tsx +1 -1
- package/src/components/Breadcrumbs/tests/Breadcrumbs.conformance.test.jsx +1 -1
- package/src/components/Button/Button.tsx +1 -1
- package/src/components/Button/IconButton.tsx +7 -3
- package/src/components/Button/index.tsx +1 -3
- package/src/components/Button/tests/Button.conformance.test.jsx +1 -2
- package/src/components/Button/tests/Button.test.jsx +0 -1
- package/src/components/Button/tests/IconButton.unit.test.jsx +0 -1
- package/src/components/Buttons/tests/Buttons.conformance.test.jsx +1 -1
- package/src/components/Card/Card.tsx +1 -1
- package/src/components/Card/CardProductHeader.tsx +1 -1
- package/src/components/Card/CardSection.tsx +1 -1
- package/src/components/Card/index.ts +2 -2
- package/src/components/Card/tests/Card.conformance.test.jsx +2 -2
- package/src/components/Card/tests/CardProductHeader.unit.test.jsx +1 -1
- package/src/components/Carousel/Carousel.static.ts +15 -15
- package/src/components/Carousel/Carousel.tsx +9 -11
- package/src/components/Carousel/CarouselItem.tsx +1 -1
- package/src/components/Carousel/tests/Carousel.conformance.test.jsx +2 -4
- package/src/components/CarouselHero/CarouselHero.static.ts +15 -15
- package/src/components/CarouselHero/CarouselHero.tsx +12 -13
- package/src/components/CarouselHero/CarouselHeroItem.tsx +2 -2
- package/src/components/CarouselHero/index.ts +1 -1
- package/src/components/CarouselHero/tests/CarouselHeroItem.conformance.test.jsx +1 -1
- package/src/components/CarouselPromotions/CarouselPromotions.static.ts +10 -10
- package/src/components/CarouselPromotions/CarouselPromotions.tsx +6 -7
- package/src/components/CarouselPromotions/CarouselPromotionsItem.tsx +3 -3
- package/src/components/CarouselPromotions/tests/CarouselPromotions.conformance.test.jsx +1 -3
- package/src/components/CarouselPromotions/tests/CarouselPromotions.unit.test.jsx +1 -2
- package/src/components/CartTable/CartTable.tsx +3 -4
- package/src/components/CartTable/FooterPriceColumn.tsx +1 -1
- package/src/components/CartTable/Price.tsx +1 -1
- package/src/components/CartTable/data.ts +1 -1
- package/src/components/CartTable/generateFooter.tsx +1 -1
- package/src/components/CartTable/generateRow.tsx +6 -8
- package/src/components/CartTable/styles/mixins.scss +46 -49
- package/src/components/CartTable/tests/CartTable.conformance.test.jsx +1 -1
- package/src/components/Code/Code.tsx +1 -1
- package/src/components/Container/Container.tsx +1 -1
- package/src/components/Container/styles/config.scss +2 -2
- package/src/components/Container/styles/mixins.scss +4 -4
- package/src/components/Container/tests/Container.unit.test.jsx +3 -2
- package/src/components/Controls/Controls.tsx +1 -1
- package/src/components/Controls/tests/Controls.test.jsx +2 -2
- package/src/components/Cover/Cover.tsx +1 -1
- package/src/components/Cover/index.ts +1 -0
- package/src/components/Cover/tests/Cover.conformance.test.jsx +8 -9
- package/src/components/Cover/tests/Cover.unit.test.jsx +0 -1
- package/src/components/Divider/Divider.tsx +1 -1
- package/src/components/Divider/tests/Divider.conformance.test.jsx +1 -1
- package/src/components/DocumentationSidebar/DocumentationSidebar.tsx +7 -7
- package/src/components/DocumentationSidebar/index.ts +2 -2
- package/src/components/Dropdown/Dropdown.static.ts +1 -1
- package/src/components/Dropdown/Dropdown.tsx +3 -5
- package/src/components/Dropdown/DropdownDivider.tsx +1 -1
- package/src/components/Dropdown/DropdownItem.tsx +1 -1
- package/src/components/Dropdown/DropdownToggleButton.tsx +1 -1
- package/src/components/Dropdown/index.ts +1 -1
- package/src/components/Dropdown/tests/Dropdown.conformance.test.jsx +2 -2
- package/src/components/Dropdown/tests/Dropdown.unit.test.jsx +1 -2
- package/src/components/Expander/Expander.tsx +1 -1
- package/src/components/Expander/tests/Expander.conformance.test.jsx +2 -4
- package/src/components/Expander/tests/Expander.unit.test.jsx +2 -4
- package/src/components/FeatureAccordion/FeatureAccordion.tsx +2 -2
- package/src/components/FeatureAccordion/FeatureAccordionItem.tsx +2 -1
- package/src/components/FeatureAccordion/tests/FeatureAccordion.conformance.test.jsx +1 -1
- package/src/components/FeatureAccordion/tests/FeatureAccordion.unit.test.jsx +2 -3
- package/src/components/Footer/Footer.tsx +4 -5
- package/src/components/Footer/static.ts +2 -2
- package/src/components/Footer/tests/Footer.unit.test.jsx +1 -1
- package/src/components/Forms/Autocomplete/Autocomplete.static.ts +1 -0
- package/src/components/Forms/Autocomplete/Autocomplete.tsx +8 -3
- package/src/components/Forms/Autocomplete/styles/config.scss +3 -3
- package/src/components/Forms/Checkbox/Checkbox.tsx +1 -1
- package/src/components/Forms/Checkbox/styles/mixins.scss +2 -2
- package/src/components/Forms/DatePicker/DatePicker.tsx +1 -2
- package/src/components/Forms/Field/Control.tsx +3 -3
- package/src/components/Forms/Field/Description.tsx +1 -1
- package/src/components/Forms/Field/Field.tsx +4 -4
- package/src/components/Forms/Field/Label.tsx +1 -1
- package/src/components/Forms/Field/Messages.tsx +2 -2
- package/src/components/Forms/Field/tests/Autocomplete.Field.conformance.test.jsx +1 -1
- package/src/components/Forms/Field/tests/Checkbox.Field.conformance.test.jsx +1 -1
- package/src/components/Forms/Field/tests/File.Field.conformance.test.jsx +1 -1
- package/src/components/Forms/Field/tests/Group.Field.conformance.test.jsx +1 -1
- package/src/components/Forms/Field/tests/Radio.Field.conformance.test.jsx +1 -1
- package/src/components/Forms/Field/tests/Rangeslider.Field.test.jsx +1 -1
- package/src/components/Forms/Field/tests/Select.Field.conformance.test.jsx +1 -1
- package/src/components/Forms/Field/tests/Text.Field.conformance.test.jsx +1 -1
- package/src/components/Forms/Field/tests/Textarea.Field.conformance.test.jsx +1 -1
- package/src/components/Forms/Field/tests/Tooltip.unit.test.jsx +1 -2
- package/src/components/Forms/Fieldset/Fieldset.tsx +1 -1
- package/src/components/Forms/File/File.tsx +4 -7
- package/src/components/Forms/File/styles/config.scss +5 -5
- package/src/components/Forms/Group/Group.tsx +2 -3
- package/src/components/Forms/Group/Item.tsx +1 -1
- package/src/components/Forms/Hint/Hint.tsx +1 -1
- package/src/components/Forms/Hint/styles/config.scss +1 -1
- package/src/components/Forms/Hint/styles/mixins.scss +2 -2
- package/src/components/Forms/InputStepper/InputStepper.tsx +1 -1
- package/src/components/Forms/Label/Label.tsx +1 -1
- package/src/components/Forms/Label/styles/mixins.scss +2 -2
- package/src/components/Forms/Message/Message.tsx +9 -5
- package/src/components/Forms/Radio/Radio.tsx +1 -1
- package/src/components/Forms/Radio/styles/mixins.scss +2 -2
- package/src/components/Forms/RangeSlider/RangeSlider.tsx +1 -1
- package/src/components/Forms/Select/Select.tsx +1 -1
- package/src/components/Forms/Select/styles/mixins.scss +6 -6
- package/src/components/Forms/TextArea/TextArea.tsx +1 -1
- package/src/components/Forms/TextInput/TextInput.tsx +3 -5
- package/src/components/Forms/TextInput/styles/mixins.scss +10 -10
- package/src/components/Forms/index.ts +1 -1
- package/src/components/Gauge/Gauge.tsx +1 -1
- package/src/components/Gauge/GaugeMaker.tsx +3 -3
- package/src/components/Gauge/tests/Gauge.unit.test.jsx +0 -1
- package/src/components/Grid/Grid.tsx +1 -1
- package/src/components/Grid/GridCol.tsx +21 -10
- package/src/components/Grid/tests/Grid.unit.test.jsx +0 -1
- package/src/components/Grid/tests/GridCol.unit.test.jsx +0 -1
- package/src/components/Hero/Hero.tsx +1 -1
- package/src/components/Hero/styles/config.scss +0 -1
- package/src/components/Hero/tests/Hero.conformance.test.jsx +1 -2
- package/src/components/Hero/tests/Hero.unit.test.jsx +0 -1
- package/src/components/Hero/tests/data.js +26 -26
- package/src/components/Icon/Icon.tsx +1 -1
- package/src/components/Icon/IconSearch.jsx +4 -4
- package/src/components/Icon/PictogramSearch.jsx +3 -14
- package/src/components/Icon/iconSearchTags.ts +1 -0
- package/src/components/Icon/index.ts +1 -2
- package/src/components/Icon/styles/export/size.scss +2 -2
- package/src/components/Icon/styles/mixins.scss +3 -3
- package/src/components/Icon/styles/style.scss +30 -0
- package/src/components/Icon/tests/Icon.conformance.test.jsx +1 -2
- package/src/components/Icon/tests/Icon.unit.test.jsx +1 -3
- package/src/components/Icon/tests/Pictogram.unit.test.jsx +1 -2
- package/src/components/IconList/IconList.tsx +1 -1
- package/src/components/IconList/Item.tsx +15 -11
- package/src/components/IconList/styles/config.scss +2 -2
- package/src/components/IconList/styles/style.scss +1 -1
- package/src/components/IconList/tests/IconList.conformance.test.jsx +1 -2
- package/src/components/IconList/tests/IconList.unit.test.jsx +29 -26
- package/src/components/Image/Image.tsx +1 -1
- package/src/components/Image/tests/Image.conformance.test.jsx +1 -1
- package/src/components/Image/tests/Image.unit.test.jsx +0 -1
- package/src/components/Link/Link.tsx +1 -1
- package/src/components/Link/tests/Link.conformance.test.jsx +1 -1
- package/src/components/Link/tests/Link.unit.test.jsx +1 -1
- package/src/components/List/ClickableControl.tsx +12 -12
- package/src/components/List/List.tsx +13 -13
- package/src/components/List/ListItem.tsx +11 -11
- package/src/components/List/tests/ClickableControl.unit.test.jsx +0 -1
- package/src/components/List/tests/List.conformance.test.jsx +16 -17
- package/src/components/List/tests/ListItem.unit.test.jsx +46 -47
- package/src/components/Loader/Loader.tsx +1 -1
- package/src/components/Loader/LoaderFullscreen.tsx +32 -0
- package/src/components/Loader/index.ts +1 -0
- package/src/components/Loader/styles/config.scss +5 -5
- package/src/components/Loader/styles/mixins.scss +24 -0
- package/src/components/Loader/styles/style.scss +9 -0
- package/src/components/Loader/tests/Loader.conformance.test.jsx +1 -1
- package/src/components/Loader/tests/LoaderFullscreen.conformance.test.jsx +21 -0
- package/src/components/Loader/tests/LoaderFullscreen.unit.test.jsx +41 -0
- package/src/components/Loader/tests/test.scss +1 -1
- package/src/components/Megamenu/MegaMenuIcon.tsx +1 -1
- package/src/components/Megamenu/Megamenu.static.ts +5 -5
- package/src/components/Megamenu/Megamenu.tsx +28 -29
- package/src/components/Megamenu/MegamenuBlog.tsx +17 -19
- package/src/components/Megamenu/MegamenuSearchContent.tsx +2 -2
- package/src/components/Megamenu/MyOrangeMobilePanel.tsx +11 -12
- package/src/components/Megamenu/index.ts +1 -1
- package/src/components/Megamenu/static.ts +2 -2
- package/src/components/Modal/Modal.tsx +3 -4
- package/src/components/Modal/ModalBody.tsx +1 -1
- package/src/components/Modal/ModalCloseButton.tsx +1 -1
- package/src/components/Modal/ModalProductFooter.tsx +1 -1
- package/src/components/Modal/ModalProductHeader.tsx +1 -1
- package/src/components/Modal/index.ts +2 -2
- package/src/components/Modal/tests/Modal.conformance.test.jsx +2 -3
- package/src/components/Modal/tests/Modal.unit.test.jsx +0 -1
- package/src/components/Modal/tests/ModalProductHeader.unit.test.jsx +0 -1
- package/src/components/Modal/tests/ModalTitle.unit.test.jsx +0 -1
- package/src/components/Pagination/Pagination.tsx +2 -3
- package/src/components/Pagination/PaginationItem.tsx +1 -1
- package/src/components/Pagination/Separator.tsx +1 -1
- package/src/components/Pagination/helpers.ts +6 -1
- package/src/components/Pagination/tests/Item.unit.test.jsx +38 -39
- package/src/components/Pagination/tests/Pagination.conformance.test.jsx +7 -8
- package/src/components/Pagination/tests/Pagination.unit.test.jsx +39 -40
- package/src/components/Pagination/tests/Separator.unit.test.jsx +10 -11
- package/src/components/Pill/Pill.tsx +1 -1
- package/src/components/Pill/tests/Pill.conformance.test.jsx +1 -1
- package/src/components/Preview/CodeExample.tsx +6 -9
- package/src/components/Preview/Preview.tsx +2 -1
- package/src/components/Preview/PreviewGenerator.tsx +8 -8
- package/src/components/Preview/PreviewTitleBar.tsx +1 -1
- package/src/components/Preview/index.tsx +1 -1
- package/src/components/Progress/Progress.tsx +1 -1
- package/src/components/Progress/index.ts +1 -1
- package/src/components/Progress/tests/Progress.conformance.test.jsx +6 -7
- package/src/components/Progress/tests/Progress.unit.test.jsx +42 -39
- package/src/components/PromoBanner/PromoBanner.tsx +1 -1
- package/src/components/PromoBanner/styles/style.scss +2 -2
- package/src/components/PromoBanner/tests/PromoBanner.conformance.test.jsx +1 -2
- package/src/components/PromoBanner/tests/PromoBanner.unit.test.jsx +0 -1
- package/src/components/PromotionCard/PromotionCard.tsx +1 -1
- package/src/components/PromotionCard/PromotionCardContent.tsx +8 -8
- package/src/components/PromotionCard/PromotionCardImageWrapper.tsx +7 -9
- package/src/components/PromotionCard/PromotionCardSection.tsx +1 -1
- package/src/components/PromotionCard/PromotionCardTitle.tsx +11 -11
- package/src/components/PromotionCard/constants.ts +2 -2
- package/src/components/PromotionCard/styles/config.scss +2 -4
- package/src/components/PromotionCard/tests/PromotionCard.conformance.test.jsx +1 -2
- package/src/components/PromotionCard/tests/PromotionCard.unit.test.jsx +0 -1
- package/src/components/Section/Section.tsx +1 -1
- package/src/components/Section/tests/Section.conformance.test.jsx +1 -2
- package/src/components/Section/tests/Section.unit.test.jsx +0 -1
- package/src/components/Skeleton/Skeleton.tsx +1 -1
- package/src/components/Skeleton/styles/mixins.scss +3 -3
- package/src/components/Skeleton/tests/Skeleton.conformance.test.jsx +1 -1
- package/src/components/SkipLink/SkipLink.tsx +1 -1
- package/src/components/SkipLink/tests/SkipLink.unit.test.jsx +0 -4
- package/src/components/SocialButton/SocialButton.tsx +1 -1
- package/src/components/SocialButton/tests/SocialButton.unit.test.jsx +1 -1
- package/src/components/Stepbar/Stepbar.tsx +1 -1
- package/src/components/Stepbar/tests/Stepbar.conformance.test.jsx +1 -1
- package/src/components/Sticker/Sticker.tsx +14 -8
- package/src/components/Sticker/index.ts +1 -0
- package/src/components/Sticker/styles/mixins.scss +2 -2
- package/src/components/Sticker/tests/Sticker.conformance.test.jsx +5 -6
- package/src/components/Sticker/tests/Sticker.unit.test.jsx +16 -19
- package/src/components/Table/Header.tsx +1 -2
- package/src/components/Table/Row.tsx +1 -2
- package/src/components/Table/Rows.tsx +1 -2
- package/src/components/Table/Table.tsx +4 -5
- package/src/components/Table/docsData.ts +0 -1
- package/src/components/Table/index.ts +1 -1
- package/src/components/Table/styles/mixins.scss +5 -0
- package/src/components/Table/tests/Footer.unit.test.jsx +1 -2
- package/src/components/Table/tests/Header.unit.test.jsx +1 -2
- package/src/components/Table/tests/Row.unit.test.jsx +1 -2
- package/src/components/Table/tests/Rows.unit.test.jsx +1 -2
- package/src/components/Table/tests/Table.conformance.test.jsx +6 -6
- package/src/components/Table/tests/Table.unit.test.jsx +1 -1
- package/src/components/Tabs/Tabs.tsx +2 -2
- package/src/components/Tabs/index.ts +2 -2
- package/src/components/Tabs/tests/Tabs.unit.test.jsx +2 -3
- package/src/components/Tag/Tag.tsx +1 -1
- package/src/components/Tag/TagButton.tsx +1 -1
- package/src/components/Tag/index.ts +1 -1
- package/src/components/Tag/styles/mixins.scss +1 -1
- package/src/components/Tag/tests/Tag.conformance.test.jsx +2 -3
- package/src/components/Tag/tests/Tag.unit.test.jsx +1 -3
- package/src/components/Tag/tests/TagButton.conformance.test.jsx +1 -1
- package/src/components/Tag/tests/TagButton.unit.test.jsx +1 -1
- package/src/components/Testimonial/Testimonial.tsx +15 -15
- package/src/components/Testimonial/styles/config.scss +25 -22
- package/src/components/Testimonial/styles/mixins.scss +36 -32
- package/src/components/Testimonial/tests/Testimonial.conformance.test.jsx +5 -6
- package/src/components/Testimonial/tests/Testimonial.unit.test.jsx +22 -23
- package/src/components/Tile/Tile.tsx +2 -3
- package/src/components/Tile/tests/Tile.conformance.test.jsx +1 -1
- package/src/components/Tooltip/InfoTooltip.tsx +1 -1
- package/src/components/Tooltip/Tooltip.static.ts +100 -66
- package/src/components/Tooltip/Tooltip.tsx +2 -3
- package/src/components/Tooltip/index.ts +1 -1
- package/src/components/Tooltip/styles/mixins.scss +14 -13
- package/src/components/Tooltip/tests/Tooltip.conformance.test.jsx +1 -1
- package/src/components/Tooltip/tests/Tooltip.unit.test.jsx +43 -34
- package/src/components/index.ts +41 -40
- package/src/styles/base/globals.scss +17 -1
- package/src/styles/export/breakpoint.scss +1 -1
- package/src/styles/export/breakpoint.ts +7 -7
- package/src/styles/export/space.scss +1 -1
- package/src/styles/tokens/breakpoint.scss +64 -49
- package/src/styles/tokens/space.scss +9 -9
- package/src/styles/tools/generate.scss +6 -6
- package/src/styles/tools/layout.scss +3 -3
- package/src/styles/tools/map.scss +2 -2
- package/src/styles/tools/text.scss +1 -1
- package/src/styles/utilities/index.scss +7 -7
- package/build/search-index.json +0 -426
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use "../../../styles/tokens/breakpoint";
|
|
2
|
+
@use "./config";
|
|
3
3
|
|
|
4
4
|
@mixin base {
|
|
5
|
-
|
|
5
|
+
height: 100%;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
thead tr {
|
|
8
|
+
border-bottom: config.$table-header-border;
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
10
|
+
th {
|
|
11
|
+
border-bottom: 0;
|
|
13
12
|
}
|
|
13
|
+
}
|
|
14
14
|
|
|
15
|
-
@include breakpoint.get(
|
|
16
|
-
|
|
15
|
+
@include breakpoint.get("xs", "down") {
|
|
17
16
|
tr {
|
|
18
17
|
display: flex;
|
|
19
18
|
flex-wrap: wrap;
|
|
@@ -31,7 +30,7 @@
|
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
|
|
34
|
-
@include breakpoint.get(
|
|
33
|
+
@include breakpoint.get("md") {
|
|
35
34
|
td,
|
|
36
35
|
th {
|
|
37
36
|
padding-right: config.$default-spacing !important;
|
|
@@ -55,11 +54,11 @@
|
|
|
55
54
|
td:empty,
|
|
56
55
|
th:empty {
|
|
57
56
|
padding: 0 !important;
|
|
58
|
-
}
|
|
57
|
+
}
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
@mixin product {
|
|
62
|
-
@include breakpoint.get(
|
|
61
|
+
@include breakpoint.get("xs", "down") {
|
|
63
62
|
flex-basis: config.$product-size;
|
|
64
63
|
flex-grow: 1;
|
|
65
64
|
|
|
@@ -71,71 +70,69 @@
|
|
|
71
70
|
flex-basis: auto;
|
|
72
71
|
max-width: none;
|
|
73
72
|
}
|
|
74
|
-
}
|
|
73
|
+
}
|
|
75
74
|
}
|
|
76
75
|
|
|
77
76
|
@mixin discount-position--top {
|
|
78
|
-
|
|
77
|
+
margin-top: config.$default-spacing;
|
|
79
78
|
}
|
|
80
79
|
|
|
81
80
|
@mixin discount-position--left {
|
|
82
|
-
|
|
81
|
+
padding-left: config.$subitem-discount-spacing;
|
|
83
82
|
}
|
|
84
83
|
|
|
85
84
|
@mixin subitem-position {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
margin-left: config.$mobile-spacing;
|
|
86
|
+
@include breakpoint.get("md") {
|
|
87
|
+
margin-left: config.$default-spacing;
|
|
88
|
+
}
|
|
90
89
|
}
|
|
91
90
|
|
|
92
91
|
@mixin button {
|
|
93
|
-
|
|
92
|
+
font-size: config.$button-font-size !important;
|
|
93
|
+
|
|
94
|
+
svg {
|
|
95
|
+
margin-right: -#{config.$button-margin};
|
|
96
|
+
margin-left: -#{config.$button-margin};
|
|
97
|
+
}
|
|
94
98
|
|
|
99
|
+
@include breakpoint.get("md") {
|
|
95
100
|
svg {
|
|
96
|
-
margin-right:
|
|
97
|
-
margin-left: -#{config.$button-margin};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@include breakpoint.get('md') {
|
|
101
|
-
svg {
|
|
102
|
-
margin-right: config.$button-margin !important;
|
|
103
|
-
}
|
|
101
|
+
margin-right: config.$button-margin !important;
|
|
104
102
|
}
|
|
103
|
+
}
|
|
105
104
|
}
|
|
106
105
|
|
|
107
106
|
@mixin price {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
tfoot & {
|
|
119
|
-
flex-basis: auto;
|
|
120
|
-
padding-top: config.$default-spacing !important;
|
|
121
|
-
padding-bottom: config.$default-spacing !important;
|
|
122
|
-
}
|
|
107
|
+
@include breakpoint.get("xs", "down") {
|
|
108
|
+
padding-top: 0 !important;
|
|
109
|
+
order: 1;
|
|
110
|
+
flex-basis: 100%;
|
|
111
|
+
|
|
112
|
+
thead & {
|
|
113
|
+
display: none;
|
|
114
|
+
border-bottom: 0;
|
|
123
115
|
}
|
|
116
|
+
|
|
117
|
+
tfoot & {
|
|
118
|
+
flex-basis: auto;
|
|
119
|
+
padding-top: config.$default-spacing !important;
|
|
120
|
+
padding-bottom: config.$default-spacing !important;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
124
123
|
}
|
|
125
124
|
|
|
126
125
|
@mixin large {
|
|
127
126
|
th,
|
|
128
127
|
td {
|
|
129
|
-
|
|
130
|
-
@include breakpoint.get('md') {
|
|
128
|
+
@include breakpoint.get("md") {
|
|
131
129
|
padding: config.$default-spacing !important;
|
|
132
|
-
|
|
133
130
|
}
|
|
134
131
|
}
|
|
135
132
|
|
|
136
133
|
font-size: config.$large-font-size--mobile;
|
|
137
134
|
|
|
138
|
-
@include breakpoint.get(
|
|
135
|
+
@include breakpoint.get("md") {
|
|
139
136
|
font-size: config.$large-font-size--desktop;
|
|
140
137
|
}
|
|
141
|
-
}
|
|
138
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use "../../../styles/tokens/space";
|
|
2
2
|
|
|
3
3
|
$container-widths: (
|
|
4
4
|
// containers on xs and md breakpoints are fluid
|
|
@@ -8,4 +8,4 @@ $container-widths: (
|
|
|
8
8
|
xxl: 1320px
|
|
9
9
|
);
|
|
10
10
|
|
|
11
|
-
$container-padding: space.get(
|
|
11
|
+
$container-padding: space.get("small");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
@use
|
|
1
|
+
@use "./../../../styles/tools/generate";
|
|
2
|
+
@use "./../../../styles/tokens/breakpoint";
|
|
3
|
+
@use "./config";
|
|
4
4
|
|
|
5
5
|
@mixin base {
|
|
6
6
|
width: 100%;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
> *:last-child{
|
|
19
|
+
> *:last-child {
|
|
20
20
|
margin-bottom: 0;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -24,9 +24,10 @@
|
|
|
24
24
|
* - Handles array of children
|
|
25
25
|
* - Handles React elements as children
|
|
26
26
|
*/
|
|
27
|
-
|
|
28
|
-
import { render, screen
|
|
27
|
+
|
|
28
|
+
import { fireEvent, render, screen } from "@testing-library/react";
|
|
29
29
|
import userEvent from "@testing-library/user-event";
|
|
30
|
+
import React from "react";
|
|
30
31
|
|
|
31
32
|
import { Container } from "../";
|
|
32
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { render, screen, fireEvent } from "@testing-library/react";
|
|
1
|
+
import { fireEvent, render, screen } from "@testing-library/react";
|
|
3
2
|
import userEvent from "@testing-library/user-event";
|
|
3
|
+
import React from "react";
|
|
4
4
|
import "@testing-library/jest-dom/vitest";
|
|
5
5
|
import { Controls } from "../Controls";
|
|
6
6
|
|
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { axe } from 'vitest-axe';
|
|
1
|
+
import { render } from "@testing-library/react";
|
|
2
|
+
import { axe } from "vitest-axe";
|
|
4
3
|
|
|
5
|
-
import { Cover } from
|
|
4
|
+
import { Cover } from "../";
|
|
6
5
|
|
|
7
6
|
const example = (
|
|
8
7
|
<>
|
|
9
8
|
<Cover bgSrc="https://placehold.co/800x150" />;
|
|
10
9
|
<Cover
|
|
11
10
|
bgSrc={{
|
|
12
|
-
default:
|
|
13
|
-
lg:
|
|
14
|
-
md:
|
|
11
|
+
default: "https://placehold.co/800x300",
|
|
12
|
+
lg: "https://placehold.co/2560x1000",
|
|
13
|
+
md: "https://placehold.co/1200x500",
|
|
15
14
|
}}
|
|
16
15
|
/>
|
|
17
16
|
</>
|
|
18
17
|
);
|
|
19
18
|
|
|
20
|
-
it(
|
|
19
|
+
it("is valid html", () => {
|
|
21
20
|
const { container } = render(example);
|
|
22
21
|
expect(container).toHTMLValidate();
|
|
23
22
|
});
|
|
24
23
|
|
|
25
|
-
it(
|
|
24
|
+
it("is accessible", async () => {
|
|
26
25
|
const { container } = render(example);
|
|
27
26
|
expect(await axe(container)).toHaveNoViolations();
|
|
28
27
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import React from "react";
|
|
4
3
|
import cx from "classnames";
|
|
5
|
-
import { usePathname, useRouter } from "next/navigation";
|
|
6
|
-
import Link from "next/link";
|
|
7
4
|
import MiniSearch from "minisearch";
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
5
|
+
import Link from "next/link";
|
|
6
|
+
import { usePathname, useRouter } from "next/navigation";
|
|
7
|
+
import React from "react";
|
|
11
8
|
import packageJson from "../../../package.json";
|
|
9
|
+
import { TextInput } from "../Forms/TextInput";
|
|
10
|
+
import { Icon } from "../Icon";
|
|
11
|
+
import { Image } from "../Image";
|
|
12
12
|
|
|
13
13
|
export interface DocumentationSidebarItem {
|
|
14
14
|
label: string;
|
|
@@ -254,7 +254,7 @@ export const DocumentationSidebar: React.FC<DocumentationSidebarProps> = (
|
|
|
254
254
|
const mergedItems = mergeSearchIndex(items, indexData);
|
|
255
255
|
const updatedSearch = initializeSearch(mergedItems);
|
|
256
256
|
setMiniSearch(updatedSearch);
|
|
257
|
-
} catch (
|
|
257
|
+
} catch (_err) {
|
|
258
258
|
// Search index not found or fetch failed, continue with menu items only
|
|
259
259
|
console.debug("Search index not available, using menu items only");
|
|
260
260
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./styles/style.scss";
|
|
2
2
|
|
|
3
|
-
export { DocumentationSidebar } from "./DocumentationSidebar";
|
|
4
3
|
export type {
|
|
5
|
-
DocumentationSidebarProps,
|
|
6
4
|
DocumentationSidebarItem,
|
|
5
|
+
DocumentationSidebarProps,
|
|
7
6
|
} from "./DocumentationSidebar";
|
|
7
|
+
export { DocumentationSidebar } from "./DocumentationSidebar";
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import React, { ReactNode } from "react";
|
|
4
3
|
import cx from "classnames";
|
|
5
|
-
|
|
4
|
+
import React, { ReactNode } from "react";
|
|
5
|
+
import { useStatic } from "@/utils/hooks";
|
|
6
6
|
import { Bar, BarItem } from "../Bar";
|
|
7
7
|
import { IconButton } from "../Button";
|
|
8
|
-
|
|
8
|
+
import { ButtonProps } from "../Button/Button";
|
|
9
9
|
import DropdownButtonStatic from "./Dropdown.static";
|
|
10
10
|
import { DropdownToggleButton } from "./DropdownToggleButton";
|
|
11
|
-
import { useStatic } from "@/utils/hooks";
|
|
12
|
-
import { ButtonProps } from "../Button/Button";
|
|
13
11
|
|
|
14
12
|
export const CLASS_ROOT = "dropdown";
|
|
15
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { render } from "@testing-library/react";
|
|
2
|
-
import { axe } from
|
|
2
|
+
import { axe } from "vitest-axe";
|
|
3
3
|
|
|
4
|
-
import { Dropdown,
|
|
4
|
+
import { Dropdown, DropdownDivider, DropdownItem } from "../";
|
|
5
5
|
|
|
6
6
|
const example = (
|
|
7
7
|
<>
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { render, screen } from "@testing-library/react";
|
|
2
|
+
import { DropdownDivider, DropdownItem } from "../";
|
|
3
3
|
import { Dropdown } from "../Dropdown";
|
|
4
|
-
import { DropdownItem, DropdownDivider } from "../";
|
|
5
4
|
|
|
6
5
|
describe("Dropdown Component Unit Tests", () => {
|
|
7
6
|
it("renders with base class", () => {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { render } from "@testing-library/react";
|
|
3
|
-
import { axe } from
|
|
4
|
-
|
|
5
|
-
import { Expander } from "../Expander";
|
|
2
|
+
import { axe } from "vitest-axe";
|
|
6
3
|
import { Icon } from "../../Icon";
|
|
4
|
+
import { Expander } from "../Expander";
|
|
7
5
|
|
|
8
6
|
const example = (
|
|
9
7
|
<>
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { render, screen, fireEvent } from "@testing-library/react";
|
|
3
|
-
|
|
4
|
-
import { Expander } from "../Expander";
|
|
1
|
+
import { fireEvent, render, screen } from "@testing-library/react";
|
|
5
2
|
import { Icon } from "../../Icon";
|
|
3
|
+
import { Expander } from "../Expander";
|
|
6
4
|
|
|
7
5
|
describe("Expander", () => {
|
|
8
6
|
it("renders basic expander with summary text", () => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
+
import cx from "classnames";
|
|
3
4
|
import React, { RefCallback, useMemo } from "react";
|
|
5
|
+
import { useStatic } from "../../utils/hooks";
|
|
4
6
|
import { Accordion } from "../Accordion/Accordion";
|
|
5
7
|
import { Grid } from "../Grid/Grid";
|
|
6
8
|
import { GridCol } from "../Grid/GridCol";
|
|
7
9
|
import { Image } from "../Image";
|
|
8
|
-
import cx from "classnames";
|
|
9
|
-
import { useStatic } from "../../utils/hooks";
|
|
10
10
|
import FeatureAccordionStatic from "./FeatureAccordion.static";
|
|
11
11
|
|
|
12
12
|
const CLASS_ROOT = "feature-accordion";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import React from "react";
|
|
4
3
|
import cx from "classnames";
|
|
4
|
+
import React from "react";
|
|
5
5
|
import { AccordionItem, AccordionItemProps } from "../Accordion/AccordionItem";
|
|
6
6
|
|
|
7
7
|
const CLASS_ROOT = "feature-accordion__item";
|
|
@@ -41,4 +41,5 @@ const FeatureAccordionItem: React.FC<FeatureAccordionItemProps> = ({
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
FeatureAccordionItem.displayName = "FeatureAccordionItem";
|
|
44
|
+
|
|
44
45
|
export { FeatureAccordionItem };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { render, fireEvent, screen } from "@testing-library/react";
|
|
1
|
+
import { fireEvent, render, screen } from "@testing-library/react";
|
|
3
2
|
import { FeatureAccordion } from "../FeatureAccordion";
|
|
4
|
-
import { FeatureAccordionItem } from "../FeatureAccordionItem";
|
|
5
3
|
import FeatureAccordionStatic from "../FeatureAccordion.static";
|
|
4
|
+
import { FeatureAccordionItem } from "../FeatureAccordionItem";
|
|
6
5
|
|
|
7
6
|
// Helper function to initialize feature accordion static behavior
|
|
8
7
|
const initializeFeatureAccordion = (container) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import cx from "classnames";
|
|
3
|
-
|
|
4
|
-
import
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { SocialButton } from "../SocialButton";
|
|
5
4
|
import {
|
|
6
5
|
CLASS_ACCORDION_ICON,
|
|
7
6
|
CLASS_ACCORDION_TOGGLE,
|
|
@@ -15,8 +14,8 @@ import {
|
|
|
15
14
|
CLASS_LIST_BREAK_SM_DOWN,
|
|
16
15
|
CLASS_LIST_INLINE,
|
|
17
16
|
CLASS_LIST_ITEM_LEAD,
|
|
18
|
-
CLASS_LIST_STACK_SM_DOWN,
|
|
19
17
|
CLASS_LIST_SPACE_SMALL,
|
|
18
|
+
CLASS_LIST_STACK_SM_DOWN,
|
|
20
19
|
CLASS_LOGO,
|
|
21
20
|
CLASS_MB_LARGE,
|
|
22
21
|
CLASS_MENU,
|
|
@@ -24,7 +23,7 @@ import {
|
|
|
24
23
|
CLASS_ROOT,
|
|
25
24
|
CLASS_TITLE,
|
|
26
25
|
} from "./constants";
|
|
27
|
-
import {
|
|
26
|
+
import footerData, { apps, socials } from "./data";
|
|
28
27
|
import { PlanObnovyImage } from "./PlanObnovy";
|
|
29
28
|
|
|
30
29
|
interface FooterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Footer from "./Footer.static";
|
|
2
1
|
import moduleFactory, {
|
|
3
|
-
initModulesWithin,
|
|
4
2
|
destroyModulesWithin,
|
|
3
|
+
initModulesWithin,
|
|
5
4
|
} from "../../scripts/lib/moduleFactory";
|
|
5
|
+
import Footer from "./Footer.static";
|
|
6
6
|
import "./styles/style.scss";
|
|
7
7
|
|
|
8
8
|
export const customFooterModuleSelectorPairs = [
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import React from "react";
|
|
4
3
|
import cx from "classnames";
|
|
4
|
+
import React from "react";
|
|
5
5
|
|
|
6
6
|
import { useStatic } from "../../../utils/hooks";
|
|
7
|
-
import AutocompleteStatic from "./Autocomplete.static";
|
|
8
7
|
import { Select } from "../Select";
|
|
8
|
+
import AutocompleteStatic from "./Autocomplete.static";
|
|
9
9
|
|
|
10
10
|
const CLASS_ROOT = "autocomplete";
|
|
11
11
|
|
|
12
12
|
export type AutocompleteOption = string | { title: string; value: string };
|
|
13
13
|
|
|
14
14
|
export interface AutocompleteProps
|
|
15
|
-
extends
|
|
15
|
+
extends Omit<
|
|
16
|
+
React.SelectHTMLAttributes<HTMLSelectElement>,
|
|
17
|
+
"size" | "value"
|
|
18
|
+
> {
|
|
16
19
|
/** Module config. For more see accessible-autocomplete docs */
|
|
17
20
|
autocompleteConfig?: Record<string, any>;
|
|
18
21
|
/** Array of string options */
|
|
@@ -21,6 +24,8 @@ export interface AutocompleteProps
|
|
|
21
24
|
placeholder?: string;
|
|
22
25
|
/** Additional CSS classes */
|
|
23
26
|
className?: string;
|
|
27
|
+
/** Select value */
|
|
28
|
+
value?: string | string[];
|
|
24
29
|
}
|
|
25
30
|
|
|
26
31
|
const Autocomplete: React.FC<AutocompleteProps> = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use "../../../../styles/tools/convert.scss";
|
|
2
|
+
@use "../../TextInput/styles/config" as textConfig;
|
|
3
3
|
|
|
4
4
|
$states: textConfig.$states;
|
|
5
5
|
$sizes: textConfig.$sizes;
|
|
6
6
|
|
|
7
|
-
$menu-height: convert.to-rem(243px);
|
|
7
|
+
$menu-height: convert.to-rem(243px);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use "../../../../styles/tools/generate";
|
|
2
|
+
@use "./config";
|