@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,55 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Layout/Section/Background Image BackgroundImage smoke-test 1`] = `
4
- <section class="section ">
5
- <figure class="background--image section__full"
6
- role="presentation"
7
- >
8
- <img src="https://picsum.photos/id/56/1642/560?grayscale"
9
- alt
10
- >
11
- </figure>
12
- <div class="section--l">
13
- <div class="vertical-flow">
14
- <h2>
15
- Key feature or Section Name
16
- </h2>
17
- <p>
18
- A short description to help explain enough about the subject matter to encourage visitors to learn more.
19
- </p>
20
- <a class="button button--primary"
21
- href="#"
22
- >
23
- Learn more
24
- </a>
25
- </div>
26
- </div>
27
- </section>
28
- `;
29
-
30
- exports[`Layout/Section/Background Image Dark smoke-test 1`] = `
31
- <section class="section background--reverse">
32
- <figure class="background--image section__full"
33
- role="presentation"
34
- >
35
- <img src="https://picsum.photos/id/56/1642/560?grayscale"
36
- alt
37
- >
38
- </figure>
39
- <div class="section--l">
40
- <div class="vertical-flow">
41
- <h2>
42
- Key feature or Section Name
43
- </h2>
44
- <p>
45
- A short description to help explain enough about the subject matter to encourage visitors to learn more.
46
- </p>
47
- <a class="button button--primary"
48
- href="#"
49
- >
50
- Learn more
51
- </a>
52
- </div>
53
- </div>
54
- </section>
55
- `;
@@ -1,78 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Layout/Section/Breakoout Breakoout smoke-test 1`] = `
4
- <section class="section section--flow">
5
- <p>
6
- Default is container width, with an inline gutter for smaller screens.
7
- </p>
8
- </section>
9
- <section class="section section__full section--flow">
10
- <p>
11
- Section can have children with different content widths;
12
- </p>
13
- <p class="section__narrow">
14
- like the optimum content width with .section__narrow
15
- </p>
16
- <p class="section__feature">
17
- or slightly larger feature widths with .section__feature
18
- </p>
19
- <p class="section__full">
20
- or full width with .section__full
21
- </p>
22
- </section>
23
- <section class="section section--flow">
24
- <p>
25
- Sections can be nested
26
- </p>
27
- <section class="section">
28
- <p>
29
- and have the same content width options are un-nested ones;
30
- </p>
31
- <p class="section__narrow">
32
- like the optimum content widths with .section__narrow
33
- </p>
34
- <p class="section__feature">
35
- or slightly larger feature widths with .section__feature
36
- </p>
37
- <p class="section__full">
38
- or full width with .section__full
39
- </p>
40
- </section>
41
- </section>
42
- <section class="section section__narrow section--flow">
43
- <p>
44
- Sections can say for all children to have a certain width
45
- </p>
46
- <p>
47
- by using .section__narrow or .section__feature or .section__full
48
- </p>
49
- <p>
50
- on the parent.
51
- </p>
52
- </section>
53
- <section class="section section--flow background--primary background--reverse">
54
- <p>
55
- Any section can have a background color, or utilise any of the section vertical spacing classes
56
- </p>
57
- <section class="section--bottom-l">
58
- <p>
59
- even children
60
- </p>
61
- </section>
62
- <section class="section--l background--primary-light background--reset">
63
- <p>
64
- and ones with their own backgrounds.
65
- </p>
66
- </section>
67
- </section>
68
- <section class="section section--group">
69
- <p>
70
- Sections can be grouped together
71
- </p>
72
- </section>
73
- <section class="section section__feature section--group">
74
- <p>
75
- even if they have different content widths.
76
- </p>
77
- </section>
78
- `;
@@ -1,89 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Layout/Section/Flow Flow smoke-test 1`] = `
4
- <section class="section section--flow">
5
- <p>
6
- first section has top and bottom spacing
7
- </p>
8
- </section>
9
- <section class="section section--flow">
10
- <p>
11
- section with normal flow
12
- </p>
13
- </section>
14
- <section class="section section--flow">
15
- <p>
16
- section with normal flow
17
- </p>
18
- </section>
19
- <section class="section section--group background--alt">
20
- <p>
21
- certain sections can be
22
- </p>
23
- </section>
24
- <section class="section section--group background--alt">
25
- <p>
26
- grouped togther as siblings
27
- </p>
28
- </section>
29
- <section class="section section--group background--alt">
30
- <p>
31
- with their own spacing rules
32
- </p>
33
- </section>
34
- <section class="section section--flow">
35
- <p>
36
- section on it's own has top and bottom spacing
37
- </p>
38
- </section>
39
- <section class="section section--group background--alt">
40
- <p>
41
- groups can be combined with flow
42
- </p>
43
- </section>
44
- <section class="section section--flow section--group background--alt">
45
- <p>
46
- for standard spacing
47
- </p>
48
- </section>
49
- <section class="section section--flow">
50
- <p>
51
- section after group own has top and bottom spacing
52
- </p>
53
- </section>
54
- <section class="section section--flow">
55
- <p>
56
- section with normal flow
57
- </p>
58
- </section>
59
- <section class="section section--flow background--alt">
60
- <p>
61
- section with background that breaks the flow, also has top and bottom spacing
62
- </p>
63
- </section>
64
- <section class="section section--flow">
65
- <p>
66
- section after background own has top and bottom spacing
67
- </p>
68
- </section>
69
- <section class="section section--flow">
70
- <p>
71
- section with normal flow
72
- </p>
73
- </section>
74
- <section class="section section--group">
75
- <p>
76
- groups can be used normally for larger spacing
77
- </p>
78
- </section>
79
- <section class="section section--group background--alt">
80
- <p>
81
- adding a background breaks the grouping
82
- </p>
83
- </section>
84
- <section class="section section--group background--alt">
85
- <p>
86
- into a new group
87
- </p>
88
- </section>
89
- `;