@orangesk/orange-design-system 2.0.0-beta.8 → 2.0.0
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 +358 -19
- package/build/appstore.svg +31 -0
- package/build/components/Accordion/style.css +2 -0
- package/build/components/Accordion/style.css.map +1 -0
- package/build/components/Alert/style.css +2 -0
- package/build/components/Alert/style.css.map +1 -0
- package/build/components/AnchorNavigation/style.css +2 -0
- package/build/components/AnchorNavigation/style.css.map +1 -0
- package/build/components/Bar/style.css +2 -0
- package/build/components/Bar/style.css.map +1 -0
- package/build/components/BlockAction/style.css +2 -0
- package/build/components/BlockAction/style.css.map +1 -0
- package/build/components/BodyBanner/style.css +2 -0
- package/build/components/BodyBanner/style.css.map +1 -0
- package/build/components/Breadcrumbs/style.css +2 -0
- package/build/components/Breadcrumbs/style.css.map +1 -0
- package/build/components/Button/style.css +2 -0
- package/build/components/Button/style.css.map +1 -0
- package/build/components/Buttons/style.css +2 -0
- package/build/components/Buttons/style.css.map +1 -0
- package/build/components/Card/style.css +2 -0
- package/build/components/Card/style.css.map +1 -0
- package/build/components/Carousel/style.css +2 -0
- package/build/components/Carousel/style.css.map +1 -0
- package/build/components/CarouselHero/style.css +2 -0
- package/build/components/CarouselHero/style.css.map +1 -0
- package/build/components/CarouselPromotions/style.css +2 -0
- package/build/components/CarouselPromotions/style.css.map +1 -0
- package/build/components/CartTable/style.css +2 -0
- package/build/components/CartTable/style.css.map +1 -0
- package/build/components/Code/style.css +2 -0
- package/build/components/Code/style.css.map +1 -0
- package/build/components/Container/style.css +2 -0
- package/build/components/Container/style.css.map +1 -0
- package/build/components/Controls/style.css +2 -0
- package/build/components/Controls/style.css.map +1 -0
- package/build/components/Cover/style.css +2 -0
- package/build/components/Cover/style.css.map +1 -0
- package/build/components/Divider/style.css +2 -0
- package/build/components/Divider/style.css.map +1 -0
- package/build/components/DocumentationSidebar/style.css +2 -0
- package/build/components/DocumentationSidebar/style.css.map +1 -0
- package/build/components/Dropdown/style.css +2 -0
- package/build/components/Dropdown/style.css.map +1 -0
- package/build/components/Expander/style.css +2 -0
- package/build/components/Expander/style.css.map +1 -0
- package/build/components/FeatureAccordion/style.css +2 -0
- package/build/components/FeatureAccordion/style.css.map +1 -0
- package/build/components/Footer/style.css +2 -0
- package/build/components/Footer/style.css.map +1 -0
- package/build/components/Gauge/style.css +2 -0
- package/build/components/Gauge/style.css.map +1 -0
- package/build/components/Grid/style.css +2 -0
- package/build/components/Grid/style.css.map +1 -0
- package/build/components/Hero/style.css +2 -0
- package/build/components/Hero/style.css.map +1 -0
- package/build/components/Icon/style.css +2 -0
- package/build/components/Icon/style.css.map +1 -0
- package/build/components/IconList/style.css +2 -0
- package/build/components/IconList/style.css.map +1 -0
- package/build/components/Image/style.css +2 -0
- package/build/components/Image/style.css.map +1 -0
- package/build/components/Link/style.css +2 -0
- package/build/components/Link/style.css.map +1 -0
- package/build/components/List/style.css +2 -0
- package/build/components/List/style.css.map +1 -0
- package/build/components/Loader/style.css +2 -0
- package/build/components/Loader/style.css.map +1 -0
- package/build/components/Megamenu/style.css +2 -0
- package/build/components/Megamenu/style.css.map +1 -0
- package/build/components/Modal/style.css +2 -0
- package/build/components/Modal/style.css.map +1 -0
- package/build/components/Pagination/style.css +2 -0
- package/build/components/Pagination/style.css.map +1 -0
- package/build/components/Pill/style.css +2 -0
- package/build/components/Pill/style.css.map +1 -0
- package/build/components/Preview/style.css +2 -0
- package/build/components/Preview/style.css.map +1 -0
- package/build/components/Progress/style.css +2 -0
- package/build/components/Progress/style.css.map +1 -0
- package/build/components/PromoBanner/style.css +2 -0
- package/build/components/PromoBanner/style.css.map +1 -0
- package/build/components/PromotionCard/style.css +2 -0
- package/build/components/PromotionCard/style.css.map +1 -0
- package/build/components/Section/style.css +2 -0
- package/build/components/Section/style.css.map +1 -0
- package/build/components/Skeleton/style.css +2 -0
- package/build/components/Skeleton/style.css.map +1 -0
- package/build/components/SkipLink/style.css +2 -0
- package/build/components/SkipLink/style.css.map +1 -0
- package/build/components/SocialButton/style.css +2 -0
- package/build/components/SocialButton/style.css.map +1 -0
- package/build/components/Stepbar/style.css +2 -0
- package/build/components/Stepbar/style.css.map +1 -0
- package/build/components/Sticker/style.css +2 -0
- package/build/components/Sticker/style.css.map +1 -0
- package/build/components/Table/style.css +2 -0
- package/build/components/Table/style.css.map +1 -0
- package/build/components/Tabs/style.css +2 -0
- package/build/components/Tabs/style.css.map +1 -0
- package/build/components/Tag/style.css +2 -0
- package/build/components/Tag/style.css.map +1 -0
- package/build/components/Testimonial/style.css +2 -0
- package/build/components/Testimonial/style.css.map +1 -0
- package/build/components/Tile/style.css +2 -0
- package/build/components/Tile/style.css.map +1 -0
- package/build/components/Tooltip/style.css +2 -0
- package/build/components/Tooltip/style.css.map +1 -0
- package/build/components/index.js +1 -23
- package/build/components/index.js.map +1 -1
- package/build/components/tsconfig.tsbuildinfo +1 -1
- package/build/components/types/index.d.ts +846 -802
- package/build/components/types/src/components/Accordion/Accordion.d.ts +2 -2
- package/build/components/types/src/components/Accordion/Accordion.static.d.ts +3 -0
- package/build/components/types/src/components/Alert/Alert.d.ts +0 -2
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +1 -2
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.static.d.ts +76 -0
- package/build/components/types/src/components/Bar/index.d.ts +1 -1
- package/build/components/types/src/components/BlockAction/BlockAction.d.ts +2 -0
- package/build/components/types/src/components/BlockAction/Context.d.ts +3 -1
- package/build/components/types/src/components/BlockAction/index.d.ts +2 -4
- package/build/components/types/src/components/BodyBanner/BodyBanner.d.ts +12 -12
- package/build/components/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/build/components/types/src/components/Button/Button.d.ts +1 -1
- package/build/components/types/src/components/Button/index.d.ts +4 -5
- package/build/components/types/src/components/Card/Card.d.ts +2 -1
- package/build/components/types/src/components/Card/index.d.ts +2 -1
- package/build/components/types/src/components/Carousel/Carousel.d.ts +5 -3
- package/build/components/types/src/components/Carousel/Carousel.static.d.ts +74 -7
- package/build/components/types/src/components/Carousel/CarouselItem.d.ts +1 -1
- package/build/components/types/src/components/Carousel/constants.d.ts +2 -0
- package/build/components/types/src/components/CarouselHero/CarouselHero.d.ts +3 -2
- package/build/components/types/src/components/CarouselHero/CarouselHero.static.d.ts +4 -1
- package/build/components/types/src/components/CarouselHero/CarouselHeroItem.d.ts +1 -2
- package/build/components/types/src/components/CarouselHero/constants.d.ts +1 -2
- package/build/components/types/src/components/CarouselHero/index.d.ts +1 -1
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.d.ts +0 -1
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.static.d.ts +5 -0
- 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/Controls/Controls.d.ts +0 -1
- package/build/components/types/src/components/Cover/Cover.d.ts +3 -3
- package/build/components/types/src/components/Divider/Divider.d.ts +1 -5
- package/build/components/types/src/components/DocumentationSidebar/DocumentationSidebar.d.ts +1 -0
- 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/Expander/Expander.d.ts +6 -3
- package/build/components/types/src/components/Expander/Expander.static.d.ts +3 -2
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +14 -3
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.static.d.ts +1 -2
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordionItem.d.ts +3 -3
- package/build/components/types/src/components/Footer/Footer.static.d.ts +21 -0
- package/build/components/types/src/components/Footer/PlanObnovy.d.ts +1 -0
- package/build/components/types/src/components/Footer/constants.d.ts +12 -1
- package/build/components/types/src/components/Footer/data.d.ts +11 -0
- package/build/components/types/src/components/Footer/static.d.ts +21 -0
- 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 +12 -0
- package/build/components/types/src/components/Forms/File/File.d.ts +2 -0
- package/build/components/types/src/components/Forms/Group/Group.d.ts +4 -2
- package/build/components/types/src/components/Forms/Group/Item.d.ts +1 -1
- package/build/components/types/src/components/Forms/InputStepper/InputStepper.d.ts +2 -1
- package/build/components/types/src/components/Forms/RangeSlider/RangeSlider.d.ts +2 -0
- package/build/components/types/src/components/Forms/Select/index.d.ts +1 -1
- package/build/components/types/src/components/Forms/TextInput/TextInput.d.ts +3 -0
- package/build/components/types/src/components/Forms/index.d.ts +1 -1
- package/build/components/types/src/components/Grid/Grid.d.ts +2 -2
- package/build/components/types/src/components/Grid/GridCol.d.ts +4 -4
- package/build/components/types/src/components/Hero/Hero.d.ts +0 -3
- package/build/components/types/src/components/Icon/IconSearch.d.ts +2 -2
- package/build/components/types/src/components/Icon/IconSearchWrapper.d.ts +1 -1
- package/build/components/types/src/components/Icon/PictogramSearch.d.ts +6 -0
- package/build/components/types/src/components/Icon/PictogramSearchWrapper.d.ts +1 -0
- package/build/components/types/src/components/Icon/iconSearchTags.d.ts +172 -165
- package/build/components/types/src/components/Icon/iconUtils.d.ts +2 -0
- package/build/components/types/src/components/Icon/index.d.ts +1 -1
- package/build/components/types/src/components/IconList/Item.d.ts +1 -1
- package/build/components/types/src/components/Link/Link.d.ts +2 -2
- 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/BrandMark.d.ts +1 -0
- package/build/components/types/src/components/Megamenu/Logo.d.ts +1 -0
- package/build/components/types/src/components/Megamenu/LogoJeTu.d.ts +1 -0
- package/build/components/types/src/components/Megamenu/Megamenu.d.ts +9 -1
- package/build/components/types/src/components/Megamenu/Megamenu.static.d.ts +21 -5
- package/build/components/types/src/components/Megamenu/MegamenuBlog.d.ts +2 -1
- package/build/components/types/src/components/Megamenu/MegamenuSearchContent.d.ts +10 -0
- package/build/components/types/src/components/Megamenu/MyOrangeMobilePanel.d.ts +6 -0
- package/build/components/types/src/components/Megamenu/constants.d.ts +21 -0
- package/build/components/types/src/components/Megamenu/data.d.ts +21 -0
- package/build/components/types/src/components/Megamenu/ids.d.ts +11 -0
- package/build/components/types/src/components/Megamenu/index.d.ts +1 -1
- package/build/components/types/src/components/Megamenu/static.d.ts +2 -3
- package/build/components/types/src/components/Modal/Modal.d.ts +2 -6
- package/build/components/types/src/components/Modal/Modal.static.d.ts +4 -0
- package/build/components/types/src/components/Modal/ModalBody.d.ts +3 -3
- package/build/components/types/src/components/Modal/ModalCloseButton.d.ts +1 -1
- package/build/components/types/src/components/Modal/ModalProductHeader.d.ts +2 -0
- package/build/components/types/src/components/Modal/index.d.ts +2 -3
- package/build/components/types/src/components/Pagination/Pagination.d.ts +0 -2
- package/build/components/types/src/components/Pagination/Separator.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 +2 -3
- package/build/components/types/src/components/Preview/CodeExample.d.ts +1 -0
- package/build/components/types/src/components/Preview/Preview.d.ts +2 -2
- package/build/components/types/src/components/Preview/PreviewGenerator.d.ts +13 -9
- package/build/components/types/src/components/Preview/getElementDisplayName.d.ts +1 -0
- package/build/components/types/src/components/Preview/index.d.ts +1 -1
- package/build/components/types/src/components/Progress/Progress.d.ts +0 -1
- package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +13 -6
- package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +3 -3
- 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/Section/Section.d.ts +4 -1
- package/build/components/types/src/components/SocialButton/SocialButton.d.ts +13 -0
- package/build/components/types/src/components/SocialButton/index.d.ts +1 -0
- package/build/components/types/src/components/Stepbar/Stepbar.d.ts +0 -2
- package/build/components/types/src/components/Sticker/Sticker.d.ts +3 -3
- package/build/components/types/src/components/Table/Row.d.ts +1 -2
- package/build/components/types/src/components/Table/Table.d.ts +3 -3
- package/build/components/types/src/components/Table/docsData.d.ts +2 -0
- package/build/components/types/src/components/Table/index.d.ts +1 -1
- package/build/components/types/src/components/Table/types.d.ts +1 -0
- package/build/components/types/src/components/Tabs/Tabs.d.ts +0 -6
- package/build/components/types/src/components/Tabs/Tabs.static.d.ts +12 -0
- package/build/components/types/src/components/Tabs/index.d.ts +2 -2
- package/build/components/types/src/components/Tag/Tag.d.ts +0 -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/Tile/Tile.d.ts +3 -10
- package/build/components/types/src/components/Tooltip/Tooltip.d.ts +0 -1
- 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/Tooltip/tests/BaseWrapper.d.ts +1 -1
- package/build/components/types/src/components/index.d.ts +22 -20
- package/build/components/types/src/docs/utils/SpacePreview.d.ts +1 -2
- package/build/components/types/src/scripts/index.d.ts +7 -8
- package/build/components/types/src/scripts/modules/SameHeight.d.ts +7 -0
- package/build/components/types/src/scripts/modules/SpacePreview/index.d.ts +1 -1
- package/build/components/types/src/styles/export/color.d.ts +105 -0
- package/build/components/types/src/utils/formatCode.d.ts +5 -0
- package/build/components/types/src/utils/hooks.d.ts +1 -1
- package/build/components/types/src/utils/index.d.ts +2 -2
- package/build/fonts/HelveticaNeue-Bold.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Light.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Roman.woff2 +0 -0
- package/build/googleplay.svg +52 -0
- package/build/lib/base.css +3 -0
- package/build/lib/base.css.map +1 -0
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/footer.css +1 -1
- package/build/lib/footer.css.map +1 -1
- package/build/lib/footer.js +2 -0
- package/build/lib/footer.js.map +1 -0
- package/build/lib/megamenu.css +1 -1
- package/build/lib/megamenu.css.map +1 -1
- package/build/lib/megamenu.js +1 -1
- package/build/lib/megamenu.js.map +1 -1
- package/build/lib/scripts.js +1 -9
- 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/lib/utilities.css +2 -0
- package/build/lib/utilities.css.map +1 -0
- package/build/plan-obnovy.svg +53 -0
- package/build/search-index.json +426 -0
- package/build/sprite.svg +1 -1
- package/package.json +92 -62
- package/public/fonts/HelveticaNeue-Bold.woff2 +0 -0
- package/public/fonts/HelveticaNeue-Light.woff2 +0 -0
- package/public/fonts/HelveticaNeue-Roman.woff2 +0 -0
- package/src/assets/icons/ai.svg +6 -0
- package/src/assets/icons/discount-price.svg +4 -0
- package/src/assets/icons/instagram.svg +5 -1
- package/src/assets/icons/linkedin-2.svg +3 -1
- package/src/assets/icons/pause.svg +5 -1
- package/src/assets/icons/pictogram-deezer--dark.svg +24 -0
- package/src/assets/icons/pictogram-deezer.svg +24 -0
- package/src/assets/icons/pictogram-discount-rental--dark.svg +11 -0
- package/src/assets/icons/pictogram-discount-rental.svg +11 -0
- package/src/assets/icons/pictogram-discount-tv-package--dark.svg +7 -0
- package/src/assets/icons/pictogram-discount-tv-package.svg +7 -0
- package/src/assets/icons/pictogram-disney--dark.svg +15 -0
- package/src/assets/icons/pictogram-disney.svg +10 -0
- package/src/assets/icons/pictogram-eset--dark.svg +10 -0
- package/src/assets/icons/pictogram-eset.svg +10 -0
- package/src/assets/icons/pictogram-ewatch--dark.svg +7 -0
- package/src/assets/icons/pictogram-ewatch.svg +7 -0
- package/src/assets/icons/pictogram-exclusive-package--dark.svg +5 -0
- package/src/assets/icons/pictogram-exclusive-package.svg +5 -0
- package/src/assets/icons/pictogram-fast-data--dark.svg +6 -0
- package/src/assets/icons/pictogram-fast-data.svg +6 -0
- package/src/assets/icons/pictogram-hbo-max--dark.svg +4 -5
- package/src/assets/icons/pictogram-hbo-max.svg +4 -5
- package/src/assets/icons/pictogram-interaction--dark.svg +20 -0
- package/src/assets/icons/pictogram-interaction.svg +20 -0
- package/src/assets/icons/pictogram-internet--dark.svg +15 -0
- package/src/assets/icons/pictogram-internet.svg +15 -0
- package/src/assets/icons/pictogram-my-orange--dark.svg +6 -0
- package/src/assets/icons/pictogram-my-orange.svg +6 -0
- package/src/assets/icons/pictogram-offer-package--dark.svg +7 -0
- package/src/assets/icons/pictogram-offer-package.svg +7 -0
- package/src/assets/icons/pictogram-prima-love--dark.svg +4 -0
- package/src/assets/icons/pictogram-prima-love.svg +4 -0
- package/src/assets/icons/pictogram-shared-data--dark.svg +8 -0
- package/src/assets/icons/pictogram-shared-data.svg +8 -0
- package/src/assets/icons/pictogram-tariffs--dark.svg +9 -0
- package/src/assets/icons/pictogram-tariffs.svg +9 -0
- package/src/assets/icons/pictogram-unlimited-data--dark.svg +19 -0
- package/src/assets/icons/pictogram-unlimited-data.svg +19 -0
- package/src/assets/icons/pinterest.svg +4 -0
- package/src/assets/icons/play.svg +4 -1
- package/src/assets/icons/quote.svg +4 -0
- package/src/assets/icons/snapchat.svg +4 -0
- package/src/assets/icons/tiktok.svg +4 -0
- package/src/assets/icons/whatsapp.svg +4 -0
- package/src/assets/icons/youtube.svg +3 -1
- package/src/components/Accordion/Accordion.static.ts +79 -30
- package/src/components/Accordion/Accordion.tsx +6 -7
- package/src/components/Accordion/AccordionHeader.tsx +1 -11
- package/src/components/Accordion/AccordionItem.tsx +3 -1
- package/src/components/Accordion/HeadingContext.tsx +1 -1
- package/src/components/Accordion/styles/config.scss +3 -2
- package/src/components/Accordion/styles/mixins.scss +10 -9
- package/src/components/Accordion/styles/style.scss +2 -2
- package/src/components/Accordion/tests/{Accordion.static.test.js → Accordion.static.test.jsx} +23 -23
- package/src/components/Accordion/tests/{Accordion.unit.test.js → Accordion.unit.test.jsx} +125 -31
- package/src/components/Alert/Alert.tsx +3 -10
- package/src/components/Alert/styles/config.scss +1 -1
- package/src/components/Alert/styles/mixins.scss +4 -1
- package/src/components/Alert/tests/{Alert.conformance.test.js → Alert.conformance.test.jsx} +2 -3
- package/src/components/Alert/tests/{Alert.test.js → Alert.test.jsx} +2 -16
- package/src/components/Alert/tests/Alert.visual.test.jsx +137 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-custom-title-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-danger-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-full-width-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-success-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-buttons-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-description-buttons-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-description-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-warning-chromium-linux.png +0 -0
- package/src/components/AnchorNavigation/AnchorNavigation.static.ts +746 -88
- package/src/components/AnchorNavigation/AnchorNavigation.tsx +5 -15
- package/src/components/AnchorNavigation/styles/mixins.scss +124 -15
- package/src/components/AnchorNavigation/tests/{AnchorNavigation.conformance.test.js → AnchorNavigation.conformance.test.jsx} +1 -10
- package/src/components/AnchorNavigation/tests/AnchorNavigation.unit.test.jsx +801 -0
- 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/styles/config.scss +4 -5
- package/src/components/Bar/styles/mixins.scss +11 -11
- package/src/components/Bar/tests/{Bar.conformance.test.js → Bar.conformance.test.jsx} +1 -1
- package/src/components/BlockAction/BlockAction.tsx +10 -3
- 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 +5 -1
- package/src/components/BlockAction/index.tsx +3 -8
- package/src/components/BlockAction/styles/config.scss +6 -6
- package/src/components/BlockAction/styles/mixins.scss +5 -0
- package/src/components/BlockAction/styles/style.scss +11 -4
- package/src/components/BlockAction/tests/{BlockAction.conformance.test.js → BlockAction.conformance.test.jsx} +1 -1
- package/src/components/BlockAction/tests/{BlockActionControl.unit.test.js → BlockActionControl.unit.test.jsx} +3 -3
- package/src/components/BodyBanner/BodyBanner.tsx +54 -78
- package/src/components/BodyBanner/styles/mixins.scss +50 -45
- package/src/components/BodyBanner/styles/style.scss +4 -18
- package/src/components/BodyBanner/tests/BodyBanner.conformance.test.jsx +84 -0
- package/src/components/BodyBanner/tests/BodyBanner.unit.test.jsx +201 -0
- package/src/components/Breadcrumbs/BreadcrumbItem.tsx +17 -8
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +4 -12
- package/src/components/Breadcrumbs/styles/mixins.scss +39 -10
- package/src/components/Breadcrumbs/styles/style.scss +2 -1
- package/src/components/Breadcrumbs/tests/{BreadcrumbItem.unit.test.js → BreadcrumbItem.unit.test.jsx} +14 -8
- package/src/components/Breadcrumbs/tests/{Breadcrumbs.conformance.test.js → Breadcrumbs.conformance.test.jsx} +1 -1
- package/src/components/Breadcrumbs/tests/{Breadcrumbs.integration.test.js → Breadcrumbs.integration.test.jsx} +14 -37
- package/src/components/Breadcrumbs/tests/{Breadcrumbs.unit.test.js → Breadcrumbs.unit.test.jsx} +19 -23
- package/src/components/Button/Button.tsx +3 -7
- package/src/components/Button/IconButton.tsx +7 -3
- package/src/components/Button/index.tsx +1 -3
- package/src/components/Button/styles/config.scss +5 -5
- package/src/components/Button/styles/mixins.scss +7 -2
- package/src/components/Button/styles/style.scss +4 -0
- package/src/components/Button/tests/{Button.conformance.test.js → Button.conformance.test.jsx} +1 -2
- package/src/components/Button/tests/{Button.test.js → Button.test.jsx} +1 -12
- package/src/components/Button/tests/{IconButton.unit.test.js → IconButton.unit.test.jsx} +0 -1
- package/src/components/Buttons/styles/mixins.scss +8 -13
- package/src/components/Buttons/tests/{Buttons.conformance.test.js → Buttons.conformance.test.jsx} +1 -1
- package/src/components/Card/Card.tsx +19 -16
- package/src/components/Card/CardProductHeader.tsx +1 -1
- package/src/components/Card/CardSection.tsx +6 -2
- package/src/components/Card/index.ts +2 -1
- package/src/components/Card/styles/config.scss +2 -2
- package/src/components/Card/styles/mixins.scss +7 -6
- package/src/components/Card/styles/style.scss +4 -0
- package/src/components/Card/tests/{Card.conformance.test.js → Card.conformance.test.jsx} +2 -2
- package/src/components/Card/tests/Card.unit.test.jsx +81 -0
- package/src/components/Card/tests/{CardProductHeader.unit.test.js → CardProductHeader.unit.test.jsx} +1 -1
- package/src/components/Card/tests/{CardSection.unit.test.js → CardSection.unit.test.jsx} +36 -3
- package/src/components/Carousel/Carousel.static.ts +637 -24
- package/src/components/Carousel/Carousel.tsx +50 -35
- package/src/components/Carousel/CarouselItem.tsx +1 -1
- package/src/components/Carousel/constants.ts +2 -0
- package/src/components/Carousel/styles/config.scss +1 -2
- package/src/components/Carousel/styles/mixins.scss +65 -6
- package/src/components/Carousel/styles/style.scss +8 -0
- package/src/components/Carousel/tests/{Carousel.conformance.test.js → Carousel.conformance.test.jsx} +2 -4
- package/src/components/Carousel/tests/Carousel.static.test.jsx +988 -0
- package/src/components/Carousel/tests/{Carousel.unit.test.js → Carousel.unit.test.jsx} +117 -12
- package/src/components/CarouselHero/CarouselHero.static.ts +68 -37
- package/src/components/CarouselHero/CarouselHero.tsx +101 -39
- package/src/components/CarouselHero/CarouselHeroItem.tsx +13 -14
- package/src/components/CarouselHero/constants.ts +1 -2
- package/src/components/CarouselHero/index.ts +1 -1
- package/src/components/CarouselHero/styles/mixins.scss +19 -32
- package/src/components/CarouselHero/styles/style.scss +4 -8
- package/src/components/CarouselHero/tests/{CarouselHero.conformance.test.js → CarouselHero.conformance.test.jsx} +45 -46
- package/src/components/CarouselHero/tests/{CarouselHero.unit.test.js → CarouselHero.unit.test.jsx} +184 -42
- package/src/components/CarouselHero/tests/CarouselHero.visual.test.jsx +90 -0
- package/src/components/CarouselHero/tests/{CarouselHeroItem.conformance.test.js → CarouselHeroItem.conformance.test.jsx} +19 -26
- package/src/components/CarouselHero/tests/{CarouselHeroItem.unit.test.js → CarouselHeroItem.unit.test.jsx} +26 -93
- package/src/components/CarouselPromotions/CarouselPromotions.static.ts +72 -13
- package/src/components/CarouselPromotions/CarouselPromotions.tsx +7 -13
- package/src/components/CarouselPromotions/CarouselPromotionsItem.tsx +3 -3
- package/src/components/CarouselPromotions/styles/mixins.scss +8 -5
- package/src/components/CarouselPromotions/tests/{CarouselPromotions.conformance.test.js → CarouselPromotions.conformance.test.jsx} +13 -6
- package/src/components/CarouselPromotions/tests/{CarouselPromotions.unit.test.js → CarouselPromotions.unit.test.jsx} +3 -22
- package/src/components/CartTable/CartTable.tsx +3 -4
- package/src/components/CartTable/FooterPriceColumn.tsx +6 -4
- package/src/components/CartTable/Price.tsx +2 -2
- 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.js → CartTable.conformance.test.jsx} +1 -1
- package/src/components/Code/Code.tsx +1 -1
- package/src/components/Code/styles/style.scss +6 -5
- 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.conformance.test.js → Container.conformance.test.jsx} +2 -6
- package/src/components/Container/tests/{Container.unit.test.js → Container.unit.test.jsx} +5 -4
- package/src/components/Controls/Controls.tsx +3 -8
- package/src/components/Controls/tests/{Controls.test.js → Controls.test.jsx} +14 -46
- package/src/components/Cover/Cover.tsx +22 -20
- package/src/components/Cover/index.ts +1 -0
- package/src/components/Cover/styles/config.scss +23 -12
- package/src/components/Cover/styles/mixins.scss +6 -5
- package/src/components/Cover/tests/Cover.conformance.test.jsx +27 -0
- package/src/components/Cover/tests/Cover.unit.test.jsx +115 -0
- package/src/components/Divider/Divider.tsx +3 -17
- package/src/components/Divider/styles/config.scss +0 -17
- package/src/components/Divider/styles/mixins.scss +12 -12
- package/src/components/Divider/styles/style.scss +2 -16
- package/src/components/Divider/tests/{Divider.conformance.test.js → Divider.conformance.test.jsx} +2 -2
- package/src/components/Divider/tests/{Divider.unit.test.js → Divider.unit.test.jsx} +0 -17
- package/src/components/DocumentationSidebar/DocumentationSidebar.tsx +231 -9
- package/src/components/DocumentationSidebar/index.ts +2 -2
- package/src/components/DocumentationSidebar/styles/style.scss +76 -3
- package/src/components/Dropdown/Dropdown.static.ts +3 -2
- 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/styles/mixins.scss +1 -1
- package/src/components/Dropdown/tests/{Dropdown.conformance.test.js → Dropdown.conformance.test.jsx} +2 -2
- package/src/components/Dropdown/tests/{Dropdown.unit.test.js → Dropdown.unit.test.jsx} +1 -2
- package/src/components/Expander/Expander.static.ts +22 -28
- package/src/components/Expander/Expander.tsx +21 -17
- package/src/components/Expander/styles/style.scss +18 -3
- package/src/components/Expander/tests/{Expander.conformance.test.js → Expander.conformance.test.jsx} +23 -13
- package/src/components/Expander/tests/Expander.unit.test.jsx +196 -0
- package/src/components/FeatureAccordion/FeatureAccordion.static.ts +93 -48
- package/src/components/FeatureAccordion/FeatureAccordion.tsx +83 -60
- package/src/components/FeatureAccordion/FeatureAccordionItem.tsx +21 -8
- package/src/components/FeatureAccordion/styles/mixins.scss +25 -15
- package/src/components/FeatureAccordion/styles/style.scss +8 -6
- package/src/components/FeatureAccordion/tests/{FeatureAccordion.conformance.test.js → FeatureAccordion.conformance.test.jsx} +3 -1
- package/src/components/FeatureAccordion/tests/{FeatureAccordion.unit.test.js → FeatureAccordion.unit.test.jsx} +2 -8
- package/src/components/Footer/Footer.static.ts +130 -0
- package/src/components/Footer/Footer.tsx +157 -55
- package/src/components/Footer/PlanObnovy.tsx +211 -0
- package/src/components/Footer/constants.ts +12 -1
- package/src/components/Footer/data.ts +40 -0
- package/src/components/Footer/static.ts +59 -0
- package/src/components/Footer/styles/mixins.scss +133 -18
- package/src/components/Footer/styles/style.scss +67 -2
- package/src/components/Footer/tests/{Footer.conformance.test.js → Footer.conformance.test.jsx} +5 -9
- package/src/components/Footer/tests/{Footer.unit.test.js → Footer.unit.test.jsx} +7 -7
- package/src/components/Forms/Autocomplete/Autocomplete.static.ts +215 -2
- package/src/components/Forms/Autocomplete/Autocomplete.tsx +8 -3
- package/src/components/Forms/Autocomplete/styles/config.scss +3 -3
- package/src/components/Forms/Autocomplete/styles/style.scss +95 -0
- package/src/components/Forms/Autocomplete/tests/Autocomplete.static.test.ts +187 -0
- package/src/components/Forms/Checkbox/Checkbox.tsx +1 -1
- package/src/components/Forms/Checkbox/styles/config.scss +6 -3
- package/src/components/Forms/Checkbox/styles/mixins.scss +2 -2
- package/src/components/Forms/Checkbox/styles/style.scss +13 -6
- package/src/components/Forms/DatePicker/DatePicker.tsx +1 -2
- package/src/components/Forms/DatePicker/styles/style.scss +2 -3
- package/src/components/Forms/Field/Control.tsx +52 -49
- 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/styles/config.scss +8 -8
- package/src/components/Forms/Field/styles/mixins.scss +13 -10
- package/src/components/Forms/Field/styles/style.scss +4 -0
- package/src/components/Forms/Field/tests/{Autocomplete.Field.conformance.test.js → Autocomplete.Field.conformance.test.jsx} +2 -2
- package/src/components/Forms/Field/tests/{Checkbox.Field.conformance.test.js → Checkbox.Field.conformance.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{File.Field.conformance.test.js → File.Field.conformance.test.jsx} +3 -2
- package/src/components/Forms/Field/tests/Group.Field.conformance.test.jsx +72 -0
- package/src/components/Forms/Field/tests/{Radio.Field.conformance.test.js → Radio.Field.conformance.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{Rangeslider.Field.test.js → Rangeslider.Field.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{Select.Field.conformance.test.js → Select.Field.conformance.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{Text.Field.conformance.test.js → Text.Field.conformance.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{Textarea.Field.conformance.test.js → Textarea.Field.conformance.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{Tooltip.unit.test.js → Tooltip.unit.test.jsx} +1 -2
- package/src/components/Forms/Fieldset/Fieldset.tsx +1 -1
- package/src/components/Forms/Fieldset/styles/mixins.scss +3 -3
- package/src/components/Forms/File/File.tsx +5 -3
- package/src/components/Forms/File/styles/config.scss +5 -5
- package/src/components/Forms/File/styles/mixins.scss +1 -1
- package/src/components/Forms/Group/Group.tsx +23 -12
- package/src/components/Forms/Group/Item.tsx +1 -1
- package/src/components/Forms/Group/styles/config.scss +1 -1
- package/src/components/Forms/Group/styles/mixins.scss +31 -0
- package/src/components/Forms/Group/tests/{Group.unit.test.js → Group.unit.test.jsx} +9 -0
- 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 +6 -5
- package/src/components/Forms/InputStepper/styles/style.scss +56 -110
- package/src/components/Forms/InputStepper/tests/{InputStepper.unit.test.js → InputStepper.unit.test.jsx} +8 -0
- package/src/components/Forms/Label/Label.tsx +1 -1
- package/src/components/Forms/Label/styles/config.scss +3 -0
- package/src/components/Forms/Label/styles/mixins.scss +2 -2
- package/src/components/Forms/Message/Message.tsx +9 -5
- package/src/components/Forms/Message/styles/config.scss +2 -1
- package/src/components/Forms/Radio/Radio.tsx +1 -1
- package/src/components/Forms/Radio/styles/config.scss +6 -3
- package/src/components/Forms/Radio/styles/mixins.scss +2 -2
- package/src/components/Forms/RangeSlider/RangeSlider.tsx +4 -1
- package/src/components/Forms/RangeSlider/styles/mixins.scss +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/TextArea/styles/config.scss +1 -0
- package/src/components/Forms/TextArea/styles/mixins.scss +17 -10
- package/src/components/Forms/TextInput/TextInput.tsx +27 -2
- package/src/components/Forms/TextInput/styles/config.scss +4 -2
- package/src/components/Forms/TextInput/styles/mixins.scss +17 -11
- package/src/components/Forms/TextInput/styles/style.scss +67 -0
- package/src/components/Forms/index.ts +1 -1
- package/src/components/Forms/styles/config.scss +13 -10
- package/src/components/Gauge/Gauge.tsx +1 -1
- package/src/components/Gauge/GaugeMaker.tsx +5 -5
- package/src/components/Gauge/styles/style.scss +1 -1
- package/src/components/Gauge/tests/{Gauge.unit.test.js → Gauge.unit.test.jsx} +0 -1
- package/src/components/Grid/Grid.tsx +13 -4
- package/src/components/Grid/GridCol.tsx +21 -10
- package/src/components/Grid/styles/config.scss +7 -3
- package/src/components/Grid/styles/mixins.scss +63 -19
- package/src/components/Grid/styles/style.scss +15 -5
- package/src/components/Grid/tests/{Grid.unit.test.js → Grid.unit.test.jsx} +46 -6
- package/src/components/Grid/tests/{GridCol.unit.test.js → GridCol.unit.test.jsx} +1 -2
- package/src/components/Hero/Hero.tsx +3 -17
- package/src/components/Hero/styles/config.scss +0 -1
- package/src/components/Hero/styles/style.scss +0 -14
- package/src/components/Hero/tests/{Hero.conformance.test.js → Hero.conformance.test.jsx} +1 -2
- package/src/components/Hero/tests/Hero.unit.test.jsx +261 -0
- package/src/components/Hero/tests/data.js +26 -26
- package/src/components/Icon/Icon.tsx +1 -1
- package/src/components/Icon/IconSearch.jsx +15 -46
- package/src/components/Icon/PictogramSearch.jsx +123 -0
- package/src/components/Icon/PictogramSearchWrapper.tsx +31 -0
- package/src/components/Icon/SpritePathContext.tsx +1 -1
- package/src/components/Icon/iconSearchTags.ts +181 -173
- package/src/components/Icon/iconUtils.js +63 -0
- package/src/components/Icon/index.ts +1 -1
- 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 +43 -1
- package/src/components/Icon/tests/{Icon.conformance.test.js → Icon.conformance.test.jsx} +1 -2
- package/src/components/Icon/tests/{Icon.unit.test.js → Icon.unit.test.jsx} +2 -4
- package/src/components/Icon/tests/{Pictogram.unit.test.js → Pictogram.unit.test.jsx} +40 -21
- 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/mixins.scss +5 -5
- package/src/components/IconList/styles/style.scss +1 -1
- package/src/components/IconList/tests/{IconList.conformance.test.js → IconList.conformance.test.jsx} +2 -3
- package/src/components/IconList/tests/IconList.unit.test.jsx +82 -0
- package/src/components/IconList/tests/{Item.unit.test.js → Item.unit.test.jsx} +1 -1
- package/src/components/Image/Image.tsx +1 -1
- package/src/components/Image/styles/mixins.scss +2 -2
- package/src/components/Image/tests/{Image.conformance.test.js → Image.conformance.test.jsx} +1 -1
- package/src/components/Image/tests/{Image.unit.test.js → Image.unit.test.jsx} +12 -4
- package/src/components/Link/Link.tsx +5 -6
- package/src/components/Link/styles/mixins.scss +8 -4
- package/src/components/Link/tests/{Link.conformance.test.js → Link.conformance.test.jsx} +3 -9
- package/src/components/Link/tests/{Link.unit.test.js → Link.unit.test.jsx} +6 -26
- 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/styles/config.scss +12 -12
- package/src/components/List/styles/mixins.scss +16 -9
- package/src/components/List/tests/{ClickableControl.unit.test.js → ClickableControl.unit.test.jsx} +0 -1
- package/src/components/List/tests/{List.conformance.test.js → List.conformance.test.jsx} +16 -17
- package/src/components/List/tests/ListItem.unit.test.jsx +103 -0
- package/src/components/Loader/Loader.tsx +3 -11
- 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 +25 -1
- package/src/components/Loader/styles/style.scss +13 -4
- package/src/components/Loader/tests/{Loader.conformance.test.js → 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/BrandMark.tsx +15 -0
- package/src/components/Megamenu/Logo.tsx +13 -0
- package/src/components/Megamenu/LogoJeTu.tsx +60 -0
- package/src/components/Megamenu/MegaMenuIcon.tsx +1 -1
- package/src/components/Megamenu/Megamenu.static.ts +294 -98
- package/src/components/Megamenu/Megamenu.tsx +408 -594
- package/src/components/Megamenu/MegamenuBlog.tsx +211 -95
- package/src/components/Megamenu/MegamenuSearchContent.tsx +82 -0
- package/src/components/Megamenu/MyOrangeMobilePanel.tsx +126 -0
- package/src/components/Megamenu/constants.ts +21 -0
- package/src/components/Megamenu/data.ts +231 -0
- package/src/components/Megamenu/ids.ts +35 -0
- package/src/components/Megamenu/index.ts +1 -1
- package/src/components/Megamenu/static.ts +7 -13
- package/src/components/Megamenu/styles/mixins.scss +430 -65
- package/src/components/Megamenu/styles/style.scss +74 -0
- package/src/components/Megamenu/tests/Megamenu.unit.test.jsx +41 -0
- package/src/components/Modal/Modal.static.ts +77 -56
- package/src/components/Modal/Modal.tsx +38 -29
- package/src/components/Modal/ModalBody.tsx +27 -15
- package/src/components/Modal/ModalCloseButton.tsx +1 -1
- package/src/components/Modal/ModalProductFooter.tsx +1 -1
- package/src/components/Modal/ModalProductHeader.tsx +7 -3
- package/src/components/Modal/index.ts +2 -3
- package/src/components/Modal/styles/config.scss +4 -4
- package/src/components/Modal/styles/mixins.scss +22 -57
- package/src/components/Modal/styles/style.scss +1 -16
- package/src/components/Modal/tests/{Modal.conformance.test.js → Modal.conformance.test.jsx} +3 -4
- package/src/components/Modal/tests/{Modal.unit.test.js → Modal.unit.test.jsx} +0 -60
- package/src/components/Modal/tests/{ModalBody.unit.test.js → ModalBody.unit.test.jsx} +21 -12
- package/src/components/Modal/tests/{ModalProductHeader.unit.test.js → ModalProductHeader.unit.test.jsx} +12 -1
- package/src/components/Modal/tests/{ModalTitle.unit.test.js → ModalTitle.unit.test.jsx} +0 -1
- package/src/components/Pagination/Pagination.tsx +3 -14
- 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/styles/mixins.scss +9 -7
- package/src/components/Pagination/styles/style.scss +0 -4
- package/src/components/Pagination/tests/Item.unit.test.jsx +95 -0
- package/src/components/Pagination/tests/{Pagination.conformance.test.js → Pagination.conformance.test.jsx} +7 -8
- package/src/components/Pagination/tests/Pagination.unit.test.jsx +107 -0
- package/src/components/Pagination/tests/Separator.unit.test.jsx +24 -0
- package/src/components/Pill/Pill.tsx +14 -7
- package/src/components/Pill/styles/config.scss +2 -17
- package/src/components/Pill/styles/style.scss +18 -6
- package/src/components/Pill/tests/{Pill.conformance.test.js → Pill.conformance.test.jsx} +9 -7
- package/src/components/Pill/tests/Pill.unit.test.jsx +148 -0
- package/src/components/Preview/CodeExample.tsx +72 -34
- package/src/components/Preview/Preview.tsx +28 -14
- package/src/components/Preview/PreviewGenerator.tsx +396 -65
- package/src/components/Preview/PreviewTitleBar.tsx +1 -1
- package/src/components/Preview/getElementDisplayName.ts +25 -0
- package/src/components/Preview/index.tsx +1 -1
- package/src/components/Preview/styles/style.scss +51 -1
- package/src/components/Progress/Progress.tsx +2 -14
- package/src/components/Progress/index.ts +1 -1
- package/src/components/Progress/styles/config.scss +4 -4
- package/src/components/Progress/styles/mixins.scss +9 -7
- package/src/components/Progress/tests/{Progress.conformance.test.js → Progress.conformance.test.jsx} +6 -7
- package/src/components/Progress/tests/Progress.unit.test.jsx +111 -0
- package/src/components/PromoBanner/PromoBanner.tsx +80 -40
- package/src/components/PromoBanner/styles/mixins.scss +62 -16
- package/src/components/PromoBanner/styles/style.scss +47 -6
- package/src/components/PromoBanner/tests/PromoBanner.conformance.test.jsx +784 -0
- package/src/components/PromoBanner/tests/PromoBanner.unit.test.jsx +596 -0
- package/src/components/PromotionCard/PromotionCard.tsx +12 -13
- 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/styles/mixins.scss +4 -2
- package/src/components/PromotionCard/tests/PromotionCard.conformance.test.jsx +565 -0
- package/src/components/PromotionCard/tests/PromotionCard.unit.test.jsx +437 -0
- package/src/components/Section/Section.tsx +21 -11
- package/src/components/Section/styles/mixins.scss +38 -13
- package/src/components/Section/styles/style.scss +1 -0
- package/src/components/Section/tests/{Section.conformance.test.js → Section.conformance.test.jsx} +27 -17
- package/src/components/Section/tests/{Section.unit.test.js → Section.unit.test.jsx} +54 -34
- 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.js → Skeleton.conformance.test.jsx} +1 -1
- package/src/components/SkipLink/SkipLink.tsx +1 -1
- package/src/components/SkipLink/tests/{SkipLink.unit.test.js → SkipLink.unit.test.jsx} +1 -5
- package/src/components/SocialButton/SocialButton.tsx +67 -0
- package/src/components/SocialButton/index.ts +1 -0
- package/src/components/SocialButton/styles/config.scss +172 -0
- package/src/components/SocialButton/styles/mixins.scss +42 -0
- package/src/components/SocialButton/styles/style.scss +16 -0
- package/src/components/SocialButton/tests/SocialButton.unit.test.jsx +162 -0
- package/src/components/Stepbar/Stepbar.tsx +1 -6
- package/src/components/Stepbar/styles/config.scss +34 -17
- package/src/components/Stepbar/styles/mixins.scss +6 -4
- package/src/components/Stepbar/styles/style.scss +4 -2
- package/src/components/Stepbar/tests/{Stepbar.conformance.test.js → 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 +16 -0
- package/src/components/Sticker/tests/Sticker.unit.test.jsx +39 -0
- package/src/components/Table/Header.tsx +1 -2
- package/src/components/Table/Row.tsx +10 -5
- package/src/components/Table/Rows.tsx +1 -2
- package/src/components/Table/Table.tsx +15 -11
- package/src/components/Table/TableContext.ts +1 -0
- package/src/components/Table/docsData.ts +25 -1
- package/src/components/Table/index.ts +1 -1
- package/src/components/Table/styles/mixins.scss +51 -11
- package/src/components/Table/styles/style.scss +6 -4
- package/src/components/Table/tests/{Footer.unit.test.js → Footer.unit.test.jsx} +1 -2
- package/src/components/Table/tests/{Header.unit.test.js → Header.unit.test.jsx} +1 -2
- package/src/components/Table/tests/{Row.unit.test.js → Row.unit.test.jsx} +1 -2
- package/src/components/Table/tests/{Rows.unit.test.js → Rows.unit.test.jsx} +1 -2
- package/src/components/Table/tests/{Table.conformance.test.js → Table.conformance.test.jsx} +11 -7
- package/src/components/Table/tests/{Table.unit.test.js → Table.unit.test.jsx} +1 -32
- package/src/components/Table/types.ts +1 -0
- package/src/components/Tabs/Tabs.static.ts +157 -30
- package/src/components/Tabs/Tabs.tsx +64 -74
- package/src/components/Tabs/index.ts +2 -2
- package/src/components/Tabs/styles/config.scss +18 -25
- package/src/components/Tabs/styles/mixins.scss +94 -29
- package/src/components/Tabs/styles/style.scss +4 -15
- package/src/components/Tabs/tests/{Tabs.unit.test.js → Tabs.unit.test.jsx} +112 -10
- package/src/components/Tag/Tag.tsx +1 -5
- package/src/components/Tag/TagButton.tsx +1 -1
- package/src/components/Tag/index.ts +1 -1
- package/src/components/Tag/styles/config.scss +31 -31
- package/src/components/Tag/styles/mixins.scss +3 -2
- package/src/components/Tag/styles/style.scss +55 -0
- package/src/components/Tag/tests/{Tag.conformance.test.js → Tag.conformance.test.jsx} +2 -3
- package/src/components/Tag/tests/{Tag.unit.test.js → Tag.unit.test.jsx} +5 -7
- package/src/components/Tag/tests/{TagButton.conformance.test.js → TagButton.conformance.test.jsx} +1 -1
- package/src/components/Tag/tests/{TagButton.unit.test.js → TagButton.unit.test.jsx} +4 -3
- 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 +16 -0
- package/src/components/Testimonial/tests/Testimonial.unit.test.jsx +43 -0
- package/src/components/Tile/Tile.tsx +19 -36
- package/src/components/Tile/styles/mixins.scss +57 -44
- package/src/components/Tile/styles/style.scss +5 -33
- package/src/components/Tile/tests/{Tile.conformance.test.js → Tile.conformance.test.jsx} +1 -1
- package/src/components/Tile/tests/Tile.unit.test.jsx +64 -0
- package/src/components/Tooltip/InfoTooltip.tsx +2 -6
- package/src/components/Tooltip/Tooltip.static.ts +100 -66
- package/src/components/Tooltip/Tooltip.tsx +3 -13
- 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.js → Tooltip.conformance.test.jsx} +6 -2
- package/src/components/Tooltip/tests/{Tooltip.unit.test.js → Tooltip.unit.test.jsx} +41 -57
- package/src/components/index.ts +48 -37
- package/src/styles/base/globals-forms.scss +8 -0
- package/src/styles/base/globals.scss +68 -30
- package/src/styles/base/styleguide.scss +23 -18
- package/src/styles/export/base.js +2 -2
- package/src/styles/export/breakpoint.scss +1 -1
- package/src/styles/export/breakpoint.ts +7 -7
- package/src/styles/export/color.js +102 -20
- package/src/styles/export/color.scss +10 -20
- package/src/styles/export/space.scss +1 -1
- package/src/styles/shame.scss +16 -3
- package/src/styles/tokens/base.scss +1 -1
- package/src/styles/tokens/breakpoint.scss +64 -49
- package/src/styles/tokens/color-vars.scss +37 -0
- package/src/styles/tokens/color.scss +14 -14
- package/src/styles/tokens/space.scss +9 -9
- package/src/styles/tokens/tag-colors.scss +20 -0
- package/src/styles/tools/convert.scss +8 -0
- 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/typography/config.scss +102 -30
- package/src/styles/typography/mixins.scss +29 -17
- package/src/styles/typography/style.scss +19 -3
- package/src/styles/utilities/border.scss +1 -1
- package/src/styles/utilities/color.scss +45 -128
- package/src/styles/utilities/horizontal-scroll.scss +34 -12
- package/src/styles/utilities/index.scss +7 -6
- package/src/styles/utilities/layout.scss +18 -0
- package/src/styles/utilities/ordering.scss +44 -0
- package/src/styles/utilities/text.scss +43 -2
- package/src/styles/utilities/visibility.scss +2 -4
- package/build/components/index.css +0 -2
- package/build/components/index.css.map +0 -1
- package/build/components/types/src/components/Hero/HeroPlayground.d.ts +0 -2
- package/build/components/types/src/components/Modal/ModalProductBody.d.ts +0 -10
- package/build/lib/after-components.css +0 -2
- package/build/lib/after-components.css.map +0 -1
- package/build/lib/before-components.css +0 -3
- package/build/lib/before-components.css.map +0 -1
- package/build/lib/scripts.css +0 -2
- package/build/lib/scripts.css.map +0 -1
- package/src/components/Accordion/Accordion.mdx +0 -240
- package/src/components/Alert/Alert.mdx +0 -141
- package/src/components/AnchorNavigation/tests/AnchorNavigation.unit.test.js +0 -163
- package/src/components/Bar/Bar.mdx +0 -203
- package/src/components/BlockAction/BlockAction.mdx +0 -244
- package/src/components/BodyBanner/BodyBanner.mdx +0 -268
- package/src/components/Breadcrumbs/Breadcrumbs.mdx +0 -84
- package/src/components/Button/Button.mdx +0 -273
- package/src/components/Buttons/Buttons.mdx +0 -39
- package/src/components/Card/Card.mdx +0 -334
- package/src/components/Card/tests/Card.unit.test.js +0 -42
- package/src/components/Carousel/Carousel.mdx +0 -159
- package/src/components/CarouselPromotions/CarouselPromotions.mdx +0 -246
- package/src/components/CartTable/CartTable.mdx +0 -129
- package/src/components/Container/Container.mdx +0 -73
- package/src/components/Controls/Controls.mdx +0 -469
- package/src/components/Cover/Cover.mdx +0 -87
- package/src/components/Cover/tests/Cover.conformance.test.js +0 -28
- package/src/components/Cover/tests/Cover.unit.test.js +0 -116
- package/src/components/Divider/Divider.mdx +0 -65
- package/src/components/Dropdown/Dropdown.mdx +0 -260
- package/src/components/Expander/Expander.mdx +0 -153
- package/src/components/Expander/tests/Expander.unit.test.js +0 -124
- package/src/components/FeatureAccordion/FeatureAccordion.mdx +0 -33
- package/src/components/Forms/Autocomplete/Autocomplete.mdx +0 -198
- package/src/components/Forms/Checkbox/Checkbox.mdx +0 -139
- package/src/components/Forms/DatePicker/DatePicker.mdx +0 -149
- package/src/components/Forms/Field/Field.mdx +0 -383
- package/src/components/Forms/Field/tests/Group.Field.conformance.test.js +0 -47
- package/src/components/Forms/Fieldset/Fieldset.mdx +0 -178
- package/src/components/Forms/File/File.mdx +0 -88
- package/src/components/Forms/FormTooltip.mdx +0 -51
- package/src/components/Forms/Forms.mdx +0 -48
- package/src/components/Forms/Group/Group.mdx +0 -146
- package/src/components/Forms/Hint/Hint.mdx +0 -40
- package/src/components/Forms/InputStepper/InputStepper.mdx +0 -147
- package/src/components/Forms/Label/Label.mdx +0 -95
- package/src/components/Forms/Message/Message.mdx +0 -40
- package/src/components/Forms/Radio/Radio.mdx +0 -98
- package/src/components/Forms/RangeSlider/RangeSlider.mdx +0 -304
- package/src/components/Forms/Select/Select.mdx +0 -106
- package/src/components/Forms/TextArea/TextArea.mdx +0 -109
- package/src/components/Forms/TextInput/TextInput.mdx +0 -153
- package/src/components/Gauge/Gauge.mdx +0 -35
- package/src/components/Grid/Grid.mdx +0 -320
- package/src/components/Hero/Hero.mdx +0 -168
- package/src/components/Hero/HeroPlayground.tsx +0 -369
- package/src/components/Hero/tests/Hero.unit.test.js +0 -272
- package/src/components/Icon/Icon.mdx +0 -172
- package/src/components/IconList/IconList.mdx +0 -53
- package/src/components/IconList/tests/IconList.unit.test.js +0 -79
- package/src/components/Image/Image.mdx +0 -175
- package/src/components/Link/Link.mdx +0 -238
- package/src/components/List/List.mdx +0 -216
- package/src/components/List/tests/ListItem.unit.test.js +0 -104
- package/src/components/Loader/Loader.mdx +0 -148
- package/src/components/Modal/Modal.mdx +0 -565
- package/src/components/Modal/ModalProductBody.tsx +0 -52
- package/src/components/Pagination/Pagination.mdx +0 -45
- package/src/components/Pagination/tests/Item.unit.test.js +0 -96
- package/src/components/Pagination/tests/Pagination.unit.test.js +0 -108
- package/src/components/Pagination/tests/Separator.unit.test.js +0 -25
- package/src/components/Pagination/tests/utils.js +0 -12
- package/src/components/Pill/Pill.mdx +0 -41
- package/src/components/Pill/tests/Pill.unit.test.js +0 -108
- package/src/components/Progress/Progress.mdx +0 -119
- package/src/components/Progress/tests/Progress.unit.test.js +0 -108
- package/src/components/PromotionCard/PromotionCard.mdx +0 -191
- package/src/components/Section/Section.mdx +0 -397
- package/src/components/Skeleton/Skeleton.mdx +0 -90
- package/src/components/SkipLink/SkipLink.mdx +0 -23
- package/src/components/Stepbar/Stepbar.mdx +0 -137
- package/src/components/Sticker/Sticker.mdx +0 -50
- package/src/components/Sticker/tests/Sticker.conformance.test.js +0 -17
- package/src/components/Sticker/tests/Sticker.unit.test.js +0 -42
- package/src/components/Table/Table.mdx +0 -199
- package/src/components/Tabs/Tabs.mdx +0 -373
- package/src/components/Tag/Tag.mdx +0 -52
- package/src/components/Testimonial/Testimonial.mdx +0 -41
- package/src/components/Testimonial/tests/Testimonial.conformance.test.js +0 -17
- package/src/components/Testimonial/tests/Testimonial.unit.test.js +0 -44
- package/src/components/Tile/CHANGELOG.md +0 -14
- package/src/components/Tile/Tile.mdx +0 -163
- package/src/components/Tile/styles/config.scss +0 -18
- package/src/components/Tile/tests/Tile.unit.test.js +0 -126
- package/src/components/Tooltip/Tooltip.mdx +0 -227
- package/src/styles/after-components.scss +0 -2
- package/src/styles/before-components.scss +0 -18
- /package/build/lib/{after-components.js → base.js} +0 -0
- /package/build/lib/{before-components.js → utilities.js} +0 -0
- /package/src/components/Bar/tests/{Bar.unit.test.js → Bar.unit.test.jsx} +0 -0
- /package/src/components/Bar/tests/{BarBreak.unit.test.js → BarBreak.unit.test.jsx} +0 -0
- /package/src/components/Bar/tests/{BarItem.unit.test.js → BarItem.unit.test.jsx} +0 -0
- /package/src/components/BlockAction/tests/{BlockAction.unit.test.js → BlockAction.unit.test.jsx} +0 -0
- /package/src/components/BlockAction/tests/{BlockActionIndicator.unit.test.js → BlockActionIndicator.unit.test.jsx} +0 -0
- /package/src/components/BlockAction/tests/{CloneElementWithClassName.unit.test.js → CloneElementWithClassName.unit.test.jsx} +0 -0
- /package/src/components/Buttons/tests/{Buttons.unit.test.js → Buttons.unit.test.jsx} +0 -0
- /package/src/components/Carousel/tests/{CarouselItem.unit.test.js → CarouselItem.unit.test.jsx} +0 -0
- /package/src/components/CarouselPromotions/tests/{CarouselPromotionsItem.unit.test.js → CarouselPromotionsItem.unit.test.jsx} +0 -0
- /package/src/components/Forms/Checkbox/tests/{Checkbox.unit.test.js → Checkbox.unit.test.jsx} +0 -0
- /package/src/components/Forms/DatePicker/tests/{DatePicker.unit.test.js → DatePicker.unit.test.jsx} +0 -0
- /package/src/components/Forms/Field/tests/{Field.unit.test.js → Field.unit.test.jsx} +0 -0
- /package/src/components/Forms/Field/tests/{Label.unit.test.js → Label.unit.test.jsx} +0 -0
- /package/src/components/Forms/Field/tests/{Messages.unit.test.js → Messages.unit.test.jsx} +0 -0
- /package/src/components/Forms/Fieldset/tests/{Fieldset.unit.test.js → Fieldset.unit.test.jsx} +0 -0
- /package/src/components/Forms/Group/tests/{Item.unit.test.js → Item.unit.test.jsx} +0 -0
- /package/src/components/Forms/Hint/tests/{Hint.unit.test.js → Hint.unit.test.jsx} +0 -0
- /package/src/components/Forms/Label/tests/{Label.unit.test.js → Label.unit.test.jsx} +0 -0
- /package/src/components/Forms/Message/tests/{Message.unit.test.js → Message.unit.test.jsx} +0 -0
- /package/src/components/Forms/Radio/tests/{Radio.unit.test.js → Radio.unit.test.jsx} +0 -0
- /package/src/components/Forms/Select/tests/{Select.unit.test.js → Select.unit.test.jsx} +0 -0
- /package/src/components/Forms/TextArea/tests/{TextArea.unit.test.js → TextArea.unit.test.jsx} +0 -0
- /package/src/components/Forms/TextInput/tests/{TextInput.unit.test.js → TextInput.unit.test.jsx} +0 -0
- /package/src/components/Gauge/tests/{Gauge.conformance.test.js → Gauge.conformance.test.jsx} +0 -0
- /package/src/components/List/tests/{List.unit.test.js → List.unit.test.jsx} +0 -0
- /package/src/components/Loader/tests/{Loader.unit.test.js → Loader.unit.test.jsx} +0 -0
- /package/src/components/Modal/tests/{ModalCloseButton.unit.test.js → ModalCloseButton.unit.test.jsx} +0 -0
- /package/src/components/Skeleton/tests/{Skeleton.unit.test.js → Skeleton.unit.test.jsx} +0 -0
- /package/src/components/Stepbar/tests/{Stepbar.unit.test.js → Stepbar.unit.test.jsx} +0 -0
- /package/src/components/Table/tests/{Cell.unit.test.js → Cell.unit.test.jsx} +0 -0
- /package/src/components/Tabs/tests/{Tab.unit.test.js → Tab.unit.test.jsx} +0 -0
- /package/src/components/Tabs/tests/{TabPanel.unit.test.js → TabPanel.unit.test.jsx} +0 -0
- /package/src/components/Tooltip/tests/{InfoTooltip.unit.test.js → InfoTooltip.unit.test.jsx} +0 -0
|
@@ -1,15 +1,20 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
@use "../../../styles/tools/convert";
|
|
2
3
|
@use "../../../styles/tokens/color";
|
|
4
|
+
@use "../../../styles/tokens/tag-colors";
|
|
3
5
|
@use "../../../styles/tokens/base";
|
|
4
6
|
@use "../../../styles/tokens/breakpoint";
|
|
5
7
|
@use "../../../styles/tools/generate";
|
|
8
|
+
@use "../../../styles/tokens/space";
|
|
6
9
|
@use "../../../styles/tools/visibility" as visibility;
|
|
10
|
+
@use "../../../styles/typography/config" as typographyConfig;
|
|
7
11
|
@use "../../Container/styles/mixins" as container;
|
|
8
12
|
@use "../../Accordion/styles/mixins" as accordion;
|
|
9
13
|
@use "../../Forms/TextInput/styles/mixins" as input;
|
|
10
14
|
@use "../../Forms/TextInput/styles/config" as inputConfig;
|
|
11
15
|
@use "../../Tag/styles/mixins" as tag;
|
|
12
16
|
@use "../../Tag/styles/config" as tagConfig;
|
|
17
|
+
@use "../../Button/styles/mixins" as button;
|
|
13
18
|
@use "../../../styles/typography/mixins" as typography;
|
|
14
19
|
|
|
15
20
|
@use "./config";
|
|
@@ -27,6 +32,14 @@
|
|
|
27
32
|
display: none !important;
|
|
28
33
|
}
|
|
29
34
|
|
|
35
|
+
.mt-none {
|
|
36
|
+
margin-top: 0 !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.no-underline {
|
|
40
|
+
text-decoration: none !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
30
43
|
ul {
|
|
31
44
|
@include typography.list-unstyled();
|
|
32
45
|
margin-bottom: convert.to-rem(30px);
|
|
@@ -43,14 +56,15 @@
|
|
|
43
56
|
a {
|
|
44
57
|
color: var(--color-text-default);
|
|
45
58
|
font-weight: 700;
|
|
46
|
-
text-decoration: none;
|
|
47
59
|
font-size: inherit;
|
|
60
|
+
text-decoration: underline;
|
|
61
|
+
text-underline-offset: convert.to-rem(2px);
|
|
62
|
+
text-decoration-thickness: auto;
|
|
48
63
|
|
|
49
64
|
&:hover,
|
|
50
65
|
&:focus,
|
|
51
66
|
&:active {
|
|
52
|
-
text-
|
|
53
|
-
text-underline-offset: convert.to-rem(4px);
|
|
67
|
+
color: var(--color-text-accent);
|
|
54
68
|
}
|
|
55
69
|
|
|
56
70
|
&:focus-visible {
|
|
@@ -72,6 +86,19 @@
|
|
|
72
86
|
@include base.focusring;
|
|
73
87
|
}
|
|
74
88
|
|
|
89
|
+
hr {
|
|
90
|
+
margin-top: convert.to-rem(30px);
|
|
91
|
+
margin-bottom: convert.to-rem(30px);
|
|
92
|
+
border: 0;
|
|
93
|
+
border-top: 1px solid var(--color-border-subtle);
|
|
94
|
+
width: 100%;
|
|
95
|
+
|
|
96
|
+
@include breakpoint.get("xs", "down") {
|
|
97
|
+
margin-top: convert.to-rem(15px);
|
|
98
|
+
margin-bottom: convert.to-rem(15px);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
75
102
|
* {
|
|
76
103
|
box-sizing: border-box;
|
|
77
104
|
letter-spacing: convert.to-rem(-0.1px);
|
|
@@ -88,15 +115,27 @@
|
|
|
88
115
|
@each $name, $value in color.$colors-light {
|
|
89
116
|
--color-#{$name}: #{$value};
|
|
90
117
|
}
|
|
118
|
+
|
|
119
|
+
// Megamenu ships as a standalone bundle and cannot rely on global tag token variables.
|
|
120
|
+
@each $name, $value in tag-colors.$tag-colors-light {
|
|
121
|
+
--#{$name}: #{$value};
|
|
122
|
+
}
|
|
91
123
|
}
|
|
92
124
|
|
|
93
125
|
@mixin dark-vars {
|
|
94
126
|
@each $name, $value in color.$colors-dark {
|
|
95
127
|
--color-#{$name}: #{$value};
|
|
96
128
|
}
|
|
129
|
+
|
|
130
|
+
// Keep tag colors available in dark mode as well.
|
|
131
|
+
@each $name, $value in tag-colors.$tag-colors-dark {
|
|
132
|
+
--#{$name}: #{$value};
|
|
133
|
+
}
|
|
97
134
|
}
|
|
98
135
|
|
|
99
136
|
@mixin base {
|
|
137
|
+
--megamenu-main-height: #{convert.to-rem(80px)};
|
|
138
|
+
|
|
100
139
|
top: 0;
|
|
101
140
|
left: 0;
|
|
102
141
|
width: 100%;
|
|
@@ -107,10 +146,20 @@
|
|
|
107
146
|
box-sizing: border-box;
|
|
108
147
|
font-family: #{base.$font-family};
|
|
109
148
|
|
|
149
|
+
@include breakpoint.get("lg") {
|
|
150
|
+
&:has(.megamenu__nav-logo > [data-megamenu-brand-mark]):not(.top-hidden) {
|
|
151
|
+
--megamenu-main-height: #{convert.to-rem(107px)};
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
110
155
|
// Scroll hide functionality
|
|
111
156
|
&.is-sticky {
|
|
112
157
|
position: fixed;
|
|
113
158
|
|
|
159
|
+
body.has-modal & {
|
|
160
|
+
padding-right: var(--ods-modal-scrollbar-width, 0px);
|
|
161
|
+
}
|
|
162
|
+
|
|
114
163
|
#{config.$class-root}__main {
|
|
115
164
|
position: sticky;
|
|
116
165
|
top: 0;
|
|
@@ -121,37 +170,21 @@
|
|
|
121
170
|
@include breakpoint.get("lg") {
|
|
122
171
|
#{config.$class-root}__top[data-hide-when-sticky="true"] {
|
|
123
172
|
transition:
|
|
173
|
+
height 0.2s ease-in-out,
|
|
124
174
|
transform 0.2s ease-in-out,
|
|
125
175
|
opacity 0.2s ease-in-out;
|
|
126
176
|
|
|
127
177
|
&.is-hidden {
|
|
178
|
+
height: 0;
|
|
128
179
|
transform: translateY(-100%);
|
|
129
180
|
opacity: 0;
|
|
130
181
|
pointer-events: none;
|
|
182
|
+
overflow: hidden;
|
|
131
183
|
}
|
|
132
184
|
}
|
|
133
185
|
|
|
134
186
|
#{config.$class-root}__main {
|
|
135
|
-
transition:
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
// When top is hidden, main should move up
|
|
139
|
-
#{config.$class-root}__top[data-hide-when-sticky="true"].is-hidden
|
|
140
|
-
~ #{config.$class-root}__main {
|
|
141
|
-
transform: translateY(-#{convert.to-rem(40px)});
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// When top is hidden, reduce the overall container height by the top bar height
|
|
145
|
-
#{config.$class-root}__top[data-hide-when-sticky="true"].is-hidden {
|
|
146
|
-
height: #{convert.to-rem(40px)};
|
|
147
|
-
overflow: hidden;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
// Adjust container height when top is hidden
|
|
152
|
-
&.top-hidden {
|
|
153
|
-
@include breakpoint.get("lg") {
|
|
154
|
-
height: #{convert.to-rem(80px)} !important;
|
|
187
|
+
transition: min-height 0.2s ease-in-out;
|
|
155
188
|
}
|
|
156
189
|
}
|
|
157
190
|
}
|
|
@@ -167,6 +200,10 @@
|
|
|
167
200
|
align-items: center;
|
|
168
201
|
gap: convert.to-rem(30px);
|
|
169
202
|
|
|
203
|
+
a {
|
|
204
|
+
text-decoration: none;
|
|
205
|
+
}
|
|
206
|
+
|
|
170
207
|
@include breakpoint.get("md", "down") {
|
|
171
208
|
gap: convert.to-rem(20px);
|
|
172
209
|
}
|
|
@@ -195,11 +232,20 @@
|
|
|
195
232
|
gap: convert.to-rem(15px);
|
|
196
233
|
}
|
|
197
234
|
|
|
235
|
+
@mixin nav-mobile-locale {
|
|
236
|
+
padding: convert.to-rem(15px) 0 !important;
|
|
237
|
+
margin-bottom: 0px !important;
|
|
238
|
+
}
|
|
239
|
+
|
|
198
240
|
@mixin nav-item {
|
|
199
241
|
display: flex;
|
|
200
242
|
height: 100%;
|
|
201
243
|
}
|
|
202
244
|
|
|
245
|
+
@mixin nav-item-lead {
|
|
246
|
+
margin-right: convert.to-rem(10px);
|
|
247
|
+
}
|
|
248
|
+
|
|
203
249
|
@mixin nav-dropdown {
|
|
204
250
|
position: absolute;
|
|
205
251
|
top: calc(100% + 1px);
|
|
@@ -210,20 +256,21 @@
|
|
|
210
256
|
display: none;
|
|
211
257
|
opacity: 0;
|
|
212
258
|
z-index: 15;
|
|
259
|
+
|
|
260
|
+
&.is-spaced {
|
|
261
|
+
padding-top: convert.to-rem(50px);
|
|
262
|
+
padding-bottom: convert.to-rem(50px);
|
|
263
|
+
}
|
|
213
264
|
}
|
|
214
265
|
|
|
215
266
|
@mixin nav-logo {
|
|
216
267
|
display: flex;
|
|
217
268
|
align-items: center;
|
|
218
269
|
|
|
219
|
-
|
|
220
|
-
|
|
270
|
+
svg,
|
|
271
|
+
img {
|
|
221
272
|
width: convert.to-rem(40px);
|
|
222
|
-
height:
|
|
223
|
-
|
|
224
|
-
& + * {
|
|
225
|
-
margin-left: convert.to-rem(20px);
|
|
226
|
-
}
|
|
273
|
+
height: auto;
|
|
227
274
|
}
|
|
228
275
|
|
|
229
276
|
> * {
|
|
@@ -231,21 +278,86 @@
|
|
|
231
278
|
line-height: convert.to-rem(40px);
|
|
232
279
|
}
|
|
233
280
|
|
|
281
|
+
> svg + span,
|
|
282
|
+
> img + span,
|
|
283
|
+
> [data-megamenu-brand-mark] + span {
|
|
284
|
+
margin-left: convert.to-rem(20px);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
> [data-megamenu-brand-mark] {
|
|
288
|
+
display: grid;
|
|
289
|
+
align-items: center;
|
|
290
|
+
justify-items: start;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
> [data-megamenu-brand-mark] > [data-megamenu-logo-full],
|
|
294
|
+
> [data-megamenu-brand-mark] > [data-megamenu-logo-compact] {
|
|
295
|
+
display: flex;
|
|
296
|
+
align-items: center;
|
|
297
|
+
grid-area: 1 / 1;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
@include breakpoint.get("lg") {
|
|
301
|
+
.megamenu:not(.top-hidden)
|
|
302
|
+
&
|
|
303
|
+
> [data-megamenu-brand-mark]
|
|
304
|
+
> [data-megamenu-logo-full] {
|
|
305
|
+
visibility: visible;
|
|
306
|
+
pointer-events: auto;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.megamenu:not(.top-hidden)
|
|
310
|
+
&
|
|
311
|
+
> [data-megamenu-brand-mark]
|
|
312
|
+
> [data-megamenu-logo-compact] {
|
|
313
|
+
visibility: hidden;
|
|
314
|
+
pointer-events: none;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.megamenu.top-hidden
|
|
318
|
+
&
|
|
319
|
+
> [data-megamenu-brand-mark]
|
|
320
|
+
> [data-megamenu-logo-full] {
|
|
321
|
+
visibility: hidden;
|
|
322
|
+
pointer-events: none;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.megamenu.top-hidden
|
|
326
|
+
&
|
|
327
|
+
> [data-megamenu-brand-mark]
|
|
328
|
+
> [data-megamenu-logo-compact] {
|
|
329
|
+
visibility: visible;
|
|
330
|
+
pointer-events: auto;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
234
334
|
@include breakpoint.get("md", "down") {
|
|
235
|
-
|
|
236
|
-
|
|
335
|
+
svg,
|
|
336
|
+
img {
|
|
237
337
|
width: convert.to-rem(30px);
|
|
238
|
-
height:
|
|
239
|
-
|
|
240
|
-
& + * {
|
|
241
|
-
margin-left: convert.to-rem(10px);
|
|
242
|
-
}
|
|
338
|
+
height: auto;
|
|
243
339
|
}
|
|
244
340
|
|
|
245
341
|
> * {
|
|
246
342
|
font-size: convert.to-rem(20px);
|
|
247
343
|
line-height: convert.to-rem(30px);
|
|
248
344
|
}
|
|
345
|
+
|
|
346
|
+
> svg + span,
|
|
347
|
+
> img + span,
|
|
348
|
+
> [data-megamenu-brand-mark] + span {
|
|
349
|
+
margin-left: convert.to-rem(10px);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
> [data-megamenu-brand-mark] > [data-megamenu-logo-full] {
|
|
353
|
+
display: none;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
> [data-megamenu-brand-mark] > [data-megamenu-logo-compact] {
|
|
357
|
+
display: flex;
|
|
358
|
+
visibility: visible;
|
|
359
|
+
pointer-events: auto;
|
|
360
|
+
}
|
|
249
361
|
}
|
|
250
362
|
}
|
|
251
363
|
|
|
@@ -261,9 +373,45 @@
|
|
|
261
373
|
&:focus,
|
|
262
374
|
&:active,
|
|
263
375
|
&.is-active {
|
|
376
|
+
color: var(--color-text-default) !important;
|
|
264
377
|
box-shadow: config.$active-line;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
@mixin nav-link-locale {
|
|
382
|
+
&:hover,
|
|
383
|
+
&:focus,
|
|
384
|
+
&:active,
|
|
385
|
+
&.is-active {
|
|
386
|
+
box-shadow: none;
|
|
265
387
|
text-decoration: none !important;
|
|
266
388
|
}
|
|
389
|
+
|
|
390
|
+
&.is-active {
|
|
391
|
+
color: var(--color-border-accent);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
@mixin nav-link-no-line {
|
|
396
|
+
&:hover,
|
|
397
|
+
&:focus,
|
|
398
|
+
&:active,
|
|
399
|
+
&.is-active {
|
|
400
|
+
color: var(--color-text-accent) !important;
|
|
401
|
+
box-shadow: none;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
@mixin divider {
|
|
406
|
+
margin-top: convert.to-rem(30px);
|
|
407
|
+
margin-bottom: convert.to-rem(30px);
|
|
408
|
+
border: 0;
|
|
409
|
+
border-top: 1px solid var(--color-border-subtle);
|
|
410
|
+
|
|
411
|
+
@include breakpoint.get("xs", "down") {
|
|
412
|
+
margin-top: convert.to-rem(15px);
|
|
413
|
+
margin-bottom: convert.to-rem(15px);
|
|
414
|
+
}
|
|
267
415
|
}
|
|
268
416
|
|
|
269
417
|
@mixin nav-cart-icon {
|
|
@@ -309,6 +457,22 @@
|
|
|
309
457
|
outline: 2px solid var(--color-border-accent);
|
|
310
458
|
outline-offset: 2px;
|
|
311
459
|
}
|
|
460
|
+
|
|
461
|
+
&--toggle {
|
|
462
|
+
.megamenu__nav-button-icon-close {
|
|
463
|
+
display: none;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
&.is-active {
|
|
467
|
+
.megamenu__nav-button-icon-open {
|
|
468
|
+
display: none;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.megamenu__nav-button-icon-close {
|
|
472
|
+
display: inline-flex;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
312
476
|
}
|
|
313
477
|
|
|
314
478
|
@mixin nav-button-indicator {
|
|
@@ -318,7 +482,7 @@
|
|
|
318
482
|
content: "";
|
|
319
483
|
position: absolute;
|
|
320
484
|
right: 0;
|
|
321
|
-
|
|
485
|
+
transform: translateY(1px);
|
|
322
486
|
width: 0;
|
|
323
487
|
height: 0;
|
|
324
488
|
margin-left: 0.5em;
|
|
@@ -338,6 +502,12 @@
|
|
|
338
502
|
margin-right: convert.to-rem(5px);
|
|
339
503
|
}
|
|
340
504
|
|
|
505
|
+
@mixin nav-icon-no-gap-md-down {
|
|
506
|
+
@include breakpoint.get("md", "down") {
|
|
507
|
+
margin-right: 0;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
341
511
|
@mixin nav-spacer {
|
|
342
512
|
display: flex;
|
|
343
513
|
flex: 1 0 1px;
|
|
@@ -353,23 +523,26 @@
|
|
|
353
523
|
}
|
|
354
524
|
|
|
355
525
|
@mixin subnav-item {
|
|
526
|
+
display: flex;
|
|
527
|
+
gap: convert.to-rem(10px);
|
|
356
528
|
margin-bottom: convert.to-rem(10px) !important;
|
|
357
529
|
|
|
358
530
|
&:last-child {
|
|
359
|
-
margin-bottom: 0;
|
|
531
|
+
margin-bottom: 0 !important;
|
|
360
532
|
}
|
|
361
533
|
}
|
|
362
534
|
|
|
363
535
|
@mixin top {
|
|
364
536
|
display: flex;
|
|
365
537
|
border-bottom: 1px solid var(--color-border-subtle);
|
|
366
|
-
|
|
538
|
+
height: convert.to-rem(40px);
|
|
539
|
+
overflow: hidden;
|
|
367
540
|
}
|
|
368
541
|
|
|
369
542
|
@mixin main {
|
|
370
543
|
display: flex;
|
|
371
544
|
border-bottom: 1px solid var(--color-border-subtle);
|
|
372
|
-
min-height:
|
|
545
|
+
min-height: var(--megamenu-main-height);
|
|
373
546
|
|
|
374
547
|
@include breakpoint.get("md", "down") {
|
|
375
548
|
min-height: convert.to-rem(60px);
|
|
@@ -429,8 +602,10 @@
|
|
|
429
602
|
}
|
|
430
603
|
|
|
431
604
|
#{config.$class-root}__container {
|
|
432
|
-
|
|
433
|
-
|
|
605
|
+
@include breakpoint.get("md") {
|
|
606
|
+
padding-left: convert.to-rem(20px);
|
|
607
|
+
padding-right: convert.to-rem(20px);
|
|
608
|
+
}
|
|
434
609
|
}
|
|
435
610
|
}
|
|
436
611
|
|
|
@@ -468,12 +643,92 @@
|
|
|
468
643
|
|
|
469
644
|
@mixin mobile-header {
|
|
470
645
|
display: flex;
|
|
471
|
-
|
|
646
|
+
height: convert.to-rem(80px);
|
|
472
647
|
border-bottom: 1px solid var(--color-border-subtle);
|
|
648
|
+
|
|
649
|
+
@include breakpoint.get("md", "down") {
|
|
650
|
+
height: convert.to-rem(60px);
|
|
651
|
+
}
|
|
473
652
|
}
|
|
474
653
|
|
|
475
654
|
@mixin mobile-body {
|
|
476
|
-
padding
|
|
655
|
+
padding: convert.to-rem(15px) 0 convert.to-rem(30px);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
@mixin mobile-account {
|
|
659
|
+
text-align: center;
|
|
660
|
+
padding-top: convert.to-rem(10px);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
@mixin mobile-account-avatar {
|
|
664
|
+
display: inline-flex;
|
|
665
|
+
justify-content: center;
|
|
666
|
+
align-items: center;
|
|
667
|
+
margin-bottom: convert.to-rem(12px);
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
@mixin mobile-account-name {
|
|
671
|
+
@include generate.css-map(typographyConfig.$caption, "large");
|
|
672
|
+
margin-top: 0;
|
|
673
|
+
margin-bottom: convert.to-rem(5px);
|
|
674
|
+
font-weight: 700;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
@mixin mobile-account-phone {
|
|
678
|
+
font-size: convert.to-rem(16px);
|
|
679
|
+
line-height: convert.to-rem(18px);
|
|
680
|
+
margin-top: 0;
|
|
681
|
+
margin-bottom: convert.to-rem(5px);
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
@mixin mobile-account-logout {
|
|
685
|
+
display: inline-block;
|
|
686
|
+
text-decoration: underline;
|
|
687
|
+
text-underline-offset: convert.to-rem(2px);
|
|
688
|
+
text-decoration-thickness: auto;
|
|
689
|
+
margin-bottom: convert.to-rem(20px);
|
|
690
|
+
font-weight: 400 !important;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
@mixin mobile-account-cta {
|
|
694
|
+
@include button.base();
|
|
695
|
+
@include button.layout();
|
|
696
|
+
@include button.size("default");
|
|
697
|
+
@include button.color("primary");
|
|
698
|
+
font-size: convert.to-rem(18px) !important;
|
|
699
|
+
color: color.$white !important;
|
|
700
|
+
width: 100%;
|
|
701
|
+
justify-content: center;
|
|
702
|
+
margin-bottom: convert.to-rem(40px);
|
|
703
|
+
text-decoration: none !important;
|
|
704
|
+
|
|
705
|
+
&:hover {
|
|
706
|
+
color: var(--color-text-inverse) !important;
|
|
707
|
+
background-color: var(--color-fill-contrast) !important;
|
|
708
|
+
border-color: transparent !important;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
&:active {
|
|
712
|
+
color: var(--color-fill-contrast) !important;
|
|
713
|
+
background-color: transparent !important;
|
|
714
|
+
border-color: var(--color-border-contrast) !important;
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
@mixin mobile-account-links {
|
|
719
|
+
margin-top: convert.to-rem(30px);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
@mixin mobile-account-link {
|
|
723
|
+
text-decoration: none !important;
|
|
724
|
+
|
|
725
|
+
&:hover,
|
|
726
|
+
&:focus,
|
|
727
|
+
&:active {
|
|
728
|
+
text-decoration: underline !important;
|
|
729
|
+
text-underline-offset: convert.to-rem(2px);
|
|
730
|
+
text-decoration-thickness: auto;
|
|
731
|
+
}
|
|
477
732
|
}
|
|
478
733
|
|
|
479
734
|
@mixin container {
|
|
@@ -499,20 +754,37 @@
|
|
|
499
754
|
border-radius: convert.to-rem(20px);
|
|
500
755
|
padding: convert.to-rem(30px);
|
|
501
756
|
|
|
757
|
+
a:hover,
|
|
758
|
+
a:focus {
|
|
759
|
+
text-decoration: underline;
|
|
760
|
+
text-underline-offset: convert.to-rem(2px);
|
|
761
|
+
text-decoration-thickness: auto;
|
|
762
|
+
}
|
|
763
|
+
|
|
502
764
|
@include breakpoint.get("md", "down") {
|
|
503
765
|
padding: convert.to-rem(15px);
|
|
766
|
+
|
|
767
|
+
&:not(.is-highlighted) {
|
|
768
|
+
padding: 0;
|
|
769
|
+
}
|
|
504
770
|
}
|
|
505
771
|
}
|
|
506
772
|
|
|
507
773
|
@mixin text-large {
|
|
508
774
|
font-size: convert.to-rem(28px) !important;
|
|
509
|
-
font-weight: 700;
|
|
510
775
|
line-height: convert.to-rem(32px);
|
|
776
|
+
font-weight: 700;
|
|
777
|
+
}
|
|
511
778
|
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
779
|
+
@mixin caption {
|
|
780
|
+
@include generate.css-map(typographyConfig.$caption, "default");
|
|
781
|
+
margin-top: 0;
|
|
782
|
+
margin-bottom: convert.to-rem(20px);
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
@mixin caption-large {
|
|
786
|
+
@include generate.css-map(typographyConfig.$caption, "large");
|
|
787
|
+
margin-top: 0;
|
|
516
788
|
}
|
|
517
789
|
|
|
518
790
|
@mixin icon {
|
|
@@ -579,40 +851,54 @@
|
|
|
579
851
|
height: 100vh;
|
|
580
852
|
}
|
|
581
853
|
|
|
582
|
-
@include breakpoint.get("
|
|
854
|
+
@include breakpoint.get("md", "down") {
|
|
583
855
|
display: none;
|
|
584
856
|
}
|
|
585
857
|
}
|
|
586
858
|
|
|
587
859
|
@mixin spacer {
|
|
588
|
-
height:
|
|
860
|
+
height: 0;
|
|
861
|
+
transition: height 0.2s ease-in-out;
|
|
862
|
+
|
|
863
|
+
.megamenu.is-sticky + & {
|
|
864
|
+
height: var(--header-height, #{convert.to-rem(118px)});
|
|
865
|
+
}
|
|
589
866
|
|
|
590
867
|
@include breakpoint.get("md", "down") {
|
|
591
|
-
|
|
868
|
+
.megamenu.is-sticky + & {
|
|
869
|
+
height: convert.to-rem(58px);
|
|
870
|
+
}
|
|
592
871
|
}
|
|
593
872
|
}
|
|
594
873
|
|
|
595
874
|
@mixin spacer-small {
|
|
596
|
-
height:
|
|
875
|
+
height: 0;
|
|
876
|
+
transition: height 0.2s ease-in-out;
|
|
877
|
+
|
|
878
|
+
.megamenu.is-sticky + & {
|
|
879
|
+
height: var(--header-height, #{convert.to-rem(78px)});
|
|
880
|
+
}
|
|
597
881
|
|
|
598
882
|
@include breakpoint.get("md", "down") {
|
|
599
|
-
|
|
883
|
+
.megamenu.is-sticky + & {
|
|
884
|
+
height: convert.to-rem(58px);
|
|
885
|
+
}
|
|
600
886
|
}
|
|
601
887
|
}
|
|
602
888
|
|
|
603
889
|
@mixin accordion {
|
|
604
890
|
@include accordion.base;
|
|
605
|
-
margin-bottom:
|
|
891
|
+
margin-bottom: 0px !important;
|
|
892
|
+
|
|
893
|
+
a {
|
|
894
|
+
text-decoration: none !important;
|
|
895
|
+
}
|
|
606
896
|
}
|
|
607
897
|
|
|
608
898
|
@mixin accordion-item {
|
|
609
899
|
@include accordion.item;
|
|
610
|
-
border-top: none;
|
|
611
|
-
border-bottom: 1px solid var(--color-border-subtle);
|
|
612
|
-
|
|
613
|
-
&:last-child {
|
|
614
|
-
border-bottom: none;
|
|
615
|
-
}
|
|
900
|
+
border-top: none !important;
|
|
901
|
+
border-bottom: 1px solid var(--color-border-subtle) !important;
|
|
616
902
|
}
|
|
617
903
|
|
|
618
904
|
@mixin accordion-button {
|
|
@@ -650,6 +936,7 @@
|
|
|
650
936
|
@include accordion.body;
|
|
651
937
|
display: none;
|
|
652
938
|
margin-bottom: 0;
|
|
939
|
+
margin-top: 0;
|
|
653
940
|
padding: convert.to-rem(20px) 0 convert.to-rem(30px) 0;
|
|
654
941
|
|
|
655
942
|
&.is-visible {
|
|
@@ -668,10 +955,12 @@
|
|
|
668
955
|
@mixin input {
|
|
669
956
|
@include input.base();
|
|
670
957
|
@include input.states();
|
|
958
|
+
max-width: unset !important;
|
|
671
959
|
margin-bottom: convert.to-rem(30px);
|
|
672
960
|
|
|
673
|
-
|
|
674
|
-
|
|
961
|
+
&:focus-visible {
|
|
962
|
+
outline-width: 2px !important;
|
|
963
|
+
outline-offset: -2px !important;
|
|
675
964
|
}
|
|
676
965
|
|
|
677
966
|
@each $size, $values in inputConfig.$sizes {
|
|
@@ -685,14 +974,48 @@
|
|
|
685
974
|
@include input.width($width);
|
|
686
975
|
}
|
|
687
976
|
}
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
@mixin input-wrapper {
|
|
980
|
+
position: relative;
|
|
981
|
+
display: inline-block;
|
|
982
|
+
width: 100%;
|
|
983
|
+
margin-bottom: convert.to-rem(30px);
|
|
688
984
|
|
|
689
985
|
&--search-icon-with-placeholder {
|
|
690
|
-
|
|
986
|
+
isolation: isolate;
|
|
987
|
+
|
|
988
|
+
&::before {
|
|
989
|
+
content: "";
|
|
990
|
+
position: absolute;
|
|
991
|
+
top: 50%;
|
|
992
|
+
left: convert.to-rem(8px);
|
|
993
|
+
width: convert.to-rem(20px);
|
|
994
|
+
height: convert.to-rem(20px);
|
|
995
|
+
transform: translateY(-50%);
|
|
996
|
+
background-image: inputConfig.$background-image-search-icon;
|
|
997
|
+
background-repeat: no-repeat;
|
|
998
|
+
pointer-events: none;
|
|
999
|
+
z-index: 2;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
#{config.$class-root}__input {
|
|
1003
|
+
background-image: none !important;
|
|
1004
|
+
padding-left: convert.to-rem(40px);
|
|
1005
|
+
margin-bottom: 0;
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
&--search-responsive {
|
|
1010
|
+
@include breakpoint.get("lg") {
|
|
1011
|
+
width: 50%;
|
|
1012
|
+
}
|
|
691
1013
|
}
|
|
692
1014
|
}
|
|
693
1015
|
|
|
694
1016
|
@mixin tag {
|
|
695
1017
|
@include tag.base;
|
|
1018
|
+
text-decoration: none !important;
|
|
696
1019
|
|
|
697
1020
|
@each $name, $props in tagConfig.$sizes {
|
|
698
1021
|
&#{generate.variant-name($name)} {
|
|
@@ -705,6 +1028,21 @@
|
|
|
705
1028
|
@include tag.color($variant);
|
|
706
1029
|
}
|
|
707
1030
|
}
|
|
1031
|
+
|
|
1032
|
+
// Interactive styles for button and anchor tags
|
|
1033
|
+
&:not(&--transparent):where(button) {
|
|
1034
|
+
@include tag.button();
|
|
1035
|
+
z-index: 2;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
&:not(&--transparent):where(a) {
|
|
1039
|
+
@include tag.button();
|
|
1040
|
+
z-index: 2;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
&:not(&--transparent) {
|
|
1044
|
+
@include tag.buttton-disabled();
|
|
1045
|
+
}
|
|
708
1046
|
}
|
|
709
1047
|
|
|
710
1048
|
@mixin tag-transparent {
|
|
@@ -726,11 +1064,38 @@
|
|
|
726
1064
|
&.is-active {
|
|
727
1065
|
text-decoration: none !important;
|
|
728
1066
|
}
|
|
1067
|
+
|
|
1068
|
+
&:hover,
|
|
1069
|
+
&:focus {
|
|
1070
|
+
color: inherit !important;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
&:active,
|
|
1074
|
+
&.is-active {
|
|
1075
|
+
color: color.$white !important;
|
|
1076
|
+
}
|
|
729
1077
|
}
|
|
730
1078
|
|
|
731
1079
|
@include tag.button-transparent-disabled();
|
|
732
1080
|
}
|
|
733
1081
|
|
|
1082
|
+
@mixin tag-orange {
|
|
1083
|
+
@include tag.color("orange");
|
|
1084
|
+
|
|
1085
|
+
&:where(button) {
|
|
1086
|
+
@include tag.button();
|
|
1087
|
+
z-index: 2;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
&:where(a) {
|
|
1091
|
+
@include tag.button();
|
|
1092
|
+
z-index: 2;
|
|
1093
|
+
text-decoration: none !important;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
@include tag.buttton-disabled();
|
|
1097
|
+
}
|
|
1098
|
+
|
|
734
1099
|
@mixin list-gap-small {
|
|
735
1100
|
display: flex;
|
|
736
1101
|
flex-direction: column;
|