@pnx-mixtape/mxds 0.0.13 → 0.0.15
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 +37 -23
- package/dist/build/accordion.css +1 -98
- package/dist/build/accordion.entry.js +1 -83
- package/dist/build/base.css +1 -996
- package/dist/build/breadcrumb.css +1 -51
- package/dist/build/button.css +1 -132
- package/dist/build/callout.css +1 -11
- package/dist/build/card.css +1 -149
- package/dist/build/carousel.css +1 -0
- package/dist/build/chunks/Accordion-RtUfbsTy.js +1 -0
- package/dist/build/chunks/disclosure-widget-CPdkUWkq.js +1 -0
- package/dist/build/chunks/drop-menu.entry-BqBzLfVC.js +1 -0
- package/dist/build/chunks/keyboard-Cs0cduxq.js +1 -0
- package/dist/build/chunks/polyfills-5KNOJw2W.js +1 -0
- package/dist/build/chunks/popover-CiVl-0jk.js +1 -0
- package/dist/build/chunks/utilities-CE6xwgqF.js +2 -0
- package/dist/build/constants.css +1 -120
- package/dist/build/container-grid.css +1 -208
- package/dist/build/content-block.css +1 -36
- package/dist/build/dialog.css +1 -98
- package/dist/build/dialog.entry.js +1 -113
- package/dist/build/drop-menu.css +1 -78
- package/dist/build/drop-menu.entry.js +1 -2
- package/dist/build/drupal.css +1 -74
- package/dist/build/filters.css +1 -105
- package/dist/build/filters.entry.js +1 -137
- package/dist/build/footer.css +1 -151
- package/dist/build/form.css +1 -517
- package/dist/build/global-alert.css +1 -60
- package/dist/build/global-alert.entry.js +1 -68
- package/dist/build/grid.css +1 -200
- package/dist/build/header.css +1 -153
- package/dist/build/header.entry.js +1 -103
- package/dist/build/hero-banner.css +1 -62
- package/dist/build/icon.css +1 -399
- package/dist/build/in-page-alert.css +1 -94
- package/dist/build/in-page-navigation.css +1 -17
- package/dist/build/in-page-navigation.entry.js +1 -99
- package/dist/build/link-list.css +1 -45
- package/dist/build/list-item.css +1 -114
- package/dist/build/masthead.css +1 -53
- package/dist/build/navigation.css +1 -396
- package/dist/build/navigation.entry.js +1 -124
- package/dist/build/page.css +1 -80
- package/dist/build/pagination.css +1 -130
- package/dist/build/results-bar.css +1 -0
- package/dist/build/section.css +1 -163
- package/dist/build/side-navigation.css +1 -88
- package/dist/build/sidebar.css +1 -59
- package/dist/build/social-links.css +1 -20
- package/dist/build/steps.css +1 -118
- package/dist/build/sticky.css +1 -47
- package/dist/build/sticky.entry.js +1 -60
- package/dist/build/tabs.css +1 -109
- package/dist/build/tabs.entry.js +1 -202
- package/dist/build/tag.css +1 -71
- package/dist/build/utilities.css +1 -178
- package/package.json +56 -64
- package/src/Atom/Background/Backgrounds.stories.ts +13 -1
- package/src/Atom/Background/__snapshots__/Backgrounds.stories.ts.snap +157 -81
- package/src/Atom/Background/_background.css +16 -10
- package/src/Atom/Base.mdx +25 -17
- package/src/Atom/Button/Button.stories.ts +1 -4
- package/src/Atom/Button/Button.stories.tsx +1 -1
- package/src/Atom/Button/__snapshots__/Button.stories.ts.snap +47 -37
- package/src/Atom/Button/_buttons-styles.css +7 -7
- package/src/Atom/Button/_buttons.css +1 -6
- package/src/Atom/DefinitionList/DefinitionList.stories.ts +32 -0
- package/src/Atom/DefinitionList/DefinitionList.stories.tsx +1 -1
- package/src/Atom/DefinitionList/__snapshots__/DefinitionList.stories.ts.snap +32 -0
- package/src/Atom/DefinitionList/definition-list.twig +9 -0
- package/src/Atom/Heading/Heading.stories.ts +1 -1
- package/src/Atom/Heading/Heading.stories.tsx +1 -1
- package/src/Atom/Heading/__snapshots__/Heading.stories.ts.snap +5 -3
- package/src/Atom/Heading/_headings.css +24 -24
- package/src/Atom/Icon/Icon.mdx +1 -1
- package/src/Atom/Icon/Icon.stories.ts +1 -1
- package/src/Atom/Icon/Icon.stories.tsx +1 -1
- package/src/Atom/Icon/Icon.tsx +2 -2
- package/src/Atom/Icon/__snapshots__/Icon.stories.ts.snap +14 -8
- package/src/Atom/Icon/_icon.css +4 -4
- package/src/Atom/Image/Image.stories.ts +1 -1
- package/src/Atom/Image/__snapshots__/Image.stories.ts.snap +7 -5
- package/src/Atom/Image/_image.css +2 -7
- package/src/Atom/Link/Link.stories.ts +1 -1
- package/src/Atom/Link/Link.stories.tsx +1 -1
- package/src/Atom/Link/__snapshots__/Link.stories.ts.snap +50 -37
- package/src/Atom/Link/_links.css +2 -22
- package/src/Atom/Link/link.twig +1 -0
- package/src/Atom/Media/Media.stories.ts +2 -1
- package/src/Atom/Media/Media.stories.tsx +1 -1
- package/src/Atom/Media/__snapshots__/Media.stories.ts.snap +11 -24
- package/src/Atom/Media/_media.css +8 -8
- package/src/Atom/Spacing/Spacing.stories.ts +1 -1
- package/src/Atom/Spacing/__snapshots__/Spacing.stories.ts.snap +5 -3
- package/src/Atom/Table/Table.stories.ts +1 -1
- package/src/Atom/Table/TableResponsive.stories.ts +1 -1
- package/src/Atom/Table/__snapshots__/Table.stories.ts.snap +256 -248
- package/src/Atom/Table/__snapshots__/TableResponsive.stories.ts.snap +65 -63
- package/src/Atom/Text/Text.stories.tsx +1 -1
- package/src/Atom/Text/TextSizes.stories.ts +1 -1
- package/src/Atom/Text/__snapshots__/TextSizes.stories.ts.snap +59 -55
- package/src/Atom/Text/_text-sizes.css +17 -17
- package/src/Atom/Text/rich-text.twig +9 -0
- package/src/Atom/Video/Video.stories.ts +1 -1
- package/src/Atom/Video/__snapshots__/Video.stories.ts.snap +9 -7
- package/src/Atom/_animated.css +0 -14
- package/src/Atom/_generic.css +57 -15
- package/src/Atom/base.css +1 -1
- package/src/Component/Accordion/Accordion.stories.ts +1 -4
- package/src/Component/Accordion/Accordion.stories.tsx +1 -2
- package/src/Component/Accordion/__snapshots__/Accordion.stories.ts.snap +60 -56
- package/src/Component/Accordion/__snapshots__/Accordion.stories.tsx.snap +0 -1
- package/src/Component/Accordion/accordion.css +16 -4
- package/src/Component/Breadcrumb/Breadcrumb.stories.ts +1 -1
- package/src/Component/Breadcrumb/Breadcrumb.stories.tsx +1 -1
- package/src/Component/Breadcrumb/__snapshots__/Breadcrumb.stories.ts.snap +31 -29
- package/src/Component/Breadcrumb/breadcrumb.css +4 -0
- package/src/Component/Callout/Callout.stories.ts +1 -9
- package/src/Component/Callout/__snapshots__/Callout.stories.ts.snap +9 -7
- package/src/Component/Card/Card.stories.ts +11 -18
- package/src/Component/Card/Card.stories.tsx +1 -1
- package/src/Component/Card/Card.tsx +9 -5
- package/src/Component/Card/__snapshots__/Card.stories.ts.snap +257 -229
- package/src/Component/Card/card.css +36 -33
- package/src/Component/Card/card.twig +6 -6
- package/src/Component/Carousel/Carousel.stories.ts +201 -0
- package/src/Component/Carousel/Elements/Carousel.ts +241 -0
- package/src/Component/Carousel/__snapshots__/Carousel.stories.ts.snap +912 -0
- package/src/Component/Carousel/carousel.css +119 -0
- package/src/Component/Carousel/carousel.twig +27 -0
- package/src/Component/ContentBlock/ContentBlock.stories.ts +27 -19
- package/src/Component/ContentBlock/ContentBlock.stories.tsx +1 -1
- package/src/Component/ContentBlock/__snapshots__/ContentBlock.stories.ts.snap +153 -93
- package/src/Component/Dialog/Dialog.stories.ts +75 -7
- package/src/Component/Dialog/Dialog.stories.tsx +1 -1
- package/src/Component/Dialog/Elements/Dialog.ts +14 -34
- package/src/Component/Dialog/__snapshots__/Dialog.stories.ts.snap +102 -66
- package/src/Component/Dialog/dialog.css +32 -20
- package/src/Component/Dialog/dialog.twig +14 -15
- package/src/Component/DropMenu/Components/DropMenuContext.tsx +7 -9
- package/src/Component/DropMenu/Components/DropMenuItem.tsx +1 -1
- package/src/Component/DropMenu/DropMenu.stories.ts +1 -1
- package/src/Component/DropMenu/DropMenu.stories.tsx +1 -1
- package/src/Component/DropMenu/Elements/DropMenu.ts +1 -1
- package/src/Component/DropMenu/__snapshots__/DropMenu.stories.ts.snap +28 -26
- package/src/Component/DropMenu/drop-menu.css +11 -3
- package/src/Component/Filters/Filters.stories.ts +1 -4
- package/src/Component/Filters/__snapshots__/Filters.stories.ts.snap +397 -389
- package/src/Component/Filters/filters.css +14 -5
- package/src/Component/GlobalAlert/GlobalAlert.stories.ts +1 -1
- package/src/Component/GlobalAlert/GlobalAlert.stories.tsx +1 -1
- package/src/Component/GlobalAlert/__snapshots__/GlobalAlert.stories.ts.snap +33 -29
- package/src/Component/GlobalAlert/__snapshots__/GlobalAlert.stories.tsx.snap +2 -2
- package/src/Component/GlobalAlert/global-alert.css +2 -2
- package/src/Component/HeroBanner/HeroBanner.stories.ts +1 -4
- package/src/Component/HeroBanner/HeroBanner.stories.tsx +1 -1
- package/src/Component/HeroBanner/__snapshots__/HeroBanner.stories.ts.snap +68 -64
- package/src/Component/HeroBanner/hero-banner.css +6 -1
- package/src/Component/HeroBanner/hero-banner.twig +3 -4
- package/src/Component/InPageAlert/InPageAlert.stories.ts +1 -1
- package/src/Component/InPageAlert/InPageAlert.stories.tsx +1 -1
- package/src/Component/InPageAlert/__snapshots__/InPageAlert.stories.ts.snap +10 -8
- package/src/Component/InPageAlert/in-page-alert.css +8 -8
- package/src/Component/InPageNavigation/Elements/InPageNavigation.ts +1 -1
- package/src/Component/InPageNavigation/InPageNavigation.stories.ts +1 -4
- package/src/Component/InPageNavigation/InPageNavigation.stories.tsx +1 -1
- package/src/Component/InPageNavigation/__snapshots__/InPageNavigation.stories.ts.snap +64 -62
- package/src/Component/LinkList/LinkList.stories.ts +1 -1
- package/src/Component/LinkList/LinkList.stories.tsx +1 -1
- package/src/Component/LinkList/__snapshots__/LinkList.stories.ts.snap +31 -29
- package/src/Component/ListItem/ListItem.stories.ts +2 -4
- package/src/Component/ListItem/ListItem.stories.tsx +1 -1
- package/src/Component/ListItem/__snapshots__/ListItem.stories.ts.snap +162 -148
- package/src/Component/ListItem/list-item.css +7 -88
- package/src/Component/ListItem/list-item.twig +8 -8
- package/src/Component/Navigation/Dropdown.stories.tsx +1 -1
- package/src/Component/Navigation/Navigation.stories.ts +1 -1
- package/src/Component/Navigation/Navigation.stories.tsx +1 -1
- package/src/Component/Navigation/__snapshots__/Navigation.stories.ts.snap +291 -283
- package/src/Component/Navigation/_navigation-collapsible.css +11 -14
- package/src/Component/Navigation/_navigation-dropdown.css +11 -17
- package/src/Component/Pagination/Components/PaginationContext.tsx +4 -8
- package/src/Component/Pagination/Pagination.stories.ts +1 -1
- package/src/Component/Pagination/Pagination.stories.tsx +1 -1
- package/src/Component/Pagination/__snapshots__/Pagination.stories.ts.snap +59 -57
- package/src/Component/Pagination/pagination.css +2 -8
- package/src/Component/ResultsBar/Components/ResultsBarInfo.tsx +28 -0
- package/src/Component/ResultsBar/Components/ResultsBarSort.tsx +17 -0
- package/src/Component/ResultsBar/ResultsBar.stories.ts +37 -0
- package/src/Component/ResultsBar/ResultsBar.stories.tsx +50 -0
- package/src/Component/ResultsBar/ResultsBar.tsx +7 -0
- package/src/Component/ResultsBar/__snapshots__/ResultsBar.stories.ts.snap +54 -0
- package/src/Component/ResultsBar/__snapshots__/ResultsBar.stories.tsx.snap +53 -0
- package/src/Component/ResultsBar/results-bar.css +19 -0
- package/src/Component/ResultsBar/results-bar.twig +24 -0
- package/src/Component/SideNavigation/SideNavigation.stories.ts +1 -1
- package/src/Component/SideNavigation/__snapshots__/SideNavigation.stories.ts.snap +82 -80
- package/src/Component/SideNavigation/side-navigation.css +2 -8
- package/src/Component/SocialLinks/SocialLinks.stories.ts +1 -1
- package/src/Component/SocialLinks/__snapshots__/SocialLinks.stories.ts.snap +30 -28
- package/src/Component/Steps/Steps.stories.ts +1 -1
- package/src/Component/Steps/__snapshots__/Steps.stories.ts.snap +86 -78
- package/src/Component/Steps/steps.css +1 -1
- package/src/Component/Sticky/Sticky.stories.ts +1 -1
- package/src/Component/Sticky/Sticky.stories.tsx +1 -1
- package/src/Component/Sticky/__snapshots__/Sticky.stories.ts.snap +9 -7
- package/src/Component/Tabs/Tabs.stories.ts +1 -1
- package/src/Component/Tabs/Tabs.stories.tsx +1 -1
- package/src/Component/Tabs/Tabs.tsx +4 -4
- package/src/Component/Tabs/__snapshots__/Tabs.stories.ts.snap +73 -71
- package/src/Component/Tabs/__snapshots__/Tabs.stories.tsx.snap +0 -2
- package/src/Component/Tabs/tabs.css +14 -21
- package/src/Component/Tag/Tag.stories.ts +1 -1
- package/src/Component/Tag/Tag.stories.tsx +1 -1
- package/src/Component/Tag/__snapshots__/Tag.stories.ts.snap +59 -53
- package/src/Component/Tag/tag.css +6 -6
- package/src/Component/Tile/Tile.stories.ts +38 -12
- package/src/Component/Tile/Tile.stories.tsx +2 -2
- package/src/Component/Tile/Tile.tsx +30 -17
- package/src/Component/Tile/__snapshots__/Tile.stories.ts.snap +49 -75
- package/src/Component/Tile/__snapshots__/Tile.stories.tsx.snap +6 -16
- package/src/Form/Checkbox/Checkbox.stories.ts +1 -1
- package/src/Form/Checkbox/FormCheckbox.stories.tsx +1 -1
- package/src/Form/Checkbox/FormCheckbox.tsx +5 -7
- package/src/Form/Checkbox/__snapshots__/Checkbox.stories.ts.snap +23 -19
- package/src/Form/Description/Description.stories.ts +1 -1
- package/src/Form/Description/FormDescription.stories.tsx +1 -1
- package/src/Form/Description/FormStatus.stories.ts +1 -1
- package/src/Form/Description/__snapshots__/Description.stories.ts.snap +7 -5
- package/src/Form/Description/__snapshots__/FormStatus.stories.ts.snap +14 -10
- package/src/Form/Form/Form.stories.tsx +1 -1
- package/src/Form/Form/FormTitle.stories.tsx +1 -1
- package/src/Form/FormItem/FormItem.stories.ts +1 -4
- package/src/Form/FormItem/FormItem.stories.tsx +1 -1
- package/src/Form/FormItem/__snapshots__/FormItem.stories.ts.snap +119 -109
- package/src/Form/FormItem/__snapshots__/FormItem.stories.tsx.snap +4 -4
- package/src/Form/Label/FormLabel.stories.tsx +1 -1
- package/src/Form/Label/FormLabel.tsx +1 -1
- package/src/Form/Label/Label.stories.ts +1 -1
- package/src/Form/Label/__snapshots__/Label.stories.ts.snap +21 -15
- package/src/Form/Radio/FormRadio.stories.tsx +1 -1
- package/src/Form/Radio/FormRadio.tsx +4 -4
- package/src/Form/Radio/Radio.stories.ts +1 -1
- package/src/Form/Radio/__snapshots__/Radio.stories.ts.snap +55 -51
- package/src/Form/Search/Search.stories.ts +1 -4
- package/src/Form/Search/__snapshots__/Search.stories.ts.snap +23 -21
- package/src/Form/Select/FormSelect.stories.tsx +1 -1
- package/src/Form/Select/FormSelect.tsx +1 -1
- package/src/Form/Select/Select.stories.ts +1 -1
- package/src/Form/Select/__snapshots__/Select.stories.ts.snap +18 -16
- package/src/Form/TextInput/FormText.stories.tsx +1 -1
- package/src/Form/TextInput/InputDivider.stories.ts +1 -1
- package/src/Form/TextInput/TextInput.stories.ts +1 -1
- package/src/Form/TextInput/__snapshots__/FormText.stories.tsx.snap +1 -1
- package/src/Form/TextInput/__snapshots__/InputDivider.stories.ts.snap +24 -22
- package/src/Form/TextInput/__snapshots__/TextInput.stories.ts.snap +18 -14
- package/src/Form/Textarea/FormTextarea.stories.tsx +1 -1
- package/src/Form/Textarea/Textarea.stories.ts +1 -1
- package/src/Form/Textarea/__snapshots__/FormTextarea.stories.tsx.snap +1 -1
- package/src/Form/Textarea/__snapshots__/Textarea.stories.ts.snap +9 -7
- package/src/Form/form.css +24 -34
- package/src/Introduction.mdx +40 -0
- package/src/Layout/Footer/Footer.stories.ts +1 -6
- package/src/Layout/Footer/Footer.stories.tsx +1 -1
- package/src/Layout/Footer/__snapshots__/Footer.stories.ts.snap +10 -10
- package/src/Layout/Footer/footer.css +2 -6
- package/src/Layout/Footer/footer.twig +0 -1
- package/src/Layout/Grid/Grid.stories.ts +8 -8
- package/src/Layout/Grid/Grid.stories.tsx +2 -2
- package/src/Layout/Grid/__snapshots__/Grid.stories.ts.snap +38 -32
- package/src/Layout/Grid/container-grid.css +10 -10
- package/src/Layout/Grid/grid-item.twig +3 -1
- package/src/Layout/Grid/grid.css +3 -3
- package/src/Layout/Header/Header.stories.ts +1 -6
- package/src/Layout/Header/Header.stories.tsx +1 -1
- package/src/Layout/Header/__snapshots__/Header.stories.ts.snap +11 -11
- package/src/Layout/Header/__snapshots__/Header.stories.tsx.snap +3 -3
- package/src/Layout/Header/_header.css +18 -16
- package/src/Layout/Header/header.twig +1 -2
- package/src/Layout/Masthead/Masthead.stories.ts +1 -3
- package/src/Layout/Masthead/__snapshots__/Masthead.stories.ts.snap +6 -6
- package/src/Layout/Masthead/masthead.twig +0 -2
- package/src/Layout/Page/Page.stories.tsx +1 -1
- package/src/Layout/Page/__snapshots__/Page.stories.tsx.snap +3 -3
- package/src/Layout/Page/page.css +16 -40
- package/src/Layout/Page/page.twig +6 -1
- package/src/Layout/Section/Background.stories.ts +60 -8
- package/src/Layout/Section/Breakouts.stories.ts +1 -3
- package/src/Layout/Section/Flow.stories.ts +1 -3
- package/src/Layout/Section/Section.stories.ts +1 -6
- package/src/Layout/Section/Section.stories.tsx +1 -1
- package/src/Layout/Section/SectionGrid.stories.tsx +1 -1
- package/src/Layout/Section/__snapshots__/Background.stories.ts.snap +36 -24
- package/src/Layout/Section/__snapshots__/Breakouts.stories.ts.snap +54 -52
- package/src/Layout/Section/__snapshots__/Flow.stories.ts.snap +18 -18
- package/src/Layout/Section/__snapshots__/Section.stories.ts.snap +2 -2
- package/src/Layout/Section/section.css +15 -18
- package/src/Layout/Section/section.twig +0 -1
- package/src/Layout/Section/twig/section-background.twig +29 -10
- package/src/Layout/Section/twig/sections-breakout.twig +28 -33
- package/src/Layout/Section/twig/sections-flow.twig +17 -17
- package/src/Layout/Section/twig/sections-stacked.twig +4 -4
- package/src/Layout/Sidebar/Sidebar.stories.ts +1 -3
- package/src/Layout/Sidebar/Sidebar.stories.tsx +1 -1
- package/src/Layout/Sidebar/__snapshots__/Sidebar.stories.ts.snap +5 -5
- package/src/Layout/Sidebar/sidebar.css +2 -18
- package/src/Utility/Context/ImageComponent.tsx +3 -6
- package/src/Utility/Context/LinkComponent.tsx +3 -6
- package/src/Utility/Drupal/drupal.css +1 -5
- package/src/Utility/Elements/breakpoint-loader.ts +0 -1
- package/src/Utility/Elements/cookie-compliance.ts +0 -1
- package/src/Utility/Elements/io-loader.ts +0 -1
- package/src/Utility/Hooks/useLocalStorage.ts +0 -1
- package/src/Utility/Hooks/useMediaQuery.ts +0 -1
- package/src/Utility/Hooks/useToggle.ts +0 -1
- package/src/Utility/global.d.ts +0 -1
- package/src/Utility/utilities.ts +0 -1
- package/src/constants.css +53 -24
- package/src/enums.ts +1 -2
- package/src/react.ts +3 -0
- package/src/tokens.js +19 -19
- package/dist/build/accordion.entry.js.map +0 -1
- package/dist/build/chunks/Accordion-DSze7pxN.js +0 -61
- package/dist/build/chunks/Accordion-DSze7pxN.js.map +0 -1
- 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/drop-menu.entry-BC6x9vst.js +0 -132
- package/dist/build/chunks/drop-menu.entry-BC6x9vst.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/dialog.entry.js.map +0 -1
- package/dist/build/drop-menu.entry.js.map +0 -1
- package/dist/build/filters.entry.js.map +0 -1
- package/dist/build/global-alert.entry.js.map +0 -1
- package/dist/build/header.entry.js.map +0 -1
- package/dist/build/in-page-navigation.entry.js.map +0 -1
- package/dist/build/navigation.entry.js.map +0 -1
- package/dist/build/sticky.entry.js.map +0 -1
- package/dist/build/tabs.entry.js.map +0 -1
- package/dist/build/tiles.css +0 -61
- package/src/Component/Tile/tile.twig +0 -10
- package/src/Component/Tile/tiles.css +0 -58
- package/src/Component/Tile/twig/tiles.twig +0 -18
package/dist/build/utilities.css
CHANGED
|
@@ -1,178 +1 @@
|
|
|
1
|
-
@layer design-system.utilities {
|
|
2
|
-
.stack {
|
|
3
|
-
display: grid;
|
|
4
|
-
grid-template-areas: "stack";
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.stack > * {
|
|
8
|
-
grid-area: stack;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.flex {
|
|
12
|
-
display: flex;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.place-center {
|
|
16
|
-
align-content: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
place-content: center;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.align--center {
|
|
22
|
-
margin-inline: auto;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.align--left {
|
|
26
|
-
margin-inline-end: auto;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.align--right {
|
|
30
|
-
margin-inline-start: auto;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.align--bottom {
|
|
34
|
-
margin-block-start: auto;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.align--top {
|
|
38
|
-
margin-block-end: auto;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.order--start {
|
|
42
|
-
order: -1;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.order--1 {
|
|
46
|
-
order: 1;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.order--2 {
|
|
50
|
-
order: 2;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.order--3 {
|
|
54
|
-
order: 3;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.gap--s {
|
|
58
|
-
gap: var(--gap-s);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.gap--m {
|
|
62
|
-
gap: var(--gap);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.gap--l {
|
|
66
|
-
gap: var(--gap-l);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.gap--xl {
|
|
70
|
-
gap: var(--gap-xl);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.gap--section-l {
|
|
74
|
-
gap: var(--section-l, var(--spacing-xl));
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.gap--section-xl {
|
|
78
|
-
gap: var(--section-xl, var(--spacing-uul));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@layer design-system.utilities {
|
|
83
|
-
.hidden,
|
|
84
|
-
.visually-hidden,
|
|
85
|
-
.sr-only {
|
|
86
|
-
clip-path: polygon(0 0, 0 0, 0 0, 0 0);
|
|
87
|
-
box-sizing: border-box;
|
|
88
|
-
position: absolute !important;
|
|
89
|
-
margin: 0;
|
|
90
|
-
padding: 0;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.visually-hidden.visually-hidden--focussable:focus,
|
|
94
|
-
.sr-only.sr-only--focussable:focus {
|
|
95
|
-
clip-path: none;
|
|
96
|
-
position: revert !important;
|
|
97
|
-
margin: revert;
|
|
98
|
-
padding: revert;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
[hidden] {
|
|
102
|
-
display: none;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Responsive utility class
|
|
108
|
-
*/
|
|
109
|
-
|
|
110
|
-
@layer design-system.utilities {
|
|
111
|
-
@media (min-width: 946px) {
|
|
112
|
-
.mobile-only {
|
|
113
|
-
display: none;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
@media (max-width: 945.98px) {
|
|
117
|
-
|
|
118
|
-
.desktop-only {
|
|
119
|
-
display: none;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.print-only {
|
|
124
|
-
display: none !important;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@media print {
|
|
128
|
-
|
|
129
|
-
.print-only {
|
|
130
|
-
display: block !important;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
@media print {
|
|
134
|
-
|
|
135
|
-
.screen-only {
|
|
136
|
-
display: none !important;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* Skeleton and loading UI.
|
|
143
|
-
*/
|
|
144
|
-
|
|
145
|
-
@layer design-system.utilities {
|
|
146
|
-
.skeleton {
|
|
147
|
-
--background: hsla(0, 0%, 0%, 0.1);
|
|
148
|
-
--opacity-low: 0.5;
|
|
149
|
-
--opacity-high: 0.75;
|
|
150
|
-
--duration: 1500ms;
|
|
151
|
-
|
|
152
|
-
animation: pulse 1500ms ease infinite;
|
|
153
|
-
|
|
154
|
-
animation: pulse var(--duration) ease infinite;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.skeleton--bg {
|
|
158
|
-
background-color: var(--background);
|
|
159
|
-
border-radius: var(--border-radius);
|
|
160
|
-
z-index: -1;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
@keyframes pulse {
|
|
165
|
-
0% {
|
|
166
|
-
opacity: var(--opacity-low);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
75% {
|
|
170
|
-
opacity: var(--opacity-high);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
100% {
|
|
174
|
-
opacity: var(--opacity-low);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIl9sYXlvdXQtdXRpbHMuY3NzIiwidXRpbGl0aWVzLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFO0lBQ0UsYUFBYTtJQUNiLDRCQUE0QjtFQUs5Qjs7SUFIRTtNQUNFLGdCQUFnQjtJQUNsQjs7RUFHRjtJQUNFLGFBQWE7RUFDZjs7RUFFQTtJQUNFLHFCQUFxQjtJQUFyQix1QkFBcUI7SUFBckIscUJBQXFCO0V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iAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1iYWNrZ3JvdW5kKTtcbiAgICBib3JkZXItcmFkaXVzOiB2YXIoLS1ib3JkZXItcmFkaXVzKTtcbiAgICB6LWluZGV4OiAtMTtcbiAgfVxufVxuXG5Aa2V5ZnJhbWVzIHB1bHNlIHtcbiAgMCUge1xuICAgIG9wYWNpdHk6IHZhcigtLW9wYWNpdHktbG93KTtcbiAgfVxuXG4gIDc1JSB7XG4gICAgb3BhY2l0eTogdmFyKC0tb3BhY2l0eS1oaWdoKTtcbiAgfVxuXG4gIDEwMCUge1xuICAgIG9wYWNpdHk6IHZhcigtLW9wYWNpdHktbG93KTtcbiAgfVxufVxuIl19 */
|
|
1
|
+
@layer design-system.utilities{.stack{display:grid;grid-template-areas:"stack"}.stack>*{grid-area:stack}.flex{display:flex}.place-center{align-content:center;justify-content:center;place-content:center}.align--center{margin-inline:auto}.align--left{margin-inline-end:auto}.align--right{margin-inline-start:auto}.align--bottom{margin-block-start:auto}.align--top{margin-block-end:auto}.order--start{order:-1}.order--1{order:1}.order--2{order:2}.order--3{order:3}.gap--s{gap:var(--gap-s)}.gap--m{gap:var(--gap)}.gap--l{gap:var(--gap-l)}.gap--xl{gap:var(--gap-xl)}.gap--section-l{gap:var(--section-l, var(--spacing-xl))}.gap--section-xl{gap:var(--section-xl, var(--spacing-uul))}}@layer design-system.utilities{.hidden,.visually-hidden,.sr-only{clip-path:polygon(0 0,0 0,0 0,0 0);box-sizing:border-box;position:absolute!important;margin:0;padding:0}.visually-hidden.visually-hidden--focussable:focus,.sr-only.sr-only--focussable:focus{clip-path:none;position:revert!important;margin:revert;padding:revert}[hidden]{display:none}}@layer design-system.utilities{@media (min-width: 946px){.mobile-only{display:none}}@media (max-width: 945.98px){.desktop-only{display:none}}.print-only{display:none!important}@media print{.print-only{display:block!important}}@media print{.screen-only{display:none!important}}}@layer design-system.utilities{.skeleton{--background: hsla(0, 0%, 0%, .1);--opacity-low: .5;--opacity-high: .75;--duration: 1.5s;animation:pulse 1.5s ease infinite;animation:pulse var(--duration) ease infinite}.skeleton--bg{background-color:var(--background);border-radius:var(--border-radius);z-index:-1}}@keyframes pulse{0%{opacity:var(--opacity-low)}75%{opacity:var(--opacity-high)}to{opacity:var(--opacity-low)}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnx-mixtape/mxds",
|
|
3
3
|
"description": "The Mixtape Design System",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.15",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "concurrently -k -n \"VITE,STORYBOOK\" -c \"#636cff,#ff4785\" \"npm run dev-vite\" \"npm run dev-storybook\"",
|
|
7
7
|
"build": "concurrently -n \"VITE,STORYBOOK\" -c \"#636cff,#ff4785\" \"npm run build-vite\" \"npm run build-storybook\"",
|
|
@@ -23,91 +23,83 @@
|
|
|
23
23
|
"test": "npm run test-storybook",
|
|
24
24
|
"test-vitest": "vitest --run",
|
|
25
25
|
"test-storybook": "concurrently \"npm:test-storybook-*\"",
|
|
26
|
-
"test-storybook-html": "test-storybook --maxWorkers=
|
|
27
|
-
"test-storybook-react": "test-storybook --maxWorkers=
|
|
26
|
+
"test-storybook-html": "test-storybook --maxWorkers=2",
|
|
27
|
+
"test-storybook-react": "test-storybook --maxWorkers=2 --url http://127.0.0.1:6008 -c .storybook-react",
|
|
28
28
|
"clean": "rm -rf ./dist",
|
|
29
29
|
"commit": "git-cz",
|
|
30
|
-
"http-server": "http-server ./dist/storybook -i -p 3001"
|
|
30
|
+
"http-server": "http-server ./dist/storybook -i -p 3001 --silent"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@floating-ui/dom": "^1.
|
|
34
|
-
"@oddbird/popover-polyfill": "^0.
|
|
33
|
+
"@floating-ui/dom": "^1.7.3",
|
|
34
|
+
"@oddbird/popover-polyfill": "^0.6.1",
|
|
35
35
|
"@pnx-mixtape/ids-shape": "^0.0.18",
|
|
36
|
+
"@types/react": "^19.1.10",
|
|
37
|
+
"@types/react-dom": "^19.1.7",
|
|
36
38
|
"classnames": "^2.5.1",
|
|
37
39
|
"js-cookie": "^3.0.5",
|
|
38
|
-
"react": "^
|
|
39
|
-
"react-aria": "^3.
|
|
40
|
-
"react-dom": "^
|
|
41
|
-
"react-
|
|
42
|
-
"react-stately": "^3.31.0",
|
|
40
|
+
"react": "^19.1.1",
|
|
41
|
+
"react-aria": "^3.42.0",
|
|
42
|
+
"react-dom": "^19.1.1",
|
|
43
|
+
"react-stately": "^3.40.0",
|
|
43
44
|
"tabbable": "^6.2.0"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
|
-
"@csstools/postcss-global-data": "^
|
|
47
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
48
|
-
"@eslint/eslintrc": "^3.1
|
|
49
|
-
"@eslint/js": "^
|
|
47
|
+
"@csstools/postcss-global-data": "^3.0.0",
|
|
48
|
+
"@eslint-react/eslint-plugin": "^1.52.4",
|
|
49
|
+
"@eslint/eslintrc": "^3.3.1",
|
|
50
|
+
"@eslint/js": "^9.33.0",
|
|
50
51
|
"@rollup/plugin-terser": "^0.4.4",
|
|
51
|
-
"@storybook/addon-a11y": "^
|
|
52
|
-
"@storybook/addon-
|
|
53
|
-
"@storybook/addon-
|
|
54
|
-
"@storybook/
|
|
55
|
-
"@storybook/
|
|
56
|
-
"@storybook/
|
|
57
|
-
"@storybook/html-vite": "^8.5.3",
|
|
58
|
-
"@storybook/manager-api": "^8.5.3",
|
|
59
|
-
"@storybook/react": "^8.5.3",
|
|
60
|
-
"@storybook/react-vite": "^8.5.3",
|
|
61
|
-
"@storybook/test": "^8.5.3",
|
|
62
|
-
"@storybook/test-runner": "^0.21.1",
|
|
63
|
-
"@storybook/types": "^8.5.3",
|
|
52
|
+
"@storybook/addon-a11y": "^9.1.2",
|
|
53
|
+
"@storybook/addon-docs": "^9.1.2",
|
|
54
|
+
"@storybook/addon-links": "^9.1.2",
|
|
55
|
+
"@storybook/html-vite": "^9.1.2",
|
|
56
|
+
"@storybook/react-vite": "^9.1.2",
|
|
57
|
+
"@storybook/test-runner": "^0.23.0",
|
|
64
58
|
"@svgr/rollup": "^8.1.0",
|
|
65
|
-
"@testing-library/dom": "^10.1
|
|
66
|
-
"@testing-library/jest-dom": "^6.
|
|
67
|
-
"@testing-library/react": "^16.
|
|
68
|
-
"@testing-library/user-event": "^14.
|
|
69
|
-
"@typescript-eslint/parser": "^
|
|
70
|
-
"@vitejs/plugin-react": "^
|
|
71
|
-
"@vitest/ui": "^
|
|
72
|
-
"axe-playwright": "^2.0
|
|
59
|
+
"@testing-library/dom": "^10.4.1",
|
|
60
|
+
"@testing-library/jest-dom": "^6.7.0",
|
|
61
|
+
"@testing-library/react": "^16.3.0",
|
|
62
|
+
"@testing-library/user-event": "^14.6.1",
|
|
63
|
+
"@typescript-eslint/parser": "^8.39.1",
|
|
64
|
+
"@vitejs/plugin-react": "^5.0.0",
|
|
65
|
+
"@vitest/ui": "^3.2.4",
|
|
66
|
+
"axe-playwright": "^2.1.0",
|
|
73
67
|
"browserslist-to-esbuild": "^2.1.1",
|
|
74
68
|
"clean-css": "^5.3.3",
|
|
75
69
|
"cli-progress": "^3.12.0",
|
|
76
|
-
"concurrently": "^
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"eslint
|
|
80
|
-
"eslint-
|
|
81
|
-
"eslint-plugin-
|
|
82
|
-
"eslint-plugin-
|
|
83
|
-
"eslint-plugin-
|
|
84
|
-
"
|
|
70
|
+
"concurrently": "^9.2.0",
|
|
71
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
72
|
+
"drupal-attribute": "^1.1.0",
|
|
73
|
+
"eslint": "^9.33.0",
|
|
74
|
+
"eslint-config-prettier": "^10.1.8",
|
|
75
|
+
"eslint-plugin-react": "^7.37.5",
|
|
76
|
+
"eslint-plugin-storybook": "^9.1.2",
|
|
77
|
+
"eslint-plugin-testing-library": "^7.6.6",
|
|
78
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
|
79
|
+
"globals": "^16.3.0",
|
|
85
80
|
"http-server": "^14.1.1",
|
|
86
|
-
"jsdom": "^
|
|
87
|
-
"postcss": "^8.5.
|
|
81
|
+
"jsdom": "^26.1.0",
|
|
82
|
+
"postcss": "^8.5.6",
|
|
88
83
|
"postcss-design-tokens": "^1.3.0",
|
|
89
84
|
"postcss-inline-svg": "^6.0.0",
|
|
90
|
-
"postcss-mixins": "^
|
|
91
|
-
"postcss-preset-env": "^
|
|
85
|
+
"postcss-mixins": "^12.1.2",
|
|
86
|
+
"postcss-preset-env": "^10.2.4",
|
|
92
87
|
"postcss-pxtorem": "^6.1.0",
|
|
93
|
-
"prettier": "^3.
|
|
94
|
-
"storybook": "^
|
|
95
|
-
"
|
|
96
|
-
"stylelint": "^
|
|
97
|
-
"stylelint-config-standard": "^36.0.0",
|
|
88
|
+
"prettier": "^3.6.2",
|
|
89
|
+
"storybook": "^9.1.2",
|
|
90
|
+
"stylelint": "^16.23.1",
|
|
91
|
+
"stylelint-config-standard": "^39.0.0",
|
|
98
92
|
"stylelint-use-logical-spec": "^5.0.1",
|
|
99
|
-
"tinyglobby": "^0.2.
|
|
100
|
-
"typescript": "^5.
|
|
101
|
-
"typescript-eslint": "^
|
|
102
|
-
"vite": "^
|
|
103
|
-
"vite-plugin-twig-drupal": "^1.3.0",
|
|
104
|
-
"vitest": "^1.6.0"
|
|
93
|
+
"tinyglobby": "^0.2.14",
|
|
94
|
+
"typescript": "^5.9.2",
|
|
95
|
+
"typescript-eslint": "^8.39.1",
|
|
96
|
+
"vite-plugin-twig-drupal": "^1.6.2"
|
|
105
97
|
},
|
|
106
98
|
"optionalDependencies": {
|
|
107
|
-
"@esbuild/linux-arm64": "^0.
|
|
108
|
-
"@rollup/rollup-linux-x64-gnu": "^4.
|
|
109
|
-
"@rollup/rollup-linux-x64-musl": "^4.
|
|
110
|
-
"@swc/core-linux-arm64-gnu": "^1.
|
|
99
|
+
"@esbuild/linux-arm64": "^0.25.9",
|
|
100
|
+
"@rollup/rollup-linux-x64-gnu": "^4.46.2",
|
|
101
|
+
"@rollup/rollup-linux-x64-musl": "^4.46.2",
|
|
102
|
+
"@swc/core-linux-arm64-gnu": "^1.13.3"
|
|
111
103
|
},
|
|
112
104
|
"config": {
|
|
113
105
|
"commitizen": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta, StoryObj } from "@storybook/html"
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/html-vite"
|
|
2
2
|
import Component from "./backgrounds.twig"
|
|
3
3
|
import "./_background.css"
|
|
4
4
|
import { BackgroundStyles } from "../../enums"
|
|
@@ -34,3 +34,15 @@ export const Reverse: Story = {
|
|
|
34
34
|
modifier: BackgroundStyles.REVERSE,
|
|
35
35
|
},
|
|
36
36
|
}
|
|
37
|
+
|
|
38
|
+
export const Primary: Story = {
|
|
39
|
+
args: {
|
|
40
|
+
modifier: BackgroundStyles.PRIMARY,
|
|
41
|
+
},
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export const Accent: Story = {
|
|
45
|
+
args: {
|
|
46
|
+
modifier: BackgroundStyles.ACCENT,
|
|
47
|
+
},
|
|
48
|
+
}
|
|
@@ -1,100 +1,176 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
+
exports[`Atom/Backgrounds Accent smoke-test 1`] = `
|
|
4
|
+
<div class="mx-page default">
|
|
5
|
+
<div class="mx-spacing--m mx-rich-text mx-vertical-flow mx-background--accent">
|
|
6
|
+
<blockquote>
|
|
7
|
+
<p>
|
|
8
|
+
But I must explain to you how all this mistaken idea of denouncing of a
|
|
9
|
+
<a href="#">
|
|
10
|
+
pleasure and praising pain
|
|
11
|
+
</a>
|
|
12
|
+
was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences.
|
|
13
|
+
</p>
|
|
14
|
+
<a href="#"
|
|
15
|
+
class="mx-link--external"
|
|
16
|
+
>
|
|
17
|
+
Contact the Lorem Ipsum Squad
|
|
18
|
+
</a>
|
|
19
|
+
</blockquote>
|
|
20
|
+
<blockquote class="mx-background--reset">
|
|
21
|
+
<p>
|
|
22
|
+
But I must explain to you how all this mistaken idea of denouncing of a
|
|
23
|
+
<a href="#">
|
|
24
|
+
pleasure and praising pain
|
|
25
|
+
</a>
|
|
26
|
+
was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences.
|
|
27
|
+
</p>
|
|
28
|
+
<a href="#"
|
|
29
|
+
class="mx-link--external"
|
|
30
|
+
>
|
|
31
|
+
Contact the Lorem Ipsum Squad
|
|
32
|
+
</a>
|
|
33
|
+
</blockquote>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
`;
|
|
37
|
+
|
|
3
38
|
exports[`Atom/Backgrounds Alt smoke-test 1`] = `
|
|
4
|
-
<div class="mx-
|
|
5
|
-
<
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
39
|
+
<div class="mx-page default">
|
|
40
|
+
<div class="mx-spacing--m mx-rich-text mx-vertical-flow mx-background--alt">
|
|
41
|
+
<blockquote>
|
|
42
|
+
<p>
|
|
43
|
+
But I must explain to you how all this mistaken idea of denouncing of a
|
|
44
|
+
<a href="#">
|
|
45
|
+
pleasure and praising pain
|
|
46
|
+
</a>
|
|
47
|
+
was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences.
|
|
48
|
+
</p>
|
|
49
|
+
<a href="#"
|
|
50
|
+
class="mx-link--external"
|
|
51
|
+
>
|
|
52
|
+
Contact the Lorem Ipsum Squad
|
|
10
53
|
</a>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
54
|
+
</blockquote>
|
|
55
|
+
<blockquote class="mx-background--reset">
|
|
56
|
+
<p>
|
|
57
|
+
But I must explain to you how all this mistaken idea of denouncing of a
|
|
58
|
+
<a href="#">
|
|
59
|
+
pleasure and praising pain
|
|
60
|
+
</a>
|
|
61
|
+
was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences.
|
|
62
|
+
</p>
|
|
63
|
+
<a href="#"
|
|
64
|
+
class="mx-link--external"
|
|
65
|
+
>
|
|
66
|
+
Contact the Lorem Ipsum Squad
|
|
24
67
|
</a>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<a href="#"
|
|
28
|
-
class="mx-link--external"
|
|
29
|
-
>
|
|
30
|
-
Contact the Lorem Ipsum Squad
|
|
31
|
-
</a>
|
|
32
|
-
</blockquote>
|
|
68
|
+
</blockquote>
|
|
69
|
+
</div>
|
|
33
70
|
</div>
|
|
34
71
|
`;
|
|
35
72
|
|
|
36
73
|
exports[`Atom/Backgrounds Backgrounds smoke-test 1`] = `
|
|
37
|
-
<div class="mx-
|
|
38
|
-
<
|
|
39
|
-
<
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
74
|
+
<div class="mx-page default">
|
|
75
|
+
<div class="mx-spacing--m mx-rich-text mx-vertical-flow ">
|
|
76
|
+
<blockquote>
|
|
77
|
+
<p>
|
|
78
|
+
But I must explain to you how all this mistaken idea of denouncing of a
|
|
79
|
+
<a href="#">
|
|
80
|
+
pleasure and praising pain
|
|
81
|
+
</a>
|
|
82
|
+
was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences.
|
|
83
|
+
</p>
|
|
84
|
+
<a href="#"
|
|
85
|
+
class="mx-link--external"
|
|
86
|
+
>
|
|
87
|
+
Contact the Lorem Ipsum Squad
|
|
88
|
+
</a>
|
|
89
|
+
</blockquote>
|
|
90
|
+
<blockquote class="mx-background--reset">
|
|
91
|
+
<p>
|
|
92
|
+
But I must explain to you how all this mistaken idea of denouncing of a
|
|
93
|
+
<a href="#">
|
|
94
|
+
pleasure and praising pain
|
|
95
|
+
</a>
|
|
96
|
+
was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences.
|
|
97
|
+
</p>
|
|
98
|
+
<a href="#"
|
|
99
|
+
class="mx-link--external"
|
|
100
|
+
>
|
|
101
|
+
Contact the Lorem Ipsum Squad
|
|
102
|
+
</a>
|
|
103
|
+
</blockquote>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
`;
|
|
107
|
+
|
|
108
|
+
exports[`Atom/Backgrounds Primary smoke-test 1`] = `
|
|
109
|
+
<div class="mx-page default">
|
|
110
|
+
<div class="mx-spacing--m mx-rich-text mx-vertical-flow mx-background--primary">
|
|
111
|
+
<blockquote>
|
|
112
|
+
<p>
|
|
113
|
+
But I must explain to you how all this mistaken idea of denouncing of a
|
|
114
|
+
<a href="#">
|
|
115
|
+
pleasure and praising pain
|
|
116
|
+
</a>
|
|
117
|
+
was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences.
|
|
118
|
+
</p>
|
|
119
|
+
<a href="#"
|
|
120
|
+
class="mx-link--external"
|
|
121
|
+
>
|
|
122
|
+
Contact the Lorem Ipsum Squad
|
|
43
123
|
</a>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
124
|
+
</blockquote>
|
|
125
|
+
<blockquote class="mx-background--reset">
|
|
126
|
+
<p>
|
|
127
|
+
But I must explain to you how all this mistaken idea of denouncing of a
|
|
128
|
+
<a href="#">
|
|
129
|
+
pleasure and praising pain
|
|
130
|
+
</a>
|
|
131
|
+
was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences.
|
|
132
|
+
</p>
|
|
133
|
+
<a href="#"
|
|
134
|
+
class="mx-link--external"
|
|
135
|
+
>
|
|
136
|
+
Contact the Lorem Ipsum Squad
|
|
57
137
|
</a>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
<a href="#"
|
|
61
|
-
class="mx-link--external"
|
|
62
|
-
>
|
|
63
|
-
Contact the Lorem Ipsum Squad
|
|
64
|
-
</a>
|
|
65
|
-
</blockquote>
|
|
138
|
+
</blockquote>
|
|
139
|
+
</div>
|
|
66
140
|
</div>
|
|
67
141
|
`;
|
|
68
142
|
|
|
69
143
|
exports[`Atom/Backgrounds Reverse smoke-test 1`] = `
|
|
70
|
-
<div class="mx-
|
|
71
|
-
<
|
|
72
|
-
<
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
144
|
+
<div class="mx-page default">
|
|
145
|
+
<div class="mx-spacing--m mx-rich-text mx-vertical-flow mx-background--reverse">
|
|
146
|
+
<blockquote>
|
|
147
|
+
<p>
|
|
148
|
+
But I must explain to you how all this mistaken idea of denouncing of a
|
|
149
|
+
<a href="#">
|
|
150
|
+
pleasure and praising pain
|
|
151
|
+
</a>
|
|
152
|
+
was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences.
|
|
153
|
+
</p>
|
|
154
|
+
<a href="#"
|
|
155
|
+
class="mx-link--external"
|
|
156
|
+
>
|
|
157
|
+
Contact the Lorem Ipsum Squad
|
|
76
158
|
</a>
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
159
|
+
</blockquote>
|
|
160
|
+
<blockquote class="mx-background--reset">
|
|
161
|
+
<p>
|
|
162
|
+
But I must explain to you how all this mistaken idea of denouncing of a
|
|
163
|
+
<a href="#">
|
|
164
|
+
pleasure and praising pain
|
|
165
|
+
</a>
|
|
166
|
+
was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences.
|
|
167
|
+
</p>
|
|
168
|
+
<a href="#"
|
|
169
|
+
class="mx-link--external"
|
|
170
|
+
>
|
|
171
|
+
Contact the Lorem Ipsum Squad
|
|
90
172
|
</a>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<a href="#"
|
|
94
|
-
class="mx-link--external"
|
|
95
|
-
>
|
|
96
|
-
Contact the Lorem Ipsum Squad
|
|
97
|
-
</a>
|
|
98
|
-
</blockquote>
|
|
173
|
+
</blockquote>
|
|
174
|
+
</div>
|
|
99
175
|
</div>
|
|
100
176
|
`;
|