@nationalarchives/frontend 0.1.50 → 0.1.52

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 (134) hide show
  1. package/nationalarchives/all.css +1 -1
  2. package/nationalarchives/all.css.map +1 -1
  3. package/nationalarchives/all.js +1 -1
  4. package/nationalarchives/all.js.map +1 -1
  5. package/nationalarchives/analytics.js +1 -1
  6. package/nationalarchives/analytics.js.map +1 -1
  7. package/nationalarchives/components/breadcrumbs/breadcrumbs.css +1 -1
  8. package/nationalarchives/components/breadcrumbs/breadcrumbs.css.map +1 -1
  9. package/nationalarchives/components/breadcrumbs/breadcrumbs.js +1 -1
  10. package/nationalarchives/components/breadcrumbs/breadcrumbs.js.map +1 -1
  11. package/nationalarchives/components/button/button.css +1 -1
  12. package/nationalarchives/components/button/button.css.map +1 -1
  13. package/nationalarchives/components/button/button.scss +7 -5
  14. package/nationalarchives/components/button/macro-options.json +12 -12
  15. package/nationalarchives/components/card/card.css +1 -1
  16. package/nationalarchives/components/card/card.css.map +1 -1
  17. package/nationalarchives/components/card/card.stories.js +7 -0
  18. package/nationalarchives/components/card/fixtures.json +44 -1
  19. package/nationalarchives/components/card/macro-options.json +7 -1
  20. package/nationalarchives/components/card/template.njk +1 -1
  21. package/nationalarchives/components/checkboxes/checkboxes.css +1 -1
  22. package/nationalarchives/components/checkboxes/checkboxes.css.map +1 -1
  23. package/nationalarchives/components/checkboxes/checkboxes.njk +1 -1
  24. package/nationalarchives/components/checkboxes/checkboxes.scss +7 -0
  25. package/nationalarchives/components/checkboxes/fixtures.json +6 -6
  26. package/nationalarchives/components/compound-filters/compound-filters.css +1 -1
  27. package/nationalarchives/components/compound-filters/compound-filters.css.map +1 -1
  28. package/nationalarchives/components/cookie-banner/cookie-banner.css +1 -1
  29. package/nationalarchives/components/cookie-banner/cookie-banner.css.map +1 -1
  30. package/nationalarchives/components/cookie-banner/cookie-banner.js +1 -1
  31. package/nationalarchives/components/cookie-banner/cookie-banner.js.map +1 -1
  32. package/nationalarchives/components/date-input/date-input.css +1 -1
  33. package/nationalarchives/components/date-input/date-input.css.map +1 -1
  34. package/nationalarchives/components/date-input/fixtures.json +5 -5
  35. package/nationalarchives/components/date-input/template.njk +1 -1
  36. package/nationalarchives/components/date-search/date-search.css +1 -1
  37. package/nationalarchives/components/date-search/date-search.css.map +1 -1
  38. package/nationalarchives/components/error-summary/error-summary.css +1 -1
  39. package/nationalarchives/components/error-summary/error-summary.css.map +1 -1
  40. package/nationalarchives/components/error-summary/error-summary.js +1 -1
  41. package/nationalarchives/components/error-summary/error-summary.js.map +1 -1
  42. package/nationalarchives/components/error-summary/error-summary.scss +1 -1
  43. package/nationalarchives/components/featured-records/featured-records.css +1 -1
  44. package/nationalarchives/components/featured-records/featured-records.css.map +1 -1
  45. package/nationalarchives/components/featured-records/featured-records.scss +1 -4
  46. package/nationalarchives/components/footer/footer.css +1 -1
  47. package/nationalarchives/components/footer/footer.css.map +1 -1
  48. package/nationalarchives/components/gallery/gallery.css +1 -1
  49. package/nationalarchives/components/gallery/gallery.css.map +1 -1
  50. package/nationalarchives/components/gallery/gallery.js +1 -1
  51. package/nationalarchives/components/gallery/gallery.js.map +1 -1
  52. package/nationalarchives/components/global-header/README.md +1 -1
  53. package/nationalarchives/components/global-header/global-header.css +1 -1
  54. package/nationalarchives/components/global-header/global-header.css.map +1 -1
  55. package/nationalarchives/components/global-header/global-header.js +1 -1
  56. package/nationalarchives/components/global-header/global-header.js.map +1 -1
  57. package/nationalarchives/components/global-header/global-header.scss +13 -20
  58. package/nationalarchives/components/grid/grid.css +1 -1
  59. package/nationalarchives/components/grid/grid.css.map +1 -1
  60. package/nationalarchives/components/header/header.css +1 -1
  61. package/nationalarchives/components/header/header.css.map +1 -1
  62. package/nationalarchives/components/header/header.js +1 -1
  63. package/nationalarchives/components/header/header.js.map +1 -1
  64. package/nationalarchives/components/header/header.scss +14 -34
  65. package/nationalarchives/components/hero/fixtures.json +63 -27
  66. package/nationalarchives/components/hero/hero.css +1 -1
  67. package/nationalarchives/components/hero/hero.css.map +1 -1
  68. package/nationalarchives/components/hero/hero.scss +47 -18
  69. package/nationalarchives/components/hero/hero.stories.js +99 -25
  70. package/nationalarchives/components/hero/macro-options.json +13 -13
  71. package/nationalarchives/components/hero/template.njk +15 -14
  72. package/nationalarchives/components/index-grid/index-grid.css +1 -1
  73. package/nationalarchives/components/index-grid/index-grid.css.map +1 -1
  74. package/nationalarchives/components/phase-banner/phase-banner.css +1 -1
  75. package/nationalarchives/components/phase-banner/phase-banner.css.map +1 -1
  76. package/nationalarchives/components/picture/picture.css +1 -1
  77. package/nationalarchives/components/picture/picture.css.map +1 -1
  78. package/nationalarchives/components/picture/picture.js +1 -1
  79. package/nationalarchives/components/picture/picture.js.map +1 -1
  80. package/nationalarchives/components/picture/picture.scss +1 -1
  81. package/nationalarchives/components/quick-filters/quick-filters.css +1 -1
  82. package/nationalarchives/components/quick-filters/quick-filters.css.map +1 -1
  83. package/nationalarchives/components/radios/fixtures.json +6 -6
  84. package/nationalarchives/components/radios/radios.css +1 -1
  85. package/nationalarchives/components/radios/radios.css.map +1 -1
  86. package/nationalarchives/components/radios/radios.njk +1 -1
  87. package/nationalarchives/components/radios/radios.scss +7 -0
  88. package/nationalarchives/components/search-field/search-field.css +1 -1
  89. package/nationalarchives/components/search-field/search-field.css.map +1 -1
  90. package/nationalarchives/components/search-field/search-field.scss +24 -7
  91. package/nationalarchives/components/search-filters/search-filters.css +1 -1
  92. package/nationalarchives/components/search-filters/search-filters.css.map +1 -1
  93. package/nationalarchives/components/search-filters/search-filters.js +1 -1
  94. package/nationalarchives/components/search-filters/search-filters.js.map +1 -1
  95. package/nationalarchives/components/search-filters/search-filters.scss +1 -1
  96. package/nationalarchives/components/select/select.css +1 -1
  97. package/nationalarchives/components/select/select.css.map +1 -1
  98. package/nationalarchives/components/sensitive-image/sensitive-image.js +1 -1
  99. package/nationalarchives/components/sensitive-image/sensitive-image.js.map +1 -1
  100. package/nationalarchives/components/skip-link/skip-link.css +1 -1
  101. package/nationalarchives/components/skip-link/skip-link.css.map +1 -1
  102. package/nationalarchives/components/skip-link/skip-link.js +1 -1
  103. package/nationalarchives/components/skip-link/skip-link.js.map +1 -1
  104. package/nationalarchives/components/skip-link/skip-link.scss +8 -2
  105. package/nationalarchives/components/tabs/tabs.css +1 -1
  106. package/nationalarchives/components/tabs/tabs.css.map +1 -1
  107. package/nationalarchives/components/tabs/tabs.js +1 -1
  108. package/nationalarchives/components/tabs/tabs.js.map +1 -1
  109. package/nationalarchives/components/tabs/tabs.scss +11 -19
  110. package/nationalarchives/components/text-input/text-input.css +1 -1
  111. package/nationalarchives/components/text-input/text-input.css.map +1 -1
  112. package/nationalarchives/components/textarea/textarea.css +1 -1
  113. package/nationalarchives/components/textarea/textarea.css.map +1 -1
  114. package/nationalarchives/components/warning/fixtures.json +1 -1
  115. package/nationalarchives/components/warning/template.njk +3 -3
  116. package/nationalarchives/components/warning/warning.css +1 -1
  117. package/nationalarchives/components/warning/warning.css.map +1 -1
  118. package/nationalarchives/global-header-package.css +1 -1
  119. package/nationalarchives/global-header-package.css.map +1 -1
  120. package/nationalarchives/global-header-package.scss +1 -1
  121. package/nationalarchives/prototype-kit.css +1 -1
  122. package/nationalarchives/prototype-kit.css.map +1 -1
  123. package/nationalarchives/stories/utilities/colour-schemes/colour-combinations.stories.js +84 -40
  124. package/nationalarchives/stories/utilities/colour-schemes/colour-themes.stories.js +73 -44
  125. package/nationalarchives/tools/_colour.scss +167 -101
  126. package/nationalarchives/tools/_grid.scss +4 -2
  127. package/nationalarchives/utilities/_colour.scss +39 -66
  128. package/nationalarchives/utilities/_lists.scss +3 -1
  129. package/nationalarchives/utilities/_reset.scss +4 -0
  130. package/nationalarchives/utilities/_typography.scss +28 -0
  131. package/nationalarchives/variables/_borders.scss +1 -0
  132. package/nationalarchives/variables/_colour.scss +4 -4
  133. package/nationalarchives/variables/_index.scss +1 -0
  134. package/package.json +4 -3
@@ -1,5 +1,6 @@
1
1
  import Button from "../../../components/button/template.njk";
2
2
  import Checkboxes from "../../../components/checkboxes/template.njk";
3
+ import ErrorSummary from "../../../components/error-summary/template.njk";
3
4
  import Radios from "../../../components/radios/template.njk";
4
5
  import Select from "../../../components/select/template.njk";
5
6
  import TextInput from "../../../components/text-input/template.njk";
@@ -11,22 +12,17 @@ export default {
11
12
  argTypes,
12
13
  };
13
14
 
14
- const Template = () => {
15
- const themes = [
16
- "tna-template--light-theme",
17
- "tna-template--light-theme tna-template--high-contrast-theme",
18
- "tna-template--dark-theme",
19
- "tna-template--dark-theme tna-template--high-contrast-theme",
20
- ];
15
+ const Template = ({ theme }) => {
16
+ const themeSlug = theme.replace(" ", "-").toLowerCase();
21
17
 
22
18
  const accents = [
23
19
  "",
24
- // "tna-template--black-accent",
25
- "tna-template--yellow-accent",
26
- "tna-template--pink-accent",
27
- "tna-template--orange-accent",
28
- "tna-template--green-accent",
29
- "tna-template--blue-accent",
20
+ "tna-accent-black",
21
+ "tna-accent-yellow",
22
+ "tna-accent-pink",
23
+ "tna-accent-orange",
24
+ "tna-accent-green",
25
+ "tna-accent-blue",
30
26
  ];
31
27
 
32
28
  const blocks = [
@@ -51,20 +47,14 @@ const Template = () => {
51
47
  )}
52
48
  </div>
53
49
  <div class="tna-colour-contrast-demo__examples">
54
- ${themes.reduce(
55
- (themeOutput, theme) =>
56
- `${themeOutput}${accents.reduce(
57
- (
58
- accentOutput,
59
- accent,
60
- ) => `${accentOutput}<div class="tna-colour-contrast-demo__theme-accent">
50
+ ${accents.reduce(
51
+ (
52
+ accentOutput,
53
+ accent,
54
+ ) => `${accentOutput}<div class="tna-colour-contrast-demo__theme-accent">
61
55
  <div class="tna-colour-contrast-demo__example">
62
- <p>Theme: <strong>${theme
63
- .replace(/tna-template--/g, "")
64
- .replace(/-theme/g, "")}</strong></p>
65
56
  <p>Accent: <strong>${
66
- accent.replace(/tna-template--/g, "").replace(/-accent/g, "") ||
67
- "[none]"
57
+ accent.replace(/tna-accent-/g, "") || "[none]"
68
58
  }</strong></p>
69
59
  </div>
70
60
  ${blocks.reduce(
@@ -72,7 +62,7 @@ const Template = () => {
72
62
  `${blockOutput}<div class="tna-colour-contrast-demo__example tna-template ${theme} ${accent}">
73
63
  <div class="tna-template__body">
74
64
  <div class="tna-colour-contrast-demo__example-content ${block}">
75
- <h6 class="tna-heading-s">Heading</h6>
65
+ <h1 class="tna-heading-s">Heading</h1>
76
66
  <p>Text / <span class="dark-text">Dark</span> / <span class="light-text">Light</span> / <i class="fa-solid fa-heart" aria-hidden="true"></i> <i class="fa-solid fa-heart light-icon" aria-hidden="true"></i></p>
77
67
  <p><a href="#">Link</a> / <a href="#" class="tna-colour-contrast-demo__link--visited">Link (visited)</a></p>
78
68
  <ul class="tna-chip-list">
@@ -86,18 +76,42 @@ const Template = () => {
86
76
  <span class="tna-chip tna-chip--plain"><i class="fa-solid fa-heart" aria-hidden="true"></i>Chip</span>
87
77
  </li>
88
78
  </ul>
79
+ ${ErrorSummary({
80
+ params: {
81
+ title: "Error",
82
+ headingLevel: 2,
83
+ items: [
84
+ {
85
+ text: "Error",
86
+ href: `name-${themeSlug}-${block}-${accent}-2`,
87
+ },
88
+ ],
89
+ disableAutoFocus: true,
90
+ },
91
+ })}
89
92
  ${TextInput({
90
93
  params: {
91
94
  label: "Input",
92
- id: `name-${theme}-${block}-${accent}`,
93
- name: `name-${theme}-${block}-${accent}`,
95
+ id: `name-${themeSlug}-${block}-${accent}`,
96
+ name: `name-${themeSlug}-${block}-${accent}`,
94
97
  value: `Lorem ipsum`,
95
98
  },
96
99
  })}
100
+ ${TextInput({
101
+ params: {
102
+ label: "Input",
103
+ id: `name-${themeSlug}-${block}-${accent}-2`,
104
+ name: `name-${themeSlug}-${block}-${accent}-2`,
105
+ value: `Lorem ipsum`,
106
+ error: {
107
+ text: "Error",
108
+ },
109
+ },
110
+ })}
97
111
  ${Checkboxes({
98
112
  params: {
99
- id: `categories-${theme}-${block}-${accent}`,
100
- name: `categories-${theme}-${block}-${accent}`,
113
+ id: `categories-${themeSlug}-${block}-${accent}`,
114
+ name: `categories-${themeSlug}-${block}-${accent}`,
101
115
  items: [
102
116
  {
103
117
  text: "Alpha",
@@ -115,8 +129,8 @@ const Template = () => {
115
129
  })}
116
130
  ${Radios({
117
131
  params: {
118
- id: `type-${theme}-${block}-${accent}`,
119
- name: `type-${theme}-${block}-${accent}`,
132
+ id: `type-${themeSlug}-${block}-${accent}`,
133
+ name: `type-${themeSlug}-${block}-${accent}`,
120
134
  items: [
121
135
  {
122
136
  text: "Alpha",
@@ -135,8 +149,8 @@ const Template = () => {
135
149
  ${Select({
136
150
  params: {
137
151
  label: "Select",
138
- id: `sort-${theme}-${block}-${accent}`,
139
- name: `sort-${theme}-${block}-${accent}`,
152
+ id: `sort-${themeSlug}-${block}-${accent}`,
153
+ name: `sort-${themeSlug}-${block}-${accent}`,
140
154
  items: [
141
155
  {
142
156
  text: "Relevance",
@@ -181,18 +195,48 @@ const Template = () => {
181
195
  "",
182
196
  )}
183
197
  </div>`,
184
- "",
185
- )}`,
186
198
  "",
187
199
  )}
188
200
  </div>
189
201
  </div>`;
190
202
  };
191
203
 
192
- export const Combinations = Template.bind({});
193
- Combinations.parameters = {
204
+ export const Light = Template.bind({});
205
+ Light.parameters = {
194
206
  a11y: {
195
- disable: true,
207
+ // disable: true,
196
208
  },
197
209
  };
198
- Combinations.args = {};
210
+ Light.args = {
211
+ theme: "",
212
+ };
213
+
214
+ export const Dark = Template.bind({});
215
+ Dark.parameters = {
216
+ a11y: {
217
+ // disable: true,
218
+ },
219
+ };
220
+ Dark.args = {
221
+ theme: "tna-template--dark-theme",
222
+ };
223
+
224
+ export const HighContrast = Template.bind({});
225
+ HighContrast.parameters = {
226
+ a11y: {
227
+ // disable: true,
228
+ },
229
+ };
230
+ HighContrast.args = {
231
+ theme: "tna-template--high-contrast-theme",
232
+ };
233
+
234
+ export const DarkHighContrast = Template.bind({});
235
+ DarkHighContrast.parameters = {
236
+ a11y: {
237
+ // disable: true,
238
+ },
239
+ };
240
+ DarkHighContrast.args = {
241
+ theme: "tna-template--dark-theme tna-template--high-contrast-theme",
242
+ };
@@ -28,8 +28,8 @@ const argTypes = {
28
28
  "system",
29
29
  "light",
30
30
  "dark",
31
- "light high-contrast",
32
- "dark high-contrast",
31
+ // "light high-contrast",
32
+ // "dark high-contrast",
33
33
  ],
34
34
  },
35
35
  accent: {
@@ -46,7 +46,6 @@ export default {
46
46
  const Template = ({ theme, accent }) => {
47
47
  document.documentElement.classList.remove(
48
48
  "tna-template",
49
- "tna-template--light-theme",
50
49
  "tna-template--yellow-accent",
51
50
  );
52
51
 
@@ -75,15 +74,13 @@ const Template = ({ theme, accent }) => {
75
74
  return `<div class="tna-template ${
76
75
  theme === "system"
77
76
  ? "tna-template--system-theme"
78
- : theme === "light"
79
- ? "tna-template--light-theme"
80
- : theme === "dark"
81
- ? "tna-template--dark-theme"
82
- : theme === "light high-contrast"
83
- ? "tna-template--light-theme tna-template--high-contrast-theme"
84
- : theme === "dark high-contrast"
85
- ? "tna-template--dark-theme tna-template--high-contrast-theme"
86
- : ""
77
+ : theme === "dark"
78
+ ? "tna-template--dark-theme"
79
+ : theme === "high-contrast"
80
+ ? "tna-template--high-contrast-theme"
81
+ : theme === "dark high-contrast"
82
+ ? "tna-template--dark-theme tna-template--high-contrast-theme"
83
+ : ""
87
84
  } ${
88
85
  accent === "yellow"
89
86
  ? "tna-template--yellow-accent"
@@ -194,15 +191,13 @@ const Template = ({ theme, accent }) => {
194
191
  <main class="tna-main" id="main-content">
195
192
  ${Hero({
196
193
  params: {
197
- heading: "Title",
198
- body: "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>",
194
+ content: `<h1 class="tna-heading-xl">Title</h1><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>`,
199
195
  imageSrc:
200
196
  "https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg",
201
197
  imageAlt: "The National Archives office",
202
198
  imageWidth: 499,
203
199
  imageHeight: 333,
204
200
  imageCaption: "An interesting photo by a famous photographer ©2023",
205
- classes: "tna-hero--demo",
206
201
  },
207
202
  })}
208
203
  <div class="tna-container tna-section">
@@ -465,7 +460,6 @@ const Template = ({ theme, accent }) => {
465
460
  imageWidth: 499,
466
461
  imageHeight: 333,
467
462
  imageCaption: "An interesting photo by a famous photographer ©2023",
468
- classes: "tna-hero--demo",
469
463
  },
470
464
  })}
471
465
  <div class="tna-section tna-!--padding-bottom-s">
@@ -720,9 +714,19 @@ const Template = ({ theme, accent }) => {
720
714
  classes: "tna-pagination--demo tna-!--margin-top-m",
721
715
  },
722
716
  })}
717
+ ${SearchField({
718
+ params: {
719
+ label: "Catalogue search results",
720
+ headingLevel: 3,
721
+ headingSize: "l",
722
+ id: "search1",
723
+ name: "q",
724
+ },
725
+ })}
723
726
  <div class="tna-button-group">
724
727
  <a href="#" class="tna-button">Primary button</a>
725
728
  <a href="#" class="tna-button tna-button--accent">Accent button</a>
729
+ <a href="" class="tna-button tna-button--solid-hover">Solid hover button</a>
726
730
  <a href="" class="tna-button tna-button--plain">Plain button</a>
727
731
  </div>
728
732
  </div>
@@ -804,9 +808,19 @@ const Template = ({ theme, accent }) => {
804
808
  classes: "tna-pagination--demo tna-!--margin-top-m",
805
809
  },
806
810
  })}
811
+ ${SearchField({
812
+ params: {
813
+ label: "Catalogue search results",
814
+ headingLevel: 3,
815
+ headingSize: "l",
816
+ id: "search2",
817
+ name: "q",
818
+ },
819
+ })}
807
820
  <div class="tna-button-group">
808
821
  <a href="#" class="tna-button">Primary button</a>
809
822
  <a href="#" class="tna-button tna-button--accent">Accent button</a>
823
+ <a href="" class="tna-button tna-button--solid-hover">Solid hover button</a>
810
824
  <a href="" class="tna-button tna-button--plain">Plain button</a>
811
825
  </div>
812
826
  </div>
@@ -888,9 +902,19 @@ const Template = ({ theme, accent }) => {
888
902
  classes: "tna-pagination--demo tna-!--margin-top-m",
889
903
  },
890
904
  })}
905
+ ${SearchField({
906
+ params: {
907
+ label: "Catalogue search results",
908
+ headingLevel: 3,
909
+ headingSize: "l",
910
+ id: "search3",
911
+ name: "q",
912
+ },
913
+ })}
891
914
  <div class="tna-button-group">
892
915
  <a href="#" class="tna-button">Primary button</a>
893
916
  <a href="#" class="tna-button tna-button--accent">Accent button</a>
917
+ <a href="" class="tna-button tna-button--solid-hover">Solid hover button</a>
894
918
  <a href="" class="tna-button tna-button--plain">Plain button</a>
895
919
  </div>
896
920
  </div>
@@ -972,9 +996,19 @@ const Template = ({ theme, accent }) => {
972
996
  classes: "tna-pagination--demo tna-!--margin-top-m",
973
997
  },
974
998
  })}
999
+ ${SearchField({
1000
+ params: {
1001
+ label: "Catalogue search results",
1002
+ headingLevel: 3,
1003
+ headingSize: "l",
1004
+ id: "search4",
1005
+ name: "q",
1006
+ },
1007
+ })}
975
1008
  <div class="tna-button-group">
976
1009
  <a href="#" class="tna-button">Primary button</a>
977
1010
  <a href="#" class="tna-button tna-button--accent">Accent button</a>
1011
+ <a href="" class="tna-button tna-button--solid-hover">Solid hover button</a>
978
1012
  <a href="" class="tna-button tna-button--plain">Plain button</a>
979
1013
  </div>
980
1014
  </div>
@@ -1056,26 +1090,21 @@ const Template = ({ theme, accent }) => {
1056
1090
  classes: "tna-pagination--demo tna-!--margin-top-m",
1057
1091
  },
1058
1092
  })}
1059
- <div class="tna-button-group">
1060
- <a href="#" class="tna-button">Primary button</a>
1061
- <a href="#" class="tna-button tna-button--accent">Accent button</a>
1062
- <a href="" class="tna-button tna-button--plain">Plain button</a>
1063
- </div>
1064
- </div>
1065
- </div>
1066
- </div>
1067
- <div class="tna-section tna-background-contrast">
1068
- <div class="tna-container">
1069
- <div class="tna-column tna-column--width-2-3 tna-column--full-small tna-column--full-tiny">
1070
1093
  ${SearchField({
1071
1094
  params: {
1072
1095
  label: "Catalogue search results",
1073
1096
  headingLevel: 3,
1074
1097
  headingSize: "l",
1075
- id: "search1",
1098
+ id: "search5",
1076
1099
  name: "q",
1077
1100
  },
1078
1101
  })}
1102
+ <div class="tna-button-group">
1103
+ <a href="#" class="tna-button">Primary button</a>
1104
+ <a href="#" class="tna-button tna-button--accent">Accent button</a>
1105
+ <a href="" class="tna-button tna-button--solid-hover">Solid hover button</a>
1106
+ <a href="" class="tna-button tna-button--plain">Plain button</a>
1107
+ </div>
1079
1108
  </div>
1080
1109
  </div>
1081
1110
  </div>
@@ -1377,20 +1406,20 @@ Dark.args = {
1377
1406
  accent: "pink",
1378
1407
  };
1379
1408
 
1380
- export const LightHighContrast = Template.bind({});
1381
- LightHighContrast.parameters = {
1382
- chromatic: { disableSnapshot: true },
1383
- };
1384
- LightHighContrast.args = {
1385
- theme: "light high-contrast",
1386
- accent: "pink",
1387
- };
1409
+ // export const LightHighContrast = Template.bind({});
1410
+ // LightHighContrast.parameters = {
1411
+ // chromatic: { disableSnapshot: true },
1412
+ // };
1413
+ // LightHighContrast.args = {
1414
+ // theme: "light high-contrast",
1415
+ // accent: "pink",
1416
+ // };
1388
1417
 
1389
- export const DarkHighContrast = Template.bind({});
1390
- DarkHighContrast.parameters = {
1391
- chromatic: { disableSnapshot: true },
1392
- };
1393
- DarkHighContrast.args = {
1394
- theme: "dark high-contrast",
1395
- accent: "pink",
1396
- };
1418
+ // export const DarkHighContrast = Template.bind({});
1419
+ // DarkHighContrast.parameters = {
1420
+ // chromatic: { disableSnapshot: true },
1421
+ // };
1422
+ // DarkHighContrast.args = {
1423
+ // theme: "dark high-contrast",
1424
+ // accent: "pink",
1425
+ // };