@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,12 +1,13 @@
|
|
|
1
1
|
import React$1, { ReactNode, ReactElement, HTMLAttributes, AnchorHTMLAttributes, FC } from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
|
|
3
4
|
interface AccordionProps$1 {
|
|
4
5
|
/** Heading level from 1 to 6 */
|
|
5
6
|
headingLevel?: number;
|
|
6
7
|
/** Accordion is enclosed in another component */
|
|
7
8
|
isEnclosed?: boolean;
|
|
8
|
-
/** If true, the
|
|
9
|
-
|
|
9
|
+
/** If true, the top border on the first item will be removed */
|
|
10
|
+
noTopBorder?: boolean;
|
|
10
11
|
/** Adjustable spacing */
|
|
11
12
|
size?: "large";
|
|
12
13
|
/** Additional CSS classes */
|
|
@@ -71,8 +72,6 @@ interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
71
72
|
/** Type of alert, sets icon and color */
|
|
72
73
|
type?: AlertType;
|
|
73
74
|
className?: string;
|
|
74
|
-
/** Sets Alert to use specific color scheme */
|
|
75
|
-
colorScheme?: "dark" | "light";
|
|
76
75
|
}
|
|
77
76
|
declare const Alert: React$1.FC<AlertProps>;
|
|
78
77
|
|
|
@@ -84,53 +83,13 @@ interface AnchorNavigationItem {
|
|
|
84
83
|
interface AnchorNavigationProps {
|
|
85
84
|
items: AnchorNavigationItem[];
|
|
86
85
|
className?: string;
|
|
87
|
-
colorScheme?: "light" | "dark";
|
|
88
86
|
children?: React$1.ReactNode;
|
|
89
87
|
}
|
|
90
88
|
declare const AnchorNavigation: {
|
|
91
|
-
({ items, className,
|
|
89
|
+
({ items, className, children, ...other }: AnchorNavigationProps): react_jsx_runtime.JSX.Element;
|
|
92
90
|
displayName: string;
|
|
93
91
|
};
|
|
94
92
|
|
|
95
|
-
type TagButtonProps = {
|
|
96
|
-
className?: string;
|
|
97
|
-
onClick?: React$1.MouseEventHandler<HTMLButtonElement>;
|
|
98
|
-
children?: React$1.ReactNode;
|
|
99
|
-
isDisabled?: boolean;
|
|
100
|
-
ariaLabel?: string;
|
|
101
|
-
iconName: string;
|
|
102
|
-
size?: string;
|
|
103
|
-
};
|
|
104
|
-
declare const TagButton: React$1.ForwardRefExoticComponent<TagButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
105
|
-
|
|
106
|
-
declare const colors$1: readonly ["black", "orange", "yellow", "green", "blue", "success", "info", "warning", "danger", "transparent"];
|
|
107
|
-
type TagColor = (typeof colors$1)[number];
|
|
108
|
-
type TagSize = "small" | "large";
|
|
109
|
-
interface CommonProps$2 {
|
|
110
|
-
color?: TagColor;
|
|
111
|
-
size?: TagSize;
|
|
112
|
-
/** @deprecated */
|
|
113
|
-
isInverse?: boolean;
|
|
114
|
-
isDisabled?: boolean;
|
|
115
|
-
className?: string;
|
|
116
|
-
children?: React$1.ReactNode;
|
|
117
|
-
actionButton?: React$1.ReactElement<TagButtonProps>;
|
|
118
|
-
}
|
|
119
|
-
type SpanProps = CommonProps$2 & Omit<React$1.HTMLAttributes<HTMLSpanElement>, keyof CommonProps$2> & {
|
|
120
|
-
onClick?: undefined;
|
|
121
|
-
href?: undefined;
|
|
122
|
-
};
|
|
123
|
-
type ButtonProps$1 = CommonProps$2 & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, keyof CommonProps$2> & {
|
|
124
|
-
onClick: React$1.MouseEventHandler<HTMLButtonElement>;
|
|
125
|
-
href?: undefined;
|
|
126
|
-
};
|
|
127
|
-
type AnchorProps$1 = CommonProps$2 & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps$2> & {
|
|
128
|
-
href: string;
|
|
129
|
-
onClick?: undefined;
|
|
130
|
-
};
|
|
131
|
-
type TagProps = SpanProps | ButtonProps$1 | AnchorProps$1;
|
|
132
|
-
declare const Tag: React$1.ForwardRefExoticComponent<TagProps & React$1.RefAttributes<HTMLElement>>;
|
|
133
|
-
|
|
134
93
|
type BarAlign = "start" | "end" | "center";
|
|
135
94
|
type BarSpace = "small" | "large";
|
|
136
95
|
interface BarProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
@@ -151,34 +110,36 @@ interface BarProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
151
110
|
}
|
|
152
111
|
declare const Bar: React$1.ForwardRefExoticComponent<BarProps & React$1.RefAttributes<HTMLElement>>;
|
|
153
112
|
|
|
154
|
-
interface
|
|
155
|
-
/**
|
|
156
|
-
canShrink?: boolean;
|
|
157
|
-
/** Bar item should fill empty space */
|
|
158
|
-
isFilling?: boolean;
|
|
159
|
-
/** Tag of the item */
|
|
113
|
+
interface BarBreakProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
114
|
+
/** HTML tag to render the compontent with */
|
|
160
115
|
tag?: React$1.ElementType;
|
|
161
|
-
/** Additional class
|
|
116
|
+
/** Additional class names */
|
|
162
117
|
className?: string;
|
|
163
118
|
/** Child content */
|
|
164
119
|
children?: React$1.ReactNode;
|
|
165
120
|
}
|
|
166
|
-
declare const
|
|
121
|
+
declare const BarBreak: React$1.ForwardRefExoticComponent<BarBreakProps & React$1.RefAttributes<HTMLElement>>;
|
|
167
122
|
|
|
168
|
-
interface
|
|
169
|
-
/**
|
|
123
|
+
interface CommonProps$3 {
|
|
124
|
+
/** Bar item could shrink and wrap content if there is not enough empty space */
|
|
125
|
+
canShrink?: boolean;
|
|
126
|
+
/** Bar item should fill empty space */
|
|
127
|
+
isFilling?: boolean;
|
|
128
|
+
/** Tag of the item */
|
|
170
129
|
tag?: React$1.ElementType;
|
|
171
|
-
/** Additional class
|
|
130
|
+
/** Additional class name */
|
|
172
131
|
className?: string;
|
|
173
132
|
/** Child content */
|
|
174
133
|
children?: React$1.ReactNode;
|
|
175
134
|
}
|
|
176
|
-
declare const
|
|
135
|
+
declare const BarItem: React$1.ForwardRefExoticComponent<CommonProps$3 & React$1.HTMLAttributes<HTMLElement> & React$1.RefAttributes<HTMLElement>>;
|
|
177
136
|
|
|
178
137
|
interface BlockActionProps {
|
|
179
138
|
/** 1 and only one single element */
|
|
180
139
|
children: ReactElement;
|
|
181
140
|
className?: string;
|
|
141
|
+
/** Add border on hover */
|
|
142
|
+
hasBorderOnHover?: boolean;
|
|
182
143
|
[key: string]: any;
|
|
183
144
|
}
|
|
184
145
|
declare const BlockAction: React$1.FC<BlockActionProps>;
|
|
@@ -208,24 +169,24 @@ interface BlockActionOverrideProps {
|
|
|
208
169
|
|
|
209
170
|
declare const BlockActionOverride: React$1.FC<BlockActionOverrideProps>;
|
|
210
171
|
|
|
172
|
+
declare const bodyBannerColors: readonly ["background-primary", "background-accent", "surface-subtle"];
|
|
173
|
+
type BodyBannerColor = (typeof bodyBannerColors)[number];
|
|
211
174
|
interface BodyBannerProps {
|
|
212
|
-
size
|
|
213
|
-
/**
|
|
214
|
-
|
|
215
|
-
/** Color scheme for whole BodyBanner */
|
|
216
|
-
color?: "gray" | "orange";
|
|
175
|
+
size?: "large";
|
|
176
|
+
/** Background color using design tokens */
|
|
177
|
+
color?: BodyBannerColor;
|
|
217
178
|
/** Additional CSS classes */
|
|
218
179
|
className?: string;
|
|
219
|
-
/** Image
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
|
|
223
|
-
/** Subtitle */
|
|
224
|
-
description?: string;
|
|
180
|
+
/** Image element */
|
|
181
|
+
image?: React$1.ReactNode;
|
|
182
|
+
/** Content area - typically heading and description */
|
|
183
|
+
children?: React$1.ReactNode;
|
|
225
184
|
/** Button text */
|
|
226
185
|
buttonText?: string;
|
|
186
|
+
/** Additional CSS classes for button */
|
|
187
|
+
buttonClassName?: string;
|
|
227
188
|
}
|
|
228
|
-
declare const BodyBanner: (
|
|
189
|
+
declare const BodyBanner: ({ className, size, color, image, children, buttonText, buttonClassName, ...other }: BodyBannerProps) => react_jsx_runtime.JSX.Element;
|
|
229
190
|
|
|
230
191
|
interface BreadcrumbItemData {
|
|
231
192
|
/** Item text */
|
|
@@ -236,8 +197,6 @@ interface BreadcrumbItemData {
|
|
|
236
197
|
interface BreadcrumbsProps {
|
|
237
198
|
/** Additional CSS classes */
|
|
238
199
|
className?: string;
|
|
239
|
-
/** Use white breadcrumbs on dark background */
|
|
240
|
-
colorScheme?: "dark" | "light";
|
|
241
200
|
/** Breadcrumb items */
|
|
242
201
|
items: BreadcrumbItemData[];
|
|
243
202
|
/** Navigation label */
|
|
@@ -249,27 +208,27 @@ declare const Breadcrumbs: React.FC<BreadcrumbsProps>;
|
|
|
249
208
|
|
|
250
209
|
type ButtonSize = "small" | "large";
|
|
251
210
|
type ButtonType = "primary" | "fill" | "ghost";
|
|
252
|
-
interface CommonProps {
|
|
211
|
+
interface CommonProps$2 {
|
|
253
212
|
elemRef?: React$1.Ref<any>;
|
|
254
213
|
htmlType?: "button" | "submit" | "reset";
|
|
255
214
|
isActive?: boolean;
|
|
256
215
|
isDefault?: boolean;
|
|
257
216
|
isDisabled?: boolean;
|
|
258
|
-
colorScheme?: "dark" | "light";
|
|
259
217
|
isSquare?: boolean;
|
|
260
218
|
size?: ButtonSize;
|
|
261
219
|
type?: ButtonType;
|
|
262
220
|
className?: string;
|
|
263
221
|
children?: React$1.ReactNode;
|
|
222
|
+
preserveWidth?: boolean;
|
|
264
223
|
}
|
|
265
|
-
type AnchorProps = CommonProps & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps | "type" | "ref"> & {
|
|
224
|
+
type AnchorProps$1 = CommonProps$2 & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps$2 | "type" | "ref"> & {
|
|
266
225
|
href: string;
|
|
267
226
|
};
|
|
268
|
-
type NativeButtonProps = CommonProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, keyof CommonProps | "href" | "ref"> & {
|
|
227
|
+
type NativeButtonProps = CommonProps$2 & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, keyof CommonProps$2 | "href" | "ref"> & {
|
|
269
228
|
href?: undefined;
|
|
270
229
|
};
|
|
271
|
-
type ButtonProps = AnchorProps | NativeButtonProps;
|
|
272
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<any>>;
|
|
230
|
+
type ButtonProps$2 = AnchorProps$1 | NativeButtonProps;
|
|
231
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps$2 & React$1.RefAttributes<any>>;
|
|
273
232
|
|
|
274
233
|
type IconPosition = "left" | "right";
|
|
275
234
|
interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "ref"> {
|
|
@@ -288,15 +247,15 @@ interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonEl
|
|
|
288
247
|
declare const IconButton: React$1.ForwardRefExoticComponent<IconButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
289
248
|
|
|
290
249
|
declare const ButtonPrimary: {
|
|
291
|
-
(props: ButtonProps):
|
|
250
|
+
(props: ButtonProps$2): react_jsx_runtime.JSX.Element;
|
|
292
251
|
displayName: string;
|
|
293
252
|
};
|
|
294
253
|
declare const ButtonFill: {
|
|
295
|
-
(props: ButtonProps):
|
|
254
|
+
(props: ButtonProps$2): react_jsx_runtime.JSX.Element;
|
|
296
255
|
displayName: string;
|
|
297
256
|
};
|
|
298
257
|
declare const ButtonGhost: {
|
|
299
|
-
(props: ButtonProps):
|
|
258
|
+
(props: ButtonProps$2): react_jsx_runtime.JSX.Element;
|
|
300
259
|
displayName: string;
|
|
301
260
|
};
|
|
302
261
|
|
|
@@ -308,28 +267,65 @@ interface ButtonsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
308
267
|
}
|
|
309
268
|
declare const Buttons: React.FC<ButtonsProps>;
|
|
310
269
|
|
|
270
|
+
declare const cardColors: readonly ["background-primary", "background-secondary", "background-contrast", "background-accent", "background-accent1-blog", "background-accent2-blog", "fill-subtle", "fill-accent1", "fill-accent2", "fill-accent3", "fill-accent4", "fill-accent5"];
|
|
271
|
+
type CardColor = (typeof cardColors)[number];
|
|
272
|
+
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
273
|
+
/** Custom background color */
|
|
274
|
+
color?: CardColor;
|
|
275
|
+
noBorder?: boolean;
|
|
276
|
+
}
|
|
277
|
+
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
278
|
+
|
|
279
|
+
interface CardProductHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
280
|
+
image?: React$1.ReactNode;
|
|
281
|
+
/** Use small spacing */
|
|
282
|
+
space?: "small";
|
|
283
|
+
}
|
|
284
|
+
declare const CardProductHeader: React$1.ForwardRefExoticComponent<CardProductHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
285
|
+
|
|
286
|
+
type CardSectionColor = (typeof cardColors)[number];
|
|
287
|
+
interface CardSectionProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
288
|
+
/** Custom background color */
|
|
289
|
+
color?: CardSectionColor;
|
|
290
|
+
/** Fill available space using flexbox */
|
|
291
|
+
isFilling?: boolean;
|
|
292
|
+
/** Use small spacing */
|
|
293
|
+
space?: "small";
|
|
294
|
+
}
|
|
295
|
+
declare const CardSection: React$1.ForwardRefExoticComponent<CardSectionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
296
|
+
|
|
311
297
|
interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
|
|
312
298
|
/** Swiper.js (https://swiperjs.com/) options object */
|
|
313
299
|
swiperOptions?: Record<string, any>;
|
|
314
|
-
/** Inverse colors */
|
|
315
|
-
colorScheme?: "light" | "dark";
|
|
316
300
|
/** Carousel items */
|
|
317
301
|
items: ReactNode[];
|
|
302
|
+
/** Always show scrollbar and hide dots */
|
|
303
|
+
showScrollbar?: boolean;
|
|
304
|
+
/** Make carousel bleed to the right edge of screen while keeping left aligned with container */
|
|
305
|
+
bleedRight?: boolean;
|
|
318
306
|
className?: string;
|
|
319
307
|
}
|
|
320
308
|
declare const Carousel: React$1.FC<CarouselProps>;
|
|
321
309
|
|
|
310
|
+
interface CarouselHeroItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
311
|
+
className?: string;
|
|
312
|
+
children?: ReactNode;
|
|
313
|
+
image: string;
|
|
314
|
+
}
|
|
315
|
+
declare const CarouselHeroItem: React$1.FC<CarouselHeroItemProps>;
|
|
316
|
+
|
|
322
317
|
interface TabItem {
|
|
323
318
|
label: string;
|
|
319
|
+
id?: string;
|
|
324
320
|
[key: string]: any;
|
|
325
321
|
}
|
|
326
322
|
interface CarouselHeroProps {
|
|
327
323
|
className?: string;
|
|
328
324
|
swiperOptions?: Record<string, any>;
|
|
329
|
-
colorScheme?: "light" | "dark";
|
|
330
325
|
children?: ReactNode;
|
|
331
326
|
tabs?: TabItem[];
|
|
332
327
|
interval?: number;
|
|
328
|
+
enableAutoplay?: boolean;
|
|
333
329
|
[key: string]: any;
|
|
334
330
|
}
|
|
335
331
|
declare const CarouselHero: React$1.FC<CarouselHeroProps>;
|
|
@@ -337,7 +333,6 @@ declare const CarouselHero: React$1.FC<CarouselHeroProps>;
|
|
|
337
333
|
interface CarouselPromotionsProps {
|
|
338
334
|
className?: string;
|
|
339
335
|
swiperOptions?: Record<string, any>;
|
|
340
|
-
colorScheme?: "light" | "dark";
|
|
341
336
|
children?: ReactNode;
|
|
342
337
|
[key: string]: any;
|
|
343
338
|
}
|
|
@@ -397,22 +392,58 @@ interface IControlsProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
397
392
|
elemRef?: React$1.Ref<any>;
|
|
398
393
|
icon: string;
|
|
399
394
|
className?: string;
|
|
400
|
-
colorScheme?: "dark" | "light";
|
|
401
395
|
isDisabled?: boolean;
|
|
402
396
|
}
|
|
403
397
|
declare const Controls: React$1.ForwardRefExoticComponent<IControlsProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "ref" | "href" | keyof IControlsProps> & {
|
|
404
398
|
href?: undefined;
|
|
405
399
|
} & React$1.RefAttributes<any>>;
|
|
406
400
|
|
|
401
|
+
interface CoverProps {
|
|
402
|
+
/** Background image source. URL string or an object of breakpoint: url pairs
|
|
403
|
+
*
|
|
404
|
+
* ```
|
|
405
|
+
{
|
|
406
|
+
default: string, // default image to load (fallback)
|
|
407
|
+
xxxl: string, // different image for each breakpoint (optional). while these are mobile first breakpoints, they MUST be ordered from largest to smallest
|
|
408
|
+
xxl: string,
|
|
409
|
+
xl: string,
|
|
410
|
+
lg: string,
|
|
411
|
+
md: string,
|
|
412
|
+
sm: string,
|
|
413
|
+
xs: string,
|
|
414
|
+
}
|
|
415
|
+
* ```
|
|
416
|
+
*/
|
|
417
|
+
bgSrc: string | {
|
|
418
|
+
default: string;
|
|
419
|
+
xs?: string;
|
|
420
|
+
sm?: string;
|
|
421
|
+
md?: string;
|
|
422
|
+
lg?: string;
|
|
423
|
+
xl?: string;
|
|
424
|
+
xxl?: string;
|
|
425
|
+
xxxl?: string;
|
|
426
|
+
};
|
|
427
|
+
/** Set vertical position of image */
|
|
428
|
+
bgPosition?: "top" | "center" | "bottom";
|
|
429
|
+
/** Applies custom classNames to overlay content */
|
|
430
|
+
contentClass?: string;
|
|
431
|
+
/** Cover size */
|
|
432
|
+
size?: "small" | "medium" | "large" | "xlarge";
|
|
433
|
+
/** Additional className for the cover container */
|
|
434
|
+
className?: string;
|
|
435
|
+
/** Children content */
|
|
436
|
+
children?: React$1.ReactNode;
|
|
437
|
+
/** Additional props passed to Image component */
|
|
438
|
+
[key: string]: any;
|
|
439
|
+
}
|
|
440
|
+
declare const Cover: React$1.FC<CoverProps>;
|
|
441
|
+
|
|
407
442
|
interface DividerProps extends Omit<HTMLAttributes<HTMLDivElement>, "content"> {
|
|
408
|
-
/** Custom background color */
|
|
409
|
-
color?: "black" | "white";
|
|
410
443
|
/** Custom content inside divider */
|
|
411
444
|
content?: ReactNode;
|
|
412
445
|
/** Icon which will be rendered inside divider */
|
|
413
446
|
icon?: string;
|
|
414
|
-
/** Divider line has width of 1px */
|
|
415
|
-
thinLine?: boolean;
|
|
416
447
|
}
|
|
417
448
|
declare const Divider: React$1.FC<DividerProps>;
|
|
418
449
|
|
|
@@ -420,7 +451,7 @@ type DropdownButtonProps = {
|
|
|
420
451
|
className?: string;
|
|
421
452
|
children?: ReactNode;
|
|
422
453
|
iconName?: string;
|
|
423
|
-
type?: ButtonProps["type"];
|
|
454
|
+
type?: ButtonProps$2["type"];
|
|
424
455
|
};
|
|
425
456
|
type DropdownProps = {
|
|
426
457
|
button: DropdownButtonProps;
|
|
@@ -435,6 +466,8 @@ type DropdownProps = {
|
|
|
435
466
|
};
|
|
436
467
|
declare const Dropdown: React$1.FC<DropdownProps>;
|
|
437
468
|
|
|
469
|
+
declare const DropdownDivider: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
470
|
+
|
|
438
471
|
interface DropdownItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
439
472
|
className?: string;
|
|
440
473
|
children?: ReactNode;
|
|
@@ -443,8 +476,6 @@ interface DropdownItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
443
476
|
}
|
|
444
477
|
declare const DropdownItem: React$1.FC<DropdownItemProps>;
|
|
445
478
|
|
|
446
|
-
declare const DropdownDivider: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
447
|
-
|
|
448
479
|
interface DropdownToggleButtonProps extends React$1.HTMLAttributes<HTMLButtonElement> {
|
|
449
480
|
id: string;
|
|
450
481
|
className?: string;
|
|
@@ -452,9 +483,6 @@ interface DropdownToggleButtonProps extends React$1.HTMLAttributes<HTMLButtonEle
|
|
|
452
483
|
declare const DropdownToggleButton: React$1.FC<DropdownToggleButtonProps>;
|
|
453
484
|
|
|
454
485
|
interface ExpanderProps {
|
|
455
|
-
/** Inverse buttons for dark backgrounds */
|
|
456
|
-
/** Dark theme */
|
|
457
|
-
colorScheme?: "light" | "dark";
|
|
458
486
|
/** Custom summary text renderer. Passes props as function parameter. */
|
|
459
487
|
renderSummary?: (props: ExpanderProps) => React$1.ReactNode;
|
|
460
488
|
/** Custom summary text renderer when details are opened. Passes props as function parameter. */
|
|
@@ -469,102 +497,344 @@ interface ExpanderProps {
|
|
|
469
497
|
children?: React$1.ReactNode;
|
|
470
498
|
/** Expander takes full width of its container */
|
|
471
499
|
isFullWidth?: boolean;
|
|
500
|
+
/** Position of trigger relative to content when opened */
|
|
501
|
+
placement?: "top" | "bottom";
|
|
502
|
+
/** Group identifier for syncing multiple expanders together */
|
|
503
|
+
toggleGroup?: string;
|
|
504
|
+
/** Initial open state */
|
|
505
|
+
open?: boolean;
|
|
472
506
|
}
|
|
473
507
|
declare const Expander: React$1.FC<ExpanderProps>;
|
|
474
508
|
|
|
475
509
|
interface AccordionProps {
|
|
476
|
-
/** Color scheme for whole FeatureAccordion */
|
|
477
|
-
colorScheme?: "light" | "dark" | "white";
|
|
478
510
|
/** Additional CSS classes */
|
|
479
511
|
className?: string;
|
|
480
512
|
}
|
|
481
513
|
declare const FeatureAccordion: (props: AccordionProps & {
|
|
482
514
|
children: React$1.ReactNode;
|
|
483
|
-
}) =>
|
|
515
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
484
516
|
|
|
485
517
|
interface FeatureAccordionItemProps extends AccordionItemProps {
|
|
518
|
+
image?: string | object;
|
|
486
519
|
imageUrl?: string;
|
|
487
520
|
imageAlt?: string;
|
|
521
|
+
imageSrcSet?: string;
|
|
488
522
|
[key: string]: any;
|
|
489
523
|
}
|
|
490
|
-
declare const FeatureAccordionItem: React$1.FC<FeatureAccordionItemProps
|
|
491
|
-
defaultOpen?: boolean;
|
|
492
|
-
}>;
|
|
524
|
+
declare const FeatureAccordionItem: React$1.FC<FeatureAccordionItemProps>;
|
|
493
525
|
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
526
|
+
type AutocompleteOption = string | {
|
|
527
|
+
title: string;
|
|
528
|
+
value: string;
|
|
529
|
+
};
|
|
530
|
+
interface AutocompleteProps extends Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "size" | "value"> {
|
|
531
|
+
/** Module config. For more see accessible-autocomplete docs */
|
|
532
|
+
autocompleteConfig?: Record<string, any>;
|
|
533
|
+
/** Array of string options */
|
|
534
|
+
options?: AutocompleteOption[];
|
|
535
|
+
/** Placeholder text */
|
|
536
|
+
placeholder?: string;
|
|
537
|
+
/** Additional CSS classes */
|
|
538
|
+
className?: string;
|
|
539
|
+
/** Select value */
|
|
540
|
+
value?: string | string[];
|
|
499
541
|
}
|
|
500
|
-
declare const
|
|
542
|
+
declare const Autocomplete: React$1.FC<AutocompleteProps>;
|
|
501
543
|
|
|
502
|
-
type
|
|
503
|
-
interface
|
|
504
|
-
/**
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
|
|
544
|
+
type CheckboxSize = "default" | "large";
|
|
545
|
+
interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
546
|
+
/** Html id attribute */
|
|
547
|
+
id: string;
|
|
548
|
+
/** Checked state. */
|
|
549
|
+
isChecked?: boolean;
|
|
550
|
+
/** Disabled state. */
|
|
551
|
+
isDisabled?: boolean;
|
|
552
|
+
/** Invalid state */
|
|
553
|
+
isInvalid?: boolean;
|
|
554
|
+
/** Checkbox is displayed as Toggle */
|
|
555
|
+
isToggle?: boolean;
|
|
556
|
+
/** Html name attribute. Id is used when not set.*/
|
|
557
|
+
name?: string;
|
|
558
|
+
/** Size of element. */
|
|
559
|
+
size?: CheckboxSize;
|
|
560
|
+
className?: string;
|
|
510
561
|
}
|
|
511
|
-
declare const
|
|
562
|
+
declare const Checkbox: React$1.FC<CheckboxProps>;
|
|
512
563
|
|
|
513
|
-
interface
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
564
|
+
interface FieldContextType {
|
|
565
|
+
controlId?: string;
|
|
566
|
+
messages?: any[];
|
|
567
|
+
control?: {
|
|
568
|
+
type?: string;
|
|
569
|
+
control?: any;
|
|
570
|
+
renderControl?: (props: any) => React.ReactNode;
|
|
571
|
+
isToggle?: boolean;
|
|
572
|
+
[key: string]: any;
|
|
573
|
+
};
|
|
574
|
+
hint?: React.ReactNode;
|
|
575
|
+
label?: React.ReactNode;
|
|
576
|
+
labelAfter?: React.ReactNode;
|
|
577
|
+
tooltip?: React.ReactNode;
|
|
578
|
+
isRadioCheck?: boolean;
|
|
517
579
|
}
|
|
518
|
-
declare const CardProductHeader: React$1.ForwardRefExoticComponent<CardProductHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
519
580
|
|
|
520
|
-
|
|
521
|
-
type IconSize = "small" | "medium" | "large" | "xlarge" | "xxlarge" | "huge";
|
|
522
|
-
type IconType = "icon" | "pictogram";
|
|
523
|
-
interface IconProps extends React$1.SVGAttributes<SVGSVGElement> {
|
|
524
|
-
/** Accessible label for the icon. */
|
|
525
|
-
alt?: string;
|
|
526
|
-
/** Icon color. */
|
|
527
|
-
color?: IconColor;
|
|
528
|
-
/** Icon name (required). */
|
|
529
|
-
name: string;
|
|
530
|
-
/** Icon size. */
|
|
531
|
-
size?: IconSize;
|
|
532
|
-
/** Path to the SVG sprite. */
|
|
533
|
-
spritePath?: string;
|
|
534
|
-
/**
|
|
535
|
-
* Icon type. When set to "pictogram", the component will automatically
|
|
536
|
-
* switch between light and dark versions based on theme classes (.is-light/.is-dark).
|
|
537
|
-
*/
|
|
538
|
-
type?: IconType;
|
|
539
|
-
/**
|
|
540
|
-
* @deprecated Use type="pictogram" instead.
|
|
541
|
-
* Whether this icon should adapt to theme (light/dark).
|
|
542
|
-
* When true, the component will automatically switch between
|
|
543
|
-
* light and dark versions based on theme classes (.is-light/.is-dark).
|
|
544
|
-
*/
|
|
581
|
+
interface InputFieldProps {
|
|
545
582
|
className?: string;
|
|
583
|
+
control: FieldContextType["control"];
|
|
584
|
+
hint?: React$1.ReactNode;
|
|
585
|
+
label?: React$1.ReactNode;
|
|
586
|
+
labelAfter?: React$1.ReactNode;
|
|
587
|
+
messages?: Array<{
|
|
588
|
+
type: string;
|
|
589
|
+
text: string;
|
|
590
|
+
}>;
|
|
591
|
+
tooltip?: React$1.ReactNode;
|
|
592
|
+
[key: string]: any;
|
|
546
593
|
}
|
|
547
|
-
declare const
|
|
594
|
+
declare const Field: React$1.FC<InputFieldProps>;
|
|
548
595
|
|
|
549
|
-
interface
|
|
550
|
-
|
|
551
|
-
* Pictogram name. Should correspond to your pictogram sprite entries.
|
|
552
|
-
* For example: 'pictogram-skylink' will look for 'pictogram-skylink' (light)
|
|
553
|
-
* and 'pictogram-skylink--dark' (dark) in the sprite.
|
|
554
|
-
*/
|
|
555
|
-
name: string;
|
|
596
|
+
interface FieldsetMessage {
|
|
597
|
+
[key: string]: any;
|
|
556
598
|
}
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
declare const
|
|
599
|
+
interface FieldsetProps extends React$1.FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
600
|
+
/** Required `<legend />` for fieldset */
|
|
601
|
+
legend: ReactNode;
|
|
602
|
+
/** Additional legend props */
|
|
603
|
+
legendProps?: React$1.HTMLAttributes<HTMLLegendElement>;
|
|
604
|
+
description?: ReactNode;
|
|
605
|
+
messages?: FieldsetMessage[];
|
|
606
|
+
className?: string;
|
|
607
|
+
children?: ReactNode;
|
|
608
|
+
}
|
|
609
|
+
declare const Fieldset: React$1.FC<FieldsetProps>;
|
|
610
|
+
|
|
611
|
+
type FileSize = "default" | "large";
|
|
612
|
+
interface FileProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
613
|
+
/** Html id attribute. Generated automatically if omitted. */
|
|
614
|
+
id?: string;
|
|
615
|
+
/** Disabled state. */
|
|
616
|
+
isDisabled?: boolean;
|
|
617
|
+
/** Invalid state */
|
|
618
|
+
isInvalid?: boolean;
|
|
619
|
+
/** Input name. */
|
|
620
|
+
name?: string;
|
|
621
|
+
/** Size of element. */
|
|
622
|
+
size?: FileSize;
|
|
623
|
+
className?: string;
|
|
624
|
+
}
|
|
625
|
+
declare const File: FC<FileProps>;
|
|
626
|
+
|
|
627
|
+
interface ControlShape {
|
|
628
|
+
type: "autocomplete" | "text" | "select";
|
|
629
|
+
[key: string]: any;
|
|
630
|
+
}
|
|
631
|
+
interface GroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
632
|
+
control: ControlShape;
|
|
633
|
+
addonPrefix?: ReactNode | ReactNode[];
|
|
634
|
+
size?: "large";
|
|
635
|
+
addonSuffix?: ReactNode | ReactNode[];
|
|
636
|
+
className?: string;
|
|
637
|
+
/** Invalid state */
|
|
638
|
+
isInvalid?: boolean;
|
|
639
|
+
}
|
|
640
|
+
declare const Group: React$1.FC<GroupProps>;
|
|
641
|
+
|
|
642
|
+
interface HintProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
643
|
+
className?: string;
|
|
644
|
+
children?: React$1.ReactNode;
|
|
645
|
+
}
|
|
646
|
+
declare const Hint: React$1.FC<HintProps>;
|
|
647
|
+
|
|
648
|
+
interface InputStepperConfig {
|
|
649
|
+
min?: number;
|
|
650
|
+
max?: number;
|
|
651
|
+
defaultValue?: number;
|
|
652
|
+
nonEditableInput?: boolean;
|
|
653
|
+
}
|
|
654
|
+
interface InputStepperProps {
|
|
655
|
+
config?: InputStepperConfig;
|
|
656
|
+
id: string;
|
|
657
|
+
inputClassName?: string;
|
|
658
|
+
isDisabled?: boolean;
|
|
659
|
+
/** Invalid state */
|
|
660
|
+
isInvalid?: boolean;
|
|
661
|
+
name?: string;
|
|
662
|
+
nonEditableInput?: boolean;
|
|
663
|
+
className?: string;
|
|
664
|
+
[key: string]: any;
|
|
665
|
+
}
|
|
666
|
+
declare const InputStepper: React$1.FC<InputStepperProps>;
|
|
667
|
+
|
|
668
|
+
interface LabelProps extends React$1.LabelHTMLAttributes<HTMLLabelElement> {
|
|
669
|
+
htmlFor: string;
|
|
670
|
+
className?: string;
|
|
671
|
+
children?: React$1.ReactNode;
|
|
672
|
+
}
|
|
673
|
+
declare const Label: React$1.FC<LabelProps>;
|
|
674
|
+
|
|
675
|
+
type MessageType = "info" | "warning" | "error" | "invalid";
|
|
676
|
+
interface MessageProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
677
|
+
/** Type of message */
|
|
678
|
+
type?: MessageType;
|
|
679
|
+
/** Additional CSS classes */
|
|
680
|
+
className?: string;
|
|
681
|
+
/** Message content */
|
|
682
|
+
children?: React$1.ReactNode;
|
|
683
|
+
}
|
|
684
|
+
declare const Message: React$1.FC<MessageProps>;
|
|
685
|
+
|
|
686
|
+
type RadioSize = "default" | "large";
|
|
687
|
+
interface RadioProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
688
|
+
/** Html id attribute */
|
|
689
|
+
id: string;
|
|
690
|
+
/** Checked state. */
|
|
691
|
+
isChecked?: boolean;
|
|
692
|
+
/** Disabled state. */
|
|
693
|
+
isDisabled?: boolean;
|
|
694
|
+
/** Invalid state */
|
|
695
|
+
isInvalid?: boolean;
|
|
696
|
+
/** Html name attribute. */
|
|
697
|
+
name: string;
|
|
698
|
+
/** Size of element. */
|
|
699
|
+
size?: RadioSize;
|
|
700
|
+
/** HTML value. Uses id when not set. */
|
|
701
|
+
value?: string;
|
|
702
|
+
className?: string;
|
|
703
|
+
}
|
|
704
|
+
declare const Radio: React$1.FC<RadioProps>;
|
|
705
|
+
|
|
706
|
+
type RangeSliderWidth = "default" | "fullwidth";
|
|
707
|
+
interface RangeSliderConfig {
|
|
708
|
+
connect?: boolean | boolean[];
|
|
709
|
+
format?: (value: number) => string;
|
|
710
|
+
handleAttributes?: Array<Record<string, any>>;
|
|
711
|
+
pips?: {
|
|
712
|
+
mode?: "positions" | "count" | "values";
|
|
713
|
+
filter?: (value: number) => boolean;
|
|
714
|
+
format?: (value: number) => string;
|
|
715
|
+
values?: number[] | number;
|
|
716
|
+
density?: number;
|
|
717
|
+
};
|
|
718
|
+
range: {
|
|
719
|
+
min: number | number[];
|
|
720
|
+
max: number | number[];
|
|
721
|
+
};
|
|
722
|
+
start: number[];
|
|
723
|
+
[key: string]: any;
|
|
724
|
+
}
|
|
725
|
+
interface RangeSliderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
726
|
+
/** [noUiSlider config object](https://refreshless.com/nouislider/slider-options/) */
|
|
727
|
+
config: RangeSliderConfig;
|
|
728
|
+
/** insert arbitrary element after rangeslider */
|
|
729
|
+
elementAfter?: React$1.ReactNode;
|
|
730
|
+
/** insert arbitrary element before rangeslider */
|
|
731
|
+
elementBefore?: React$1.ReactNode;
|
|
732
|
+
/** render data-rangeslider attribute and initialize RangeSlider.static.js */
|
|
733
|
+
hasDataAttr?: boolean;
|
|
734
|
+
/** element id. required by RangeSlider.static.js and generated automatically in React environment. */
|
|
735
|
+
id?: string;
|
|
736
|
+
/** Invalid state */
|
|
737
|
+
isInvalid?: boolean;
|
|
738
|
+
/** width of the element */
|
|
739
|
+
width?: RangeSliderWidth;
|
|
740
|
+
/** Additional CSS classes */
|
|
741
|
+
className?: string;
|
|
742
|
+
}
|
|
743
|
+
declare const RangeSlider: React$1.FC<RangeSliderProps>;
|
|
744
|
+
|
|
745
|
+
type SelectOption = {
|
|
746
|
+
text: string;
|
|
747
|
+
value: string;
|
|
748
|
+
} | string;
|
|
749
|
+
type SelectSize = "default" | "large";
|
|
750
|
+
type SelectWidth = "default" | "12ch" | "shrink" | "fullwidth";
|
|
751
|
+
interface SelectProps extends Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "size"> {
|
|
752
|
+
/** Forwarded DOM element ref. */
|
|
753
|
+
elemRef?: React$1.Ref<HTMLSelectElement>;
|
|
754
|
+
/** Html id attribute. */
|
|
755
|
+
id?: string;
|
|
756
|
+
/** Disabled state. */
|
|
757
|
+
isDisabled?: boolean;
|
|
758
|
+
/** Invalid state. */
|
|
759
|
+
isInvalid?: boolean;
|
|
760
|
+
/** Html name attribute. */
|
|
761
|
+
name?: string;
|
|
762
|
+
/** Select option can be specified via children or as options array */
|
|
763
|
+
options?: SelectOption[];
|
|
764
|
+
/** Size of element. */
|
|
765
|
+
size?: SelectSize;
|
|
766
|
+
/** Select value. */
|
|
767
|
+
value?: string | string[];
|
|
768
|
+
/** Element width */
|
|
769
|
+
width?: SelectWidth;
|
|
770
|
+
/** Additional CSS classes */
|
|
771
|
+
className?: string;
|
|
772
|
+
/** Child elements */
|
|
773
|
+
children?: React$1.ReactNode;
|
|
774
|
+
}
|
|
775
|
+
declare const Select: React$1.FC<SelectProps>;
|
|
776
|
+
|
|
777
|
+
type TextAreaSize = "default" | "large";
|
|
778
|
+
type TextAreaWidth = "default" | "fullwidth";
|
|
779
|
+
interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
780
|
+
/** Html id attribute. */
|
|
781
|
+
id: string;
|
|
782
|
+
/** Disabled state. */
|
|
783
|
+
isDisabled?: boolean;
|
|
784
|
+
/** Invalid state */
|
|
785
|
+
isInvalid?: boolean;
|
|
786
|
+
/** Readonly state. */
|
|
787
|
+
isReadonly?: boolean;
|
|
788
|
+
/** Valid state */
|
|
789
|
+
isValid?: boolean;
|
|
790
|
+
/** Html name attribute. If not present, id is used.*/
|
|
791
|
+
name?: string;
|
|
792
|
+
/** Placeholder text */
|
|
793
|
+
placeholder?: string;
|
|
794
|
+
/** Size of element. */
|
|
795
|
+
size?: TextAreaSize;
|
|
796
|
+
/** Input width */
|
|
797
|
+
width?: TextAreaWidth;
|
|
798
|
+
/** Additional CSS classes */
|
|
799
|
+
className?: string;
|
|
800
|
+
/** Child elements */
|
|
801
|
+
children?: React$1.ReactNode;
|
|
802
|
+
}
|
|
803
|
+
declare const TextArea: React$1.FC<TextAreaProps>;
|
|
804
|
+
|
|
805
|
+
type TextInputSize = "default" | "large";
|
|
806
|
+
type TextInputWidth = "3ch" | "8ch" | "12ch" | "default" | "fullwidth";
|
|
807
|
+
type TextInputType = "email" | "hidden" | "password" | "search" | "tel" | "number" | "text" | "url";
|
|
808
|
+
type TextInputSearchIcon = "none" | "transient" | "persistent";
|
|
809
|
+
interface TextInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
810
|
+
/** Input html type. */
|
|
811
|
+
htmlType?: TextInputType;
|
|
812
|
+
/** Html id attribute. */
|
|
813
|
+
id: string;
|
|
814
|
+
/** Disabled state. */
|
|
815
|
+
isDisabled?: boolean;
|
|
816
|
+
/** Invalid state */
|
|
817
|
+
isInvalid?: boolean;
|
|
818
|
+
/** Readonly state. */
|
|
819
|
+
isReadonly?: boolean;
|
|
820
|
+
/** Valid state */
|
|
821
|
+
isValid?: boolean;
|
|
822
|
+
/** Html name attribute. If not present, id is used.*/
|
|
823
|
+
name?: string;
|
|
824
|
+
/** Placeholder text */
|
|
825
|
+
placeholder?: string;
|
|
826
|
+
/** Size of element. */
|
|
827
|
+
size?: TextInputSize;
|
|
828
|
+
/** Input value. */
|
|
829
|
+
value?: string;
|
|
830
|
+
/** Input width */
|
|
831
|
+
width?: TextInputWidth;
|
|
832
|
+
/** Additional CSS classes */
|
|
833
|
+
className?: string;
|
|
834
|
+
/** Search icon mode. `transient` shows icon only on empty unfocused input, `persistent` keeps it visible with placeholder. */
|
|
835
|
+
searchIcon?: TextInputSearchIcon;
|
|
836
|
+
}
|
|
837
|
+
declare const TextInput: React$1.ForwardRefExoticComponent<TextInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
568
838
|
|
|
569
839
|
interface GaugeProps {
|
|
570
840
|
/** Text inside the gauge */
|
|
@@ -578,8 +848,8 @@ declare const Gauge: React$1.ForwardRefExoticComponent<Omit<GaugeProps, "ref"> &
|
|
|
578
848
|
|
|
579
849
|
type GridVAlign = "stretch" | "start" | "end" | "center";
|
|
580
850
|
type GridHAlign = "end" | "center" | "space-around" | "space-between";
|
|
581
|
-
type GridRowGapSize = "medium" | "large" | "xlarge" | Record<string, "medium" | "large" | "xlarge">;
|
|
582
|
-
type GridColumnGapSize = "none"
|
|
851
|
+
type GridRowGapSize = "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | Record<string, "none" | "xsmall" | "small" | "medium" | "large" | "xlarge">;
|
|
852
|
+
type GridColumnGapSize = "none" | "small" | "default" | "large" | "xlarge" | Record<string, "none" | "small" | "default" | "large" | "xlarge">;
|
|
583
853
|
interface GridProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
584
854
|
vAlign?: GridVAlign;
|
|
585
855
|
hAlign?: GridHAlign;
|
|
@@ -590,18 +860,143 @@ interface GridProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
590
860
|
}
|
|
591
861
|
declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLElement>>;
|
|
592
862
|
|
|
593
|
-
type GridColAlign =
|
|
594
|
-
type GridColSize = number |
|
|
863
|
+
type GridColAlign = "top" | "middle" | "bottom" | "stretch";
|
|
864
|
+
type GridColSize = number | "shrink" | "fill" | "auto" | Record<string, number | "shrink" | "fill" | "auto">;
|
|
595
865
|
interface GridColProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
596
866
|
align?: GridColAlign;
|
|
597
867
|
tag?: React$1.ElementType;
|
|
598
868
|
size?: GridColSize;
|
|
599
869
|
}
|
|
600
870
|
declare const GridCol: {
|
|
601
|
-
({ className, align, tag, size, ...other }: GridColProps):
|
|
871
|
+
({ className, align, tag, size, ...other }: GridColProps): react_jsx_runtime.JSX.Element;
|
|
602
872
|
displayName: string;
|
|
603
873
|
};
|
|
604
874
|
|
|
875
|
+
type HeroTextSize = "medium" | "large";
|
|
876
|
+
type StickerColor = "black" | "orange";
|
|
877
|
+
interface HeroImageSrc {
|
|
878
|
+
src: string;
|
|
879
|
+
srcSet?: string;
|
|
880
|
+
}
|
|
881
|
+
interface HeroImageResponsive {
|
|
882
|
+
default: string;
|
|
883
|
+
sm?: string;
|
|
884
|
+
lg?: string;
|
|
885
|
+
xl?: string;
|
|
886
|
+
xxl?: string;
|
|
887
|
+
[key: string]: string | undefined;
|
|
888
|
+
}
|
|
889
|
+
type HeroImage = HeroImageSrc | HeroImageResponsive;
|
|
890
|
+
interface HeroPriceObject {
|
|
891
|
+
amount: number;
|
|
892
|
+
prefix?: React$1.ReactNode;
|
|
893
|
+
suffix?: React$1.ReactNode;
|
|
894
|
+
}
|
|
895
|
+
type HeroPrice = string | HeroPriceObject;
|
|
896
|
+
interface HeroButtonProps {
|
|
897
|
+
children: React$1.ReactNode;
|
|
898
|
+
[key: string]: any;
|
|
899
|
+
}
|
|
900
|
+
interface HeroStickerProps {
|
|
901
|
+
color?: StickerColor;
|
|
902
|
+
children?: React$1.ReactNode;
|
|
903
|
+
className?: string;
|
|
904
|
+
}
|
|
905
|
+
interface HeroProps {
|
|
906
|
+
/** Action button props */
|
|
907
|
+
button?: HeroButtonProps;
|
|
908
|
+
/** Main text */
|
|
909
|
+
description?: React$1.ReactNode;
|
|
910
|
+
hasFullwidthImage?: boolean;
|
|
911
|
+
/** Gradient overlay ensures proper text readability */
|
|
912
|
+
hasGradientOverlay?: boolean;
|
|
913
|
+
/** Use svg illustrations, png for product images and jpg for photos */
|
|
914
|
+
image?: HeroImage;
|
|
915
|
+
price?: HeroPrice;
|
|
916
|
+
sticker?: HeroStickerProps;
|
|
917
|
+
/** Adjust title and description size. Medium sets display-2 title and 18px text, large uses display-1 title and 20px text. */
|
|
918
|
+
textSize?: HeroTextSize;
|
|
919
|
+
/** Hero title */
|
|
920
|
+
title: string;
|
|
921
|
+
}
|
|
922
|
+
declare const Hero: React$1.FC<HeroProps>;
|
|
923
|
+
|
|
924
|
+
type IconColor = "info" | "success" | "warning" | "danger" | "orange";
|
|
925
|
+
type IconSize = "small" | "medium" | "large" | "xlarge" | "xxlarge" | "huge";
|
|
926
|
+
type IconType = "icon" | "pictogram";
|
|
927
|
+
interface IconProps extends React$1.SVGAttributes<SVGSVGElement> {
|
|
928
|
+
/** Accessible label for the icon. */
|
|
929
|
+
alt?: string;
|
|
930
|
+
/** Icon color. */
|
|
931
|
+
color?: IconColor;
|
|
932
|
+
/** Icon name (required). */
|
|
933
|
+
name: string;
|
|
934
|
+
/** Icon size. */
|
|
935
|
+
size?: IconSize;
|
|
936
|
+
/** Path to the SVG sprite. */
|
|
937
|
+
spritePath?: string;
|
|
938
|
+
/**
|
|
939
|
+
* Icon type. When set to "pictogram", the component will automatically
|
|
940
|
+
* switch between light and dark versions based on theme classes (.is-light/.is-dark).
|
|
941
|
+
*/
|
|
942
|
+
type?: IconType;
|
|
943
|
+
/**
|
|
944
|
+
* @deprecated Use type="pictogram" instead.
|
|
945
|
+
* Whether this icon should adapt to theme (light/dark).
|
|
946
|
+
* When true, the component will automatically switch between
|
|
947
|
+
* light and dark versions based on theme classes (.is-light/.is-dark).
|
|
948
|
+
*/
|
|
949
|
+
className?: string;
|
|
950
|
+
}
|
|
951
|
+
declare const Icon: React$1.FC<IconProps>;
|
|
952
|
+
|
|
953
|
+
interface PictogramProps extends Omit<IconProps, "type"> {
|
|
954
|
+
/**
|
|
955
|
+
* Pictogram name. Should correspond to your pictogram sprite entries.
|
|
956
|
+
* For example: 'pictogram-skylink' will look for 'pictogram-skylink' (light)
|
|
957
|
+
* and 'pictogram-skylink--dark' (dark) in the sprite.
|
|
958
|
+
*/
|
|
959
|
+
name: string;
|
|
960
|
+
}
|
|
961
|
+
/**
|
|
962
|
+
* Pictogram component for theme-aware pictographic icons.
|
|
963
|
+
*
|
|
964
|
+
* This component automatically handles light/dark theme switching by using
|
|
965
|
+
* different sprite entries based on the current theme (.is-light/.is-dark classes).
|
|
966
|
+
*
|
|
967
|
+
* Your sprite should contain both light and dark versions:
|
|
968
|
+
* - Light version: Use the exact name provided (e.g., 'pictogram-skylink')
|
|
969
|
+
* - Dark version: Add '--dark' suffix (e.g., 'pictogram-skylink--dark')
|
|
970
|
+
*/
|
|
971
|
+
declare const Pictogram: React$1.FC<PictogramProps>;
|
|
972
|
+
|
|
973
|
+
declare const SpritePathContext: React$1.Context<string>;
|
|
974
|
+
interface SpritePathProviderProps {
|
|
975
|
+
children: ReactNode;
|
|
976
|
+
value?: string;
|
|
977
|
+
}
|
|
978
|
+
declare const SpritePathProvider: React$1.FC<SpritePathProviderProps>;
|
|
979
|
+
|
|
980
|
+
interface IconListItem {
|
|
981
|
+
icon: string;
|
|
982
|
+
content: React$1.ReactNode;
|
|
983
|
+
tooltip?: React$1.ReactNode;
|
|
984
|
+
}
|
|
985
|
+
interface IconListProps {
|
|
986
|
+
items?: IconListItem[];
|
|
987
|
+
className?: string;
|
|
988
|
+
[key: string]: any;
|
|
989
|
+
}
|
|
990
|
+
declare const IconList: React$1.FC<IconListProps>;
|
|
991
|
+
|
|
992
|
+
interface ItemProps {
|
|
993
|
+
icon: string;
|
|
994
|
+
children: React$1.ReactNode;
|
|
995
|
+
tooltip?: React$1.ReactNode;
|
|
996
|
+
[key: string]: any;
|
|
997
|
+
}
|
|
998
|
+
declare const Item: React$1.FC<ItemProps>;
|
|
999
|
+
|
|
605
1000
|
interface ImageSrcObject {
|
|
606
1001
|
default: string;
|
|
607
1002
|
xxxl?: string;
|
|
@@ -621,7 +1016,7 @@ interface ImageProps {
|
|
|
621
1016
|
}
|
|
622
1017
|
declare const Image: React$1.FC<ImageProps>;
|
|
623
1018
|
|
|
624
|
-
interface LinkProps {
|
|
1019
|
+
interface LinkProps$1 {
|
|
625
1020
|
/** destination address */
|
|
626
1021
|
href?: string;
|
|
627
1022
|
/** rendered HTML element */
|
|
@@ -630,14 +1025,41 @@ interface LinkProps {
|
|
|
630
1025
|
className?: string;
|
|
631
1026
|
/** link content */
|
|
632
1027
|
children?: React$1.ReactNode;
|
|
633
|
-
/** color scheme for link: dark (white text) or light (black text) */
|
|
634
|
-
colorScheme?: "dark" | "light";
|
|
635
1028
|
/** whether the link should be underlined */
|
|
636
1029
|
isUnderline?: boolean;
|
|
637
1030
|
/** whether the link should have normal font weight */
|
|
638
1031
|
isNormal?: boolean;
|
|
1032
|
+
/** when true, adds the .no-accent modifier to disable orange accent color on hover (useful for dark backgrounds) */
|
|
1033
|
+
noAccent?: boolean;
|
|
1034
|
+
}
|
|
1035
|
+
declare const Link: React$1.FC<LinkProps$1 & React$1.HTMLAttributes<HTMLElement>>;
|
|
1036
|
+
|
|
1037
|
+
interface ListProps {
|
|
1038
|
+
/** Size determines color of list items and color of their borders*/
|
|
1039
|
+
color?: "gray";
|
|
1040
|
+
/** Spacious lists have horizontal spacing */
|
|
1041
|
+
isEnclosed?: boolean;
|
|
1042
|
+
/** Size determines vertical spacing */
|
|
1043
|
+
size?: "small";
|
|
1044
|
+
className?: string;
|
|
1045
|
+
children?: React$1.ReactNode;
|
|
1046
|
+
}
|
|
1047
|
+
declare const List: React$1.FC<ListProps>;
|
|
1048
|
+
|
|
1049
|
+
interface ControlProps {
|
|
1050
|
+
href?: string;
|
|
1051
|
+
className?: string;
|
|
1052
|
+
children?: React$1.ReactNode;
|
|
1053
|
+
[key: string]: any;
|
|
1054
|
+
}
|
|
1055
|
+
interface ListItemProps {
|
|
1056
|
+
/** Item with control props automatically creates a clickable item and renders an interactive element. If the object contains a href property, it renders an anchor element. If not, it renders a button of type="button" instead. */
|
|
1057
|
+
controlProps?: ControlProps;
|
|
1058
|
+
className?: string;
|
|
1059
|
+
children?: React$1.ReactNode;
|
|
1060
|
+
[key: string]: any;
|
|
639
1061
|
}
|
|
640
|
-
declare const
|
|
1062
|
+
declare const ListItem: React$1.FC<ListItemProps>;
|
|
641
1063
|
|
|
642
1064
|
interface LoaderProps {
|
|
643
1065
|
colour?: "default" | "inverse";
|
|
@@ -652,6 +1074,24 @@ interface LoaderProps {
|
|
|
652
1074
|
}
|
|
653
1075
|
declare const Loader: React$1.FC<LoaderProps>;
|
|
654
1076
|
|
|
1077
|
+
interface LoaderFullscreenProps {
|
|
1078
|
+
className?: string;
|
|
1079
|
+
children?: ReactNode;
|
|
1080
|
+
}
|
|
1081
|
+
declare const LoaderFullscreen: React$1.FC<LoaderFullscreenProps>;
|
|
1082
|
+
|
|
1083
|
+
type MegamenuProps = {
|
|
1084
|
+
className?: string;
|
|
1085
|
+
title?: string;
|
|
1086
|
+
isSticky?: boolean;
|
|
1087
|
+
searchEmpty?: boolean;
|
|
1088
|
+
searchFilled?: boolean;
|
|
1089
|
+
compactLogoOnly?: boolean;
|
|
1090
|
+
};
|
|
1091
|
+
declare const Megamenu: ({ className, title, isSticky, searchEmpty, searchFilled, compactLogoOnly, }: MegamenuProps) => react_jsx_runtime.JSX.Element;
|
|
1092
|
+
|
|
1093
|
+
declare const MegamenuBlog: ({ className, title, isSticky, searchEmpty, searchFilled, compactLogoOnly, }: MegamenuProps) => react_jsx_runtime.JSX.Element;
|
|
1094
|
+
|
|
655
1095
|
declare const sizes$1: readonly ["small", "large"];
|
|
656
1096
|
type ModalSize = (typeof sizes$1)[number];
|
|
657
1097
|
interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
@@ -665,8 +1105,8 @@ interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
665
1105
|
id: string;
|
|
666
1106
|
/** isActive controls if modal is opened or closed */
|
|
667
1107
|
isActive?: boolean;
|
|
668
|
-
/**
|
|
669
|
-
|
|
1108
|
+
/** Callback fired when modal is closed */
|
|
1109
|
+
onHide?: () => void;
|
|
670
1110
|
/** Custom header renderer. Receives id as function param. Returned element(s) must contain a header with close button. */
|
|
671
1111
|
renderHeader?: (id: string) => React$1.ReactNode;
|
|
672
1112
|
/** Custom body renderer. Receives title as function param. Returned element(s) must contain a title. */
|
|
@@ -683,21 +1123,17 @@ interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
683
1123
|
children?: React$1.ReactNode;
|
|
684
1124
|
/** Additional CSS classes */
|
|
685
1125
|
className?: string;
|
|
686
|
-
/** Color scheme for the modal */
|
|
687
|
-
colorScheme?: "dark" | "light";
|
|
688
1126
|
/** Disables header paddings */
|
|
689
1127
|
disableHeaderSpacing?: boolean;
|
|
690
|
-
/** Disables body paddings */
|
|
691
|
-
disableBodySpacing?: boolean;
|
|
692
1128
|
/** Disables footer paddings */
|
|
693
1129
|
disableFooterSpacing?: boolean;
|
|
694
1130
|
}
|
|
695
1131
|
declare const Modal: React$1.FC<ModalProps>;
|
|
696
1132
|
|
|
697
|
-
declare const
|
|
698
|
-
type
|
|
1133
|
+
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"];
|
|
1134
|
+
type ModalBodyColor = (typeof modalBodyColors)[number];
|
|
699
1135
|
interface ModalBodyProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
700
|
-
color?:
|
|
1136
|
+
color?: ModalBodyColor;
|
|
701
1137
|
className?: string;
|
|
702
1138
|
children?: React$1.ReactNode;
|
|
703
1139
|
withTopPadding?: boolean;
|
|
@@ -705,496 +1141,186 @@ interface ModalBodyProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
705
1141
|
}
|
|
706
1142
|
declare const ModalBody: React$1.FC<ModalBodyProps>;
|
|
707
1143
|
|
|
708
|
-
declare const sizes: readonly ["small", "large"];
|
|
709
|
-
type TitleSize = (typeof sizes)[number];
|
|
710
|
-
interface ModalTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
711
|
-
size?: TitleSize;
|
|
712
|
-
className?: string;
|
|
713
|
-
children?: React.ReactNode;
|
|
714
|
-
}
|
|
715
|
-
declare const ModalTitle: React.FC<ModalTitleProps>;
|
|
716
|
-
|
|
717
1144
|
interface ExtendedIconButtonProps extends IconButtonProps {
|
|
718
1145
|
type?: ButtonType;
|
|
719
1146
|
}
|
|
720
1147
|
type ModalCloseButtonProps = Omit<ExtendedIconButtonProps, "iconName">;
|
|
721
1148
|
declare const ModalCloseButton: React.FC<ModalCloseButtonProps>;
|
|
722
1149
|
|
|
723
|
-
interface
|
|
1150
|
+
interface ModalProductFooterProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
724
1151
|
image?: React$1.ReactNode;
|
|
725
1152
|
/** Use small spacing */
|
|
726
1153
|
space?: "small";
|
|
1154
|
+
button?: React$1.ReactNode;
|
|
727
1155
|
}
|
|
728
|
-
declare const
|
|
729
|
-
|
|
730
|
-
type SectionColor = "white" | "gray" | "black" | "orange" | "accent1-blog" | "accent2-blog";
|
|
731
|
-
type SectionSpacing = "default" | "small" | "xsmall";
|
|
732
|
-
interface SectionProps {
|
|
733
|
-
/** Background color of section */
|
|
734
|
-
color?: SectionColor;
|
|
735
|
-
/**
|
|
736
|
-
* Spacing between sections
|
|
737
|
-
*
|
|
738
|
-
* if two sections with different color meet
|
|
739
|
-
* use default (larger) spacing, if two section have same color
|
|
740
|
-
* use small spacing on second one. Use xsmall for specific
|
|
741
|
-
* cases e.g. as part of Megamenu
|
|
742
|
-
*/
|
|
743
|
-
spacing?: SectionSpacing;
|
|
744
|
-
/** Rendered HTML element */
|
|
745
|
-
tag?: React$1.ElementType;
|
|
746
|
-
/** Additional CSS classes */
|
|
747
|
-
className?: string;
|
|
748
|
-
/** Section content */
|
|
749
|
-
children?: React$1.ReactNode;
|
|
750
|
-
}
|
|
751
|
-
declare const Section: React$1.FC<SectionProps>;
|
|
752
|
-
|
|
753
|
-
interface StickerProps {
|
|
754
|
-
color?: 'black' | 'orange';
|
|
755
|
-
size?: 'small';
|
|
756
|
-
children?: React$1.ReactNode;
|
|
757
|
-
className?: string;
|
|
758
|
-
[key: string]: any;
|
|
759
|
-
}
|
|
760
|
-
declare const Sticker: React$1.FC<StickerProps>;
|
|
761
|
-
|
|
762
|
-
interface SkipLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
763
|
-
href?: string;
|
|
764
|
-
}
|
|
765
|
-
declare const SkipLink: React$1.FC<SkipLinkProps>;
|
|
766
|
-
|
|
767
|
-
interface ListProps {
|
|
768
|
-
/** Size determines color of list items and color of their borders*/
|
|
769
|
-
color?: 'gray';
|
|
770
|
-
/** Spacious lists have horizontal spacing */
|
|
771
|
-
isEnclosed?: boolean;
|
|
772
|
-
/** Size determines vertical spacing */
|
|
773
|
-
size?: 'small';
|
|
774
|
-
className?: string;
|
|
775
|
-
children?: React$1.ReactNode;
|
|
776
|
-
}
|
|
777
|
-
declare const List: React$1.FC<ListProps>;
|
|
1156
|
+
declare const ModalProductFooter: React$1.ForwardRefExoticComponent<ModalProductFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
778
1157
|
|
|
779
|
-
interface
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
interface ListItemProps {
|
|
786
|
-
/** Item with control props automatically creates a clickable item and renders an interactive element. If the object contains a href property, it renders an anchor element. If not, it renders a button of type="button" instead. */
|
|
787
|
-
controlProps?: ControlProps;
|
|
788
|
-
className?: string;
|
|
789
|
-
children?: React$1.ReactNode;
|
|
790
|
-
[key: string]: any;
|
|
1158
|
+
interface ModalProductHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1159
|
+
image?: React$1.ReactNode;
|
|
1160
|
+
/** Use small spacing */
|
|
1161
|
+
space?: "small";
|
|
1162
|
+
/** Optional id for accessibility (e.g., for aria-labelledby) */
|
|
1163
|
+
titleId?: string;
|
|
791
1164
|
}
|
|
792
|
-
declare const
|
|
1165
|
+
declare const ModalProductHeader: React$1.ForwardRefExoticComponent<ModalProductHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
793
1166
|
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
label: React$1.ReactNode;
|
|
799
|
-
/** Textual representation of the indicator */
|
|
800
|
-
value: React$1.ReactNode;
|
|
801
|
-
/** Width of the progress indicator where 0 = empty, 1 = full */
|
|
802
|
-
width?: number;
|
|
1167
|
+
declare const sizes: readonly ["small", "large"];
|
|
1168
|
+
type TitleSize = (typeof sizes)[number];
|
|
1169
|
+
interface ModalTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
1170
|
+
size?: TitleSize;
|
|
803
1171
|
className?: string;
|
|
804
|
-
children?: React
|
|
805
|
-
colorMode?: "light" | "dark";
|
|
1172
|
+
children?: React.ReactNode;
|
|
806
1173
|
}
|
|
807
|
-
declare const
|
|
1174
|
+
declare const ModalTitle: React.FC<ModalTitleProps>;
|
|
808
1175
|
|
|
809
1176
|
interface PaginationItemProps {
|
|
810
1177
|
/** Page link href */
|
|
811
1178
|
href: string;
|
|
812
1179
|
/** Text label inside page item */
|
|
813
1180
|
label: string;
|
|
814
|
-
/** Active state. */
|
|
815
|
-
isActive?: boolean;
|
|
816
|
-
/** aria-label of page item */
|
|
817
|
-
ariaLabel?: string;
|
|
818
|
-
}
|
|
819
|
-
interface PaginationProps {
|
|
820
|
-
/** Collapsed version */
|
|
821
|
-
isCompact?: boolean;
|
|
822
|
-
/** Dark theme */
|
|
823
|
-
colorScheme?: "light" | "dark";
|
|
824
|
-
/** All pagination items - buttons & numbers */
|
|
825
|
-
items: PaginationItemProps[];
|
|
826
|
-
/** Accessibility label */
|
|
827
|
-
label?: string;
|
|
828
|
-
/** Additional CSS class name */
|
|
829
|
-
className?: string;
|
|
830
|
-
/** Additional props */
|
|
831
|
-
[key: string]: any;
|
|
832
|
-
}
|
|
833
|
-
declare const Pagination: React$1.FC<PaginationProps>;
|
|
834
|
-
|
|
835
|
-
interface PromoBannerProps {
|
|
836
|
-
colorScheme?: "light" | "dark";
|
|
837
|
-
className?: string;
|
|
838
|
-
title: string;
|
|
839
|
-
secondaryTitle?: string;
|
|
840
|
-
description: string;
|
|
841
|
-
buttonText: string;
|
|
842
|
-
image?: string;
|
|
843
|
-
}
|
|
844
|
-
declare const PromoBanner: ({ title, secondaryTitle, description, buttonText, image, colorScheme, className, }: PromoBannerProps) => React$1.JSX.Element;
|
|
845
|
-
|
|
846
|
-
interface PromotionCardProps {
|
|
847
|
-
/** Inverse colors */
|
|
848
|
-
colorScheme?: 'light' | 'dark';
|
|
849
|
-
className?: string;
|
|
850
|
-
children?: React$1.ReactNode;
|
|
851
|
-
[key: string]: any;
|
|
852
|
-
}
|
|
853
|
-
declare const PromotionCard: React$1.FC<PromotionCardProps>;
|
|
854
|
-
|
|
855
|
-
interface PromotionCardContentProps {
|
|
856
|
-
className?: string;
|
|
857
|
-
children?: React$1.ReactNode;
|
|
858
|
-
[key: string]: any;
|
|
859
|
-
}
|
|
860
|
-
declare const PromotionCardContent: React$1.FC<PromotionCardContentProps>;
|
|
861
|
-
|
|
862
|
-
interface PromotionCardImageWrapperProps {
|
|
863
|
-
className?: string;
|
|
864
|
-
children?: React$1.ReactNode;
|
|
865
|
-
[key: string]: any;
|
|
866
|
-
}
|
|
867
|
-
declare const PromotionCardImageWrapper: React$1.FC<PromotionCardImageWrapperProps>;
|
|
868
|
-
|
|
869
|
-
interface PromotionCardSectionProps {
|
|
870
|
-
/** Inverse colors */
|
|
871
|
-
isInverse?: boolean;
|
|
872
|
-
className?: string;
|
|
873
|
-
children?: React$1.ReactNode;
|
|
874
|
-
[key: string]: any;
|
|
875
|
-
}
|
|
876
|
-
declare const PromotionCardSection: React$1.FC<PromotionCardSectionProps>;
|
|
877
|
-
|
|
878
|
-
interface PromotionCardTitleProps {
|
|
879
|
-
className?: string;
|
|
880
|
-
children: React$1.ReactElement;
|
|
881
|
-
[key: string]: any;
|
|
882
|
-
}
|
|
883
|
-
declare const PromotionCardTitle: React$1.FC<PromotionCardTitleProps>;
|
|
884
|
-
|
|
885
|
-
type AutocompleteOption = string | {
|
|
886
|
-
title: string;
|
|
887
|
-
value: string;
|
|
888
|
-
};
|
|
889
|
-
interface AutocompleteProps extends React$1.HTMLAttributes<HTMLSelectElement> {
|
|
890
|
-
/** Module config. For more see accessible-autocomplete docs */
|
|
891
|
-
autocompleteConfig?: Record<string, any>;
|
|
892
|
-
/** Array of string options */
|
|
893
|
-
options?: AutocompleteOption[];
|
|
894
|
-
/** Placeholder text */
|
|
895
|
-
placeholder?: string;
|
|
896
|
-
/** Additional CSS classes */
|
|
897
|
-
className?: string;
|
|
898
|
-
}
|
|
899
|
-
declare const Autocomplete: React$1.FC<AutocompleteProps>;
|
|
900
|
-
|
|
901
|
-
type CheckboxSize = "default" | "large";
|
|
902
|
-
interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
903
|
-
/** Html id attribute */
|
|
904
|
-
id: string;
|
|
905
|
-
/** Checked state. */
|
|
906
|
-
isChecked?: boolean;
|
|
907
|
-
/** Disabled state. */
|
|
908
|
-
isDisabled?: boolean;
|
|
909
|
-
/** Invalid state */
|
|
910
|
-
isInvalid?: boolean;
|
|
911
|
-
/** Checkbox is displayed as Toggle */
|
|
912
|
-
isToggle?: boolean;
|
|
913
|
-
/** Html name attribute. Id is used when not set.*/
|
|
914
|
-
name?: string;
|
|
915
|
-
/** Size of element. */
|
|
916
|
-
size?: CheckboxSize;
|
|
917
|
-
className?: string;
|
|
918
|
-
}
|
|
919
|
-
declare const Checkbox: React$1.FC<CheckboxProps>;
|
|
920
|
-
|
|
921
|
-
interface FieldContextType {
|
|
922
|
-
controlId?: string;
|
|
923
|
-
messages?: any[];
|
|
924
|
-
control?: {
|
|
925
|
-
type?: string;
|
|
926
|
-
control?: any;
|
|
927
|
-
renderControl?: (props: any) => React.ReactNode;
|
|
928
|
-
isToggle?: boolean;
|
|
929
|
-
[key: string]: any;
|
|
930
|
-
};
|
|
931
|
-
hint?: React.ReactNode;
|
|
932
|
-
label?: React.ReactNode;
|
|
933
|
-
labelAfter?: React.ReactNode;
|
|
934
|
-
tooltip?: React.ReactNode;
|
|
935
|
-
isRadioCheck?: boolean;
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
interface InputFieldProps {
|
|
939
|
-
className?: string;
|
|
940
|
-
control: FieldContextType["control"];
|
|
941
|
-
hint?: React$1.ReactNode;
|
|
942
|
-
label?: React$1.ReactNode;
|
|
943
|
-
labelAfter?: React$1.ReactNode;
|
|
944
|
-
messages?: Array<{
|
|
945
|
-
type: string;
|
|
946
|
-
text: string;
|
|
947
|
-
}>;
|
|
948
|
-
tooltip?: React$1.ReactNode;
|
|
949
|
-
[key: string]: any;
|
|
950
|
-
}
|
|
951
|
-
declare const Field: React$1.FC<InputFieldProps>;
|
|
952
|
-
|
|
953
|
-
interface FieldsetMessage {
|
|
954
|
-
[key: string]: any;
|
|
955
|
-
}
|
|
956
|
-
interface FieldsetProps extends React$1.FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
957
|
-
/** Required `<legend />` for fieldset */
|
|
958
|
-
legend: ReactNode;
|
|
959
|
-
/** Additional legend props */
|
|
960
|
-
legendProps?: React$1.HTMLAttributes<HTMLLegendElement>;
|
|
961
|
-
description?: ReactNode;
|
|
962
|
-
messages?: FieldsetMessage[];
|
|
963
|
-
className?: string;
|
|
964
|
-
children?: ReactNode;
|
|
965
|
-
}
|
|
966
|
-
declare const Fieldset: React$1.FC<FieldsetProps>;
|
|
967
|
-
|
|
968
|
-
type FileSize = "default" | "large";
|
|
969
|
-
interface FileProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
970
|
-
/** Html id attribute. Generated automatically if omitted. */
|
|
971
|
-
id?: string;
|
|
972
|
-
/** Disabled state. */
|
|
973
|
-
isDisabled?: boolean;
|
|
974
|
-
/** Input name. */
|
|
975
|
-
name?: string;
|
|
976
|
-
/** Size of element. */
|
|
977
|
-
size?: FileSize;
|
|
978
|
-
className?: string;
|
|
1181
|
+
/** Active state. */
|
|
1182
|
+
isActive?: boolean;
|
|
1183
|
+
/** aria-label of page item */
|
|
1184
|
+
ariaLabel?: string;
|
|
979
1185
|
}
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
1186
|
+
interface PaginationProps {
|
|
1187
|
+
/** Collapsed version */
|
|
1188
|
+
isCompact?: boolean;
|
|
1189
|
+
/** All pagination items - buttons & numbers */
|
|
1190
|
+
items: PaginationItemProps[];
|
|
1191
|
+
/** Accessibility label */
|
|
1192
|
+
label?: string;
|
|
1193
|
+
/** Additional CSS class name */
|
|
1194
|
+
className?: string;
|
|
1195
|
+
/** Additional props */
|
|
984
1196
|
[key: string]: any;
|
|
985
1197
|
}
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
1198
|
+
declare const Pagination: React$1.FC<PaginationProps>;
|
|
1199
|
+
|
|
1200
|
+
declare const pillColors: readonly ["surface-primary", "surface-secondary", "surface-tertiary", "surface-subtle", "surface-moderate", "surface-contrast", "surface-accent", "fill-moderate", "fill-disabled", "transparent"];
|
|
1201
|
+
type PillColor = (typeof pillColors)[number];
|
|
1202
|
+
interface PillProps extends HTMLAttributes<HTMLSpanElement> {
|
|
991
1203
|
className?: string;
|
|
1204
|
+
children?: ReactNode;
|
|
1205
|
+
color?: PillColor;
|
|
1206
|
+
size?: "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
992
1207
|
}
|
|
993
|
-
declare const
|
|
1208
|
+
declare const Pill: React$1.FC<PillProps>;
|
|
994
1209
|
|
|
995
|
-
interface
|
|
1210
|
+
interface ProgressProps {
|
|
1211
|
+
/** Color of the indicator */
|
|
1212
|
+
color?: "orange" | "green" | "yellow" | "red" | "blue";
|
|
1213
|
+
/** Provides clear instruction on what the horizontal bar represents */
|
|
1214
|
+
label: React$1.ReactNode;
|
|
1215
|
+
/** Textual representation of the indicator */
|
|
1216
|
+
value: React$1.ReactNode;
|
|
1217
|
+
/** Width of the progress indicator where 0 = empty, 1 = full */
|
|
1218
|
+
width?: number;
|
|
996
1219
|
className?: string;
|
|
997
1220
|
children?: React$1.ReactNode;
|
|
998
1221
|
}
|
|
999
|
-
declare const
|
|
1222
|
+
declare const Progress: React$1.FC<ProgressProps>;
|
|
1000
1223
|
|
|
1001
|
-
interface
|
|
1002
|
-
htmlFor: string;
|
|
1224
|
+
interface PromoBannerProps {
|
|
1003
1225
|
className?: string;
|
|
1226
|
+
image?: string;
|
|
1227
|
+
alignImage?: "bottom" | "top";
|
|
1228
|
+
/** Remove top padding from item on sm and smaller breakpoints */
|
|
1229
|
+
flushTopSmDown?: boolean;
|
|
1230
|
+
/** Remove bottom padding from item on sm and smaller breakpoints */
|
|
1231
|
+
flushBottomSmDown?: boolean;
|
|
1232
|
+
imageFullWidth?: boolean;
|
|
1233
|
+
/** Make image extend to the edge of viewport even when inside container */
|
|
1234
|
+
bleedImage?: boolean;
|
|
1004
1235
|
children?: React$1.ReactNode;
|
|
1236
|
+
itemClassName?: string;
|
|
1237
|
+
imageClassName?: string;
|
|
1238
|
+
variant?: "vertical" | "reverse";
|
|
1005
1239
|
}
|
|
1006
|
-
declare const
|
|
1240
|
+
declare const PromoBanner: ({ image, className, alignImage, flushTopSmDown, flushBottomSmDown, bleedImage, children, itemClassName, imageClassName, variant, imageFullWidth, }: PromoBannerProps) => react_jsx_runtime.JSX.Element;
|
|
1007
1241
|
|
|
1008
|
-
|
|
1009
|
-
interface MessageProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
1010
|
-
/** Type of message */
|
|
1011
|
-
type?: MessageType;
|
|
1012
|
-
/** Additional CSS classes */
|
|
1242
|
+
interface PromotionCardProps {
|
|
1013
1243
|
className?: string;
|
|
1014
|
-
/** Message content */
|
|
1015
1244
|
children?: React$1.ReactNode;
|
|
1245
|
+
color?: CardColor;
|
|
1246
|
+
[key: string]: any;
|
|
1016
1247
|
}
|
|
1017
|
-
declare const
|
|
1248
|
+
declare const PromotionCard: React$1.FC<PromotionCardProps>;
|
|
1018
1249
|
|
|
1019
|
-
|
|
1020
|
-
interface RadioProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
1021
|
-
/** Html id attribute */
|
|
1022
|
-
id: string;
|
|
1023
|
-
/** Checked state. */
|
|
1024
|
-
isChecked?: boolean;
|
|
1025
|
-
/** Disabled state. */
|
|
1026
|
-
isDisabled?: boolean;
|
|
1027
|
-
/** Invalid state */
|
|
1028
|
-
isInvalid?: boolean;
|
|
1029
|
-
/** Html name attribute. */
|
|
1030
|
-
name: string;
|
|
1031
|
-
/** Size of element. */
|
|
1032
|
-
size?: RadioSize;
|
|
1033
|
-
/** HTML value. Uses id when not set. */
|
|
1034
|
-
value?: string;
|
|
1250
|
+
interface PromotionCardContentProps {
|
|
1035
1251
|
className?: string;
|
|
1036
|
-
|
|
1037
|
-
declare const Radio: React$1.FC<RadioProps>;
|
|
1038
|
-
|
|
1039
|
-
type RangeSliderWidth = "default" | "fullwidth";
|
|
1040
|
-
interface RangeSliderConfig {
|
|
1041
|
-
connect?: boolean | boolean[];
|
|
1042
|
-
format?: (value: number) => string;
|
|
1043
|
-
handleAttributes?: Array<Record<string, any>>;
|
|
1044
|
-
pips?: {
|
|
1045
|
-
mode?: "positions" | "count" | "values";
|
|
1046
|
-
filter?: (value: number) => boolean;
|
|
1047
|
-
format?: (value: number) => string;
|
|
1048
|
-
values?: number[] | number;
|
|
1049
|
-
density?: number;
|
|
1050
|
-
};
|
|
1051
|
-
range: {
|
|
1052
|
-
min: number | number[];
|
|
1053
|
-
max: number | number[];
|
|
1054
|
-
};
|
|
1055
|
-
start: number[];
|
|
1252
|
+
children?: React$1.ReactNode;
|
|
1056
1253
|
[key: string]: any;
|
|
1057
1254
|
}
|
|
1058
|
-
|
|
1059
|
-
/** [noUiSlider config object](https://refreshless.com/nouislider/slider-options/) */
|
|
1060
|
-
config: RangeSliderConfig;
|
|
1061
|
-
/** insert arbitrary element after rangeslider */
|
|
1062
|
-
elementAfter?: React$1.ReactNode;
|
|
1063
|
-
/** insert arbitrary element before rangeslider */
|
|
1064
|
-
elementBefore?: React$1.ReactNode;
|
|
1065
|
-
/** render data-rangeslider attribute and initialize RangeSlider.static.js */
|
|
1066
|
-
hasDataAttr?: boolean;
|
|
1067
|
-
/** element id. required by RangeSlider.static.js and generated automatically in React environment. */
|
|
1068
|
-
id?: string;
|
|
1069
|
-
/** width of the element */
|
|
1070
|
-
width?: RangeSliderWidth;
|
|
1071
|
-
/** Additional CSS classes */
|
|
1072
|
-
className?: string;
|
|
1073
|
-
}
|
|
1074
|
-
declare const RangeSlider: React$1.FC<RangeSliderProps>;
|
|
1255
|
+
declare const PromotionCardContent: React$1.FC<PromotionCardContentProps>;
|
|
1075
1256
|
|
|
1076
|
-
|
|
1077
|
-
text: string;
|
|
1078
|
-
value: string;
|
|
1079
|
-
} | string;
|
|
1080
|
-
type SelectSize = "default" | "large";
|
|
1081
|
-
type SelectWidth = "default" | "12ch" | "shrink" | "fullwidth";
|
|
1082
|
-
interface SelectProps extends Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "size"> {
|
|
1083
|
-
/** Forwarded DOM element ref. */
|
|
1084
|
-
elemRef?: React$1.Ref<HTMLSelectElement>;
|
|
1085
|
-
/** Html id attribute. */
|
|
1086
|
-
id?: string;
|
|
1087
|
-
/** Disabled state. */
|
|
1088
|
-
isDisabled?: boolean;
|
|
1089
|
-
/** Invalid state. */
|
|
1090
|
-
isInvalid?: boolean;
|
|
1091
|
-
/** Html name attribute. */
|
|
1092
|
-
name?: string;
|
|
1093
|
-
/** Select option can be specified via children or as options array */
|
|
1094
|
-
options?: SelectOption[];
|
|
1095
|
-
/** Size of element. */
|
|
1096
|
-
size?: SelectSize;
|
|
1097
|
-
/** Select value. */
|
|
1098
|
-
value?: string | string[];
|
|
1099
|
-
/** Element width */
|
|
1100
|
-
width?: SelectWidth;
|
|
1101
|
-
/** Additional CSS classes */
|
|
1257
|
+
interface PromotionCardImageWrapperProps {
|
|
1102
1258
|
className?: string;
|
|
1103
|
-
/** Child elements */
|
|
1104
1259
|
children?: React$1.ReactNode;
|
|
1260
|
+
[key: string]: any;
|
|
1105
1261
|
}
|
|
1106
|
-
declare const
|
|
1262
|
+
declare const PromotionCardImageWrapper: React$1.FC<PromotionCardImageWrapperProps>;
|
|
1107
1263
|
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
/** Html id attribute. */
|
|
1112
|
-
id: string;
|
|
1113
|
-
/** Disabled state. */
|
|
1114
|
-
isDisabled?: boolean;
|
|
1115
|
-
/** Invalid state */
|
|
1116
|
-
isInvalid?: boolean;
|
|
1117
|
-
/** Readonly state. */
|
|
1118
|
-
isReadonly?: boolean;
|
|
1119
|
-
/** Valid state */
|
|
1120
|
-
isValid?: boolean;
|
|
1121
|
-
/** Html name attribute. If not present, id is used.*/
|
|
1122
|
-
name?: string;
|
|
1123
|
-
/** Placeholder text */
|
|
1124
|
-
placeholder?: string;
|
|
1125
|
-
/** Size of element. */
|
|
1126
|
-
size?: TextAreaSize;
|
|
1127
|
-
/** Input width */
|
|
1128
|
-
width?: TextAreaWidth;
|
|
1129
|
-
/** Additional CSS classes */
|
|
1264
|
+
interface PromotionCardSectionProps {
|
|
1265
|
+
/** Inverse colors */
|
|
1266
|
+
isInverse?: boolean;
|
|
1130
1267
|
className?: string;
|
|
1131
|
-
/** Child elements */
|
|
1132
1268
|
children?: React$1.ReactNode;
|
|
1269
|
+
[key: string]: any;
|
|
1133
1270
|
}
|
|
1134
|
-
declare const
|
|
1271
|
+
declare const PromotionCardSection: React$1.FC<PromotionCardSectionProps>;
|
|
1135
1272
|
|
|
1136
|
-
|
|
1137
|
-
type TextInputWidth = "3ch" | "8ch" | "12ch" | "default" | "fullwidth";
|
|
1138
|
-
type TextInputType = "email" | "hidden" | "password" | "search" | "tel" | "number" | "text" | "url";
|
|
1139
|
-
interface TextInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
1140
|
-
/** Input html type. */
|
|
1141
|
-
htmlType?: TextInputType;
|
|
1142
|
-
/** Html id attribute. */
|
|
1143
|
-
id: string;
|
|
1144
|
-
/** Disabled state. */
|
|
1145
|
-
isDisabled?: boolean;
|
|
1146
|
-
/** Invalid state */
|
|
1147
|
-
isInvalid?: boolean;
|
|
1148
|
-
/** Readonly state. */
|
|
1149
|
-
isReadonly?: boolean;
|
|
1150
|
-
/** Valid state */
|
|
1151
|
-
isValid?: boolean;
|
|
1152
|
-
/** Html name attribute. If not present, id is used.*/
|
|
1153
|
-
name?: string;
|
|
1154
|
-
/** Placeholder text */
|
|
1155
|
-
placeholder?: string;
|
|
1156
|
-
/** Size of element. */
|
|
1157
|
-
size?: TextInputSize;
|
|
1158
|
-
/** Input value. */
|
|
1159
|
-
value?: string;
|
|
1160
|
-
/** Input width */
|
|
1161
|
-
width?: TextInputWidth;
|
|
1162
|
-
/** Additional CSS classes */
|
|
1273
|
+
interface PromotionCardTitleProps {
|
|
1163
1274
|
className?: string;
|
|
1275
|
+
children: React$1.ReactElement;
|
|
1276
|
+
[key: string]: any;
|
|
1164
1277
|
}
|
|
1165
|
-
declare const
|
|
1278
|
+
declare const PromotionCardTitle: React$1.FC<PromotionCardTitleProps>;
|
|
1166
1279
|
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1280
|
+
declare const sectionColors: readonly ["background-secondary", "background-contrast", "background-accent", "background-accent1-blog", "background-accent2-blog", "background-none", "surface-subtle"];
|
|
1281
|
+
type SectionColor = (typeof sectionColors)[number];
|
|
1282
|
+
type SectionSpacing = "default" | "small" | "xsmall";
|
|
1283
|
+
interface SectionProps {
|
|
1284
|
+
/** Background color of section */
|
|
1285
|
+
color?: SectionColor;
|
|
1286
|
+
/**
|
|
1287
|
+
* Spacing between sections
|
|
1288
|
+
*
|
|
1289
|
+
* if two sections with different color meet
|
|
1290
|
+
* use default (larger) spacing, if two section have same color
|
|
1291
|
+
* use small spacing on second one. Use xsmall for specific
|
|
1292
|
+
* cases e.g. as part of Megamenu
|
|
1293
|
+
*/
|
|
1294
|
+
spacing?: SectionSpacing;
|
|
1295
|
+
/** Rendered HTML element */
|
|
1296
|
+
tag?: React$1.ElementType;
|
|
1297
|
+
/** Additional CSS classes */
|
|
1181
1298
|
className?: string;
|
|
1182
|
-
|
|
1299
|
+
/** Section content */
|
|
1300
|
+
children?: React$1.ReactNode;
|
|
1301
|
+
/** Additional classes passed to the container */
|
|
1302
|
+
containerClassName?: string;
|
|
1183
1303
|
}
|
|
1184
|
-
declare const
|
|
1304
|
+
declare const Section: React$1.FC<SectionProps>;
|
|
1185
1305
|
|
|
1186
1306
|
declare const Skeleton: React$1.FC<React$1.HTMLAttributes<HTMLSpanElement>>;
|
|
1187
1307
|
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
interface PillProps extends HTMLAttributes<HTMLSpanElement> {
|
|
1191
|
-
className?: string;
|
|
1192
|
-
children?: ReactNode;
|
|
1193
|
-
color?: PillColor;
|
|
1194
|
-
size?: "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
1195
|
-
colorScheme?: "light" | "dark";
|
|
1308
|
+
interface SkipLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1309
|
+
href?: string;
|
|
1196
1310
|
}
|
|
1197
|
-
declare const
|
|
1311
|
+
declare const SkipLink: React$1.FC<SkipLinkProps>;
|
|
1312
|
+
|
|
1313
|
+
type SocialName = "x" | "facebook-2" | "linkedin-2" | "instagram" | "pinterest" | "snapchat" | "tiktok" | "whatsapp" | "youtube" | "email";
|
|
1314
|
+
type CommonProps$1 = {
|
|
1315
|
+
name: SocialName;
|
|
1316
|
+
className?: string;
|
|
1317
|
+
};
|
|
1318
|
+
type ButtonProps$1 = CommonProps$1 & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "type" | keyof CommonProps$1>;
|
|
1319
|
+
type LinkProps = CommonProps$1 & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps$1> & {
|
|
1320
|
+
href: string;
|
|
1321
|
+
};
|
|
1322
|
+
type SocialButtonProps = ButtonProps$1 | LinkProps;
|
|
1323
|
+
declare const SocialButton: React$1.ForwardRefExoticComponent<SocialButtonProps & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
1198
1324
|
|
|
1199
1325
|
declare const showTitlesFromOptions: readonly ["md", "lg", "xl"];
|
|
1200
1326
|
type ShowTitlesFrom = (typeof showTitlesFromOptions)[number];
|
|
@@ -1210,65 +1336,17 @@ interface StepbarProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
1210
1336
|
showTitlesFrom?: ShowTitlesFrom;
|
|
1211
1337
|
/** Array of step objects */
|
|
1212
1338
|
steps: StepbarStep[];
|
|
1213
|
-
/** Visual variant of the stepbar */
|
|
1214
|
-
colorScheme?: "dark" | "light";
|
|
1215
1339
|
}
|
|
1216
1340
|
declare const Stepbar: React$1.FC<StepbarProps>;
|
|
1217
1341
|
|
|
1218
|
-
interface
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
id?: string;
|
|
1223
|
-
/** Active state */
|
|
1224
|
-
isActive?: boolean;
|
|
1225
|
-
/** Whether the tab is disabled */
|
|
1226
|
-
isDisabled?: boolean;
|
|
1227
|
-
/** Tab content/label */
|
|
1228
|
-
tab?: React.ReactNode;
|
|
1229
|
-
/** Custom render function for tab */
|
|
1230
|
-
renderTab?: (props: TabPanelProps) => React.ReactElement;
|
|
1231
|
-
/** Additional class names */
|
|
1232
|
-
className?: string;
|
|
1233
|
-
/** Children components */
|
|
1234
|
-
children?: React.ReactNode;
|
|
1235
|
-
}
|
|
1236
|
-
declare const TabPanel: React.FC<TabPanelProps>;
|
|
1237
|
-
|
|
1238
|
-
declare const variants: readonly ["standard", "light"];
|
|
1239
|
-
type TabsVariant = (typeof variants)[number];
|
|
1240
|
-
interface TabsProps extends React$1.HTMLAttributes<HTMLUListElement> {
|
|
1241
|
-
/** Active Tab index */
|
|
1242
|
-
activeTabIndex?: number;
|
|
1243
|
-
/** Additional classes for tabs header. */
|
|
1244
|
-
classesTabNav?: string;
|
|
1245
|
-
/** Color theme for the tabs */
|
|
1246
|
-
colorScheme?: "dark" | "light";
|
|
1247
|
-
/** All tabs have equal width inside a full-width container */
|
|
1248
|
-
hasEqualTabWidth?: boolean;
|
|
1249
|
-
/** Fullwidth container */
|
|
1250
|
-
isFullWidth?: boolean;
|
|
1251
|
-
/** Tabs behave as links rather than tabs */
|
|
1252
|
-
isLink?: boolean;
|
|
1253
|
-
/** Visual variant of the tabs */
|
|
1254
|
-
variant?: TabsVariant;
|
|
1255
|
-
/** Tab panels as children */
|
|
1256
|
-
children: React$1.ReactElement<TabPanelProps>[];
|
|
1257
|
-
}
|
|
1258
|
-
declare const Tabs: React$1.FC<TabsProps>;
|
|
1259
|
-
|
|
1260
|
-
interface TabProps extends React.HTMLAttributes<HTMLButtonElement | HTMLAnchorElement> {
|
|
1261
|
-
/** Id of the tabpanel this tab controls. */
|
|
1262
|
-
controls?: string;
|
|
1263
|
-
href?: string;
|
|
1264
|
-
/** Active state */
|
|
1265
|
-
isActive?: boolean;
|
|
1266
|
-
/** Disabled state. */
|
|
1267
|
-
isDisabled?: boolean;
|
|
1342
|
+
interface StickerProps {
|
|
1343
|
+
color?: "black" | "orange";
|
|
1344
|
+
size?: "small";
|
|
1345
|
+
children?: React$1.ReactNode;
|
|
1268
1346
|
className?: string;
|
|
1269
|
-
|
|
1347
|
+
[key: string]: any;
|
|
1270
1348
|
}
|
|
1271
|
-
declare const
|
|
1349
|
+
declare const Sticker: React$1.FC<StickerProps>;
|
|
1272
1350
|
|
|
1273
1351
|
interface CellValue {
|
|
1274
1352
|
value: React$1.ReactNode;
|
|
@@ -1304,6 +1382,8 @@ interface TableProps extends React$1.TableHTMLAttributes<HTMLTableElement> {
|
|
|
1304
1382
|
headers: TableHeader[];
|
|
1305
1383
|
/** Compact table only takes spaced needed to display its content */
|
|
1306
1384
|
isCompact?: boolean;
|
|
1385
|
+
/** Enable responsive card layout below md breakpoint for better accessibility */
|
|
1386
|
+
isResponsive?: boolean;
|
|
1307
1387
|
/** If table has horizontal scrollbar */
|
|
1308
1388
|
isScrollable?: boolean;
|
|
1309
1389
|
/** Different colors for even and odd rows. */
|
|
@@ -1311,27 +1391,114 @@ interface TableProps extends React$1.TableHTMLAttributes<HTMLTableElement> {
|
|
|
1311
1391
|
/** rows to print out in the table. */
|
|
1312
1392
|
rows: TableRow[];
|
|
1313
1393
|
className?: string;
|
|
1314
|
-
/** Sets color scheme */
|
|
1315
|
-
colorScheme?: "dark" | "light";
|
|
1316
1394
|
}
|
|
1317
1395
|
declare const Table: React$1.FC<TableProps>;
|
|
1318
1396
|
|
|
1319
|
-
|
|
1397
|
+
interface TabProps extends React.HTMLAttributes<HTMLButtonElement | HTMLAnchorElement> {
|
|
1398
|
+
/** Id of the tabpanel this tab controls. */
|
|
1399
|
+
controls?: string;
|
|
1400
|
+
href?: string;
|
|
1401
|
+
/** Active state */
|
|
1402
|
+
isActive?: boolean;
|
|
1403
|
+
/** Disabled state. */
|
|
1404
|
+
isDisabled?: boolean;
|
|
1405
|
+
className?: string;
|
|
1406
|
+
children?: React.ReactNode;
|
|
1407
|
+
}
|
|
1408
|
+
declare const Tab: React.FC<TabProps>;
|
|
1409
|
+
|
|
1410
|
+
interface TabPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1411
|
+
/** Optional href for the tab */
|
|
1412
|
+
href?: string;
|
|
1413
|
+
/** Tabpanel id */
|
|
1414
|
+
id?: string;
|
|
1415
|
+
/** Active state */
|
|
1416
|
+
isActive?: boolean;
|
|
1417
|
+
/** Whether the tab is disabled */
|
|
1418
|
+
isDisabled?: boolean;
|
|
1419
|
+
/** Tab content/label */
|
|
1420
|
+
tab?: React.ReactNode;
|
|
1421
|
+
/** Custom render function for tab */
|
|
1422
|
+
renderTab?: (props: TabPanelProps) => React.ReactElement;
|
|
1423
|
+
/** Additional class names */
|
|
1424
|
+
className?: string;
|
|
1425
|
+
/** Children components */
|
|
1426
|
+
children?: React.ReactNode;
|
|
1427
|
+
}
|
|
1428
|
+
declare const TabPanel: React.FC<TabPanelProps>;
|
|
1429
|
+
|
|
1430
|
+
interface TabsProps extends React$1.HTMLAttributes<HTMLUListElement> {
|
|
1431
|
+
/** Active Tab index */
|
|
1432
|
+
activeTabIndex?: number;
|
|
1433
|
+
/** Additional classes for tabs header. */
|
|
1434
|
+
classesTabNav?: string;
|
|
1435
|
+
/** All tabs have equal width inside a full-width container */
|
|
1436
|
+
hasEqualTabWidth?: boolean;
|
|
1437
|
+
/** Fullwidth container */
|
|
1438
|
+
isFullWidth?: boolean;
|
|
1439
|
+
/** Tabs behave as links rather than tabs */
|
|
1440
|
+
isLink?: boolean;
|
|
1441
|
+
/** Tab panels as children */
|
|
1442
|
+
children: React$1.ReactElement<TabPanelProps>[];
|
|
1443
|
+
}
|
|
1444
|
+
declare const Tabs: React$1.FC<TabsProps>;
|
|
1445
|
+
|
|
1446
|
+
type TagButtonProps = {
|
|
1447
|
+
className?: string;
|
|
1448
|
+
onClick?: React$1.MouseEventHandler<HTMLButtonElement>;
|
|
1449
|
+
children?: React$1.ReactNode;
|
|
1450
|
+
isDisabled?: boolean;
|
|
1451
|
+
ariaLabel?: string;
|
|
1452
|
+
iconName: string;
|
|
1453
|
+
size?: string;
|
|
1454
|
+
};
|
|
1455
|
+
declare const TagButton: React$1.ForwardRefExoticComponent<TagButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1456
|
+
|
|
1457
|
+
declare const colors: readonly ["black", "orange", "yellow", "green", "blue", "success", "info", "warning", "danger", "transparent"];
|
|
1458
|
+
type TagColor = (typeof colors)[number];
|
|
1459
|
+
type TagSize = "small" | "large";
|
|
1460
|
+
interface CommonProps {
|
|
1461
|
+
color?: TagColor;
|
|
1462
|
+
size?: TagSize;
|
|
1463
|
+
isDisabled?: boolean;
|
|
1464
|
+
className?: string;
|
|
1465
|
+
children?: React$1.ReactNode;
|
|
1466
|
+
actionButton?: React$1.ReactElement<TagButtonProps>;
|
|
1467
|
+
}
|
|
1468
|
+
type SpanProps = CommonProps & Omit<React$1.HTMLAttributes<HTMLSpanElement>, keyof CommonProps> & {
|
|
1469
|
+
onClick?: undefined;
|
|
1470
|
+
href?: undefined;
|
|
1471
|
+
};
|
|
1472
|
+
type ButtonProps = CommonProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, keyof CommonProps> & {
|
|
1473
|
+
onClick: React$1.MouseEventHandler<HTMLButtonElement>;
|
|
1474
|
+
href?: undefined;
|
|
1475
|
+
};
|
|
1476
|
+
type AnchorProps = CommonProps & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps> & {
|
|
1477
|
+
href: string;
|
|
1478
|
+
onClick?: undefined;
|
|
1479
|
+
};
|
|
1480
|
+
type TagProps = SpanProps | ButtonProps | AnchorProps;
|
|
1481
|
+
declare const Tag: React$1.ForwardRefExoticComponent<TagProps & React$1.RefAttributes<HTMLElement>>;
|
|
1482
|
+
|
|
1483
|
+
interface TestimonialProps {
|
|
1484
|
+
className?: string;
|
|
1485
|
+
children?: React$1.ReactNode;
|
|
1486
|
+
color?: "default" | "orange";
|
|
1487
|
+
isDiv?: boolean;
|
|
1488
|
+
[key: string]: any;
|
|
1489
|
+
}
|
|
1490
|
+
declare const Testimonial: React$1.FC<TestimonialProps>;
|
|
1491
|
+
|
|
1320
1492
|
type TileHAlign = "center";
|
|
1321
1493
|
type TileVAlign = "center" | "end" | "space-between";
|
|
1494
|
+
type TileVariant = "compact" | "action";
|
|
1322
1495
|
interface TileProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1323
|
-
/** Tile color. */
|
|
1324
|
-
color?: TileColor;
|
|
1325
1496
|
/** Horizontal alignment of the tile content. */
|
|
1326
1497
|
hAlign?: TileHAlign;
|
|
1327
1498
|
/** Vertical alignment of the tile content. */
|
|
1328
1499
|
vAlign?: TileVAlign;
|
|
1329
|
-
/** variant
|
|
1330
|
-
variant?:
|
|
1331
|
-
/** Alt and src attributes are required */
|
|
1332
|
-
backgroundImage?: React$1.ComponentProps<typeof Image>;
|
|
1333
|
-
/** Use small spacing */
|
|
1334
|
-
space?: "small";
|
|
1500
|
+
/** Tile variant. */
|
|
1501
|
+
variant?: TileVariant;
|
|
1335
1502
|
children?: ReactNode;
|
|
1336
1503
|
className?: string;
|
|
1337
1504
|
}
|
|
@@ -1357,7 +1524,6 @@ interface TooltipProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
1357
1524
|
/** Additional CSS classes */
|
|
1358
1525
|
className?: string;
|
|
1359
1526
|
children?: React$1.ReactNode;
|
|
1360
|
-
colorScheme?: "dark" | "light";
|
|
1361
1527
|
}
|
|
1362
1528
|
declare const Tooltip: React$1.FC<TooltipProps>;
|
|
1363
1529
|
|
|
@@ -1367,126 +1533,4 @@ type InfoTooltipProps = Omit<TooltipProps, "onAbort"> & Omit<React$1.HTMLAttribu
|
|
|
1367
1533
|
};
|
|
1368
1534
|
declare const InfoTooltip: React$1.FC<InfoTooltipProps>;
|
|
1369
1535
|
|
|
1370
|
-
|
|
1371
|
-
/** Background image source. URL string or an object of breakpoint: url pairs
|
|
1372
|
-
*
|
|
1373
|
-
* ```
|
|
1374
|
-
{
|
|
1375
|
-
default: string, // default image to load (fallback)
|
|
1376
|
-
xxxl: string, // different image for each breakpoint (optional). while these are mobile first breakpoints, they MUST be ordered from largest to smallest
|
|
1377
|
-
xxl: string,
|
|
1378
|
-
xl: string,
|
|
1379
|
-
lg: string,
|
|
1380
|
-
md: string,
|
|
1381
|
-
sm: string,
|
|
1382
|
-
xs: string,
|
|
1383
|
-
}
|
|
1384
|
-
* ```
|
|
1385
|
-
*/
|
|
1386
|
-
bgSrc: string | {
|
|
1387
|
-
default: string;
|
|
1388
|
-
xs?: string;
|
|
1389
|
-
sm?: string;
|
|
1390
|
-
md?: string;
|
|
1391
|
-
lg?: string;
|
|
1392
|
-
xl?: string;
|
|
1393
|
-
xxl?: string;
|
|
1394
|
-
xxxl?: string;
|
|
1395
|
-
};
|
|
1396
|
-
/** Set vertical position of image */
|
|
1397
|
-
bgPosition?: 'top' | 'center' | 'bottom';
|
|
1398
|
-
/** Applies custom classNames to overlay content */
|
|
1399
|
-
contentClass?: string;
|
|
1400
|
-
/** Cover size */
|
|
1401
|
-
size?: 'small' | 'medium' | 'large';
|
|
1402
|
-
/** Additional className for the cover container */
|
|
1403
|
-
className?: string;
|
|
1404
|
-
/** Children content */
|
|
1405
|
-
children?: React$1.ReactNode;
|
|
1406
|
-
/** Additional props passed to Image component */
|
|
1407
|
-
[key: string]: any;
|
|
1408
|
-
}
|
|
1409
|
-
declare const Cover: React$1.FC<CoverProps>;
|
|
1410
|
-
|
|
1411
|
-
interface TestimonialProps {
|
|
1412
|
-
className?: string;
|
|
1413
|
-
children?: React$1.ReactNode;
|
|
1414
|
-
color?: 'default' | 'orange';
|
|
1415
|
-
isDiv?: boolean;
|
|
1416
|
-
[key: string]: any;
|
|
1417
|
-
}
|
|
1418
|
-
declare const Testimonial: React$1.FC<TestimonialProps>;
|
|
1419
|
-
|
|
1420
|
-
type HeroBackground = "white" | "black" | "gray";
|
|
1421
|
-
type HeroTextSize = "medium" | "large";
|
|
1422
|
-
type StickerColor = "black" | "orange";
|
|
1423
|
-
interface HeroImageSrc {
|
|
1424
|
-
src: string;
|
|
1425
|
-
srcSet?: string;
|
|
1426
|
-
}
|
|
1427
|
-
interface HeroImageResponsive {
|
|
1428
|
-
default: string;
|
|
1429
|
-
sm?: string;
|
|
1430
|
-
lg?: string;
|
|
1431
|
-
xl?: string;
|
|
1432
|
-
xxl?: string;
|
|
1433
|
-
[key: string]: string | undefined;
|
|
1434
|
-
}
|
|
1435
|
-
type HeroImage = HeroImageSrc | HeroImageResponsive;
|
|
1436
|
-
interface HeroPriceObject {
|
|
1437
|
-
amount: number;
|
|
1438
|
-
prefix?: React$1.ReactNode;
|
|
1439
|
-
suffix?: React$1.ReactNode;
|
|
1440
|
-
}
|
|
1441
|
-
type HeroPrice = string | HeroPriceObject;
|
|
1442
|
-
interface HeroButtonProps {
|
|
1443
|
-
children: React$1.ReactNode;
|
|
1444
|
-
[key: string]: any;
|
|
1445
|
-
}
|
|
1446
|
-
interface HeroStickerProps {
|
|
1447
|
-
color?: StickerColor;
|
|
1448
|
-
children?: React$1.ReactNode;
|
|
1449
|
-
className?: string;
|
|
1450
|
-
}
|
|
1451
|
-
interface HeroProps {
|
|
1452
|
-
/** Background spanning whole viewport width */
|
|
1453
|
-
colorScheme?: HeroBackground;
|
|
1454
|
-
/** Action button props */
|
|
1455
|
-
button?: HeroButtonProps;
|
|
1456
|
-
/** Main text */
|
|
1457
|
-
description?: React$1.ReactNode;
|
|
1458
|
-
hasFullwidthImage?: boolean;
|
|
1459
|
-
/** Gradient overlay ensures proper text readability */
|
|
1460
|
-
hasGradientOverlay?: boolean;
|
|
1461
|
-
/** Use svg illustrations, png for product images and jpg for photos */
|
|
1462
|
-
image?: HeroImage;
|
|
1463
|
-
price?: HeroPrice;
|
|
1464
|
-
sticker?: HeroStickerProps;
|
|
1465
|
-
/** Adjust title and description size. Medium sets display-2 title and 18px text, large uses display-1 title and 20px text. */
|
|
1466
|
-
textSize?: HeroTextSize;
|
|
1467
|
-
/** Hero title */
|
|
1468
|
-
title: string;
|
|
1469
|
-
}
|
|
1470
|
-
declare const Hero: React$1.FC<HeroProps>;
|
|
1471
|
-
|
|
1472
|
-
interface IconListItem {
|
|
1473
|
-
icon: string;
|
|
1474
|
-
content: React$1.ReactNode;
|
|
1475
|
-
tooltip?: React$1.ReactNode;
|
|
1476
|
-
}
|
|
1477
|
-
interface IconListProps {
|
|
1478
|
-
items?: IconListItem[];
|
|
1479
|
-
className?: string;
|
|
1480
|
-
[key: string]: any;
|
|
1481
|
-
}
|
|
1482
|
-
declare const IconList: React$1.FC<IconListProps>;
|
|
1483
|
-
|
|
1484
|
-
interface ItemProps {
|
|
1485
|
-
icon: string;
|
|
1486
|
-
children: React$1.ReactNode;
|
|
1487
|
-
tooltip?: React$1.ReactNode;
|
|
1488
|
-
[key: string]: any;
|
|
1489
|
-
}
|
|
1490
|
-
declare const Item: React$1.FC<ItemProps>;
|
|
1491
|
-
|
|
1492
|
-
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, 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, ModalProductHeader, ModalTitle, Pagination, Pictogram, Pill, Progress, PromoBanner, PromotionCard, PromotionCardContent, PromotionCardImageWrapper, PromotionCardSection, PromotionCardTitle, Radio, RangeSlider, Section, Select, Skeleton, SkipLink, Stepbar, Sticker, Tab, TabPanel, Table, Tabs, Tag, TagButton, Testimonial, TextArea, TextInput, Tile, Tooltip };
|
|
1536
|
+
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, LoaderFullscreen, Megamenu, MegamenuBlog, Message, Modal, ModalBody, ModalCloseButton, ModalProductFooter, ModalProductHeader, ModalTitle, Pagination, Pictogram, Pill, Progress, PromoBanner, PromotionCard, PromotionCardContent, PromotionCardImageWrapper, PromotionCardSection, PromotionCardTitle, Radio, RangeSlider, Section, Select, Skeleton, SkipLink, SocialButton, SpritePathContext, SpritePathProvider, Stepbar, Sticker, Tab, TabPanel, Table, Tabs, Tag, TagButton, Testimonial, TextArea, TextInput, Tile, Tooltip };
|