@orangesk/orange-design-system 2.0.0-beta.2 → 2.0.0-beta.21
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 +346 -19
- 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 +1 -1
- package/build/components/AnchorNavigation/style.css.map +1 -1
- 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 +1 -1
- package/build/components/BodyBanner/style.css.map +1 -1
- 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 +1 -1
- package/build/components/Carousel/style.css.map +1 -1
- 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 +1 -1
- package/build/components/CartTable/style.css.map +1 -1
- 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 +1 -1
- package/build/components/DocumentationSidebar/style.css.map +1 -1
- package/build/components/Dropdown/style.css +1 -1
- package/build/components/Dropdown/style.css.map +1 -1
- package/build/components/Expander/style.css +2 -0
- package/build/components/Expander/style.css.map +1 -0
- package/build/components/FeatureAccordion/style.css +1 -1
- package/build/components/FeatureAccordion/style.css.map +1 -1
- package/build/components/Footer/style.css +1 -1
- package/build/components/Footer/style.css.map +1 -1
- package/build/components/Gauge/style.css +2 -0
- package/build/components/Gauge/style.css.map +1 -0
- package/build/components/Grid/style.css +1 -1
- package/build/components/Grid/style.css.map +1 -1
- package/build/components/Hero/style.css +1 -1
- package/build/components/Hero/style.css.map +1 -1
- package/build/components/Icon/style.css +2 -0
- package/build/components/Icon/style.css.map +1 -0
- package/build/components/IconList/style.css +1 -1
- package/build/components/IconList/style.css.map +1 -1
- 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 +1 -1
- package/build/components/Preview/style.css.map +1 -1
- package/build/components/Progress/style.css +2 -0
- package/build/components/Progress/style.css.map +1 -0
- package/build/components/PromoBanner/style.css +1 -1
- package/build/components/PromoBanner/style.css.map +1 -1
- 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 +1 -1
- package/build/components/Tooltip/style.css.map +1 -1
- 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 +1497 -0
- package/build/components/types/src/components/Accordion/Accordion.d.ts +2 -2
- package/build/components/types/src/components/Accordion/Accordion.static.d.ts +1 -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 +20 -17
- package/build/components/types/src/components/BlockAction/BlockAction.d.ts +2 -0
- package/build/components/types/src/components/BlockAction/Context.d.ts +2 -0
- package/build/components/types/src/components/BodyBanner/BodyBanner.d.ts +10 -10
- 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 +3 -4
- package/build/components/types/src/components/Card/Card.d.ts +2 -1
- package/build/components/types/src/components/Card/CardSection.d.ts +2 -2
- package/build/components/types/src/components/Card/index.d.ts +1 -0
- package/build/components/types/src/components/Carousel/Carousel.d.ts +4 -2
- package/build/components/types/src/components/Carousel/Carousel.static.d.ts +61 -7
- package/build/components/types/src/components/Carousel/constants.d.ts +2 -0
- package/build/components/types/src/components/CarouselHero/CarouselHero.d.ts +17 -0
- package/build/components/types/src/components/CarouselHero/CarouselHero.static.d.ts +47 -0
- package/build/components/types/src/components/CarouselHero/CarouselHeroItem.d.ts +8 -0
- package/build/components/types/src/components/CarouselHero/constants.d.ts +33 -0
- package/build/components/types/src/components/CarouselHero/index.d.ts +2 -0
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.d.ts +0 -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 +0 -4
- package/build/components/types/src/components/DocumentationSidebar/DocumentationSidebar.d.ts +1 -0
- package/build/components/types/src/components/Expander/Expander.d.ts +2 -5
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +1 -3
- package/build/components/types/src/components/Footer/Footer.d.ts +1 -5
- package/build/components/types/src/components/Footer/PlanObnovy.d.ts +1 -0
- package/build/components/types/src/components/Footer/constants.d.ts +10 -0
- package/build/components/types/src/components/Footer/data.d.ts +6 -0
- package/build/components/types/src/components/Forms/InputStepper/InputStepper.d.ts +0 -1
- package/build/components/types/src/components/Forms/Select/index.d.ts +1 -1
- package/build/components/types/src/components/Grid/Grid.d.ts +1 -1
- package/build/components/types/src/components/Grid/GridCol.d.ts +1 -1
- 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/iconSearchTags.d.ts +259 -252
- package/build/components/types/src/components/Link/Link.d.ts +2 -2
- package/build/components/types/src/components/Megamenu/Megamenu.d.ts +6 -1
- package/build/components/types/src/components/Megamenu/MegamenuBlog.d.ts +2 -1
- package/build/components/types/src/components/Megamenu/constants.d.ts +4 -0
- package/build/components/types/src/components/Megamenu/static.d.ts +2 -3
- package/build/components/types/src/components/Modal/Modal.d.ts +0 -4
- package/build/components/types/src/components/Modal/ModalBody.d.ts +3 -3
- package/build/components/types/src/components/Modal/ModalProductHeader.d.ts +2 -0
- package/build/components/types/src/components/Modal/index.d.ts +0 -1
- package/build/components/types/src/components/Pagination/Pagination.d.ts +2 -5
- package/build/components/types/src/components/Pagination/Separator.d.ts +2 -2
- package/build/components/types/src/components/Pill/Pill.d.ts +3 -1
- package/build/components/types/src/components/Preview/Preview.d.ts +1 -1
- package/build/components/types/src/components/Preview/PreviewGenerator.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 +9 -6
- package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +3 -3
- 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/Table/Row.d.ts +1 -2
- package/build/components/types/src/components/Table/Table.d.ts +2 -2
- package/build/components/types/src/components/Table/docsData.d.ts +2 -0
- package/build/components/types/src/components/Table/types.d.ts +1 -0
- package/build/components/types/src/components/Tabs/Tabs.d.ts +0 -2
- package/build/components/types/src/components/Tag/Tag.d.ts +0 -2
- package/build/components/types/src/components/Tile/Tile.d.ts +2 -1
- package/build/components/types/src/components/Tooltip/Tooltip.d.ts +0 -1
- package/build/components/types/src/components/Tooltip/tests/BaseWrapper.d.ts +1 -1
- package/build/components/types/src/components/index.d.ts +5 -5
- package/build/components/types/src/docs/utils/SpacePreview.d.ts +1 -2
- package/build/components/types/src/scripts/index.d.ts +12 -3
- package/build/components/types/src/scripts/modules/SameHeight.d.ts +3 -0
- package/build/components/types/src/styles/export/color.d.ts +105 -0
- 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/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 +2 -0
- package/build/lib/footer.css.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/sprite.svg +1 -1
- package/package.json +46 -38
- 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/article.svg +7 -0
- package/src/assets/icons/instagram.svg +5 -1
- package/src/assets/icons/linkedin-2.svg +3 -1
- package/src/assets/icons/pictogram-activation--dark.svg +10 -11
- package/src/assets/icons/pictogram-activation-free--dark.svg +4 -5
- package/src/assets/icons/pictogram-activation-free.svg +4 -5
- package/src/assets/icons/pictogram-activation.svg +10 -11
- package/src/assets/icons/pictogram-archive--dark.svg +3 -4
- package/src/assets/icons/pictogram-archive.svg +3 -4
- package/src/assets/icons/pictogram-calling-minutes--dark.svg +3 -4
- package/src/assets/icons/pictogram-calling-minutes.svg +3 -4
- package/src/assets/icons/pictogram-canal-plus--dark.svg +3 -4
- package/src/assets/icons/pictogram-canal-plus.svg +3 -4
- package/src/assets/icons/pictogram-competition-tickets--dark.svg +11 -12
- package/src/assets/icons/pictogram-competition-tickets.svg +11 -12
- package/src/assets/icons/pictogram-device-discount--dark.svg +7 -6
- package/src/assets/icons/pictogram-device-discount.svg +5 -6
- package/src/assets/icons/pictogram-discount-general--dark.svg +5 -6
- package/src/assets/icons/pictogram-discount-general.svg +5 -6
- package/src/assets/icons/pictogram-discount-price--dark.svg +5 -6
- package/src/assets/icons/pictogram-discount-price.svg +5 -6
- package/src/assets/icons/pictogram-extra-data--dark.svg +6 -7
- package/src/assets/icons/pictogram-extra-data.svg +6 -7
- package/src/assets/icons/pictogram-free-payment--dark.svg +5 -6
- package/src/assets/icons/pictogram-free-payment.svg +3 -6
- package/src/assets/icons/pictogram-gift--dark.svg +12 -13
- package/src/assets/icons/pictogram-gift-one-benefit--dark.svg +7 -8
- package/src/assets/icons/pictogram-gift-one-benefit.svg +7 -8
- package/src/assets/icons/pictogram-gift-two-benefits--dark.svg +8 -9
- package/src/assets/icons/pictogram-gift-two-benefits.svg +8 -9
- package/src/assets/icons/pictogram-gift.svg +3 -4
- package/src/assets/icons/pictogram-hbo-max--dark.svg +5 -6
- package/src/assets/icons/pictogram-hbo-max.svg +5 -6
- package/src/assets/icons/pictogram-infinite-sms--dark.svg +3 -4
- package/src/assets/icons/pictogram-infinite-sms.svg +3 -4
- package/src/assets/icons/pictogram-installation--dark.svg +4 -5
- package/src/assets/icons/pictogram-installation-free--dark.svg +4 -5
- package/src/assets/icons/pictogram-installation-free.svg +4 -5
- package/src/assets/icons/pictogram-installation.svg +4 -5
- package/src/assets/icons/pictogram-max--dark.svg +3 -4
- package/src/assets/icons/pictogram-max-canal-plus--dark.svg +5 -6
- package/src/assets/icons/pictogram-max-canal-plus.svg +5 -6
- package/src/assets/icons/pictogram-max.svg +3 -4
- package/src/assets/icons/pictogram-moj-orange-app--dark.svg +3 -4
- package/src/assets/icons/pictogram-moj-orange-app.svg +3 -4
- package/src/assets/icons/pictogram-movie-storage--dark.svg +4 -5
- package/src/assets/icons/pictogram-movie-storage.svg +4 -5
- package/src/assets/icons/pictogram-online-protection--dark.svg +3 -4
- package/src/assets/icons/pictogram-online-protection.svg +3 -4
- package/src/assets/icons/pictogram-random-damage--dark.svg +4 -8
- package/src/assets/icons/pictogram-random-damage.svg +4 -8
- package/src/assets/icons/pictogram-recycling--dark.svg +7 -8
- package/src/assets/icons/pictogram-recycling.svg +14 -15
- package/src/assets/icons/pictogram-repair--dark.svg +12 -13
- package/src/assets/icons/pictogram-repair.svg +12 -13
- package/src/assets/icons/pictogram-roaming--dark.svg +3 -4
- package/src/assets/icons/pictogram-roaming-discount--dark.svg +3 -16
- package/src/assets/icons/pictogram-roaming-discount.svg +15 -16
- package/src/assets/icons/pictogram-roaming.svg +3 -4
- package/src/assets/icons/pictogram-skylink--dark.svg +10 -11
- package/src/assets/icons/pictogram-skylink-live-tv--dark.svg +7 -8
- package/src/assets/icons/pictogram-skylink-live-tv.svg +7 -8
- package/src/assets/icons/pictogram-skylink.svg +10 -11
- package/src/assets/icons/pictogram-sms--dark.svg +5 -6
- package/src/assets/icons/pictogram-sms.svg +5 -6
- package/src/assets/icons/pictogram-theft--dark.svg +3 -7
- package/src/assets/icons/pictogram-theft.svg +3 -7
- package/src/assets/icons/pictogram-three-devices--dark.svg +4 -8
- package/src/assets/icons/pictogram-three-devices.svg +4 -8
- package/src/assets/icons/pictogram-trust--dark.svg +3 -4
- package/src/assets/icons/pictogram-trust.svg +3 -4
- package/src/assets/icons/pictogram-water-damage--dark.svg +5 -6
- package/src/assets/icons/pictogram-water-damage.svg +5 -6
- 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/components/Accordion/Accordion.static.ts +36 -30
- package/src/components/Accordion/Accordion.tsx +4 -4
- package/src/components/Accordion/AccordionHeader.tsx +0 -10
- package/src/components/Accordion/AccordionItem.tsx +1 -0
- package/src/components/Accordion/styles/config.scss +5 -4
- package/src/components/Accordion/styles/mixins.scss +12 -11
- package/src/components/Accordion/styles/style.scss +2 -2
- package/src/components/Accordion/tests/Accordion.unit.test.js +12 -26
- package/src/components/Alert/Alert.tsx +0 -6
- package/src/components/Alert/styles/config.scss +1 -1
- package/src/components/Alert/styles/mixins.scss +3 -1
- package/src/components/Alert/tests/Alert.test.js +0 -14
- package/src/components/AnchorNavigation/AnchorNavigation.static.ts +296 -72
- package/src/components/AnchorNavigation/AnchorNavigation.tsx +21 -26
- package/src/components/AnchorNavigation/styles/mixins.scss +23 -32
- package/src/components/AnchorNavigation/tests/AnchorNavigation.conformance.test.js +58 -0
- package/src/components/AnchorNavigation/tests/AnchorNavigation.unit.test.js +163 -0
- package/src/components/Bar/styles/config.scss +4 -5
- package/src/components/Bar/styles/mixins.scss +11 -11
- package/src/components/BlockAction/BlockAction.tsx +10 -3
- package/src/components/BlockAction/Context.tsx +4 -0
- package/src/components/BlockAction/styles/mixins.scss +6 -6
- package/src/components/BlockAction/styles/style.scss +5 -0
- package/src/components/BodyBanner/BodyBanner.tsx +52 -73
- package/src/components/BodyBanner/styles/mixins.scss +39 -33
- package/src/components/BodyBanner/styles/style.scss +4 -18
- package/src/components/BodyBanner/tests/BodyBanner.conformance.test.js +67 -0
- package/src/components/BodyBanner/tests/BodyBanner.unit.test.js +194 -0
- package/src/components/Breadcrumbs/BreadcrumbItem.tsx +16 -7
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +4 -12
- package/src/components/Breadcrumbs/styles/mixins.scss +2 -4
- package/src/components/Breadcrumbs/tests/BreadcrumbItem.unit.test.js +14 -8
- package/src/components/Breadcrumbs/tests/Breadcrumbs.integration.test.js +14 -37
- package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +19 -23
- package/src/components/Button/Button.tsx +2 -6
- package/src/components/Button/styles/config.scss +5 -5
- package/src/components/Button/styles/mixins.scss +6 -1
- package/src/components/Button/styles/style.scss +4 -0
- package/src/components/Button/tests/Button.test.js +0 -10
- package/src/components/Buttons/styles/mixins.scss +1 -1
- package/src/components/Card/Card.tsx +20 -3
- package/src/components/Card/CardSection.tsx +7 -11
- package/src/components/Card/index.ts +1 -0
- package/src/components/Card/styles/config.scss +2 -2
- package/src/components/Card/styles/mixins.scss +8 -6
- package/src/components/Card/styles/style.scss +4 -0
- package/src/components/Card/tests/Card.unit.test.js +45 -6
- package/src/components/Card/tests/CardSection.unit.test.js +36 -3
- package/src/components/Carousel/Carousel.static.ts +371 -10
- package/src/components/Carousel/Carousel.tsx +41 -24
- package/src/components/Carousel/constants.ts +2 -0
- package/src/components/Carousel/styles/config.scss +1 -2
- package/src/components/Carousel/styles/mixins.scss +42 -3
- package/src/components/Carousel/styles/style.scss +8 -0
- package/src/components/Carousel/tests/Carousel.static.test.js +616 -0
- package/src/components/Carousel/tests/Carousel.unit.test.js +117 -12
- package/src/components/CarouselHero/CarouselHero.static.ts +528 -0
- package/src/components/CarouselHero/CarouselHero.tsx +139 -0
- package/src/components/CarouselHero/CarouselHeroItem.tsx +40 -0
- package/src/components/CarouselHero/constants.ts +36 -0
- package/src/components/CarouselHero/index.ts +2 -0
- package/src/components/CarouselHero/styles/config.scss +54 -0
- package/src/components/CarouselHero/styles/mixins.scss +278 -0
- package/src/components/CarouselHero/styles/style.scss +63 -0
- package/src/components/CarouselHero/tests/CarouselHero.conformance.test.js +129 -0
- package/src/components/CarouselHero/tests/CarouselHero.unit.test.js +332 -0
- package/src/components/CarouselHero/tests/CarouselHeroItem.conformance.test.js +135 -0
- package/src/components/CarouselHero/tests/CarouselHeroItem.unit.test.js +143 -0
- package/src/components/CarouselPromotions/CarouselPromotions.tsx +1 -6
- package/src/components/CarouselPromotions/styles/mixins.scss +8 -5
- package/src/components/CarouselPromotions/tests/CarouselPromotions.unit.test.js +0 -17
- package/src/components/CartTable/FooterPriceColumn.tsx +5 -3
- package/src/components/CartTable/Price.tsx +1 -1
- package/src/components/Code/styles/style.scss +6 -5
- package/src/components/Controls/Controls.tsx +2 -7
- package/src/components/Controls/styles/config.scss +2 -2
- package/src/components/Controls/tests/Controls.test.js +0 -32
- package/src/components/Cover/Cover.tsx +22 -20
- package/src/components/Cover/styles/config.scss +23 -12
- package/src/components/Cover/styles/mixins.scss +6 -5
- package/src/components/Cover/tests/Cover.unit.test.js +52 -52
- package/src/components/Divider/Divider.tsx +2 -16
- package/src/components/Divider/styles/config.scss +0 -17
- package/src/components/Divider/styles/mixins.scss +8 -10
- package/src/components/Divider/styles/style.scss +2 -16
- package/src/components/Divider/tests/Divider.conformance.test.js +1 -1
- package/src/components/Divider/tests/Divider.unit.test.js +0 -17
- package/src/components/DocumentationSidebar/DocumentationSidebar.tsx +188 -2
- package/src/components/DocumentationSidebar/styles/style.scss +76 -3
- package/src/components/Dropdown/styles/mixins.scss +1 -1
- package/src/components/Expander/Expander.static.ts +11 -12
- package/src/components/Expander/Expander.tsx +4 -8
- package/src/components/Expander/styles/style.scss +12 -3
- package/src/components/Expander/tests/Expander.conformance.test.js +8 -12
- package/src/components/Expander/tests/Expander.unit.test.js +37 -47
- package/src/components/FeatureAccordion/FeatureAccordion.tsx +3 -13
- package/src/components/FeatureAccordion/styles/mixins.scss +6 -14
- package/src/components/FeatureAccordion/styles/style.scss +2 -4
- package/src/components/FeatureAccordion/tests/FeatureAccordion.conformance.test.js +2 -0
- package/src/components/FeatureAccordion/tests/FeatureAccordion.unit.test.js +0 -5
- package/src/components/Footer/Footer.tsx +110 -71
- package/src/components/Footer/PlanObnovy.tsx +211 -0
- package/src/components/Footer/constants.ts +11 -0
- package/src/components/Footer/data.ts +27 -0
- package/src/components/Footer/styles/config.scss +1 -0
- package/src/components/Footer/styles/mixins.scss +182 -0
- package/src/components/Footer/styles/style.scss +54 -0
- package/src/components/Footer/tests/Footer.conformance.test.js +133 -8
- package/src/components/Footer/tests/Footer.unit.test.js +71 -6
- package/src/components/Forms/DatePicker/styles/style.scss +1 -1
- package/src/components/Forms/Field/styles/config.scss +8 -8
- package/src/components/Forms/Field/tests/Autocomplete.Field.conformance.test.js +1 -1
- package/src/components/Forms/Field/tests/Checkbox.Field.conformance.test.js +1 -0
- package/src/components/Forms/Field/tests/File.Field.conformance.test.js +1 -0
- package/src/components/Forms/Field/tests/Group.Field.conformance.test.js +1 -0
- package/src/components/Forms/Field/tests/Radio.Field.conformance.test.js +1 -0
- package/src/components/Forms/Field/tests/Rangeslider.Field.test.js +1 -0
- package/src/components/Forms/Field/tests/Select.Field.conformance.test.js +1 -0
- package/src/components/Forms/Field/tests/Text.Field.conformance.test.js +1 -0
- package/src/components/Forms/Field/tests/Textarea.Field.conformance.test.js +1 -0
- package/src/components/Forms/Fieldset/styles/mixins.scss +3 -3
- package/src/components/Forms/File/styles/mixins.scss +1 -1
- package/src/components/Forms/Group/styles/mixins.scss +14 -0
- package/src/components/Forms/InputStepper/InputStepper.tsx +0 -4
- package/src/components/Forms/InputStepper/styles/style.scss +0 -66
- package/src/components/Forms/Label/styles/config.scss +3 -0
- package/src/components/Forms/RangeSlider/styles/mixins.scss +1 -1
- package/src/components/Forms/TextArea/styles/mixins.scss +10 -9
- package/src/components/Forms/TextInput/styles/config.scss +1 -1
- package/src/components/Forms/styles/config.scss +5 -4
- package/src/components/Gauge/styles/style.scss +1 -1
- package/src/components/Grid/Grid.tsx +1 -1
- package/src/components/Grid/styles/config.scss +5 -3
- package/src/components/Grid/styles/mixins.scss +29 -19
- package/src/components/Grid/tests/Grid.unit.test.js +11 -0
- package/src/components/Hero/Hero.tsx +2 -16
- package/src/components/Hero/styles/style.scss +0 -14
- package/src/components/Hero/tests/Hero.unit.test.js +109 -119
- package/src/components/Icon/iconSearchTags.ts +440 -432
- package/src/components/Icon/styles/style.scss +15 -0
- package/src/components/Icon/tests/Pictogram.unit.test.js +38 -0
- package/src/components/IconList/styles/mixins.scss +5 -5
- package/src/components/Image/styles/mixins.scss +2 -2
- package/src/components/Link/Link.tsx +4 -5
- package/src/components/Link/styles/mixins.scss +9 -3
- package/src/components/Link/styles/style.scss +4 -2
- package/src/components/Link/tests/Link.conformance.test.js +6 -27
- package/src/components/Link/tests/Link.unit.test.js +1 -30
- package/src/components/List/styles/config.scss +12 -12
- package/src/components/List/styles/mixins.scss +16 -9
- package/src/components/Loader/Loader.tsx +2 -10
- package/src/components/Loader/styles/mixins.scss +1 -1
- package/src/components/Loader/styles/style.scss +6 -4
- package/src/components/Megamenu/Megamenu.static.ts +2 -0
- package/src/components/Megamenu/Megamenu.tsx +730 -650
- package/src/components/Megamenu/MegamenuBlog.tsx +201 -183
- package/src/components/Megamenu/constants.ts +4 -0
- package/src/components/Megamenu/static.ts +5 -11
- package/src/components/Megamenu/styles/mixins.scss +50 -3
- package/src/components/Megamenu/styles/style.scss +10 -0
- package/src/components/Modal/Modal.tsx +1 -14
- package/src/components/Modal/ModalBody.tsx +26 -14
- package/src/components/Modal/ModalProductHeader.tsx +6 -2
- package/src/components/Modal/index.ts +0 -1
- package/src/components/Modal/styles/config.scss +4 -4
- package/src/components/Modal/styles/mixins.scss +18 -57
- package/src/components/Modal/styles/style.scss +1 -16
- package/src/components/Modal/tests/Modal.unit.test.js +0 -59
- package/src/components/Modal/tests/ModalBody.unit.test.js +21 -12
- package/src/components/Modal/tests/ModalProductHeader.unit.test.js +12 -0
- package/src/components/Pagination/Pagination.tsx +3 -13
- package/src/components/Pagination/styles/mixins.scss +1 -1
- package/src/components/Pill/Pill.tsx +17 -5
- package/src/components/Pill/styles/config.scss +2 -1
- package/src/components/Pill/styles/style.scss +17 -1
- package/src/components/Pill/tests/Pill.conformance.test.js +9 -3
- package/src/components/Pill/tests/Pill.unit.test.js +87 -9
- package/src/components/Preview/PreviewGenerator.tsx +50 -29
- package/src/components/Progress/Progress.tsx +1 -13
- package/src/components/Progress/styles/config.scss +4 -4
- package/src/components/Progress/styles/mixins.scss +9 -7
- package/src/components/PromoBanner/PromoBanner.tsx +70 -43
- package/src/components/PromoBanner/styles/mixins.scss +39 -17
- package/src/components/PromoBanner/styles/style.scss +5 -7
- package/src/components/PromoBanner/tests/PromoBanner.conformance.test.js +783 -0
- package/src/components/PromoBanner/tests/PromoBanner.unit.test.js +549 -0
- package/src/components/PromotionCard/PromotionCard.tsx +12 -13
- package/src/components/PromotionCard/styles/mixins.scss +2 -1
- package/src/components/PromotionCard/tests/PromotionCard.conformance.test.js +566 -0
- package/src/components/PromotionCard/tests/PromotionCard.unit.test.js +438 -0
- package/src/components/Section/Section.tsx +20 -10
- package/src/components/Section/styles/config.scss +18 -16
- package/src/components/Section/styles/mixins.scss +16 -13
- package/src/components/Section/styles/style.scss +1 -0
- package/src/components/Section/tests/Section.conformance.test.js +23 -12
- package/src/components/Section/tests/Section.unit.test.js +53 -32
- 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.js +162 -0
- package/src/components/Stepbar/Stepbar.tsx +0 -5
- package/src/components/Stepbar/styles/mixins.scss +1 -1
- package/src/components/Table/Row.tsx +9 -3
- package/src/components/Table/Table.tsx +11 -6
- package/src/components/Table/TableContext.ts +1 -0
- package/src/components/Table/docsData.ts +25 -0
- package/src/components/Table/styles/mixins.scss +41 -5
- package/src/components/Table/styles/style.scss +6 -0
- package/src/components/Table/tests/Table.conformance.test.js +5 -1
- package/src/components/Table/tests/Table.unit.test.js +0 -31
- package/src/components/Table/types.ts +1 -0
- package/src/components/Tabs/Tabs.tsx +0 -5
- package/src/components/Tabs/styles/mixins.scss +1 -1
- package/src/components/Tabs/tests/Tabs.unit.test.js +0 -8
- package/src/components/Tag/Tag.tsx +0 -4
- package/src/components/Tag/styles/config.scss +19 -23
- package/src/components/Tag/styles/style.scss +33 -0
- package/src/components/Tile/CHANGELOG.md +15 -1
- package/src/components/Tile/Tile.tsx +11 -3
- package/src/components/Tile/styles/config.scss +0 -11
- package/src/components/Tile/styles/mixins.scss +1 -0
- package/src/components/Tile/styles/style.scss +1 -5
- package/src/components/Tile/tests/Tile.unit.test.js +10 -3
- package/src/components/Tooltip/InfoTooltip.tsx +1 -5
- package/src/components/Tooltip/Tooltip.tsx +1 -10
- package/src/components/Tooltip/tests/Tooltip.conformance.test.js +5 -1
- package/src/components/Tooltip/tests/Tooltip.unit.test.js +0 -29
- package/src/components/index.ts +9 -4
- package/src/styles/base/globals-forms.scss +8 -0
- package/src/styles/base/globals.scss +26 -22
- package/src/styles/base/styleguide.scss +22 -17
- package/src/styles/export/base.js +1 -1
- package/src/styles/export/color.js +102 -20
- package/src/styles/export/color.scss +10 -20
- package/src/styles/shame.scss +1 -0
- package/src/styles/tokens/color-vars.scss +39 -0
- package/src/styles/tokens/color.scss +14 -14
- package/src/styles/tokens/tag-colors.scss +20 -0
- package/src/styles/typography/config.scss +83 -37
- package/src/styles/typography/mixins.scss +29 -15
- package/src/styles/typography/style.scss +6 -3
- package/src/styles/utilities/border.scss +1 -1
- package/src/styles/utilities/color.scss +99 -20
- package/src/styles/utilities/horizontal-scroll.scss +1 -1
- package/src/styles/utilities/index.scss +1 -0
- package/src/styles/utilities/layout.scss +27 -0
- package/src/styles/utilities/ordering.scss +44 -0
- package/src/styles/utilities/text.scss +44 -2
- package/src/styles/utilities/visibility.scss +2 -4
- package/build/components/Accordion/index.js +0 -16
- package/build/components/Accordion/index.js.map +0 -1
- package/build/components/Accordion/tsconfig.tsbuildinfo +0 -1
- package/build/components/Alert/index.js +0 -16
- package/build/components/Alert/index.js.map +0 -1
- package/build/components/Alert/tsconfig.tsbuildinfo +0 -1
- package/build/components/AnchorNavigation/index.js +0 -16
- package/build/components/AnchorNavigation/index.js.map +0 -1
- package/build/components/AnchorNavigation/tsconfig.tsbuildinfo +0 -1
- package/build/components/Bar/index.js +0 -16
- package/build/components/Bar/index.js.map +0 -1
- package/build/components/Bar/tsconfig.tsbuildinfo +0 -1
- package/build/components/BlockAction/index.js +0 -16
- package/build/components/BlockAction/index.js.map +0 -1
- package/build/components/BlockAction/tsconfig.tsbuildinfo +0 -1
- package/build/components/BodyBanner/index.js +0 -16
- package/build/components/BodyBanner/index.js.map +0 -1
- package/build/components/BodyBanner/tsconfig.tsbuildinfo +0 -1
- package/build/components/Breadcrumbs/index.js +0 -16
- package/build/components/Breadcrumbs/index.js.map +0 -1
- package/build/components/Breadcrumbs/tsconfig.tsbuildinfo +0 -1
- package/build/components/Button/index.js +0 -16
- package/build/components/Button/index.js.map +0 -1
- package/build/components/Button/tsconfig.tsbuildinfo +0 -1
- package/build/components/Buttons/index.js +0 -16
- package/build/components/Buttons/index.js.map +0 -1
- package/build/components/Buttons/tsconfig.tsbuildinfo +0 -1
- package/build/components/Card/index.js +0 -16
- package/build/components/Card/index.js.map +0 -1
- package/build/components/Card/tsconfig.tsbuildinfo +0 -1
- package/build/components/Carousel/index.js +0 -16
- package/build/components/Carousel/index.js.map +0 -1
- package/build/components/Carousel/tsconfig.tsbuildinfo +0 -1
- package/build/components/CarouselPromotions/index.js +0 -16
- package/build/components/CarouselPromotions/index.js.map +0 -1
- package/build/components/CarouselPromotions/tsconfig.tsbuildinfo +0 -1
- package/build/components/CartTable/index.js +0 -16
- package/build/components/CartTable/index.js.map +0 -1
- package/build/components/CartTable/tsconfig.tsbuildinfo +0 -1
- package/build/components/Code/index.js +0 -11
- package/build/components/Code/index.js.map +0 -1
- package/build/components/Code/tsconfig.tsbuildinfo +0 -1
- package/build/components/Container/index.js +0 -16
- package/build/components/Container/index.js.map +0 -1
- package/build/components/Container/tsconfig.tsbuildinfo +0 -1
- package/build/components/Controls/index.js +0 -16
- package/build/components/Controls/index.js.map +0 -1
- package/build/components/Controls/tsconfig.tsbuildinfo +0 -1
- package/build/components/Cover/index.js +0 -16
- package/build/components/Cover/index.js.map +0 -1
- package/build/components/Cover/tsconfig.tsbuildinfo +0 -1
- package/build/components/Divider/index.js +0 -16
- package/build/components/Divider/index.js.map +0 -1
- package/build/components/Divider/tsconfig.tsbuildinfo +0 -1
- package/build/components/DocumentationSidebar/index.js +0 -16
- package/build/components/DocumentationSidebar/index.js.map +0 -1
- package/build/components/DocumentationSidebar/tsconfig.tsbuildinfo +0 -1
- package/build/components/Dropdown/index.js +0 -16
- package/build/components/Dropdown/index.js.map +0 -1
- package/build/components/Dropdown/tsconfig.tsbuildinfo +0 -1
- package/build/components/Expander/index.js +0 -16
- package/build/components/Expander/index.js.map +0 -1
- package/build/components/Expander/tsconfig.tsbuildinfo +0 -1
- package/build/components/FeatureAccordion/index.js +0 -16
- package/build/components/FeatureAccordion/index.js.map +0 -1
- package/build/components/FeatureAccordion/tsconfig.tsbuildinfo +0 -1
- package/build/components/Footer/index.js +0 -16
- package/build/components/Footer/index.js.map +0 -1
- package/build/components/Footer/tsconfig.tsbuildinfo +0 -1
- package/build/components/Forms/index.js +0 -20
- package/build/components/Forms/index.js.map +0 -1
- package/build/components/Forms/style.css +0 -2
- package/build/components/Forms/style.css.map +0 -1
- package/build/components/Forms/tsconfig.tsbuildinfo +0 -1
- package/build/components/Gauge/index.js +0 -16
- package/build/components/Gauge/index.js.map +0 -1
- package/build/components/Gauge/tsconfig.tsbuildinfo +0 -1
- package/build/components/Grid/index.js +0 -16
- package/build/components/Grid/index.js.map +0 -1
- package/build/components/Grid/tsconfig.tsbuildinfo +0 -1
- package/build/components/Hero/index.js +0 -16
- package/build/components/Hero/index.js.map +0 -1
- package/build/components/Hero/tsconfig.tsbuildinfo +0 -1
- package/build/components/Icon/index.js +0 -11
- package/build/components/Icon/index.js.map +0 -1
- package/build/components/Icon/tsconfig.tsbuildinfo +0 -1
- package/build/components/IconList/index.js +0 -16
- package/build/components/IconList/index.js.map +0 -1
- package/build/components/IconList/tsconfig.tsbuildinfo +0 -1
- package/build/components/Image/index.js +0 -16
- package/build/components/Image/index.js.map +0 -1
- package/build/components/Image/tsconfig.tsbuildinfo +0 -1
- package/build/components/Link/index.js +0 -7
- package/build/components/Link/index.js.map +0 -1
- package/build/components/Link/tsconfig.tsbuildinfo +0 -1
- package/build/components/List/index.js +0 -16
- package/build/components/List/index.js.map +0 -1
- package/build/components/List/tsconfig.tsbuildinfo +0 -1
- package/build/components/Loader/index.js +0 -16
- package/build/components/Loader/index.js.map +0 -1
- package/build/components/Loader/tsconfig.tsbuildinfo +0 -1
- package/build/components/Megamenu/index.js +0 -16
- package/build/components/Megamenu/index.js.map +0 -1
- package/build/components/Megamenu/tsconfig.tsbuildinfo +0 -1
- package/build/components/Modal/index.js +0 -20
- package/build/components/Modal/index.js.map +0 -1
- package/build/components/Modal/tsconfig.tsbuildinfo +0 -1
- package/build/components/Pagination/index.js +0 -16
- package/build/components/Pagination/index.js.map +0 -1
- package/build/components/Pagination/tsconfig.tsbuildinfo +0 -1
- package/build/components/Pill/index.js +0 -16
- package/build/components/Pill/index.js.map +0 -1
- package/build/components/Pill/tsconfig.tsbuildinfo +0 -1
- package/build/components/Preview/index.js +0 -77
- package/build/components/Preview/index.js.map +0 -1
- package/build/components/Preview/tsconfig.tsbuildinfo +0 -1
- package/build/components/Progress/index.js +0 -16
- package/build/components/Progress/index.js.map +0 -1
- package/build/components/Progress/tsconfig.tsbuildinfo +0 -1
- package/build/components/PromoBanner/index.js +0 -16
- package/build/components/PromoBanner/index.js.map +0 -1
- package/build/components/PromoBanner/tsconfig.tsbuildinfo +0 -1
- package/build/components/PromotionCard/index.js +0 -16
- package/build/components/PromotionCard/index.js.map +0 -1
- package/build/components/PromotionCard/tsconfig.tsbuildinfo +0 -1
- package/build/components/Section/index.js +0 -16
- package/build/components/Section/index.js.map +0 -1
- package/build/components/Section/tsconfig.tsbuildinfo +0 -1
- package/build/components/Skeleton/index.js +0 -16
- package/build/components/Skeleton/index.js.map +0 -1
- package/build/components/Skeleton/tsconfig.tsbuildinfo +0 -1
- package/build/components/SkipLink/index.js +0 -16
- package/build/components/SkipLink/index.js.map +0 -1
- package/build/components/SkipLink/tsconfig.tsbuildinfo +0 -1
- package/build/components/Stepbar/index.js +0 -16
- package/build/components/Stepbar/index.js.map +0 -1
- package/build/components/Stepbar/tsconfig.tsbuildinfo +0 -1
- package/build/components/Sticker/index.js +0 -16
- package/build/components/Sticker/index.js.map +0 -1
- package/build/components/Sticker/tsconfig.tsbuildinfo +0 -1
- package/build/components/Table/index.js +0 -16
- package/build/components/Table/index.js.map +0 -1
- package/build/components/Table/tsconfig.tsbuildinfo +0 -1
- package/build/components/Tabs/index.js +0 -16
- package/build/components/Tabs/index.js.map +0 -1
- package/build/components/Tabs/tsconfig.tsbuildinfo +0 -1
- package/build/components/Tag/index.js +0 -16
- package/build/components/Tag/index.js.map +0 -1
- package/build/components/Tag/tsconfig.tsbuildinfo +0 -1
- package/build/components/Testimonial/index.js +0 -16
- package/build/components/Testimonial/index.js.map +0 -1
- package/build/components/Testimonial/tsconfig.tsbuildinfo +0 -1
- package/build/components/Tile/index.js +0 -16
- package/build/components/Tile/index.js.map +0 -1
- package/build/components/Tile/tsconfig.tsbuildinfo +0 -1
- package/build/components/Tooltip/index.js +0 -16
- package/build/components/Tooltip/index.js.map +0 -1
- package/build/components/Tooltip/tsconfig.tsbuildinfo +0 -1
- package/build/components/index.css +0 -3
- package/build/components/index.css.map +0 -1
- package/build/components/static.css +0 -2
- package/build/components/static.css.map +0 -1
- package/build/components/static.js +0 -10
- package/build/components/static.js.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/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/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/Divider/Divider.mdx +0 -65
- package/src/components/Dropdown/Dropdown.mdx +0 -260
- package/src/components/Expander/Expander.mdx +0 -153
- 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/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/Icon/Icon.mdx +0 -172
- package/src/components/IconList/IconList.mdx +0 -53
- 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/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/utils.js +0 -12
- package/src/components/Pill/Pill.mdx +0 -41
- package/src/components/Progress/Progress.mdx +0 -119
- 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/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/Tile/Tile.mdx +0 -163
- 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
|
@@ -8,11 +8,11 @@ export interface LinkProps {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
/** link content */
|
|
10
10
|
children?: React.ReactNode;
|
|
11
|
-
/** color scheme for link: dark (white text) or light (black text) */
|
|
12
|
-
colorScheme?: "dark" | "light";
|
|
13
11
|
/** whether the link should be underlined */
|
|
14
12
|
isUnderline?: boolean;
|
|
15
13
|
/** whether the link should have normal font weight */
|
|
16
14
|
isNormal?: boolean;
|
|
15
|
+
/** when true, adds the .no-accent modifier to disable orange accent color on hover (useful for dark backgrounds) */
|
|
16
|
+
noAccent?: boolean;
|
|
17
17
|
}
|
|
18
18
|
export declare const Link: React.FC<LinkProps & React.HTMLAttributes<HTMLElement>>;
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const list: string[];
|
|
2
|
+
export type MegamenuProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
searchEmpty?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const Megamenu: ({ className, searchEmpty }: MegamenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { MegamenuProps } from "./Megamenu";
|
|
2
|
+
export declare const MegamenuBlog: ({ className, searchEmpty }: MegamenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -21,6 +21,8 @@ export declare const CLASS_NAV_DROPDOWN = "megamenu__nav-dropdown";
|
|
|
21
21
|
export declare const CLASS_SUBNAV = "megamenu__subnav";
|
|
22
22
|
export declare const CLASS_SUBNAV_ITEM = "megamenu__subnav-item";
|
|
23
23
|
export declare const CLASS_OVERLAY = "megamenu__overlay";
|
|
24
|
+
export declare const CLASS_SPACER = "megamenu-spacer";
|
|
25
|
+
export declare const CLASS_SPACER_SMALL = "megamenu-spacer--small";
|
|
24
26
|
export declare const CLASS_TEXT_LARGE = "megamenu__text--large";
|
|
25
27
|
export declare const CLASS_HIDE_MD_DOWN = "megamenu--hide-md-down";
|
|
26
28
|
export declare const CLASS_HIDE_LG_UP = "megamenu--hide-lg-up";
|
|
@@ -40,6 +42,8 @@ export declare const CLASS_ACCORDION_BODY = "megamenu__accordion-body";
|
|
|
40
42
|
export declare const CLASS_INPUT = "megamenu__input";
|
|
41
43
|
export declare const CLASS_INPUT_SEARCH_ICON_WITH_PLACEHOLDER = "megamenu__input--search-icon-with-placeholder";
|
|
42
44
|
export declare const CLASS_TAG = "megamenu__tag";
|
|
45
|
+
export declare const CLASS_TAG_ORANGE = "megamenu__tag--orange";
|
|
46
|
+
export declare const CLASS_TAG_SMALL = "megamenu__tag--small";
|
|
43
47
|
export declare const CLASS_TAG_TRANSPARENT = "megamenu__tag--transparent";
|
|
44
48
|
export declare const CLASS_TAG_LARGE = "megamenu__tag--large";
|
|
45
49
|
export declare const CLASS_LIST_INLINE = "megamenu__list--inline";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import Megamenu from "./Megamenu.static";
|
|
2
|
-
import { initModulesWithin, destroyModulesWithin } from "../../scripts/lib/moduleFactory";
|
|
3
2
|
import "./styles/style.scss";
|
|
4
3
|
export declare const customMegamenuModuleSelectorPairs: {
|
|
5
4
|
Module: typeof Megamenu;
|
|
@@ -13,8 +12,8 @@ declare global {
|
|
|
13
12
|
instances: Megamenu[];
|
|
14
13
|
init: () => void;
|
|
15
14
|
destroy: () => void;
|
|
16
|
-
initModulesWithin:
|
|
17
|
-
destroyModulesWithin:
|
|
15
|
+
initModulesWithin: (container: any) => {};
|
|
16
|
+
destroyModulesWithin: (container: any, removeOrphanedNodes?: boolean | undefined) => {};
|
|
18
17
|
};
|
|
19
18
|
}
|
|
20
19
|
}
|
|
@@ -30,12 +30,8 @@ interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
30
30
|
children?: React.ReactNode;
|
|
31
31
|
/** Additional CSS classes */
|
|
32
32
|
className?: string;
|
|
33
|
-
/** Color scheme for the modal */
|
|
34
|
-
colorScheme?: "dark" | "light";
|
|
35
33
|
/** Disables header paddings */
|
|
36
34
|
disableHeaderSpacing?: boolean;
|
|
37
|
-
/** Disables body paddings */
|
|
38
|
-
disableBodySpacing?: boolean;
|
|
39
35
|
/** Disables footer paddings */
|
|
40
36
|
disableFooterSpacing?: boolean;
|
|
41
37
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const
|
|
3
|
-
export type
|
|
2
|
+
export declare const modalBodyColors: readonly ["background-primary", "background-secondary", "background-contrast", "background-accent", "background-accent1-blog", "background-accent2-blog", "surface-primary", "surface-secondary", "surface-tertiary", "surface-subtle", "surface-moderate", "surface-contrast", "surface-accent", "fill-subtle", "fill-accent1", "fill-accent2", "fill-accent3", "fill-accent4", "fill-accent5"];
|
|
3
|
+
export type ModalBodyColor = (typeof modalBodyColors)[number];
|
|
4
4
|
interface ModalBodyProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
color?:
|
|
5
|
+
color?: ModalBodyColor;
|
|
6
6
|
className?: string;
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
withTopPadding?: boolean;
|
|
@@ -3,6 +3,8 @@ interface ModalProductHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
3
3
|
image?: React.ReactNode;
|
|
4
4
|
/** Use small spacing */
|
|
5
5
|
space?: "small";
|
|
6
|
+
/** Optional id for accessibility (e.g., for aria-labelledby) */
|
|
7
|
+
titleId?: string;
|
|
6
8
|
}
|
|
7
9
|
export declare const CLASS_ROOT = "modal__product";
|
|
8
10
|
declare const ModalProductHeader: React.ForwardRefExoticComponent<ModalProductHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -4,4 +4,3 @@ export { ModalTitle } from "./ModalTitle";
|
|
|
4
4
|
export { ModalCloseButton } from "./ModalCloseButton";
|
|
5
5
|
export { ModalProductHeader } from "./ModalProductHeader";
|
|
6
6
|
export { ModalProductFooter } from "./ModalProductFooter";
|
|
7
|
-
export { ModalProductBody } from "./ModalProductBody";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
interface PaginationItem {
|
|
2
|
+
interface PaginationItemProps {
|
|
4
3
|
/** Page link href */
|
|
5
4
|
href: string;
|
|
6
5
|
/** Text label inside page item */
|
|
@@ -13,10 +12,8 @@ interface PaginationItem {
|
|
|
13
12
|
interface PaginationProps {
|
|
14
13
|
/** Collapsed version */
|
|
15
14
|
isCompact?: boolean;
|
|
16
|
-
/** Dark theme */
|
|
17
|
-
colorScheme?: "light" | "dark";
|
|
18
15
|
/** All pagination items - buttons & numbers */
|
|
19
|
-
items:
|
|
16
|
+
items: PaginationItemProps[];
|
|
20
17
|
/** Accessibility label */
|
|
21
18
|
label?: string;
|
|
22
19
|
/** Additional CSS class name */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
2
|
declare const Separator: {
|
|
3
|
-
(props: HTMLAttributes<HTMLLIElement>):
|
|
3
|
+
(props: HTMLAttributes<HTMLLIElement>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default Separator;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React, { ReactNode, HTMLAttributes } from "react";
|
|
2
|
+
export declare const pillColors: readonly ["surface-primary", "surface-secondary", "surface-tertiary", "surface-subtle", "surface-moderate", "surface-contrast", "surface-accent", "fill-moderate", "fill-disabled", "transparent"];
|
|
3
|
+
export type PillColor = (typeof pillColors)[number];
|
|
2
4
|
interface PillProps extends HTMLAttributes<HTMLSpanElement> {
|
|
3
5
|
className?: string;
|
|
4
6
|
children?: ReactNode;
|
|
5
|
-
|
|
7
|
+
color?: PillColor;
|
|
6
8
|
size?: "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
7
9
|
}
|
|
8
10
|
declare const Pill: React.FC<PillProps>;
|
|
@@ -5,5 +5,5 @@ type PreviewProps = React.ComponentProps<typeof PreviewGenerator> & {
|
|
|
5
5
|
codeJSXOptions?: Record<string, any>;
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
};
|
|
8
|
-
export declare function Preview({ children, codeJSXOptions, codeTypes, ...rest }: PreviewProps):
|
|
8
|
+
export declare function Preview({ children, codeJSXOptions, codeTypes, ...rest }: PreviewProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -5,5 +5,5 @@ interface ThemedPreviewProps {
|
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}
|
|
7
7
|
declare const ThemedPreview: React.FC<ThemedPreviewProps>;
|
|
8
|
-
export declare const PreviewSpacing: ({ children, spacePreviewConfig }: any) =>
|
|
8
|
+
export declare const PreviewSpacing: ({ children, spacePreviewConfig }: any) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export { ThemedPreview as Preview };
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
interface PromoBannerProps {
|
|
3
|
-
colorScheme?: "light" | "dark";
|
|
4
3
|
className?: string;
|
|
5
|
-
title: string;
|
|
6
|
-
secondaryTitle?: string;
|
|
7
|
-
description: string;
|
|
8
|
-
buttonText: string;
|
|
9
4
|
image?: string;
|
|
5
|
+
alignImage?: "bottom" | "top";
|
|
6
|
+
imageFullWidth?: boolean;
|
|
7
|
+
/** Make image extend to the edge of viewport even when inside container */
|
|
8
|
+
bleedImage?: boolean;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
itemClassName?: string;
|
|
11
|
+
imageClassName?: string;
|
|
12
|
+
variant?: "vertical" | "reverse";
|
|
10
13
|
}
|
|
11
|
-
export declare const PromoBanner: ({
|
|
14
|
+
export declare const PromoBanner: ({ image, className, alignImage, bleedImage, children, itemClassName, imageClassName, variant, imageFullWidth, }: PromoBannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
15
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CardColor } from "../Card";
|
|
2
3
|
export interface PromotionCardProps {
|
|
3
|
-
/** Inverse colors */
|
|
4
|
-
colorScheme?: 'light' | 'dark';
|
|
5
4
|
className?: string;
|
|
6
5
|
children?: React.ReactNode;
|
|
6
|
+
color?: CardColor;
|
|
7
7
|
[key: string]: any;
|
|
8
8
|
}
|
|
9
9
|
export declare const PromotionCard: React.FC<PromotionCardProps>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export
|
|
2
|
+
export declare const sectionColors: readonly ["background-secondary", "background-contrast", "background-accent", "background-accent1-blog", "background-accent2-blog", "background-none", "surface-subtle"];
|
|
3
|
+
export type SectionColor = (typeof sectionColors)[number];
|
|
3
4
|
export type SectionSpacing = "default" | "small" | "xsmall";
|
|
4
5
|
export interface SectionProps {
|
|
5
6
|
/** Background color of section */
|
|
@@ -19,5 +20,7 @@ export interface SectionProps {
|
|
|
19
20
|
className?: string;
|
|
20
21
|
/** Section content */
|
|
21
22
|
children?: React.ReactNode;
|
|
23
|
+
/** Additional classes passed to the container */
|
|
24
|
+
containerClassName?: string;
|
|
22
25
|
}
|
|
23
26
|
export declare const Section: React.FC<SectionProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type SocialName = "x" | "facebook-2" | "linkedin-2" | "instagram" | "pinterest" | "snapchat" | "tiktok" | "whatsapp" | "youtube" | "email";
|
|
3
|
+
type CommonProps = {
|
|
4
|
+
name: SocialName;
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
type ButtonProps = CommonProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | keyof CommonProps>;
|
|
8
|
+
type LinkProps = CommonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps> & {
|
|
9
|
+
href: string;
|
|
10
|
+
};
|
|
11
|
+
export type SocialButtonProps = ButtonProps | LinkProps;
|
|
12
|
+
export declare const SocialButton: React.ForwardRefExoticComponent<SocialButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SocialButton } from "./SocialButton";
|
|
@@ -14,8 +14,6 @@ export interface StepbarProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
14
14
|
showTitlesFrom?: ShowTitlesFrom;
|
|
15
15
|
/** Array of step objects */
|
|
16
16
|
steps: StepbarStep[];
|
|
17
|
-
/** Visual variant of the stepbar */
|
|
18
|
-
colorScheme?: "dark" | "light";
|
|
19
17
|
}
|
|
20
18
|
declare const Stepbar: React.FC<StepbarProps>;
|
|
21
19
|
export { Stepbar };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { TableRow } from "./types";
|
|
3
2
|
interface RowProps {
|
|
4
3
|
row: TableRow;
|
|
5
4
|
}
|
|
6
5
|
declare const Row: {
|
|
7
|
-
({ row }: RowProps):
|
|
6
|
+
({ row }: RowProps): import("react/jsx-runtime").JSX.Element[];
|
|
8
7
|
displayName: string;
|
|
9
8
|
};
|
|
10
9
|
export { Row };
|
|
@@ -10,6 +10,8 @@ interface TableProps extends React.TableHTMLAttributes<HTMLTableElement> {
|
|
|
10
10
|
headers: TableHeader[];
|
|
11
11
|
/** Compact table only takes spaced needed to display its content */
|
|
12
12
|
isCompact?: boolean;
|
|
13
|
+
/** Enable responsive card layout below md breakpoint for better accessibility */
|
|
14
|
+
isResponsive?: boolean;
|
|
13
15
|
/** If table has horizontal scrollbar */
|
|
14
16
|
isScrollable?: boolean;
|
|
15
17
|
/** Different colors for even and odd rows. */
|
|
@@ -17,8 +19,6 @@ interface TableProps extends React.TableHTMLAttributes<HTMLTableElement> {
|
|
|
17
19
|
/** rows to print out in the table. */
|
|
18
20
|
rows: TableRow[];
|
|
19
21
|
className?: string;
|
|
20
|
-
/** Sets color scheme */
|
|
21
|
-
colorScheme?: "dark" | "light";
|
|
22
22
|
}
|
|
23
23
|
declare const Table: React.FC<TableProps>;
|
|
24
24
|
export { Table };
|
|
@@ -36,4 +36,6 @@ export declare const shrinkHeaders: TableHeader[];
|
|
|
36
36
|
export declare const shrinkRows: TableRow[];
|
|
37
37
|
export declare const fillHeaders: TableHeader[];
|
|
38
38
|
export declare const fillRows: TableRow[];
|
|
39
|
+
export declare const responsiveHeaders: TableHeader[];
|
|
40
|
+
export declare const responsiveRows: TableRow[];
|
|
39
41
|
export {};
|
|
@@ -7,8 +7,6 @@ interface TabsProps extends React.HTMLAttributes<HTMLUListElement> {
|
|
|
7
7
|
activeTabIndex?: number;
|
|
8
8
|
/** Additional classes for tabs header. */
|
|
9
9
|
classesTabNav?: string;
|
|
10
|
-
/** Color theme for the tabs */
|
|
11
|
-
colorScheme?: "dark" | "light";
|
|
12
10
|
/** All tabs have equal width inside a full-width container */
|
|
13
11
|
hasEqualTabWidth?: boolean;
|
|
14
12
|
/** Fullwidth container */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
2
|
import { Image } from "../Image";
|
|
3
|
-
export
|
|
3
|
+
export declare const tileColors: readonly ["surface-primary", "surface-subtle", "surface-contrast"];
|
|
4
|
+
export type TileColor = (typeof tileColors)[number];
|
|
4
5
|
export type TileHAlign = "center";
|
|
5
6
|
export type TileVAlign = "center" | "end" | "space-between";
|
|
6
7
|
export interface TileProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -19,7 +19,6 @@ export interface TooltipProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
19
19
|
/** Additional CSS classes */
|
|
20
20
|
className?: string;
|
|
21
21
|
children?: React.ReactNode;
|
|
22
|
-
colorScheme?: "dark" | "light";
|
|
23
22
|
}
|
|
24
23
|
declare const Tooltip: React.FC<TooltipProps>;
|
|
25
24
|
export { Tooltip };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../styles/before-components.scss";
|
|
2
1
|
import { Accordion, AccordionItem } from "./Accordion";
|
|
3
2
|
import { Alert } from "./Alert";
|
|
3
|
+
import { AnchorNavigation } from "./AnchorNavigation";
|
|
4
4
|
import { Tag, TagButton } from "./Tag";
|
|
5
5
|
import { Bar, BarBreak, BarItem } from "./Bar";
|
|
6
6
|
import { BlockAction, BlockActionControl, BlockActionIndicator, BlockActionOverride } from "./BlockAction";
|
|
@@ -9,6 +9,7 @@ import { Breadcrumbs } from "./Breadcrumbs";
|
|
|
9
9
|
import { Button, ButtonFill, ButtonGhost, ButtonPrimary, IconButton } from "./Button";
|
|
10
10
|
import { Buttons } from "./Buttons";
|
|
11
11
|
import { Carousel } from "./Carousel";
|
|
12
|
+
import { CarouselHero, CarouselHeroItem } from "./CarouselHero";
|
|
12
13
|
import { CarouselPromotions } from "./CarouselPromotions";
|
|
13
14
|
import { CartTable } from "./CartTable";
|
|
14
15
|
import { Container } from "./Container";
|
|
@@ -17,7 +18,6 @@ import { Divider } from "./Divider";
|
|
|
17
18
|
import { Dropdown, DropdownDivider, DropdownItem, DropdownToggleButton } from "./Dropdown";
|
|
18
19
|
import { Expander } from "./Expander/Expander";
|
|
19
20
|
import { FeatureAccordion, FeatureAccordionItem } from "./FeatureAccordion";
|
|
20
|
-
import { Footer } from "./Footer";
|
|
21
21
|
import { Card, CardSection, CardProductHeader } from "./Card";
|
|
22
22
|
import { Icon, Pictogram } from "./Icon";
|
|
23
23
|
import { Gauge } from "./Gauge";
|
|
@@ -25,7 +25,7 @@ import { Grid, GridCol } from "./Grid";
|
|
|
25
25
|
import { Image } from "./Image";
|
|
26
26
|
import { Link } from "./Link";
|
|
27
27
|
import { Loader } from "./Loader";
|
|
28
|
-
import { Modal, ModalBody, ModalCloseButton, ModalTitle, ModalProductHeader } from "./Modal";
|
|
28
|
+
import { Modal, ModalBody, ModalCloseButton, ModalTitle, ModalProductHeader, ModalProductFooter } from "./Modal";
|
|
29
29
|
import { Section } from "./Section";
|
|
30
30
|
import { Sticker } from "./Sticker";
|
|
31
31
|
import { SkipLink } from "./SkipLink";
|
|
@@ -42,9 +42,9 @@ import { Tab, TabPanel, Tabs } from "./Tabs";
|
|
|
42
42
|
import { Table } from "./Table";
|
|
43
43
|
import { Tile } from "./Tile";
|
|
44
44
|
import { Tooltip, InfoTooltip } from "./Tooltip";
|
|
45
|
-
import "../styles/after-components.scss";
|
|
46
45
|
import { Cover } from "./Cover";
|
|
47
46
|
import { Testimonial } from "./Testimonial";
|
|
48
47
|
import { Hero } from "./Hero";
|
|
49
48
|
import { IconList, Item } from "./IconList";
|
|
50
|
-
|
|
49
|
+
import { SocialButton } from "./SocialButton";
|
|
50
|
+
export { Accordion, AccordionItem, Alert, AnchorNavigation, Autocomplete, Bar, BarBreak, BarItem, BlockAction, BlockActionControl, BlockActionIndicator, BlockActionOverride, BodyBanner, Breadcrumbs, Button, ButtonFill, ButtonGhost, ButtonPrimary, Buttons, Card, CardProductHeader, CardSection, Carousel, CarouselHero, CarouselHeroItem, CarouselPromotions, CartTable, Checkbox, Container, Controls, Cover, Divider, Dropdown, DropdownDivider, DropdownItem, DropdownToggleButton, Expander, FeatureAccordion, FeatureAccordionItem, Field, Fieldset, File, Gauge, Grid, GridCol, Group, Hero, Hint, Icon, IconButton, IconList, Image, InfoTooltip, InputStepper, Item, Label, Link, List, ListItem, Loader, Message, Modal, ModalBody, ModalCloseButton, ModalProductFooter, ModalProductHeader, ModalTitle, Pagination, Pictogram, Pill, Progress, PromoBanner, PromotionCard, PromotionCardContent, PromotionCardImageWrapper, PromotionCardSection, PromotionCardTitle, Radio, RangeSlider, Section, Select, Skeleton, SkipLink, SocialButton, Stepbar, Sticker, Tab, Table, TabPanel, Tabs, Tag, TagButton, Testimonial, TextArea, TextInput, Tile, Tooltip, };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import Accordion from "../components/Accordion/Accordion.static";
|
|
2
|
+
import AnchorNavigation from "../components/AnchorNavigation/AnchorNavigation.static";
|
|
2
3
|
import Autocomplete from "../components/Forms/Autocomplete/Autocomplete.static";
|
|
3
4
|
import DatePicker from "../components/Forms/DatePicker/DatePicker.static";
|
|
4
5
|
import BlockAction from "../components/BlockAction/BlockAction.static";
|
|
5
6
|
import Carousel from "../components/Carousel/Carousel.static";
|
|
7
|
+
import CarouselHero from "../components/CarouselHero/CarouselHero.static";
|
|
6
8
|
import CarouselPromotions from "../components/CarouselPromotions/CarouselPromotions.static";
|
|
7
9
|
import Dropdown from "../components/Dropdown/Dropdown.static";
|
|
8
10
|
import Expander from "../components/Expander/Expander.static";
|
|
@@ -15,13 +17,16 @@ import Table from "../components/Table/Table.static";
|
|
|
15
17
|
import Tabs from "../components/Tabs/Tabs.static";
|
|
16
18
|
import Tooltip from "../components/Tooltip/Tooltip.static";
|
|
17
19
|
import InputStepper from "../components/Forms/InputStepper/InputStepper.static";
|
|
18
|
-
import { initModulesWithin, destroyModulesWithin } from "./lib/moduleFactory";
|
|
19
20
|
import Toggle from "./modules/Toggle";
|
|
20
21
|
import SameHeight from "./modules/SameHeight";
|
|
21
22
|
export declare const moduleSelectorPairs: ({
|
|
22
23
|
Module: typeof Accordion;
|
|
23
24
|
name: string;
|
|
24
25
|
selector: string;
|
|
26
|
+
} | {
|
|
27
|
+
Module: typeof AnchorNavigation;
|
|
28
|
+
name: string;
|
|
29
|
+
selector: string;
|
|
25
30
|
} | {
|
|
26
31
|
Module: typeof Autocomplete;
|
|
27
32
|
name: string;
|
|
@@ -46,6 +51,10 @@ export declare const moduleSelectorPairs: ({
|
|
|
46
51
|
Module: typeof Carousel;
|
|
47
52
|
name: string;
|
|
48
53
|
selector: string;
|
|
54
|
+
} | {
|
|
55
|
+
Module: typeof CarouselHero;
|
|
56
|
+
name: string;
|
|
57
|
+
selector: string;
|
|
49
58
|
} | {
|
|
50
59
|
Module: typeof CarouselPromotions;
|
|
51
60
|
name: string;
|
|
@@ -105,8 +114,8 @@ declare global {
|
|
|
105
114
|
Module: any;
|
|
106
115
|
selector: string;
|
|
107
116
|
}>;
|
|
108
|
-
initModulesWithin:
|
|
109
|
-
destroyModulesWithin:
|
|
117
|
+
initModulesWithin: (container: any) => {};
|
|
118
|
+
destroyModulesWithin: (container: any, removeOrphanedNodes?: boolean | undefined) => {};
|
|
110
119
|
};
|
|
111
120
|
}
|
|
112
121
|
}
|
|
@@ -8,6 +8,9 @@ export default class SameHeight {
|
|
|
8
8
|
temporarilyShowHiddenElements(): void;
|
|
9
9
|
originalDisplayStates: any[] | undefined;
|
|
10
10
|
restoreHiddenElements(): void;
|
|
11
|
+
getCarouselElement(): any;
|
|
12
|
+
isInsideOrIsCarousel(): any;
|
|
13
|
+
getCarouselSlides(): any;
|
|
11
14
|
groupElementsByTypeAndPosition(elements: any): {};
|
|
12
15
|
init(): void;
|
|
13
16
|
update(): void;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
export const exports: {
|
|
2
|
+
"light-background-primary": string;
|
|
3
|
+
"light-background-secondary": string;
|
|
4
|
+
"light-background-contrast": string;
|
|
5
|
+
"light-background-accent": string;
|
|
6
|
+
"light-background-accent1-blog": string;
|
|
7
|
+
"light-background-accent2-blog": string;
|
|
8
|
+
"light-surface-primary": string;
|
|
9
|
+
"light-surface-secondary": string;
|
|
10
|
+
"light-surface-tertiary": string;
|
|
11
|
+
"light-surface-subtle": string;
|
|
12
|
+
"light-surface-moderate": string;
|
|
13
|
+
"light-surface-contrast": string;
|
|
14
|
+
"light-surface-accent": string;
|
|
15
|
+
"light-fill-primary": string;
|
|
16
|
+
"light-fill-secondary": string;
|
|
17
|
+
"light-fill-tertiary": string;
|
|
18
|
+
"light-fill-subtle": string;
|
|
19
|
+
"light-fill-moderate": string;
|
|
20
|
+
"light-fill-disabled": string;
|
|
21
|
+
"light-fill-contrast": string;
|
|
22
|
+
"light-fill-accent1": string;
|
|
23
|
+
"light-fill-accent2": string;
|
|
24
|
+
"light-fill-accent3": string;
|
|
25
|
+
"light-fill-accent4": string;
|
|
26
|
+
"light-fill-accent5": string;
|
|
27
|
+
"light-fill-information": string;
|
|
28
|
+
"light-fill-positive": string;
|
|
29
|
+
"light-fill-warning": string;
|
|
30
|
+
"light-fill-negative": string;
|
|
31
|
+
"light-border-subtle": string;
|
|
32
|
+
"light-border-strong": string;
|
|
33
|
+
"light-border-contrast": string;
|
|
34
|
+
"light-border-accent": string;
|
|
35
|
+
"light-border-information": string;
|
|
36
|
+
"light-border-positive": string;
|
|
37
|
+
"light-border-warning": string;
|
|
38
|
+
"light-border-negative": string;
|
|
39
|
+
"light-icon-default": string;
|
|
40
|
+
"light-icon-inverse": string;
|
|
41
|
+
"light-icon-brand": string;
|
|
42
|
+
"light-icon-accent": string;
|
|
43
|
+
"light-icon-disabled": string;
|
|
44
|
+
"light-icon-information": string;
|
|
45
|
+
"light-icon-positive": string;
|
|
46
|
+
"light-icon-warning": string;
|
|
47
|
+
"light-icon-negative": string;
|
|
48
|
+
"light-text-default": string;
|
|
49
|
+
"light-text-secondary": string;
|
|
50
|
+
"light-text-disabled": string;
|
|
51
|
+
"light-text-inverse": string;
|
|
52
|
+
"light-text-accent": string;
|
|
53
|
+
"dark-background-primary": string;
|
|
54
|
+
"dark-background-secondary": string;
|
|
55
|
+
"dark-background-contrast": string;
|
|
56
|
+
"dark-background-accent": string;
|
|
57
|
+
"dark-background-accent1-blog": string;
|
|
58
|
+
"dark-background-accent2-blog": string;
|
|
59
|
+
"dark-surface-primary": string;
|
|
60
|
+
"dark-surface-secondary": string;
|
|
61
|
+
"dark-surface-tertiary": string;
|
|
62
|
+
"dark-surface-subtle": string;
|
|
63
|
+
"dark-surface-moderate": string;
|
|
64
|
+
"dark-surface-contrast": string;
|
|
65
|
+
"dark-surface-accent": string;
|
|
66
|
+
"dark-fill-primary": string;
|
|
67
|
+
"dark-fill-secondary": string;
|
|
68
|
+
"dark-fill-tertiary": string;
|
|
69
|
+
"dark-fill-subtle": string;
|
|
70
|
+
"dark-fill-moderate": string;
|
|
71
|
+
"dark-fill-disabled": string;
|
|
72
|
+
"dark-fill-contrast": string;
|
|
73
|
+
"dark-fill-accent1": string;
|
|
74
|
+
"dark-fill-accent2": string;
|
|
75
|
+
"dark-fill-accent3": string;
|
|
76
|
+
"dark-fill-accent4": string;
|
|
77
|
+
"dark-fill-accent5": string;
|
|
78
|
+
"dark-fill-information": string;
|
|
79
|
+
"dark-fill-positive": string;
|
|
80
|
+
"dark-fill-warning": string;
|
|
81
|
+
"dark-fill-negative": string;
|
|
82
|
+
"dark-border-subtle": string;
|
|
83
|
+
"dark-border-strong": string;
|
|
84
|
+
"dark-border-contrast": string;
|
|
85
|
+
"dark-border-accent": string;
|
|
86
|
+
"dark-border-information": string;
|
|
87
|
+
"dark-border-positive": string;
|
|
88
|
+
"dark-border-warning": string;
|
|
89
|
+
"dark-border-negative": string;
|
|
90
|
+
"dark-icon-default": string;
|
|
91
|
+
"dark-icon-inverse": string;
|
|
92
|
+
"dark-icon-brand": string;
|
|
93
|
+
"dark-icon-accent": string;
|
|
94
|
+
"dark-icon-disabled": string;
|
|
95
|
+
"dark-icon-information": string;
|
|
96
|
+
"dark-icon-positive": string;
|
|
97
|
+
"dark-icon-warning": string;
|
|
98
|
+
"dark-icon-negative": string;
|
|
99
|
+
"dark-text-default": string;
|
|
100
|
+
"dark-text-secondary": string;
|
|
101
|
+
"dark-text-disabled": string;
|
|
102
|
+
"dark-text-inverse": string;
|
|
103
|
+
"dark-text-accent": string;
|
|
104
|
+
};
|
|
105
|
+
export default exports;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|