@orangesk/orange-design-system 2.0.0-beta.9 → 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 +841 -801
- 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 +0 -1
- package/build/components/types/src/components/Button/index.d.ts +4 -5
- package/build/components/types/src/components/Card/Card.d.ts +1 -1
- package/build/components/types/src/components/Card/index.d.ts +2 -1
- package/build/components/types/src/components/Carousel/Carousel.d.ts +1 -3
- package/build/components/types/src/components/Carousel/Carousel.static.d.ts +73 -7
- package/build/components/types/src/components/Carousel/CarouselItem.d.ts +1 -1
- 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 +12 -3
- 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 +91 -61
- 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 +1 -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 +2 -2
- 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 +17 -17
- 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/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 +623 -76
- package/src/components/Carousel/Carousel.tsx +9 -16
- package/src/components/Carousel/CarouselItem.tsx +1 -1
- package/src/components/Carousel/styles/mixins.scss +43 -17
- 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 +32 -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} +2 -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 -21
- 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 +351 -47
- 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 +72 -20
- package/src/components/PromoBanner/styles/mixins.scss +59 -12
- package/src/components/PromoBanner/styles/style.scss +49 -2
- 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 +67 -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 +0 -153
- 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,13 +208,12 @@ 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;
|
|
@@ -263,14 +221,14 @@ interface CommonProps {
|
|
|
263
221
|
children?: React$1.ReactNode;
|
|
264
222
|
preserveWidth?: boolean;
|
|
265
223
|
}
|
|
266
|
-
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"> & {
|
|
267
225
|
href: string;
|
|
268
226
|
};
|
|
269
|
-
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"> & {
|
|
270
228
|
href?: undefined;
|
|
271
229
|
};
|
|
272
|
-
type ButtonProps = AnchorProps | NativeButtonProps;
|
|
273
|
-
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>>;
|
|
274
232
|
|
|
275
233
|
type IconPosition = "left" | "right";
|
|
276
234
|
interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "ref"> {
|
|
@@ -289,15 +247,15 @@ interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonEl
|
|
|
289
247
|
declare const IconButton: React$1.ForwardRefExoticComponent<IconButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
290
248
|
|
|
291
249
|
declare const ButtonPrimary: {
|
|
292
|
-
(props: ButtonProps):
|
|
250
|
+
(props: ButtonProps$2): react_jsx_runtime.JSX.Element;
|
|
293
251
|
displayName: string;
|
|
294
252
|
};
|
|
295
253
|
declare const ButtonFill: {
|
|
296
|
-
(props: ButtonProps):
|
|
254
|
+
(props: ButtonProps$2): react_jsx_runtime.JSX.Element;
|
|
297
255
|
displayName: string;
|
|
298
256
|
};
|
|
299
257
|
declare const ButtonGhost: {
|
|
300
|
-
(props: ButtonProps):
|
|
258
|
+
(props: ButtonProps$2): react_jsx_runtime.JSX.Element;
|
|
301
259
|
displayName: string;
|
|
302
260
|
};
|
|
303
261
|
|
|
@@ -309,11 +267,36 @@ interface ButtonsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
309
267
|
}
|
|
310
268
|
declare const Buttons: React.FC<ButtonsProps>;
|
|
311
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
|
+
|
|
312
297
|
interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
|
|
313
298
|
/** Swiper.js (https://swiperjs.com/) options object */
|
|
314
299
|
swiperOptions?: Record<string, any>;
|
|
315
|
-
/** Inverse colors */
|
|
316
|
-
colorScheme?: "light" | "dark";
|
|
317
300
|
/** Carousel items */
|
|
318
301
|
items: ReactNode[];
|
|
319
302
|
/** Always show scrollbar and hide dots */
|
|
@@ -324,17 +307,25 @@ interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
324
307
|
}
|
|
325
308
|
declare const Carousel: React$1.FC<CarouselProps>;
|
|
326
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
|
+
|
|
327
317
|
interface TabItem {
|
|
328
318
|
label: string;
|
|
319
|
+
id?: string;
|
|
329
320
|
[key: string]: any;
|
|
330
321
|
}
|
|
331
322
|
interface CarouselHeroProps {
|
|
332
323
|
className?: string;
|
|
333
324
|
swiperOptions?: Record<string, any>;
|
|
334
|
-
colorScheme?: "light" | "dark";
|
|
335
325
|
children?: ReactNode;
|
|
336
326
|
tabs?: TabItem[];
|
|
337
327
|
interval?: number;
|
|
328
|
+
enableAutoplay?: boolean;
|
|
338
329
|
[key: string]: any;
|
|
339
330
|
}
|
|
340
331
|
declare const CarouselHero: React$1.FC<CarouselHeroProps>;
|
|
@@ -342,7 +333,6 @@ declare const CarouselHero: React$1.FC<CarouselHeroProps>;
|
|
|
342
333
|
interface CarouselPromotionsProps {
|
|
343
334
|
className?: string;
|
|
344
335
|
swiperOptions?: Record<string, any>;
|
|
345
|
-
colorScheme?: "light" | "dark";
|
|
346
336
|
children?: ReactNode;
|
|
347
337
|
[key: string]: any;
|
|
348
338
|
}
|
|
@@ -402,22 +392,58 @@ interface IControlsProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
402
392
|
elemRef?: React$1.Ref<any>;
|
|
403
393
|
icon: string;
|
|
404
394
|
className?: string;
|
|
405
|
-
colorScheme?: "dark" | "light";
|
|
406
395
|
isDisabled?: boolean;
|
|
407
396
|
}
|
|
408
397
|
declare const Controls: React$1.ForwardRefExoticComponent<IControlsProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "ref" | "href" | keyof IControlsProps> & {
|
|
409
398
|
href?: undefined;
|
|
410
399
|
} & React$1.RefAttributes<any>>;
|
|
411
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
|
+
|
|
412
442
|
interface DividerProps extends Omit<HTMLAttributes<HTMLDivElement>, "content"> {
|
|
413
|
-
/** Custom background color */
|
|
414
|
-
color?: "black" | "white";
|
|
415
443
|
/** Custom content inside divider */
|
|
416
444
|
content?: ReactNode;
|
|
417
445
|
/** Icon which will be rendered inside divider */
|
|
418
446
|
icon?: string;
|
|
419
|
-
/** Divider line has width of 1px */
|
|
420
|
-
thinLine?: boolean;
|
|
421
447
|
}
|
|
422
448
|
declare const Divider: React$1.FC<DividerProps>;
|
|
423
449
|
|
|
@@ -425,7 +451,7 @@ type DropdownButtonProps = {
|
|
|
425
451
|
className?: string;
|
|
426
452
|
children?: ReactNode;
|
|
427
453
|
iconName?: string;
|
|
428
|
-
type?: ButtonProps["type"];
|
|
454
|
+
type?: ButtonProps$2["type"];
|
|
429
455
|
};
|
|
430
456
|
type DropdownProps = {
|
|
431
457
|
button: DropdownButtonProps;
|
|
@@ -440,6 +466,8 @@ type DropdownProps = {
|
|
|
440
466
|
};
|
|
441
467
|
declare const Dropdown: React$1.FC<DropdownProps>;
|
|
442
468
|
|
|
469
|
+
declare const DropdownDivider: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
470
|
+
|
|
443
471
|
interface DropdownItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
444
472
|
className?: string;
|
|
445
473
|
children?: ReactNode;
|
|
@@ -448,8 +476,6 @@ interface DropdownItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
448
476
|
}
|
|
449
477
|
declare const DropdownItem: React$1.FC<DropdownItemProps>;
|
|
450
478
|
|
|
451
|
-
declare const DropdownDivider: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
452
|
-
|
|
453
479
|
interface DropdownToggleButtonProps extends React$1.HTMLAttributes<HTMLButtonElement> {
|
|
454
480
|
id: string;
|
|
455
481
|
className?: string;
|
|
@@ -457,9 +483,6 @@ interface DropdownToggleButtonProps extends React$1.HTMLAttributes<HTMLButtonEle
|
|
|
457
483
|
declare const DropdownToggleButton: React$1.FC<DropdownToggleButtonProps>;
|
|
458
484
|
|
|
459
485
|
interface ExpanderProps {
|
|
460
|
-
/** Inverse buttons for dark backgrounds */
|
|
461
|
-
/** Dark theme */
|
|
462
|
-
colorScheme?: "light" | "dark";
|
|
463
486
|
/** Custom summary text renderer. Passes props as function parameter. */
|
|
464
487
|
renderSummary?: (props: ExpanderProps) => React$1.ReactNode;
|
|
465
488
|
/** Custom summary text renderer when details are opened. Passes props as function parameter. */
|
|
@@ -474,103 +497,344 @@ interface ExpanderProps {
|
|
|
474
497
|
children?: React$1.ReactNode;
|
|
475
498
|
/** Expander takes full width of its container */
|
|
476
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;
|
|
477
506
|
}
|
|
478
507
|
declare const Expander: React$1.FC<ExpanderProps>;
|
|
479
508
|
|
|
480
509
|
interface AccordionProps {
|
|
481
|
-
/** Color scheme for whole FeatureAccordion */
|
|
482
|
-
colorScheme?: "light" | "dark" | "white";
|
|
483
510
|
/** Additional CSS classes */
|
|
484
511
|
className?: string;
|
|
485
512
|
}
|
|
486
513
|
declare const FeatureAccordion: (props: AccordionProps & {
|
|
487
514
|
children: React$1.ReactNode;
|
|
488
|
-
}) =>
|
|
515
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
489
516
|
|
|
490
517
|
interface FeatureAccordionItemProps extends AccordionItemProps {
|
|
518
|
+
image?: string | object;
|
|
491
519
|
imageUrl?: string;
|
|
492
520
|
imageAlt?: string;
|
|
521
|
+
imageSrcSet?: string;
|
|
493
522
|
[key: string]: any;
|
|
494
523
|
}
|
|
495
|
-
declare const FeatureAccordionItem: React$1.FC<FeatureAccordionItemProps
|
|
496
|
-
defaultOpen?: boolean;
|
|
497
|
-
}>;
|
|
524
|
+
declare const FeatureAccordionItem: React$1.FC<FeatureAccordionItemProps>;
|
|
498
525
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
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[];
|
|
505
541
|
}
|
|
506
|
-
declare const
|
|
542
|
+
declare const Autocomplete: React$1.FC<AutocompleteProps>;
|
|
507
543
|
|
|
508
|
-
type
|
|
509
|
-
interface
|
|
510
|
-
/**
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
|
|
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;
|
|
516
561
|
}
|
|
517
|
-
declare const
|
|
562
|
+
declare const Checkbox: React$1.FC<CheckboxProps>;
|
|
518
563
|
|
|
519
|
-
interface
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
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;
|
|
523
579
|
}
|
|
524
|
-
declare const CardProductHeader: React$1.ForwardRefExoticComponent<CardProductHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
525
580
|
|
|
526
|
-
|
|
527
|
-
type IconSize = "small" | "medium" | "large" | "xlarge" | "xxlarge" | "huge";
|
|
528
|
-
type IconType = "icon" | "pictogram";
|
|
529
|
-
interface IconProps extends React$1.SVGAttributes<SVGSVGElement> {
|
|
530
|
-
/** Accessible label for the icon. */
|
|
531
|
-
alt?: string;
|
|
532
|
-
/** Icon color. */
|
|
533
|
-
color?: IconColor;
|
|
534
|
-
/** Icon name (required). */
|
|
535
|
-
name: string;
|
|
536
|
-
/** Icon size. */
|
|
537
|
-
size?: IconSize;
|
|
538
|
-
/** Path to the SVG sprite. */
|
|
539
|
-
spritePath?: string;
|
|
540
|
-
/**
|
|
541
|
-
* Icon type. When set to "pictogram", the component will automatically
|
|
542
|
-
* switch between light and dark versions based on theme classes (.is-light/.is-dark).
|
|
543
|
-
*/
|
|
544
|
-
type?: IconType;
|
|
545
|
-
/**
|
|
546
|
-
* @deprecated Use type="pictogram" instead.
|
|
547
|
-
* Whether this icon should adapt to theme (light/dark).
|
|
548
|
-
* When true, the component will automatically switch between
|
|
549
|
-
* light and dark versions based on theme classes (.is-light/.is-dark).
|
|
550
|
-
*/
|
|
581
|
+
interface InputFieldProps {
|
|
551
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;
|
|
552
593
|
}
|
|
553
|
-
declare const
|
|
594
|
+
declare const Field: React$1.FC<InputFieldProps>;
|
|
554
595
|
|
|
555
|
-
interface
|
|
556
|
-
|
|
557
|
-
* Pictogram name. Should correspond to your pictogram sprite entries.
|
|
558
|
-
* For example: 'pictogram-skylink' will look for 'pictogram-skylink' (light)
|
|
559
|
-
* and 'pictogram-skylink--dark' (dark) in the sprite.
|
|
560
|
-
*/
|
|
561
|
-
name: string;
|
|
596
|
+
interface FieldsetMessage {
|
|
597
|
+
[key: string]: any;
|
|
562
598
|
}
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
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>>;
|
|
574
838
|
|
|
575
839
|
interface GaugeProps {
|
|
576
840
|
/** Text inside the gauge */
|
|
@@ -584,8 +848,8 @@ declare const Gauge: React$1.ForwardRefExoticComponent<Omit<GaugeProps, "ref"> &
|
|
|
584
848
|
|
|
585
849
|
type GridVAlign = "stretch" | "start" | "end" | "center";
|
|
586
850
|
type GridHAlign = "end" | "center" | "space-around" | "space-between";
|
|
587
|
-
type GridRowGapSize = "medium" | "large" | "xlarge" | Record<string, "medium" | "large" | "xlarge">;
|
|
588
|
-
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">;
|
|
589
853
|
interface GridProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
590
854
|
vAlign?: GridVAlign;
|
|
591
855
|
hAlign?: GridHAlign;
|
|
@@ -596,18 +860,143 @@ interface GridProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
596
860
|
}
|
|
597
861
|
declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLElement>>;
|
|
598
862
|
|
|
599
|
-
type GridColAlign =
|
|
600
|
-
type GridColSize = number |
|
|
863
|
+
type GridColAlign = "top" | "middle" | "bottom" | "stretch";
|
|
864
|
+
type GridColSize = number | "shrink" | "fill" | "auto" | Record<string, number | "shrink" | "fill" | "auto">;
|
|
601
865
|
interface GridColProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
602
866
|
align?: GridColAlign;
|
|
603
867
|
tag?: React$1.ElementType;
|
|
604
868
|
size?: GridColSize;
|
|
605
869
|
}
|
|
606
870
|
declare const GridCol: {
|
|
607
|
-
({ className, align, tag, size, ...other }: GridColProps):
|
|
871
|
+
({ className, align, tag, size, ...other }: GridColProps): react_jsx_runtime.JSX.Element;
|
|
608
872
|
displayName: string;
|
|
609
873
|
};
|
|
610
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
|
+
|
|
611
1000
|
interface ImageSrcObject {
|
|
612
1001
|
default: string;
|
|
613
1002
|
xxxl?: string;
|
|
@@ -627,7 +1016,7 @@ interface ImageProps {
|
|
|
627
1016
|
}
|
|
628
1017
|
declare const Image: React$1.FC<ImageProps>;
|
|
629
1018
|
|
|
630
|
-
interface LinkProps {
|
|
1019
|
+
interface LinkProps$1 {
|
|
631
1020
|
/** destination address */
|
|
632
1021
|
href?: string;
|
|
633
1022
|
/** rendered HTML element */
|
|
@@ -636,14 +1025,41 @@ interface LinkProps {
|
|
|
636
1025
|
className?: string;
|
|
637
1026
|
/** link content */
|
|
638
1027
|
children?: React$1.ReactNode;
|
|
639
|
-
/** color scheme for link: dark (white text) or light (black text) */
|
|
640
|
-
colorScheme?: "dark" | "light";
|
|
641
1028
|
/** whether the link should be underlined */
|
|
642
1029
|
isUnderline?: boolean;
|
|
643
1030
|
/** whether the link should have normal font weight */
|
|
644
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;
|
|
645
1061
|
}
|
|
646
|
-
declare const
|
|
1062
|
+
declare const ListItem: React$1.FC<ListItemProps>;
|
|
647
1063
|
|
|
648
1064
|
interface LoaderProps {
|
|
649
1065
|
colour?: "default" | "inverse";
|
|
@@ -658,6 +1074,24 @@ interface LoaderProps {
|
|
|
658
1074
|
}
|
|
659
1075
|
declare const Loader: React$1.FC<LoaderProps>;
|
|
660
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
|
+
|
|
661
1095
|
declare const sizes$1: readonly ["small", "large"];
|
|
662
1096
|
type ModalSize = (typeof sizes$1)[number];
|
|
663
1097
|
interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
@@ -671,8 +1105,8 @@ interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
671
1105
|
id: string;
|
|
672
1106
|
/** isActive controls if modal is opened or closed */
|
|
673
1107
|
isActive?: boolean;
|
|
674
|
-
/**
|
|
675
|
-
|
|
1108
|
+
/** Callback fired when modal is closed */
|
|
1109
|
+
onHide?: () => void;
|
|
676
1110
|
/** Custom header renderer. Receives id as function param. Returned element(s) must contain a header with close button. */
|
|
677
1111
|
renderHeader?: (id: string) => React$1.ReactNode;
|
|
678
1112
|
/** Custom body renderer. Receives title as function param. Returned element(s) must contain a title. */
|
|
@@ -689,21 +1123,17 @@ interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
689
1123
|
children?: React$1.ReactNode;
|
|
690
1124
|
/** Additional CSS classes */
|
|
691
1125
|
className?: string;
|
|
692
|
-
/** Color scheme for the modal */
|
|
693
|
-
colorScheme?: "dark" | "light";
|
|
694
1126
|
/** Disables header paddings */
|
|
695
1127
|
disableHeaderSpacing?: boolean;
|
|
696
|
-
/** Disables body paddings */
|
|
697
|
-
disableBodySpacing?: boolean;
|
|
698
1128
|
/** Disables footer paddings */
|
|
699
1129
|
disableFooterSpacing?: boolean;
|
|
700
1130
|
}
|
|
701
1131
|
declare const Modal: React$1.FC<ModalProps>;
|
|
702
1132
|
|
|
703
|
-
declare const
|
|
704
|
-
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];
|
|
705
1135
|
interface ModalBodyProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
706
|
-
color?:
|
|
1136
|
+
color?: ModalBodyColor;
|
|
707
1137
|
className?: string;
|
|
708
1138
|
children?: React$1.ReactNode;
|
|
709
1139
|
withTopPadding?: boolean;
|
|
@@ -711,494 +1141,186 @@ interface ModalBodyProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
711
1141
|
}
|
|
712
1142
|
declare const ModalBody: React$1.FC<ModalBodyProps>;
|
|
713
1143
|
|
|
714
|
-
declare const sizes: readonly ["small", "large"];
|
|
715
|
-
type TitleSize = (typeof sizes)[number];
|
|
716
|
-
interface ModalTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
717
|
-
size?: TitleSize;
|
|
718
|
-
className?: string;
|
|
719
|
-
children?: React.ReactNode;
|
|
720
|
-
}
|
|
721
|
-
declare const ModalTitle: React.FC<ModalTitleProps>;
|
|
722
|
-
|
|
723
1144
|
interface ExtendedIconButtonProps extends IconButtonProps {
|
|
724
1145
|
type?: ButtonType;
|
|
725
1146
|
}
|
|
726
1147
|
type ModalCloseButtonProps = Omit<ExtendedIconButtonProps, "iconName">;
|
|
727
1148
|
declare const ModalCloseButton: React.FC<ModalCloseButtonProps>;
|
|
728
1149
|
|
|
729
|
-
interface
|
|
1150
|
+
interface ModalProductFooterProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
730
1151
|
image?: React$1.ReactNode;
|
|
731
1152
|
/** Use small spacing */
|
|
732
1153
|
space?: "small";
|
|
1154
|
+
button?: React$1.ReactNode;
|
|
733
1155
|
}
|
|
734
|
-
declare const
|
|
735
|
-
|
|
736
|
-
type SectionColor = "white" | "gray" | "black" | "orange" | "accent1-blog" | "accent2-blog";
|
|
737
|
-
type SectionSpacing = "default" | "small" | "xsmall";
|
|
738
|
-
interface SectionProps {
|
|
739
|
-
/** Background color of section */
|
|
740
|
-
color?: SectionColor;
|
|
741
|
-
/**
|
|
742
|
-
* Spacing between sections
|
|
743
|
-
*
|
|
744
|
-
* if two sections with different color meet
|
|
745
|
-
* use default (larger) spacing, if two section have same color
|
|
746
|
-
* use small spacing on second one. Use xsmall for specific
|
|
747
|
-
* cases e.g. as part of Megamenu
|
|
748
|
-
*/
|
|
749
|
-
spacing?: SectionSpacing;
|
|
750
|
-
/** Rendered HTML element */
|
|
751
|
-
tag?: React$1.ElementType;
|
|
752
|
-
/** Additional CSS classes */
|
|
753
|
-
className?: string;
|
|
754
|
-
/** Section content */
|
|
755
|
-
children?: React$1.ReactNode;
|
|
756
|
-
}
|
|
757
|
-
declare const Section: React$1.FC<SectionProps>;
|
|
758
|
-
|
|
759
|
-
interface StickerProps {
|
|
760
|
-
color?: 'black' | 'orange';
|
|
761
|
-
size?: 'small';
|
|
762
|
-
children?: React$1.ReactNode;
|
|
763
|
-
className?: string;
|
|
764
|
-
[key: string]: any;
|
|
765
|
-
}
|
|
766
|
-
declare const Sticker: React$1.FC<StickerProps>;
|
|
767
|
-
|
|
768
|
-
interface SkipLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
769
|
-
href?: string;
|
|
770
|
-
}
|
|
771
|
-
declare const SkipLink: React$1.FC<SkipLinkProps>;
|
|
772
|
-
|
|
773
|
-
interface ListProps {
|
|
774
|
-
/** Size determines color of list items and color of their borders*/
|
|
775
|
-
color?: 'gray';
|
|
776
|
-
/** Spacious lists have horizontal spacing */
|
|
777
|
-
isEnclosed?: boolean;
|
|
778
|
-
/** Size determines vertical spacing */
|
|
779
|
-
size?: 'small';
|
|
780
|
-
className?: string;
|
|
781
|
-
children?: React$1.ReactNode;
|
|
782
|
-
}
|
|
783
|
-
declare const List: React$1.FC<ListProps>;
|
|
1156
|
+
declare const ModalProductFooter: React$1.ForwardRefExoticComponent<ModalProductFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
784
1157
|
|
|
785
|
-
interface
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
interface ListItemProps {
|
|
792
|
-
/** 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. */
|
|
793
|
-
controlProps?: ControlProps;
|
|
794
|
-
className?: string;
|
|
795
|
-
children?: React$1.ReactNode;
|
|
796
|
-
[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;
|
|
797
1164
|
}
|
|
798
|
-
declare const
|
|
1165
|
+
declare const ModalProductHeader: React$1.ForwardRefExoticComponent<ModalProductHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
799
1166
|
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
label: React$1.ReactNode;
|
|
805
|
-
/** Textual representation of the indicator */
|
|
806
|
-
value: React$1.ReactNode;
|
|
807
|
-
/** Width of the progress indicator where 0 = empty, 1 = full */
|
|
808
|
-
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;
|
|
809
1171
|
className?: string;
|
|
810
|
-
children?: React
|
|
811
|
-
colorMode?: "light" | "dark";
|
|
1172
|
+
children?: React.ReactNode;
|
|
812
1173
|
}
|
|
813
|
-
declare const
|
|
1174
|
+
declare const ModalTitle: React.FC<ModalTitleProps>;
|
|
814
1175
|
|
|
815
1176
|
interface PaginationItemProps {
|
|
816
1177
|
/** Page link href */
|
|
817
1178
|
href: string;
|
|
818
1179
|
/** Text label inside page item */
|
|
819
1180
|
label: string;
|
|
820
|
-
/** Active state. */
|
|
821
|
-
isActive?: boolean;
|
|
822
|
-
/** aria-label of page item */
|
|
823
|
-
ariaLabel?: string;
|
|
824
|
-
}
|
|
825
|
-
interface PaginationProps {
|
|
826
|
-
/** Collapsed version */
|
|
827
|
-
isCompact?: boolean;
|
|
828
|
-
/** Dark theme */
|
|
829
|
-
colorScheme?: "light" | "dark";
|
|
830
|
-
/** All pagination items - buttons & numbers */
|
|
831
|
-
items: PaginationItemProps[];
|
|
832
|
-
/** Accessibility label */
|
|
833
|
-
label?: string;
|
|
834
|
-
/** Additional CSS class name */
|
|
835
|
-
className?: string;
|
|
836
|
-
/** Additional props */
|
|
837
|
-
[key: string]: any;
|
|
838
|
-
}
|
|
839
|
-
declare const Pagination: React$1.FC<PaginationProps>;
|
|
840
|
-
|
|
841
|
-
interface PromoBannerProps {
|
|
842
|
-
colorScheme?: "light" | "dark";
|
|
843
|
-
className?: string;
|
|
844
|
-
image?: string;
|
|
845
|
-
alignImage?: "bottom";
|
|
846
|
-
children?: React$1.ReactNode;
|
|
847
|
-
}
|
|
848
|
-
declare const PromoBanner: ({ image, colorScheme, className, alignImage, children, }: PromoBannerProps) => React$1.JSX.Element;
|
|
849
|
-
|
|
850
|
-
interface PromotionCardProps {
|
|
851
|
-
/** Inverse colors */
|
|
852
|
-
colorScheme?: 'light' | 'dark';
|
|
853
|
-
className?: string;
|
|
854
|
-
children?: React$1.ReactNode;
|
|
855
|
-
[key: string]: any;
|
|
856
|
-
}
|
|
857
|
-
declare const PromotionCard: React$1.FC<PromotionCardProps>;
|
|
858
|
-
|
|
859
|
-
interface PromotionCardContentProps {
|
|
860
|
-
className?: string;
|
|
861
|
-
children?: React$1.ReactNode;
|
|
862
|
-
[key: string]: any;
|
|
863
|
-
}
|
|
864
|
-
declare const PromotionCardContent: React$1.FC<PromotionCardContentProps>;
|
|
865
|
-
|
|
866
|
-
interface PromotionCardImageWrapperProps {
|
|
867
|
-
className?: string;
|
|
868
|
-
children?: React$1.ReactNode;
|
|
869
|
-
[key: string]: any;
|
|
870
|
-
}
|
|
871
|
-
declare const PromotionCardImageWrapper: React$1.FC<PromotionCardImageWrapperProps>;
|
|
872
|
-
|
|
873
|
-
interface PromotionCardSectionProps {
|
|
874
|
-
/** Inverse colors */
|
|
875
|
-
isInverse?: boolean;
|
|
876
|
-
className?: string;
|
|
877
|
-
children?: React$1.ReactNode;
|
|
878
|
-
[key: string]: any;
|
|
879
|
-
}
|
|
880
|
-
declare const PromotionCardSection: React$1.FC<PromotionCardSectionProps>;
|
|
881
|
-
|
|
882
|
-
interface PromotionCardTitleProps {
|
|
883
|
-
className?: string;
|
|
884
|
-
children: React$1.ReactElement;
|
|
885
|
-
[key: string]: any;
|
|
886
|
-
}
|
|
887
|
-
declare const PromotionCardTitle: React$1.FC<PromotionCardTitleProps>;
|
|
888
|
-
|
|
889
|
-
type AutocompleteOption = string | {
|
|
890
|
-
title: string;
|
|
891
|
-
value: string;
|
|
892
|
-
};
|
|
893
|
-
interface AutocompleteProps extends React$1.HTMLAttributes<HTMLSelectElement> {
|
|
894
|
-
/** Module config. For more see accessible-autocomplete docs */
|
|
895
|
-
autocompleteConfig?: Record<string, any>;
|
|
896
|
-
/** Array of string options */
|
|
897
|
-
options?: AutocompleteOption[];
|
|
898
|
-
/** Placeholder text */
|
|
899
|
-
placeholder?: string;
|
|
900
|
-
/** Additional CSS classes */
|
|
901
|
-
className?: string;
|
|
902
|
-
}
|
|
903
|
-
declare const Autocomplete: React$1.FC<AutocompleteProps>;
|
|
904
|
-
|
|
905
|
-
type CheckboxSize = "default" | "large";
|
|
906
|
-
interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
907
|
-
/** Html id attribute */
|
|
908
|
-
id: string;
|
|
909
|
-
/** Checked state. */
|
|
910
|
-
isChecked?: boolean;
|
|
911
|
-
/** Disabled state. */
|
|
912
|
-
isDisabled?: boolean;
|
|
913
|
-
/** Invalid state */
|
|
914
|
-
isInvalid?: boolean;
|
|
915
|
-
/** Checkbox is displayed as Toggle */
|
|
916
|
-
isToggle?: boolean;
|
|
917
|
-
/** Html name attribute. Id is used when not set.*/
|
|
918
|
-
name?: string;
|
|
919
|
-
/** Size of element. */
|
|
920
|
-
size?: CheckboxSize;
|
|
921
|
-
className?: string;
|
|
922
|
-
}
|
|
923
|
-
declare const Checkbox: React$1.FC<CheckboxProps>;
|
|
924
|
-
|
|
925
|
-
interface FieldContextType {
|
|
926
|
-
controlId?: string;
|
|
927
|
-
messages?: any[];
|
|
928
|
-
control?: {
|
|
929
|
-
type?: string;
|
|
930
|
-
control?: any;
|
|
931
|
-
renderControl?: (props: any) => React.ReactNode;
|
|
932
|
-
isToggle?: boolean;
|
|
933
|
-
[key: string]: any;
|
|
934
|
-
};
|
|
935
|
-
hint?: React.ReactNode;
|
|
936
|
-
label?: React.ReactNode;
|
|
937
|
-
labelAfter?: React.ReactNode;
|
|
938
|
-
tooltip?: React.ReactNode;
|
|
939
|
-
isRadioCheck?: boolean;
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
interface InputFieldProps {
|
|
943
|
-
className?: string;
|
|
944
|
-
control: FieldContextType["control"];
|
|
945
|
-
hint?: React$1.ReactNode;
|
|
946
|
-
label?: React$1.ReactNode;
|
|
947
|
-
labelAfter?: React$1.ReactNode;
|
|
948
|
-
messages?: Array<{
|
|
949
|
-
type: string;
|
|
950
|
-
text: string;
|
|
951
|
-
}>;
|
|
952
|
-
tooltip?: React$1.ReactNode;
|
|
953
|
-
[key: string]: any;
|
|
954
|
-
}
|
|
955
|
-
declare const Field: React$1.FC<InputFieldProps>;
|
|
956
|
-
|
|
957
|
-
interface FieldsetMessage {
|
|
958
|
-
[key: string]: any;
|
|
959
|
-
}
|
|
960
|
-
interface FieldsetProps extends React$1.FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
961
|
-
/** Required `<legend />` for fieldset */
|
|
962
|
-
legend: ReactNode;
|
|
963
|
-
/** Additional legend props */
|
|
964
|
-
legendProps?: React$1.HTMLAttributes<HTMLLegendElement>;
|
|
965
|
-
description?: ReactNode;
|
|
966
|
-
messages?: FieldsetMessage[];
|
|
967
|
-
className?: string;
|
|
968
|
-
children?: ReactNode;
|
|
969
|
-
}
|
|
970
|
-
declare const Fieldset: React$1.FC<FieldsetProps>;
|
|
971
|
-
|
|
972
|
-
type FileSize = "default" | "large";
|
|
973
|
-
interface FileProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
974
|
-
/** Html id attribute. Generated automatically if omitted. */
|
|
975
|
-
id?: string;
|
|
976
|
-
/** Disabled state. */
|
|
977
|
-
isDisabled?: boolean;
|
|
978
|
-
/** Input name. */
|
|
979
|
-
name?: string;
|
|
980
|
-
/** Size of element. */
|
|
981
|
-
size?: FileSize;
|
|
982
|
-
className?: string;
|
|
1181
|
+
/** Active state. */
|
|
1182
|
+
isActive?: boolean;
|
|
1183
|
+
/** aria-label of page item */
|
|
1184
|
+
ariaLabel?: string;
|
|
983
1185
|
}
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
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 */
|
|
988
1196
|
[key: string]: any;
|
|
989
1197
|
}
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
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> {
|
|
995
1203
|
className?: string;
|
|
1204
|
+
children?: ReactNode;
|
|
1205
|
+
color?: PillColor;
|
|
1206
|
+
size?: "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
996
1207
|
}
|
|
997
|
-
declare const
|
|
1208
|
+
declare const Pill: React$1.FC<PillProps>;
|
|
998
1209
|
|
|
999
|
-
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;
|
|
1000
1219
|
className?: string;
|
|
1001
1220
|
children?: React$1.ReactNode;
|
|
1002
1221
|
}
|
|
1003
|
-
declare const
|
|
1222
|
+
declare const Progress: React$1.FC<ProgressProps>;
|
|
1004
1223
|
|
|
1005
|
-
interface
|
|
1006
|
-
htmlFor: string;
|
|
1224
|
+
interface PromoBannerProps {
|
|
1007
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;
|
|
1008
1235
|
children?: React$1.ReactNode;
|
|
1236
|
+
itemClassName?: string;
|
|
1237
|
+
imageClassName?: string;
|
|
1238
|
+
variant?: "vertical" | "reverse";
|
|
1009
1239
|
}
|
|
1010
|
-
declare const
|
|
1240
|
+
declare const PromoBanner: ({ image, className, alignImage, flushTopSmDown, flushBottomSmDown, bleedImage, children, itemClassName, imageClassName, variant, imageFullWidth, }: PromoBannerProps) => react_jsx_runtime.JSX.Element;
|
|
1011
1241
|
|
|
1012
|
-
|
|
1013
|
-
interface MessageProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
1014
|
-
/** Type of message */
|
|
1015
|
-
type?: MessageType;
|
|
1016
|
-
/** Additional CSS classes */
|
|
1242
|
+
interface PromotionCardProps {
|
|
1017
1243
|
className?: string;
|
|
1018
|
-
/** Message content */
|
|
1019
1244
|
children?: React$1.ReactNode;
|
|
1245
|
+
color?: CardColor;
|
|
1246
|
+
[key: string]: any;
|
|
1020
1247
|
}
|
|
1021
|
-
declare const
|
|
1248
|
+
declare const PromotionCard: React$1.FC<PromotionCardProps>;
|
|
1022
1249
|
|
|
1023
|
-
|
|
1024
|
-
interface RadioProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
1025
|
-
/** Html id attribute */
|
|
1026
|
-
id: string;
|
|
1027
|
-
/** Checked state. */
|
|
1028
|
-
isChecked?: boolean;
|
|
1029
|
-
/** Disabled state. */
|
|
1030
|
-
isDisabled?: boolean;
|
|
1031
|
-
/** Invalid state */
|
|
1032
|
-
isInvalid?: boolean;
|
|
1033
|
-
/** Html name attribute. */
|
|
1034
|
-
name: string;
|
|
1035
|
-
/** Size of element. */
|
|
1036
|
-
size?: RadioSize;
|
|
1037
|
-
/** HTML value. Uses id when not set. */
|
|
1038
|
-
value?: string;
|
|
1250
|
+
interface PromotionCardContentProps {
|
|
1039
1251
|
className?: string;
|
|
1040
|
-
|
|
1041
|
-
declare const Radio: React$1.FC<RadioProps>;
|
|
1042
|
-
|
|
1043
|
-
type RangeSliderWidth = "default" | "fullwidth";
|
|
1044
|
-
interface RangeSliderConfig {
|
|
1045
|
-
connect?: boolean | boolean[];
|
|
1046
|
-
format?: (value: number) => string;
|
|
1047
|
-
handleAttributes?: Array<Record<string, any>>;
|
|
1048
|
-
pips?: {
|
|
1049
|
-
mode?: "positions" | "count" | "values";
|
|
1050
|
-
filter?: (value: number) => boolean;
|
|
1051
|
-
format?: (value: number) => string;
|
|
1052
|
-
values?: number[] | number;
|
|
1053
|
-
density?: number;
|
|
1054
|
-
};
|
|
1055
|
-
range: {
|
|
1056
|
-
min: number | number[];
|
|
1057
|
-
max: number | number[];
|
|
1058
|
-
};
|
|
1059
|
-
start: number[];
|
|
1252
|
+
children?: React$1.ReactNode;
|
|
1060
1253
|
[key: string]: any;
|
|
1061
1254
|
}
|
|
1062
|
-
|
|
1063
|
-
/** [noUiSlider config object](https://refreshless.com/nouislider/slider-options/) */
|
|
1064
|
-
config: RangeSliderConfig;
|
|
1065
|
-
/** insert arbitrary element after rangeslider */
|
|
1066
|
-
elementAfter?: React$1.ReactNode;
|
|
1067
|
-
/** insert arbitrary element before rangeslider */
|
|
1068
|
-
elementBefore?: React$1.ReactNode;
|
|
1069
|
-
/** render data-rangeslider attribute and initialize RangeSlider.static.js */
|
|
1070
|
-
hasDataAttr?: boolean;
|
|
1071
|
-
/** element id. required by RangeSlider.static.js and generated automatically in React environment. */
|
|
1072
|
-
id?: string;
|
|
1073
|
-
/** width of the element */
|
|
1074
|
-
width?: RangeSliderWidth;
|
|
1075
|
-
/** Additional CSS classes */
|
|
1076
|
-
className?: string;
|
|
1077
|
-
}
|
|
1078
|
-
declare const RangeSlider: React$1.FC<RangeSliderProps>;
|
|
1255
|
+
declare const PromotionCardContent: React$1.FC<PromotionCardContentProps>;
|
|
1079
1256
|
|
|
1080
|
-
|
|
1081
|
-
text: string;
|
|
1082
|
-
value: string;
|
|
1083
|
-
} | string;
|
|
1084
|
-
type SelectSize = "default" | "large";
|
|
1085
|
-
type SelectWidth = "default" | "12ch" | "shrink" | "fullwidth";
|
|
1086
|
-
interface SelectProps extends Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "size"> {
|
|
1087
|
-
/** Forwarded DOM element ref. */
|
|
1088
|
-
elemRef?: React$1.Ref<HTMLSelectElement>;
|
|
1089
|
-
/** Html id attribute. */
|
|
1090
|
-
id?: string;
|
|
1091
|
-
/** Disabled state. */
|
|
1092
|
-
isDisabled?: boolean;
|
|
1093
|
-
/** Invalid state. */
|
|
1094
|
-
isInvalid?: boolean;
|
|
1095
|
-
/** Html name attribute. */
|
|
1096
|
-
name?: string;
|
|
1097
|
-
/** Select option can be specified via children or as options array */
|
|
1098
|
-
options?: SelectOption[];
|
|
1099
|
-
/** Size of element. */
|
|
1100
|
-
size?: SelectSize;
|
|
1101
|
-
/** Select value. */
|
|
1102
|
-
value?: string | string[];
|
|
1103
|
-
/** Element width */
|
|
1104
|
-
width?: SelectWidth;
|
|
1105
|
-
/** Additional CSS classes */
|
|
1257
|
+
interface PromotionCardImageWrapperProps {
|
|
1106
1258
|
className?: string;
|
|
1107
|
-
/** Child elements */
|
|
1108
1259
|
children?: React$1.ReactNode;
|
|
1260
|
+
[key: string]: any;
|
|
1109
1261
|
}
|
|
1110
|
-
declare const
|
|
1262
|
+
declare const PromotionCardImageWrapper: React$1.FC<PromotionCardImageWrapperProps>;
|
|
1111
1263
|
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
/** Html id attribute. */
|
|
1116
|
-
id: string;
|
|
1117
|
-
/** Disabled state. */
|
|
1118
|
-
isDisabled?: boolean;
|
|
1119
|
-
/** Invalid state */
|
|
1120
|
-
isInvalid?: boolean;
|
|
1121
|
-
/** Readonly state. */
|
|
1122
|
-
isReadonly?: boolean;
|
|
1123
|
-
/** Valid state */
|
|
1124
|
-
isValid?: boolean;
|
|
1125
|
-
/** Html name attribute. If not present, id is used.*/
|
|
1126
|
-
name?: string;
|
|
1127
|
-
/** Placeholder text */
|
|
1128
|
-
placeholder?: string;
|
|
1129
|
-
/** Size of element. */
|
|
1130
|
-
size?: TextAreaSize;
|
|
1131
|
-
/** Input width */
|
|
1132
|
-
width?: TextAreaWidth;
|
|
1133
|
-
/** Additional CSS classes */
|
|
1264
|
+
interface PromotionCardSectionProps {
|
|
1265
|
+
/** Inverse colors */
|
|
1266
|
+
isInverse?: boolean;
|
|
1134
1267
|
className?: string;
|
|
1135
|
-
/** Child elements */
|
|
1136
1268
|
children?: React$1.ReactNode;
|
|
1269
|
+
[key: string]: any;
|
|
1137
1270
|
}
|
|
1138
|
-
declare const
|
|
1271
|
+
declare const PromotionCardSection: React$1.FC<PromotionCardSectionProps>;
|
|
1139
1272
|
|
|
1140
|
-
|
|
1141
|
-
type TextInputWidth = "3ch" | "8ch" | "12ch" | "default" | "fullwidth";
|
|
1142
|
-
type TextInputType = "email" | "hidden" | "password" | "search" | "tel" | "number" | "text" | "url";
|
|
1143
|
-
interface TextInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
1144
|
-
/** Input html type. */
|
|
1145
|
-
htmlType?: TextInputType;
|
|
1146
|
-
/** Html id attribute. */
|
|
1147
|
-
id: string;
|
|
1148
|
-
/** Disabled state. */
|
|
1149
|
-
isDisabled?: boolean;
|
|
1150
|
-
/** Invalid state */
|
|
1151
|
-
isInvalid?: boolean;
|
|
1152
|
-
/** Readonly state. */
|
|
1153
|
-
isReadonly?: boolean;
|
|
1154
|
-
/** Valid state */
|
|
1155
|
-
isValid?: boolean;
|
|
1156
|
-
/** Html name attribute. If not present, id is used.*/
|
|
1157
|
-
name?: string;
|
|
1158
|
-
/** Placeholder text */
|
|
1159
|
-
placeholder?: string;
|
|
1160
|
-
/** Size of element. */
|
|
1161
|
-
size?: TextInputSize;
|
|
1162
|
-
/** Input value. */
|
|
1163
|
-
value?: string;
|
|
1164
|
-
/** Input width */
|
|
1165
|
-
width?: TextInputWidth;
|
|
1166
|
-
/** Additional CSS classes */
|
|
1273
|
+
interface PromotionCardTitleProps {
|
|
1167
1274
|
className?: string;
|
|
1275
|
+
children: React$1.ReactElement;
|
|
1276
|
+
[key: string]: any;
|
|
1168
1277
|
}
|
|
1169
|
-
declare const
|
|
1278
|
+
declare const PromotionCardTitle: React$1.FC<PromotionCardTitleProps>;
|
|
1170
1279
|
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
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 */
|
|
1185
1298
|
className?: string;
|
|
1186
|
-
|
|
1299
|
+
/** Section content */
|
|
1300
|
+
children?: React$1.ReactNode;
|
|
1301
|
+
/** Additional classes passed to the container */
|
|
1302
|
+
containerClassName?: string;
|
|
1187
1303
|
}
|
|
1188
|
-
declare const
|
|
1304
|
+
declare const Section: React$1.FC<SectionProps>;
|
|
1189
1305
|
|
|
1190
1306
|
declare const Skeleton: React$1.FC<React$1.HTMLAttributes<HTMLSpanElement>>;
|
|
1191
1307
|
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
interface PillProps extends HTMLAttributes<HTMLSpanElement> {
|
|
1195
|
-
className?: string;
|
|
1196
|
-
children?: ReactNode;
|
|
1197
|
-
color?: PillColor;
|
|
1198
|
-
size?: "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
1199
|
-
colorScheme?: "light" | "dark";
|
|
1308
|
+
interface SkipLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1309
|
+
href?: string;
|
|
1200
1310
|
}
|
|
1201
|
-
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>>;
|
|
1202
1324
|
|
|
1203
1325
|
declare const showTitlesFromOptions: readonly ["md", "lg", "xl"];
|
|
1204
1326
|
type ShowTitlesFrom = (typeof showTitlesFromOptions)[number];
|
|
@@ -1214,65 +1336,17 @@ interface StepbarProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
1214
1336
|
showTitlesFrom?: ShowTitlesFrom;
|
|
1215
1337
|
/** Array of step objects */
|
|
1216
1338
|
steps: StepbarStep[];
|
|
1217
|
-
/** Visual variant of the stepbar */
|
|
1218
|
-
colorScheme?: "dark" | "light";
|
|
1219
1339
|
}
|
|
1220
1340
|
declare const Stepbar: React$1.FC<StepbarProps>;
|
|
1221
1341
|
|
|
1222
|
-
interface
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
id?: string;
|
|
1227
|
-
/** Active state */
|
|
1228
|
-
isActive?: boolean;
|
|
1229
|
-
/** Whether the tab is disabled */
|
|
1230
|
-
isDisabled?: boolean;
|
|
1231
|
-
/** Tab content/label */
|
|
1232
|
-
tab?: React.ReactNode;
|
|
1233
|
-
/** Custom render function for tab */
|
|
1234
|
-
renderTab?: (props: TabPanelProps) => React.ReactElement;
|
|
1235
|
-
/** Additional class names */
|
|
1236
|
-
className?: string;
|
|
1237
|
-
/** Children components */
|
|
1238
|
-
children?: React.ReactNode;
|
|
1239
|
-
}
|
|
1240
|
-
declare const TabPanel: React.FC<TabPanelProps>;
|
|
1241
|
-
|
|
1242
|
-
declare const variants: readonly ["standard", "light"];
|
|
1243
|
-
type TabsVariant = (typeof variants)[number];
|
|
1244
|
-
interface TabsProps extends React$1.HTMLAttributes<HTMLUListElement> {
|
|
1245
|
-
/** Active Tab index */
|
|
1246
|
-
activeTabIndex?: number;
|
|
1247
|
-
/** Additional classes for tabs header. */
|
|
1248
|
-
classesTabNav?: string;
|
|
1249
|
-
/** Color theme for the tabs */
|
|
1250
|
-
colorScheme?: "dark" | "light";
|
|
1251
|
-
/** All tabs have equal width inside a full-width container */
|
|
1252
|
-
hasEqualTabWidth?: boolean;
|
|
1253
|
-
/** Fullwidth container */
|
|
1254
|
-
isFullWidth?: boolean;
|
|
1255
|
-
/** Tabs behave as links rather than tabs */
|
|
1256
|
-
isLink?: boolean;
|
|
1257
|
-
/** Visual variant of the tabs */
|
|
1258
|
-
variant?: TabsVariant;
|
|
1259
|
-
/** Tab panels as children */
|
|
1260
|
-
children: React$1.ReactElement<TabPanelProps>[];
|
|
1261
|
-
}
|
|
1262
|
-
declare const Tabs: React$1.FC<TabsProps>;
|
|
1263
|
-
|
|
1264
|
-
interface TabProps extends React.HTMLAttributes<HTMLButtonElement | HTMLAnchorElement> {
|
|
1265
|
-
/** Id of the tabpanel this tab controls. */
|
|
1266
|
-
controls?: string;
|
|
1267
|
-
href?: string;
|
|
1268
|
-
/** Active state */
|
|
1269
|
-
isActive?: boolean;
|
|
1270
|
-
/** Disabled state. */
|
|
1271
|
-
isDisabled?: boolean;
|
|
1342
|
+
interface StickerProps {
|
|
1343
|
+
color?: "black" | "orange";
|
|
1344
|
+
size?: "small";
|
|
1345
|
+
children?: React$1.ReactNode;
|
|
1272
1346
|
className?: string;
|
|
1273
|
-
|
|
1347
|
+
[key: string]: any;
|
|
1274
1348
|
}
|
|
1275
|
-
declare const
|
|
1349
|
+
declare const Sticker: React$1.FC<StickerProps>;
|
|
1276
1350
|
|
|
1277
1351
|
interface CellValue {
|
|
1278
1352
|
value: React$1.ReactNode;
|
|
@@ -1308,6 +1382,8 @@ interface TableProps extends React$1.TableHTMLAttributes<HTMLTableElement> {
|
|
|
1308
1382
|
headers: TableHeader[];
|
|
1309
1383
|
/** Compact table only takes spaced needed to display its content */
|
|
1310
1384
|
isCompact?: boolean;
|
|
1385
|
+
/** Enable responsive card layout below md breakpoint for better accessibility */
|
|
1386
|
+
isResponsive?: boolean;
|
|
1311
1387
|
/** If table has horizontal scrollbar */
|
|
1312
1388
|
isScrollable?: boolean;
|
|
1313
1389
|
/** Different colors for even and odd rows. */
|
|
@@ -1315,27 +1391,114 @@ interface TableProps extends React$1.TableHTMLAttributes<HTMLTableElement> {
|
|
|
1315
1391
|
/** rows to print out in the table. */
|
|
1316
1392
|
rows: TableRow[];
|
|
1317
1393
|
className?: string;
|
|
1318
|
-
/** Sets color scheme */
|
|
1319
|
-
colorScheme?: "dark" | "light";
|
|
1320
1394
|
}
|
|
1321
1395
|
declare const Table: React$1.FC<TableProps>;
|
|
1322
1396
|
|
|
1323
|
-
|
|
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
|
+
|
|
1324
1492
|
type TileHAlign = "center";
|
|
1325
1493
|
type TileVAlign = "center" | "end" | "space-between";
|
|
1494
|
+
type TileVariant = "compact" | "action";
|
|
1326
1495
|
interface TileProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1327
|
-
/** Tile color. */
|
|
1328
|
-
color?: TileColor;
|
|
1329
1496
|
/** Horizontal alignment of the tile content. */
|
|
1330
1497
|
hAlign?: TileHAlign;
|
|
1331
1498
|
/** Vertical alignment of the tile content. */
|
|
1332
1499
|
vAlign?: TileVAlign;
|
|
1333
|
-
/** variant
|
|
1334
|
-
variant?:
|
|
1335
|
-
/** Alt and src attributes are required */
|
|
1336
|
-
backgroundImage?: React$1.ComponentProps<typeof Image>;
|
|
1337
|
-
/** Use small spacing */
|
|
1338
|
-
space?: "small";
|
|
1500
|
+
/** Tile variant. */
|
|
1501
|
+
variant?: TileVariant;
|
|
1339
1502
|
children?: ReactNode;
|
|
1340
1503
|
className?: string;
|
|
1341
1504
|
}
|
|
@@ -1361,7 +1524,6 @@ interface TooltipProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
1361
1524
|
/** Additional CSS classes */
|
|
1362
1525
|
className?: string;
|
|
1363
1526
|
children?: React$1.ReactNode;
|
|
1364
|
-
colorScheme?: "dark" | "light";
|
|
1365
1527
|
}
|
|
1366
1528
|
declare const Tooltip: React$1.FC<TooltipProps>;
|
|
1367
1529
|
|
|
@@ -1371,126 +1533,4 @@ type InfoTooltipProps = Omit<TooltipProps, "onAbort"> & Omit<React$1.HTMLAttribu
|
|
|
1371
1533
|
};
|
|
1372
1534
|
declare const InfoTooltip: React$1.FC<InfoTooltipProps>;
|
|
1373
1535
|
|
|
1374
|
-
|
|
1375
|
-
/** Background image source. URL string or an object of breakpoint: url pairs
|
|
1376
|
-
*
|
|
1377
|
-
* ```
|
|
1378
|
-
{
|
|
1379
|
-
default: string, // default image to load (fallback)
|
|
1380
|
-
xxxl: string, // different image for each breakpoint (optional). while these are mobile first breakpoints, they MUST be ordered from largest to smallest
|
|
1381
|
-
xxl: string,
|
|
1382
|
-
xl: string,
|
|
1383
|
-
lg: string,
|
|
1384
|
-
md: string,
|
|
1385
|
-
sm: string,
|
|
1386
|
-
xs: string,
|
|
1387
|
-
}
|
|
1388
|
-
* ```
|
|
1389
|
-
*/
|
|
1390
|
-
bgSrc: string | {
|
|
1391
|
-
default: string;
|
|
1392
|
-
xs?: string;
|
|
1393
|
-
sm?: string;
|
|
1394
|
-
md?: string;
|
|
1395
|
-
lg?: string;
|
|
1396
|
-
xl?: string;
|
|
1397
|
-
xxl?: string;
|
|
1398
|
-
xxxl?: string;
|
|
1399
|
-
};
|
|
1400
|
-
/** Set vertical position of image */
|
|
1401
|
-
bgPosition?: 'top' | 'center' | 'bottom';
|
|
1402
|
-
/** Applies custom classNames to overlay content */
|
|
1403
|
-
contentClass?: string;
|
|
1404
|
-
/** Cover size */
|
|
1405
|
-
size?: 'small' | 'medium' | 'large';
|
|
1406
|
-
/** Additional className for the cover container */
|
|
1407
|
-
className?: string;
|
|
1408
|
-
/** Children content */
|
|
1409
|
-
children?: React$1.ReactNode;
|
|
1410
|
-
/** Additional props passed to Image component */
|
|
1411
|
-
[key: string]: any;
|
|
1412
|
-
}
|
|
1413
|
-
declare const Cover: React$1.FC<CoverProps>;
|
|
1414
|
-
|
|
1415
|
-
interface TestimonialProps {
|
|
1416
|
-
className?: string;
|
|
1417
|
-
children?: React$1.ReactNode;
|
|
1418
|
-
color?: 'default' | 'orange';
|
|
1419
|
-
isDiv?: boolean;
|
|
1420
|
-
[key: string]: any;
|
|
1421
|
-
}
|
|
1422
|
-
declare const Testimonial: React$1.FC<TestimonialProps>;
|
|
1423
|
-
|
|
1424
|
-
type HeroBackground = "white" | "black" | "gray";
|
|
1425
|
-
type HeroTextSize = "medium" | "large";
|
|
1426
|
-
type StickerColor = "black" | "orange";
|
|
1427
|
-
interface HeroImageSrc {
|
|
1428
|
-
src: string;
|
|
1429
|
-
srcSet?: string;
|
|
1430
|
-
}
|
|
1431
|
-
interface HeroImageResponsive {
|
|
1432
|
-
default: string;
|
|
1433
|
-
sm?: string;
|
|
1434
|
-
lg?: string;
|
|
1435
|
-
xl?: string;
|
|
1436
|
-
xxl?: string;
|
|
1437
|
-
[key: string]: string | undefined;
|
|
1438
|
-
}
|
|
1439
|
-
type HeroImage = HeroImageSrc | HeroImageResponsive;
|
|
1440
|
-
interface HeroPriceObject {
|
|
1441
|
-
amount: number;
|
|
1442
|
-
prefix?: React$1.ReactNode;
|
|
1443
|
-
suffix?: React$1.ReactNode;
|
|
1444
|
-
}
|
|
1445
|
-
type HeroPrice = string | HeroPriceObject;
|
|
1446
|
-
interface HeroButtonProps {
|
|
1447
|
-
children: React$1.ReactNode;
|
|
1448
|
-
[key: string]: any;
|
|
1449
|
-
}
|
|
1450
|
-
interface HeroStickerProps {
|
|
1451
|
-
color?: StickerColor;
|
|
1452
|
-
children?: React$1.ReactNode;
|
|
1453
|
-
className?: string;
|
|
1454
|
-
}
|
|
1455
|
-
interface HeroProps {
|
|
1456
|
-
/** Background spanning whole viewport width */
|
|
1457
|
-
colorScheme?: HeroBackground;
|
|
1458
|
-
/** Action button props */
|
|
1459
|
-
button?: HeroButtonProps;
|
|
1460
|
-
/** Main text */
|
|
1461
|
-
description?: React$1.ReactNode;
|
|
1462
|
-
hasFullwidthImage?: boolean;
|
|
1463
|
-
/** Gradient overlay ensures proper text readability */
|
|
1464
|
-
hasGradientOverlay?: boolean;
|
|
1465
|
-
/** Use svg illustrations, png for product images and jpg for photos */
|
|
1466
|
-
image?: HeroImage;
|
|
1467
|
-
price?: HeroPrice;
|
|
1468
|
-
sticker?: HeroStickerProps;
|
|
1469
|
-
/** Adjust title and description size. Medium sets display-2 title and 18px text, large uses display-1 title and 20px text. */
|
|
1470
|
-
textSize?: HeroTextSize;
|
|
1471
|
-
/** Hero title */
|
|
1472
|
-
title: string;
|
|
1473
|
-
}
|
|
1474
|
-
declare const Hero: React$1.FC<HeroProps>;
|
|
1475
|
-
|
|
1476
|
-
interface IconListItem {
|
|
1477
|
-
icon: string;
|
|
1478
|
-
content: React$1.ReactNode;
|
|
1479
|
-
tooltip?: React$1.ReactNode;
|
|
1480
|
-
}
|
|
1481
|
-
interface IconListProps {
|
|
1482
|
-
items?: IconListItem[];
|
|
1483
|
-
className?: string;
|
|
1484
|
-
[key: string]: any;
|
|
1485
|
-
}
|
|
1486
|
-
declare const IconList: React$1.FC<IconListProps>;
|
|
1487
|
-
|
|
1488
|
-
interface ItemProps {
|
|
1489
|
-
icon: string;
|
|
1490
|
-
children: React$1.ReactNode;
|
|
1491
|
-
tooltip?: React$1.ReactNode;
|
|
1492
|
-
[key: string]: any;
|
|
1493
|
-
}
|
|
1494
|
-
declare const Item: React$1.FC<ItemProps>;
|
|
1495
|
-
|
|
1496
|
-
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 };
|