@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.
Files changed (152) hide show
  1. package/package.json +2 -2
  2. package/src/Atom/Background/__snapshots__/Backgrounds.stories.ts.snap +3 -3
  3. package/src/Atom/Button/Button.stories.ts +4 -6
  4. package/src/Atom/Button/__snapshots__/Button.stories.ts.snap +23 -11
  5. package/src/Atom/Button/__snapshots__/Button.stories.tsx.snap +2 -2
  6. package/src/Atom/Button/_buttons.css +4 -0
  7. package/src/Atom/Button/button.twig +6 -4
  8. package/src/Atom/Button/twig/story-button.twig +11 -0
  9. package/src/Atom/DefinitionList/__snapshots__/DefinitionList.stories.tsx.snap +1 -1
  10. package/src/Atom/Heading/__snapshots__/Heading.stories.ts.snap +2 -2
  11. package/src/Atom/Heading/__snapshots__/Heading.stories.tsx.snap +1 -1
  12. package/src/Atom/Heading/heading.twig +19 -1
  13. package/src/Atom/Icon/__snapshots__/Icon.stories.ts.snap +3 -3
  14. package/src/Atom/Icon/__snapshots__/Icon.stories.tsx.snap +3 -3
  15. package/src/Atom/Image/__snapshots__/Image.stories.ts.snap +1 -1
  16. package/src/Atom/Link/Link.stories.ts +31 -7
  17. package/src/Atom/Link/__snapshots__/Link.stories.ts.snap +46 -6
  18. package/src/Atom/Link/__snapshots__/Link.stories.tsx.snap +3 -3
  19. package/src/Atom/Link/_links.css +23 -1
  20. package/src/Atom/Link/link.twig +8 -6
  21. package/src/Atom/Link/twig/story-link.twig +11 -0
  22. package/src/Atom/Media/Media.stories.ts +17 -1
  23. package/src/Atom/Media/__snapshots__/Media.stories.ts.snap +17 -2
  24. package/src/Atom/Media/__snapshots__/Media.stories.tsx.snap +2 -2
  25. package/src/Atom/Media/twig/story-media.twig +11 -0
  26. package/src/Atom/NavList/__snapshots__/NavList.stories.ts.snap +1 -1
  27. package/src/Atom/Spacing/__snapshots__/Spacing.stories.ts.snap +1 -1
  28. package/src/Atom/Table/__snapshots__/Table.stories.ts.snap +4 -4
  29. package/src/Atom/Table/__snapshots__/TableResponsive.stories.ts.snap +1 -1
  30. package/src/Atom/Text/__snapshots__/Text.stories.tsx.snap +1 -1
  31. package/src/Atom/Text/__snapshots__/TextSizes.stories.ts.snap +2 -2
  32. package/src/Atom/Video/Video.stories.ts +5 -3
  33. package/src/Atom/Video/__snapshots__/Video.stories.ts.snap +3 -13
  34. package/src/Atom/Video/_video.css +5 -0
  35. package/src/Component/Accordion/__snapshots__/Accordion.stories.ts.snap +4 -4
  36. package/src/Component/Accordion/__snapshots__/Accordion.stories.tsx.snap +1 -1
  37. package/src/Component/Breadcrumb/__snapshots__/Breadcrumb.stories.ts.snap +1 -1
  38. package/src/Component/Breadcrumb/__snapshots__/Breadcrumb.stories.tsx.snap +2 -2
  39. package/src/Component/Callout/__snapshots__/Callout.stories.ts.snap +12 -0
  40. package/src/Component/Card/__snapshots__/Card.stories.ts.snap +34 -24
  41. package/src/Component/Card/__snapshots__/Card.stories.tsx.snap +3 -3
  42. package/src/Component/ContentBlock/__snapshots__/ContentBlock.stories.ts.snap +6 -23
  43. package/src/Component/ContentBlock/__snapshots__/ContentBlock.stories.tsx.snap +1 -1
  44. package/src/Component/Dialog/__snapshots__/Dialog.stories.ts.snap +2 -2
  45. package/src/Component/Dialog/__snapshots__/Dialog.stories.tsx.snap +1 -1
  46. package/src/Component/DropMenu/__snapshots__/DropMenu.stories.ts.snap +1 -1
  47. package/src/Component/DropMenu/__snapshots__/DropMenu.stories.tsx.snap +1 -1
  48. package/src/Component/{InPageAlert/Elements/InPageAlert.ts → GlobalAlert/Elements/ClosableAlert.ts} +21 -10
  49. package/src/Component/GlobalAlert/GlobalAlert.stories.ts +49 -0
  50. package/src/Component/GlobalAlert/GlobalAlert.stories.tsx +33 -0
  51. package/src/Component/GlobalAlert/GlobalAlert.tsx +50 -0
  52. package/src/Component/GlobalAlert/README.md +27 -0
  53. package/src/Component/GlobalAlert/__snapshots__/GlobalAlert.stories.ts.snap +43 -0
  54. package/src/Component/GlobalAlert/__snapshots__/GlobalAlert.stories.tsx.snap +48 -0
  55. package/src/Component/GlobalAlert/global-alert.css +55 -0
  56. package/src/Component/GlobalAlert/global-alert.entry.js +1 -0
  57. package/src/Component/GlobalAlert/global-alert.twig +30 -0
  58. package/src/Component/GlobalAlert/twig/story-global-alert.twig +14 -0
  59. package/src/Component/HeroBanner/__snapshots__/HeroBanner.stories.ts.snap +74 -0
  60. package/src/Component/HeroBanner/__snapshots__/{PageTitle.stories.tsx.snap → HeroBanner.stories.tsx.snap} +4 -4
  61. package/src/Component/InPageAlert/InPageAlert.stories.ts +20 -22
  62. package/src/Component/InPageAlert/InPageAlert.stories.tsx +5 -5
  63. package/src/Component/InPageAlert/InPageAlert.tsx +15 -41
  64. package/src/Component/InPageAlert/__snapshots__/InPageAlert.stories.ts.snap +9 -36
  65. package/src/Component/InPageAlert/__snapshots__/InPageAlert.stories.tsx.snap +56 -56
  66. package/src/Component/InPageAlert/in-page-alert.twig +13 -16
  67. package/src/Component/InPageAlert/twig/story-in-page-alert.twig +11 -0
  68. package/src/Component/InPageNavigation/__snapshots__/InPageNavigation.stories.ts.snap +6 -70
  69. package/src/Component/InPageNavigation/__snapshots__/InPageNavigation.stories.tsx.snap +1 -1
  70. package/src/Component/LinkList/__snapshots__/LinkList.stories.ts.snap +24 -55
  71. package/src/Component/Navigation/__snapshots__/Collapsible.stories.ts.snap +1 -1
  72. package/src/Component/Navigation/__snapshots__/Dropdown.stories.ts.snap +1 -1
  73. package/src/Component/Navigation/__snapshots__/Dropdown.stories.tsx.snap +1 -1
  74. package/src/Component/Navigation/__snapshots__/Navigation.stories.ts.snap +1 -1
  75. package/src/Component/Navigation/__snapshots__/Navigation.stories.tsx.snap +2 -2
  76. package/src/Component/Pagination/__snapshots__/Pagination.stories.ts.snap +1 -1
  77. package/src/Component/Pagination/__snapshots__/Pagination.stories.tsx.snap +1 -1
  78. package/src/Component/Sticky/__snapshots__/Sticky.stories.ts.snap +9 -82
  79. package/src/Component/Sticky/__snapshots__/Sticky.stories.tsx.snap +1 -1
  80. package/src/Component/Tabs/README.md +0 -1
  81. package/src/Component/Tabs/__snapshots__/Tabs.stories.ts.snap +1 -1
  82. package/src/Component/Tabs/__snapshots__/Tabs.stories.tsx.snap +1 -1
  83. package/src/Component/Tag/__snapshots__/Tag.stories.ts.snap +3 -3
  84. package/src/Component/Tag/__snapshots__/Tag.stories.tsx.snap +1 -1
  85. package/src/Component/Tile/__snapshots__/Tile.stories.ts.snap +1 -1
  86. package/src/Component/Tile/__snapshots__/Tile.stories.tsx.snap +2 -2
  87. package/src/Layout/Footer/FooterMenu/__snapshots__/FooterMenu.stories.ts.snap +1 -1
  88. package/src/Layout/Grid/__snapshots__/Grid.stories.ts.snap +33 -90
  89. package/src/Layout/Masthead/__snapshots__/Masthead.stories.ts.snap +2 -2
  90. package/src/Layout/Page/__snapshots__/Page.stories.tsx.snap +1 -1
  91. package/src/Layout/Section/Section.stories.ts +1 -2
  92. package/src/Layout/Section/__snapshots__/Background.stories.ts.snap +59 -0
  93. package/src/Layout/Section/__snapshots__/Breakouts.stories.ts.snap +80 -0
  94. package/src/Layout/Section/__snapshots__/Flow.stories.ts.snap +91 -0
  95. package/src/Layout/Section/__snapshots__/Section.stories.ts.snap +22 -14
  96. package/src/Layout/Section/twig/section-story.twig +1 -1
  97. package/src/elements.ts +1 -1
  98. package/dist/build/accordion.css +0 -1
  99. package/dist/build/accordion.entry.js +0 -1
  100. package/dist/build/base.css +0 -1
  101. package/dist/build/breadcrumb.css +0 -1
  102. package/dist/build/button.css +0 -1
  103. package/dist/build/callout.css +0 -1
  104. package/dist/build/card.css +0 -1
  105. package/dist/build/chunks/disclosure-widget-CfhDmuvA.js +0 -1
  106. package/dist/build/chunks/keyboard-Cs0cduxq.js +0 -1
  107. package/dist/build/chunks/polyfills-DUM8gN-6.js +0 -1
  108. package/dist/build/chunks/popover-BGbvrIUp.js +0 -1
  109. package/dist/build/chunks/utilities-Bzel_okZ.js +0 -2
  110. package/dist/build/constants.css +0 -1
  111. package/dist/build/container-grid.css +0 -1
  112. package/dist/build/content-block.css +0 -1
  113. package/dist/build/dialog.css +0 -1
  114. package/dist/build/dialog.entry.js +0 -1
  115. package/dist/build/drop-menu.css +0 -1
  116. package/dist/build/drop-menu.entry.js +0 -1
  117. package/dist/build/drupal.css +0 -1
  118. package/dist/build/footer-menu.css +0 -1
  119. package/dist/build/footer.css +0 -1
  120. package/dist/build/form.css +0 -1
  121. package/dist/build/grid.css +0 -1
  122. package/dist/build/header.css +0 -1
  123. package/dist/build/header.entry.js +0 -1
  124. package/dist/build/hero-banner.css +0 -1
  125. package/dist/build/icon.css +0 -1
  126. package/dist/build/in-page-alert.css +0 -1
  127. package/dist/build/in-page-alert.entry.js +0 -1
  128. package/dist/build/in-page-navigation.css +0 -1
  129. package/dist/build/in-page-navigation.entry.js +0 -1
  130. package/dist/build/index.css +0 -1
  131. package/dist/build/link-list.css +0 -1
  132. package/dist/build/masthead.css +0 -1
  133. package/dist/build/nav-list.css +0 -1
  134. package/dist/build/navigation.css +0 -1
  135. package/dist/build/navigation.entry.js +0 -1
  136. package/dist/build/page.css +0 -1
  137. package/dist/build/pagination.css +0 -1
  138. package/dist/build/section.css +0 -1
  139. package/dist/build/sidebar.css +0 -1
  140. package/dist/build/sticky.css +0 -1
  141. package/dist/build/sticky.entry.js +0 -1
  142. package/dist/build/tabs.css +0 -1
  143. package/dist/build/tabs.entry.js +0 -1
  144. package/dist/build/tag.css +0 -1
  145. package/dist/build/tiles.css +0 -1
  146. package/dist/build/utilities.css +0 -1
  147. package/src/Component/Card/__snapshots__/CardGrid.stories.ts.snap +0 -89
  148. package/src/Component/HeroBanner/__snapshots__/PageTitle.stories.ts.snap +0 -31
  149. package/src/Component/InPageAlert/in-page-alert.entry.js +0 -1
  150. package/src/Layout/Section/__snapshots__/SectionBackground.stories.ts.snap +0 -55
  151. package/src/Layout/Section/__snapshots__/SectionsBreakouts.stories.ts.snap +0 -78
  152. 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[`Components/InPageAlert Error smoke-test 1`] = `
4
- <div id=":r2:"
5
- class="message message--error icon icon--error"
6
- >
7
- <p>
8
- <b>
9
- Something happened.
10
- </b>
11
- And if you'd like to know what,
12
- <a href="#">
13
- Click here
14
- </a>
15
- .
16
- </p>
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[`Components/InPageAlert InPageAlert smoke-test 1`] = `
21
- <div id=":r0:"
22
- class="message message--info icon icon--info"
23
- >
24
- <p>
25
- <b>
26
- Something happened.
27
- </b>
28
- And if you'd like to know what,
29
- <a href="#">
30
- Click here
31
- </a>
32
- .
33
- </p>
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[`Components/InPageAlert Success smoke-test 1`] = `
38
- <div id=":r3:"
39
- class="message message--success icon icon--success"
40
- >
41
- <p>
42
- <b>
43
- Something happened.
44
- </b>
45
- And if you'd like to know what,
46
- <a href="#">
47
- Click here
48
- </a>
49
- .
50
- </p>
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[`Components/InPageAlert Warning smoke-test 1`] = `
55
- <div id=":r1:"
56
- class="message message--warning icon icon--warning"
57
- >
58
- <p>
59
- <b>
60
- Something happened.
61
- </b>
62
- And if you'd like to know what,
63
- <a href="#">
64
- Click here
65
- </a>
66
- .
67
- </p>
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
- {% if closable %}
2
- <mx-closable-alert class="message message--{{ type }}{% if type %} icon icon--{{ type }}{% endif %}"{% if id %} id="{{ id ~ type }}"{% endif %}>
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
- {% block content %}
5
- <p><b>Something happened.</b> And if you'd like to know what, <a href="#">Click here</a>.</p>
6
- {% endblock %}
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
- {% endif %}
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[`Navigation/InPageNavigation InPageNavigation smoke-test 1`] = `
4
- <section class="section section--l">
5
- <div class="page">
6
- <div class="grid--sidebar">
7
- <aside>
8
- <mx-in-page-navigation data-content=".js-content"
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
+ &lt; class="section "&gt;
6
+
7
+
8
+ "
73
9
  `;
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Navigation/InPageNavigation InPageNavigation smoke-test 1`] = `
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[`Navigation/LinkList LinkList smoke-test 1`] = `
4
- <section class="section ">
5
- <div class="grid">
6
- <div class="grid--6-col">
7
- <ul class="link-list">
8
- <li>
9
- <a href="#"
10
- class="icon icon--chevron-right"
11
- >
12
- Music
13
- </a>
14
- </li>
15
- <li>
16
- <a href="#"
17
- class="icon icon--chevron-right"
18
- >
19
- Performances
20
- </a>
21
- </li>
22
- <li>
23
- <a href="#"
24
- class="icon icon--chevron-right"
25
- >
26
- Get involved
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[`Components/Navigation/Collapsible Collapsible smoke-test 1`] = `
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[`Components/Navigation/Dropdown Dropdown smoke-test 1`] = `
3
+ exports[`Component/Navigation/Dropdown Dropdown smoke-test 1`] = `
4
4
  <mx-nav flyout>
5
5
  <nav class="nav nav--dropdown "
6
6
  aria-label="Primary menu"
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Components/Navigation/Dropdown Dropdown smoke-test 1`] = `
3
+ exports[`Component/Navigation/Dropdown Dropdown smoke-test 1`] = `
4
4
  <nav class="nav nav--dropdown"
5
5
  aria-label="Menu"
6
6
  id="navigation"
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Components/Navigation Navigation smoke-test 1`] = `
3
+ exports[`Component/Navigation Navigation smoke-test 1`] = `
4
4
  <nav class="nav "
5
5
  aria-label="Navigation"
6
6
  >
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Components/Navigation InlineNavigation smoke-test 1`] = `
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[`Components/Navigation Navigation smoke-test 1`] = `
33
+ exports[`Component/Navigation Navigation smoke-test 1`] = `
34
34
  <nav class="nav"
35
35
  aria-label="Navigation"
36
36
  >
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Navigation/Pagination Pagination smoke-test 1`] = `
3
+ exports[`Component/Pagination Pagination smoke-test 1`] = `
4
4
  <nav aria-label="Pagination"
5
5
  class="pagination"
6
6
  role="navigation"
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Navigation/Pagination Pagination smoke-test 1`] = `
3
+ exports[`Component/Pagination Pagination smoke-test 1`] = `
4
4
  <nav class="pagination"
5
5
  aria-label="Pagination"
6
6
  >
@@ -1,86 +1,13 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Components/Sticky Sticky smoke-test 1`] = `
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
- <section class="section section--l">
15
- <div class="page">
16
- <div class="grid--sidebar">
17
- <aside>
18
- <div class="sticky__trigger">
19
- </div>
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
+ &lt; class="section "&gt;
10
+
11
+
12
+ "
86
13
  `;
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Components/Sticky Sticky smoke-test 1`] = `
3
+ exports[`Component/Sticky Sticky smoke-test 1`] = `
4
4
  <div class="sticky"
5
5
  style="--sticky-offset: 150px;"
6
6
  >
@@ -28,4 +28,3 @@ No Polyfills or frameworks are required.
28
28
  - Sticky import: `import '@pnx-mixtape/mxds/src/Component/Tabs/Elements/Tabs';` and be sure to include `<mx-tabs>` around the content.
29
29
 
30
30
  See twig files for all HTML examples.
31
-
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Components/Tabs Tabs smoke-test 1`] = `
3
+ exports[`Component/Tabs Tabs smoke-test 1`] = `
4
4
  <mx-tabs class="tabs tabs--">
5
5
  <mx-dropmenu closeonclick
6
6
  class="mobile-only"
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Components/Tabs Default smoke-test 1`] = `
3
+ exports[`Component/Tabs Default smoke-test 1`] = `
4
4
  <div class="tabs">
5
5
  <div class="mobile-only">
6
6
  <button id="unique-0"
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Components/Tag Checkbox smoke-test 1`] = `
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[`Components/Tag Link smoke-test 1`] = `
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[`Components/Tag Tag smoke-test 1`] = `
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[`Components/Tag Tag smoke-test 1`] = `
3
+ exports[`Component/Tag Tag smoke-test 1`] = `
4
4
  <div class="tag">
5
5
  Tag name
6
6
  </div>
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Components/Tile Tile smoke-test 1`] = `
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[`Components/Tile Tile smoke-test 1`] = `
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[`Components/Tile WithContent smoke-test 1`] = `
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"
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Navigation/FooterMenu Footer smoke-test 1`] = `
3
+ exports[`Layout/Footer/FooterMenu Footer smoke-test 1`] = `
4
4
  <nav class="nav nav--footer ">
5
5
  <ul class="nav__level-1">
6
6
  <li class="nav__has-subnav">