@pnx-mixtape/mxds 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +274 -0
- package/dist/build/Accordion.js +61 -0
- package/dist/build/Accordion.js.map +1 -0
- package/dist/build/AccordionDiv.js +62 -0
- package/dist/build/AccordionDiv.js.map +1 -0
- package/dist/build/AccordionGroup.js +85 -0
- package/dist/build/AccordionGroup.js.map +1 -0
- package/dist/build/AccordionMobile.js +31 -0
- package/dist/build/AccordionMobile.js.map +1 -0
- package/dist/build/Dialog.js +116 -0
- package/dist/build/Dialog.js.map +1 -0
- package/dist/build/DropMenu.js +132 -0
- package/dist/build/DropMenu.js.map +1 -0
- package/dist/build/GlobalToggle.js +103 -0
- package/dist/build/GlobalToggle.js.map +1 -0
- package/dist/build/InPageAlert.js +61 -0
- package/dist/build/InPageAlert.js.map +1 -0
- package/dist/build/InPageNavigation.js +92 -0
- package/dist/build/InPageNavigation.js.map +1 -0
- package/dist/build/Navigation.js +126 -0
- package/dist/build/Navigation.js.map +1 -0
- package/dist/build/Sticky.js +63 -0
- package/dist/build/Sticky.js.map +1 -0
- package/dist/build/Tabs.js +164 -0
- package/dist/build/Tabs.js.map +1 -0
- package/dist/build/accordion.css +108 -0
- package/dist/build/base.css +1000 -0
- package/dist/build/breadcrumb.css +47 -0
- package/dist/build/breakpoint-loader.js +52 -0
- package/dist/build/breakpoint-loader.js.map +1 -0
- package/dist/build/button.css +126 -0
- package/dist/build/callout.css +11 -0
- package/dist/build/card.css +135 -0
- package/dist/build/chunks/js.cookie-CiMiGxWx.js +101 -0
- package/dist/build/chunks/js.cookie-CiMiGxWx.js.map +1 -0
- package/dist/build/chunks/polyfills-CJ5uTmUJ.js +749 -0
- package/dist/build/chunks/polyfills-CJ5uTmUJ.js.map +1 -0
- package/dist/build/chunks/popover-wbPSyFRj.js +654 -0
- package/dist/build/chunks/popover-wbPSyFRj.js.map +1 -0
- package/dist/build/chunks/utilities-BIk0P2KX.js +61 -0
- package/dist/build/chunks/utilities-BIk0P2KX.js.map +1 -0
- package/dist/build/constants.css +120 -0
- package/dist/build/container-grid.css +207 -0
- package/dist/build/content-block.css +23 -0
- package/dist/build/cookie-compliance.js +122 -0
- package/dist/build/cookie-compliance.js.map +1 -0
- package/dist/build/dialog.css +98 -0
- package/dist/build/disclosure-widget.js +124 -0
- package/dist/build/disclosure-widget.js.map +1 -0
- package/dist/build/drop-menu.css +78 -0
- package/dist/build/drupal.css +74 -0
- package/dist/build/footer-menu.css +32 -0
- package/dist/build/footer.css +61 -0
- package/dist/build/form.css +589 -0
- package/dist/build/grid.css +200 -0
- package/dist/build/header.css +131 -0
- package/dist/build/hero-banner.css +62 -0
- package/dist/build/icon.css +399 -0
- package/dist/build/in-page-alert.css +94 -0
- package/dist/build/in-page-navigation.css +17 -0
- package/dist/build/index.css +4980 -0
- package/dist/build/io-loader.js +44 -0
- package/dist/build/io-loader.js.map +1 -0
- package/dist/build/keyboard.js +101 -0
- package/dist/build/keyboard.js.map +1 -0
- package/dist/build/link-list.css +72 -0
- package/dist/build/masthead.css +39 -0
- package/dist/build/nav-list.css +29 -0
- package/dist/build/navigation.css +371 -0
- package/dist/build/page.css +184 -0
- package/dist/build/pagination.css +123 -0
- package/dist/build/section.css +160 -0
- package/dist/build/sidebar.css +105 -0
- package/dist/build/sticky.css +47 -0
- package/dist/build/tabs.css +106 -0
- package/dist/build/tag.css +67 -0
- package/dist/build/tiles.css +61 -0
- package/dist/build/utilities.css +175 -0
- package/package.json +130 -0
- package/src/Atom/Background/Backgrounds.stories.ts +36 -0
- package/src/Atom/Background/__snapshots__/Backgrounds.stories.ts.snap +100 -0
- package/src/Atom/Background/_background.css +80 -0
- package/src/Atom/Background/backgrounds.twig +10 -0
- package/src/Atom/Base.mdx +76 -0
- package/src/Atom/Blockquote/_blockquote.css +7 -0
- package/src/Atom/Button/Button.stories.ts +71 -0
- package/src/Atom/Button/Button.stories.tsx +31 -0
- package/src/Atom/Button/Button.tsx +70 -0
- package/src/Atom/Button/README.md +30 -0
- package/src/Atom/Button/__snapshots__/Button.stories.ts.snap +41 -0
- package/src/Atom/Button/__snapshots__/Button.stories.tsx.snap +17 -0
- package/src/Atom/Button/_buttons-styles.css +48 -0
- package/src/Atom/Button/_buttons.css +71 -0
- package/src/Atom/Button/button.css +2 -0
- package/src/Atom/Button/button.twig +23 -0
- package/src/Atom/DefinitionList/DefinitionList.stories.tsx +25 -0
- package/src/Atom/DefinitionList/DefinitionList.tsx +27 -0
- package/src/Atom/DefinitionList/__snapshots__/DefinitionList.stories.tsx.snap +30 -0
- package/src/Atom/Heading/Heading.stories.ts +25 -0
- package/src/Atom/Heading/Heading.stories.tsx +19 -0
- package/src/Atom/Heading/Heading.tsx +44 -0
- package/src/Atom/Heading/__snapshots__/Heading.stories.ts.snap +7 -0
- package/src/Atom/Heading/__snapshots__/Heading.stories.tsx.snap +9 -0
- package/src/Atom/Heading/_headings.css +84 -0
- package/src/Atom/Heading/heading.twig +8 -0
- package/src/Atom/Icon/Icon.mdx +32 -0
- package/src/Atom/Icon/Icon.stories.ts +50 -0
- package/src/Atom/Icon/Icon.stories.tsx +44 -0
- package/src/Atom/Icon/Icon.tsx +30 -0
- package/src/Atom/Icon/README.md +7 -0
- package/src/Atom/Icon/__snapshots__/Icon.stories.ts.snap +18 -0
- package/src/Atom/Icon/__snapshots__/Icon.stories.tsx.snap +18 -0
- package/src/Atom/Icon/_extended-set.css +45 -0
- package/src/Atom/Icon/_icon.css +151 -0
- package/src/Atom/Icon/_mixin-icon.css +5 -0
- package/src/Atom/Icon/icon.css +2 -0
- package/src/Atom/Icon/icon.twig +12 -0
- package/src/Atom/Icon/images/arrow-down.svg +1 -0
- package/src/Atom/Icon/images/arrow-left.svg +1 -0
- package/src/Atom/Icon/images/arrow-right.svg +1 -0
- package/src/Atom/Icon/images/arrow-up.svg +1 -0
- package/src/Atom/Icon/images/attachment.svg +1 -0
- package/src/Atom/Icon/images/blockquote.svg +1 -0
- package/src/Atom/Icon/images/bluesky.svg +1 -0
- package/src/Atom/Icon/images/bookmark.svg +1 -0
- package/src/Atom/Icon/images/building.svg +1 -0
- package/src/Atom/Icon/images/calendar.svg +1 -0
- package/src/Atom/Icon/images/chevron-down.svg +1 -0
- package/src/Atom/Icon/images/chevron-left.svg +1 -0
- package/src/Atom/Icon/images/chevron-right.svg +1 -0
- package/src/Atom/Icon/images/chevron-up.svg +1 -0
- package/src/Atom/Icon/images/clock.svg +1 -0
- package/src/Atom/Icon/images/close.svg +1 -0
- package/src/Atom/Icon/images/collapse.svg +1 -0
- package/src/Atom/Icon/images/controls.svg +1 -0
- package/src/Atom/Icon/images/download.svg +1 -0
- package/src/Atom/Icon/images/drupal.svg +3 -0
- package/src/Atom/Icon/images/email.svg +1 -0
- package/src/Atom/Icon/images/error.svg +1 -0
- package/src/Atom/Icon/images/expand.svg +1 -0
- package/src/Atom/Icon/images/external-link.svg +1 -0
- package/src/Atom/Icon/images/facebook.svg +1 -0
- package/src/Atom/Icon/images/file.svg +1 -0
- package/src/Atom/Icon/images/globe.svg +1 -0
- package/src/Atom/Icon/images/google.svg +1 -0
- package/src/Atom/Icon/images/heart-selected.svg +1 -0
- package/src/Atom/Icon/images/heart-unselected.svg +1 -0
- package/src/Atom/Icon/images/home.svg +1 -0
- package/src/Atom/Icon/images/image.svg +1 -0
- package/src/Atom/Icon/images/info.svg +1 -0
- package/src/Atom/Icon/images/instagram.svg +1 -0
- package/src/Atom/Icon/images/link.svg +1 -0
- package/src/Atom/Icon/images/linkedin.svg +1 -0
- package/src/Atom/Icon/images/list.svg +1 -0
- package/src/Atom/Icon/images/lock.svg +1 -0
- package/src/Atom/Icon/images/login.svg +1 -0
- package/src/Atom/Icon/images/mastodon.svg +3 -0
- package/src/Atom/Icon/images/media-next.svg +1 -0
- package/src/Atom/Icon/images/media-pause.svg +1 -0
- package/src/Atom/Icon/images/media-play.svg +1 -0
- package/src/Atom/Icon/images/media-previous.svg +1 -0
- package/src/Atom/Icon/images/media-rewind.svg +1 -0
- package/src/Atom/Icon/images/media-skip.svg +1 -0
- package/src/Atom/Icon/images/media-stop.svg +1 -0
- package/src/Atom/Icon/images/menu.svg +1 -0
- package/src/Atom/Icon/images/more.svg +1 -0
- package/src/Atom/Icon/images/notification.svg +1 -0
- package/src/Atom/Icon/images/pencil.svg +1 -0
- package/src/Atom/Icon/images/phone.svg +1 -0
- package/src/Atom/Icon/images/pin.svg +1 -0
- package/src/Atom/Icon/images/print.svg +1 -0
- package/src/Atom/Icon/images/question.svg +1 -0
- package/src/Atom/Icon/images/restart.svg +1 -0
- package/src/Atom/Icon/images/search.svg +1 -0
- package/src/Atom/Icon/images/settings.svg +1 -0
- package/src/Atom/Icon/images/share.svg +1 -0
- package/src/Atom/Icon/images/star-selected.svg +1 -0
- package/src/Atom/Icon/images/star-unselected.svg +1 -0
- package/src/Atom/Icon/images/success.svg +1 -0
- package/src/Atom/Icon/images/tick.svg +1 -0
- package/src/Atom/Icon/images/trash.svg +1 -0
- package/src/Atom/Icon/images/twitter.svg +1 -0
- package/src/Atom/Icon/images/user.svg +1 -0
- package/src/Atom/Icon/images/video.svg +1 -0
- package/src/Atom/Icon/images/warning.svg +1 -0
- package/src/Atom/Icon/images/youtube.svg +1 -0
- package/src/Atom/Image/Image.stories.ts +20 -0
- package/src/Atom/Image/__snapshots__/Image.stories.ts.snap +9 -0
- package/src/Atom/Image/_image.css +29 -0
- package/src/Atom/Image/image.twig +13 -0
- package/src/Atom/Link/Link.stories.ts +37 -0
- package/src/Atom/Link/Link.stories.tsx +30 -0
- package/src/Atom/Link/Link.tsx +38 -0
- package/src/Atom/Link/__snapshots__/Link.stories.ts.snap +17 -0
- package/src/Atom/Link/__snapshots__/Link.stories.tsx.snap +25 -0
- package/src/Atom/Link/_links.css +39 -0
- package/src/Atom/Link/link.twig +12 -0
- package/src/Atom/Media/Media.stories.ts +26 -0
- package/src/Atom/Media/Media.stories.tsx +25 -0
- package/src/Atom/Media/Media.tsx +42 -0
- package/src/Atom/Media/__snapshots__/Media.stories.ts.snap +14 -0
- package/src/Atom/Media/__snapshots__/Media.stories.tsx.snap +18 -0
- package/src/Atom/Media/_media.css +40 -0
- package/src/Atom/Media/media.twig +18 -0
- package/src/Atom/NavList/NavList.stories.ts +15 -0
- package/src/Atom/NavList/__snapshots__/NavList.stories.ts.snap +43 -0
- package/src/Atom/NavList/nav-list.css +29 -0
- package/src/Atom/NavList/nav-list.twig +25 -0
- package/src/Atom/README.md +5 -0
- package/src/Atom/Spacing/Spacing.stories.ts +48 -0
- package/src/Atom/Spacing/__snapshots__/Spacing.stories.ts.snap +8 -0
- package/src/Atom/Spacing/_spacing.css +36 -0
- package/src/Atom/Spacing/spacing.twig +3 -0
- package/src/Atom/Table/Table.stories.ts +39 -0
- package/src/Atom/Table/TableResponsive.stories.ts +16 -0
- package/src/Atom/Table/__snapshots__/Table.stories.ts.snap +261 -0
- package/src/Atom/Table/__snapshots__/TableResponsive.stories.ts.snap +68 -0
- package/src/Atom/Table/_table.css +72 -0
- package/src/Atom/Table/table-responsive.twig +32 -0
- package/src/Atom/Table/table.twig +30 -0
- package/src/Atom/Text/Text.stories.tsx +20 -0
- package/src/Atom/Text/Text.tsx +26 -0
- package/src/Atom/Text/TextSizes.stories.ts +25 -0
- package/src/Atom/Text/__snapshots__/Text.stories.tsx.snap +7 -0
- package/src/Atom/Text/__snapshots__/TextSizes.stories.ts.snap +63 -0
- package/src/Atom/Text/_text-align.css +13 -0
- package/src/Atom/Text/_text-sizes.css +117 -0
- package/src/Atom/Text/text-alignment.twig +5 -0
- package/src/Atom/Text/text-style.twig +1 -0
- package/src/Atom/Text/text-styles-example.twig +35 -0
- package/src/Atom/Video/Video.stories.ts +16 -0
- package/src/Atom/Video/Video.tsx +17 -0
- package/src/Atom/Video/__snapshots__/Video.stories.ts.snap +21 -0
- package/src/Atom/Video/_video.css +10 -0
- package/src/Atom/Video/video.twig +5 -0
- package/src/Atom/_animated.css +65 -0
- package/src/Atom/_base.css +62 -0
- package/src/Atom/_flow-legacy.css +48 -0
- package/src/Atom/_flow.css +53 -0
- package/src/Atom/_generic.css +93 -0
- package/src/Atom/_hr.css +10 -0
- package/src/Atom/_mixins.css +22 -0
- package/src/Atom/_print.css +20 -0
- package/src/Atom/base.css +5 -0
- package/src/Atom/images/external-link.svg +1 -0
- package/src/Component/Accordion/Accordion.stories.ts +51 -0
- package/src/Component/Accordion/Accordion.stories.tsx +22 -0
- package/src/Component/Accordion/Accordion.tsx +83 -0
- package/src/Component/Accordion/Elements/Accordion.ts +82 -0
- package/src/Component/Accordion/Elements/AccordionDiv.ts +83 -0
- package/src/Component/Accordion/Elements/AccordionGroup.ts +106 -0
- package/src/Component/Accordion/Elements/AccordionMobile.ts +47 -0
- package/src/Component/Accordion/README.md +45 -0
- package/src/Component/Accordion/__snapshots__/Accordion.stories.ts.snap +94 -0
- package/src/Component/Accordion/__snapshots__/Accordion.stories.tsx.snap +26 -0
- package/src/Component/Accordion/accordion-item.twig +18 -0
- package/src/Component/Accordion/accordion.css +107 -0
- package/src/Component/Accordion/accordion.twig +19 -0
- package/src/Component/Accordion/images/collapse.svg +1 -0
- package/src/Component/Accordion/images/expand.svg +1 -0
- package/src/Component/Accordion/twig/accordion-div.twig +13 -0
- package/src/Component/Accordion/twig/accordion-example.twig +36 -0
- package/src/Component/Accordion/twig/accordion-mobile.twig +15 -0
- package/src/Component/Accordion/twig/accordion-story.twig +13 -0
- package/src/Component/Author/Author.stories.tsx +18 -0
- package/src/Component/Author/Author.tsx +30 -0
- package/src/Component/Author/__snapshots__/Author.stories.tsx.snap +21 -0
- package/src/Component/Breadcrumb/Breadcrumb.stories.ts +15 -0
- package/src/Component/Breadcrumb/Breadcrumb.stories.tsx +38 -0
- package/src/Component/Breadcrumb/Breadcrumb.tsx +34 -0
- package/src/Component/Breadcrumb/__snapshots__/Breadcrumb.stories.ts.snap +26 -0
- package/src/Component/Breadcrumb/__snapshots__/Breadcrumb.stories.tsx.snap +60 -0
- package/src/Component/Breadcrumb/breadcrumb.css +46 -0
- package/src/Component/Breadcrumb/breadcrumb.twig +12 -0
- package/src/Component/Callout/Callout.stories.ts +29 -0
- package/src/Component/Callout/callout.css +7 -0
- package/src/Component/Callout/callout.twig +10 -0
- package/src/Component/Callout/twig/callout-story.twig +11 -0
- package/src/Component/Card/CHANGELOG.md +187 -0
- package/src/Component/Card/Card.stories.ts +106 -0
- package/src/Component/Card/Card.stories.tsx +50 -0
- package/src/Component/Card/Card.tsx +56 -0
- package/src/Component/Card/README.md +21 -0
- package/src/Component/Card/__snapshots__/Card.stories.ts.snap +186 -0
- package/src/Component/Card/__snapshots__/Card.stories.tsx.snap +88 -0
- package/src/Component/Card/__snapshots__/CardGrid.stories.ts.snap +89 -0
- package/src/Component/Card/card-grid.twig +10 -0
- package/src/Component/Card/card.css +128 -0
- package/src/Component/Card/card.twig +45 -0
- package/src/Component/Card/twig/old-card.twig +17 -0
- package/src/Component/Card/twig/story-card.twig +29 -0
- package/src/Component/ContentBlock/ContentBlock.stories.ts +15 -0
- package/src/Component/ContentBlock/ContentBlock.stories.tsx +30 -0
- package/src/Component/ContentBlock/ContentBlock.tsx +37 -0
- package/src/Component/ContentBlock/README.md +21 -0
- package/src/Component/ContentBlock/__snapshots__/ContentBlock.stories.ts.snap +26 -0
- package/src/Component/ContentBlock/__snapshots__/ContentBlock.stories.tsx.snap +21 -0
- package/src/Component/ContentBlock/content-block.css +21 -0
- package/src/Component/ContentBlock/content-block.twig +12 -0
- package/src/Component/ContentBlock/twig/content-block-example.twig +7 -0
- package/src/Component/Dialog/Dialog.stories.ts +28 -0
- package/src/Component/Dialog/Dialog.stories.tsx +45 -0
- package/src/Component/Dialog/Dialog.tsx +79 -0
- package/src/Component/Dialog/Elements/Dialog.ts +145 -0
- package/src/Component/Dialog/README.md +63 -0
- package/src/Component/Dialog/__snapshots__/Dialog.stories.ts.snap +85 -0
- package/src/Component/Dialog/__snapshots__/Dialog.stories.tsx.snap +39 -0
- package/src/Component/Dialog/dialog.css +85 -0
- package/src/Component/Dialog/dialog.twig +19 -0
- package/src/Component/DropMenu/Components/DropMenuContext.tsx +192 -0
- package/src/Component/DropMenu/Components/DropMenuItem.tsx +35 -0
- package/src/Component/DropMenu/DropMenu.stories.ts +36 -0
- package/src/Component/DropMenu/DropMenu.stories.tsx +24 -0
- package/src/Component/DropMenu/DropMenu.tsx +81 -0
- package/src/Component/DropMenu/Elements/DropMenu.ts +172 -0
- package/src/Component/DropMenu/README.md +11 -0
- package/src/Component/DropMenu/__snapshots__/DropMenu.stories.ts.snap +32 -0
- package/src/Component/DropMenu/__snapshots__/DropMenu.stories.tsx.snap +47 -0
- package/src/Component/DropMenu/drop-menu.css +68 -0
- package/src/Component/DropMenu/drop-menu.twig +27 -0
- package/src/Component/DropMenu/polyfills.js +28 -0
- package/src/Component/HeroBanner/HeroBanner.stories.ts +75 -0
- package/src/Component/HeroBanner/HeroBanner.stories.tsx +30 -0
- package/src/Component/HeroBanner/HeroBanner.tsx +50 -0
- package/src/Component/HeroBanner/__snapshots__/PageTitle.stories.ts.snap +31 -0
- package/src/Component/HeroBanner/__snapshots__/PageTitle.stories.tsx.snap +36 -0
- package/src/Component/HeroBanner/hero-banner.css +51 -0
- package/src/Component/HeroBanner/hero-banner.twig +41 -0
- package/src/Component/HeroBanner/twig/hero-banner-story.twig +19 -0
- package/src/Component/InPageAlert/Elements/InPageAlert.ts +87 -0
- package/src/Component/InPageAlert/InPageAlert.stories.ts +35 -0
- package/src/Component/InPageAlert/InPageAlert.stories.tsx +43 -0
- package/src/Component/InPageAlert/InPageAlert.tsx +50 -0
- package/src/Component/InPageAlert/README.md +27 -0
- package/src/Component/InPageAlert/__snapshots__/InPageAlert.stories.ts.snap +43 -0
- package/src/Component/InPageAlert/__snapshots__/InPageAlert.stories.tsx.snap +69 -0
- package/src/Component/InPageAlert/in-page-alert.css +89 -0
- package/src/Component/InPageAlert/in-page-alert.twig +18 -0
- package/src/Component/InPageNavigation/Elements/InPageNavigation.ts +125 -0
- package/src/Component/InPageNavigation/Hooks/useInPageNavigation.ts +45 -0
- package/src/Component/InPageNavigation/InPageNavigation.stories.ts +16 -0
- package/src/Component/InPageNavigation/InPageNavigation.stories.tsx +86 -0
- package/src/Component/InPageNavigation/InPageNavigation.tsx +38 -0
- package/src/Component/InPageNavigation/README.md +30 -0
- package/src/Component/InPageNavigation/__snapshots__/InPageNavigation.stories.ts.snap +73 -0
- package/src/Component/InPageNavigation/__snapshots__/InPageNavigation.stories.tsx.snap +149 -0
- package/src/Component/InPageNavigation/in-page-navigation.css +17 -0
- package/src/Component/InPageNavigation/in-page-navigation.twig +17 -0
- package/src/Component/InPageNavigation/twig/in-page-navigation-content-example.twig +16 -0
- package/src/Component/InPageNavigation/twig/in-page-navigation-menu-example.twig +6 -0
- package/src/Component/LinkList/LinkList.stories.ts +29 -0
- package/src/Component/LinkList/LinkList.stories.tsx +29 -0
- package/src/Component/LinkList/LinkList.tsx +43 -0
- package/src/Component/LinkList/README.md +19 -0
- package/src/Component/LinkList/__snapshots__/LinkList.stories.ts.snap +58 -0
- package/src/Component/LinkList/__snapshots__/LinkList.stories.tsx.snap +53 -0
- package/src/Component/LinkList/link-list.css +68 -0
- package/src/Component/LinkList/link-list.twig +12 -0
- package/src/Component/ListItem/Teaser.stories.tsx +34 -0
- package/src/Component/ListItem/Teaser.tsx +54 -0
- package/src/Component/ListItem/__snapshots__/Teaser.stories.tsx.snap +32 -0
- package/src/Component/Navigation/Collapsible.stories.ts +16 -0
- package/src/Component/Navigation/Components/DropdownLevel.tsx +107 -0
- package/src/Component/Navigation/Dropdown.stories.ts +16 -0
- package/src/Component/Navigation/Dropdown.stories.tsx +46 -0
- package/src/Component/Navigation/Dropdown.tsx +39 -0
- package/src/Component/Navigation/Elements/Navigation.ts +174 -0
- package/src/Component/Navigation/MegaNav.stories.ts +16 -0
- package/src/Component/Navigation/Navigation.stories.ts +15 -0
- package/src/Component/Navigation/Navigation.stories.tsx +40 -0
- package/src/Component/Navigation/Navigation.tsx +51 -0
- package/src/Component/Navigation/README.md +17 -0
- package/src/Component/Navigation/__snapshots__/Collapsible.stories.ts.snap +123 -0
- package/src/Component/Navigation/__snapshots__/Dropdown.stories.ts.snap +125 -0
- package/src/Component/Navigation/__snapshots__/Dropdown.stories.tsx.snap +39 -0
- package/src/Component/Navigation/__snapshots__/Navigation.stories.ts.snap +25 -0
- package/src/Component/Navigation/__snapshots__/Navigation.stories.tsx.snap +61 -0
- package/src/Component/Navigation/_navigation-collapsible.css +72 -0
- package/src/Component/Navigation/_navigation-dropdown.css +152 -0
- package/src/Component/Navigation/_navigation-mega.css +51 -0
- package/src/Component/Navigation/_navigation.css +55 -0
- package/src/Component/Navigation/navigation-collapsible.twig +7 -0
- package/src/Component/Navigation/navigation-dropdown.twig +7 -0
- package/src/Component/Navigation/navigation-mega-nav.twig +7 -0
- package/src/Component/Navigation/navigation.css +4 -0
- package/src/Component/Navigation/navigation.twig +9 -0
- package/src/Component/Navigation/twig/navigation-subnav-list.twig +108 -0
- package/src/Component/Pagination/Components/PaginationContext.tsx +188 -0
- package/src/Component/Pagination/Components/PaginationItem.tsx +48 -0
- package/src/Component/Pagination/Pagination.stories.ts +15 -0
- package/src/Component/Pagination/Pagination.stories.tsx +25 -0
- package/src/Component/Pagination/Pagination.tsx +75 -0
- package/src/Component/Pagination/README.md +19 -0
- package/src/Component/Pagination/__snapshots__/Pagination.stories.ts.snap +58 -0
- package/src/Component/Pagination/__snapshots__/Pagination.stories.tsx.snap +57 -0
- package/src/Component/Pagination/pagination.css +112 -0
- package/src/Component/Pagination/pagination.twig +44 -0
- package/src/Component/SocialShare/SocialShare.stories.tsx +26 -0
- package/src/Component/SocialShare/SocialShare.tsx +53 -0
- package/src/Component/SocialShare/__snapshots__/SocialShare.stories.tsx.snap +25 -0
- package/src/Component/Sticky/Elements/Sticky.ts +93 -0
- package/src/Component/Sticky/README.md +23 -0
- package/src/Component/Sticky/Sticky.stories.ts +16 -0
- package/src/Component/Sticky/Sticky.stories.tsx +14 -0
- package/src/Component/Sticky/Sticky.tsx +34 -0
- package/src/Component/Sticky/__snapshots__/Sticky.stories.ts.snap +86 -0
- package/src/Component/Sticky/__snapshots__/Sticky.stories.tsx.snap +11 -0
- package/src/Component/Sticky/sticky.css +39 -0
- package/src/Component/Sticky/sticky.twig +21 -0
- package/src/Component/Sticky/twig/sticky-example.twig +4 -0
- package/src/Component/Tabs/Components/Tab.tsx +45 -0
- package/src/Component/Tabs/Components/TabDropMenu.tsx +14 -0
- package/src/Component/Tabs/Components/TabList.tsx +9 -0
- package/src/Component/Tabs/Components/TabPanel.tsx +32 -0
- package/src/Component/Tabs/Elements/Tabs.ts +213 -0
- package/src/Component/Tabs/README.md +23 -0
- package/src/Component/Tabs/Tabs.stories.ts +22 -0
- package/src/Component/Tabs/Tabs.stories.tsx +51 -0
- package/src/Component/Tabs/Tabs.tsx +100 -0
- package/src/Component/Tabs/__snapshots__/Tabs.stories.ts.snap +144 -0
- package/src/Component/Tabs/__snapshots__/Tabs.stories.tsx.snap +120 -0
- package/src/Component/Tabs/tabs.css +103 -0
- package/src/Component/Tabs/tabs.twig +49 -0
- package/src/Component/Tabs/twig/panel.twig +5 -0
- package/src/Component/Tabs/twig/tab-list.twig +26 -0
- package/src/Component/Tag/README.md +19 -0
- package/src/Component/Tag/Tag.stories.ts +54 -0
- package/src/Component/Tag/Tag.stories.tsx +13 -0
- package/src/Component/Tag/Tag.tsx +19 -0
- package/src/Component/Tag/__snapshots__/Tag.stories.ts.snap +64 -0
- package/src/Component/Tag/__snapshots__/Tag.stories.tsx.snap +7 -0
- package/src/Component/Tag/tag.css +57 -0
- package/src/Component/Tag/tags.twig +23 -0
- package/src/Component/Tile/README.md +3 -0
- package/src/Component/Tile/Tile.stories.ts +23 -0
- package/src/Component/Tile/Tile.stories.tsx +30 -0
- package/src/Component/Tile/Tile.tsx +40 -0
- package/src/Component/Tile/__snapshots__/Tile.stories.ts.snap +83 -0
- package/src/Component/Tile/__snapshots__/Tile.stories.tsx.snap +38 -0
- package/src/Component/Tile/tile.twig +10 -0
- package/src/Component/Tile/tiles.css +58 -0
- package/src/Component/Tile/twig/tiles.twig +18 -0
- package/src/Form/Checkbox/Checkboxes.stories.ts +47 -0
- package/src/Form/Checkbox/FormCheckbox.stories.tsx +32 -0
- package/src/Form/Checkbox/FormCheckbox.tsx +124 -0
- package/src/Form/Checkbox/__snapshots__/Checkboxes.stories.ts.snap +115 -0
- package/src/Form/Checkbox/input-checkbox-single.twig +6 -0
- package/src/Form/Checkbox/input-checkbox.twig +24 -0
- package/src/Form/Description/Description.stories.ts +16 -0
- package/src/Form/Description/ErrorMessage.stories.ts +16 -0
- package/src/Form/Description/FormDescription.stories.tsx +14 -0
- package/src/Form/Description/FormDescription.tsx +28 -0
- package/src/Form/Description/__snapshots__/Description.stories.ts.snap +17 -0
- package/src/Form/Description/__snapshots__/ErrorMessage.stories.ts.snap +20 -0
- package/src/Form/Description/__snapshots__/FormDescription.stories.tsx.snap +10 -0
- package/src/Form/Description/form-description.twig +3 -0
- package/src/Form/Description/form-error.twig +5 -0
- package/src/Form/Fieldset/Fieldset.stories.ts +34 -0
- package/src/Form/Fieldset/__snapshots__/Fieldset.stories.ts.snap +23 -0
- package/src/Form/Fieldset/fieldset.twig +4 -0
- package/src/Form/Form/Form.stories.tsx +10 -0
- package/src/Form/Form/Form.tsx +9 -0
- package/src/Form/Form/FormTitle.stories.tsx +14 -0
- package/src/Form/Form/FormTitle.tsx +12 -0
- package/src/Form/Form/__snapshots__/Form.stories.tsx.snap +6 -0
- package/src/Form/Form/__snapshots__/FormTitle.stories.tsx.snap +9 -0
- package/src/Form/Form/twig/form-example.twig +13 -0
- package/src/Form/Item/FormItem.stories.tsx +58 -0
- package/src/Form/Item/FormItem.tsx +26 -0
- package/src/Form/Item/__snapshots__/FormItem.stories.tsx.snap +102 -0
- package/src/Form/Label/FormLabel.stories.tsx +20 -0
- package/src/Form/Label/FormLabel.tsx +19 -0
- package/src/Form/Label/Label.stories.ts +34 -0
- package/src/Form/Label/__snapshots__/FormLabel.stories.tsx.snap +16 -0
- package/src/Form/Label/__snapshots__/Label.stories.ts.snap +23 -0
- package/src/Form/Label/label.twig +2 -0
- package/src/Form/README.md +11 -0
- package/src/Form/Radio/FormRadio.stories.tsx +37 -0
- package/src/Form/Radio/FormRadio.tsx +80 -0
- package/src/Form/Radio/Radios.stories.ts +47 -0
- package/src/Form/Radio/__snapshots__/Radios.stories.ts.snap +125 -0
- package/src/Form/Radio/input-radio.twig +24 -0
- package/src/Form/Search/TextInputWithInlineButton.stories.ts +16 -0
- package/src/Form/Search/__snapshots__/TextInputWithInlineButton.stories.ts.snap +26 -0
- package/src/Form/Search/input-text-inline-submit.twig +8 -0
- package/src/Form/Select/FormSelect.stories.tsx +34 -0
- package/src/Form/Select/FormSelect.tsx +67 -0
- package/src/Form/Select/Select.stories.ts +40 -0
- package/src/Form/Select/__snapshots__/FormSelect.stories.tsx.snap +23 -0
- package/src/Form/Select/__snapshots__/Select.stories.ts.snap +148 -0
- package/src/Form/Select/select.twig +16 -0
- package/src/Form/TextInput/FormText.stories.tsx +15 -0
- package/src/Form/TextInput/FormText.tsx +55 -0
- package/src/Form/TextInput/InputDivider.stories.ts +16 -0
- package/src/Form/TextInput/TextInput.stories.ts +57 -0
- package/src/Form/TextInput/TextInputWithIcon.stories.ts +40 -0
- package/src/Form/TextInput/__snapshots__/FormText.stories.tsx.snap +13 -0
- package/src/Form/TextInput/__snapshots__/InputDivider.stories.ts.snap +32 -0
- package/src/Form/TextInput/__snapshots__/TextInput.stories.ts.snap +101 -0
- package/src/Form/TextInput/__snapshots__/TextInputWithIcon.stories.ts.snap +67 -0
- package/src/Form/TextInput/input-divider.twig +11 -0
- package/src/Form/TextInput/input-text-icon.twig +7 -0
- package/src/Form/TextInput/input-text.twig +5 -0
- package/src/Form/Textarea/FormTextarea.stories.tsx +14 -0
- package/src/Form/Textarea/FormTextarea.tsx +53 -0
- package/src/Form/Textarea/Textarea.stories.ts +16 -0
- package/src/Form/Textarea/__snapshots__/FormTextarea.stories.tsx.snap +12 -0
- package/src/Form/Textarea/__snapshots__/Textarea.stories.ts.snap +19 -0
- package/src/Form/Textarea/textarea.twig +5 -0
- package/src/Form/form.css +479 -0
- package/src/Form/images/checkmark.svg +1 -0
- package/src/Form/images/form-chevron-down.svg +1 -0
- package/src/Form/images/form-error.svg +1 -0
- package/src/Form/images/form-success.svg +1 -0
- package/src/Layout/Footer/Footer.stories.ts +15 -0
- package/src/Layout/Footer/Footer.stories.tsx +42 -0
- package/src/Layout/Footer/Footer.tsx +55 -0
- package/src/Layout/Footer/FooterMenu/FooterMenu.stories.ts +15 -0
- package/src/Layout/Footer/FooterMenu/__snapshots__/FooterMenu.stories.ts.snap +101 -0
- package/src/Layout/Footer/FooterMenu/footer-menu.css +29 -0
- package/src/Layout/Footer/FooterMenu/footer-menu.twig +5 -0
- package/src/Layout/Footer/__snapshots__/Footer.stories.ts.snap +139 -0
- package/src/Layout/Footer/__snapshots__/Footer.stories.tsx.snap +70 -0
- package/src/Layout/Footer/footer.css +54 -0
- package/src/Layout/Footer/footer.twig +25 -0
- package/src/Layout/Grid/Grid.stories.ts +68 -0
- package/src/Layout/Grid/Grid.stories.tsx +125 -0
- package/src/Layout/Grid/Grid.tsx +51 -0
- package/src/Layout/Grid/__snapshots__/Grid.stories.ts.snap +103 -0
- package/src/Layout/Grid/__snapshots__/Grid.stories.tsx.snap +67 -0
- package/src/Layout/Grid/container-grid.css +190 -0
- package/src/Layout/Grid/grid-item.twig +16 -0
- package/src/Layout/Grid/grid.css +190 -0
- package/src/Layout/Grid/grid.twig +10 -0
- package/src/Layout/Grid/twig/container-grid-dynamic.twig +47 -0
- package/src/Layout/Grid/twig/container-grid.twig +46 -0
- package/src/Layout/Grid/twig/grid-story.twig +6 -0
- package/src/Layout/Grid/twig/old-grid.twig +46 -0
- package/src/Layout/Header/Components/GlobalToggle.tsx +35 -0
- package/src/Layout/Header/Components/Logo.tsx +17 -0
- package/src/Layout/Header/Elements/GlobalToggle.ts +137 -0
- package/src/Layout/Header/Header.stories.ts +18 -0
- package/src/Layout/Header/Header.stories.tsx +17 -0
- package/src/Layout/Header/Header.tsx +73 -0
- package/src/Layout/Header/Stacked/Stacked.stories.ts +16 -0
- package/src/Layout/Header/Stacked/__snapshots__/Stacked.stories.ts.snap +353 -0
- package/src/Layout/Header/Stacked/header-stacked.twig +33 -0
- package/src/Layout/Header/__snapshots__/Header.stories.ts.snap +157 -0
- package/src/Layout/Header/__snapshots__/Header.stories.tsx.snap +55 -0
- package/src/Layout/Header/_header.css +89 -0
- package/src/Layout/Header/_toggles.css +31 -0
- package/src/Layout/Header/header.css +2 -0
- package/src/Layout/Header/header.twig +24 -0
- package/src/Layout/Header/twig/global-header.twig +4 -0
- package/src/Layout/Header/twig/logo.twig +3 -0
- package/src/Layout/Masthead/Masthead.stories.ts +16 -0
- package/src/Layout/Masthead/__snapshots__/Masthead.stories.ts.snap +32 -0
- package/src/Layout/Masthead/masthead.css +36 -0
- package/src/Layout/Masthead/masthead.twig +10 -0
- package/src/Layout/Page/Page.stories.tsx +22 -0
- package/src/Layout/Page/Page.tsx +16 -0
- package/src/Layout/Page/README.md +19 -0
- package/src/Layout/Page/__snapshots__/Page.stories.tsx.snap +80 -0
- package/src/Layout/Page/page.css +150 -0
- package/src/Layout/Page/page.twig +3 -0
- package/src/Layout/README.md +19 -0
- package/src/Layout/Section/Background.stories.ts +25 -0
- package/src/Layout/Section/Breakouts.stories.ts +16 -0
- package/src/Layout/Section/Flow.stories.ts +16 -0
- package/src/Layout/Section/Section.stories.ts +63 -0
- package/src/Layout/Section/Section.stories.tsx +56 -0
- package/src/Layout/Section/Section.tsx +83 -0
- package/src/Layout/Section/SectionGrid.stories.tsx +53 -0
- package/src/Layout/Section/SectionGrid.tsx +71 -0
- package/src/Layout/Section/__snapshots__/Section.stories.ts.snap +19 -0
- package/src/Layout/Section/__snapshots__/Section.stories.tsx.snap +37 -0
- package/src/Layout/Section/__snapshots__/SectionBackground.stories.ts.snap +55 -0
- package/src/Layout/Section/__snapshots__/SectionGrid.stories.tsx.snap +37 -0
- package/src/Layout/Section/__snapshots__/SectionsBreakouts.stories.ts.snap +78 -0
- package/src/Layout/Section/__snapshots__/SectionsFlowsGroups.stories.ts.snap +89 -0
- package/src/Layout/Section/section.css +156 -0
- package/src/Layout/Section/section.twig +25 -0
- package/src/Layout/Section/twig/section-background.twig +12 -0
- package/src/Layout/Section/twig/section-story.twig +14 -0
- package/src/Layout/Section/twig/sections-breakout.twig +38 -0
- package/src/Layout/Section/twig/sections-flow.twig +51 -0
- package/src/Layout/Section/twig/sections-stacked.twig +28 -0
- package/src/Layout/Sidebar/Sidebar.stories.ts +35 -0
- package/src/Layout/Sidebar/Sidebar.stories.tsx +33 -0
- package/src/Layout/Sidebar/Sidebar.tsx +34 -0
- package/src/Layout/Sidebar/__snapshots__/Sidebar.stories.ts.snap +40 -0
- package/src/Layout/Sidebar/__snapshots__/Sidebar.stories.tsx.snap +47 -0
- package/src/Layout/Sidebar/sidebar.css +69 -0
- package/src/Layout/Sidebar/sidebar.twig +17 -0
- package/src/Layout/images/mixtape-logo.png +0 -0
- package/src/Utility/Context/ImageComponent.tsx +49 -0
- package/src/Utility/Context/LinkComponent.tsx +57 -0
- package/src/Utility/Drupal/README.md +9 -0
- package/src/Utility/Drupal/drupal.css +66 -0
- package/src/Utility/Drupal/twig/local-tasks.twig +17 -0
- package/src/Utility/Drupal/twig/login-form.twig +22 -0
- package/src/Utility/Elements/breakpoint-loader.ts +79 -0
- package/src/Utility/Elements/cookie-compliance.ts +174 -0
- package/src/Utility/Elements/disclosure-widget.ts +173 -0
- package/src/Utility/Elements/io-loader.ts +57 -0
- package/src/Utility/Elements/keyboard.ts +150 -0
- package/src/Utility/Hooks/useLocalStorage.ts +78 -0
- package/src/Utility/Hooks/useMediaQuery.ts +31 -0
- package/src/Utility/Hooks/useToggle.ts +17 -0
- package/src/Utility/Hooks/useUrlParams.ts +24 -0
- package/src/Utility/README.md +15 -0
- package/src/Utility/_layout-utils.css +78 -0
- package/src/Utility/global.d.ts +25 -0
- package/src/Utility/utilities.css +88 -0
- package/src/Utility/utilities.ts +163 -0
- package/src/_custom-media.css +33 -0
- package/src/constants.css +118 -0
- package/src/elements.ts +13 -0
- package/src/enums.ts +260 -0
- package/src/index.css +27 -0
- package/src/react.ts +68 -0
- package/src/tokens.js +119 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* eslint-disable no-unused-vars */
|
|
2
|
+
import { useCallback, useSyncExternalStore } from "react"
|
|
3
|
+
|
|
4
|
+
type MediaQueryCallBack = (
|
|
5
|
+
this: MediaQueryList,
|
|
6
|
+
ev: MediaQueryListEvent,
|
|
7
|
+
) => void
|
|
8
|
+
|
|
9
|
+
const useMediaQuery = (query: string): boolean => {
|
|
10
|
+
const subscribe = useCallback(
|
|
11
|
+
(callback: MediaQueryCallBack) => {
|
|
12
|
+
const matchMedia = window.matchMedia(query)
|
|
13
|
+
|
|
14
|
+
matchMedia.addEventListener("change", callback)
|
|
15
|
+
return () => {
|
|
16
|
+
matchMedia.removeEventListener("change", callback)
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
[query],
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
const getSnapshot = () => window.matchMedia(query).matches
|
|
23
|
+
|
|
24
|
+
const getServerSnapshot = () => {
|
|
25
|
+
throw Error("useMediaQuery is a client-only hook")
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot)
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export default useMediaQuery
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* eslint-disable no-unused-vars */
|
|
2
|
+
import { useState, useCallback } from "react"
|
|
3
|
+
|
|
4
|
+
const useToggle = (
|
|
5
|
+
initialValue: boolean,
|
|
6
|
+
): [boolean, (value?: boolean) => void] => {
|
|
7
|
+
const [on, setOn] = useState(initialValue)
|
|
8
|
+
|
|
9
|
+
const handleToggle = useCallback((value?: boolean): void => {
|
|
10
|
+
if (value) return setOn(value)
|
|
11
|
+
return setOn(v => !v)
|
|
12
|
+
}, [])
|
|
13
|
+
|
|
14
|
+
return [on, handleToggle]
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default useToggle
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { useMemo } from "react"
|
|
2
|
+
|
|
3
|
+
type UrlParamValues = {
|
|
4
|
+
searchParams?: URLSearchParams
|
|
5
|
+
pathname?: string
|
|
6
|
+
history?: History
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
const useUrlParams = () =>
|
|
10
|
+
useMemo((): UrlParamValues => {
|
|
11
|
+
if (!window) return {}
|
|
12
|
+
const {
|
|
13
|
+
location: { search, pathname },
|
|
14
|
+
history,
|
|
15
|
+
} = window
|
|
16
|
+
const searchParams = new URLSearchParams(search)
|
|
17
|
+
return {
|
|
18
|
+
searchParams,
|
|
19
|
+
pathname,
|
|
20
|
+
history,
|
|
21
|
+
}
|
|
22
|
+
}, [])
|
|
23
|
+
|
|
24
|
+
export default useUrlParams
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Utilities
|
|
2
|
+
|
|
3
|
+
Common code, used by other components, and utility classes.
|
|
4
|
+
|
|
5
|
+
### How to use
|
|
6
|
+
|
|
7
|
+
**CSS**
|
|
8
|
+
|
|
9
|
+
`@import '@pnx-mixtape/mxds/utilities.css';`
|
|
10
|
+
|
|
11
|
+
**JS**
|
|
12
|
+
|
|
13
|
+
`import { loadOnReady, etc } from '@pnx-mixtape/mxds';`
|
|
14
|
+
|
|
15
|
+
** @todo write documentation for each of them **
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@layer utilities {
|
|
2
|
+
.stack {
|
|
3
|
+
display: grid;
|
|
4
|
+
grid-template-areas: "stack";
|
|
5
|
+
|
|
6
|
+
& > * {
|
|
7
|
+
grid-area: stack;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.flex {
|
|
12
|
+
display: flex;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.place-center {
|
|
16
|
+
place-content: center;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.align--center {
|
|
20
|
+
margin-inline: auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.align--left {
|
|
24
|
+
margin-inline-end: auto;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.align--right {
|
|
28
|
+
margin-inline-start: auto;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.align--bottom {
|
|
32
|
+
margin-block-start: auto;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.align--top {
|
|
36
|
+
margin-block-end: auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.order--start {
|
|
40
|
+
order: -1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.order--1 {
|
|
44
|
+
order: 1;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.order--2 {
|
|
48
|
+
order: 2;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.order--3 {
|
|
52
|
+
order: 3;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.gap--s {
|
|
56
|
+
gap: var(--gap-s);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.gap--m {
|
|
60
|
+
gap: var(--gap);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.gap--l {
|
|
64
|
+
gap: var(--gap-l);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.gap--xl {
|
|
68
|
+
gap: var(--gap-xl);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.gap--section-l {
|
|
72
|
+
gap: var(--section-l, var(--spacing-xl));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.gap--section-xl {
|
|
76
|
+
gap: var(--section-xl, var(--spacing-uul));
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* eslint-disable no-unused-vars, @typescript-eslint/no-explicit-any */
|
|
2
|
+
declare global {
|
|
3
|
+
interface Window {
|
|
4
|
+
Drupal?: any
|
|
5
|
+
Mixtape?: {
|
|
6
|
+
Popups?: {
|
|
7
|
+
id: string
|
|
8
|
+
closefn: () => void
|
|
9
|
+
}[]
|
|
10
|
+
Menu?: {
|
|
11
|
+
context?: HTMLElement
|
|
12
|
+
items?: NodeListOf<HTMLAnchorElement | HTMLButtonElement>
|
|
13
|
+
active?: number
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
CookieCompliance?: CookieCompliance
|
|
17
|
+
once?: (
|
|
18
|
+
name: string,
|
|
19
|
+
selector: string,
|
|
20
|
+
context?: any,
|
|
21
|
+
) => NodeListOf<HTMLElement>
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export {}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
@import "_layout-utils.css";
|
|
2
|
+
|
|
3
|
+
@layer utilities {
|
|
4
|
+
.hidden,
|
|
5
|
+
.visually-hidden,
|
|
6
|
+
.sr-only {
|
|
7
|
+
clip-path: polygon(0 0, 0 0, 0 0, 0 0);
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
position: absolute !important;
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.visually-hidden.visually-hidden--focussable:focus,
|
|
15
|
+
.sr-only.sr-only--focussable:focus {
|
|
16
|
+
clip-path: none;
|
|
17
|
+
position: revert !important;
|
|
18
|
+
margin: revert;
|
|
19
|
+
padding: revert;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Responsive utility class
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
@layer utilities {
|
|
28
|
+
.mobile-only {
|
|
29
|
+
@media (--large-up) {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.desktop-only,
|
|
35
|
+
.global .desktop-only {
|
|
36
|
+
@media (--large-down) {
|
|
37
|
+
display: none;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.print-only {
|
|
42
|
+
display: none !important;
|
|
43
|
+
|
|
44
|
+
@media print {
|
|
45
|
+
display: block !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.screen-only {
|
|
50
|
+
@media print {
|
|
51
|
+
display: none !important;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Skeleton and loading UI.
|
|
58
|
+
*/
|
|
59
|
+
@layer utilities {
|
|
60
|
+
.skeleton {
|
|
61
|
+
--background: hsl(0deg 0% 0% / 10%);
|
|
62
|
+
--opacity-low: 0.5;
|
|
63
|
+
--opacity-high: 0.75;
|
|
64
|
+
--duration: 1500ms;
|
|
65
|
+
|
|
66
|
+
animation: pulse var(--duration) ease infinite;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.skeleton--bg {
|
|
70
|
+
background-color: var(--background);
|
|
71
|
+
border-radius: var(--border-radius);
|
|
72
|
+
z-index: -1;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@keyframes pulse {
|
|
77
|
+
0% {
|
|
78
|
+
opacity: var(--opacity-low);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
75% {
|
|
82
|
+
opacity: var(--opacity-high);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
100% {
|
|
86
|
+
opacity: var(--opacity-low);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/* eslint-disable no-console */
|
|
2
|
+
/**
|
|
3
|
+
* @file utilities.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export { default as DisclosureWidget } from "./Elements/disclosure-widget"
|
|
7
|
+
export type { DisclosureWidgetEvent } from "./Elements/disclosure-widget"
|
|
8
|
+
export { default as Keyboard } from "./Elements/keyboard"
|
|
9
|
+
export { default as CookieCompliance } from "./Elements/cookie-compliance"
|
|
10
|
+
export { default as IntersectionLoader } from "./Elements/io-loader"
|
|
11
|
+
export { default as BreakpointLoader } from "./Elements/breakpoint-loader"
|
|
12
|
+
|
|
13
|
+
export const makeAnchor = (string: string, length: number = 20): string => {
|
|
14
|
+
if (typeof string !== "string" || !string) return ""
|
|
15
|
+
// Convert the string to lowercase and remove non-alphanumeric characters.
|
|
16
|
+
let id: string = string
|
|
17
|
+
.toLowerCase()
|
|
18
|
+
.trim()
|
|
19
|
+
.replace(/\s+/g, "-")
|
|
20
|
+
.replace(/[^-a-z0-9]/g, "")
|
|
21
|
+
.replace(/[\n\r]+|[\s]{2,}/g, "")
|
|
22
|
+
// Ensure we start the id with a letter.
|
|
23
|
+
// Only run this several times.
|
|
24
|
+
const times: number[] = [...Array(6).keys()]
|
|
25
|
+
times.forEach((): void => {
|
|
26
|
+
if (!id.charAt(0).match(/[a-z]/g)) {
|
|
27
|
+
id = id.substring(1)
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
// Cut to the desired length.
|
|
31
|
+
if (length) id = id.substring(0, length + 1)
|
|
32
|
+
|
|
33
|
+
return id
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export const makeCamelCase = (string: string): string => {
|
|
37
|
+
if (typeof string !== "string" || !string) return ""
|
|
38
|
+
const output: string = string
|
|
39
|
+
.trim()
|
|
40
|
+
.replace(
|
|
41
|
+
/(?:^\w|[A-Z]|\b\w|\s+)/g,
|
|
42
|
+
(match: string, index: number): string => {
|
|
43
|
+
if (+match === 0) return ""
|
|
44
|
+
return index === 0 ? match.toLowerCase() : match.toUpperCase()
|
|
45
|
+
},
|
|
46
|
+
)
|
|
47
|
+
return output.replace(/[^\w\s]/gi, "")
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export const isInternalLink = (
|
|
51
|
+
href: string,
|
|
52
|
+
internalHostnames: string[],
|
|
53
|
+
): boolean => {
|
|
54
|
+
if (typeof href !== "string" || !href || !Array.isArray(internalHostnames)) {
|
|
55
|
+
return false
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
try {
|
|
59
|
+
const { hostname }: { hostname: string } = new URL(href)
|
|
60
|
+
return (
|
|
61
|
+
window.location.hostname === hostname ||
|
|
62
|
+
internalHostnames.includes(hostname)
|
|
63
|
+
)
|
|
64
|
+
} catch (error) {
|
|
65
|
+
console.error(error)
|
|
66
|
+
return false
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export const createElement = (string: string): Element | null => {
|
|
71
|
+
try {
|
|
72
|
+
const el: HTMLDivElement = document.createElement("div")
|
|
73
|
+
el.innerHTML = string
|
|
74
|
+
return el.firstElementChild
|
|
75
|
+
} catch (error) {
|
|
76
|
+
console.error(error)
|
|
77
|
+
return null
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export const getElementBox = (
|
|
82
|
+
element: HTMLElement,
|
|
83
|
+
once: boolean = false,
|
|
84
|
+
content: boolean = false,
|
|
85
|
+
): void => {
|
|
86
|
+
const observer: ResizeObserver = new ResizeObserver(entries => {
|
|
87
|
+
entries.forEach(({ contentBoxSize, borderBoxSize }) => {
|
|
88
|
+
const [{ inlineSize, blockSize }] = content
|
|
89
|
+
? contentBoxSize
|
|
90
|
+
: borderBoxSize
|
|
91
|
+
element.style.setProperty("--inline-size", `${inlineSize.toFixed(1)}px`)
|
|
92
|
+
element.style.setProperty("--block-size", `${blockSize.toFixed(1)}px`)
|
|
93
|
+
if (once) observer.unobserve(element)
|
|
94
|
+
})
|
|
95
|
+
})
|
|
96
|
+
observer.observe(element)
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export const handleOutsideClick = (
|
|
100
|
+
event: MouseEvent,
|
|
101
|
+
container: HTMLElement,
|
|
102
|
+
callback: () => void,
|
|
103
|
+
ignored: HTMLElement[] = [],
|
|
104
|
+
): void => {
|
|
105
|
+
const {
|
|
106
|
+
target,
|
|
107
|
+
clientY,
|
|
108
|
+
clientX,
|
|
109
|
+
}: { target: EventTarget; clientY: number; clientX: number } = event
|
|
110
|
+
// FF treating option click as outside click.
|
|
111
|
+
const isOption: boolean =
|
|
112
|
+
target instanceof HTMLOptionElement || target instanceof HTMLSelectElement
|
|
113
|
+
// Or it's in the ignored list.
|
|
114
|
+
|
|
115
|
+
const isIgnored: HTMLElement[] = ignored?.filter(
|
|
116
|
+
item => item === target || item.contains(target as HTMLElement),
|
|
117
|
+
)
|
|
118
|
+
// Exit early if we can.
|
|
119
|
+
if (isIgnored.length || isOption) return
|
|
120
|
+
// Check if click is inside the dialog content.
|
|
121
|
+
const obs: IntersectionObserver = new IntersectionObserver(
|
|
122
|
+
([{ boundingClientRect }]) => {
|
|
123
|
+
const { top, height, width, left } = boundingClientRect
|
|
124
|
+
const isInDialog: boolean =
|
|
125
|
+
top <= clientY &&
|
|
126
|
+
clientY <= top + height &&
|
|
127
|
+
left <= clientX &&
|
|
128
|
+
clientX <= left + width
|
|
129
|
+
|
|
130
|
+
if (!isInDialog) {
|
|
131
|
+
callback()
|
|
132
|
+
}
|
|
133
|
+
obs.disconnect()
|
|
134
|
+
},
|
|
135
|
+
)
|
|
136
|
+
obs.observe(container)
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export const handleEscape = (
|
|
140
|
+
event: KeyboardEvent,
|
|
141
|
+
callback: () => void,
|
|
142
|
+
): void => {
|
|
143
|
+
const { key } = event
|
|
144
|
+
if (key === "Escape") {
|
|
145
|
+
callback()
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* eslint-disable no-unused-vars, @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access */
|
|
150
|
+
export const loadOnReady = (
|
|
151
|
+
callback: (this: Window, ev: Event) => void,
|
|
152
|
+
name: string,
|
|
153
|
+
): void => {
|
|
154
|
+
// @ts-expect-error Drupal is global
|
|
155
|
+
if (Object.hasOwn(window, "Drupal") && Object.hasOwn(Drupal, "behaviors")) {
|
|
156
|
+
// @ts-expect-error Drupal is global
|
|
157
|
+
Drupal.behaviors[name] = {
|
|
158
|
+
attach: callback,
|
|
159
|
+
}
|
|
160
|
+
return
|
|
161
|
+
}
|
|
162
|
+
window.addEventListener("DOMContentLoaded", callback.bind(document, document))
|
|
163
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* Breakpoints */
|
|
2
|
+
@custom-media --x-small-up (width >= token("breakpoint.xs"));
|
|
3
|
+
@custom-media --x-small-down (width < token("breakpoint.xs"));
|
|
4
|
+
@custom-media --x-small-to-small (token("breakpoint.xs") <= width < token("breakpoint.s"));
|
|
5
|
+
@custom-media --small-up (width >= token("breakpoint.s"));
|
|
6
|
+
@custom-media --small-down (width < token("breakpoint.s"));
|
|
7
|
+
@custom-media --small-to-medium (token("breakpoint.s") <= width < token("breakpoint.m"));
|
|
8
|
+
@custom-media --medium-up (width >= token("breakpoint.m"));
|
|
9
|
+
@custom-media --medium-down (width < token("breakpoint.m"));
|
|
10
|
+
@custom-media --medium-to-large (token("breakpoint.m") <= width < token("breakpoint.l"));
|
|
11
|
+
@custom-media --large-up (width >= token("breakpoint.l"));
|
|
12
|
+
@custom-media --large-down (width < token("breakpoint.l"));
|
|
13
|
+
@custom-media --large-to-x-large (token("breakpoint.l") <= width < token("breakpoint.xl"));
|
|
14
|
+
@custom-media --x-large-up (width >= token("breakpoint.xl"));
|
|
15
|
+
@custom-media --x-large-down (width < token("breakpoint.xl"));
|
|
16
|
+
|
|
17
|
+
/* Specific breakpoint for global & dropdown navigation */
|
|
18
|
+
@custom-media --global-nav-up (width >= token("breakpoint.globalNav"));
|
|
19
|
+
@custom-media --global-nav-down (width < token("breakpoint.globalNav"));
|
|
20
|
+
|
|
21
|
+
/* Util media queries */
|
|
22
|
+
@custom-media --touch (hover: none);
|
|
23
|
+
@custom-media --mouse (hover);
|
|
24
|
+
@custom-media --dark (prefers-color-scheme: dark);
|
|
25
|
+
@custom-media --light (prefers-color-scheme: light);
|
|
26
|
+
@custom-media --use-motion (prefers-reduced-motion: no-preference);
|
|
27
|
+
@custom-media --reduce-motion (prefers-reduced-motion: reduce);
|
|
28
|
+
@custom-media --use-data (prefers-reduced-data: no-preference);
|
|
29
|
+
@custom-media --reduce-data (prefers-reduced-data: reduce);
|
|
30
|
+
@custom-media --high-contrast (prefers-contrast: more);
|
|
31
|
+
@custom-media --low-contrast (prefers-contrast: less);
|
|
32
|
+
@custom-media --portrait (orientation: portrait);
|
|
33
|
+
@custom-media --landscape (orientation: landscape);
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/* stylelint-disable custom-property-pattern */
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Variables
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
:root {
|
|
8
|
+
--_hue-primary: token("colour.primary");
|
|
9
|
+
--_hue-accent: token("colour.accent");
|
|
10
|
+
--_hue-info: token("colour.info");
|
|
11
|
+
--_hue-error: token("colour.error");
|
|
12
|
+
--_hue-warning: token("colour.warning");
|
|
13
|
+
--_hue-success: token("colour.success");
|
|
14
|
+
--_hue-outline: token("utility.outline.hue");
|
|
15
|
+
|
|
16
|
+
/* System colours */
|
|
17
|
+
--colour-background: token("colour.main.bg");
|
|
18
|
+
--colour-background-alt: token("colour.main.bgAlt");
|
|
19
|
+
--colour-foreground: token("colour.main.fg");
|
|
20
|
+
--colour-foreground-alt: token("colour.main.fgAlt");
|
|
21
|
+
--colour-border: token("colour.main.border");
|
|
22
|
+
|
|
23
|
+
/* Brand colors */
|
|
24
|
+
--colour-primary: lch(43% 100 var(--_hue-primary));
|
|
25
|
+
--colour-primary-light: lch(95% 10 var(--_hue-primary));
|
|
26
|
+
--colour-accent: lch(43% 100 var(--_hue-accent));
|
|
27
|
+
--colour-accent-light: lch(95% 10 var(--_hue-accent));
|
|
28
|
+
|
|
29
|
+
/* Reverse colors */
|
|
30
|
+
--colour-foreground-reverse: token("colour.reverse.fg");
|
|
31
|
+
--colour-foreground-alt-reverse: token("colour.reverse.fgAlt");
|
|
32
|
+
--colour-background-reverse: token("colour.reverse.bg");
|
|
33
|
+
--colour-border-reverse: token("colour.reverse.border");
|
|
34
|
+
|
|
35
|
+
/* State colours */
|
|
36
|
+
--colour-error-foreground: lch(40% 100 var(--_hue-error));
|
|
37
|
+
--colour-error-background: lch(95% 10 var(--_hue-error));
|
|
38
|
+
--colour-success-foreground: lch(45% 100 var(--_hue-success));
|
|
39
|
+
--colour-success-background: lch(95% 10 var(--_hue-success));
|
|
40
|
+
--colour-warning-foreground: lch(46% 100 var(--_hue-warning));
|
|
41
|
+
--colour-warning-background: lch(95% 10 var(--_hue-warning));
|
|
42
|
+
--colour-info-foreground: lch(43% 100 var(--_hue-info));
|
|
43
|
+
--colour-info-background: lch(95% 10 var(--_hue-info));
|
|
44
|
+
|
|
45
|
+
/* Typography */
|
|
46
|
+
--font-family: token("font.family");
|
|
47
|
+
--type-ratio: token("font.size.ratio");
|
|
48
|
+
--type-ratio-small: token("font.size.ratioSmall");
|
|
49
|
+
--base-font-size: token("font.size.base");
|
|
50
|
+
--font-size: var(--base-font-size);
|
|
51
|
+
--font-size-s: calc(var(--base-font-size) / var(--type-ratio-small));
|
|
52
|
+
--font-size-xs: calc(var(--font-size-s) / var(--type-ratio-small));
|
|
53
|
+
--font-size-sm: calc(var(--base-font-size) * var(--type-ratio-small));
|
|
54
|
+
--font-size-m: calc(var(--base-font-size) * var(--type-ratio));
|
|
55
|
+
--font-size-l: calc(var(--font-size-m) * var(--type-ratio));
|
|
56
|
+
--font-size-xl: calc(var(--font-size-l) * var(--type-ratio));
|
|
57
|
+
--font-size-xxl: calc(var(--font-size-xl) * var(--type-ratio));
|
|
58
|
+
--font-size-xxxl: calc(var(--font-size-xxl) * var(--type-ratio));
|
|
59
|
+
--font-size-diff: token("font.size.diff");
|
|
60
|
+
|
|
61
|
+
--line-height: token("font.lineHeight.main");
|
|
62
|
+
--line-height-h: token("font.lineHeight.heading");
|
|
63
|
+
--line-height-ui: token("font.lineHeight.ui");
|
|
64
|
+
|
|
65
|
+
--font-weight-normal: token("font.weight.main");
|
|
66
|
+
--font-weight-bold: token("font.weight.bold");
|
|
67
|
+
|
|
68
|
+
/* Spacing */
|
|
69
|
+
--spacing-xxxxs: token("size.spacing.xxxxs");
|
|
70
|
+
--spacing-xxxs: token("size.spacing.xxxs");
|
|
71
|
+
--spacing-xxs: token("size.spacing.xxs");
|
|
72
|
+
--spacing-xs: token("size.spacing.xs");
|
|
73
|
+
--spacing-s: token("size.spacing.s");
|
|
74
|
+
--spacing-m: token("size.spacing.m");
|
|
75
|
+
--spacing-l: token("size.spacing.l");
|
|
76
|
+
--spacing-xl: token("size.spacing.xl");
|
|
77
|
+
--spacing-xxl: token("size.spacing.xxl");
|
|
78
|
+
--spacing-xxxl: token("size.spacing.xxxl");
|
|
79
|
+
--spacing-xxxxl: token("size.spacing.xxxl");
|
|
80
|
+
--spacing-ul: token("size.spacing.ul");
|
|
81
|
+
--spacing-uul: token("size.spacing.uul");
|
|
82
|
+
--spacing-uuul: token("size.spacing.uuul");
|
|
83
|
+
|
|
84
|
+
--outline-width: token("utility.outline.width");
|
|
85
|
+
--outline-offset: token("utility.outline.offset");
|
|
86
|
+
--outline-style: token("utility.outline.style");
|
|
87
|
+
--outline-color: lch(45% 100 var(--_hue-outline));
|
|
88
|
+
|
|
89
|
+
/* Layout */
|
|
90
|
+
--container-max-width-narrow: token("size.container.narrow");
|
|
91
|
+
--container-max-width: token("size.container.aligned");
|
|
92
|
+
--gap-s: token("size.gap.s");
|
|
93
|
+
--gap: token("size.gap.m");
|
|
94
|
+
--gap-l: token("size.gap.l");
|
|
95
|
+
--gap-xl: token("size.gap.xl");
|
|
96
|
+
--breakpoint-xs: token("breakpoint.xs");
|
|
97
|
+
--breakpoint-s: token("breakpoint.s");
|
|
98
|
+
--breakpoint-m: token("breakpoint.m");
|
|
99
|
+
--breakpoint-l: token("breakpoint.l");
|
|
100
|
+
--breakpoint-xl: token("breakpoint.xl");
|
|
101
|
+
|
|
102
|
+
/* Utility */
|
|
103
|
+
--shadow-color: token("utility.shadow.colour");
|
|
104
|
+
--shadow-size: token("utility.shadow.size");
|
|
105
|
+
--shadow-shape: 0 0 var(--shadow-size);
|
|
106
|
+
--box-shadow: var(--shadow-shape) var(--shadow-color);
|
|
107
|
+
--border-radius: token("utility.radius.m");
|
|
108
|
+
--border-radius-l: token("utility.radius.l");
|
|
109
|
+
--border-radius-round: token("utility.radius.round");
|
|
110
|
+
--ratio: token("utility.ratio");
|
|
111
|
+
--ease: cubic-bezier(0.25, 0, 0.3, 1);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (--medium-down) {
|
|
115
|
+
:root {
|
|
116
|
+
--section-xl: var(--spacing-xxl);
|
|
117
|
+
}
|
|
118
|
+
}
|
package/src/elements.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { default as Accordion } from "./Component/Accordion/Elements/Accordion"
|
|
2
|
+
export { default as AccordionGroup } from "./Component/Accordion/Elements/AccordionGroup"
|
|
3
|
+
export { default as AccordionMobile } from "./Component/Accordion/Elements/AccordionMobile"
|
|
4
|
+
export { default as AccordionDiv } from "./Component/Accordion/Elements/AccordionDiv"
|
|
5
|
+
export { default as Dialog } from "./Component/Dialog/Elements/Dialog"
|
|
6
|
+
export { default as DropMenu } from "./Component/DropMenu/Elements/DropMenu"
|
|
7
|
+
export { default as InPageAlert } from "./Component/InPageAlert/Elements/InPageAlert"
|
|
8
|
+
export { default as Sticky } from "./Component/Sticky/Elements/Sticky"
|
|
9
|
+
export { default as Tabs } from "./Component/Tabs/Elements/Tabs"
|
|
10
|
+
export { default as GlobalToggle } from "./Layout/Header/Elements/GlobalToggle"
|
|
11
|
+
export { default as InPageNavigation } from "./Component/InPageNavigation/Elements/InPageNavigation"
|
|
12
|
+
export { default as Navigation } from "./Component/Navigation/Elements/Navigation"
|
|
13
|
+
export * from "./Utility/utilities"
|