@ukic/web-components 3.15.0 → 3.16.0

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 (163) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  3. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
  4. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ic-footer.cjs.entry.js +9 -5
  6. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +2 -2
  9. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-radio-option.cjs.entry.js +9 -6
  19. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  21. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-toast.cjs.entry.js +14 -6
  23. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  24. package/dist/cjs/loader.cjs.js +1 -1
  25. package/dist/collection/components/ic-button/ic-button.stories.js +3 -3
  26. package/dist/collection/components/ic-checkbox/ic-checkbox.css +2 -0
  27. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +18 -18
  28. package/dist/collection/components/ic-data-list/ic-data-list.css +1 -0
  29. package/dist/collection/components/ic-data-row/ic-data-row.css +2 -0
  30. package/dist/collection/components/ic-footer/ic-footer.js +29 -5
  31. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  32. package/dist/collection/components/ic-footer/ic-footer.stories.js +31 -0
  33. package/dist/collection/components/ic-hero/ic-hero.css +0 -2
  34. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +9 -0
  35. package/dist/collection/components/ic-input-validation/ic-input-validation.css +2 -1
  36. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.stories.js +17 -18
  37. package/dist/collection/components/ic-menu/ic-menu.css +8 -0
  38. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +12 -0
  39. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +2 -7
  40. package/dist/collection/components/ic-pagination/ic-pagination.stories.js +3 -3
  41. package/dist/collection/components/ic-popover-menu/ic-popover-menu.stories.js +7 -7
  42. package/dist/collection/components/ic-radio-group/ic-radio-group.css +6 -6
  43. package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +12 -12
  44. package/dist/collection/components/ic-radio-option/ic-radio-option.css +60 -54
  45. package/dist/collection/components/ic-radio-option/ic-radio-option.js +9 -5
  46. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  47. package/dist/collection/components/ic-search-bar/ic-search-bar.css +8 -0
  48. package/dist/collection/components/ic-search-bar/ic-search-bar.stories.js +19 -19
  49. package/dist/collection/components/ic-select/ic-select_(multi).stories.js +20 -20
  50. package/dist/collection/components/ic-select/ic-select_(searchable).stories.js +21 -21
  51. package/dist/collection/components/ic-tab-context/ic-tabs.stories.js +1 -1
  52. package/dist/collection/components/ic-text-field/ic-text-field.stories.js +19 -19
  53. package/dist/collection/components/ic-toast/ic-toast.css +26 -1
  54. package/dist/collection/components/ic-toast/ic-toast.js +39 -5
  55. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  56. package/dist/collection/components/ic-toast/ic-toast.stories.js +21 -9
  57. package/dist/collection/components/ic-toggle-button/ic-toggle-button.stories.js +14 -14
  58. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.stories.js +7 -7
  59. package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +11 -11
  60. package/dist/collection/components/ic-top-navigation/ic-top-navigation.stories.js +15 -15
  61. package/dist/collection/components/ic-typography/ic-typography.stories.js +1 -1
  62. package/dist/collection/patterns/top-nav-content-footer.stories.js +1 -1
  63. package/dist/components/ic-badge.js.map +1 -1
  64. package/dist/components/ic-checkbox.js.map +1 -1
  65. package/dist/components/ic-chip.js.map +1 -1
  66. package/dist/components/ic-classification-banner.js.map +1 -1
  67. package/dist/components/ic-data-list.js.map +1 -1
  68. package/dist/components/ic-data-row.js.map +1 -1
  69. package/dist/components/ic-footer.js +10 -5
  70. package/dist/components/ic-footer.js.map +1 -1
  71. package/dist/components/ic-hero.js.map +1 -1
  72. package/dist/components/ic-input-component-container2.js +1 -1
  73. package/dist/components/ic-input-component-container2.js.map +1 -1
  74. package/dist/components/ic-input-validation2.js +1 -1
  75. package/dist/components/ic-input-validation2.js.map +1 -1
  76. package/dist/components/ic-menu2.js +1 -1
  77. package/dist/components/ic-menu2.js.map +1 -1
  78. package/dist/components/ic-navigation-group.js +1 -1
  79. package/dist/components/ic-navigation-group.js.map +1 -1
  80. package/dist/components/ic-navigation-item.js +1 -1
  81. package/dist/components/ic-navigation-item.js.map +1 -1
  82. package/dist/components/ic-radio-group.js +1 -1
  83. package/dist/components/ic-radio-group.js.map +1 -1
  84. package/dist/components/ic-radio-option.js +10 -7
  85. package/dist/components/ic-radio-option.js.map +1 -1
  86. package/dist/components/ic-search-bar.js +1 -1
  87. package/dist/components/ic-search-bar.js.map +1 -1
  88. package/dist/components/ic-side-navigation.js.map +1 -1
  89. package/dist/components/ic-skeleton.js.map +1 -1
  90. package/dist/components/ic-step.js.map +1 -1
  91. package/dist/components/ic-toast.js +15 -6
  92. package/dist/components/ic-toast.js.map +1 -1
  93. package/dist/core/core.esm.js +1 -1
  94. package/dist/core/core.esm.js.map +1 -1
  95. package/dist/core/p-082e0068.entry.js +2 -0
  96. package/dist/core/p-082e0068.entry.js.map +1 -0
  97. package/dist/core/p-3238389a.entry.js +2 -0
  98. package/dist/core/p-3238389a.entry.js.map +1 -0
  99. package/dist/core/p-33e35173.entry.js.map +1 -1
  100. package/dist/core/p-52c66bfe.entry.js +2 -0
  101. package/dist/core/p-52c66bfe.entry.js.map +1 -0
  102. package/dist/core/p-6ed48c46.entry.js +2 -0
  103. package/dist/core/p-6ed48c46.entry.js.map +1 -0
  104. package/dist/core/p-8abcc114.entry.js.map +1 -1
  105. package/dist/core/p-9c52ee48.entry.js +2 -0
  106. package/dist/core/p-9c52ee48.entry.js.map +1 -0
  107. package/dist/core/p-afbba548.entry.js +2 -0
  108. package/dist/core/p-afbba548.entry.js.map +1 -0
  109. package/dist/core/p-b4a2f6fa.entry.js.map +1 -1
  110. package/dist/core/{p-0c4ceed9.entry.js → p-b59504f1.entry.js} +2 -2
  111. package/dist/core/p-b59504f1.entry.js.map +1 -0
  112. package/dist/core/p-b83a736d.entry.js +3 -0
  113. package/dist/core/p-b83a736d.entry.js.map +1 -0
  114. package/dist/core/{p-4bdeb62d.entry.js → p-bdda404b.entry.js} +2 -2
  115. package/dist/core/p-bdda404b.entry.js.map +1 -0
  116. package/dist/core/p-ffd0d9d1.entry.js.map +1 -1
  117. package/dist/esm/core.js +1 -1
  118. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  119. package/dist/esm/ic-data-list.entry.js.map +1 -1
  120. package/dist/esm/ic-data-row.entry.js.map +1 -1
  121. package/dist/esm/ic-footer.entry.js +9 -5
  122. package/dist/esm/ic-footer.entry.js.map +1 -1
  123. package/dist/esm/ic-hero.entry.js.map +1 -1
  124. package/dist/esm/ic-input-component-container_3.entry.js +2 -2
  125. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  126. package/dist/esm/ic-input-label_2.entry.js +1 -1
  127. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  128. package/dist/esm/ic-navigation-group.entry.js +1 -1
  129. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  130. package/dist/esm/ic-navigation-item.entry.js +1 -1
  131. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  132. package/dist/esm/ic-radio-group.entry.js +1 -1
  133. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  134. package/dist/esm/ic-radio-option.entry.js +9 -6
  135. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  136. package/dist/esm/ic-search-bar.entry.js +1 -1
  137. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  138. package/dist/esm/ic-toast.entry.js +14 -6
  139. package/dist/esm/ic-toast.entry.js.map +1 -1
  140. package/dist/esm/loader.js +1 -1
  141. package/dist/types/components/ic-footer/ic-footer.d.ts +4 -0
  142. package/dist/types/components/ic-toast/ic-toast.d.ts +5 -1
  143. package/dist/types/components.d.ts +16 -0
  144. package/hydrate/index.js +42 -25
  145. package/hydrate/index.mjs +42 -25
  146. package/package.json +4 -4
  147. package/vscode-data.json +19 -0
  148. package/dist/core/p-042cfc35.entry.js +0 -2
  149. package/dist/core/p-042cfc35.entry.js.map +0 -1
  150. package/dist/core/p-06c950a3.entry.js +0 -2
  151. package/dist/core/p-06c950a3.entry.js.map +0 -1
  152. package/dist/core/p-0c4ceed9.entry.js.map +0 -1
  153. package/dist/core/p-11d8a504.entry.js +0 -3
  154. package/dist/core/p-11d8a504.entry.js.map +0 -1
  155. package/dist/core/p-3680f22c.entry.js +0 -2
  156. package/dist/core/p-3680f22c.entry.js.map +0 -1
  157. package/dist/core/p-4bdeb62d.entry.js.map +0 -1
  158. package/dist/core/p-a5415f6c.entry.js +0 -2
  159. package/dist/core/p-a5415f6c.entry.js.map +0 -1
  160. package/dist/core/p-b3cb1e35.entry.js +0 -2
  161. package/dist/core/p-b3cb1e35.entry.js.map +0 -1
  162. package/dist/core/p-e7af1e2d.entry.js +0 -2
  163. package/dist/core/p-e7af1e2d.entry.js.map +0 -1
@@ -11,6 +11,7 @@ const defaultArgs = {
11
11
  caption:
12
12
  "All content is available under the Open Government Licence v3.0, except source code and code examples which are available under the MIT Licence.",
13
13
  copyright: true,
14
+ copyrightText: "© Crown Copyright",
14
15
  description:
15
16
  "The ICDS is maintained by the Design Practice Team. If you've got a question or want to feedback, please get in touch.",
16
17
  groupLinks: true,
@@ -22,6 +23,7 @@ export const Playground = {
22
23
  breakpoint=${args.breakpoint}
23
24
  caption=${args.caption}
24
25
  copyright=${args.copyright}
26
+ copyright-text=${args.copyrightText}
25
27
  description=${args.description}
26
28
  group-links=${args.groupLinks}
27
29
  >
@@ -454,3 +456,32 @@ export const SlottedDescriptionAndCaption = {
454
456
 
455
457
  name: "Slotted description and caption",
456
458
  };
459
+
460
+ export const CustomCopyright = {
461
+ render: () => html`
462
+ <ic-footer
463
+ description="The ICDS is maintained by the Design Practice Team. If you've got a question or want to feedback,
464
+ please get in touch."
465
+ caption="All content is available under the Open Government Licence v3.0, except source code and code examples which are available under the MIT Licence."
466
+ copyright-text="© 2025 Coffeehouse Inc. All rights reserved."
467
+ >
468
+ <ic-footer-link slot="link" href="/">Get Started</ic-footer-link>
469
+ <ic-footer-link slot="link" href="/">Accessibility</ic-footer-link>
470
+ <ic-footer-link slot="link" href="/">Styles</ic-footer-link>
471
+ <ic-footer-link slot="link" href="/" target="_blank"
472
+ >Components</ic-footer-link
473
+ >
474
+ <ic-footer-link slot="link" href="/">Patterns</ic-footer-link>
475
+ <ic-footer-link slot="link" href="/">Design toolkit</ic-footer-link>
476
+ <div
477
+ slot="logo"
478
+ style="width:100px;height:100px;display:flex;align-items:center;justify-content:center;
479
+ background-color:var(--ic-brand-color-primary);color:var(--ic-brand-text-color);"
480
+ >
481
+ Logo
482
+ </div>
483
+ </ic-footer>
484
+ `,
485
+
486
+ name: "Custom copyright text",
487
+ };
@@ -528,7 +528,6 @@ ic-typography.heading-bottom-spacing {
528
528
  --ic-select-field-label: var(--ic-brand-text-color);
529
529
  --ic-switch-label: var(--ic-brand-text-color);
530
530
  --ic-text-field-label: var(--ic-brand-text-color);
531
-
532
531
  --ic-date-input-subtitle: var(--ic-brand-text-color);
533
532
  --ic-time-picker-subtitle: var(--ic-brand-text-color);
534
533
  --ic-checkbox-group-subtitle: var(--ic-brand-text-color);
@@ -537,7 +536,6 @@ ic-typography.heading-bottom-spacing {
537
536
  --ic-select-input-field-label-subtitle: var(--ic-brand-text-color);
538
537
  --ic-switch-subtitle: var(--ic-brand-text-color);
539
538
  --ic-text-field-subtitle: var(--ic-brand-text-color);
540
-
541
539
  --ic-checkbox-text: var(--ic-brand-text-color);
542
540
  --ic-radio-button-text-option: var(--ic-brand-text-color);
543
541
  }
@@ -32,6 +32,7 @@ ic-input-component-container {
32
32
 
33
33
  ic-input-component-container.ic-input-component-container-full-width {
34
34
  width: 100%;
35
+ max-width: none;
35
36
  }
36
37
 
37
38
  ic-input-component-container.ic-input-component-container-disabled,
@@ -206,3 +207,11 @@ ic-input-component-container:focus {
206
207
  border: var(--ic-border-width) dashed GrayText;
207
208
  }
208
209
  }
210
+
211
+ /* Breakpoint value chosen as it's a small amount bigger than the input's default width */
212
+ @media screen AND (max-width: 22rem) {
213
+ ic-input-component-container {
214
+ max-width: var(--input-width, 20rem);
215
+ width: 100%;
216
+ }
217
+ }
@@ -1,5 +1,5 @@
1
1
  ic-input-validation {
2
- width: var(--input-width, 20rem);
2
+ max-width: var(--input-width, 20rem);
3
3
  display: flex;
4
4
  }
5
5
 
@@ -9,6 +9,7 @@ ic-input-validation.ic-input-validation-with-status {
9
9
 
10
10
  ic-input-validation.ic-input-validation-full-width {
11
11
  width: 100%;
12
+ max-width: none;
12
13
  }
13
14
 
14
15
  ic-input-validation span.status-icon {
@@ -35,13 +35,13 @@ export default {
35
35
  };
36
36
 
37
37
  export const CircularIndeterminate = {
38
- render: (args) =>
38
+ render: () =>
39
39
  html`<ic-loading-indicator label="Loading..."></ic-loading-indicator>`,
40
40
  name: "Circular (indeterminate)",
41
41
  };
42
42
 
43
43
  export const CircularDeterminate = {
44
- render: (args) =>
44
+ render: () =>
45
45
  html`<ic-loading-indicator
46
46
  progress="30"
47
47
  min="0"
@@ -53,7 +53,7 @@ export const CircularDeterminate = {
53
53
  };
54
54
 
55
55
  export const CircularLongLabel = {
56
- render: (args) =>
56
+ render: () =>
57
57
  html`<ic-loading-indicator
58
58
  label="This is a label for a loading indicator that is indeterminate and should wrap onto more than one line when it gets too long"
59
59
  ></ic-loading-indicator>`,
@@ -62,7 +62,7 @@ export const CircularLongLabel = {
62
62
  };
63
63
 
64
64
  export const CircularVariantsIndeterminate = {
65
- render: (args) =>
65
+ render: () =>
66
66
  html`<div style="display: grid; gap: 50px;">
67
67
  <ic-loading-indicator label="Small" size="small"></ic-loading-indicator>
68
68
  <ic-loading-indicator label="Default"></ic-loading-indicator>
@@ -73,7 +73,7 @@ export const CircularVariantsIndeterminate = {
73
73
  };
74
74
 
75
75
  export const CircularVariantsDeterminate = {
76
- render: (args) =>
76
+ render: () =>
77
77
  html`<div style="display: grid; gap: 50px;">
78
78
  <ic-loading-indicator
79
79
  progress="30"
@@ -101,13 +101,12 @@ export const CircularVariantsDeterminate = {
101
101
  };
102
102
 
103
103
  export const Icon = {
104
- render: (args) =>
105
- html`<ic-loading-indicator size="icon"></ic-loading-indicator>`,
104
+ render: () => html`<ic-loading-indicator size="icon"></ic-loading-indicator>`,
106
105
  name: "Icon",
107
106
  };
108
107
 
109
108
  export const LinearIndeterminate = {
110
- render: (args) =>
109
+ render: () =>
111
110
  html`<ic-loading-indicator
112
111
  label="Loading..."
113
112
  type="linear"
@@ -117,7 +116,7 @@ export const LinearIndeterminate = {
117
116
  };
118
117
 
119
118
  export const LinearDeterminate = {
120
- render: (args) =>
119
+ render: () =>
121
120
  html`<ic-loading-indicator
122
121
  progress="30"
123
122
  min="0"
@@ -130,7 +129,7 @@ export const LinearDeterminate = {
130
129
  };
131
130
 
132
131
  export const LinearLongLabel = {
133
- render: (args) =>
132
+ render: () =>
134
133
  html`<ic-loading-indicator
135
134
  type="linear"
136
135
  label="This is a label for a loading indicator that is indeterminate and should wrap onto more than one line when it gets too long"
@@ -140,7 +139,7 @@ export const LinearLongLabel = {
140
139
  };
141
140
 
142
141
  export const LinearVariantsIndeterminate = {
143
- render: (args) =>
142
+ render: () =>
144
143
  html`<div style="display: grid; gap: 50px;">
145
144
  <ic-loading-indicator
146
145
  label="Small"
@@ -168,7 +167,7 @@ export const LinearVariantsIndeterminate = {
168
167
  };
169
168
 
170
169
  export const LinearVariantsDeterminate = {
171
- render: (args) =>
170
+ render: () =>
172
171
  html`<div style="display: grid; gap: 50px;">
173
172
  <ic-loading-indicator
174
173
  progress="30"
@@ -208,7 +207,7 @@ export const LinearVariantsDeterminate = {
208
207
  };
209
208
 
210
209
  export const CircularDarkMode = {
211
- render: (args) =>
210
+ render: () =>
212
211
  html`<div style="display: grid; gap: 50px;">
213
212
  <ic-loading-indicator
214
213
  label="Small"
@@ -233,7 +232,7 @@ export const CircularDarkMode = {
233
232
  };
234
233
 
235
234
  export const IconDarkMode = {
236
- render: (args) =>
235
+ render: () =>
237
236
  html`<ic-loading-indicator
238
237
  size="icon"
239
238
  theme="dark"
@@ -249,7 +248,7 @@ export const IconDarkMode = {
249
248
  };
250
249
 
251
250
  export const LinearDarkMode = {
252
- render: (args) =>
251
+ render: () =>
253
252
  html`<div style="display: grid; gap: 50px;">
254
253
  <ic-loading-indicator
255
254
  label="Default"
@@ -306,7 +305,7 @@ export const LinearDarkMode = {
306
305
  };
307
306
 
308
307
  export const Monochrome = {
309
- render: (args) =>
308
+ render: () =>
310
309
  html`<div style="display: grid; gap: 50px;">
311
310
  <ic-loading-indicator
312
311
  label="Light"
@@ -351,7 +350,7 @@ export const Monochrome = {
351
350
  };
352
351
 
353
352
  export const NoLabel = {
354
- render: (args) =>
353
+ render: () =>
355
354
  html`<div style="display: grid; gap: 50px;">
356
355
  <ic-loading-indicator description="Loading"></ic-loading-indicator
357
356
  ><ic-loading-indicator
@@ -377,7 +376,7 @@ export const NoLabel = {
377
376
  };
378
377
 
379
378
  export const ChangingLabel = {
380
- render: (args) =>
379
+ render: () =>
381
380
  html`<ic-loading-indicator label-duration="4000"></ic-loading-indicator>
382
381
  <script>
383
382
  document.querySelector("ic-loading-indicator").label = [
@@ -740,3 +740,11 @@ video {
740
740
  --ic-typography-color: GrayText;
741
741
  }
742
742
  }
743
+
744
+ /* Breakpoint value chosen as it's a small amount bigger than the menu's default width */
745
+ @media screen AND (max-width: 22rem) {
746
+ :host {
747
+ max-width: var(--menu-width, var(--input-width, 20rem));
748
+ width: 100%;
749
+ }
750
+ }
@@ -587,6 +587,18 @@ video {
587
587
  transform: rotate(-90deg);
588
588
  }
589
589
 
590
+ #nav-group-title {
591
+ text-wrap: nowrap;
592
+ }
593
+
594
+ :host(.in-side-menu) #nav-group-title {
595
+ text-wrap: wrap;
596
+ }
597
+
598
+ :host(.ic-navigation-group-side-nav) #nav-group-title {
599
+ text-wrap: wrap;
600
+ }
601
+
590
602
  :host(.ic-navigation-group-expanded) .grouped-links-wrapper {
591
603
  height: var(--navigation-child-items-height, auto) !important;
592
604
  transition: var(--ic-easing-transition-slow);
@@ -595,13 +595,6 @@ svg {
595
595
  fill: var(--ic-color-text-primary);
596
596
  }
597
597
 
598
- :host(.navigation-item-top-nav-child) .link,
599
- :host(.navigation-item-top-nav-child) ::slotted(a) {
600
- color: var(--ic-color-text-primary);
601
-
602
- --ic-typography-color: var(--ic-color-text-primary);
603
- }
604
-
605
598
  :host(.navigation-item-side-menu) ::slotted(a) {
606
599
  font: var(--ic-font-body) !important;
607
600
  letter-spacing: var(--ic-font-letter-spacing-0pt005) !important;
@@ -655,6 +648,8 @@ svg {
655
648
  position: relative;
656
649
  transition: box-shadow var(--ic-transition-duration-fast),
657
650
  border-radius var(--ic-transition-duration-slow);
651
+
652
+ --ic-typography-color: var(--ic-color-text-primary);
658
653
  }
659
654
 
660
655
  :host(.navigation-item-top-nav-child) ::slotted(a) {
@@ -21,7 +21,7 @@ export default {
21
21
  };
22
22
 
23
23
  export const Simple = {
24
- render: (args) => html`
24
+ render: () => html`
25
25
  <p>Default appearance</p>
26
26
  <ic-pagination pages="15"></ic-pagination>
27
27
  <br />
@@ -45,7 +45,7 @@ export const Simple = {
45
45
  };
46
46
 
47
47
  export const Complex = {
48
- render: (args) => html`
48
+ render: () => html`
49
49
  <p>Default appearance</p>
50
50
  <ic-pagination pages="15" type="complex"></ic-pagination>
51
51
  <br />
@@ -67,7 +67,7 @@ export const Complex = {
67
67
  };
68
68
 
69
69
  export const ComplexAdjacentBoundaryItemsSet = {
70
- render: (args) => html`
70
+ render: () => html`
71
71
  <p style={{ padding: 10 }}>Adjacent: 0, Boundary: 0</p>
72
72
  <ic-pagination
73
73
  pages="15"
@@ -19,7 +19,7 @@ export default {
19
19
  };
20
20
 
21
21
  export const Default = {
22
- render: (args) => html`
22
+ render: () => html`
23
23
  <ic-button id="button-1" onclick="buttonClick()"
24
24
  >Show/Hide popover</ic-button
25
25
  >
@@ -91,7 +91,7 @@ export const Default = {
91
91
  };
92
92
 
93
93
  export const MaxHeight = {
94
- render: (args) => html`
94
+ render: () => html`
95
95
  <style>
96
96
  ic-popover-menu {
97
97
  --max-height: 100px;
@@ -158,7 +158,7 @@ export const MaxHeight = {
158
158
  };
159
159
 
160
160
  export const LeftPlacement = {
161
- render: (args) => html`
161
+ render: () => html`
162
162
  <div style="margin-left: 1000px">
163
163
  <ic-button id="button-1" onclick="buttonClick()"
164
164
  >Show/Hide popover</ic-button
@@ -228,7 +228,7 @@ export const LeftPlacement = {
228
228
  };
229
229
 
230
230
  export const TopPlacement = {
231
- render: (args) => html`
231
+ render: () => html`
232
232
  <div style="margin-top: 540px">
233
233
  <ic-button id="button-1" onclick="buttonClick()"
234
234
  >Show/Hide popover</ic-button
@@ -298,7 +298,7 @@ export const TopPlacement = {
298
298
  };
299
299
 
300
300
  export const MultiplePopoversOnPage = {
301
- render: (args) =>
301
+ render: () =>
302
302
  html` <ic-link href="/">Link1</ic-link>
303
303
  <ic-button id="button-1" onclick="buttonClick(1)"
304
304
  >Show/Hide popover</ic-button
@@ -429,7 +429,7 @@ export const MultiplePopoversOnPage = {
429
429
  };
430
430
 
431
431
  export const AutoOpening = {
432
- render: (args) => html`
432
+ render: () => html`
433
433
  <ic-button id="button-1" onclick="buttonClick()"
434
434
  >Show/Hide popover</ic-button
435
435
  >
@@ -498,7 +498,7 @@ export const AutoOpening = {
498
498
  };
499
499
 
500
500
  export const PositioningStrategy = {
501
- render: (args) => html`
501
+ render: () => html`
502
502
  <script>
503
503
  var icPopovers = document.querySelectorAll("ic-popover-menu");
504
504
  var icParentPopover = icPopovers[0];
@@ -452,11 +452,11 @@ video {
452
452
  --ic-input-validation-error: var(--ic-radio-button-state-icon-error);
453
453
  }
454
454
 
455
- ic-input-label.error {
455
+ :host ic-input-label.error {
456
456
  --ic-input-label-text-color: var(--ic-radio-button-input-field-label-error);
457
457
  }
458
458
 
459
- ic-input-label.disabled {
459
+ :host ic-input-label.disabled {
460
460
  --ic-input-label-text-color: var(
461
461
  --ic-radio-button-input-field-label-disabled
462
462
  );
@@ -465,7 +465,7 @@ ic-input-label.disabled {
465
465
  );
466
466
  }
467
467
 
468
- ic-input-validation.show-validation {
468
+ :host ic-input-validation.show-validation {
469
469
  margin-top: var(--ic-space-sm);
470
470
  }
471
471
 
@@ -473,8 +473,8 @@ ic-input-validation.show-validation {
473
473
  margin-top: calc(var(--ic-space-sm) / 2);
474
474
  }
475
475
 
476
- ic-input-label:not(.with-helper) .ic-typography-label,
477
- ic-input-label .helpertext {
476
+ :host ic-input-label:not(.with-helper) .ic-typography-label,
477
+ :host ic-input-label .helpertext {
478
478
  margin-bottom: var(--ic-space-sm);
479
479
  }
480
480
 
@@ -485,7 +485,7 @@ ic-input-label .helpertext {
485
485
  margin-bottom: calc(var(--ic-space-sm) / 2);
486
486
  }
487
487
 
488
- ic-input-label .helpertext {
488
+ :host ic-input-label .helpertext {
489
489
  display: block;
490
490
  }
491
491
 
@@ -29,7 +29,7 @@ export default {
29
29
  };
30
30
 
31
31
  export const Default = {
32
- render: (args) => html`
32
+ render: () => html`
33
33
  <ic-radio-group label="This is a label" name="1">
34
34
  <ic-radio-option
35
35
  value="valueName1"
@@ -52,7 +52,7 @@ export const Default = {
52
52
  };
53
53
 
54
54
  export const Horizontal = {
55
- render: (args) => html`
55
+ render: () => html`
56
56
  <ic-radio-group
57
57
  orientation="horizontal"
58
58
  label="This should be horizontal"
@@ -90,7 +90,7 @@ export const Horizontal = {
90
90
  };
91
91
 
92
92
  export const Required = {
93
- render: (args) => html`
93
+ render: () => html`
94
94
  <ic-radio-group label="This is a label" required name="1">
95
95
  <ic-radio-option
96
96
  value="valueName1"
@@ -113,7 +113,7 @@ export const Required = {
113
113
  };
114
114
 
115
115
  export const Disabled = {
116
- render: (args) => html`
116
+ render: () => html`
117
117
  <ic-radio-group label="This is a label" name="1">
118
118
  <ic-radio-option
119
119
  value="valueName1"
@@ -143,7 +143,7 @@ export const Disabled = {
143
143
  };
144
144
 
145
145
  export const ConditionalDynamic = {
146
- render: (args) => html`
146
+ render: () => html`
147
147
  <script>
148
148
  function handleIcChange(ev) {
149
149
  console.log(ev.detail.selectedOption);
@@ -214,7 +214,7 @@ export const ConditionalDynamic = {
214
214
  };
215
215
 
216
216
  export const ConditionalStatic = {
217
- render: (args) => html`
217
+ render: () => html`
218
218
  <ic-radio-group label=" Conditional static" name="1">
219
219
  <ic-radio-option value="valueName1" label="option1">
220
220
  <ic-text-field
@@ -248,7 +248,7 @@ export const ConditionalStatic = {
248
248
  };
249
249
 
250
250
  export const HelperText = {
251
- render: (args) => html`
251
+ render: () => html`
252
252
  <ic-radio-group
253
253
  label="Pick Your Coffee"
254
254
  name="1"
@@ -292,7 +292,7 @@ export const HelperText = {
292
292
  };
293
293
 
294
294
  export const Small = {
295
- render: (args) => html`
295
+ render: () => html`
296
296
  <ic-radio-group label="This is a label" name="1" size="small">
297
297
  <ic-radio-option
298
298
  value="valueName1"
@@ -315,7 +315,7 @@ export const Small = {
315
315
  };
316
316
 
317
317
  export const Validation = {
318
- render: (args) => html`
318
+ render: () => html`
319
319
  <ic-radio-group
320
320
  label="This is a label"
321
321
  name="1"
@@ -343,7 +343,7 @@ export const Validation = {
343
343
  };
344
344
 
345
345
  export const AriaLiveBehaviour = {
346
- render: (args) =>
346
+ render: () =>
347
347
  html`<ic-radio-group
348
348
  id="field-1"
349
349
  label="This is a label"
@@ -496,7 +496,7 @@ export const AriaLiveBehaviour = {
496
496
  };
497
497
 
498
498
  export const Form = {
499
- render: (args) => html`
499
+ render: () => html`
500
500
  <form>
501
501
  <ic-radio-group label="This is a label" name="1">
502
502
  <ic-radio-option
@@ -528,7 +528,7 @@ export const Form = {
528
528
  };
529
529
 
530
530
  export const RTL = {
531
- render: (args) => html`
531
+ render: () => html`
532
532
  <ic-radio-group label="This is a label" name="group1" dir="rtl">
533
533
  <ic-radio-option value="valueName1" label="Default"></ic-radio-option>
534
534
  <ic-radio-option