@pnx-mixtape/mxds 0.0.6 → 0.0.7
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/package.json +2 -2
- package/src/Atom/Button/Button.stories.ts +4 -3
- package/src/Atom/Button/__snapshots__/Button.stories.tsx.snap +2 -2
- package/src/Atom/Button/_buttons.css +1 -1
- package/src/Atom/Button/button.twig +1 -1
- package/src/Atom/Heading/__snapshots__/Heading.stories.ts.snap +1 -1
- package/src/Atom/Heading/heading.twig +4 -1
- package/src/Atom/Icon/__snapshots__/Icon.stories.tsx.snap +3 -3
- package/src/Atom/Icon/icon.twig +1 -1
- package/src/Atom/Link/Link.stories.ts +8 -7
- package/src/Atom/Link/__snapshots__/Link.stories.ts.snap +5 -9
- package/src/Atom/Link/__snapshots__/Link.stories.tsx.snap +3 -3
- package/src/Atom/Link/_links.css +12 -2
- package/src/Atom/Link/link.twig +6 -4
- package/src/Atom/Media/Media.stories.ts +9 -9
- package/src/Atom/Media/__snapshots__/Media.stories.ts.snap +1 -1
- package/src/Atom/Media/__snapshots__/Media.stories.tsx.snap +1 -1
- package/src/Atom/Media/media.twig +6 -2
- package/src/Atom/_generic.css +0 -13
- package/src/Component/Accordion/Accordion.stories.ts +9 -7
- package/src/Component/Accordion/__snapshots__/Accordion.stories.ts.snap +2 -2
- package/src/Component/Accordion/__snapshots__/Accordion.stories.tsx.snap +4 -4
- package/src/Component/Accordion/accordion-item.twig +1 -1
- package/src/Component/Accordion/accordion.twig +3 -1
- package/src/Component/Breadcrumb/Breadcrumb.stories.ts +23 -5
- package/src/Component/Breadcrumb/__snapshots__/Breadcrumb.stories.ts.snap +15 -8
- package/src/Component/Breadcrumb/__snapshots__/Breadcrumb.stories.tsx.snap +6 -6
- package/src/Component/Breadcrumb/breadcrumb.css +7 -3
- package/src/Component/Breadcrumb/breadcrumb.twig +14 -12
- package/src/Component/Callout/Callout.stories.ts +5 -4
- package/src/Component/Callout/__snapshots__/Callout.stories.ts.snap +1 -1
- package/src/Component/Callout/callout.twig +1 -1
- package/src/Component/Card/Card.stories.ts +47 -20
- package/src/Component/Card/Card.stories.tsx +5 -4
- package/src/Component/Card/__snapshots__/Card.stories.ts.snap +123 -49
- package/src/Component/Card/__snapshots__/Card.stories.tsx.snap +18 -18
- package/src/Component/Card/card.css +57 -43
- package/src/Component/Card/card.twig +13 -13
- package/src/Component/ContentBlock/ContentBlock.stories.ts +73 -6
- package/src/Component/ContentBlock/ContentBlock.stories.tsx +19 -10
- package/src/Component/ContentBlock/ContentBlock.tsx +25 -17
- package/src/Component/ContentBlock/__snapshots__/ContentBlock.stories.ts.snap +137 -5
- package/src/Component/ContentBlock/__snapshots__/ContentBlock.stories.tsx.snap +21 -14
- package/src/Component/ContentBlock/content-block.css +21 -10
- package/src/Component/ContentBlock/content-block.twig +21 -11
- package/src/Component/DropMenu/Components/DropMenuItem.tsx +1 -1
- package/src/Component/DropMenu/DropMenu.stories.ts +1 -1
- package/src/Component/DropMenu/DropMenu.tsx +6 -6
- package/src/Component/DropMenu/__snapshots__/DropMenu.stories.ts.snap +2 -2
- package/src/Component/DropMenu/__snapshots__/DropMenu.stories.tsx.snap +2 -2
- package/src/Component/DropMenu/drop-menu.css +2 -2
- package/src/Component/DropMenu/drop-menu.twig +2 -2
- package/src/Component/GlobalAlert/GlobalAlert.stories.ts +5 -6
- package/src/Component/GlobalAlert/__snapshots__/GlobalAlert.stories.tsx.snap +7 -7
- package/src/Component/GlobalAlert/global-alert.css +1 -1
- package/src/Component/GlobalAlert/global-alert.twig +1 -1
- package/src/Component/HeroBanner/HeroBanner.stories.ts +17 -12
- package/src/Component/HeroBanner/__snapshots__/HeroBanner.stories.ts.snap +11 -11
- package/src/Component/HeroBanner/__snapshots__/HeroBanner.stories.tsx.snap +9 -9
- package/src/Component/HeroBanner/hero-banner.twig +2 -2
- package/src/Component/InPageAlert/InPageAlert.stories.ts +4 -3
- package/src/Component/InPageAlert/__snapshots__/InPageAlert.stories.ts.snap +1 -3
- package/src/Component/InPageAlert/in-page-alert.twig +1 -1
- package/src/Component/InPageNavigation/Elements/InPageNavigation.ts +2 -2
- package/src/Component/InPageNavigation/InPageNavigation.stories.ts +30 -7
- package/src/Component/InPageNavigation/InPageNavigation.tsx +4 -4
- package/src/Component/InPageNavigation/__snapshots__/InPageNavigation.stories.ts.snap +103 -5
- package/src/Component/InPageNavigation/__snapshots__/InPageNavigation.stories.tsx.snap +21 -21
- package/src/Component/InPageNavigation/in-page-navigation.css +3 -3
- package/src/Component/InPageNavigation/in-page-navigation.twig +13 -17
- package/src/Component/InPageNavigation/twig/{in-page-navigation-content-example.twig → content-example.twig} +2 -0
- package/src/Component/InPageNavigation/twig/in-page-navigation-story.twig +2 -0
- package/src/Component/LinkList/__snapshots__/LinkList.stories.tsx.snap +8 -8
- package/src/Component/LinkList/link-list.twig +1 -1
- package/src/Component/ListItem/ListItem.stories.ts +105 -0
- package/src/Component/ListItem/{Teaser.stories.tsx → ListItem.stories.tsx} +4 -5
- package/src/Component/ListItem/ListItem.tsx +55 -0
- package/src/Component/ListItem/__snapshots__/ListItem.stories.ts.snap +184 -0
- package/src/Component/ListItem/__snapshots__/ListItem.stories.tsx.snap +23 -0
- package/src/Component/ListItem/list-item.css +109 -0
- package/src/Component/ListItem/list-item.twig +32 -0
- package/src/Component/Navigation/Components/DropdownLevel.tsx +11 -6
- package/src/Component/Navigation/Dropdown.tsx +2 -2
- package/src/Component/Navigation/Elements/Navigation.ts +6 -5
- package/src/Component/Navigation/Navigation.stories.ts +261 -5
- package/src/Component/Navigation/Navigation.tsx +2 -2
- package/src/Component/Navigation/__snapshots__/Dropdown.stories.tsx.snap +4 -4
- package/src/Component/Navigation/__snapshots__/Navigation.stories.ts.snap +294 -7
- package/src/Component/Navigation/__snapshots__/Navigation.stories.tsx.snap +2 -2
- package/src/Component/Navigation/_navigation-collapsible.css +22 -12
- package/src/Component/Navigation/_navigation-dropdown.css +8 -8
- package/src/Component/Navigation/_navigation-mega.css +4 -4
- package/src/Component/Navigation/_navigation.css +9 -6
- package/src/Component/Navigation/menu.twig +42 -0
- package/src/Component/Navigation/navigation.css +1 -1
- package/src/Component/Navigation/navigation.twig +23 -9
- package/src/Component/Pagination/Components/PaginationItem.tsx +4 -4
- package/src/Component/Pagination/Pagination.stories.ts +55 -6
- package/src/Component/Pagination/Pagination.tsx +2 -2
- package/src/Component/Pagination/__snapshots__/Pagination.stories.ts.snap +36 -33
- package/src/Component/Pagination/__snapshots__/Pagination.stories.tsx.snap +11 -11
- package/src/Component/Pagination/pagination-item.twig +7 -0
- package/src/Component/Pagination/pagination.css +12 -9
- package/src/Component/Pagination/pagination.twig +12 -37
- package/src/Component/SideNavigation/SideNavigation.stories.ts +97 -0
- package/src/Component/SideNavigation/__snapshots__/SideNavigation.stories.ts.snap +86 -0
- package/src/Component/SideNavigation/side-navigation.css +78 -0
- package/src/Component/SideNavigation/side-navigation.twig +35 -0
- package/src/Component/SideNavigation/twig/side-navigation-story.twig +7 -0
- package/src/Component/SocialLinks/SocialLinks.stories.ts +58 -0
- package/src/Component/SocialLinks/__snapshots__/SocialLinks.stories.ts.snap +32 -0
- package/src/Component/SocialLinks/social-links.css +17 -0
- package/src/Component/SocialLinks/social-links.twig +6 -0
- package/src/Component/SocialShare/__snapshots__/SocialShare.stories.tsx.snap +3 -3
- package/src/Component/Steps/Steps.stories.ts +88 -0
- package/src/Component/Steps/__snapshots__/Steps.stories.ts.snap +111 -0
- package/src/Component/Steps/step-item.twig +11 -0
- package/src/Component/Steps/steps.css +99 -0
- package/src/Component/Steps/steps.entry.js +0 -0
- package/src/Component/Steps/steps.twig +18 -0
- package/src/Component/Sticky/Sticky.stories.ts +3 -0
- package/src/Component/Sticky/__snapshots__/Sticky.stories.ts.snap +7 -8
- package/src/Component/Sticky/sticky.twig +2 -20
- package/src/Component/Tabs/Components/Tab.tsx +1 -2
- package/src/Component/Tabs/Components/TabDropMenu.tsx +1 -1
- package/src/Component/Tabs/Components/TabList.tsx +1 -1
- package/src/Component/Tabs/Components/TabPanel.tsx +2 -2
- package/src/Component/Tabs/Elements/Tabs.ts +98 -49
- package/src/Component/Tabs/Tabs.stories.ts +45 -8
- package/src/Component/Tabs/Tabs.stories.tsx +3 -3
- package/src/Component/Tabs/Tabs.tsx +2 -2
- package/src/Component/Tabs/__snapshots__/Tabs.stories.ts.snap +46 -92
- package/src/Component/Tabs/__snapshots__/Tabs.stories.tsx.snap +11 -14
- package/src/Component/Tabs/tab-item.twig +11 -0
- package/src/Component/Tabs/tabs.css +20 -17
- package/src/Component/Tabs/tabs.twig +10 -46
- package/src/Component/Tag/__snapshots__/Tag.stories.tsx.snap +1 -1
- package/src/Component/Tag/tags.twig +1 -1
- package/src/Component/Tile/__snapshots__/Tile.stories.tsx.snap +4 -4
- package/src/Form/Checkbox/Checkbox.stories.ts +39 -0
- package/src/Form/Checkbox/FormCheckbox.tsx +3 -3
- package/src/Form/Checkbox/__snapshots__/Checkbox.stories.ts.snap +28 -0
- package/src/Form/Checkbox/input-checkbox.twig +27 -24
- package/src/Form/Description/Description.stories.ts +10 -7
- package/src/Form/Description/FormDescription.tsx +3 -3
- package/src/Form/Description/FormStatus.stories.ts +31 -0
- package/src/Form/Description/__snapshots__/Description.stories.ts.snap +2 -9
- package/src/Form/Description/__snapshots__/FormDescription.stories.tsx.snap +1 -1
- package/src/Form/Description/__snapshots__/FormStatus.stories.ts.snap +19 -0
- package/src/Form/Description/form-description.twig +4 -3
- package/src/Form/Description/form-status.twig +10 -0
- package/src/Form/Form/FormTitle.tsx +1 -1
- package/src/Form/Form/__snapshots__/FormTitle.stories.tsx.snap +1 -1
- package/src/Form/Form/form.twig +14 -0
- package/src/Form/Form/twig/form-example.twig +4 -4
- package/src/Form/FormItem/FormItem.stories.ts +119 -0
- package/src/Form/{Item → FormItem}/FormItem.tsx +1 -1
- package/src/Form/FormItem/__snapshots__/FormItem.stories.ts.snap +133 -0
- package/src/Form/{Item → FormItem}/__snapshots__/FormItem.stories.tsx.snap +24 -16
- package/src/Form/FormItem/form-item.twig +22 -0
- package/src/Form/Label/FormLabel.tsx +1 -1
- package/src/Form/Label/Label.stories.ts +16 -19
- package/src/Form/Label/__snapshots__/FormLabel.stories.tsx.snap +6 -2
- package/src/Form/Label/__snapshots__/Label.stories.ts.snap +11 -9
- package/src/Form/Label/label.twig +13 -2
- package/src/Form/Radio/FormRadio.tsx +2 -2
- package/src/Form/Radio/Radio.stories.ts +72 -0
- package/src/Form/Radio/__snapshots__/Radio.stories.ts.snap +58 -0
- package/src/Form/Radio/input-radio.twig +18 -24
- package/src/Form/Search/Search.stories.ts +50 -0
- package/src/Form/Search/__snapshots__/Search.stories.ts.snap +26 -0
- package/src/Form/Search/search-form.twig +11 -0
- package/src/Form/Select/FormSelect.tsx +1 -1
- package/src/Form/Select/Select.stories.ts +24 -31
- package/src/Form/Select/__snapshots__/FormSelect.stories.tsx.snap +1 -1
- package/src/Form/Select/__snapshots__/Select.stories.ts.snap +16 -144
- package/src/Form/Select/input-select.twig +25 -0
- package/src/Form/TextInput/FormText.tsx +4 -7
- package/src/Form/TextInput/TextInput.stories.ts +23 -41
- package/src/Form/TextInput/__snapshots__/FormText.stories.tsx.snap +1 -1
- package/src/Form/TextInput/__snapshots__/InputDivider.stories.ts.snap +10 -14
- package/src/Form/TextInput/__snapshots__/TextInput.stories.ts.snap +20 -96
- package/src/Form/TextInput/input-divider.twig +7 -8
- package/src/Form/TextInput/input-text-icon.twig +5 -5
- package/src/Form/TextInput/input-text.twig +31 -5
- package/src/Form/Textarea/FormTextarea.tsx +4 -7
- package/src/Form/Textarea/Textarea.stories.ts +11 -8
- package/src/Form/Textarea/__snapshots__/FormTextarea.stories.tsx.snap +1 -1
- package/src/Form/Textarea/__snapshots__/Textarea.stories.ts.snap +8 -16
- package/src/Form/Textarea/input-textarea.twig +21 -0
- package/src/Form/form.css +103 -103
- package/src/Layout/Footer/Footer.stories.ts +196 -4
- package/src/Layout/Footer/Footer.stories.tsx +5 -9
- package/src/Layout/Footer/Footer.tsx +21 -19
- package/src/Layout/Footer/__snapshots__/Footer.stories.ts.snap +296 -78
- package/src/Layout/Footer/__snapshots__/Footer.stories.tsx.snap +52 -58
- package/src/Layout/Footer/footer.css +102 -25
- package/src/Layout/Footer/footer.twig +29 -23
- package/src/Layout/Grid/Grid.stories.ts +15 -14
- package/src/Layout/Grid/Grid.stories.tsx +14 -14
- package/src/Layout/Grid/Grid.tsx +10 -10
- package/src/Layout/Grid/__snapshots__/Grid.stories.tsx.snap +10 -10
- package/src/Layout/Grid/grid-item.twig +1 -1
- package/src/Layout/Grid/grid.twig +7 -4
- package/src/Layout/Header/Components/GlobalToggle.tsx +0 -1
- package/src/Layout/Header/Components/Logo.tsx +1 -1
- package/src/Layout/Header/Elements/GlobalToggle.ts +6 -1
- package/src/Layout/Header/Header.stories.ts +242 -7
- package/src/Layout/Header/Header.tsx +22 -19
- package/src/Layout/Header/__snapshots__/Header.stories.ts.snap +464 -100
- package/src/Layout/Header/__snapshots__/Header.stories.tsx.snap +50 -46
- package/src/Layout/Header/_header.css +28 -21
- package/src/Layout/Header/_toggles.css +2 -2
- package/src/Layout/Header/header-stacked.twig +49 -0
- package/src/Layout/Header/header.twig +42 -21
- package/src/Layout/Header/twig/logo.twig +2 -2
- package/src/Layout/Masthead/Masthead.stories.ts +42 -6
- package/src/Layout/Masthead/__snapshots__/Masthead.stories.ts.snap +44 -27
- package/src/Layout/Masthead/masthead.css +5 -14
- package/src/Layout/Masthead/masthead.twig +25 -7
- package/src/Layout/Page/Page.tsx +2 -2
- package/src/Layout/Page/__snapshots__/Page.stories.tsx.snap +61 -59
- package/src/Layout/Page/page.css +19 -84
- package/src/Layout/Page/page.twig +8 -3
- package/src/Layout/Section/Section.stories.ts +12 -9
- package/src/Layout/Section/Section.stories.tsx +5 -9
- package/src/Layout/Section/Section.tsx +6 -10
- package/src/Layout/Section/SectionGrid.stories.tsx +5 -11
- package/src/Layout/Section/SectionGrid.tsx +8 -13
- package/src/Layout/Section/__snapshots__/Background.stories.ts.snap +12 -12
- package/src/Layout/Section/__snapshots__/Breakouts.stories.ts.snap +17 -17
- package/src/Layout/Section/__snapshots__/Flow.stories.ts.snap +18 -18
- package/src/Layout/Section/__snapshots__/Section.stories.ts.snap +4 -4
- package/src/Layout/Section/__snapshots__/Section.stories.tsx.snap +6 -6
- package/src/Layout/Section/__snapshots__/SectionGrid.stories.tsx.snap +6 -6
- package/src/Layout/Section/section.twig +1 -1
- package/src/Layout/Section/twig/section-background.twig +5 -5
- package/src/Layout/Section/twig/sections-breakout.twig +16 -16
- package/src/Layout/Section/twig/sections-flow.twig +17 -17
- package/src/Layout/Section/twig/sections-stacked.twig +8 -16
- package/src/Layout/Sidebar/Sidebar.stories.ts +25 -3
- package/src/Layout/Sidebar/Sidebar.stories.tsx +1 -1
- package/src/Layout/Sidebar/Sidebar.tsx +4 -4
- package/src/Layout/Sidebar/__snapshots__/Sidebar.stories.ts.snap +39 -16
- package/src/Layout/Sidebar/__snapshots__/Sidebar.stories.tsx.snap +6 -6
- package/src/Layout/Sidebar/sidebar.css +6 -6
- package/src/Layout/Sidebar/sidebar.twig +25 -16
- package/src/Utility/utilities.css +5 -2
- package/src/react.ts +1 -2
- package/dist/build/accordion.css +0 -108
- package/dist/build/accordion.entry.js +0 -139
- package/dist/build/accordion.entry.js.map +0 -1
- package/dist/build/base.css +0 -999
- package/dist/build/breadcrumb.css +0 -47
- package/dist/build/button.css +0 -132
- package/dist/build/callout.css +0 -11
- package/dist/build/card.css +0 -136
- package/dist/build/chunks/disclosure-widget-CQLPJ8Ta.js +0 -124
- package/dist/build/chunks/disclosure-widget-CQLPJ8Ta.js.map +0 -1
- package/dist/build/chunks/keyboard-C73DHu0c.js +0 -101
- package/dist/build/chunks/keyboard-C73DHu0c.js.map +0 -1
- package/dist/build/chunks/polyfills-CJ5uTmUJ.js +0 -749
- package/dist/build/chunks/polyfills-CJ5uTmUJ.js.map +0 -1
- package/dist/build/chunks/popover-wbPSyFRj.js +0 -654
- package/dist/build/chunks/popover-wbPSyFRj.js.map +0 -1
- package/dist/build/chunks/utilities-B4YZb689.js +0 -243
- package/dist/build/chunks/utilities-B4YZb689.js.map +0 -1
- package/dist/build/constants.css +0 -120
- package/dist/build/container-grid.css +0 -208
- package/dist/build/content-block.css +0 -23
- package/dist/build/dialog.css +0 -98
- package/dist/build/dialog.entry.js +0 -113
- package/dist/build/dialog.entry.js.map +0 -1
- package/dist/build/drop-menu.css +0 -78
- package/dist/build/drop-menu.entry.js +0 -129
- package/dist/build/drop-menu.entry.js.map +0 -1
- package/dist/build/drupal.css +0 -74
- package/dist/build/footer-menu.css +0 -32
- package/dist/build/footer.css +0 -61
- package/dist/build/form.css +0 -589
- package/dist/build/global-alert.css +0 -60
- package/dist/build/global-alert.entry.js +0 -68
- package/dist/build/global-alert.entry.js.map +0 -1
- package/dist/build/grid.css +0 -200
- package/dist/build/header.css +0 -131
- package/dist/build/header.entry.js +0 -98
- package/dist/build/header.entry.js.map +0 -1
- package/dist/build/hero-banner.css +0 -62
- package/dist/build/icon.css +0 -399
- package/dist/build/in-page-alert.css +0 -94
- package/dist/build/in-page-navigation.css +0 -17
- package/dist/build/in-page-navigation.entry.js +0 -89
- package/dist/build/in-page-navigation.entry.js.map +0 -1
- package/dist/build/link-list.css +0 -72
- package/dist/build/masthead.css +0 -39
- package/dist/build/nav-list.css +0 -26
- package/dist/build/navigation.css +0 -371
- package/dist/build/navigation.entry.js +0 -123
- package/dist/build/navigation.entry.js.map +0 -1
- package/dist/build/page.css +0 -184
- package/dist/build/pagination.css +0 -123
- package/dist/build/section.css +0 -163
- package/dist/build/sidebar.css +0 -105
- package/dist/build/sticky.css +0 -47
- package/dist/build/sticky.entry.js +0 -60
- package/dist/build/sticky.entry.js.map +0 -1
- package/dist/build/tabs.css +0 -106
- package/dist/build/tabs.entry.js +0 -161
- package/dist/build/tabs.entry.js.map +0 -1
- package/dist/build/tag.css +0 -67
- package/dist/build/tiles.css +0 -61
- package/dist/build/utilities.css +0 -175
- package/src/Atom/Button/twig/story-button.twig +0 -11
- package/src/Atom/Link/twig/story-link.twig +0 -11
- package/src/Atom/Media/twig/story-media.twig +0 -11
- package/src/Atom/NavList/NavList.stories.ts +0 -15
- package/src/Atom/NavList/__snapshots__/NavList.stories.ts.snap +0 -43
- package/src/Atom/NavList/nav-list.css +0 -23
- package/src/Atom/NavList/nav-list.twig +0 -25
- package/src/Component/Accordion/twig/accordion-story.twig +0 -13
- package/src/Component/Author/Author.stories.tsx +0 -18
- package/src/Component/Author/Author.tsx +0 -30
- package/src/Component/Author/__snapshots__/Author.stories.tsx.snap +0 -21
- package/src/Component/Callout/twig/callout-story.twig +0 -11
- package/src/Component/Card/twig/old-card.twig +0 -17
- package/src/Component/Card/twig/story-card.twig +0 -29
- package/src/Component/ContentBlock/twig/content-block-example.twig +0 -7
- package/src/Component/GlobalAlert/twig/story-global-alert.twig +0 -14
- package/src/Component/HeroBanner/twig/hero-banner-story.twig +0 -19
- package/src/Component/InPageAlert/twig/story-in-page-alert.twig +0 -11
- package/src/Component/InPageNavigation/twig/in-page-navigation-menu-example.twig +0 -6
- package/src/Component/ListItem/Teaser.tsx +0 -54
- package/src/Component/ListItem/__snapshots__/Teaser.stories.tsx.snap +0 -32
- package/src/Component/Navigation/Collapsible.stories.ts +0 -16
- package/src/Component/Navigation/Dropdown.stories.ts +0 -16
- package/src/Component/Navigation/MegaNav.stories.ts +0 -16
- package/src/Component/Navigation/__snapshots__/Collapsible.stories.ts.snap +0 -123
- package/src/Component/Navigation/__snapshots__/Dropdown.stories.ts.snap +0 -125
- package/src/Component/Navigation/navigation-collapsible.twig +0 -7
- package/src/Component/Navigation/navigation-dropdown.twig +0 -7
- package/src/Component/Navigation/navigation-mega-nav.twig +0 -7
- package/src/Component/Navigation/twig/navigation-subnav-list.twig +0 -108
- package/src/Component/Sticky/twig/sticky-example.twig +0 -4
- package/src/Component/Tabs/twig/panel.twig +0 -5
- package/src/Component/Tabs/twig/tab-list.twig +0 -26
- package/src/Form/Checkbox/Checkboxes.stories.ts +0 -47
- package/src/Form/Checkbox/__snapshots__/Checkboxes.stories.ts.snap +0 -115
- package/src/Form/Checkbox/input-checkbox-single.twig +0 -6
- package/src/Form/Description/ErrorMessage.stories.ts +0 -16
- package/src/Form/Description/__snapshots__/ErrorMessage.stories.ts.snap +0 -20
- package/src/Form/Description/form-error.twig +0 -5
- package/src/Form/Fieldset/Fieldset.stories.ts +0 -34
- package/src/Form/Fieldset/__snapshots__/Fieldset.stories.ts.snap +0 -23
- package/src/Form/Fieldset/fieldset.twig +0 -4
- package/src/Form/Radio/Radios.stories.ts +0 -47
- package/src/Form/Radio/__snapshots__/Radios.stories.ts.snap +0 -125
- package/src/Form/Search/TextInputWithInlineButton.stories.ts +0 -16
- package/src/Form/Search/__snapshots__/TextInputWithInlineButton.stories.ts.snap +0 -26
- package/src/Form/Search/input-text-inline-submit.twig +0 -8
- package/src/Form/Select/select.twig +0 -16
- package/src/Form/TextInput/TextInputWithIcon.stories.ts +0 -40
- package/src/Form/TextInput/__snapshots__/TextInputWithIcon.stories.ts.snap +0 -67
- package/src/Form/Textarea/textarea.twig +0 -5
- package/src/Layout/Footer/FooterMenu/FooterMenu.stories.ts +0 -15
- package/src/Layout/Footer/FooterMenu/__snapshots__/FooterMenu.stories.ts.snap +0 -101
- package/src/Layout/Footer/FooterMenu/footer-menu.css +0 -29
- package/src/Layout/Footer/FooterMenu/footer-menu.twig +0 -5
- package/src/Layout/Grid/twig/container-grid-dynamic.twig +0 -47
- package/src/Layout/Grid/twig/container-grid.twig +0 -46
- package/src/Layout/Grid/twig/grid-story.twig +0 -6
- package/src/Layout/Grid/twig/old-grid.twig +0 -46
- package/src/Layout/Header/Stacked/Stacked.stories.ts +0 -16
- package/src/Layout/Header/Stacked/__snapshots__/Stacked.stories.ts.snap +0 -353
- package/src/Layout/Header/Stacked/header-stacked.twig +0 -33
- package/src/Layout/Header/twig/global-header.twig +0 -4
- package/src/Layout/Section/twig/section-story.twig +0 -14
- /package/src/Form/{Item → FormItem}/FormItem.stories.tsx +0 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List Item
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@layer design-system.components {
|
|
6
|
+
.mx-list-item {
|
|
7
|
+
display: grid;
|
|
8
|
+
gap: var(--list-item-gap, var(--gap));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.mx-list-item:has(> .mx-list-item__media) {
|
|
12
|
+
grid-template: "media" "content" 1fr / 1fr;
|
|
13
|
+
|
|
14
|
+
@container (min-width: token("breakpoint.contentCard")) {
|
|
15
|
+
--list-item-gap: var(--gap-l);
|
|
16
|
+
--image-min-width: var(--image-max-width, 200px);
|
|
17
|
+
|
|
18
|
+
grid-template: "media content" 1fr / auto 1fr;
|
|
19
|
+
align-items: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.mx-list-item--reverse {
|
|
23
|
+
@container (min-width: token("breakpoint.contentCard")) {
|
|
24
|
+
grid-template-areas: "content media";
|
|
25
|
+
grid-template-columns: 1fr auto;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
& .mx-list-item__content {
|
|
30
|
+
grid-area: content;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
& :is(.mx-list-item__media, figure) {
|
|
34
|
+
grid-area: media;
|
|
35
|
+
display: grid;
|
|
36
|
+
position: relative;
|
|
37
|
+
inline-size: 100%;
|
|
38
|
+
max-inline-size: var(--image-min-width, 100px);
|
|
39
|
+
|
|
40
|
+
& img {
|
|
41
|
+
aspect-ratio: 1 / 1;
|
|
42
|
+
border-radius: var(--border-radius);
|
|
43
|
+
object-fit: cover;
|
|
44
|
+
display: block;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.mx-list-item__content {
|
|
50
|
+
--flow-gap: var(--gap-s);
|
|
51
|
+
|
|
52
|
+
& > .mx-text--s {
|
|
53
|
+
--flow-gap: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:is(.mx-list-item, .mx-container:has(> .mx-list-item)) {
|
|
58
|
+
&:where(:not(:first-child)) {
|
|
59
|
+
border-block-start: var(--line-width, 1px) solid
|
|
60
|
+
var(--line-colour, var(--colour-border));
|
|
61
|
+
padding-block-start: var(--gap);
|
|
62
|
+
margin-block-start: var(--gap);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* List item grid
|
|
69
|
+
*/
|
|
70
|
+
|
|
71
|
+
@layer design-system.components {
|
|
72
|
+
.mx-grid:has(> *:nth-child(2):last-child)
|
|
73
|
+
> :is(.mx-list-item, .mx-container:has(.mx-list-item)) {
|
|
74
|
+
inline-size: 100%;
|
|
75
|
+
max-inline-size: var(--max-list-item-width, 37ch);
|
|
76
|
+
margin-inline: auto;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Block list item
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
@layer design-system.components {
|
|
85
|
+
.mx-list-item--block {
|
|
86
|
+
position: relative;
|
|
87
|
+
|
|
88
|
+
&:focus-within {
|
|
89
|
+
border-radius: var(--border-radius);
|
|
90
|
+
outline: var(--outline-width) var(--outline-style) var(--outline-color);
|
|
91
|
+
outline-offset: 2px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
& :is(a[href], button) {
|
|
95
|
+
&:focus-visible {
|
|
96
|
+
outline: none;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
& a::after {
|
|
101
|
+
content: "";
|
|
102
|
+
position: absolute;
|
|
103
|
+
inset-block-start: 0;
|
|
104
|
+
inset-inline-start: 0;
|
|
105
|
+
inline-size: 100%;
|
|
106
|
+
block-size: 100%;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{% set baseClass = 'mx-list-item' %}
|
|
2
|
+
{% set classes = [baseClass] %}
|
|
3
|
+
{% for modifier in modifiers %}
|
|
4
|
+
{% set classes = classes|merge([baseClass~"--"~modifier]) %}
|
|
5
|
+
{% endfor %}
|
|
6
|
+
{% set attributes = (attributes ?? create_attribute()).addClass(classes) %}
|
|
7
|
+
|
|
8
|
+
<div class="mx-container">
|
|
9
|
+
<article{{ attributes }}>
|
|
10
|
+
{% if image %}
|
|
11
|
+
<figure class="mx-list-item__media">
|
|
12
|
+
{{ image }}
|
|
13
|
+
</figure>
|
|
14
|
+
{% endif %}
|
|
15
|
+
<div class="mx-list-item__content mx-vertical-flow">
|
|
16
|
+
{% if label %}
|
|
17
|
+
<strong class="mx-text--s">{{ label }}</strong>
|
|
18
|
+
{% endif %}
|
|
19
|
+
{% if info and infoBefore %}
|
|
20
|
+
<div class="mx-text--s">{{ info }}</div>
|
|
21
|
+
{% endif %}
|
|
22
|
+
<div class="mx-heading--m">
|
|
23
|
+
{{ link }}
|
|
24
|
+
</div>
|
|
25
|
+
{% if info and not infoBefore %}
|
|
26
|
+
<div class="mx-text--s">{{ info }}</div>
|
|
27
|
+
{% endif %}
|
|
28
|
+
{{ content }}
|
|
29
|
+
{{ tags }}
|
|
30
|
+
</div>
|
|
31
|
+
</article>
|
|
32
|
+
</div>
|
|
@@ -59,7 +59,7 @@ const DropdownLevel = ({
|
|
|
59
59
|
return (
|
|
60
60
|
<li
|
|
61
61
|
className={classNames({
|
|
62
|
-
"nav__has-subnav": item.items,
|
|
62
|
+
"mx-nav__has-subnav": item.items,
|
|
63
63
|
className,
|
|
64
64
|
})}
|
|
65
65
|
onMouseEnter={handleMouseEnter}
|
|
@@ -76,10 +76,15 @@ const DropdownLevel = ({
|
|
|
76
76
|
onKeyDown={handleKeyDown}
|
|
77
77
|
aria-controls={dropdownId}
|
|
78
78
|
aria-expanded={on}
|
|
79
|
-
className={classNames(
|
|
80
|
-
"
|
|
81
|
-
"icon
|
|
82
|
-
|
|
79
|
+
className={classNames(
|
|
80
|
+
"mx-nav__toggle",
|
|
81
|
+
"mx-icon",
|
|
82
|
+
"mx-icon--only",
|
|
83
|
+
{
|
|
84
|
+
"mx-icon--chevron-down": !on,
|
|
85
|
+
"mx-icon--chevron-up": on,
|
|
86
|
+
},
|
|
87
|
+
)}
|
|
83
88
|
type="button"
|
|
84
89
|
>
|
|
85
90
|
Sub-navigation
|
|
@@ -87,7 +92,7 @@ const DropdownLevel = ({
|
|
|
87
92
|
{on && (
|
|
88
93
|
<ul
|
|
89
94
|
id={dropdownId}
|
|
90
|
-
className={classNames("nav__level-2", "nav--open")}
|
|
95
|
+
className={classNames("mx-nav__level-2", "mx-nav--open")}
|
|
91
96
|
>
|
|
92
97
|
{item.items.map(subitem => (
|
|
93
98
|
<li key={subitem.id} className={classNames(subitem.className)}>
|
|
@@ -22,11 +22,11 @@ const Dropdown = ({
|
|
|
22
22
|
|
|
23
23
|
return (
|
|
24
24
|
<nav
|
|
25
|
-
className={classNames("nav", "nav--dropdown", { className })}
|
|
25
|
+
className={classNames("mx-nav", "mx-nav--dropdown", { className })}
|
|
26
26
|
aria-label={title}
|
|
27
27
|
{...props}
|
|
28
28
|
>
|
|
29
|
-
<ul className="nav__level-1">
|
|
29
|
+
<ul className="mx-nav__level-1">
|
|
30
30
|
{items &&
|
|
31
31
|
items.map((item: NavigationItem) => (
|
|
32
32
|
<DropdownLevel item={item} isMobile={isMobile} key={item.id} />
|
|
@@ -57,7 +57,7 @@ export default class Navigation extends HTMLElement {
|
|
|
57
57
|
const link: HTMLAnchorElement = item.querySelector(":scope > a")
|
|
58
58
|
const id: string = makeAnchor(`subnav-${index}-${link.textContent}`, 30)
|
|
59
59
|
const trigger: HTMLButtonElement = item.querySelector(
|
|
60
|
-
":scope > button.nav__toggle",
|
|
60
|
+
":scope > button.mx-nav__toggle",
|
|
61
61
|
)
|
|
62
62
|
if (item && link && trigger) {
|
|
63
63
|
const labelId = `list-label-${id}`
|
|
@@ -89,7 +89,7 @@ export default class Navigation extends HTMLElement {
|
|
|
89
89
|
handleDisclosure = ({ detail }: CustomEvent<DisclosureWidgetEvent>): void => {
|
|
90
90
|
const { isOpen, id } = detail
|
|
91
91
|
const { item } = this.subNavs.get(id)
|
|
92
|
-
item.classList.toggle("nav--open")
|
|
92
|
+
item.classList.toggle("mx-nav--open")
|
|
93
93
|
if (isOpen) {
|
|
94
94
|
this.keyboard.attachPopup(id, this.handleCloseAny)
|
|
95
95
|
} else {
|
|
@@ -120,9 +120,10 @@ export default class Navigation extends HTMLElement {
|
|
|
120
120
|
handleBreakpoint = ({
|
|
121
121
|
matches,
|
|
122
122
|
}: MediaQueryList | MediaQueryListEvent): void => {
|
|
123
|
+
const { signal }: AbortController = this.controller
|
|
123
124
|
if (matches) {
|
|
124
|
-
this.addEventListener("mouseover", this.handleFlyout)
|
|
125
|
-
this.addEventListener("mouseleave", this.handleCloseAny)
|
|
125
|
+
this.addEventListener("mouseover", this.handleFlyout, { signal })
|
|
126
|
+
this.addEventListener("mouseleave", this.handleCloseAny, { signal })
|
|
126
127
|
if (this.edgeCheck) this.handleEdgeCheck()
|
|
127
128
|
} else {
|
|
128
129
|
this.removeEventListener("mouseover", this.handleFlyout)
|
|
@@ -135,7 +136,7 @@ export default class Navigation extends HTMLElement {
|
|
|
135
136
|
const edgeCheck: IntersectionObserver = new IntersectionObserver(
|
|
136
137
|
([{ boundingClientRect, target }], obs) => {
|
|
137
138
|
if (windowInnerWidth < boundingClientRect.right)
|
|
138
|
-
target.classList.add("nav--reverse")
|
|
139
|
+
target.classList.add("mx-nav--reverse")
|
|
139
140
|
obs.disconnect()
|
|
140
141
|
},
|
|
141
142
|
)
|
|
@@ -1,15 +1,271 @@
|
|
|
1
1
|
import { Meta, StoryObj } from "@storybook/html"
|
|
2
2
|
import Component from "./navigation.twig"
|
|
3
3
|
import "./navigation.css"
|
|
4
|
+
import "./Elements/Navigation"
|
|
5
|
+
import { Navigation as NavigationType } from "@pnx-mixtape/ids-shape"
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
type MxNavigationType = NavigationType & {
|
|
8
|
+
type?: "collapsible" | "dropdown" | "mega" | "footer"
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const meta: Meta<MxNavigationType> = {
|
|
12
|
+
tags: ["autodocs", "ids-mvp"],
|
|
7
13
|
component: Component,
|
|
14
|
+
args: {
|
|
15
|
+
id: "links-story",
|
|
16
|
+
title: "Links",
|
|
17
|
+
items: [
|
|
18
|
+
{
|
|
19
|
+
link: {
|
|
20
|
+
title: "Home",
|
|
21
|
+
href: "#",
|
|
22
|
+
current: true,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
link: {
|
|
27
|
+
title: "About",
|
|
28
|
+
href: "#",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
link: {
|
|
33
|
+
title: "Contact",
|
|
34
|
+
href: "#",
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
},
|
|
8
39
|
}
|
|
9
40
|
|
|
10
41
|
export default meta
|
|
11
|
-
type Story = StoryObj<
|
|
42
|
+
type Story = StoryObj<MxNavigationType>
|
|
43
|
+
|
|
44
|
+
export const Navigation: Story = {}
|
|
45
|
+
|
|
46
|
+
export const Collapsible: Story = {
|
|
47
|
+
args: {
|
|
48
|
+
type: "collapsible",
|
|
49
|
+
items: [
|
|
50
|
+
{
|
|
51
|
+
link: {
|
|
52
|
+
title: "News",
|
|
53
|
+
href: "#",
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
link: {
|
|
58
|
+
title: "What we do",
|
|
59
|
+
href: "#",
|
|
60
|
+
},
|
|
61
|
+
items: [
|
|
62
|
+
{
|
|
63
|
+
link: {
|
|
64
|
+
title: "Events",
|
|
65
|
+
href: "#",
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
link: {
|
|
70
|
+
title: "Who we are",
|
|
71
|
+
href: "#",
|
|
72
|
+
},
|
|
73
|
+
items: [
|
|
74
|
+
{
|
|
75
|
+
link: {
|
|
76
|
+
title: "Our team",
|
|
77
|
+
href: "#",
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
link: {
|
|
82
|
+
title: "Our philosophy",
|
|
83
|
+
href: "#",
|
|
84
|
+
current: true,
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
link: {
|
|
89
|
+
title: "Why music?",
|
|
90
|
+
href: "#",
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
link: {
|
|
97
|
+
title: "Join us",
|
|
98
|
+
href: "#",
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
link: {
|
|
103
|
+
title: "Careers",
|
|
104
|
+
href: "#",
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
link: {
|
|
111
|
+
title: "Contact",
|
|
112
|
+
href: "#",
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
link: {
|
|
117
|
+
title: "Resources",
|
|
118
|
+
href: "#",
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
},
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export const Dropdown: Story = {
|
|
126
|
+
args: {
|
|
127
|
+
type: "dropdown",
|
|
128
|
+
items: [
|
|
129
|
+
{
|
|
130
|
+
link: {
|
|
131
|
+
title: "News",
|
|
132
|
+
href: "#",
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
link: {
|
|
137
|
+
title: "What we do",
|
|
138
|
+
href: "#",
|
|
139
|
+
},
|
|
140
|
+
items: [
|
|
141
|
+
{
|
|
142
|
+
link: {
|
|
143
|
+
title: "Events",
|
|
144
|
+
href: "#",
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
link: {
|
|
149
|
+
title: "Who we are",
|
|
150
|
+
href: "#",
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
link: {
|
|
155
|
+
title: "Join us",
|
|
156
|
+
href: "#",
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
link: {
|
|
161
|
+
title: "Careers",
|
|
162
|
+
href: "#",
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
link: {
|
|
169
|
+
title: "Contact",
|
|
170
|
+
href: "#",
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
link: {
|
|
175
|
+
title: "Resources",
|
|
176
|
+
href: "#",
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
},
|
|
181
|
+
}
|
|
12
182
|
|
|
13
|
-
export const
|
|
14
|
-
args: {
|
|
183
|
+
export const Mega: Story = {
|
|
184
|
+
args: {
|
|
185
|
+
type: "mega",
|
|
186
|
+
items: [
|
|
187
|
+
{
|
|
188
|
+
link: {
|
|
189
|
+
title: "Home",
|
|
190
|
+
href: "#",
|
|
191
|
+
current: true,
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
link: {
|
|
196
|
+
title: "About",
|
|
197
|
+
href: "#",
|
|
198
|
+
},
|
|
199
|
+
items: [
|
|
200
|
+
{
|
|
201
|
+
link: {
|
|
202
|
+
title: "Who",
|
|
203
|
+
href: "#",
|
|
204
|
+
current: true,
|
|
205
|
+
},
|
|
206
|
+
items: [
|
|
207
|
+
{
|
|
208
|
+
link: {
|
|
209
|
+
title: "How come?",
|
|
210
|
+
href: "#",
|
|
211
|
+
current: true,
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
link: {
|
|
216
|
+
title: "Why not?",
|
|
217
|
+
href: "#",
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
link: {
|
|
222
|
+
title: "What for?",
|
|
223
|
+
href: "#",
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
link: {
|
|
230
|
+
title: "What",
|
|
231
|
+
href: "#",
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
link: {
|
|
236
|
+
title: "Why",
|
|
237
|
+
href: "#",
|
|
238
|
+
},
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
link: {
|
|
244
|
+
title: "Contact",
|
|
245
|
+
href: "#",
|
|
246
|
+
},
|
|
247
|
+
items: [
|
|
248
|
+
{
|
|
249
|
+
link: {
|
|
250
|
+
title: "How",
|
|
251
|
+
href: "#",
|
|
252
|
+
current: true,
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
link: {
|
|
257
|
+
title: "Where",
|
|
258
|
+
href: "#",
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
link: {
|
|
263
|
+
title: "When",
|
|
264
|
+
href: "#",
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
},
|
|
15
271
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Component/Navigation/Dropdown Dropdown smoke-test 1`] = `
|
|
4
|
-
<nav class="nav nav--dropdown"
|
|
4
|
+
<nav class="mx-nav mx-nav--dropdown"
|
|
5
5
|
aria-label="Menu"
|
|
6
6
|
id="navigation"
|
|
7
7
|
>
|
|
8
|
-
<ul class="nav__level-1">
|
|
9
|
-
<li class="nav__has-subnav">
|
|
8
|
+
<ul class="mx-nav__level-1">
|
|
9
|
+
<li class="mx-nav__has-subnav">
|
|
10
10
|
<a href="#"
|
|
11
11
|
class
|
|
12
12
|
>
|
|
@@ -14,7 +14,7 @@ exports[`Component/Navigation/Dropdown Dropdown smoke-test 1`] = `
|
|
|
14
14
|
</a>
|
|
15
15
|
<button aria-controls="unique-0"
|
|
16
16
|
aria-expanded="false"
|
|
17
|
-
class="nav__toggle icon icon--only icon--chevron-down"
|
|
17
|
+
class="mx-nav__toggle mx-icon mx-icon--only mx-icon--chevron-down"
|
|
18
18
|
type="button"
|
|
19
19
|
>
|
|
20
20
|
Sub-navigation
|