@pnx-mixtape/mxds 0.0.29 → 0.1.0-rc.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/.storybook/main.ts +8 -16
- package/.storybook/modes.ts +11 -0
- package/.storybook/preview.ts +11 -1
- package/.storybook/storybook.css +7 -0
- package/.storybook/vitest.setup.ts +29 -32
- package/LICENSE +22 -0
- package/README.md +200 -169
- package/dist/build/accordion.css +1 -1
- package/dist/build/accordion.entry.js +1 -46
- package/dist/build/autocomplete.css +1 -0
- package/dist/build/autocomplete.entry.js +1 -0
- package/dist/build/base.css +1 -1
- package/dist/build/breadcrumb.css +1 -1
- package/dist/build/button.css +1 -1
- package/dist/build/callout.css +1 -1
- package/dist/build/card.css +1 -1
- package/dist/build/carousel.css +1 -1
- package/dist/build/chunks/Accordion-z-dH6nFH.js +1 -0
- package/dist/build/chunks/AccordionGroup-Bzqp5__q.js +1 -0
- package/dist/build/chunks/AccordionMobile-BYPPNyf5.js +1 -0
- package/dist/build/chunks/Autocomplete-2L6tLLuh.js +1 -0
- package/dist/build/chunks/ClosableAlert-DdXbF1J2.js +1 -0
- package/dist/build/chunks/CookieConsent-BkCMRVST.js +1 -0
- package/dist/build/chunks/Dialog-Ds8gzhri.js +1 -0
- package/dist/build/chunks/DropMenu-Co9jZZ4S.js +1 -0
- package/dist/build/chunks/Gallery-BT3cxS5m.js +1 -0
- package/dist/build/chunks/GlobalToggle-DQHho97V.js +1 -0
- package/dist/build/chunks/InPageNavigation-CzR_KZaz.js +1 -0
- package/dist/build/chunks/Navigation-B9Wug-ok.js +1 -0
- package/dist/build/chunks/Popover-De_CQqcd.js +1 -0
- package/dist/build/chunks/Sticky-Kyjykb36.js +1 -0
- package/dist/build/chunks/Tabs-Dm8g301e.js +15 -0
- package/dist/build/chunks/cookie-compliance-Bbm-0vpj.js +1 -0
- package/dist/build/chunks/disclosure-widget-BETzOHLO.js +1 -0
- package/dist/build/chunks/polyfills-Dokbkxxk.js +1 -0
- package/dist/build/chunks/utilities-C5dAO2YA.js +1 -0
- package/dist/build/constants.css +1 -1
- package/dist/build/content-block.css +1 -1
- package/dist/build/cookie-consent.css +1 -0
- package/dist/build/cookie-consent.entry.js +1 -0
- package/dist/build/dialog.css +1 -1
- package/dist/build/dialog.entry.js +1 -45
- package/dist/build/drop-menu.css +1 -1
- package/dist/build/drop-menu.entry.js +1 -2
- package/dist/build/drupal.css +1 -1
- package/dist/build/elements.js +1 -0
- package/dist/build/filters.css +1 -1
- package/dist/build/filters.entry.js +1 -113
- package/dist/build/footer.css +1 -1
- package/dist/build/form.css +1 -1
- package/dist/build/gallery.css +1 -0
- package/dist/build/gallery.entry.js +1 -0
- package/dist/build/global-alert.css +1 -1
- package/dist/build/global-alert.entry.js +1 -51
- package/dist/build/grid.css +1 -1
- package/dist/build/header.css +1 -1
- package/dist/build/header.entry.js +1 -877
- package/dist/build/hero-banner.css +1 -1
- package/dist/build/icon.css +1 -1
- package/dist/build/in-page-alert.css +1 -1
- package/dist/build/in-page-navigation.css +1 -1
- package/dist/build/in-page-navigation.entry.js +1 -79
- package/dist/build/link-list.css +1 -1
- package/dist/build/list-item.css +1 -1
- package/dist/build/masthead.css +1 -1
- package/dist/build/navigation.css +1 -1
- package/dist/build/navigation.entry.js +1 -79
- package/dist/build/page.css +1 -1
- package/dist/build/pagination.css +1 -1
- package/dist/build/popover.css +1 -1
- package/dist/build/popover.entry.js +1 -1
- package/dist/build/print.css +1 -0
- package/dist/build/react.js +1 -0
- package/dist/build/results-bar.css +1 -1
- package/dist/build/section.css +1 -1
- package/dist/build/side-navigation.css +1 -1
- package/dist/build/sidebar.css +1 -1
- package/dist/build/social-links.css +1 -1
- package/dist/build/social-share.css +1 -0
- package/dist/build/steps.css +1 -1
- package/dist/build/sticky.css +1 -1
- package/dist/build/sticky.entry.js +1 -48
- package/dist/build/tabs.css +1 -1
- package/dist/build/tabs.entry.js +1 -140
- package/dist/build/tag.css +1 -1
- package/dist/build/utilities.css +1 -1
- package/dist/build/utility-list.css +1 -1
- package/dist/build/utility-list.entry.js +1 -52
- package/dist/types/.storybook-react/decorators.d.ts +3 -0
- package/dist/types/.storybook-react/decorators.d.ts.map +1 -0
- package/dist/types/Atom/Button/Button.d.ts +18 -0
- package/dist/types/Atom/Button/Button.d.ts.map +1 -0
- package/dist/types/Atom/Button/Button.figma.d.ts +11 -0
- package/dist/types/Atom/Button/Button.figma.d.ts.map +1 -0
- package/dist/types/Atom/DefinitionList/DefinitionList.d.ts +10 -0
- package/dist/types/Atom/DefinitionList/DefinitionList.d.ts.map +1 -0
- package/dist/types/Atom/DefinitionList/DefinitionList.figma.d.ts +11 -0
- package/dist/types/Atom/DefinitionList/DefinitionList.figma.d.ts.map +1 -0
- package/dist/types/Atom/DefinitionList/DefinitionListItem.figma.d.ts +11 -0
- package/dist/types/Atom/DefinitionList/DefinitionListItem.figma.d.ts.map +1 -0
- package/dist/types/Atom/Heading/Heading.d.ts +25 -0
- package/dist/types/Atom/Heading/Heading.d.ts.map +1 -0
- package/dist/types/Atom/Heading/Heading.figma.d.ts +11 -0
- package/dist/types/Atom/Heading/Heading.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/Icon.d.ts +9 -0
- package/dist/types/Atom/Icon/Icon.d.ts.map +1 -0
- package/dist/types/Atom/Icon/Icon.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/Icon.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/IconArrowLeft.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/IconArrowLeft.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/IconArrowRight.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/IconArrowRight.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/IconChevronDown.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/IconChevronDown.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/IconChevronLeft.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/IconChevronLeft.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/IconChevronRight.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/IconChevronRight.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/IconError.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/IconError.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/IconExternalLink.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/IconExternalLink.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/IconInfo.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/IconInfo.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/IconSearch.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/IconSearch.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/IconSuccess.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/IconSuccess.figma.d.ts.map +1 -0
- package/dist/types/Atom/Icon/IconWarning.figma.d.ts +11 -0
- package/dist/types/Atom/Icon/IconWarning.figma.d.ts.map +1 -0
- package/dist/types/Atom/Link/Link.d.ts +13 -0
- package/dist/types/Atom/Link/Link.d.ts.map +1 -0
- package/dist/types/Atom/Link/Link.figma.d.ts +11 -0
- package/dist/types/Atom/Link/Link.figma.d.ts.map +1 -0
- package/dist/types/Atom/Media/Media.d.ts +10 -0
- package/dist/types/Atom/Media/Media.d.ts.map +1 -0
- package/dist/types/Atom/Media/Media.figma.d.ts +11 -0
- package/dist/types/Atom/Media/Media.figma.d.ts.map +1 -0
- package/dist/types/Atom/Text/Text.d.ts +10 -0
- package/dist/types/Atom/Text/Text.d.ts.map +1 -0
- package/dist/types/Atom/Text/Text.figma.d.ts +11 -0
- package/dist/types/Atom/Text/Text.figma.d.ts.map +1 -0
- package/dist/types/Atom/Video/Video.d.ts +5 -0
- package/dist/types/Atom/Video/Video.d.ts.map +1 -0
- package/dist/types/Atom/Video/Video.figma.d.ts +11 -0
- package/dist/types/Atom/Video/Video.figma.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Accordion.d.ts +16 -0
- package/dist/types/Component/Accordion/Accordion.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Accordion.figma.d.ts +11 -0
- package/dist/types/Component/Accordion/Accordion.figma.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Components/AccordionContent.d.ts +4 -0
- package/dist/types/Component/Accordion/Components/AccordionContent.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Components/AccordionContent.figma.d.ts +11 -0
- package/dist/types/Component/Accordion/Components/AccordionContent.figma.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Components/AccordionTitle.d.ts +8 -0
- package/dist/types/Component/Accordion/Components/AccordionTitle.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Components/AccordionTitle.figma.d.ts +11 -0
- package/dist/types/Component/Accordion/Components/AccordionTitle.figma.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Components/AccordionTitleIcon.d.ts +7 -0
- package/dist/types/Component/Accordion/Components/AccordionTitleIcon.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Components/AccordionTitleIcon.figma.d.ts +11 -0
- package/dist/types/Component/Accordion/Components/AccordionTitleIcon.figma.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Elements/Accordion.d.ts +23 -0
- package/dist/types/Component/Accordion/Elements/Accordion.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Elements/AccordionDiv.d.ts +24 -0
- package/dist/types/Component/Accordion/Elements/AccordionDiv.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Elements/AccordionGroup.d.ts +26 -0
- package/dist/types/Component/Accordion/Elements/AccordionGroup.d.ts.map +1 -0
- package/dist/types/Component/Accordion/Elements/AccordionMobile.d.ts +20 -0
- package/dist/types/Component/Accordion/Elements/AccordionMobile.d.ts.map +1 -0
- package/dist/types/Component/Accordion/accordion.entry.d.ts +3 -0
- package/dist/types/Component/Accordion/accordion.entry.d.ts.map +1 -0
- package/dist/types/Component/Breadcrumb/Breadcrumb.d.ts +10 -0
- package/dist/types/Component/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/types/Component/Breadcrumb/Breadcrumb.figma.d.ts +11 -0
- package/dist/types/Component/Breadcrumb/Breadcrumb.figma.d.ts.map +1 -0
- package/dist/types/Component/Card/Card.d.ts +13 -0
- package/dist/types/Component/Card/Card.d.ts.map +1 -0
- package/dist/types/Component/Card/Card.figma.d.ts +11 -0
- package/dist/types/Component/Card/Card.figma.d.ts.map +1 -0
- package/dist/types/Component/Card/Components/CardContent.d.ts +4 -0
- package/dist/types/Component/Card/Components/CardContent.d.ts.map +1 -0
- package/dist/types/Component/Card/Components/CardContent.figma.d.ts +11 -0
- package/dist/types/Component/Card/Components/CardContent.figma.d.ts.map +1 -0
- package/dist/types/Component/Card/Components/CardMedia.d.ts +7 -0
- package/dist/types/Component/Card/Components/CardMedia.d.ts.map +1 -0
- package/dist/types/Component/Card/Components/CardMedia.figma.d.ts +11 -0
- package/dist/types/Component/Card/Components/CardMedia.figma.d.ts.map +1 -0
- package/dist/types/Component/Carousel/Carousel.d.ts +11 -0
- package/dist/types/Component/Carousel/Carousel.d.ts.map +1 -0
- package/dist/types/Component/Carousel/Carousel.figma.d.ts +11 -0
- package/dist/types/Component/Carousel/Carousel.figma.d.ts.map +1 -0
- package/dist/types/Component/Carousel/Elements/Carousel.d.ts +40 -0
- package/dist/types/Component/Carousel/Elements/Carousel.d.ts.map +1 -0
- package/dist/types/Component/ContentBlock/Components/ContentBlockContent.d.ts +4 -0
- package/dist/types/Component/ContentBlock/Components/ContentBlockContent.d.ts.map +1 -0
- package/dist/types/Component/ContentBlock/Components/ContentBlockContent.figma.d.ts +11 -0
- package/dist/types/Component/ContentBlock/Components/ContentBlockContent.figma.d.ts.map +1 -0
- package/dist/types/Component/ContentBlock/Components/ContentBlockMedia.d.ts +7 -0
- package/dist/types/Component/ContentBlock/Components/ContentBlockMedia.d.ts.map +1 -0
- package/dist/types/Component/ContentBlock/Components/ContentBlockMedia.figma.d.ts +11 -0
- package/dist/types/Component/ContentBlock/Components/ContentBlockMedia.figma.d.ts.map +1 -0
- package/dist/types/Component/ContentBlock/ContentBlock.d.ts +8 -0
- package/dist/types/Component/ContentBlock/ContentBlock.d.ts.map +1 -0
- package/dist/types/Component/ContentBlock/ContentBlock.figma.d.ts +11 -0
- package/dist/types/Component/ContentBlock/ContentBlock.figma.d.ts.map +1 -0
- package/dist/types/Component/CookieConsent/CookieConsent.d.ts +13 -0
- package/dist/types/Component/CookieConsent/CookieConsent.d.ts.map +1 -0
- package/dist/types/Component/CookieConsent/Elements/CookieConsent.d.ts +21 -0
- package/dist/types/Component/CookieConsent/Elements/CookieConsent.d.ts.map +1 -0
- package/dist/types/Component/CookieConsent/cookie-consent.entry.d.ts +2 -0
- package/dist/types/Component/CookieConsent/cookie-consent.entry.d.ts.map +1 -0
- package/dist/types/Component/Dialog/Components/DialogCloseButton.d.ts +4 -0
- package/dist/types/Component/Dialog/Components/DialogCloseButton.d.ts.map +1 -0
- package/dist/types/Component/Dialog/Components/DialogCloseButton.figma.d.ts +11 -0
- package/dist/types/Component/Dialog/Components/DialogCloseButton.figma.d.ts.map +1 -0
- package/dist/types/Component/Dialog/Components/DialogContent.d.ts +7 -0
- package/dist/types/Component/Dialog/Components/DialogContent.d.ts.map +1 -0
- package/dist/types/Component/Dialog/Components/DialogContent.figma.d.ts +11 -0
- package/dist/types/Component/Dialog/Components/DialogContent.figma.d.ts.map +1 -0
- package/dist/types/Component/Dialog/Dialog.d.ts +17 -0
- package/dist/types/Component/Dialog/Dialog.d.ts.map +1 -0
- package/dist/types/Component/Dialog/Dialog.figma.d.ts +11 -0
- package/dist/types/Component/Dialog/Dialog.figma.d.ts.map +1 -0
- package/dist/types/Component/Dialog/Elements/Dialog.d.ts +27 -0
- package/dist/types/Component/Dialog/Elements/Dialog.d.ts.map +1 -0
- package/dist/types/Component/Dialog/dialog.entry.d.ts +2 -0
- package/dist/types/Component/Dialog/dialog.entry.d.ts.map +1 -0
- package/dist/types/Component/DropMenu/Components/DropMenuContext.d.ts +27 -0
- package/dist/types/Component/DropMenu/Components/DropMenuContext.d.ts.map +1 -0
- package/dist/types/Component/DropMenu/Components/DropMenuItem.d.ts +10 -0
- package/dist/types/Component/DropMenu/Components/DropMenuItem.d.ts.map +1 -0
- package/dist/types/Component/DropMenu/Components/DropMenuItem.figma.d.ts +11 -0
- package/dist/types/Component/DropMenu/Components/DropMenuItem.figma.d.ts.map +1 -0
- package/dist/types/Component/DropMenu/Components/DropMenuTrigger.figma.d.ts +11 -0
- package/dist/types/Component/DropMenu/Components/DropMenuTrigger.figma.d.ts.map +1 -0
- package/dist/types/Component/DropMenu/DropMenu.d.ts +14 -0
- package/dist/types/Component/DropMenu/DropMenu.d.ts.map +1 -0
- package/dist/types/Component/DropMenu/DropMenu.figma.d.ts +11 -0
- package/dist/types/Component/DropMenu/DropMenu.figma.d.ts.map +1 -0
- package/dist/types/Component/DropMenu/Elements/DropMenu.d.ts +29 -0
- package/dist/types/Component/DropMenu/Elements/DropMenu.d.ts.map +1 -0
- package/dist/types/Component/DropMenu/drop-menu.entry.d.ts +2 -0
- package/dist/types/Component/DropMenu/drop-menu.entry.d.ts.map +1 -0
- package/dist/types/Component/Filters/Elements/Filters.d.ts +51 -0
- package/dist/types/Component/Filters/Elements/Filters.d.ts.map +1 -0
- package/dist/types/Component/Filters/FilterItem.d.ts +23 -0
- package/dist/types/Component/Filters/FilterItem.d.ts.map +1 -0
- package/dist/types/Component/Filters/FilterItem.figma.d.ts +11 -0
- package/dist/types/Component/Filters/FilterItem.figma.d.ts.map +1 -0
- package/dist/types/Component/Filters/Filters.d.ts +31 -0
- package/dist/types/Component/Filters/Filters.d.ts.map +1 -0
- package/dist/types/Component/Filters/Filters.figma.d.ts +11 -0
- package/dist/types/Component/Filters/Filters.figma.d.ts.map +1 -0
- package/dist/types/Component/Filters/filters.entry.d.ts +2 -0
- package/dist/types/Component/Filters/filters.entry.d.ts.map +1 -0
- package/dist/types/Component/Gallery/Components/GalleryTrigger.d.ts +8 -0
- package/dist/types/Component/Gallery/Components/GalleryTrigger.d.ts.map +1 -0
- package/dist/types/Component/Gallery/Elements/Gallery.d.ts +20 -0
- package/dist/types/Component/Gallery/Elements/Gallery.d.ts.map +1 -0
- package/dist/types/Component/Gallery/Gallery.d.ts +19 -0
- package/dist/types/Component/Gallery/Gallery.d.ts.map +1 -0
- package/dist/types/Component/Gallery/gallery.entry.d.ts +3 -0
- package/dist/types/Component/Gallery/gallery.entry.d.ts.map +1 -0
- package/dist/types/Component/GlobalAlert/Elements/ClosableAlert.d.ts +29 -0
- package/dist/types/Component/GlobalAlert/Elements/ClosableAlert.d.ts.map +1 -0
- package/dist/types/Component/GlobalAlert/GlobalAlert.d.ts +10 -0
- package/dist/types/Component/GlobalAlert/GlobalAlert.d.ts.map +1 -0
- package/dist/types/Component/GlobalAlert/GlobalAlert.figma.d.ts +11 -0
- package/dist/types/Component/GlobalAlert/GlobalAlert.figma.d.ts.map +1 -0
- package/dist/types/Component/GlobalAlert/global-alert.entry.d.ts +2 -0
- package/dist/types/Component/GlobalAlert/global-alert.entry.d.ts.map +1 -0
- package/dist/types/Component/HeroBanner/Components/HeroBannerAside.d.ts +7 -0
- package/dist/types/Component/HeroBanner/Components/HeroBannerAside.d.ts.map +1 -0
- package/dist/types/Component/HeroBanner/Components/HeroBannerAside.figma.d.ts +11 -0
- package/dist/types/Component/HeroBanner/Components/HeroBannerAside.figma.d.ts.map +1 -0
- package/dist/types/Component/HeroBanner/Components/HeroBannerContent.d.ts +4 -0
- package/dist/types/Component/HeroBanner/Components/HeroBannerContent.d.ts.map +1 -0
- package/dist/types/Component/HeroBanner/Components/HeroBannerContent.figma.d.ts +11 -0
- package/dist/types/Component/HeroBanner/Components/HeroBannerContent.figma.d.ts.map +1 -0
- package/dist/types/Component/HeroBanner/HeroBanner.d.ts +9 -0
- package/dist/types/Component/HeroBanner/HeroBanner.d.ts.map +1 -0
- package/dist/types/Component/HeroBanner/HeroBanner.figma.d.ts +11 -0
- package/dist/types/Component/HeroBanner/HeroBanner.figma.d.ts.map +1 -0
- package/dist/types/Component/HeroSearch/HeroSearch.d.ts +14 -0
- package/dist/types/Component/HeroSearch/HeroSearch.d.ts.map +1 -0
- package/dist/types/Component/HeroSearch/HeroSearch.figma.d.ts +11 -0
- package/dist/types/Component/HeroSearch/HeroSearch.figma.d.ts.map +1 -0
- package/dist/types/Component/InPageAlert/InPageAlert.d.ts +8 -0
- package/dist/types/Component/InPageAlert/InPageAlert.d.ts.map +1 -0
- package/dist/types/Component/InPageAlert/InPageAlert.figma.d.ts +11 -0
- package/dist/types/Component/InPageAlert/InPageAlert.figma.d.ts.map +1 -0
- package/dist/types/Component/InPageNavigation/Elements/InPageNavigation.d.ts +37 -0
- package/dist/types/Component/InPageNavigation/Elements/InPageNavigation.d.ts.map +1 -0
- package/dist/types/Component/InPageNavigation/Hooks/useInPageNavigation.d.ts +15 -0
- package/dist/types/Component/InPageNavigation/Hooks/useInPageNavigation.d.ts.map +1 -0
- package/dist/types/Component/InPageNavigation/InPageNavigation.d.ts +9 -0
- package/dist/types/Component/InPageNavigation/InPageNavigation.d.ts.map +1 -0
- package/dist/types/Component/InPageNavigation/InPageNavigation.figma.d.ts +11 -0
- package/dist/types/Component/InPageNavigation/InPageNavigation.figma.d.ts.map +1 -0
- package/dist/types/Component/InPageNavigation/in-page-navigation.entry.d.ts +2 -0
- package/dist/types/Component/InPageNavigation/in-page-navigation.entry.d.ts.map +1 -0
- package/dist/types/Component/LinkList/LinkList.d.ts +13 -0
- package/dist/types/Component/LinkList/LinkList.d.ts.map +1 -0
- package/dist/types/Component/LinkList/LinkList.figma.d.ts +11 -0
- package/dist/types/Component/LinkList/LinkList.figma.d.ts.map +1 -0
- package/dist/types/Component/LinkList/LinkListItem.figma.d.ts +11 -0
- package/dist/types/Component/LinkList/LinkListItem.figma.d.ts.map +1 -0
- package/dist/types/Component/ListItem/Components/ListItemContent.d.ts +4 -0
- package/dist/types/Component/ListItem/Components/ListItemContent.d.ts.map +1 -0
- package/dist/types/Component/ListItem/Components/ListItemContent.figma.d.ts +11 -0
- package/dist/types/Component/ListItem/Components/ListItemContent.figma.d.ts.map +1 -0
- package/dist/types/Component/ListItem/Components/ListItemMedia.d.ts +7 -0
- package/dist/types/Component/ListItem/Components/ListItemMedia.d.ts.map +1 -0
- package/dist/types/Component/ListItem/Components/ListItemMedia.figma.d.ts +11 -0
- package/dist/types/Component/ListItem/Components/ListItemMedia.figma.d.ts.map +1 -0
- package/dist/types/Component/ListItem/ListItem.d.ts +9 -0
- package/dist/types/Component/ListItem/ListItem.d.ts.map +1 -0
- package/dist/types/Component/ListItem/ListItem.figma.d.ts +11 -0
- package/dist/types/Component/ListItem/ListItem.figma.d.ts.map +1 -0
- package/dist/types/Component/Navigation/Components/DropdownLevel.d.ts +10 -0
- package/dist/types/Component/Navigation/Components/DropdownLevel.d.ts.map +1 -0
- package/dist/types/Component/Navigation/Dropdown.d.ts +11 -0
- package/dist/types/Component/Navigation/Dropdown.d.ts.map +1 -0
- package/dist/types/Component/Navigation/Elements/Navigation.d.ts +41 -0
- package/dist/types/Component/Navigation/Elements/Navigation.d.ts.map +1 -0
- package/dist/types/Component/Navigation/Navigation.d.ts +17 -0
- package/dist/types/Component/Navigation/Navigation.d.ts.map +1 -0
- package/dist/types/Component/Navigation/Navigation.figma.d.ts +11 -0
- package/dist/types/Component/Navigation/Navigation.figma.d.ts.map +1 -0
- package/dist/types/Component/Navigation/navigation.entry.d.ts +2 -0
- package/dist/types/Component/Navigation/navigation.entry.d.ts.map +1 -0
- package/dist/types/Component/Pagination/Components/PaginationContext.d.ts +27 -0
- package/dist/types/Component/Pagination/Components/PaginationContext.d.ts.map +1 -0
- package/dist/types/Component/Pagination/Components/PaginationItem.d.ts +10 -0
- package/dist/types/Component/Pagination/Components/PaginationItem.d.ts.map +1 -0
- package/dist/types/Component/Pagination/Components/PaginationItem.figma.d.ts +11 -0
- package/dist/types/Component/Pagination/Components/PaginationItem.figma.d.ts.map +1 -0
- package/dist/types/Component/Pagination/Pagination.d.ts +6 -0
- package/dist/types/Component/Pagination/Pagination.d.ts.map +1 -0
- package/dist/types/Component/Pagination/Pagination.figma.d.ts +11 -0
- package/dist/types/Component/Pagination/Pagination.figma.d.ts.map +1 -0
- package/dist/types/Component/Popover/Components/PopoverTrigger.d.ts +37 -0
- package/dist/types/Component/Popover/Components/PopoverTrigger.d.ts.map +1 -0
- package/dist/types/Component/Popover/Elements/Popover.d.ts +21 -0
- package/dist/types/Component/Popover/Elements/Popover.d.ts.map +1 -0
- package/dist/types/Component/Popover/Popover.d.ts +26 -0
- package/dist/types/Component/Popover/Popover.d.ts.map +1 -0
- package/dist/types/Component/Popover/Popover.figma.d.ts +11 -0
- package/dist/types/Component/Popover/Popover.figma.d.ts.map +1 -0
- package/dist/types/Component/Popover/polyfills.d.ts +16 -0
- package/dist/types/Component/Popover/polyfills.d.ts.map +1 -0
- package/dist/types/Component/Popover/popover.entry.d.ts +2 -0
- package/dist/types/Component/Popover/popover.entry.d.ts.map +1 -0
- package/dist/types/Component/ResultsBar/Components/ResultsBarInfo.d.ts +9 -0
- package/dist/types/Component/ResultsBar/Components/ResultsBarInfo.d.ts.map +1 -0
- package/dist/types/Component/ResultsBar/Components/ResultsBarInfo.figma.d.ts +11 -0
- package/dist/types/Component/ResultsBar/Components/ResultsBarInfo.figma.d.ts.map +1 -0
- package/dist/types/Component/ResultsBar/Components/ResultsBarSort.d.ts +12 -0
- package/dist/types/Component/ResultsBar/Components/ResultsBarSort.d.ts.map +1 -0
- package/dist/types/Component/ResultsBar/Components/ResultsBarSort.figma.d.ts +11 -0
- package/dist/types/Component/ResultsBar/Components/ResultsBarSort.figma.d.ts.map +1 -0
- package/dist/types/Component/ResultsBar/ResultsBar.d.ts +4 -0
- package/dist/types/Component/ResultsBar/ResultsBar.d.ts.map +1 -0
- package/dist/types/Component/ResultsBar/ResultsBar.figma.d.ts +11 -0
- package/dist/types/Component/ResultsBar/ResultsBar.figma.d.ts.map +1 -0
- package/dist/types/Component/SideNavigation/Components/SideNavigationTree.d.ts +9 -0
- package/dist/types/Component/SideNavigation/Components/SideNavigationTree.d.ts.map +1 -0
- package/dist/types/Component/SideNavigation/Components/SideNavigationTree.figma.d.ts +11 -0
- package/dist/types/Component/SideNavigation/Components/SideNavigationTree.figma.d.ts.map +1 -0
- package/dist/types/Component/SideNavigation/SideNavigation.d.ts +10 -0
- package/dist/types/Component/SideNavigation/SideNavigation.d.ts.map +1 -0
- package/dist/types/Component/SideNavigation/SideNavigation.figma.d.ts +11 -0
- package/dist/types/Component/SideNavigation/SideNavigation.figma.d.ts.map +1 -0
- package/dist/types/Component/SocialShare/SocialShare.d.ts +10 -0
- package/dist/types/Component/SocialShare/SocialShare.d.ts.map +1 -0
- package/dist/types/Component/SocialShare/SocialShare.figma.d.ts +11 -0
- package/dist/types/Component/SocialShare/SocialShare.figma.d.ts.map +1 -0
- package/dist/types/Component/Sticky/Elements/Sticky.d.ts +28 -0
- package/dist/types/Component/Sticky/Elements/Sticky.d.ts.map +1 -0
- package/dist/types/Component/Sticky/Sticky.d.ts +17 -0
- package/dist/types/Component/Sticky/Sticky.d.ts.map +1 -0
- package/dist/types/Component/Sticky/Sticky.figma.d.ts +11 -0
- package/dist/types/Component/Sticky/Sticky.figma.d.ts.map +1 -0
- package/dist/types/Component/Sticky/sticky.entry.d.ts +2 -0
- package/dist/types/Component/Sticky/sticky.entry.d.ts.map +1 -0
- package/dist/types/Component/Tabs/Components/Tab.d.ts +8 -0
- package/dist/types/Component/Tabs/Components/Tab.d.ts.map +1 -0
- package/dist/types/Component/Tabs/Components/Tab.figma.d.ts +11 -0
- package/dist/types/Component/Tabs/Components/Tab.figma.d.ts.map +1 -0
- package/dist/types/Component/Tabs/Components/TabDropMenu.d.ts +4 -0
- package/dist/types/Component/Tabs/Components/TabDropMenu.d.ts.map +1 -0
- package/dist/types/Component/Tabs/Components/TabList.d.ts +4 -0
- package/dist/types/Component/Tabs/Components/TabList.d.ts.map +1 -0
- package/dist/types/Component/Tabs/Components/TabPanel.d.ts +8 -0
- package/dist/types/Component/Tabs/Components/TabPanel.d.ts.map +1 -0
- package/dist/types/Component/Tabs/Components/TabPanel.figma.d.ts +11 -0
- package/dist/types/Component/Tabs/Components/TabPanel.figma.d.ts.map +1 -0
- package/dist/types/Component/Tabs/Elements/Tabs.d.ts +45 -0
- package/dist/types/Component/Tabs/Elements/Tabs.d.ts.map +1 -0
- package/dist/types/Component/Tabs/Tabs.d.ts +18 -0
- package/dist/types/Component/Tabs/Tabs.d.ts.map +1 -0
- package/dist/types/Component/Tabs/Tabs.figma.d.ts +11 -0
- package/dist/types/Component/Tabs/Tabs.figma.d.ts.map +1 -0
- package/dist/types/Component/Tabs/tabs.entry.d.ts +2 -0
- package/dist/types/Component/Tabs/tabs.entry.d.ts.map +1 -0
- package/dist/types/Component/Tag/Tag.d.ts +16 -0
- package/dist/types/Component/Tag/Tag.d.ts.map +1 -0
- package/dist/types/Component/Tag/Tag.figma.d.ts +11 -0
- package/dist/types/Component/Tag/Tag.figma.d.ts.map +1 -0
- package/dist/types/Component/UtilityList/Elements/UtilityList.d.ts +28 -0
- package/dist/types/Component/UtilityList/Elements/UtilityList.d.ts.map +1 -0
- package/dist/types/Component/UtilityList/utility-list.entry.d.ts +2 -0
- package/dist/types/Component/UtilityList/utility-list.entry.d.ts.map +1 -0
- package/dist/types/Form/Autocomplete/Autocomplete.d.ts +31 -0
- package/dist/types/Form/Autocomplete/Autocomplete.d.ts.map +1 -0
- package/dist/types/Form/Autocomplete/Elements/Autocomplete.d.ts +53 -0
- package/dist/types/Form/Autocomplete/Elements/Autocomplete.d.ts.map +1 -0
- package/dist/types/Form/Autocomplete/autocomplete.entry.d.ts +2 -0
- package/dist/types/Form/Autocomplete/autocomplete.entry.d.ts.map +1 -0
- package/dist/types/Form/Checkbox/Checkbox.figma.d.ts +11 -0
- package/dist/types/Form/Checkbox/Checkbox.figma.d.ts.map +1 -0
- package/dist/types/Form/Checkbox/FormCheckbox.d.ts +21 -0
- package/dist/types/Form/Checkbox/FormCheckbox.d.ts.map +1 -0
- package/dist/types/Form/Checkbox/FormCheckbox.figma.d.ts +11 -0
- package/dist/types/Form/Checkbox/FormCheckbox.figma.d.ts.map +1 -0
- package/dist/types/Form/Description/FormDescription.d.ts +20 -0
- package/dist/types/Form/Description/FormDescription.d.ts.map +1 -0
- package/dist/types/Form/Description/FormDescription.figma.d.ts +11 -0
- package/dist/types/Form/Description/FormDescription.figma.d.ts.map +1 -0
- package/dist/types/Form/Form/Form.d.ts +5 -0
- package/dist/types/Form/Form/Form.d.ts.map +1 -0
- package/dist/types/Form/Form/FormTitle.d.ts +6 -0
- package/dist/types/Form/Form/FormTitle.d.ts.map +1 -0
- package/dist/types/Form/FormItem/FormItem.d.ts +9 -0
- package/dist/types/Form/FormItem/FormItem.d.ts.map +1 -0
- package/dist/types/Form/FormItem/FormItem.figma.d.ts +11 -0
- package/dist/types/Form/FormItem/FormItem.figma.d.ts.map +1 -0
- package/dist/types/Form/Label/FormLabel.d.ts +8 -0
- package/dist/types/Form/Label/FormLabel.d.ts.map +1 -0
- package/dist/types/Form/Label/FormLabel.figma.d.ts +11 -0
- package/dist/types/Form/Label/FormLabel.figma.d.ts.map +1 -0
- package/dist/types/Form/Radio/FormRadio.d.ts +15 -0
- package/dist/types/Form/Radio/FormRadio.d.ts.map +1 -0
- package/dist/types/Form/Radio/FormRadio.figma.d.ts +11 -0
- package/dist/types/Form/Radio/FormRadio.figma.d.ts.map +1 -0
- package/dist/types/Form/Radio/Radio.figma.d.ts +11 -0
- package/dist/types/Form/Radio/Radio.figma.d.ts.map +1 -0
- package/dist/types/Form/Search/FormSearch.d.ts +13 -0
- package/dist/types/Form/Search/FormSearch.d.ts.map +1 -0
- package/dist/types/Form/Search/FormSearch.figma.d.ts +11 -0
- package/dist/types/Form/Search/FormSearch.figma.d.ts.map +1 -0
- package/dist/types/Form/Select/FormSelect.d.ts +18 -0
- package/dist/types/Form/Select/FormSelect.d.ts.map +1 -0
- package/dist/types/Form/Select/FormSelect.figma.d.ts +11 -0
- package/dist/types/Form/Select/FormSelect.figma.d.ts.map +1 -0
- package/dist/types/Form/TextInput/FormText.d.ts +10 -0
- package/dist/types/Form/TextInput/FormText.d.ts.map +1 -0
- package/dist/types/Form/TextInput/FormText.figma.d.ts +11 -0
- package/dist/types/Form/TextInput/FormText.figma.d.ts.map +1 -0
- package/dist/types/Form/Textarea/FormTextarea.d.ts +10 -0
- package/dist/types/Form/Textarea/FormTextarea.d.ts.map +1 -0
- package/dist/types/Form/Textarea/FormTextarea.figma.d.ts +11 -0
- package/dist/types/Form/Textarea/FormTextarea.figma.d.ts.map +1 -0
- package/dist/types/Layout/Footer/Footer.d.ts +12 -0
- package/dist/types/Layout/Footer/Footer.d.ts.map +1 -0
- package/dist/types/Layout/Footer/Footer.figma.d.ts +11 -0
- package/dist/types/Layout/Footer/Footer.figma.d.ts.map +1 -0
- package/dist/types/Layout/Grid/Grid.d.ts +13 -0
- package/dist/types/Layout/Grid/Grid.d.ts.map +1 -0
- package/dist/types/Layout/Grid/Grid.figma.d.ts +11 -0
- package/dist/types/Layout/Grid/Grid.figma.d.ts.map +1 -0
- package/dist/types/Layout/Header/Components/GlobalToggle.d.ts +14 -0
- package/dist/types/Layout/Header/Components/GlobalToggle.d.ts.map +1 -0
- package/dist/types/Layout/Header/Components/Logo.d.ts +9 -0
- package/dist/types/Layout/Header/Components/Logo.d.ts.map +1 -0
- package/dist/types/Layout/Header/Elements/GlobalToggle.d.ts +41 -0
- package/dist/types/Layout/Header/Elements/GlobalToggle.d.ts.map +1 -0
- package/dist/types/Layout/Header/Header.d.ts +14 -0
- package/dist/types/Layout/Header/Header.d.ts.map +1 -0
- package/dist/types/Layout/Header/Header.figma.d.ts +11 -0
- package/dist/types/Layout/Header/Header.figma.d.ts.map +1 -0
- package/dist/types/Layout/Header/header.entry.d.ts +2 -0
- package/dist/types/Layout/Header/header.entry.d.ts.map +1 -0
- package/dist/types/Layout/Masthead/Masthead.d.ts +11 -0
- package/dist/types/Layout/Masthead/Masthead.d.ts.map +1 -0
- package/dist/types/Layout/Masthead/Masthead.figma.d.ts +11 -0
- package/dist/types/Layout/Masthead/Masthead.figma.d.ts.map +1 -0
- package/dist/types/Layout/Page/Page.d.ts +10 -0
- package/dist/types/Layout/Page/Page.d.ts.map +1 -0
- package/dist/types/Layout/Page/Page.figma.d.ts +11 -0
- package/dist/types/Layout/Page/Page.figma.d.ts.map +1 -0
- package/dist/types/Layout/Section/Section.d.ts +17 -0
- package/dist/types/Layout/Section/Section.d.ts.map +1 -0
- package/dist/types/Layout/Section/Section.figma.d.ts +11 -0
- package/dist/types/Layout/Section/Section.figma.d.ts.map +1 -0
- package/dist/types/Layout/Section/SectionGrid.d.ts +17 -0
- package/dist/types/Layout/Section/SectionGrid.d.ts.map +1 -0
- package/dist/types/Layout/Sidebar/Sidebar.d.ts +12 -0
- package/dist/types/Layout/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/types/Layout/Sidebar/Sidebar.figma.d.ts +11 -0
- package/dist/types/Layout/Sidebar/Sidebar.figma.d.ts.map +1 -0
- package/dist/types/Utility/Context/ImageComponent.d.ts +22 -0
- package/dist/types/Utility/Context/ImageComponent.d.ts.map +1 -0
- package/dist/types/Utility/Context/LinkComponent.d.ts +22 -0
- package/dist/types/Utility/Context/LinkComponent.d.ts.map +1 -0
- package/dist/types/Utility/Elements/breakpoint-loader.d.ts +27 -0
- package/dist/types/Utility/Elements/breakpoint-loader.d.ts.map +1 -0
- package/dist/types/Utility/Elements/cookie-compliance.d.ts +57 -0
- package/dist/types/Utility/Elements/cookie-compliance.d.ts.map +1 -0
- package/dist/types/Utility/Elements/disclosure-widget.d.ts +33 -0
- package/dist/types/Utility/Elements/disclosure-widget.d.ts.map +1 -0
- package/dist/types/Utility/Elements/io-loader.d.ts +19 -0
- package/dist/types/Utility/Elements/io-loader.d.ts.map +1 -0
- package/dist/types/Utility/Elements/keyboard.d.ts +16 -0
- package/dist/types/Utility/Elements/keyboard.d.ts.map +1 -0
- package/dist/types/Utility/Elements/validators.d.ts +133 -0
- package/dist/types/Utility/Elements/validators.d.ts.map +1 -0
- package/dist/types/Utility/Hooks/useLocalStorage.d.ts +8 -0
- package/dist/types/Utility/Hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/types/Utility/Hooks/useMediaQuery.d.ts +3 -0
- package/dist/types/Utility/Hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/types/Utility/Hooks/useToggle.d.ts +3 -0
- package/dist/types/Utility/Hooks/useToggle.d.ts.map +1 -0
- package/dist/types/Utility/Hooks/useUrlParams.d.ts +8 -0
- package/dist/types/Utility/Hooks/useUrlParams.d.ts.map +1 -0
- package/dist/types/Utility/utilities.d.ts +36 -0
- package/dist/types/Utility/utilities.d.ts.map +1 -0
- package/dist/types/elements.d.ts +18 -0
- package/dist/types/elements.d.ts.map +1 -0
- package/dist/types/enums.d.ts +141 -0
- package/dist/types/enums.d.ts.map +1 -0
- package/dist/types/mockups/constants.d.ts +21 -0
- package/dist/types/mockups/constants.d.ts.map +1 -0
- package/dist/types/react.d.ts +90 -0
- package/dist/types/react.d.ts.map +1 -0
- package/dist/types/src/Atom/Background/Background.stories.d.ts +27 -0
- package/dist/types/src/Atom/Background/Background.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/Button/Button.d.ts +17 -0
- package/dist/types/src/Atom/Button/Button.d.ts.map +1 -0
- package/dist/types/src/Atom/Button/Button.stories.d.ts +47 -0
- package/dist/types/src/Atom/Button/Button.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/DefinitionList/DefinitionList.d.ts +10 -0
- package/dist/types/src/Atom/DefinitionList/DefinitionList.d.ts.map +1 -0
- package/dist/types/src/Atom/DefinitionList/DefinitionList.stories.d.ts +12 -0
- package/dist/types/src/Atom/DefinitionList/DefinitionList.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/Heading/Heading.d.ts +25 -0
- package/dist/types/src/Atom/Heading/Heading.d.ts.map +1 -0
- package/dist/types/src/Atom/Heading/Heading.stories.d.ts +20 -0
- package/dist/types/src/Atom/Heading/Heading.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/Icon/Icon.d.ts +9 -0
- package/dist/types/src/Atom/Icon/Icon.d.ts.map +1 -0
- package/dist/types/src/Atom/Icon/Icon.stories.d.ts +28 -0
- package/dist/types/src/Atom/Icon/Icon.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/Image/Image.stories.d.ts +11 -0
- package/dist/types/src/Atom/Image/Image.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/Link/Link.d.ts +13 -0
- package/dist/types/src/Atom/Link/Link.d.ts.map +1 -0
- package/dist/types/src/Atom/Link/Link.stories.d.ts +27 -0
- package/dist/types/src/Atom/Link/Link.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/Media/Media.d.ts +10 -0
- package/dist/types/src/Atom/Media/Media.d.ts.map +1 -0
- package/dist/types/src/Atom/Media/Media.stories.d.ts +14 -0
- package/dist/types/src/Atom/Media/Media.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/Spacing/Spacing.stories.d.ts +13 -0
- package/dist/types/src/Atom/Spacing/Spacing.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/Table/Table.stories.d.ts +14 -0
- package/dist/types/src/Atom/Table/Table.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/Table/TableResponsive.stories.d.ts +8 -0
- package/dist/types/src/Atom/Table/TableResponsive.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/Text/Text.d.ts +10 -0
- package/dist/types/src/Atom/Text/Text.d.ts.map +1 -0
- package/dist/types/src/Atom/Text/Text.stories.d.ts +23 -0
- package/dist/types/src/Atom/Text/Text.stories.d.ts.map +1 -0
- package/dist/types/src/Atom/Video/Video.d.ts +5 -0
- package/dist/types/src/Atom/Video/Video.d.ts.map +1 -0
- package/dist/types/src/Atom/Video/Video.stories.d.ts +10 -0
- package/dist/types/src/Atom/Video/Video.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Accordion/Accordion.d.ts +16 -0
- package/dist/types/src/Component/Accordion/Accordion.d.ts.map +1 -0
- package/dist/types/src/Component/Accordion/Accordion.stories.d.ts +13 -0
- package/dist/types/src/Component/Accordion/Accordion.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Accordion/AccordionItem.stories.d.ts +29 -0
- package/dist/types/src/Component/Accordion/AccordionItem.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Accordion/Components/AccordionContent.d.ts +4 -0
- package/dist/types/src/Component/Accordion/Components/AccordionContent.d.ts.map +1 -0
- package/dist/types/src/Component/Accordion/Components/AccordionTitle.d.ts +8 -0
- package/dist/types/src/Component/Accordion/Components/AccordionTitle.d.ts.map +1 -0
- package/dist/types/src/Component/Accordion/Components/AccordionTitleIcon.d.ts +7 -0
- package/dist/types/src/Component/Accordion/Components/AccordionTitleIcon.d.ts.map +1 -0
- package/dist/types/src/Component/Accordion/Elements/Accordion.d.ts +23 -0
- package/dist/types/src/Component/Accordion/Elements/Accordion.d.ts.map +1 -0
- package/dist/types/src/Component/Accordion/Elements/AccordionDiv.d.ts +24 -0
- package/dist/types/src/Component/Accordion/Elements/AccordionDiv.d.ts.map +1 -0
- package/dist/types/src/Component/Accordion/Elements/AccordionGroup.d.ts +26 -0
- package/dist/types/src/Component/Accordion/Elements/AccordionGroup.d.ts.map +1 -0
- package/dist/types/src/Component/Accordion/Elements/AccordionMobile.d.ts +20 -0
- package/dist/types/src/Component/Accordion/Elements/AccordionMobile.d.ts.map +1 -0
- package/dist/types/src/Component/Accordion/accordion.entry.d.ts +2 -0
- package/dist/types/src/Component/Accordion/accordion.entry.d.ts.map +1 -0
- package/dist/types/src/Component/Breadcrumb/Breadcrumb.d.ts +10 -0
- package/dist/types/src/Component/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/types/src/Component/Breadcrumb/Breadcrumb.stories.d.ts +9 -0
- package/dist/types/src/Component/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Callout/Callout.stories.d.ts +8 -0
- package/dist/types/src/Component/Callout/Callout.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Card/Card.d.ts +13 -0
- package/dist/types/src/Component/Card/Card.d.ts.map +1 -0
- package/dist/types/src/Component/Card/Card.stories.d.ts +51 -0
- package/dist/types/src/Component/Card/Card.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Card/Components/CardContent.d.ts +4 -0
- package/dist/types/src/Component/Card/Components/CardContent.d.ts.map +1 -0
- package/dist/types/src/Component/Card/Components/CardMedia.d.ts +7 -0
- package/dist/types/src/Component/Card/Components/CardMedia.d.ts.map +1 -0
- package/dist/types/src/Component/Carousel/Carousel.d.ts +11 -0
- package/dist/types/src/Component/Carousel/Carousel.d.ts.map +1 -0
- package/dist/types/src/Component/Carousel/Carousel.stories.d.ts +29 -0
- package/dist/types/src/Component/Carousel/Carousel.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Carousel/Elements/Carousel.d.ts +40 -0
- package/dist/types/src/Component/Carousel/Elements/Carousel.d.ts.map +1 -0
- package/dist/types/src/Component/ContentBlock/Components/ContentBlockContent.d.ts +4 -0
- package/dist/types/src/Component/ContentBlock/Components/ContentBlockContent.d.ts.map +1 -0
- package/dist/types/src/Component/ContentBlock/Components/ContentBlockMedia.d.ts +7 -0
- package/dist/types/src/Component/ContentBlock/Components/ContentBlockMedia.d.ts.map +1 -0
- package/dist/types/src/Component/ContentBlock/ContentBlock.d.ts +8 -0
- package/dist/types/src/Component/ContentBlock/ContentBlock.d.ts.map +1 -0
- package/dist/types/src/Component/ContentBlock/ContentBlock.stories.d.ts +20 -0
- package/dist/types/src/Component/ContentBlock/ContentBlock.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Dialog/Components/DialogCloseButton.d.ts +4 -0
- package/dist/types/src/Component/Dialog/Components/DialogCloseButton.d.ts.map +1 -0
- package/dist/types/src/Component/Dialog/Components/DialogContent.d.ts +4 -0
- package/dist/types/src/Component/Dialog/Components/DialogContent.d.ts.map +1 -0
- package/dist/types/src/Component/Dialog/Dialog.d.ts +17 -0
- package/dist/types/src/Component/Dialog/Dialog.d.ts.map +1 -0
- package/dist/types/src/Component/Dialog/Dialog.stories.d.ts +32 -0
- package/dist/types/src/Component/Dialog/Dialog.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Dialog/Elements/Dialog.d.ts +27 -0
- package/dist/types/src/Component/Dialog/Elements/Dialog.d.ts.map +1 -0
- package/dist/types/src/Component/Dialog/dialog.entry.d.ts +2 -0
- package/dist/types/src/Component/Dialog/dialog.entry.d.ts.map +1 -0
- package/dist/types/src/Component/DropMenu/Components/DropMenuContext.d.ts +27 -0
- package/dist/types/src/Component/DropMenu/Components/DropMenuContext.d.ts.map +1 -0
- package/dist/types/src/Component/DropMenu/Components/DropMenuItem.d.ts +10 -0
- package/dist/types/src/Component/DropMenu/Components/DropMenuItem.d.ts.map +1 -0
- package/dist/types/src/Component/DropMenu/DropMenu.d.ts +14 -0
- package/dist/types/src/Component/DropMenu/DropMenu.d.ts.map +1 -0
- package/dist/types/src/Component/DropMenu/DropMenu.stories.d.ts +27 -0
- package/dist/types/src/Component/DropMenu/DropMenu.stories.d.ts.map +1 -0
- package/dist/types/src/Component/DropMenu/Elements/DropMenu.d.ts +28 -0
- package/dist/types/src/Component/DropMenu/Elements/DropMenu.d.ts.map +1 -0
- package/dist/types/src/Component/DropMenu/drop-menu.entry.d.ts +2 -0
- package/dist/types/src/Component/DropMenu/drop-menu.entry.d.ts.map +1 -0
- package/dist/types/src/Component/Filters/Elements/Filters.d.ts +41 -0
- package/dist/types/src/Component/Filters/Elements/Filters.d.ts.map +1 -0
- package/dist/types/src/Component/Filters/FilterItem.d.ts +23 -0
- package/dist/types/src/Component/Filters/FilterItem.d.ts.map +1 -0
- package/dist/types/src/Component/Filters/FilterItem.stories.d.ts +22 -0
- package/dist/types/src/Component/Filters/FilterItem.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Filters/Filters.d.ts +30 -0
- package/dist/types/src/Component/Filters/Filters.d.ts.map +1 -0
- package/dist/types/src/Component/Filters/Filters.stories.d.ts +28 -0
- package/dist/types/src/Component/Filters/Filters.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Filters/filters.entry.d.ts +2 -0
- package/dist/types/src/Component/Filters/filters.entry.d.ts.map +1 -0
- package/dist/types/src/Component/GlobalAlert/Elements/ClosableAlert.d.ts +29 -0
- package/dist/types/src/Component/GlobalAlert/Elements/ClosableAlert.d.ts.map +1 -0
- package/dist/types/src/Component/GlobalAlert/GlobalAlert.d.ts +10 -0
- package/dist/types/src/Component/GlobalAlert/GlobalAlert.d.ts.map +1 -0
- package/dist/types/src/Component/GlobalAlert/GlobalAlert.stories.d.ts +16 -0
- package/dist/types/src/Component/GlobalAlert/GlobalAlert.stories.d.ts.map +1 -0
- package/dist/types/src/Component/GlobalAlert/global-alert.entry.d.ts +2 -0
- package/dist/types/src/Component/GlobalAlert/global-alert.entry.d.ts.map +1 -0
- package/dist/types/src/Component/HeroBanner/HeroBanner.d.ts +8 -0
- package/dist/types/src/Component/HeroBanner/HeroBanner.d.ts.map +1 -0
- package/dist/types/src/Component/HeroBanner/HeroBanner.stories.d.ts +24 -0
- package/dist/types/src/Component/HeroBanner/HeroBanner.stories.d.ts.map +1 -0
- package/dist/types/src/Component/HeroSearch/HeroSearch.d.ts +10 -0
- package/dist/types/src/Component/HeroSearch/HeroSearch.d.ts.map +1 -0
- package/dist/types/src/Component/HeroSearch/HeroSearch.stories.d.ts +20 -0
- package/dist/types/src/Component/HeroSearch/HeroSearch.stories.d.ts.map +1 -0
- package/dist/types/src/Component/InPageAlert/InPageAlert.d.ts +8 -0
- package/dist/types/src/Component/InPageAlert/InPageAlert.d.ts.map +1 -0
- package/dist/types/src/Component/InPageAlert/InPageAlert.stories.d.ts +16 -0
- package/dist/types/src/Component/InPageAlert/InPageAlert.stories.d.ts.map +1 -0
- package/dist/types/src/Component/InPageNavigation/Elements/InPageNavigation.d.ts +37 -0
- package/dist/types/src/Component/InPageNavigation/Elements/InPageNavigation.d.ts.map +1 -0
- package/dist/types/src/Component/InPageNavigation/Hooks/useInPageNavigation.d.ts +15 -0
- package/dist/types/src/Component/InPageNavigation/Hooks/useInPageNavigation.d.ts.map +1 -0
- package/dist/types/src/Component/InPageNavigation/InPageNavigation.d.ts +9 -0
- package/dist/types/src/Component/InPageNavigation/InPageNavigation.d.ts.map +1 -0
- package/dist/types/src/Component/InPageNavigation/InPageNavigation.stories.d.ts +29 -0
- package/dist/types/src/Component/InPageNavigation/InPageNavigation.stories.d.ts.map +1 -0
- package/dist/types/src/Component/InPageNavigation/in-page-navigation.entry.d.ts +2 -0
- package/dist/types/src/Component/InPageNavigation/in-page-navigation.entry.d.ts.map +1 -0
- package/dist/types/src/Component/LinkList/LinkList.d.ts +13 -0
- package/dist/types/src/Component/LinkList/LinkList.d.ts.map +1 -0
- package/dist/types/src/Component/LinkList/LinkList.stories.d.ts +12 -0
- package/dist/types/src/Component/LinkList/LinkList.stories.d.ts.map +1 -0
- package/dist/types/src/Component/ListItem/Components/ListItemContent.d.ts +4 -0
- package/dist/types/src/Component/ListItem/Components/ListItemContent.d.ts.map +1 -0
- package/dist/types/src/Component/ListItem/Components/ListItemMedia.d.ts +7 -0
- package/dist/types/src/Component/ListItem/Components/ListItemMedia.d.ts.map +1 -0
- package/dist/types/src/Component/ListItem/ListItem.d.ts +9 -0
- package/dist/types/src/Component/ListItem/ListItem.d.ts.map +1 -0
- package/dist/types/src/Component/ListItem/ListItem.stories.d.ts +37 -0
- package/dist/types/src/Component/ListItem/ListItem.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Navigation/Components/DropdownLevel.d.ts +10 -0
- package/dist/types/src/Component/Navigation/Components/DropdownLevel.d.ts.map +1 -0
- package/dist/types/src/Component/Navigation/Dropdown.d.ts +11 -0
- package/dist/types/src/Component/Navigation/Dropdown.d.ts.map +1 -0
- package/dist/types/src/Component/Navigation/Dropdown.stories.d.ts +8 -0
- package/dist/types/src/Component/Navigation/Dropdown.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Navigation/Elements/Navigation.d.ts +41 -0
- package/dist/types/src/Component/Navigation/Elements/Navigation.d.ts.map +1 -0
- package/dist/types/src/Component/Navigation/Navigation.d.ts +17 -0
- package/dist/types/src/Component/Navigation/Navigation.d.ts.map +1 -0
- package/dist/types/src/Component/Navigation/Navigation.stories.d.ts +28 -0
- package/dist/types/src/Component/Navigation/Navigation.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Navigation/navigation.entry.d.ts +2 -0
- package/dist/types/src/Component/Navigation/navigation.entry.d.ts.map +1 -0
- package/dist/types/src/Component/Pagination/Components/PaginationContext.d.ts +27 -0
- package/dist/types/src/Component/Pagination/Components/PaginationContext.d.ts.map +1 -0
- package/dist/types/src/Component/Pagination/Components/PaginationItem.d.ts +10 -0
- package/dist/types/src/Component/Pagination/Components/PaginationItem.d.ts.map +1 -0
- package/dist/types/src/Component/Pagination/Pagination.d.ts +6 -0
- package/dist/types/src/Component/Pagination/Pagination.d.ts.map +1 -0
- package/dist/types/src/Component/Pagination/Pagination.stories.d.ts +11 -0
- package/dist/types/src/Component/Pagination/Pagination.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Popover/Components/PopoverTrigger.d.ts +37 -0
- package/dist/types/src/Component/Popover/Components/PopoverTrigger.d.ts.map +1 -0
- package/dist/types/src/Component/Popover/Elements/Popover.d.ts +21 -0
- package/dist/types/src/Component/Popover/Elements/Popover.d.ts.map +1 -0
- package/dist/types/src/Component/Popover/Popover.d.ts +30 -0
- package/dist/types/src/Component/Popover/Popover.d.ts.map +1 -0
- package/dist/types/src/Component/Popover/Popover.stories.d.ts +29 -0
- package/dist/types/src/Component/Popover/Popover.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Popover/polyfills.d.ts +12 -0
- package/dist/types/src/Component/Popover/polyfills.d.ts.map +1 -0
- package/dist/types/src/Component/Popover/popover.entry.d.ts +2 -0
- package/dist/types/src/Component/Popover/popover.entry.d.ts.map +1 -0
- package/dist/types/src/Component/ResultsBar/Components/ResultsBarInfo.d.ts +9 -0
- package/dist/types/src/Component/ResultsBar/Components/ResultsBarInfo.d.ts.map +1 -0
- package/dist/types/src/Component/ResultsBar/Components/ResultsBarSort.d.ts +12 -0
- package/dist/types/src/Component/ResultsBar/Components/ResultsBarSort.d.ts.map +1 -0
- package/dist/types/src/Component/ResultsBar/ResultsBar.d.ts +4 -0
- package/dist/types/src/Component/ResultsBar/ResultsBar.d.ts.map +1 -0
- package/dist/types/src/Component/ResultsBar/ResultsBar.stories.d.ts +19 -0
- package/dist/types/src/Component/ResultsBar/ResultsBar.stories.d.ts.map +1 -0
- package/dist/types/src/Component/SideNavigation/Components/SideNavigationTree.d.ts +9 -0
- package/dist/types/src/Component/SideNavigation/Components/SideNavigationTree.d.ts.map +1 -0
- package/dist/types/src/Component/SideNavigation/SideNavigation.d.ts +10 -0
- package/dist/types/src/Component/SideNavigation/SideNavigation.d.ts.map +1 -0
- package/dist/types/src/Component/SideNavigation/SideNavigation.stories.d.ts +9 -0
- package/dist/types/src/Component/SideNavigation/SideNavigation.stories.d.ts.map +1 -0
- package/dist/types/src/Component/SocialLinks/SocialLinks.stories.d.ts +8 -0
- package/dist/types/src/Component/SocialLinks/SocialLinks.stories.d.ts.map +1 -0
- package/dist/types/src/Component/SocialShare/SocialShare.d.ts +10 -0
- package/dist/types/src/Component/SocialShare/SocialShare.d.ts.map +1 -0
- package/dist/types/src/Component/SocialShare/SocialShare.stories.d.ts +7 -0
- package/dist/types/src/Component/SocialShare/SocialShare.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Steps/StepItem.stories.d.ts +12 -0
- package/dist/types/src/Component/Steps/StepItem.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Steps/Steps.stories.d.ts +32 -0
- package/dist/types/src/Component/Steps/Steps.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Sticky/Elements/Sticky.d.ts +28 -0
- package/dist/types/src/Component/Sticky/Elements/Sticky.d.ts.map +1 -0
- package/dist/types/src/Component/Sticky/Sticky.d.ts +12 -0
- package/dist/types/src/Component/Sticky/Sticky.d.ts.map +1 -0
- package/dist/types/src/Component/Sticky/Sticky.stories.d.ts +13 -0
- package/dist/types/src/Component/Sticky/Sticky.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Sticky/sticky.entry.d.ts +2 -0
- package/dist/types/src/Component/Sticky/sticky.entry.d.ts.map +1 -0
- package/dist/types/src/Component/Tabs/Components/Tab.d.ts +8 -0
- package/dist/types/src/Component/Tabs/Components/Tab.d.ts.map +1 -0
- package/dist/types/src/Component/Tabs/Components/TabDropMenu.d.ts +4 -0
- package/dist/types/src/Component/Tabs/Components/TabDropMenu.d.ts.map +1 -0
- package/dist/types/src/Component/Tabs/Components/TabList.d.ts +4 -0
- package/dist/types/src/Component/Tabs/Components/TabList.d.ts.map +1 -0
- package/dist/types/src/Component/Tabs/Components/TabPanel.d.ts +8 -0
- package/dist/types/src/Component/Tabs/Components/TabPanel.d.ts.map +1 -0
- package/dist/types/src/Component/Tabs/Elements/Tabs.d.ts +45 -0
- package/dist/types/src/Component/Tabs/Elements/Tabs.d.ts.map +1 -0
- package/dist/types/src/Component/Tabs/TabItem.stories.d.ts +11 -0
- package/dist/types/src/Component/Tabs/TabItem.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Tabs/Tabs.d.ts +17 -0
- package/dist/types/src/Component/Tabs/Tabs.d.ts.map +1 -0
- package/dist/types/src/Component/Tabs/Tabs.stories.d.ts +19 -0
- package/dist/types/src/Component/Tabs/Tabs.stories.d.ts.map +1 -0
- package/dist/types/src/Component/Tabs/tabs.entry.d.ts +2 -0
- package/dist/types/src/Component/Tabs/tabs.entry.d.ts.map +1 -0
- package/dist/types/src/Component/Tag/Tag.d.ts +9 -0
- package/dist/types/src/Component/Tag/Tag.d.ts.map +1 -0
- package/dist/types/src/Component/Tag/Tag.stories.d.ts +19 -0
- package/dist/types/src/Component/Tag/Tag.stories.d.ts.map +1 -0
- package/dist/types/src/Component/UtilityList/Elements/UtilityList.d.ts +28 -0
- package/dist/types/src/Component/UtilityList/Elements/UtilityList.d.ts.map +1 -0
- package/dist/types/src/Component/UtilityList/UtilityList.stories.d.ts +20 -0
- package/dist/types/src/Component/UtilityList/UtilityList.stories.d.ts.map +1 -0
- package/dist/types/src/Component/UtilityList/utility-list.entry.d.ts +2 -0
- package/dist/types/src/Component/UtilityList/utility-list.entry.d.ts.map +1 -0
- package/dist/types/src/Form/Checkbox/Checkbox.stories.d.ts +9 -0
- package/dist/types/src/Form/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Checkbox/FormCheckbox.d.ts +21 -0
- package/dist/types/src/Form/Checkbox/FormCheckbox.d.ts.map +1 -0
- package/dist/types/src/Form/Checkbox/FormCheckbox.stories.d.ts +7 -0
- package/dist/types/src/Form/Checkbox/FormCheckbox.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Description/Description.stories.d.ts +8 -0
- package/dist/types/src/Form/Description/Description.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Description/FormDescription.d.ts +20 -0
- package/dist/types/src/Form/Description/FormDescription.d.ts.map +1 -0
- package/dist/types/src/Form/Description/FormDescription.stories.d.ts +6 -0
- package/dist/types/src/Form/Description/FormDescription.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Description/FormStatus.stories.d.ts +9 -0
- package/dist/types/src/Form/Description/FormStatus.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Form/Form.d.ts +5 -0
- package/dist/types/src/Form/Form/Form.d.ts.map +1 -0
- package/dist/types/src/Form/Form/Form.stories.d.ts +6 -0
- package/dist/types/src/Form/Form/Form.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Form/FormTitle.d.ts +6 -0
- package/dist/types/src/Form/Form/FormTitle.d.ts.map +1 -0
- package/dist/types/src/Form/Form/FormTitle.stories.d.ts +6 -0
- package/dist/types/src/Form/Form/FormTitle.stories.d.ts.map +1 -0
- package/dist/types/src/Form/FormItem/FormItem.d.ts +9 -0
- package/dist/types/src/Form/FormItem/FormItem.d.ts.map +1 -0
- package/dist/types/src/Form/FormItem/FormItem.stories.d.ts +13 -0
- package/dist/types/src/Form/FormItem/FormItem.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Label/FormLabel.d.ts +14 -0
- package/dist/types/src/Form/Label/FormLabel.d.ts.map +1 -0
- package/dist/types/src/Form/Label/FormLabel.stories.d.ts +7 -0
- package/dist/types/src/Form/Label/FormLabel.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Label/Label.stories.d.ts +10 -0
- package/dist/types/src/Form/Label/Label.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Radio/FormRadio.d.ts +15 -0
- package/dist/types/src/Form/Radio/FormRadio.d.ts.map +1 -0
- package/dist/types/src/Form/Radio/FormRadio.stories.d.ts +6 -0
- package/dist/types/src/Form/Radio/FormRadio.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Radio/Radio.stories.d.ts +9 -0
- package/dist/types/src/Form/Radio/Radio.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Search/FormSearch.d.ts +13 -0
- package/dist/types/src/Form/Search/FormSearch.d.ts.map +1 -0
- package/dist/types/src/Form/Search/FormSearch.stories.d.ts +7 -0
- package/dist/types/src/Form/Search/FormSearch.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Search/Search.stories.d.ts +11 -0
- package/dist/types/src/Form/Search/Search.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Select/FormSelect.d.ts +18 -0
- package/dist/types/src/Form/Select/FormSelect.d.ts.map +1 -0
- package/dist/types/src/Form/Select/FormSelect.stories.d.ts +7 -0
- package/dist/types/src/Form/Select/FormSelect.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Select/Select.stories.d.ts +9 -0
- package/dist/types/src/Form/Select/Select.stories.d.ts.map +1 -0
- package/dist/types/src/Form/TextInput/FormText.d.ts +10 -0
- package/dist/types/src/Form/TextInput/FormText.d.ts.map +1 -0
- package/dist/types/src/Form/TextInput/FormText.stories.d.ts +6 -0
- package/dist/types/src/Form/TextInput/FormText.stories.d.ts.map +1 -0
- package/dist/types/src/Form/TextInput/InputDivider.stories.d.ts +8 -0
- package/dist/types/src/Form/TextInput/InputDivider.stories.d.ts.map +1 -0
- package/dist/types/src/Form/TextInput/TextInput.stories.d.ts +13 -0
- package/dist/types/src/Form/TextInput/TextInput.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Textarea/FormTextarea.d.ts +10 -0
- package/dist/types/src/Form/Textarea/FormTextarea.d.ts.map +1 -0
- package/dist/types/src/Form/Textarea/FormTextarea.stories.d.ts +6 -0
- package/dist/types/src/Form/Textarea/FormTextarea.stories.d.ts.map +1 -0
- package/dist/types/src/Form/Textarea/Textarea.stories.d.ts +8 -0
- package/dist/types/src/Form/Textarea/Textarea.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Footer/Footer.d.ts +12 -0
- package/dist/types/src/Layout/Footer/Footer.d.ts.map +1 -0
- package/dist/types/src/Layout/Footer/Footer.stories.d.ts +14 -0
- package/dist/types/src/Layout/Footer/Footer.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Grid/Grid.d.ts +13 -0
- package/dist/types/src/Layout/Grid/Grid.d.ts.map +1 -0
- package/dist/types/src/Layout/Grid/Grid.stories.d.ts +23 -0
- package/dist/types/src/Layout/Grid/Grid.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Grid/GridItem.stories.d.ts +15 -0
- package/dist/types/src/Layout/Grid/GridItem.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Header/Components/GlobalToggle.d.ts +12 -0
- package/dist/types/src/Layout/Header/Components/GlobalToggle.d.ts.map +1 -0
- package/dist/types/src/Layout/Header/Components/Logo.d.ts +9 -0
- package/dist/types/src/Layout/Header/Components/Logo.d.ts.map +1 -0
- package/dist/types/src/Layout/Header/Elements/GlobalToggle.d.ts +41 -0
- package/dist/types/src/Layout/Header/Elements/GlobalToggle.d.ts.map +1 -0
- package/dist/types/src/Layout/Header/Header.d.ts +13 -0
- package/dist/types/src/Layout/Header/Header.d.ts.map +1 -0
- package/dist/types/src/Layout/Header/Header.stories.d.ts +19 -0
- package/dist/types/src/Layout/Header/Header.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Header/header.entry.d.ts +2 -0
- package/dist/types/src/Layout/Header/header.entry.d.ts.map +1 -0
- package/dist/types/src/Layout/Masthead/Masthead.d.ts +11 -0
- package/dist/types/src/Layout/Masthead/Masthead.d.ts.map +1 -0
- package/dist/types/src/Layout/Masthead/Masthead.stories.d.ts +10 -0
- package/dist/types/src/Layout/Masthead/Masthead.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Page/Page.d.ts +10 -0
- package/dist/types/src/Layout/Page/Page.d.ts.map +1 -0
- package/dist/types/src/Layout/Page/Page.stories.d.ts +6 -0
- package/dist/types/src/Layout/Page/Page.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Section/Background.stories.d.ts +15 -0
- package/dist/types/src/Layout/Section/Background.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Section/Breakouts.stories.d.ts +11 -0
- package/dist/types/src/Layout/Section/Breakouts.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Section/Flow.stories.d.ts +11 -0
- package/dist/types/src/Layout/Section/Flow.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Section/Section.d.ts +16 -0
- package/dist/types/src/Layout/Section/Section.d.ts.map +1 -0
- package/dist/types/src/Layout/Section/Section.stories.d.ts +24 -0
- package/dist/types/src/Layout/Section/Section.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Section/SectionGrid.d.ts +17 -0
- package/dist/types/src/Layout/Section/SectionGrid.d.ts.map +1 -0
- package/dist/types/src/Layout/Section/SectionGrid.stories.d.ts +8 -0
- package/dist/types/src/Layout/Section/SectionGrid.stories.d.ts.map +1 -0
- package/dist/types/src/Layout/Sidebar/Sidebar.d.ts +12 -0
- package/dist/types/src/Layout/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/types/src/Layout/Sidebar/Sidebar.stories.d.ts +33 -0
- package/dist/types/src/Layout/Sidebar/Sidebar.stories.d.ts.map +1 -0
- package/dist/types/src/Utility/Context/ImageComponent.d.ts +22 -0
- package/dist/types/src/Utility/Context/ImageComponent.d.ts.map +1 -0
- package/dist/types/src/Utility/Context/LinkComponent.d.ts +22 -0
- package/dist/types/src/Utility/Context/LinkComponent.d.ts.map +1 -0
- package/dist/types/src/Utility/Elements/breakpoint-loader.d.ts +27 -0
- package/dist/types/src/Utility/Elements/breakpoint-loader.d.ts.map +1 -0
- package/dist/types/src/Utility/Elements/cookie-compliance.d.ts +57 -0
- package/dist/types/src/Utility/Elements/cookie-compliance.d.ts.map +1 -0
- package/dist/types/src/Utility/Elements/disclosure-widget.d.ts +33 -0
- package/dist/types/src/Utility/Elements/disclosure-widget.d.ts.map +1 -0
- package/dist/types/src/Utility/Elements/io-loader.d.ts +19 -0
- package/dist/types/src/Utility/Elements/io-loader.d.ts.map +1 -0
- package/dist/types/src/Utility/Elements/keyboard.d.ts +16 -0
- package/dist/types/src/Utility/Elements/keyboard.d.ts.map +1 -0
- package/dist/types/src/Utility/Elements/validators.d.ts +133 -0
- package/dist/types/src/Utility/Elements/validators.d.ts.map +1 -0
- package/dist/types/src/Utility/Hooks/useLocalStorage.d.ts +8 -0
- package/dist/types/src/Utility/Hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/types/src/Utility/Hooks/useMediaQuery.d.ts +3 -0
- package/dist/types/src/Utility/Hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/types/src/Utility/Hooks/useToggle.d.ts +3 -0
- package/dist/types/src/Utility/Hooks/useToggle.d.ts.map +1 -0
- package/dist/types/src/Utility/Hooks/useUrlParams.d.ts +8 -0
- package/dist/types/src/Utility/Hooks/useUrlParams.d.ts.map +1 -0
- package/dist/types/src/Utility/utilities.d.ts +36 -0
- package/dist/types/src/Utility/utilities.d.ts.map +1 -0
- package/dist/types/src/elements.d.ts +15 -0
- package/dist/types/src/elements.d.ts.map +1 -0
- package/dist/types/src/enums.d.ts +134 -0
- package/dist/types/src/enums.d.ts.map +1 -0
- package/dist/types/src/react.d.ts +77 -0
- package/dist/types/src/react.d.ts.map +1 -0
- package/dist/types/src/tokens.d.ts +200 -0
- package/dist/types/src/tokens.d.ts.map +1 -0
- package/dist/types/tokens.d.ts +147 -0
- package/dist/types/tokens.d.ts.map +1 -0
- package/package.json +84 -55
- package/src/Atom/Background/README.md +52 -0
- package/src/Atom/Background/__snapshots__/Background.stories.ts.snap +341 -41
- package/src/Atom/Background/_background.css +32 -22
- package/src/Atom/Background/backgrounds.twig +69 -9
- package/src/Atom/Blockquote/README.md +27 -0
- package/src/Atom/Blockquote/_blockquote.css +6 -1
- package/src/Atom/Button/Button.figma.ts +70 -0
- package/src/Atom/Button/Button.stories.ts +5 -1
- package/src/Atom/Button/Button.stories.tsx +2 -1
- package/src/Atom/Button/Button.tsx +16 -10
- package/src/Atom/Button/README.md +119 -17
- package/src/Atom/Button/_buttons-styles.css +39 -21
- package/src/Atom/Button/_buttons.css +4 -3
- package/src/Atom/DefinitionList/DefinitionList.figma.ts +26 -0
- package/src/Atom/DefinitionList/DefinitionList.stories.ts +11 -11
- package/src/Atom/DefinitionList/DefinitionListItem.figma.ts +19 -0
- package/src/Atom/DefinitionList/DefinitionListItem.stories.ts +43 -0
- package/src/Atom/DefinitionList/README.md +63 -0
- package/src/Atom/DefinitionList/__snapshots__/DefinitionList.stories.ts.snap +14 -13
- package/src/Atom/DefinitionList/__snapshots__/DefinitionListItem.stories.ts.snap +9 -0
- package/src/Atom/DefinitionList/definition-list-item.twig +4 -0
- package/src/Atom/DefinitionList/definition-list.twig +1 -6
- package/src/Atom/Heading/Heading.figma.ts +49 -0
- package/src/Atom/Heading/Heading.stories.ts +19 -2
- package/src/Atom/Heading/Heading.stories.tsx +9 -4
- package/src/Atom/Heading/Heading.tsx +26 -4
- package/src/Atom/Heading/README.md +125 -0
- package/src/Atom/Heading/__snapshots__/Heading.stories.ts.snap +17 -0
- package/src/Atom/Heading/_headings.css +15 -3
- package/src/Atom/Heading/heading.twig +11 -7
- package/src/Atom/Heading/twig/heading-example.twig +13 -0
- package/src/Atom/Icon/Icon.figma.ts +43 -0
- package/src/Atom/Icon/IconArrowLeft.figma.ts +14 -0
- package/src/Atom/Icon/IconArrowRight.figma.ts +14 -0
- package/src/Atom/Icon/IconChevronDown.figma.ts +18 -0
- package/src/Atom/Icon/IconChevronLeft.figma.ts +14 -0
- package/src/Atom/Icon/IconChevronRight.figma.ts +14 -0
- package/src/Atom/Icon/IconError.figma.ts +14 -0
- package/src/Atom/Icon/IconExternalLink.figma.ts +14 -0
- package/src/Atom/Icon/IconInfo.figma.ts +14 -0
- package/src/Atom/Icon/IconSearch.figma.ts +16 -0
- package/src/Atom/Icon/IconSuccess.figma.ts +14 -0
- package/src/Atom/Icon/IconWarning.figma.ts +14 -0
- package/src/Atom/Icon/README.md +120 -3
- package/src/Atom/Icon/_icon.css +5 -5
- package/src/Atom/Icon/_mixin-icon.css +1 -1
- package/src/Atom/Image/README.md +86 -0
- package/src/Atom/InlineSvg/README.md +65 -0
- package/src/Atom/InlineSvg/inline-svg.twig +8 -0
- package/src/Atom/Link/Link.figma.ts +59 -0
- package/src/Atom/Link/Link.tsx +8 -0
- package/src/Atom/Link/README.md +110 -0
- package/src/Atom/Link/__snapshots__/Link.stories.ts.snap +5 -5
- package/src/Atom/Link/__snapshots__/Link.stories.tsx.snap +1 -1
- package/src/Atom/Link/_links.css +1 -1
- package/src/Atom/Link/link.twig +14 -2
- package/src/Atom/LinkedImage/README.md +42 -0
- package/src/Atom/LinkedImage/linked-image.twig +5 -1
- package/src/Atom/Media/Media.figma.ts +31 -0
- package/src/Atom/Media/Media.stories.ts +12 -1
- package/src/Atom/Media/Media.stories.tsx +3 -3
- package/src/Atom/Media/Media.tsx +1 -0
- package/src/Atom/Media/README.md +95 -0
- package/src/Atom/Media/__snapshots__/Media.stories.ts.snap +30 -16
- package/src/Atom/Media/media.twig +6 -3
- package/src/Atom/Spacing/README.md +51 -0
- package/src/Atom/Spacing/Spacing.stories.ts +16 -25
- package/src/Atom/Spacing/__snapshots__/Spacing.stories.ts.snap +2 -2
- package/src/Atom/Table/README.md +80 -0
- package/src/Atom/Table/__snapshots__/Table.stories.ts.snap +28 -28
- package/src/Atom/Table/__snapshots__/TableResponsive.stories.ts.snap +8 -8
- package/src/Atom/Table/table-responsive.twig +8 -8
- package/src/Atom/Table/table.twig +7 -7
- package/src/Atom/Text/README.md +73 -0
- package/src/Atom/Text/Text.figma.ts +35 -0
- package/src/Atom/Text/Text.stories.ts +2 -2
- package/src/Atom/Text/Text.stories.tsx +2 -2
- package/src/Atom/Text/Text.tsx +3 -3
- package/src/Atom/Text/__snapshots__/Text.stories.ts.snap +22 -21
- package/src/Atom/Text/_text-styles.css +165 -0
- package/src/Atom/Text/twig/text-styles-example.twig +22 -0
- package/src/Atom/Video/README.md +67 -0
- package/src/Atom/Video/Video.figma.ts +18 -0
- package/src/Atom/Video/Video.tsx +10 -2
- package/src/Atom/Video/__snapshots__/Video.stories.ts.snap +2 -2
- package/src/Atom/Video/video.twig +2 -1
- package/src/Atom/_base.css +1 -7
- package/src/Atom/_generic.css +7 -0
- package/src/Atom/base.css +1 -1
- package/src/Component/Accordion/Accordion.figma.ts +40 -0
- package/src/Component/Accordion/Accordion.stories.ts +46 -5
- package/src/Component/Accordion/Accordion.tsx +15 -13
- package/src/Component/Accordion/AccordionItem.stories.ts +44 -2
- package/src/Component/Accordion/Components/AccordionContent.figma.ts +17 -0
- package/src/Component/Accordion/Components/AccordionContent.tsx +4 -6
- package/src/Component/Accordion/Components/AccordionTitle.figma.ts +28 -0
- package/src/Component/Accordion/Components/AccordionTitle.tsx +2 -5
- package/src/Component/Accordion/Components/AccordionTitleIcon.figma.ts +16 -0
- package/src/Component/Accordion/README.md +172 -20
- package/src/Component/Accordion/__snapshots__/Accordion.stories.ts.snap +47 -9
- package/src/Component/Accordion/__snapshots__/Accordion.stories.tsx.snap +2 -2
- package/src/Component/Accordion/__snapshots__/AccordionItem.stories.ts.snap +1 -1
- package/src/Component/Accordion/accordion.css +2 -13
- package/src/Component/Accordion/accordion.twig +1 -3
- package/src/Component/Breadcrumb/Breadcrumb.figma.ts +20 -0
- package/src/Component/Breadcrumb/Breadcrumb.tsx +16 -7
- package/src/Component/Breadcrumb/README.md +148 -0
- package/src/Component/Breadcrumb/__snapshots__/Breadcrumb.stories.ts.snap +1 -1
- package/src/Component/Breadcrumb/__snapshots__/Breadcrumb.stories.tsx.snap +2 -2
- package/src/Component/Breadcrumb/breadcrumb.css +7 -6
- package/src/Component/Callout/README.md +100 -0
- package/src/Component/Card/Card.figma.ts +59 -0
- package/src/Component/Card/Card.stories.ts +16 -10
- package/src/Component/Card/Components/CardContent.figma.ts +28 -0
- package/src/Component/Card/Components/CardContent.tsx +1 -1
- package/src/Component/Card/Components/CardMedia.figma.ts +15 -0
- package/src/Component/Card/README.md +262 -7
- package/src/Component/Card/__snapshots__/Card.stories.ts.snap +25 -22
- package/src/Component/Card/__snapshots__/Card.stories.tsx.snap +3 -3
- package/src/Component/Card/card.css +24 -12
- package/src/Component/Carousel/Carousel.figma.ts +32 -0
- package/src/Component/Carousel/Carousel.stories.ts +195 -5
- package/src/Component/Carousel/Carousel.stories.tsx +214 -0
- package/src/Component/Carousel/Carousel.tsx +261 -0
- package/src/Component/Carousel/Elements/Carousel.ts +94 -52
- package/src/Component/Carousel/README.md +243 -0
- package/src/Component/Carousel/__snapshots__/Carousel.stories.ts.snap +162 -202
- package/src/Component/Carousel/__snapshots__/Carousel.stories.tsx.snap +9 -0
- package/src/Component/Carousel/carousel.css +16 -3
- package/src/Component/Carousel/carousel.twig +10 -11
- package/src/Component/ContentBlock/Components/ContentBlockContent.figma.ts +28 -0
- package/src/Component/ContentBlock/Components/ContentBlockMedia.figma.ts +14 -0
- package/src/Component/ContentBlock/ContentBlock.figma.ts +18 -0
- package/src/Component/ContentBlock/ContentBlock.stories.ts +13 -1
- package/src/Component/ContentBlock/README.md +176 -8
- package/src/Component/ContentBlock/__snapshots__/ContentBlock.stories.ts.snap +18 -24
- package/src/Component/CookieConsent/CookieConsent.stories.ts +36 -0
- package/src/Component/CookieConsent/CookieConsent.stories.tsx +24 -0
- package/src/Component/CookieConsent/CookieConsent.tsx +83 -0
- package/src/Component/CookieConsent/Elements/CookieConsent.ts +38 -0
- package/src/Component/CookieConsent/README.md +150 -0
- package/src/Component/CookieConsent/__snapshots__/CookieConsent.stories.ts.snap +34 -0
- package/src/Component/CookieConsent/__snapshots__/CookieConsent.stories.tsx.snap +5 -0
- package/src/Component/CookieConsent/cookie-consent.css +44 -0
- package/src/Component/CookieConsent/cookie-consent.entry.js +1 -0
- package/src/Component/CookieConsent/cookie-consent.twig +27 -0
- package/src/Component/Dialog/Components/DialogCloseButton.figma.ts +14 -0
- package/src/Component/Dialog/Components/DialogCloseButton.tsx +0 -1
- package/src/Component/Dialog/Components/DialogContent.figma.ts +19 -0
- package/src/Component/Dialog/Components/DialogContent.tsx +11 -3
- package/src/Component/Dialog/Dialog.figma.ts +40 -0
- package/src/Component/Dialog/Dialog.stories.ts +39 -3
- package/src/Component/Dialog/Dialog.stories.tsx +25 -1
- package/src/Component/Dialog/Dialog.tsx +13 -7
- package/src/Component/Dialog/README.md +191 -17
- package/src/Component/Dialog/__snapshots__/Dialog.stories.ts.snap +19 -19
- package/src/Component/Dialog/__snapshots__/Dialog.stories.tsx.snap +1 -1
- package/src/Component/Dialog/dialog.css +0 -5
- package/src/Component/Dialog/dialog.twig +7 -1
- package/src/Component/DropMenu/Components/DropMenuContext.tsx +74 -83
- package/src/Component/DropMenu/Components/DropMenuItem.figma.ts +20 -0
- package/src/Component/DropMenu/Components/DropMenuItem.tsx +26 -3
- package/src/Component/DropMenu/Components/DropMenuTrigger.figma.ts +22 -0
- package/src/Component/DropMenu/DropMenu.figma.ts +28 -0
- package/src/Component/DropMenu/DropMenu.stories.ts +50 -0
- package/src/Component/DropMenu/DropMenu.stories.tsx +49 -1
- package/src/Component/DropMenu/DropMenu.tsx +13 -6
- package/src/Component/DropMenu/Elements/DropMenu.ts +39 -2
- package/src/Component/DropMenu/README.md +249 -15
- package/src/Component/DropMenu/__snapshots__/DropMenu.stories.ts.snap +1 -1
- package/src/Component/DropMenu/__snapshots__/DropMenu.stories.tsx.snap +1 -1
- package/src/Component/DropMenu/drop-menu.css +1 -0
- package/src/Component/Filters/Elements/Filters.ts +106 -2
- package/src/Component/Filters/FilterItem.figma.ts +31 -0
- package/src/Component/Filters/FilterItem.stories.ts +45 -8
- package/src/Component/Filters/FilterItem.stories.tsx +75 -0
- package/src/Component/Filters/FilterItem.tsx +120 -0
- package/src/Component/Filters/Filters.figma.ts +43 -0
- package/src/Component/Filters/Filters.stories.ts +33 -22
- package/src/Component/Filters/Filters.stories.tsx +141 -0
- package/src/Component/Filters/Filters.tsx +176 -0
- package/src/Component/Filters/README.md +389 -0
- package/src/Component/Filters/__snapshots__/FilterItem.stories.ts.snap +18 -14
- package/src/Component/Filters/__snapshots__/FilterItem.stories.tsx.snap +7 -0
- package/src/Component/Filters/__snapshots__/Filters.stories.ts.snap +50 -53
- package/src/Component/Filters/__snapshots__/Filters.stories.tsx.snap +7 -0
- package/src/Component/Filters/filter-item.twig +6 -16
- package/src/Component/Filters/filters.css +17 -0
- package/src/Component/Filters/filters.twig +2 -6
- package/src/Component/Gallery/Components/GalleryTrigger.tsx +30 -0
- package/src/Component/Gallery/Elements/Gallery.ts +45 -0
- package/src/Component/Gallery/Gallery.stories.ts +62 -0
- package/src/Component/Gallery/Gallery.stories.tsx +58 -0
- package/src/Component/Gallery/Gallery.tsx +92 -0
- package/src/Component/Gallery/README.md +221 -0
- package/src/Component/Gallery/__snapshots__/Gallery.stories.ts.snap +92 -0
- package/src/Component/Gallery/__snapshots__/Gallery.stories.tsx.snap +5 -0
- package/src/Component/Gallery/gallery.css +53 -0
- package/src/Component/Gallery/gallery.entry.js +2 -0
- package/src/Component/Gallery/gallery.twig +13 -0
- package/src/Component/GlobalAlert/Elements/ClosableAlert.ts +2 -0
- package/src/Component/GlobalAlert/GlobalAlert.figma.ts +31 -0
- package/src/Component/GlobalAlert/GlobalAlert.tsx +16 -2
- package/src/Component/GlobalAlert/README.md +163 -13
- package/src/Component/GlobalAlert/__snapshots__/GlobalAlert.stories.ts.snap +2 -2
- package/src/Component/GlobalAlert/__snapshots__/GlobalAlert.stories.tsx.snap +2 -2
- package/src/Component/GlobalAlert/global-alert.css +1 -0
- package/src/Component/GlobalAlert/global-alert.twig +8 -3
- package/src/Component/HeroBanner/Components/HeroBannerAside.figma.ts +20 -0
- package/src/Component/HeroBanner/Components/HeroBannerAside.tsx +21 -0
- package/src/Component/HeroBanner/Components/HeroBannerContent.figma.ts +17 -0
- package/src/Component/HeroBanner/Components/HeroBannerContent.tsx +14 -0
- package/src/Component/HeroBanner/HeroBanner.figma.ts +36 -0
- package/src/Component/HeroBanner/HeroBanner.stories.ts +18 -1
- package/src/Component/HeroBanner/HeroBanner.stories.tsx +63 -18
- package/src/Component/HeroBanner/HeroBanner.tsx +16 -14
- package/src/Component/HeroBanner/README.md +234 -0
- package/src/Component/HeroBanner/__snapshots__/HeroBanner.stories.ts.snap +8 -10
- package/src/Component/HeroBanner/__snapshots__/HeroBanner.stories.tsx.snap +4 -2
- package/src/Component/HeroBanner/hero-banner.css +5 -0
- package/src/Component/HeroSearch/HeroSearch.figma.ts +57 -0
- package/src/Component/HeroSearch/HeroSearch.stories.ts +17 -3
- package/src/Component/HeroSearch/HeroSearch.stories.tsx +39 -11
- package/src/Component/HeroSearch/HeroSearch.tsx +26 -22
- package/src/Component/HeroSearch/README.md +217 -0
- package/src/Component/HeroSearch/__snapshots__/HeroSearch.stories.ts.snap +7 -11
- package/src/Component/HeroSearch/__snapshots__/HeroSearch.stories.tsx.snap +4 -2
- package/src/Component/InPageAlert/InPageAlert.figma.ts +37 -0
- package/src/Component/InPageAlert/InPageAlert.tsx +2 -2
- package/src/Component/InPageAlert/README.md +172 -14
- package/src/Component/InPageAlert/__snapshots__/InPageAlert.stories.tsx.snap +4 -4
- package/src/Component/InPageNavigation/InPageNavigation.figma.ts +16 -0
- package/src/Component/InPageNavigation/InPageNavigation.stories.ts +11 -7
- package/src/Component/InPageNavigation/InPageNavigation.stories.tsx +14 -16
- package/src/Component/InPageNavigation/InPageNavigation.tsx +5 -4
- package/src/Component/InPageNavigation/README.md +169 -14
- package/src/Component/InPageNavigation/__snapshots__/InPageNavigation.stories.tsx.snap +1 -1
- package/src/Component/InPageNavigation/in-page-navigation.css +12 -0
- package/src/Component/InPageNavigation/in-page-navigation.twig +4 -6
- package/src/Component/LinkList/LinkList.figma.ts +17 -0
- package/src/Component/LinkList/LinkList.stories.ts +7 -4
- package/src/Component/LinkList/LinkListItem.figma.ts +20 -0
- package/src/Component/LinkList/README.md +171 -10
- package/src/Component/LinkList/__snapshots__/LinkList.stories.ts.snap +10 -14
- package/src/Component/LinkList/link-list.twig +1 -3
- package/src/Component/ListItem/Components/ListItemContent.figma.ts +28 -0
- package/src/Component/ListItem/Components/ListItemMedia.figma.ts +14 -0
- package/src/Component/ListItem/ListItem.figma.ts +20 -0
- package/src/Component/ListItem/ListItem.stories.ts +12 -8
- package/src/Component/ListItem/ListItem.stories.tsx +2 -1
- package/src/Component/ListItem/README.md +233 -0
- package/src/Component/ListItem/__snapshots__/ListItem.stories.ts.snap +12 -21
- package/src/Component/ListItem/list-item.css +18 -10
- package/src/Component/ListItem/list-item.twig +0 -2
- package/src/Component/Navigation/Components/DropdownLevel.tsx +10 -10
- package/src/Component/Navigation/Dropdown.stories.tsx +27 -1
- package/src/Component/Navigation/Elements/Navigation.ts +9 -7
- package/src/Component/Navigation/Navigation.figma.ts +24 -0
- package/src/Component/Navigation/Navigation.stories.ts +28 -0
- package/src/Component/Navigation/Navigation.tsx +1 -1
- package/src/Component/Navigation/README.md +270 -14
- package/src/Component/Navigation/__snapshots__/Navigation.stories.ts.snap +1 -1
- package/src/Component/Navigation/_navigation.css +1 -1
- package/src/Component/Pagination/Components/PaginationContext.tsx +20 -4
- package/src/Component/Pagination/Components/PaginationItem.figma.ts +30 -0
- package/src/Component/Pagination/Components/PaginationItem.tsx +32 -28
- package/src/Component/Pagination/Pagination.figma.ts +24 -0
- package/src/Component/Pagination/Pagination.stories.ts +44 -6
- package/src/Component/Pagination/Pagination.stories.tsx +58 -2
- package/src/Component/Pagination/Pagination.tsx +39 -20
- package/src/Component/Pagination/README.md +205 -9
- package/src/Component/Pagination/__snapshots__/Pagination.stories.ts.snap +16 -19
- package/src/Component/Pagination/__snapshots__/Pagination.stories.tsx.snap +1 -1
- package/src/Component/Pagination/pagination.css +57 -16
- package/src/Component/Pagination/pagination.twig +14 -13
- package/src/Component/Popover/Components/PopoverTrigger.tsx +58 -0
- package/src/Component/Popover/Elements/Popover.ts +11 -10
- package/src/Component/Popover/Popover.figma.ts +26 -0
- package/src/Component/Popover/Popover.stories.ts +2 -1
- package/src/Component/Popover/Popover.stories.tsx +84 -0
- package/src/Component/Popover/Popover.tsx +84 -0
- package/src/Component/Popover/README.md +224 -0
- package/src/Component/Popover/__snapshots__/Popover.stories.ts.snap +39 -39
- package/src/Component/Popover/__snapshots__/Popover.stories.tsx.snap +7 -0
- package/src/Component/Popover/polyfills.js +45 -10
- package/src/Component/Popover/popover.css +1 -0
- package/src/Component/Popover/popover.twig +0 -1
- package/src/Component/ResultsBar/Components/ResultsBarInfo.figma.ts +21 -0
- package/src/Component/ResultsBar/Components/ResultsBarSort.figma.ts +15 -0
- package/src/Component/ResultsBar/Components/ResultsBarSort.tsx +27 -8
- package/src/Component/ResultsBar/README.md +158 -0
- package/src/Component/ResultsBar/ResultsBar.figma.ts +17 -0
- package/src/Component/ResultsBar/ResultsBar.stories.ts +9 -0
- package/src/Component/ResultsBar/ResultsBar.stories.tsx +1 -14
- package/src/Component/ResultsBar/__snapshots__/ResultsBar.stories.ts.snap +3 -0
- package/src/Component/ResultsBar/__snapshots__/ResultsBar.stories.tsx.snap +1 -1
- package/src/Component/ResultsBar/results-bar.twig +3 -0
- package/src/Component/SideNavigation/Components/SideNavigationTree.figma.ts +26 -0
- package/src/Component/SideNavigation/Components/SideNavigationTree.tsx +38 -0
- package/src/Component/SideNavigation/README.md +212 -0
- package/src/Component/SideNavigation/SideNavigation.figma.ts +18 -0
- package/src/Component/SideNavigation/SideNavigation.stories.tsx +68 -0
- package/src/Component/SideNavigation/SideNavigation.tsx +34 -0
- package/src/Component/SideNavigation/__snapshots__/SideNavigation.stories.tsx.snap +3 -0
- package/src/Component/SideNavigation/twig/side-navigation-story.twig +2 -1
- package/src/Component/SocialLinks/README.md +122 -0
- package/src/Component/SocialLinks/SocialLinks.stories.ts +4 -4
- package/src/Component/SocialLinks/__snapshots__/SocialLinks.stories.ts.snap +2 -4
- package/src/Component/SocialLinks/social-links.css +2 -0
- package/src/Component/SocialLinks/social-links.twig +1 -3
- package/src/Component/SocialShare/README.md +171 -0
- package/src/Component/SocialShare/SocialShare.figma.ts +21 -0
- package/src/Component/SocialShare/SocialShare.stories.ts +1 -0
- package/src/Component/SocialShare/SocialShare.stories.tsx +1 -0
- package/src/Component/SocialShare/SocialShare.tsx +33 -7
- package/src/Component/SocialShare/__snapshots__/SocialShare.stories.ts.snap +5 -5
- package/src/Component/SocialShare/__snapshots__/SocialShare.stories.tsx.snap +3 -3
- package/src/Component/SocialShare/social-share.css +19 -0
- package/src/Component/SocialShare/social-share.twig +5 -5
- package/src/Component/Steps/README.md +179 -0
- package/src/Component/Steps/StepItem.stories.ts +4 -1
- package/src/Component/Steps/Steps.stories.ts +6 -6
- package/src/Component/Steps/__snapshots__/StepItem.stories.ts.snap +4 -4
- package/src/Component/Steps/__snapshots__/Steps.stories.ts.snap +56 -70
- package/src/Component/Steps/step-item.twig +3 -2
- package/src/Component/Steps/steps.css +5 -0
- package/src/Component/Steps/steps.twig +3 -5
- package/src/Component/Sticky/Elements/Sticky.ts +4 -4
- package/src/Component/Sticky/README.md +198 -16
- package/src/Component/Sticky/Sticky.figma.ts +20 -0
- package/src/Component/Sticky/Sticky.tsx +39 -8
- package/src/Component/Sticky/__snapshots__/Sticky.stories.ts.snap +1 -1
- package/src/Component/Sticky/__snapshots__/Sticky.stories.tsx.snap +1 -1
- package/src/Component/Sticky/sticky.css +4 -4
- package/src/Component/Tabs/Components/Tab.figma.ts +20 -0
- package/src/Component/Tabs/Components/Tab.tsx +28 -2
- package/src/Component/Tabs/Components/TabList.tsx +11 -5
- package/src/Component/Tabs/Components/TabPanel.figma.ts +21 -0
- package/src/Component/Tabs/Components/TabPanel.tsx +1 -2
- package/src/Component/Tabs/Elements/Tabs.ts +28 -22
- package/src/Component/Tabs/README.md +210 -16
- package/src/Component/Tabs/Tabs.figma.ts +41 -0
- package/src/Component/Tabs/Tabs.stories.ts +59 -5
- package/src/Component/Tabs/Tabs.stories.tsx +67 -4
- package/src/Component/Tabs/Tabs.tsx +12 -4
- package/src/Component/Tabs/__snapshots__/Tabs.stories.ts.snap +10 -14
- package/src/Component/Tabs/__snapshots__/Tabs.stories.tsx.snap +1 -1
- package/src/Component/Tabs/tabs.css +1 -0
- package/src/Component/Tabs/tabs.twig +1 -3
- package/src/Component/Tag/README.md +198 -9
- package/src/Component/Tag/Tag.figma.ts +25 -0
- package/src/Component/Tag/Tag.stories.ts +23 -21
- package/src/Component/Tag/Tag.tsx +30 -4
- package/src/Component/Tag/TagItem.stories.ts +101 -0
- package/src/Component/Tag/__snapshots__/Tag.stories.ts.snap +58 -27
- package/src/Component/Tag/__snapshots__/TagItem.stories.ts.snap +39 -0
- package/src/Component/Tag/tag-item.twig +25 -0
- package/src/Component/Tag/tag.css +32 -1
- package/src/Component/Tag/tags.twig +1 -19
- package/src/Component/UtilityList/Elements/UtilityList.ts +6 -2
- package/src/Component/UtilityList/README.md +173 -0
- package/src/Component/UtilityList/__snapshots__/UtilityList.stories.ts.snap +9 -9
- package/src/Form/Autocomplete/Autocomplete.stories.ts +213 -0
- package/src/Form/Autocomplete/Autocomplete.stories.tsx +149 -0
- package/src/Form/Autocomplete/Autocomplete.tsx +272 -0
- package/src/Form/Autocomplete/Elements/Autocomplete.ts +235 -0
- package/src/Form/Autocomplete/README.md +205 -0
- package/src/Form/Autocomplete/__snapshots__/Autocomplete.stories.ts.snap +68 -0
- package/src/Form/Autocomplete/__snapshots__/Autocomplete.stories.tsx.snap +9 -0
- package/src/Form/Autocomplete/autocomplete.css +60 -0
- package/src/Form/Autocomplete/autocomplete.entry.js +1 -0
- package/src/Form/Autocomplete/autocomplete.twig +44 -0
- package/src/Form/Checkbox/Checkbox.figma.ts +32 -0
- package/src/Form/Checkbox/FormCheckbox.figma.ts +28 -0
- package/src/Form/Checkbox/FormCheckbox.tsx +5 -8
- package/src/Form/Checkbox/README.md +183 -0
- package/src/Form/Checkbox/__snapshots__/FormCheckbox.stories.tsx.snap +1 -1
- package/src/Form/Description/FormDescription.figma.ts +28 -0
- package/src/Form/Description/FormDescription.tsx +32 -13
- package/src/Form/Description/__snapshots__/Description.stories.ts.snap +1 -1
- package/src/Form/Description/__snapshots__/FormDescription.stories.tsx.snap +1 -1
- package/src/Form/Description/__snapshots__/FormStatus.stories.ts.snap +2 -2
- package/src/Form/Description/form-description.twig +1 -1
- package/src/Form/Description/form-status.twig +1 -1
- package/src/Form/Form/form.twig +2 -6
- package/src/Form/FormItem/FormItem.figma.ts +30 -0
- package/src/Form/FormItem/FormItem.tsx +7 -2
- package/src/Form/FormItem/README.md +122 -0
- package/src/Form/FormItem/__snapshots__/FormItem.stories.ts.snap +33 -21
- package/src/Form/FormItem/form-item.twig +1 -7
- package/src/Form/Label/FormLabel.figma.ts +26 -0
- package/src/Form/Label/FormLabel.tsx +2 -2
- package/src/Form/Label/Label.stories.ts +12 -2
- package/src/Form/Label/__snapshots__/FormLabel.stories.tsx.snap +1 -1
- package/src/Form/Label/__snapshots__/Label.stories.ts.snap +17 -3
- package/src/Form/Label/label.twig +4 -1
- package/src/Form/README.md +207 -6
- package/src/Form/Radio/FormRadio.figma.ts +27 -0
- package/src/Form/Radio/FormRadio.tsx +4 -6
- package/src/Form/Radio/Radio.figma.ts +29 -0
- package/src/Form/Radio/Radio.stories.ts +8 -4
- package/src/Form/Radio/__snapshots__/FormRadio.stories.tsx.snap +1 -1
- package/src/Form/Radio/__snapshots__/Radio.stories.ts.snap +12 -10
- package/src/Form/Search/FormSearch.figma.ts +25 -0
- package/src/Form/Search/FormSearch.stories.tsx +19 -0
- package/src/Form/Search/FormSearch.tsx +46 -0
- package/src/Form/Search/README.md +91 -0
- package/src/Form/Search/__snapshots__/FormSearch.stories.tsx.snap +3 -0
- package/src/Form/Select/FormSelect.figma.ts +27 -0
- package/src/Form/Select/FormSelect.stories.tsx +17 -0
- package/src/Form/Select/FormSelect.tsx +12 -5
- package/src/Form/Select/Select.stories.ts +12 -0
- package/src/Form/Select/__snapshots__/FormSelect.stories.tsx.snap +3 -1
- package/src/Form/Select/__snapshots__/Select.stories.ts.snap +24 -0
- package/src/Form/Select/input-select.twig +3 -0
- package/src/Form/TextInput/FormText.figma.ts +24 -0
- package/src/Form/TextInput/FormText.tsx +1 -1
- package/src/Form/TextInput/__snapshots__/FormText.stories.tsx.snap +1 -1
- package/src/Form/TextInput/input-text-icon.twig +3 -3
- package/src/Form/Textarea/FormTextarea.figma.ts +24 -0
- package/src/Form/Textarea/FormTextarea.stories.tsx +1 -1
- package/src/Form/Textarea/FormTextarea.tsx +1 -1
- package/src/Form/Textarea/__snapshots__/FormTextarea.stories.tsx.snap +1 -1
- package/src/Form/form.css +75 -8
- package/src/Introduction.mdx +15 -0
- package/src/Layout/Footer/Footer.figma.ts +28 -0
- package/src/Layout/Footer/Footer.stories.ts +18 -5
- package/src/Layout/Footer/Footer.stories.tsx +1 -1
- package/src/Layout/Footer/Footer.tsx +9 -16
- package/src/Layout/Footer/README.md +118 -0
- package/src/Layout/Footer/__snapshots__/Footer.stories.ts.snap +14 -22
- package/src/Layout/Footer/__snapshots__/Footer.stories.tsx.snap +2 -2
- package/src/Layout/Footer/footer.css +0 -6
- package/src/Layout/Footer/footer.twig +1 -3
- package/src/Layout/Grid/Grid.figma.ts +32 -0
- package/src/Layout/Grid/Grid.stories.ts +16 -6
- package/src/Layout/Grid/README.md +162 -0
- package/src/Layout/Grid/__snapshots__/Grid.stories.ts.snap +5 -17
- package/src/Layout/Grid/grid.css +0 -6
- package/src/Layout/Grid/grid.twig +1 -3
- package/src/Layout/Header/Components/GlobalToggle.tsx +4 -2
- package/src/Layout/Header/Elements/GlobalToggle.ts +53 -9
- package/src/Layout/Header/Header.figma.ts +40 -0
- package/src/Layout/Header/Header.stories.ts +43 -4
- package/src/Layout/Header/Header.stories.tsx +30 -1
- package/src/Layout/Header/Header.tsx +26 -17
- package/src/Layout/Header/README.md +141 -0
- package/src/Layout/Header/__snapshots__/Header.stories.ts.snap +17 -14
- package/src/Layout/Header/__snapshots__/Header.stories.tsx.snap +1 -1
- package/src/Layout/Header/_header.css +0 -6
- package/src/Layout/Header/_toggles.css +4 -4
- package/src/Layout/Header/header.twig +5 -9
- package/src/Layout/Masthead/Masthead.figma.ts +27 -0
- package/src/Layout/Masthead/Masthead.stories.ts +17 -3
- package/src/Layout/Masthead/Masthead.stories.tsx +55 -0
- package/src/Layout/Masthead/Masthead.tsx +59 -0
- package/src/Layout/Masthead/README.md +92 -0
- package/src/Layout/Masthead/__snapshots__/Masthead.stories.ts.snap +8 -12
- package/src/Layout/Masthead/__snapshots__/Masthead.stories.tsx.snap +7 -0
- package/src/Layout/Masthead/masthead.css +1 -9
- package/src/Layout/Masthead/masthead.twig +2 -6
- package/src/Layout/Page/Page.figma.ts +21 -0
- package/src/Layout/Page/Page.stories.tsx +1 -1
- package/src/Layout/Page/Page.tsx +7 -2
- package/src/Layout/Page/README.md +83 -9
- package/src/Layout/Page/__snapshots__/Page.stories.tsx.snap +1 -1
- package/src/Layout/Page/page.twig +6 -6
- package/src/Layout/Section/Background.stories.ts +3 -6
- package/src/Layout/Section/README.md +144 -0
- package/src/Layout/Section/Section.figma.ts +47 -0
- package/src/Layout/Section/Section.stories.tsx +6 -6
- package/src/Layout/Section/Section.tsx +8 -5
- package/src/Layout/Section/SectionGrid.stories.tsx +4 -4
- package/src/Layout/Section/SectionGrid.tsx +5 -5
- package/src/Layout/Section/__snapshots__/Background.stories.ts.snap +2 -2
- package/src/Layout/Section/__snapshots__/Section.stories.ts.snap +4 -4
- package/src/Layout/Section/section.css +7 -3
- package/src/Layout/Sidebar/README.md +126 -0
- package/src/Layout/Sidebar/Sidebar.figma.ts +23 -0
- package/src/Layout/Sidebar/Sidebar.stories.ts +9 -0
- package/src/Layout/Sidebar/Sidebar.tsx +2 -2
- package/src/Layout/Sidebar/__snapshots__/Sidebar.stories.tsx.snap +3 -3
- package/src/Layout/Sidebar/sidebar.css +18 -15
- package/src/Utility/Elements/breakpoint-loader.ts +12 -4
- package/src/Utility/Elements/cookie-compliance.ts +60 -22
- package/src/Utility/Elements/disclosure-widget.ts +10 -2
- package/src/Utility/Elements/io-loader.ts +12 -3
- package/src/Utility/Elements/validators.ts +201 -0
- package/src/Utility/Hooks/useLocalStorage.ts +16 -6
- package/src/Utility/Hooks/useMediaQuery.ts +4 -4
- package/src/Utility/README.md +33 -4
- package/src/Utility/_mixins.css +19 -0
- package/src/Utility/global.d.ts +10 -0
- package/src/Utility/print.css +324 -0
- package/src/Utility/utilities.css +3 -9
- package/src/Utility/utilities.ts +35 -12
- package/src/_custom-media.css +1 -1
- package/src/constants.css +24 -11
- package/src/elements.ts +4 -0
- package/src/enums.ts +19 -127
- package/src/react.ts +23 -1
- package/src/tokens.js +23 -5
- package/tools/audit-parity.aliases.json +5 -0
- package/tools/audit-parity.mjs +209 -0
- package/tools/lib/barrel.mjs +76 -0
- package/tools/lib/extract-classnames.mjs +0 -0
- package/tools/lib/extract-react-props.mjs +148 -0
- package/tools/lib/extract-twig-props.mjs +124 -0
- package/tools/lib/naming.mjs +53 -0
- package/tools/lib/split-balanced.mjs +139 -0
- package/tools/lib/walk-components.mjs +115 -0
- package/tools/lib/write.mjs +50 -0
- package/tools/lint-classnames.allowlist.json +7 -0
- package/tools/lint-classnames.mjs +241 -0
- package/tools/scaffold-component.mjs +280 -0
- package/tools/templates/css.mjs +25 -0
- package/tools/templates/entry.mjs +4 -0
- package/tools/templates/figma.mjs +17 -0
- package/tools/templates/react.mjs +16 -0
- package/tools/templates/readme.mjs +80 -0
- package/tools/templates/storiesHtml.mjs +22 -0
- package/tools/templates/storiesReact.mjs +19 -0
- package/tools/templates/twig.mjs +9 -0
- package/tools/templates/webComponent.mjs +37 -0
- package/dist/build/chunks/Accordion-BzKLBuWL.js +0 -42
- package/dist/build/chunks/DropMenu-BckyZaZM.js +0 -43
- package/dist/build/chunks/Popover-hTv4lVea.js +0 -27
- package/dist/build/chunks/polyfills-QW1VbwlO.js +0 -562
- package/dist/build/chunks/popover-Dk48Vm_U.js +0 -407
- package/dist/build/chunks/utilities-DepaJdUg.js +0 -242
- package/dist/build/container-grid.css +0 -1
- package/src/Atom/Text/_text-sizes.css +0 -115
- package/src/Atom/Text/text-styles-example.twig +0 -21
- package/src/Atom/_print.css +0 -9
- package/src/Component/Card/card-grid.twig +0 -10
- package/src/Layout/Grid/container-grid.css +0 -191
- package/src/Layout/Header/Components/Logo.tsx +0 -17
- package/src/Utility/Hooks/useToggle.ts +0 -14
- /package/src/Atom/Text/{rich-text.twig → twig/rich-text.twig} +0 -0
- /package/src/Atom/Text/{text-style.twig → twig/text-style.twig} +0 -0
|
@@ -11,7 +11,7 @@ exports[`Collapsible Counter 1`] = `
|
|
|
11
11
|
</summary>
|
|
12
12
|
|
|
13
13
|
<form class="mx-filters__form mx-vertical-flow" action="#">
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
<mx-accordion>
|
|
16
16
|
<details class="mx-accordion mx-filter-item" id="filter-keywords-container" open="">
|
|
17
17
|
<summary class="mx-accordion__toggle">
|
|
@@ -25,7 +25,7 @@ exports[`Collapsible Counter 1`] = `
|
|
|
25
25
|
|
|
26
26
|
<input class="mx-input__text" id="filter-keywords" name="unique-0" type="text" value="" aria-label="Keywords" aria-describedby="unique-0">
|
|
27
27
|
|
|
28
|
-
<div class="mx-description" id="unique-0"
|
|
28
|
+
<div class="mx-description" id="unique-0">
|
|
29
29
|
Search by keywords
|
|
30
30
|
</div>
|
|
31
31
|
|
|
@@ -35,7 +35,6 @@ exports[`Collapsible Counter 1`] = `
|
|
|
35
35
|
</details>
|
|
36
36
|
</mx-accordion>
|
|
37
37
|
|
|
38
|
-
|
|
39
38
|
<mx-accordion>
|
|
40
39
|
<details class="mx-accordion mx-filter-item" id="filter-categories-container" open="">
|
|
41
40
|
<summary class="mx-accordion__toggle">
|
|
@@ -46,47 +45,48 @@ exports[`Collapsible Counter 1`] = `
|
|
|
46
45
|
<fieldset class="mx-form-item mx-fieldset mx-accordion__content">
|
|
47
46
|
|
|
48
47
|
|
|
49
|
-
|
|
48
|
+
|
|
50
49
|
<div class="mx-checkbox">
|
|
51
50
|
<input id="category-news" type="checkbox" name="categories" value="news" checked="checked">
|
|
52
51
|
<label for="category-news">News</label>
|
|
53
52
|
</div>
|
|
54
|
-
|
|
53
|
+
|
|
55
54
|
<div class="mx-checkbox">
|
|
56
55
|
<input id="category-media" type="checkbox" name="categories" value="media" checked="checked">
|
|
57
56
|
<label for="category-media">Media Releases</label>
|
|
58
57
|
</div>
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
|
|
59
|
+
<div data-hide="" hidden="until-found">
|
|
60
|
+
|
|
61
61
|
<div class="mx-checkbox">
|
|
62
62
|
<input id="category-publications" type="checkbox" name="categories" value="publications">
|
|
63
63
|
<label for="category-publications">Publications</label>
|
|
64
64
|
</div>
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
|
|
66
|
+
</div>
|
|
67
|
+
<button data-show="" class="mx-button mx-button--light" type="button">Show all (3)</button>
|
|
68
|
+
|
|
68
69
|
|
|
69
70
|
</fieldset>
|
|
70
71
|
|
|
71
72
|
</details>
|
|
72
73
|
</mx-accordion>
|
|
73
74
|
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
<div class="mx-form-actions">
|
|
76
|
+
|
|
76
77
|
<button class="mx-button mx-button--dark" type="submit">
|
|
77
78
|
|
|
78
79
|
<span>Apply filters</span>
|
|
79
80
|
|
|
80
81
|
</button>
|
|
81
|
-
|
|
82
|
-
|
|
82
|
+
|
|
83
83
|
<button class="mx-button mx-button--light" type="reset">
|
|
84
84
|
|
|
85
85
|
<span>Clear all filters</span>
|
|
86
86
|
|
|
87
87
|
</button>
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
</div>
|
|
90
90
|
</form>
|
|
91
91
|
|
|
92
92
|
</details>
|
|
@@ -110,7 +110,7 @@ exports[`Collapsible Right 1`] = `
|
|
|
110
110
|
Filters
|
|
111
111
|
<button class="mx-button mx-button--icon-only mx-icon mx-icon--close" data-close="">Close filters</button>
|
|
112
112
|
</div>
|
|
113
|
-
|
|
113
|
+
|
|
114
114
|
<mx-accordion>
|
|
115
115
|
<details class="mx-accordion mx-filter-item" id="filter-keywords-container" open="">
|
|
116
116
|
<summary class="mx-accordion__toggle">
|
|
@@ -120,7 +120,7 @@ exports[`Collapsible Right 1`] = `
|
|
|
120
120
|
|
|
121
121
|
<div class="mx-form-item mx-accordion__content">
|
|
122
122
|
|
|
123
|
-
<div class="mx-description" id="unique-0"
|
|
123
|
+
<div class="mx-description" id="unique-0">
|
|
124
124
|
Search by keywords
|
|
125
125
|
</div>
|
|
126
126
|
|
|
@@ -134,7 +134,6 @@ exports[`Collapsible Right 1`] = `
|
|
|
134
134
|
</details>
|
|
135
135
|
</mx-accordion>
|
|
136
136
|
|
|
137
|
-
|
|
138
137
|
<mx-accordion>
|
|
139
138
|
<details class="mx-accordion mx-filter-item" id="filter-categories-container" open="">
|
|
140
139
|
<summary class="mx-accordion__toggle">
|
|
@@ -145,47 +144,44 @@ exports[`Collapsible Right 1`] = `
|
|
|
145
144
|
<fieldset class="mx-form-item mx-fieldset mx-accordion__content">
|
|
146
145
|
|
|
147
146
|
|
|
148
|
-
|
|
147
|
+
|
|
149
148
|
<div class="mx-checkbox">
|
|
150
149
|
<input id="category-news" type="checkbox" name="categories" value="news">
|
|
151
150
|
<label for="category-news">News</label>
|
|
152
151
|
</div>
|
|
153
152
|
|
|
154
|
-
|
|
155
153
|
<div class="mx-checkbox">
|
|
156
154
|
<input id="category-media" type="checkbox" name="categories" value="media">
|
|
157
155
|
<label for="category-media">Media Releases</label>
|
|
158
156
|
</div>
|
|
159
157
|
|
|
160
|
-
|
|
161
158
|
<div class="mx-checkbox">
|
|
162
159
|
<input id="category-publications" type="checkbox" name="categories" value="publications">
|
|
163
160
|
<label for="category-publications">Publications</label>
|
|
164
161
|
</div>
|
|
165
162
|
|
|
166
|
-
|
|
163
|
+
|
|
167
164
|
|
|
168
165
|
</fieldset>
|
|
169
166
|
|
|
170
167
|
</details>
|
|
171
168
|
</mx-accordion>
|
|
172
169
|
|
|
173
|
-
|
|
174
|
-
|
|
170
|
+
<div class="mx-form-actions">
|
|
171
|
+
|
|
175
172
|
<button class="mx-button mx-button--dark" type="submit" disabled="">
|
|
176
173
|
|
|
177
174
|
<span>Apply filters</span>
|
|
178
175
|
|
|
179
176
|
</button>
|
|
180
|
-
|
|
181
|
-
|
|
177
|
+
|
|
182
178
|
<button class="mx-button mx-button--light" type="reset" disabled="">
|
|
183
179
|
|
|
184
180
|
<span>Clear all filters</span>
|
|
185
181
|
|
|
186
182
|
</button>
|
|
187
183
|
|
|
188
|
-
|
|
184
|
+
</div>
|
|
189
185
|
</form>
|
|
190
186
|
|
|
191
187
|
</details>
|
|
@@ -202,13 +198,15 @@ exports[`Filters 1`] = `
|
|
|
202
198
|
</h2>
|
|
203
199
|
|
|
204
200
|
<form class="mx-filters__form mx-vertical-flow" action="#">
|
|
205
|
-
|
|
201
|
+
|
|
206
202
|
|
|
207
203
|
<div class="mx-form-item mx-filter-item">
|
|
208
204
|
|
|
209
|
-
<label class="mx-label" for="filter-keywords">
|
|
205
|
+
<label class="mx-label" for="filter-keywords">
|
|
206
|
+
Keywords
|
|
207
|
+
</label>
|
|
210
208
|
|
|
211
|
-
<div class="mx-description" id="unique-0"
|
|
209
|
+
<div class="mx-description" id="unique-0">
|
|
212
210
|
Search by keywords
|
|
213
211
|
</div>
|
|
214
212
|
|
|
@@ -220,52 +218,50 @@ exports[`Filters 1`] = `
|
|
|
220
218
|
</div>
|
|
221
219
|
|
|
222
220
|
|
|
223
|
-
|
|
224
221
|
|
|
225
222
|
<fieldset class="mx-form-item mx-fieldset mx-filter-item">
|
|
226
223
|
|
|
227
|
-
<legend class="mx-legend">
|
|
224
|
+
<legend class="mx-legend">
|
|
225
|
+
Categories
|
|
226
|
+
</legend>
|
|
228
227
|
|
|
229
228
|
|
|
230
|
-
|
|
229
|
+
|
|
231
230
|
<div class="mx-checkbox">
|
|
232
231
|
<input id="category-news" type="checkbox" name="categories" value="news">
|
|
233
232
|
<label for="category-news">News</label>
|
|
234
233
|
</div>
|
|
235
234
|
|
|
236
|
-
|
|
237
235
|
<div class="mx-checkbox">
|
|
238
236
|
<input id="category-media" type="checkbox" name="categories" value="media">
|
|
239
237
|
<label for="category-media">Media Releases</label>
|
|
240
238
|
</div>
|
|
241
239
|
|
|
242
|
-
|
|
243
240
|
<div class="mx-checkbox">
|
|
244
241
|
<input id="category-publications" type="checkbox" name="categories" value="publications">
|
|
245
242
|
<label for="category-publications">Publications</label>
|
|
246
243
|
</div>
|
|
247
244
|
|
|
248
|
-
|
|
245
|
+
|
|
249
246
|
|
|
250
247
|
</fieldset>
|
|
251
248
|
|
|
252
249
|
|
|
253
|
-
|
|
254
|
-
|
|
250
|
+
<div class="mx-form-actions">
|
|
251
|
+
|
|
255
252
|
<button class="mx-button mx-button--dark" type="submit" disabled="">
|
|
256
253
|
|
|
257
254
|
<span>Apply filters</span>
|
|
258
255
|
|
|
259
256
|
</button>
|
|
260
|
-
|
|
261
|
-
|
|
257
|
+
|
|
262
258
|
<button class="mx-button mx-button--light" type="reset" disabled="">
|
|
263
259
|
|
|
264
260
|
<span>Clear all filters</span>
|
|
265
261
|
|
|
266
262
|
</button>
|
|
267
263
|
|
|
268
|
-
|
|
264
|
+
</div>
|
|
269
265
|
</form>
|
|
270
266
|
|
|
271
267
|
</mx-filters>
|
|
@@ -280,13 +276,15 @@ exports[`Instant 1`] = `
|
|
|
280
276
|
</h2>
|
|
281
277
|
|
|
282
278
|
<form class="mx-filters__form mx-vertical-flow" action="#">
|
|
283
|
-
|
|
279
|
+
|
|
284
280
|
|
|
285
281
|
<div class="mx-form-item mx-filter-item">
|
|
286
282
|
|
|
287
|
-
<label class="mx-label" for="filter-keywords">
|
|
283
|
+
<label class="mx-label" for="filter-keywords">
|
|
284
|
+
Keywords
|
|
285
|
+
</label>
|
|
288
286
|
|
|
289
|
-
<div class="mx-description" id="unique-0"
|
|
287
|
+
<div class="mx-description" id="unique-0">
|
|
290
288
|
Search by keywords
|
|
291
289
|
</div>
|
|
292
290
|
|
|
@@ -298,45 +296,44 @@ exports[`Instant 1`] = `
|
|
|
298
296
|
</div>
|
|
299
297
|
|
|
300
298
|
|
|
301
|
-
|
|
302
299
|
|
|
303
300
|
<fieldset class="mx-form-item mx-fieldset mx-filter-item">
|
|
304
301
|
|
|
305
|
-
<legend class="mx-legend">
|
|
302
|
+
<legend class="mx-legend">
|
|
303
|
+
Categories
|
|
304
|
+
</legend>
|
|
306
305
|
|
|
307
306
|
|
|
308
|
-
|
|
307
|
+
|
|
309
308
|
<div class="mx-checkbox">
|
|
310
309
|
<input id="category-news" type="checkbox" name="categories" value="news">
|
|
311
310
|
<label for="category-news">News</label>
|
|
312
311
|
</div>
|
|
313
312
|
|
|
314
|
-
|
|
315
313
|
<div class="mx-checkbox">
|
|
316
314
|
<input id="category-media" type="checkbox" name="categories" value="media">
|
|
317
315
|
<label for="category-media">Media Releases</label>
|
|
318
316
|
</div>
|
|
319
317
|
|
|
320
|
-
|
|
321
318
|
<div class="mx-checkbox">
|
|
322
319
|
<input id="category-publications" type="checkbox" name="categories" value="publications">
|
|
323
320
|
<label for="category-publications">Publications</label>
|
|
324
321
|
</div>
|
|
325
322
|
|
|
326
|
-
|
|
323
|
+
|
|
327
324
|
|
|
328
325
|
</fieldset>
|
|
329
326
|
|
|
330
327
|
|
|
331
|
-
|
|
332
|
-
|
|
328
|
+
<div class="mx-form-actions">
|
|
329
|
+
|
|
333
330
|
<button class="mx-button mx-button--light" type="reset" disabled="">
|
|
334
331
|
|
|
335
332
|
<span>Clear all filters</span>
|
|
336
333
|
|
|
337
334
|
</button>
|
|
338
335
|
|
|
339
|
-
|
|
336
|
+
</div>
|
|
340
337
|
</form>
|
|
341
338
|
|
|
342
339
|
</mx-filters>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
+
|
|
3
|
+
exports[`Collapsible 1`] = `"<div class="mx-filters mx-filters--down"><details class="mx-accordion" open=""><summary class="mx-accordion__toggle mx-filters__title">Filters<span class="mx-icon mx-icon--chevron-down" aria-hidden="true"></span></summary><form class="mx-filters__form mx-vertical-flow" action="#"><div class="mx-accordion mx-filter-item" data-open="true"><button type="button" class="mx-accordion__toggle" id="filter-keywords-container" aria-expanded="true">Keywords<span class="mx-icon mx-icon--chevron-down" aria-hidden="true"></span></button><section aria-labelledby="filter-keywords-container" class="mx-accordion__content mx-rich-text mx-vertical-flow"><div class="mx-form-item mx-accordion__content" id="filter-keywords"><div id="help-filter-keywords" class="mx-description">Search by keywords</div><input class="mx-input__text" id="filter-keywords" aria-describedby="help-filter-keywords" aria-invalid="false" aria-label="Keywords" type="text" value="" name="keywords"></div></section></div><div class="mx-accordion mx-filter-item" data-open="true"><button type="button" class="mx-accordion__toggle" id="filter-categories-container" aria-expanded="true">Categories<span class="mx-icon mx-icon--chevron-down" aria-hidden="true"></span></button><section aria-labelledby="filter-categories-container" class="mx-accordion__content mx-rich-text mx-vertical-flow"><fieldset class="mx-form-item mx-fieldset mx-accordion__content" id="filter-categories"><div class="mx-checkbox"><input id="_r_b_" data-react-aria-pressable="true" tabindex="0" type="checkbox" value="news" name="categories"><label for="_r_b_">News</label></div><div class="mx-checkbox"><input id="_r_e_" data-react-aria-pressable="true" tabindex="0" type="checkbox" value="media-releases" name="categories"><label for="_r_e_">Media Releases</label></div><button class="mx-button mx-button--light" type="button">Show all (3)</button></fieldset></section></div><div class="mx-form-actions"><button type="submit" class="mx-button mx-button--dark">Apply filters</button><button type="reset" class="mx-button mx-button--light">Clear all filters</button></div></form></details></div>"`;
|
|
4
|
+
|
|
5
|
+
exports[`Default 1`] = `"<div class="mx-filters"><h2 class="mx-filters__title">Filters</h2><form class="mx-filters__form mx-vertical-flow" action="#"><div class="mx-form-item mx-filter-item" id="filter-keywords"><label class="mx-label" for="filter-keywords">Keywords</label><div id="help-filter-keywords" class="mx-description">Search by keywords</div><input class="mx-input__text" id="filter-keywords" aria-describedby="help-filter-keywords" aria-invalid="false" aria-label="Keywords" type="text" value="" name="keywords"></div><fieldset class="mx-form-item mx-fieldset mx-filter-item" id="filter-categories"><legend class="mx-legend">Categories</legend><div class="mx-checkbox"><input id="_r_0_" data-react-aria-pressable="true" tabindex="0" type="checkbox" value="news" name="categories"><label for="_r_0_">News</label></div><div class="mx-checkbox"><input id="_r_3_" data-react-aria-pressable="true" tabindex="0" type="checkbox" value="media-releases" name="categories"><label for="_r_3_">Media Releases</label></div><div class="mx-checkbox"><input id="_r_6_" data-react-aria-pressable="true" tabindex="0" type="checkbox" value="publications" name="categories"><label for="_r_6_">Publications</label></div></fieldset><div class="mx-form-actions"><button type="submit" class="mx-button mx-button--dark">Apply filters</button><button type="reset" class="mx-button mx-button--light">Clear all filters</button></div></form></div>"`;
|
|
6
|
+
|
|
7
|
+
exports[`With Counter 1`] = `"<div class="mx-filters mx-filters--down"><details class="mx-accordion" open=""><summary class="mx-accordion__toggle mx-filters__title">Filters<span class="mx-icon mx-icon--chevron-down" aria-hidden="true"></span></summary><form class="mx-filters__form mx-vertical-flow" action="#"><div class="mx-accordion mx-filter-item" data-open="true"><button type="button" class="mx-accordion__toggle" id="filter-keywords-container" aria-expanded="true">Keywords<span class="mx-icon mx-icon--chevron-down" aria-hidden="true"></span></button><section aria-labelledby="filter-keywords-container" class="mx-accordion__content mx-rich-text mx-vertical-flow"><div class="mx-form-item mx-accordion__content" id="filter-keywords"><div id="help-filter-keywords" class="mx-description">Search by keywords</div><input class="mx-input__text" id="filter-keywords" aria-describedby="help-filter-keywords" aria-invalid="false" aria-label="Keywords" type="text" value="" name="keywords"></div></section></div><div class="mx-accordion mx-filter-item" data-open="true"><button type="button" class="mx-accordion__toggle" id="filter-categories-container" aria-expanded="true">Categories<span class="mx-icon mx-icon--chevron-down" aria-hidden="true"></span></button><section aria-labelledby="filter-categories-container" class="mx-accordion__content mx-rich-text mx-vertical-flow"><fieldset class="mx-form-item mx-fieldset mx-accordion__content" id="filter-categories"><div class="mx-checkbox"><input id="_r_j_" data-react-aria-pressable="true" tabindex="0" type="checkbox" value="news" name="categories"><label for="_r_j_">News</label></div><div class="mx-checkbox"><input id="_r_m_" data-react-aria-pressable="true" tabindex="0" type="checkbox" value="media-releases" name="categories"><label for="_r_m_">Media Releases</label></div><button class="mx-button mx-button--light" type="button">Show all (3)</button></fieldset></section></div><div class="mx-form-actions"><button type="submit" class="mx-button mx-button--dark">Apply filters</button><button type="reset" class="mx-button mx-button--light">Clear all filters</button></div></form></details></div>"`;
|
|
@@ -21,22 +21,12 @@
|
|
|
21
21
|
<{{ as }}{{ attributes }}>
|
|
22
22
|
{{ label }}
|
|
23
23
|
{{ descriptionStart }}
|
|
24
|
-
{% if
|
|
25
|
-
{
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
{% for field in fields %}
|
|
31
|
-
{% if loop.index > shownItems %}{{ field }}{% endif %}
|
|
32
|
-
{% endfor %}
|
|
33
|
-
</div>
|
|
34
|
-
<button data-show class="mx-button mx-button--light" type="button">Show all ({{ fields|length }})</button>
|
|
35
|
-
{% else %}
|
|
36
|
-
{% for field in fields %}
|
|
37
|
-
{{ field }}
|
|
38
|
-
{% endfor %}
|
|
39
|
-
{% endif %}
|
|
24
|
+
{% if hiddenFields is not empty %}
|
|
25
|
+
{{ visibleFields }}
|
|
26
|
+
<div data-hide>
|
|
27
|
+
{{ hiddenFields }}
|
|
28
|
+
</div>
|
|
29
|
+
<button data-show class="mx-button mx-button--light" type="button">Show all ({{ fieldCount }})</button>
|
|
40
30
|
{% else %}
|
|
41
31
|
{{ fields }}
|
|
42
32
|
{% endif %}
|
|
@@ -78,12 +78,29 @@
|
|
|
78
78
|
margin-inline-start: auto;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
+
|
|
82
|
+
& :is(.mx-input__text, .mx-input__select, .mx-input__textarea) {
|
|
83
|
+
inline-size: 100%;
|
|
84
|
+
}
|
|
81
85
|
}
|
|
82
86
|
|
|
83
87
|
.mx-filter-item .mx-accordion__content {
|
|
84
88
|
padding-block-start: var(--spacing-xxxs);
|
|
85
89
|
}
|
|
86
90
|
|
|
91
|
+
.mx-filters--sticky {
|
|
92
|
+
@media (--medium-up) {
|
|
93
|
+
& .mx-filters__form {
|
|
94
|
+
position: sticky;
|
|
95
|
+
inset-block-start: var(--filters-sticky-offset, var(--spacing-l));
|
|
96
|
+
max-block-size: calc(
|
|
97
|
+
100dvh - var(--filters-sticky-offset, var(--spacing-l)) - var(--spacing-l)
|
|
98
|
+
);
|
|
99
|
+
overflow-y: auto;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
87
104
|
.mx-filters--right {
|
|
88
105
|
@media (--medium-down) {
|
|
89
106
|
& .mx-filters__form {
|
|
@@ -30,14 +30,10 @@
|
|
|
30
30
|
<button class="mx-button mx-button--icon-only mx-icon mx-icon--close" data-close>Close filters</button>
|
|
31
31
|
</div>
|
|
32
32
|
{% endif %}
|
|
33
|
-
{
|
|
34
|
-
{{ item }}
|
|
35
|
-
{% endfor %}
|
|
33
|
+
{{ items }}
|
|
36
34
|
{% if actions is not empty %}
|
|
37
35
|
<div class="mx-form-actions">
|
|
38
|
-
{
|
|
39
|
-
{{ action }}
|
|
40
|
-
{% endfor %}
|
|
36
|
+
{{ actions }}
|
|
41
37
|
</div>
|
|
42
38
|
{% endif %}
|
|
43
39
|
</form>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { JSX, ComponentPropsWithoutRef, PropsWithChildren } from "react"
|
|
2
|
+
import classNames from "classnames"
|
|
3
|
+
import { useGallery } from "../Gallery"
|
|
4
|
+
|
|
5
|
+
type GalleryTriggerProps = ComponentPropsWithoutRef<"button"> &
|
|
6
|
+
PropsWithChildren & {
|
|
7
|
+
index: number
|
|
8
|
+
className?: string
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const GalleryTrigger = ({
|
|
12
|
+
index,
|
|
13
|
+
children,
|
|
14
|
+
className,
|
|
15
|
+
...props
|
|
16
|
+
}: GalleryTriggerProps): JSX.Element => {
|
|
17
|
+
const { openAt } = useGallery()
|
|
18
|
+
return (
|
|
19
|
+
<button
|
|
20
|
+
type="button"
|
|
21
|
+
className={classNames("mx-gallery__trigger", className)}
|
|
22
|
+
onClick={() => openAt(index)}
|
|
23
|
+
{...props}
|
|
24
|
+
>
|
|
25
|
+
{children}
|
|
26
|
+
</button>
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export default GalleryTrigger
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gallery
|
|
3
|
+
* @file Extends Dialog so opening the modal (native `showModal()`/`close()`)
|
|
4
|
+
* and all its behaviour (focus trap, focus return, outside click, escape) is
|
|
5
|
+
* inherited unchanged. The only thing Gallery adds is: when a trigger with a
|
|
6
|
+
* `data-gallery-index` is clicked, scroll the nested Carousel (if any) to
|
|
7
|
+
* that slide once the dialog is open.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import Dialog from "../../Dialog/Elements/Dialog"
|
|
11
|
+
|
|
12
|
+
export default class Gallery extends Dialog {
|
|
13
|
+
connectedCallback(): void {
|
|
14
|
+
super.connectedCallback()
|
|
15
|
+
if (!this.dialog) return
|
|
16
|
+
|
|
17
|
+
const { signal } = this.controller
|
|
18
|
+
this.openBtns?.forEach(btn =>
|
|
19
|
+
btn.addEventListener("click", () => this.scrollToTrigger(btn), { signal }),
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
scrollToTrigger = (trigger: HTMLButtonElement): void => {
|
|
24
|
+
const index = trigger.dataset.galleryIndex ?? "0"
|
|
25
|
+
const item = this.carousel?.track?.querySelector<HTMLElement>(`[data-index="${index}"]`)
|
|
26
|
+
if (!item) return
|
|
27
|
+
// Carousel marks off-screen slides `inert` via its own IntersectionObserver
|
|
28
|
+
// — scrollIntoView silently no-ops on an inert element, so clear it first;
|
|
29
|
+
// Carousel's observer recomputes the correct value once the scroll settles.
|
|
30
|
+
item.removeAttribute("inert")
|
|
31
|
+
item.scrollIntoView({ inline: "start", block: "nearest" })
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
get carousel(): HTMLElementTagNameMap["mx-carousel"] | null {
|
|
35
|
+
return this.querySelector("mx-carousel")
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (!customElements.get("mx-gallery")) customElements.define("mx-gallery", Gallery)
|
|
40
|
+
|
|
41
|
+
declare global {
|
|
42
|
+
interface HTMLElementTagNameMap {
|
|
43
|
+
"mx-gallery": Gallery
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/html-vite"
|
|
2
|
+
import Component from "./gallery.twig"
|
|
3
|
+
import Carousel from "../Carousel/carousel.twig"
|
|
4
|
+
import Image from "../../Atom/Image/image.twig"
|
|
5
|
+
import "./gallery.css"
|
|
6
|
+
import "./Elements/Gallery"
|
|
7
|
+
import "../Dialog/dialog.css"
|
|
8
|
+
import "../Carousel/carousel.css"
|
|
9
|
+
import "../Carousel/Elements/Carousel"
|
|
10
|
+
import "../../Atom/Image/_image.css"
|
|
11
|
+
|
|
12
|
+
const photos = Array.from({ length: 6 }, (_, index) => ({
|
|
13
|
+
src: `https://picsum.photos/seed/gallery-${index}/800/600`,
|
|
14
|
+
alt: `Photo ${index + 1}`,
|
|
15
|
+
}))
|
|
16
|
+
|
|
17
|
+
type GalleryTwigProps = {
|
|
18
|
+
id?: string
|
|
19
|
+
preview: string
|
|
20
|
+
content: string
|
|
21
|
+
dialogLabel?: string
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const meta: Meta<GalleryTwigProps> = {
|
|
25
|
+
tags: ["autodocs"],
|
|
26
|
+
component: Component,
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export default meta
|
|
30
|
+
type Story = StoryObj<GalleryTwigProps>
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* A grid of thumbnails — clicking any of them opens a fullscreen carousel of
|
|
34
|
+
* every photo, starting at the one clicked.
|
|
35
|
+
*/
|
|
36
|
+
export const Grid: Story = {
|
|
37
|
+
args: {
|
|
38
|
+
id: "gallery-grid",
|
|
39
|
+
preview: photos
|
|
40
|
+
.map(
|
|
41
|
+
(photo, index) =>
|
|
42
|
+
`<button type="button" class="mx-gallery__trigger" aria-controls="gallery-grid" data-gallery-index="${index}">${Image(photo)}</button>`,
|
|
43
|
+
)
|
|
44
|
+
.join(""),
|
|
45
|
+
content: Carousel({
|
|
46
|
+
items: photos.map(photo => Image(photo)).join(""),
|
|
47
|
+
counter: true,
|
|
48
|
+
}),
|
|
49
|
+
},
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* A single preview image. With only one photo in the set, the modal shows
|
|
54
|
+
* it directly instead of a carousel.
|
|
55
|
+
*/
|
|
56
|
+
export const SingleImage: Story = {
|
|
57
|
+
args: {
|
|
58
|
+
id: "gallery-single",
|
|
59
|
+
preview: `<button type="button" class="mx-gallery__trigger" aria-controls="gallery-single">${Image(photos[0])}</button>`,
|
|
60
|
+
content: Image(photos[0]),
|
|
61
|
+
},
|
|
62
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react-vite"
|
|
2
|
+
import Component from "./Gallery"
|
|
3
|
+
import GalleryTrigger from "./Components/GalleryTrigger"
|
|
4
|
+
import Carousel from "../Carousel/Carousel"
|
|
5
|
+
import "./gallery.css"
|
|
6
|
+
import "../Dialog/dialog.css"
|
|
7
|
+
import "../Carousel/carousel.css"
|
|
8
|
+
import { Page } from "../../../.storybook-react/decorators"
|
|
9
|
+
|
|
10
|
+
const photos = Array.from({ length: 6 }, (_, index) => ({
|
|
11
|
+
src: `https://picsum.photos/seed/gallery-${index}/800/600`,
|
|
12
|
+
alt: `Photo ${index + 1}`,
|
|
13
|
+
}))
|
|
14
|
+
|
|
15
|
+
const carouselItems = photos.map(photo => <img key={photo.src} src={photo.src} alt={photo.alt} />)
|
|
16
|
+
|
|
17
|
+
const meta: Meta<typeof Component> = {
|
|
18
|
+
tags: ["autodocs"],
|
|
19
|
+
component: Component,
|
|
20
|
+
decorators: [Page],
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export default meta
|
|
24
|
+
type Story = StoryObj<typeof meta>
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* A grid of thumbnails — clicking any of them opens a fullscreen carousel of
|
|
28
|
+
* every photo, starting at the one clicked.
|
|
29
|
+
*/
|
|
30
|
+
export const Grid: Story = {
|
|
31
|
+
render: () => (
|
|
32
|
+
<Component
|
|
33
|
+
// oxlint-disable-next-line react-perf/jsx-no-jsx-as-prop -- Storybook story, rendered once per view, not a hot re-render path
|
|
34
|
+
content={<Carousel items={carouselItems} counter />}
|
|
35
|
+
>
|
|
36
|
+
{photos.map((photo, index) => (
|
|
37
|
+
<GalleryTrigger key={photo.src} index={index}>
|
|
38
|
+
<img src={photo.src} alt={photo.alt} />
|
|
39
|
+
</GalleryTrigger>
|
|
40
|
+
))}
|
|
41
|
+
</Component>
|
|
42
|
+
),
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* A single preview image. With only one photo in the set, the modal shows
|
|
47
|
+
* it directly instead of a carousel.
|
|
48
|
+
*/
|
|
49
|
+
export const SingleImage: Story = {
|
|
50
|
+
render: () => (
|
|
51
|
+
// oxlint-disable-next-line react-perf/jsx-no-jsx-as-prop -- Storybook story, rendered once per view, not a hot re-render path
|
|
52
|
+
<Component content={<img src={photos[0].src} alt={photos[0].alt} />}>
|
|
53
|
+
<GalleryTrigger index={0}>
|
|
54
|
+
<img src={photos[0].src} alt={photos[0].alt} />
|
|
55
|
+
</GalleryTrigger>
|
|
56
|
+
</Component>
|
|
57
|
+
),
|
|
58
|
+
}
|