@pnx-mixtape/mxds 0.0.3 → 0.0.4
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/Background/__snapshots__/Backgrounds.stories.ts.snap +3 -3
- package/src/Atom/Button/Button.stories.ts +4 -6
- package/src/Atom/Button/__snapshots__/Button.stories.ts.snap +23 -11
- package/src/Atom/Button/__snapshots__/Button.stories.tsx.snap +2 -2
- package/src/Atom/Button/_buttons.css +4 -0
- package/src/Atom/Button/button.twig +6 -4
- package/src/Atom/Button/twig/story-button.twig +11 -0
- package/src/Atom/DefinitionList/__snapshots__/DefinitionList.stories.tsx.snap +1 -1
- package/src/Atom/Heading/__snapshots__/Heading.stories.ts.snap +2 -2
- package/src/Atom/Heading/__snapshots__/Heading.stories.tsx.snap +1 -1
- package/src/Atom/Heading/heading.twig +19 -1
- package/src/Atom/Icon/__snapshots__/Icon.stories.ts.snap +3 -3
- package/src/Atom/Icon/__snapshots__/Icon.stories.tsx.snap +3 -3
- package/src/Atom/Image/__snapshots__/Image.stories.ts.snap +1 -1
- package/src/Atom/Link/Link.stories.ts +31 -7
- package/src/Atom/Link/__snapshots__/Link.stories.ts.snap +46 -6
- package/src/Atom/Link/__snapshots__/Link.stories.tsx.snap +3 -3
- package/src/Atom/Link/_links.css +23 -1
- package/src/Atom/Link/link.twig +8 -6
- package/src/Atom/Link/twig/story-link.twig +11 -0
- package/src/Atom/Media/Media.stories.ts +17 -1
- package/src/Atom/Media/__snapshots__/Media.stories.ts.snap +17 -2
- package/src/Atom/Media/__snapshots__/Media.stories.tsx.snap +2 -2
- package/src/Atom/Media/twig/story-media.twig +11 -0
- package/src/Atom/NavList/__snapshots__/NavList.stories.ts.snap +1 -1
- package/src/Atom/Spacing/__snapshots__/Spacing.stories.ts.snap +1 -1
- package/src/Atom/Table/__snapshots__/Table.stories.ts.snap +4 -4
- package/src/Atom/Table/__snapshots__/TableResponsive.stories.ts.snap +1 -1
- package/src/Atom/Text/__snapshots__/Text.stories.tsx.snap +1 -1
- package/src/Atom/Text/__snapshots__/TextSizes.stories.ts.snap +2 -2
- package/src/Atom/Video/Video.stories.ts +5 -3
- package/src/Atom/Video/__snapshots__/Video.stories.ts.snap +3 -13
- package/src/Atom/Video/_video.css +5 -0
- package/src/Component/Accordion/__snapshots__/Accordion.stories.ts.snap +4 -4
- package/src/Component/Accordion/__snapshots__/Accordion.stories.tsx.snap +1 -1
- package/src/Component/Breadcrumb/__snapshots__/Breadcrumb.stories.ts.snap +1 -1
- package/src/Component/Breadcrumb/__snapshots__/Breadcrumb.stories.tsx.snap +2 -2
- package/src/Component/Callout/__snapshots__/Callout.stories.ts.snap +12 -0
- package/src/Component/Card/__snapshots__/Card.stories.ts.snap +34 -24
- package/src/Component/Card/__snapshots__/Card.stories.tsx.snap +3 -3
- package/src/Component/ContentBlock/__snapshots__/ContentBlock.stories.ts.snap +6 -23
- package/src/Component/ContentBlock/__snapshots__/ContentBlock.stories.tsx.snap +1 -1
- package/src/Component/Dialog/__snapshots__/Dialog.stories.ts.snap +2 -2
- package/src/Component/Dialog/__snapshots__/Dialog.stories.tsx.snap +1 -1
- package/src/Component/DropMenu/__snapshots__/DropMenu.stories.ts.snap +1 -1
- package/src/Component/DropMenu/__snapshots__/DropMenu.stories.tsx.snap +1 -1
- package/src/Component/{InPageAlert/Elements/InPageAlert.ts → GlobalAlert/Elements/ClosableAlert.ts} +21 -10
- package/src/Component/GlobalAlert/GlobalAlert.stories.ts +49 -0
- package/src/Component/GlobalAlert/GlobalAlert.stories.tsx +33 -0
- package/src/Component/GlobalAlert/GlobalAlert.tsx +50 -0
- package/src/Component/GlobalAlert/README.md +27 -0
- package/src/Component/GlobalAlert/__snapshots__/GlobalAlert.stories.ts.snap +43 -0
- package/src/Component/GlobalAlert/__snapshots__/GlobalAlert.stories.tsx.snap +48 -0
- package/src/Component/GlobalAlert/global-alert.css +55 -0
- package/src/Component/GlobalAlert/global-alert.entry.js +1 -0
- package/src/Component/GlobalAlert/global-alert.twig +30 -0
- package/src/Component/GlobalAlert/twig/story-global-alert.twig +14 -0
- package/src/Component/HeroBanner/__snapshots__/HeroBanner.stories.ts.snap +74 -0
- package/src/Component/HeroBanner/__snapshots__/{PageTitle.stories.tsx.snap → HeroBanner.stories.tsx.snap} +4 -4
- package/src/Component/InPageAlert/InPageAlert.stories.ts +20 -22
- package/src/Component/InPageAlert/InPageAlert.stories.tsx +5 -5
- package/src/Component/InPageAlert/InPageAlert.tsx +15 -41
- package/src/Component/InPageAlert/__snapshots__/InPageAlert.stories.ts.snap +9 -36
- package/src/Component/InPageAlert/__snapshots__/InPageAlert.stories.tsx.snap +56 -56
- package/src/Component/InPageAlert/in-page-alert.twig +13 -16
- package/src/Component/InPageAlert/twig/story-in-page-alert.twig +11 -0
- package/src/Component/InPageNavigation/__snapshots__/InPageNavigation.stories.ts.snap +6 -70
- package/src/Component/InPageNavigation/__snapshots__/InPageNavigation.stories.tsx.snap +1 -1
- package/src/Component/LinkList/__snapshots__/LinkList.stories.ts.snap +24 -55
- package/src/Component/Navigation/__snapshots__/Collapsible.stories.ts.snap +1 -1
- package/src/Component/Navigation/__snapshots__/Dropdown.stories.ts.snap +1 -1
- package/src/Component/Navigation/__snapshots__/Dropdown.stories.tsx.snap +1 -1
- package/src/Component/Navigation/__snapshots__/Navigation.stories.ts.snap +1 -1
- package/src/Component/Navigation/__snapshots__/Navigation.stories.tsx.snap +2 -2
- package/src/Component/Pagination/__snapshots__/Pagination.stories.ts.snap +1 -1
- package/src/Component/Pagination/__snapshots__/Pagination.stories.tsx.snap +1 -1
- package/src/Component/Sticky/__snapshots__/Sticky.stories.ts.snap +9 -82
- package/src/Component/Sticky/__snapshots__/Sticky.stories.tsx.snap +1 -1
- package/src/Component/Tabs/README.md +0 -1
- package/src/Component/Tabs/__snapshots__/Tabs.stories.ts.snap +1 -1
- package/src/Component/Tabs/__snapshots__/Tabs.stories.tsx.snap +1 -1
- package/src/Component/Tag/__snapshots__/Tag.stories.ts.snap +3 -3
- package/src/Component/Tag/__snapshots__/Tag.stories.tsx.snap +1 -1
- package/src/Component/Tile/__snapshots__/Tile.stories.ts.snap +1 -1
- package/src/Component/Tile/__snapshots__/Tile.stories.tsx.snap +2 -2
- package/src/Layout/Footer/FooterMenu/__snapshots__/FooterMenu.stories.ts.snap +1 -1
- package/src/Layout/Grid/__snapshots__/Grid.stories.ts.snap +33 -90
- package/src/Layout/Masthead/__snapshots__/Masthead.stories.ts.snap +2 -2
- package/src/Layout/Page/__snapshots__/Page.stories.tsx.snap +1 -1
- package/src/Layout/Section/Section.stories.ts +1 -2
- package/src/Layout/Section/__snapshots__/Background.stories.ts.snap +59 -0
- package/src/Layout/Section/__snapshots__/Breakouts.stories.ts.snap +80 -0
- package/src/Layout/Section/__snapshots__/Flow.stories.ts.snap +91 -0
- package/src/Layout/Section/__snapshots__/Section.stories.ts.snap +22 -14
- package/src/Layout/Section/twig/section-story.twig +1 -1
- package/src/elements.ts +1 -1
- package/dist/build/accordion.css +0 -1
- package/dist/build/accordion.entry.js +0 -1
- package/dist/build/base.css +0 -1
- package/dist/build/breadcrumb.css +0 -1
- package/dist/build/button.css +0 -1
- package/dist/build/callout.css +0 -1
- package/dist/build/card.css +0 -1
- package/dist/build/chunks/disclosure-widget-CfhDmuvA.js +0 -1
- package/dist/build/chunks/keyboard-Cs0cduxq.js +0 -1
- package/dist/build/chunks/polyfills-DUM8gN-6.js +0 -1
- package/dist/build/chunks/popover-BGbvrIUp.js +0 -1
- package/dist/build/chunks/utilities-Bzel_okZ.js +0 -2
- package/dist/build/constants.css +0 -1
- package/dist/build/container-grid.css +0 -1
- package/dist/build/content-block.css +0 -1
- package/dist/build/dialog.css +0 -1
- package/dist/build/dialog.entry.js +0 -1
- package/dist/build/drop-menu.css +0 -1
- package/dist/build/drop-menu.entry.js +0 -1
- package/dist/build/drupal.css +0 -1
- package/dist/build/footer-menu.css +0 -1
- package/dist/build/footer.css +0 -1
- package/dist/build/form.css +0 -1
- package/dist/build/grid.css +0 -1
- package/dist/build/header.css +0 -1
- package/dist/build/header.entry.js +0 -1
- package/dist/build/hero-banner.css +0 -1
- package/dist/build/icon.css +0 -1
- package/dist/build/in-page-alert.css +0 -1
- package/dist/build/in-page-alert.entry.js +0 -1
- package/dist/build/in-page-navigation.css +0 -1
- package/dist/build/in-page-navigation.entry.js +0 -1
- package/dist/build/index.css +0 -1
- package/dist/build/link-list.css +0 -1
- package/dist/build/masthead.css +0 -1
- package/dist/build/nav-list.css +0 -1
- package/dist/build/navigation.css +0 -1
- package/dist/build/navigation.entry.js +0 -1
- package/dist/build/page.css +0 -1
- package/dist/build/pagination.css +0 -1
- package/dist/build/section.css +0 -1
- package/dist/build/sidebar.css +0 -1
- package/dist/build/sticky.css +0 -1
- package/dist/build/sticky.entry.js +0 -1
- package/dist/build/tabs.css +0 -1
- package/dist/build/tabs.entry.js +0 -1
- package/dist/build/tag.css +0 -1
- package/dist/build/tiles.css +0 -1
- package/dist/build/utilities.css +0 -1
- package/src/Component/Card/__snapshots__/CardGrid.stories.ts.snap +0 -89
- package/src/Component/HeroBanner/__snapshots__/PageTitle.stories.ts.snap +0 -31
- package/src/Component/InPageAlert/in-page-alert.entry.js +0 -1
- package/src/Layout/Section/__snapshots__/SectionBackground.stories.ts.snap +0 -55
- package/src/Layout/Section/__snapshots__/SectionsBreakouts.stories.ts.snap +0 -78
- package/src/Layout/Section/__snapshots__/SectionsFlowsGroups.stories.ts.snap +0 -89
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
4
|
-
<div
|
|
5
|
-
|
|
6
|
-
>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
</
|
|
3
|
+
exports[`Component/InPageAlert Error smoke-test 1`] = `
|
|
4
|
+
<div class="message message--error icon icon--error">
|
|
5
|
+
<div class="message__content">
|
|
6
|
+
<p>
|
|
7
|
+
<b>
|
|
8
|
+
Something happened.
|
|
9
|
+
</b>
|
|
10
|
+
And if you'd like to know what,
|
|
11
|
+
<a href="#">
|
|
12
|
+
Click here
|
|
13
|
+
</a>
|
|
14
|
+
.
|
|
15
|
+
</p>
|
|
16
|
+
</div>
|
|
17
17
|
</div>
|
|
18
18
|
`;
|
|
19
19
|
|
|
20
|
-
exports[`
|
|
21
|
-
<div
|
|
22
|
-
|
|
23
|
-
>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</
|
|
20
|
+
exports[`Component/InPageAlert InPageAlert smoke-test 1`] = `
|
|
21
|
+
<div class="message message--info icon icon--info">
|
|
22
|
+
<div class="message__content">
|
|
23
|
+
<p>
|
|
24
|
+
<b>
|
|
25
|
+
Something happened.
|
|
26
|
+
</b>
|
|
27
|
+
And if you'd like to know what,
|
|
28
|
+
<a href="#">
|
|
29
|
+
Click here
|
|
30
|
+
</a>
|
|
31
|
+
.
|
|
32
|
+
</p>
|
|
33
|
+
</div>
|
|
34
34
|
</div>
|
|
35
35
|
`;
|
|
36
36
|
|
|
37
|
-
exports[`
|
|
38
|
-
<div
|
|
39
|
-
|
|
40
|
-
>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
</
|
|
37
|
+
exports[`Component/InPageAlert Success smoke-test 1`] = `
|
|
38
|
+
<div class="message message--success icon icon--success">
|
|
39
|
+
<div class="message__content">
|
|
40
|
+
<p>
|
|
41
|
+
<b>
|
|
42
|
+
Something happened.
|
|
43
|
+
</b>
|
|
44
|
+
And if you'd like to know what,
|
|
45
|
+
<a href="#">
|
|
46
|
+
Click here
|
|
47
|
+
</a>
|
|
48
|
+
.
|
|
49
|
+
</p>
|
|
50
|
+
</div>
|
|
51
51
|
</div>
|
|
52
52
|
`;
|
|
53
53
|
|
|
54
|
-
exports[`
|
|
55
|
-
<div
|
|
56
|
-
|
|
57
|
-
>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
</
|
|
54
|
+
exports[`Component/InPageAlert Warning smoke-test 1`] = `
|
|
55
|
+
<div class="message message--warning icon icon--warning">
|
|
56
|
+
<div class="message__content">
|
|
57
|
+
<p>
|
|
58
|
+
<b>
|
|
59
|
+
Something happened.
|
|
60
|
+
</b>
|
|
61
|
+
And if you'd like to know what,
|
|
62
|
+
<a href="#">
|
|
63
|
+
Click here
|
|
64
|
+
</a>
|
|
65
|
+
.
|
|
66
|
+
</p>
|
|
67
|
+
</div>
|
|
68
68
|
</div>
|
|
69
69
|
`;
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
{%
|
|
2
|
-
|
|
1
|
+
{% set baseClass = 'message' %}
|
|
2
|
+
{% set classes = [
|
|
3
|
+
baseClass,
|
|
4
|
+
type ? baseClass~'--'~type : null,
|
|
5
|
+
type ? 'icon icon--'~type : null,
|
|
6
|
+
] %}
|
|
7
|
+
{% set attributes = (attributes|default(create_attribute())).addClass(classes) %}
|
|
8
|
+
|
|
9
|
+
<div {{ attributes }}>
|
|
3
10
|
<div class="message__content">
|
|
4
|
-
{
|
|
5
|
-
|
|
6
|
-
{
|
|
7
|
-
</div>
|
|
8
|
-
</mx-closable-alert>
|
|
9
|
-
{% else %}
|
|
10
|
-
<div class="message message--{{ type }}{% if type %} icon icon--{{ type }}{% endif %}"{% if id %} id="{{ id ~ type }}"{% endif %}>
|
|
11
|
-
<div class="message__content">
|
|
12
|
-
{% block content %}
|
|
13
|
-
<p><b>Something happened.</b> And if you'd like to know what, <a href="#">Click here</a>.</p>
|
|
14
|
-
{% endblock %}
|
|
15
|
-
</div>
|
|
11
|
+
{{ title }}
|
|
12
|
+
{{ content }}
|
|
13
|
+
{{ link }}
|
|
16
14
|
</div>
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
</div>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{% extends "../in-page-alert.twig" %}
|
|
2
|
+
{% if title %}
|
|
3
|
+
{% set title %}
|
|
4
|
+
{% include '@mixtape/Atom/Heading/heading.twig' with { title: title.title, as: title.as, modifiers: title.modifiers } only %}
|
|
5
|
+
{% endset %}
|
|
6
|
+
{% endif %}
|
|
7
|
+
{% if link %}
|
|
8
|
+
{% set link %}
|
|
9
|
+
{% include '@mixtape/Atom/Link/link.twig' with { href: link.href, title: link.title } only %}
|
|
10
|
+
{% endset %}
|
|
11
|
+
{% endif %}
|
|
@@ -1,73 +1,9 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
data-headings="h2, h3"
|
|
10
|
-
>
|
|
11
|
-
<nav class="in-page-navigation nav nav--list">
|
|
12
|
-
<h4 class="text--embellished-headline">
|
|
13
|
-
Jump To Section
|
|
14
|
-
</h4>
|
|
15
|
-
<ul>
|
|
16
|
-
</ul>
|
|
17
|
-
</nav>
|
|
18
|
-
</mx-in-page-navigation>
|
|
19
|
-
</aside>
|
|
20
|
-
<section class="js-content rich-text vertical-flow">
|
|
21
|
-
<h2>
|
|
22
|
-
Section 1
|
|
23
|
-
</h2>
|
|
24
|
-
<p>
|
|
25
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
26
|
-
</p>
|
|
27
|
-
<h2 id="anchor-test">
|
|
28
|
-
Section 2
|
|
29
|
-
</h2>
|
|
30
|
-
<p>
|
|
31
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
32
|
-
</p>
|
|
33
|
-
<h3>
|
|
34
|
-
Test level 3
|
|
35
|
-
</h3>
|
|
36
|
-
<p>
|
|
37
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
38
|
-
</p>
|
|
39
|
-
<h2>
|
|
40
|
-
Section 3
|
|
41
|
-
</h2>
|
|
42
|
-
<p>
|
|
43
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
44
|
-
</p>
|
|
45
|
-
<h2>
|
|
46
|
-
Section 4
|
|
47
|
-
</h2>
|
|
48
|
-
<p>
|
|
49
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
50
|
-
</p>
|
|
51
|
-
<h2>
|
|
52
|
-
Section 5
|
|
53
|
-
</h2>
|
|
54
|
-
<p>
|
|
55
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
56
|
-
</p>
|
|
57
|
-
<h3>
|
|
58
|
-
Test level 6
|
|
59
|
-
</h3>
|
|
60
|
-
<p>
|
|
61
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
62
|
-
</p>
|
|
63
|
-
<h2>
|
|
64
|
-
Section 7
|
|
65
|
-
</h2>
|
|
66
|
-
<p>
|
|
67
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
68
|
-
</p>
|
|
69
|
-
</section>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
</section>
|
|
3
|
+
exports[`Component/InPageNavigation InPageNavigation smoke-test 1`] = `
|
|
4
|
+
"
|
|
5
|
+
< class="section ">
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
"
|
|
73
9
|
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Component/InPageNavigation InPageNavigation smoke-test 1`] = `
|
|
4
4
|
<div class="grid--sidebar">
|
|
5
5
|
<aside>
|
|
6
6
|
<nav class="in-page-navigation nav nav--list">
|
|
@@ -1,58 +1,27 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</a>
|
|
28
|
-
</li>
|
|
29
|
-
</ul>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="grid--6-col">
|
|
32
|
-
<ul class="link-list">
|
|
33
|
-
<li>
|
|
34
|
-
<a href="#"
|
|
35
|
-
class="icon icon--chevron-right"
|
|
36
|
-
>
|
|
37
|
-
Music
|
|
38
|
-
</a>
|
|
39
|
-
</li>
|
|
40
|
-
<li>
|
|
41
|
-
<a href="#"
|
|
42
|
-
class="icon icon--chevron-right"
|
|
43
|
-
>
|
|
44
|
-
Performances
|
|
45
|
-
</a>
|
|
46
|
-
</li>
|
|
47
|
-
<li>
|
|
48
|
-
<a href="#"
|
|
49
|
-
class="icon icon--chevron-right"
|
|
50
|
-
>
|
|
51
|
-
Get involved
|
|
52
|
-
</a>
|
|
53
|
-
</li>
|
|
54
|
-
</ul>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
</section>
|
|
3
|
+
exports[`Component/LinkList LinkList smoke-test 1`] = `
|
|
4
|
+
<ul class="link-list">
|
|
5
|
+
<li>
|
|
6
|
+
<a href="#"
|
|
7
|
+
class="icon icon--chevron-right"
|
|
8
|
+
>
|
|
9
|
+
Music
|
|
10
|
+
</a>
|
|
11
|
+
</li>
|
|
12
|
+
<li>
|
|
13
|
+
<a href="#"
|
|
14
|
+
class="icon icon--chevron-right"
|
|
15
|
+
>
|
|
16
|
+
Performances
|
|
17
|
+
</a>
|
|
18
|
+
</li>
|
|
19
|
+
<li>
|
|
20
|
+
<a href="#"
|
|
21
|
+
class="icon icon--chevron-right"
|
|
22
|
+
>
|
|
23
|
+
Get involved
|
|
24
|
+
</a>
|
|
25
|
+
</li>
|
|
26
|
+
</ul>
|
|
58
27
|
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Component/Navigation/Collapsible Collapsible smoke-test 1`] = `
|
|
4
4
|
<mx-nav>
|
|
5
5
|
<nav class="nav nav--collapsible">
|
|
6
6
|
<ul class="nav__level-1">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Component/Navigation InlineNavigation smoke-test 1`] = `
|
|
4
4
|
<nav class="nav nav--inline"
|
|
5
5
|
aria-label="Inline Navigation"
|
|
6
6
|
>
|
|
@@ -30,7 +30,7 @@ exports[`Components/Navigation InlineNavigation smoke-test 1`] = `
|
|
|
30
30
|
</nav>
|
|
31
31
|
`;
|
|
32
32
|
|
|
33
|
-
exports[`
|
|
33
|
+
exports[`Component/Navigation Navigation smoke-test 1`] = `
|
|
34
34
|
<nav class="nav"
|
|
35
35
|
aria-label="Navigation"
|
|
36
36
|
>
|
|
@@ -1,86 +1,13 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
4
|
-
<div class="sticky__trigger">
|
|
5
|
-
</div>
|
|
6
|
-
<mx-sticky style="--sticky-offset: 0"
|
|
7
|
-
offsetpropname="--sticky-offset"
|
|
8
|
-
class="sticky section section--l background--alt"
|
|
9
|
-
>
|
|
10
|
-
<div class="section__content">
|
|
11
|
-
Sticky header
|
|
12
|
-
</div>
|
|
3
|
+
exports[`Component/Sticky Sticky smoke-test 1`] = `
|
|
4
|
+
"<div class="sticky__trigger"></div><mx-sticky style="--sticky-offset: 0" offsetpropname="--sticky-offset" class="sticky section section--l background--alt">
|
|
5
|
+
<div class="section__content">Sticky header</div>
|
|
13
6
|
</mx-sticky>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<mx-sticky class="sticky--l vertical-flow">
|
|
21
|
-
<h4>
|
|
22
|
-
Sticky sidebar
|
|
23
|
-
</h4>
|
|
24
|
-
<p>
|
|
25
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to
|
|
26
|
-
<a href="#anchor-test">
|
|
27
|
-
demonstrate
|
|
28
|
-
</a>
|
|
29
|
-
the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
30
|
-
</p>
|
|
31
|
-
</mx-sticky>
|
|
32
|
-
</aside>
|
|
33
|
-
<section class="rich-text vertical-flow">
|
|
34
|
-
<h2>
|
|
35
|
-
Section 1
|
|
36
|
-
</h2>
|
|
37
|
-
<p>
|
|
38
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
39
|
-
</p>
|
|
40
|
-
<h2 id="anchor-test">
|
|
41
|
-
Section 2
|
|
42
|
-
</h2>
|
|
43
|
-
<p>
|
|
44
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
45
|
-
</p>
|
|
46
|
-
<h3>
|
|
47
|
-
Test level 3
|
|
48
|
-
</h3>
|
|
49
|
-
<p>
|
|
50
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
51
|
-
</p>
|
|
52
|
-
<h2>
|
|
53
|
-
Section 3
|
|
54
|
-
</h2>
|
|
55
|
-
<p>
|
|
56
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
57
|
-
</p>
|
|
58
|
-
<h2>
|
|
59
|
-
Section 4
|
|
60
|
-
</h2>
|
|
61
|
-
<p>
|
|
62
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
63
|
-
</p>
|
|
64
|
-
<h2>
|
|
65
|
-
Section 5
|
|
66
|
-
</h2>
|
|
67
|
-
<p>
|
|
68
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
69
|
-
</p>
|
|
70
|
-
<h3>
|
|
71
|
-
Test level 6
|
|
72
|
-
</h3>
|
|
73
|
-
<p>
|
|
74
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
75
|
-
</p>
|
|
76
|
-
<h2>
|
|
77
|
-
Section 7
|
|
78
|
-
</h2>
|
|
79
|
-
<p>
|
|
80
|
-
In publishing and graphic design, lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document without relying on meaningful content. Replacing the actual content with placeholder text allows designers to design the form of the content before the content itself has been produced.
|
|
81
|
-
</p>
|
|
82
|
-
</section>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
</section>
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
< class="section ">
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
"
|
|
86
13
|
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Component/Tag Checkbox smoke-test 1`] = `
|
|
4
4
|
<ul class="tags">
|
|
5
5
|
<li>
|
|
6
6
|
<div class="tag">
|
|
@@ -29,7 +29,7 @@ exports[`Components/Tag Checkbox smoke-test 1`] = `
|
|
|
29
29
|
</ul>
|
|
30
30
|
`;
|
|
31
31
|
|
|
32
|
-
exports[`
|
|
32
|
+
exports[`Component/Tag Link smoke-test 1`] = `
|
|
33
33
|
<ul class="tags">
|
|
34
34
|
<li>
|
|
35
35
|
<a class="tag"
|
|
@@ -48,7 +48,7 @@ exports[`Components/Tag Link smoke-test 1`] = `
|
|
|
48
48
|
</ul>
|
|
49
49
|
`;
|
|
50
50
|
|
|
51
|
-
exports[`
|
|
51
|
+
exports[`Component/Tag Tag smoke-test 1`] = `
|
|
52
52
|
<ul class="tags">
|
|
53
53
|
<li>
|
|
54
54
|
<span class="tag">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Component/Tile Tile smoke-test 1`] = `
|
|
4
4
|
<div class="grid grid--xs-2-cols grid--md-4-cols spacing--bottom-l">
|
|
5
5
|
<div class="tile stack ">
|
|
6
6
|
<div class="tile__content vertical-flow-flex">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Component/Tile Tile smoke-test 1`] = `
|
|
4
4
|
<div class="tile tile--small stack">
|
|
5
5
|
<div class="tile__content vertical-flow-flex">
|
|
6
6
|
<h3 class="text--l"
|
|
@@ -17,7 +17,7 @@ exports[`Components/Tile Tile smoke-test 1`] = `
|
|
|
17
17
|
</div>
|
|
18
18
|
`;
|
|
19
19
|
|
|
20
|
-
exports[`
|
|
20
|
+
exports[`Component/Tile WithContent smoke-test 1`] = `
|
|
21
21
|
<div class="tile tile--small stack">
|
|
22
22
|
<div class="tile__content vertical-flow-flex">
|
|
23
23
|
<h3 class="text--l"
|