@ukic/web-components 2.1.0-beta.16 → 2.1.0-beta.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1029) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/helpers-eb53c416.js.map +1 -1
  3. package/dist/cjs/ic-alert.cjs.entry.js +8 -8
  4. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ic-back-to-top.cjs.entry.js +2 -2
  6. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +25 -19
  8. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-breadcrumb.cjs.entry.js +5 -5
  10. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-button_3.cjs.entry.js +71 -70
  12. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-card.cjs.entry.js +40 -40
  14. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-checkbox-group.cjs.entry.js +17 -17
  16. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-checkbox.cjs.entry.js +32 -29
  18. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-chip.cjs.entry.js +15 -15
  20. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-data-row.cjs.entry.js +20 -20
  22. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-dialog.cjs.entry.js +54 -55
  24. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-footer-link-group.cjs.entry.js +16 -16
  26. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-footer-link.cjs.entry.js +14 -14
  28. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-footer.cjs.entry.js +17 -17
  30. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-hero.cjs.entry.js +18 -18
  32. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +33 -20
  34. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +86 -86
  36. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-input-label_2.cjs.entry.js +7 -7
  38. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-link.cjs.entry.js +17 -17
  40. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-menu-item.cjs.entry.js +12 -12
  42. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-navigation-button.cjs.entry.js +15 -15
  44. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-navigation-group.cjs.entry.js +36 -36
  46. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-navigation-item.cjs.entry.js +42 -42
  48. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-navigation-menu.cjs.entry.js +26 -26
  50. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-page-header.cjs.entry.js +12 -12
  52. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-pagination-item.cjs.entry.js +5 -5
  54. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-pagination.cjs.entry.js +30 -30
  56. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-popover-menu.cjs.entry.js +61 -61
  58. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-radio-group.cjs.entry.js +35 -28
  60. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-radio-option.cjs.entry.js +36 -29
  62. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-search-bar.cjs.entry.js +121 -121
  64. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-select.cjs.entry.js +66 -65
  66. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-side-navigation.cjs.entry.js +31 -35
  68. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-skeleton.cjs.entry.js +3 -3
  70. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  72. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-step.cjs.entry.js +7 -7
  74. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-stepper.cjs.entry.js +13 -13
  76. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-switch.cjs.entry.js +16 -16
  78. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-tab-context.cjs.entry.js +26 -32
  80. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  82. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  84. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-tab.cjs.entry.js +16 -16
  86. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-text-field.cjs.entry.js +53 -53
  88. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-toast-region.cjs.entry.js +12 -12
  91. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-toast.cjs.entry.js +57 -57
  93. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-top-navigation.cjs.entry.js +38 -38
  95. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-typography.cjs.entry.js +11 -11
  97. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  98. package/dist/cjs/loader.cjs.js +1 -1
  99. package/dist/collection/collection-manifest.json +4 -4
  100. package/dist/collection/components/ic-alert/ic-alert.js +49 -49
  101. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  102. package/dist/collection/components/ic-alert/{ic-alert.test.a11y.js → test/a11y/ic-alert.test.a11y.js} +1 -1
  103. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
  104. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
  105. package/dist/collection/components/ic-alert/{ic-alert.spec.js → test/basic/ic-alert.spec.js} +1 -1
  106. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -0
  107. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +4 -4
  108. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  109. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -0
  110. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
  111. package/dist/collection/components/ic-back-to-top/{ic-back-to-top.spec.js → test/basic/ic-back-to-top.spec.js} +3 -3
  112. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
  113. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +24 -24
  114. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  115. package/dist/collection/components/ic-breadcrumb/{ic-breadcrumb.spec.js → test/basic/ic-breadcrumb.spec.js} +1 -1
  116. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
  117. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +25 -19
  118. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  119. package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.js → test/a11y/ic-breadcrumb-group.test.a11y.js} +1 -1
  120. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
  121. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
  122. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
  123. package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.spec.js → test/basic/ic-breadcrumb-group.spec.js} +5 -5
  124. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
  125. package/dist/collection/components/ic-button/ic-button.css +4 -0
  126. package/dist/collection/components/ic-button/ic-button.js +191 -190
  127. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  128. package/dist/collection/components/ic-button/{ic-button.test.a11y.js → test/a11y/ic-button.test.a11y.js} +1 -1
  129. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
  130. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
  131. package/dist/collection/components/ic-button/{ic-button.spec.js → test/basic/ic-button.spec.js} +2 -2
  132. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
  133. package/dist/collection/components/ic-card/ic-card.js +120 -120
  134. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  135. package/dist/collection/components/ic-card/{ic-card.test.a11y.js → test/a11y/ic-card.test.a11y.js} +1 -1
  136. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
  137. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
  138. package/dist/collection/components/ic-card/{ic-card.spec.js → test/basic/ic-card.spec.js} +1 -1
  139. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
  140. package/dist/collection/components/ic-checkbox/ic-checkbox.js +94 -91
  141. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  142. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +58 -58
  143. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  144. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.js → test/a11y/ic-checkbox-group.test.a11y.js} +1 -1
  145. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
  146. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
  147. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.spec.js → test/basic/ic-checkbox-group.spec.js} +3 -3
  148. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
  149. package/dist/collection/components/ic-chip/ic-chip.js +54 -54
  150. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  151. package/dist/collection/components/ic-chip/{ic-chip.test.a11y.js → test/a11y/ic-chip.test.a11y.js} +1 -1
  152. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
  153. package/dist/collection/components/ic-chip/{ic-chip.spec.js → test/basic/ic-chip.spec.js} +1 -1
  154. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
  155. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.test.a11y.js → test/a11y/ic-classification-banner.test.a11y.js} +1 -1
  156. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
  157. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.spec.js → test/basic/ic-classification-banner.spec.js} +1 -1
  158. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
  159. package/dist/collection/components/ic-data-entity/{ic-data-entity.test.a11y.js → test/a11y/ic-data-entity.test.a11y.js} +1 -1
  160. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
  161. package/dist/collection/components/ic-data-entity/{ic-data-entity.spec.js → test/basic/ic-data-entity.spec.js} +1 -1
  162. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
  163. package/dist/collection/components/ic-data-row/ic-data-row.js +35 -35
  164. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  165. package/dist/collection/components/ic-data-row/{ic-data-row.test.a11y.js → test/a11y/ic-data-row.test.a11y.js} +1 -1
  166. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
  167. package/dist/collection/components/ic-data-row/{ic-data-row.spec.js → test/basic/ic-data-row.spec.js} +1 -1
  168. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
  169. package/dist/collection/components/ic-dialog/ic-dialog.css +1 -4
  170. package/dist/collection/components/ic-dialog/ic-dialog.js +122 -123
  171. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  172. package/dist/collection/components/ic-dialog/{ic-dialog.test.a11y.js → test/a11y/ic-dialog.test.a11y.js} +1 -1
  173. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
  174. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
  175. package/dist/collection/components/ic-dialog/{ic-dialog.spec.js → test/basic/ic-dialog.spec.js} +4 -4
  176. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
  177. package/dist/collection/components/ic-divider/{ic-divider.spec.js → test/basic/ic-divider.spec.js} +1 -1
  178. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
  179. package/dist/collection/components/ic-footer/ic-footer.js +47 -47
  180. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  181. package/dist/collection/components/ic-footer/{ic-footer.test.a11y.js → test/a11y/ic-footer.test.a11y.js} +1 -1
  182. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
  183. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
  184. package/dist/collection/components/ic-footer/{ic-footer.spec.js → test/basic/ic-footer.spec.js} +3 -3
  185. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
  186. package/dist/collection/components/ic-footer-link/ic-footer-link.js +33 -33
  187. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  188. package/dist/collection/components/ic-footer-link/{ic-footer-link.test.a11y.js → test/a11y/ic-footer-link.test.a11y.js} +1 -1
  189. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
  190. package/dist/collection/components/ic-footer-link/{ic-footer-link.spec.js → test/basic/ic-footer-link.spec.js} +1 -1
  191. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -0
  192. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +18 -18
  193. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  194. package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.test.a11y.js → test/a11y/ic-footer-link-group.test.a11y.js} +1 -1
  195. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
  196. package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.spec.js → test/basic/ic-footer-link-group.spec.js} +3 -3
  197. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
  198. package/dist/collection/components/ic-hero/ic-hero.js +95 -95
  199. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  200. package/dist/collection/components/ic-hero/{ic-hero.test.a11y.js → test/a11y/ic-hero.test.a11y.js} +1 -1
  201. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
  202. package/dist/collection/components/ic-hero/{ic-hero.spec.js → test/basic/ic-hero.spec.js} +1 -1
  203. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
  204. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +35 -22
  205. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  206. package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.js → test/a11y/ic-horizontal-scroll.test.a11y.js} +1 -1
  207. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
  208. package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.spec.js → test/basic/ic-horizontal-scroll.spec.js} +2 -2
  209. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
  210. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +45 -45
  211. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  212. package/dist/collection/components/ic-input-component-container/{ic-input-component-container.spec.js → test/basic/ic-input-component-container.spec.js} +1 -1
  213. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
  214. package/dist/collection/components/ic-input-container/{ic-input-container.spec.js → test/basic/ic-input-container.spec.js} +1 -1
  215. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
  216. package/dist/collection/components/ic-input-label/ic-input-label.js +51 -51
  217. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  218. package/dist/collection/components/ic-input-label/{ic-input-label.spec.js → test/basic/ic-input-label.spec.js} +1 -1
  219. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
  220. package/dist/collection/components/ic-input-validation/ic-input-validation.js +41 -41
  221. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  222. package/dist/collection/components/ic-input-validation/{ic-input-validation.spec.js → test/basic/ic-input-validation.spec.js} +1 -1
  223. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
  224. package/dist/collection/components/ic-link/ic-link.js +48 -48
  225. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  226. package/dist/collection/components/ic-link/{ic-link.test.a11y.js → test/a11y/ic-link.test.a11y.js} +1 -1
  227. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
  228. package/dist/collection/components/ic-link/{ic-link.spec.js → test/basic/ic-link.spec.js} +2 -2
  229. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
  230. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +89 -89
  231. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  232. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.js → test/a11y/ic-loading-indicator.test.a11y.js} +1 -1
  233. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
  234. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
  235. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.spec.js → test/basic/ic-loading-indicator.spec.js} +3 -3
  236. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
  237. package/dist/collection/components/ic-menu/ic-menu.js +238 -238
  238. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  239. package/dist/collection/components/ic-menu/{ic-menu.spec.js → test/basic/ic-menu.spec.js} +3 -3
  240. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
  241. package/dist/collection/components/ic-menu-group/{ic-menu-group.spec.js → test/basic/ic-menu-group.spec.js} +2 -2
  242. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
  243. package/dist/collection/components/ic-menu-item/ic-menu-item.js +75 -75
  244. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  245. package/dist/collection/components/ic-menu-item/{ic-menu-item.spec.js → test/basic/ic-menu-item.spec.js} +2 -2
  246. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
  247. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +56 -56
  248. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  249. package/dist/collection/components/ic-navigation-button/{ic-navigation-button.spec.js → test/basic/ic-navigation-button.spec.js} +2 -2
  250. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
  251. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +55 -55
  252. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  253. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.test.a11y.js → test/a11y/ic-navigation-group.test.a11y.js} +1 -1
  254. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
  255. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.spec.js → test/basic/ic-navigation-group.spec.js} +8 -8
  256. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
  257. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +5 -4
  258. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +135 -135
  259. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  260. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.test.a11y.js → test/a11y/ic-navigation-item.test.a11y.js} +1 -1
  261. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
  262. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.spec.js → test/basic/ic-navigation-item.spec.js} +5 -5
  263. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
  264. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +1 -4
  265. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +31 -31
  266. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  267. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
  268. package/dist/collection/components/ic-navigation-menu/{ic-navigation-menu.spec.js → test/basic/ic-navigation-menu.spec.js} +6 -6
  269. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
  270. package/dist/collection/components/ic-page-header/ic-page-header.js +56 -56
  271. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  272. package/dist/collection/components/ic-page-header/{ic-page-header.test.a11y.js → test/a11y/ic-page-header.test.a11y.js} +1 -1
  273. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
  274. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
  275. package/dist/collection/components/ic-page-header/{ic-page-header.spec.js → test/basic/ic-page-header.spec.js} +7 -7
  276. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
  277. package/dist/collection/components/ic-pagination/ic-pagination.js +97 -97
  278. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  279. package/dist/collection/components/ic-pagination/{ic-pagination.test.a11y.js → test/a11y/ic-pagination.test.a11y.js} +1 -1
  280. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
  281. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
  282. package/dist/collection/components/ic-pagination/{ic-pagination.spec.js → test/basic/ic-pagination.spec.js} +3 -3
  283. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
  284. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +65 -65
  285. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
  286. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +96 -96
  287. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  288. package/dist/collection/components/ic-popover-menu/{ic-popover-menu.test.a11y.js → test/a11y/ic-popover-menu.test.a11y.js} +1 -1
  289. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
  290. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
  291. package/dist/collection/components/ic-popover-menu/{ic-popover-menu.spec.js → test/basic/ic-popover-menu.spec.js} +4 -4
  292. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
  293. package/dist/collection/components/ic-radio-group/ic-radio-group.js +94 -81
  294. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  295. package/dist/collection/components/ic-radio-group/{ic-radio-group.test.a11y.js → test/a11y/ic-radio-group.test.a11y.js} +1 -1
  296. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
  297. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
  298. package/dist/collection/components/ic-radio-group/{ic-radio-group.spec.js → test/basic/ic-radio-group.spec.js} +3 -3
  299. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
  300. package/dist/collection/components/ic-radio-option/ic-radio-option.js +112 -88
  301. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  302. package/dist/collection/components/ic-search-bar/ic-search-bar.js +384 -384
  303. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  304. package/dist/collection/components/ic-search-bar/{ic-search-bar.test.a11y.js → test/a11y/ic-search-bar.test.a11y.js} +1 -1
  305. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
  306. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
  307. package/dist/collection/components/ic-search-bar/{ic-search-bar.spec.js → test/basic/ic-search-bar.spec.js} +7 -7
  308. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
  309. package/dist/collection/components/ic-section-container/{ic-section-container.spec.js → test/basic/ic-section-container.spec.js} +1 -1
  310. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
  311. package/dist/collection/components/ic-select/ic-select.js +266 -265
  312. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  313. package/dist/collection/components/ic-select/{ic-select.test.a11y.js → test/a11y/ic-select.test.a11y.js} +1 -1
  314. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
  315. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
  316. package/dist/collection/components/ic-select/{ic-select.spec.js → test/basic/ic-select.spec.js} +6 -6
  317. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
  318. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +1 -4
  319. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +75 -79
  320. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  321. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.test.a11y.js → test/a11y/ic-side-navigation.test.a11y.js} +1 -1
  322. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
  323. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
  324. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
  325. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.spec.js → test/basic/ic-side-navigation.spec.js} +5 -5
  326. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
  327. package/dist/collection/components/ic-skeleton/ic-skeleton.js +22 -22
  328. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  329. package/dist/collection/components/ic-skeleton/{ic-skeleton.test.a11y.js → test/a11y/ic-skeleton.test.a11y.js} +1 -1
  330. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
  331. package/dist/collection/components/ic-skeleton/{ic-skeleton.spec.js → test/basic/ic-skeleton.spec.js} +1 -1
  332. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
  333. package/dist/collection/components/ic-status-tag/ic-status-tag.js +40 -40
  334. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  335. package/dist/collection/components/ic-status-tag/{ic-status-tag.test.a11y.js → test/a11y/ic-status-tag.test.a11y.js} +1 -1
  336. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
  337. package/dist/collection/components/ic-status-tag/{ic-status-tag.spec.js → test/basic/ic-status-tag.spec.js} +1 -1
  338. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
  339. package/dist/collection/components/ic-step/ic-step.js +126 -126
  340. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  341. package/dist/collection/components/ic-step/{ic-step.spec.js → test/basic/ic-step.spec.js} +3 -3
  342. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
  343. package/dist/collection/components/ic-stepper/ic-stepper.js +41 -41
  344. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  345. package/dist/collection/components/ic-stepper/{ic-stepper.test.a11y.js → test/a11y/ic-stepper.test.a11y.js} +1 -1
  346. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
  347. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
  348. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
  349. package/dist/collection/components/ic-stepper/{ic-stepper.spec.js → test/basic/ic-stepper.spec.js} +3 -3
  350. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
  351. package/dist/collection/components/ic-switch/ic-switch.js +72 -72
  352. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  353. package/dist/collection/components/ic-switch/{ic-switch.test.a11y.js → test/a11y/ic-switch.test.a11y.js} +1 -1
  354. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
  355. package/dist/collection/components/ic-switch/{ic-switch.spec.js → test/basic/ic-switch.spec.js} +1 -1
  356. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
  357. package/dist/collection/components/ic-tab/ic-tab.js +56 -56
  358. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  359. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
  360. package/dist/collection/components/ic-tab/{ic-tab.spec.js → test/basic/ic-tab.spec.js} +3 -3
  361. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
  362. package/dist/collection/components/ic-tab-context/ic-tab-context.js +71 -77
  363. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  364. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
  365. package/dist/collection/components/ic-tab-context/{ic-tab-context.e2e.js → test/basic/ic-tab-context.e2e.js} +1 -1
  366. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
  367. package/dist/collection/components/ic-tab-context/{ic-tab-context.spec.js → test/basic/ic-tab-context.spec.js} +4 -4
  368. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
  369. package/dist/collection/components/ic-tab-group/ic-tab-group.js +27 -27
  370. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  371. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +33 -33
  372. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  373. package/dist/collection/components/ic-tab-panel/{ic-tab-panel.spec.js → test/basic/ic-tab-panel.spec.js} +1 -1
  374. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
  375. package/dist/collection/components/ic-text-field/ic-text-field.js +371 -371
  376. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  377. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
  378. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
  379. package/dist/collection/components/ic-text-field/{ic-text-field.input.spec.js → test/basic/ic-text-field.input.spec.js} +2 -2
  380. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
  381. package/dist/collection/components/ic-text-field/{ic-text-field.textarea.spec.js → test/basic/ic-text-field.textarea.spec.js} +1 -1
  382. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
  383. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  384. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
  385. package/dist/collection/components/ic-theme/{ic-theme.spec.js → test/basic/ic-theme.spec.js} +3 -3
  386. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
  387. package/dist/collection/components/ic-toast/ic-toast.js +111 -111
  388. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  389. package/dist/collection/components/ic-toast/{ic-toast.test.a11y.js → test/a11y/ic-toast.test.a11y.js} +1 -1
  390. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
  391. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
  392. package/dist/collection/components/ic-toast/{ic-toast.spec.js → test/basic/ic-toast.spec.js} +4 -4
  393. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
  394. package/dist/collection/components/ic-toast-region/ic-toast-region.js +12 -12
  395. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  396. package/dist/collection/components/ic-toast-region/{ic-toast-region.spec.js → test/basic/ic-toast-region.spec.js} +3 -3
  397. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
  398. package/dist/collection/components/ic-tooltip/ic-tooltip.js +47 -47
  399. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  400. package/dist/collection/components/ic-tooltip/{ic-tooltip.test.a11y.js → test/a11y/ic-tooltip.test.a11y.js} +1 -1
  401. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
  402. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
  403. package/dist/collection/components/ic-tooltip/{ic-tooltip.spec.js → test/basic/ic-tooltip.spec.js} +2 -2
  404. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
  405. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +82 -82
  406. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  407. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.test.a11y.js → test/a11y/ic-top-navigation.test.a11y.js} +1 -1
  408. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
  409. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
  410. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
  411. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.spec.js → test/basic/ic-top-navigation.spec.js} +8 -8
  412. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
  413. package/dist/collection/components/ic-typography/ic-typography.js +36 -36
  414. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  415. package/dist/collection/components/ic-typography/{ic-typography.test.a11y.js → test/a11y/ic-typography.test.a11y.js} +1 -1
  416. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
  417. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
  418. package/dist/collection/components/ic-typography/{ic-typography.spec.js → test/basic/ic-typography.spec.js} +1 -1
  419. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
  420. package/dist/collection/testspec.setup.js.map +1 -1
  421. package/dist/collection/utils/helpers.js.map +1 -1
  422. package/dist/components/helpers.js +1 -1
  423. package/dist/components/helpers.js.map +1 -1
  424. package/dist/components/ic-alert2.js +13 -13
  425. package/dist/components/ic-alert2.js.map +1 -1
  426. package/dist/components/ic-back-to-top.js +4 -4
  427. package/dist/components/ic-back-to-top.js.map +1 -1
  428. package/dist/components/ic-breadcrumb-group.js +25 -19
  429. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  430. package/dist/components/ic-breadcrumb2.js +7 -7
  431. package/dist/components/ic-breadcrumb2.js.map +1 -1
  432. package/dist/components/ic-button2.js +47 -46
  433. package/dist/components/ic-button2.js.map +1 -1
  434. package/dist/components/ic-card.js +50 -50
  435. package/dist/components/ic-card.js.map +1 -1
  436. package/dist/components/ic-checkbox-group.js +20 -20
  437. package/dist/components/ic-checkbox-group.js.map +1 -1
  438. package/dist/components/ic-checkbox.js +37 -34
  439. package/dist/components/ic-checkbox.js.map +1 -1
  440. package/dist/components/ic-chip.js +19 -19
  441. package/dist/components/ic-chip.js.map +1 -1
  442. package/dist/components/ic-data-row.js +21 -21
  443. package/dist/components/ic-data-row.js.map +1 -1
  444. package/dist/components/ic-dialog.js +60 -61
  445. package/dist/components/ic-dialog.js.map +1 -1
  446. package/dist/components/ic-footer-link-group.js +19 -19
  447. package/dist/components/ic-footer-link-group.js.map +1 -1
  448. package/dist/components/ic-footer-link.js +16 -16
  449. package/dist/components/ic-footer-link.js.map +1 -1
  450. package/dist/components/ic-footer.js +19 -19
  451. package/dist/components/ic-footer.js.map +1 -1
  452. package/dist/components/ic-hero.js +25 -25
  453. package/dist/components/ic-hero.js.map +1 -1
  454. package/dist/components/ic-horizontal-scroll2.js +34 -21
  455. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  456. package/dist/components/ic-input-component-container2.js +8 -8
  457. package/dist/components/ic-input-component-container2.js.map +1 -1
  458. package/dist/components/ic-input-label2.js +8 -8
  459. package/dist/components/ic-input-label2.js.map +1 -1
  460. package/dist/components/ic-input-validation2.js +6 -6
  461. package/dist/components/ic-input-validation2.js.map +1 -1
  462. package/dist/components/ic-link2.js +20 -20
  463. package/dist/components/ic-link2.js.map +1 -1
  464. package/dist/components/ic-loading-indicator2.js +24 -24
  465. package/dist/components/ic-loading-indicator2.js.map +1 -1
  466. package/dist/components/ic-menu-item2.js +17 -17
  467. package/dist/components/ic-menu-item2.js.map +1 -1
  468. package/dist/components/ic-menu2.js +93 -93
  469. package/dist/components/ic-menu2.js.map +1 -1
  470. package/dist/components/ic-navigation-button.js +20 -20
  471. package/dist/components/ic-navigation-button.js.map +1 -1
  472. package/dist/components/ic-navigation-group.js +40 -40
  473. package/dist/components/ic-navigation-group.js.map +1 -1
  474. package/dist/components/ic-navigation-item.js +52 -52
  475. package/dist/components/ic-navigation-item.js.map +1 -1
  476. package/dist/components/ic-navigation-menu2.js +28 -28
  477. package/dist/components/ic-navigation-menu2.js.map +1 -1
  478. package/dist/components/ic-page-header.js +18 -18
  479. package/dist/components/ic-page-header.js.map +1 -1
  480. package/dist/components/ic-pagination-item2.js +11 -11
  481. package/dist/components/ic-pagination-item2.js.map +1 -1
  482. package/dist/components/ic-pagination.js +39 -39
  483. package/dist/components/ic-pagination.js.map +1 -1
  484. package/dist/components/ic-popover-menu.js +64 -64
  485. package/dist/components/ic-popover-menu.js.map +1 -1
  486. package/dist/components/ic-radio-group.js +40 -33
  487. package/dist/components/ic-radio-group.js.map +1 -1
  488. package/dist/components/ic-radio-option.js +42 -35
  489. package/dist/components/ic-radio-option.js.map +1 -1
  490. package/dist/components/ic-search-bar.js +145 -145
  491. package/dist/components/ic-search-bar.js.map +1 -1
  492. package/dist/components/ic-select.js +95 -94
  493. package/dist/components/ic-select.js.map +1 -1
  494. package/dist/components/ic-side-navigation.js +40 -44
  495. package/dist/components/ic-side-navigation.js.map +1 -1
  496. package/dist/components/ic-skeleton.js +5 -5
  497. package/dist/components/ic-skeleton.js.map +1 -1
  498. package/dist/components/ic-status-tag.js +6 -6
  499. package/dist/components/ic-status-tag.js.map +1 -1
  500. package/dist/components/ic-step.js +15 -15
  501. package/dist/components/ic-step.js.map +1 -1
  502. package/dist/components/ic-stepper.js +19 -19
  503. package/dist/components/ic-stepper.js.map +1 -1
  504. package/dist/components/ic-switch.js +21 -21
  505. package/dist/components/ic-switch.js.map +1 -1
  506. package/dist/components/ic-tab-context.js +28 -34
  507. package/dist/components/ic-tab-context.js.map +1 -1
  508. package/dist/components/ic-tab-group.js +3 -3
  509. package/dist/components/ic-tab-group.js.map +1 -1
  510. package/dist/components/ic-tab-panel.js +4 -4
  511. package/dist/components/ic-tab-panel.js.map +1 -1
  512. package/dist/components/ic-tab.js +17 -17
  513. package/dist/components/ic-tab.js.map +1 -1
  514. package/dist/components/ic-text-field2.js +83 -83
  515. package/dist/components/ic-text-field2.js.map +1 -1
  516. package/dist/components/ic-theme.js.map +1 -1
  517. package/dist/components/ic-toast-region.js +12 -12
  518. package/dist/components/ic-toast-region.js.map +1 -1
  519. package/dist/components/ic-toast.js +62 -62
  520. package/dist/components/ic-toast.js.map +1 -1
  521. package/dist/components/ic-tooltip2.js +26 -26
  522. package/dist/components/ic-tooltip2.js.map +1 -1
  523. package/dist/components/ic-top-navigation.js +47 -47
  524. package/dist/components/ic-top-navigation.js.map +1 -1
  525. package/dist/components/ic-typography2.js +14 -14
  526. package/dist/components/ic-typography2.js.map +1 -1
  527. package/dist/core/core.esm.js +1 -1
  528. package/dist/core/core.esm.js.map +1 -1
  529. package/dist/core/{p-3ce0aa02.entry.js → p-00b0c1b5.entry.js} +2 -2
  530. package/dist/core/p-00b0c1b5.entry.js.map +1 -0
  531. package/dist/core/{p-ca6820dc.entry.js → p-0471f0a2.entry.js} +2 -2
  532. package/dist/core/p-0471f0a2.entry.js.map +1 -0
  533. package/dist/core/{p-bad10f6c.entry.js → p-053b387f.entry.js} +2 -2
  534. package/dist/core/p-053b387f.entry.js.map +1 -0
  535. package/dist/core/{p-31e80ccb.entry.js → p-071bd3f5.entry.js} +2 -2
  536. package/dist/core/p-071bd3f5.entry.js.map +1 -0
  537. package/dist/core/p-0738d6e3.entry.js +2 -0
  538. package/dist/core/p-0738d6e3.entry.js.map +1 -0
  539. package/dist/core/{p-b03bd9c6.entry.js → p-0ccdb432.entry.js} +2 -2
  540. package/dist/core/p-0ccdb432.entry.js.map +1 -0
  541. package/dist/core/{p-aeef3c9d.entry.js → p-0d4507ef.entry.js} +2 -2
  542. package/dist/core/p-0d4507ef.entry.js.map +1 -0
  543. package/dist/core/{p-97286148.entry.js → p-11e0f917.entry.js} +2 -2
  544. package/dist/core/p-11e0f917.entry.js.map +1 -0
  545. package/dist/core/{p-97fd0cc1.entry.js → p-12287f17.entry.js} +2 -2
  546. package/dist/core/p-12287f17.entry.js.map +1 -0
  547. package/dist/core/{p-a9de9aba.entry.js → p-18f86ab2.entry.js} +2 -2
  548. package/dist/core/{p-a9de9aba.entry.js.map → p-18f86ab2.entry.js.map} +1 -1
  549. package/dist/core/{p-ef91c17e.entry.js → p-1a7d6eca.entry.js} +2 -2
  550. package/dist/core/p-1a7d6eca.entry.js.map +1 -0
  551. package/dist/core/p-1c30ece9.entry.js +2 -0
  552. package/dist/core/p-1c30ece9.entry.js.map +1 -0
  553. package/dist/core/{p-b0685167.entry.js → p-206a402a.entry.js} +2 -2
  554. package/dist/core/p-206a402a.entry.js.map +1 -0
  555. package/dist/core/{p-a74b8476.entry.js → p-221c905b.entry.js} +2 -2
  556. package/dist/core/p-221c905b.entry.js.map +1 -0
  557. package/dist/core/p-2b80ce4c.entry.js +2 -0
  558. package/dist/core/p-2b80ce4c.entry.js.map +1 -0
  559. package/dist/core/{p-323bce82.entry.js → p-3294961a.entry.js} +2 -2
  560. package/dist/core/p-3294961a.entry.js.map +1 -0
  561. package/dist/core/p-36115f6a.entry.js +2 -0
  562. package/dist/core/p-36115f6a.entry.js.map +1 -0
  563. package/dist/core/{p-311c38b3.entry.js → p-38450979.entry.js} +2 -2
  564. package/dist/core/p-38450979.entry.js.map +1 -0
  565. package/dist/core/{p-b35a9909.entry.js → p-39ec4fc2.entry.js} +2 -2
  566. package/dist/core/p-39ec4fc2.entry.js.map +1 -0
  567. package/dist/core/p-4a47cc51.entry.js +2 -0
  568. package/dist/core/p-4a47cc51.entry.js.map +1 -0
  569. package/dist/core/{p-ecdcae46.entry.js → p-4a814585.entry.js} +2 -2
  570. package/dist/core/p-4a814585.entry.js.map +1 -0
  571. package/dist/core/{p-820e4c17.entry.js → p-51d4c05c.entry.js} +2 -2
  572. package/dist/core/{p-820e4c17.entry.js.map → p-51d4c05c.entry.js.map} +1 -1
  573. package/dist/core/{p-2e051e1e.entry.js → p-54a5e971.entry.js} +2 -2
  574. package/dist/core/p-54a5e971.entry.js.map +1 -0
  575. package/dist/core/{p-0d325b4c.entry.js → p-57ba3442.entry.js} +2 -2
  576. package/dist/core/p-57ba3442.entry.js.map +1 -0
  577. package/dist/core/{p-68308ecd.entry.js → p-594e88fe.entry.js} +2 -2
  578. package/dist/core/p-594e88fe.entry.js.map +1 -0
  579. package/dist/core/{p-79914e0c.entry.js → p-5d245683.entry.js} +2 -2
  580. package/dist/core/{p-79914e0c.entry.js.map → p-5d245683.entry.js.map} +1 -1
  581. package/dist/core/{p-29d9fea1.entry.js → p-64584eb6.entry.js} +2 -2
  582. package/dist/core/p-64584eb6.entry.js.map +1 -0
  583. package/dist/core/{p-ad6c4c02.entry.js → p-67e99ad8.entry.js} +2 -2
  584. package/dist/core/p-67e99ad8.entry.js.map +1 -0
  585. package/dist/core/{p-f0714432.entry.js → p-6921177c.entry.js} +2 -2
  586. package/dist/core/p-6921177c.entry.js.map +1 -0
  587. package/dist/core/{p-84c8c4c7.entry.js → p-6ac8df90.entry.js} +2 -2
  588. package/dist/core/{p-84c8c4c7.entry.js.map → p-6ac8df90.entry.js.map} +1 -1
  589. package/dist/core/{p-dbe06c3b.entry.js → p-6aee5f18.entry.js} +2 -2
  590. package/dist/core/p-6aee5f18.entry.js.map +1 -0
  591. package/dist/core/{p-da4c1409.entry.js → p-7350d63d.entry.js} +2 -2
  592. package/dist/core/p-7350d63d.entry.js.map +1 -0
  593. package/dist/core/p-75e23d08.entry.js +2 -0
  594. package/dist/core/p-75e23d08.entry.js.map +1 -0
  595. package/dist/core/p-7ae1d7bc.entry.js +2 -0
  596. package/dist/core/p-7ae1d7bc.entry.js.map +1 -0
  597. package/dist/core/{p-6c76c6ba.entry.js → p-7fafc87a.entry.js} +2 -2
  598. package/dist/core/p-7fafc87a.entry.js.map +1 -0
  599. package/dist/core/{p-2ec49a7e.entry.js → p-9779c179.entry.js} +2 -2
  600. package/dist/core/{p-2ec49a7e.entry.js.map → p-9779c179.entry.js.map} +1 -1
  601. package/dist/core/{p-617950f8.entry.js → p-9e7b1167.entry.js} +2 -2
  602. package/dist/core/p-9e7b1167.entry.js.map +1 -0
  603. package/dist/core/{p-bda4414e.entry.js → p-ac10763e.entry.js} +2 -2
  604. package/dist/core/p-ac10763e.entry.js.map +1 -0
  605. package/dist/core/{p-31ccdd50.entry.js → p-acdc2931.entry.js} +2 -2
  606. package/dist/core/p-acdc2931.entry.js.map +1 -0
  607. package/dist/core/{p-f381e93f.entry.js → p-bc02816a.entry.js} +2 -2
  608. package/dist/core/p-bc02816a.entry.js.map +1 -0
  609. package/dist/core/{p-551986d1.entry.js → p-bde0fcab.entry.js} +2 -2
  610. package/dist/core/p-bde0fcab.entry.js.map +1 -0
  611. package/dist/core/{p-8911656b.entry.js → p-be6ee8a9.entry.js} +2 -2
  612. package/dist/core/{p-8911656b.entry.js.map → p-be6ee8a9.entry.js.map} +1 -1
  613. package/dist/core/{p-4a385752.js → p-bf5669a2.js} +2 -2
  614. package/dist/core/{p-4a385752.js.map → p-bf5669a2.js.map} +1 -1
  615. package/dist/core/{p-c0333310.entry.js → p-c4dcc6b9.entry.js} +2 -2
  616. package/dist/core/p-c4dcc6b9.entry.js.map +1 -0
  617. package/dist/core/{p-dfd31e28.entry.js → p-ca0e8569.entry.js} +2 -2
  618. package/dist/core/p-ca0e8569.entry.js.map +1 -0
  619. package/dist/core/p-ddb60a4b.entry.js +2 -0
  620. package/dist/core/p-ddb60a4b.entry.js.map +1 -0
  621. package/dist/core/{p-e3e6308b.entry.js → p-e0bbf81e.entry.js} +2 -2
  622. package/dist/core/{p-5fcd965f.entry.js → p-e6d3b5f8.entry.js} +2 -2
  623. package/dist/core/p-e6d3b5f8.entry.js.map +1 -0
  624. package/dist/core/p-e8be020c.entry.js +2 -0
  625. package/dist/core/p-e8be020c.entry.js.map +1 -0
  626. package/dist/core/{p-249af8ab.entry.js → p-fa40a71b.entry.js} +2 -2
  627. package/dist/core/{p-249af8ab.entry.js.map → p-fa40a71b.entry.js.map} +1 -1
  628. package/dist/esm/core.js +1 -1
  629. package/dist/esm/{helpers-8e57082b.js → helpers-c4e378c4.js} +2 -2
  630. package/dist/esm/{helpers-8e57082b.js.map → helpers-c4e378c4.js.map} +1 -1
  631. package/dist/esm/ic-alert.entry.js +9 -9
  632. package/dist/esm/ic-alert.entry.js.map +1 -1
  633. package/dist/esm/ic-back-to-top.entry.js +3 -3
  634. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  635. package/dist/esm/ic-breadcrumb-group.entry.js +26 -20
  636. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  637. package/dist/esm/ic-breadcrumb.entry.js +6 -6
  638. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  639. package/dist/esm/ic-button_3.entry.js +72 -71
  640. package/dist/esm/ic-button_3.entry.js.map +1 -1
  641. package/dist/esm/ic-card.entry.js +41 -41
  642. package/dist/esm/ic-card.entry.js.map +1 -1
  643. package/dist/esm/ic-checkbox-group.entry.js +18 -18
  644. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  645. package/dist/esm/ic-checkbox.entry.js +33 -30
  646. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  647. package/dist/esm/ic-chip.entry.js +16 -16
  648. package/dist/esm/ic-chip.entry.js.map +1 -1
  649. package/dist/esm/ic-data-row.entry.js +21 -21
  650. package/dist/esm/ic-data-row.entry.js.map +1 -1
  651. package/dist/esm/ic-dialog.entry.js +55 -56
  652. package/dist/esm/ic-dialog.entry.js.map +1 -1
  653. package/dist/esm/ic-divider.entry.js +1 -1
  654. package/dist/esm/ic-footer-link-group.entry.js +17 -17
  655. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  656. package/dist/esm/ic-footer-link.entry.js +15 -15
  657. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  658. package/dist/esm/ic-footer.entry.js +18 -18
  659. package/dist/esm/ic-footer.entry.js.map +1 -1
  660. package/dist/esm/ic-hero.entry.js +19 -19
  661. package/dist/esm/ic-hero.entry.js.map +1 -1
  662. package/dist/esm/ic-horizontal-scroll.entry.js +34 -21
  663. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  664. package/dist/esm/ic-input-component-container_3.entry.js +87 -87
  665. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  666. package/dist/esm/ic-input-label_2.entry.js +8 -8
  667. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  668. package/dist/esm/ic-link.entry.js +18 -18
  669. package/dist/esm/ic-link.entry.js.map +1 -1
  670. package/dist/esm/ic-menu-item.entry.js +13 -13
  671. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  672. package/dist/esm/ic-navigation-button.entry.js +16 -16
  673. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  674. package/dist/esm/ic-navigation-group.entry.js +37 -37
  675. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  676. package/dist/esm/ic-navigation-item.entry.js +43 -43
  677. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  678. package/dist/esm/ic-navigation-menu.entry.js +27 -27
  679. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  680. package/dist/esm/ic-page-header.entry.js +13 -13
  681. package/dist/esm/ic-page-header.entry.js.map +1 -1
  682. package/dist/esm/ic-pagination-item.entry.js +6 -6
  683. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  684. package/dist/esm/ic-pagination.entry.js +31 -31
  685. package/dist/esm/ic-pagination.entry.js.map +1 -1
  686. package/dist/esm/ic-popover-menu.entry.js +62 -62
  687. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  688. package/dist/esm/ic-radio-group.entry.js +36 -29
  689. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  690. package/dist/esm/ic-radio-option.entry.js +37 -30
  691. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  692. package/dist/esm/ic-search-bar.entry.js +122 -122
  693. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  694. package/dist/esm/ic-select.entry.js +67 -66
  695. package/dist/esm/ic-select.entry.js.map +1 -1
  696. package/dist/esm/ic-side-navigation.entry.js +32 -36
  697. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  698. package/dist/esm/ic-skeleton.entry.js +3 -3
  699. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  700. package/dist/esm/ic-status-tag.entry.js +4 -4
  701. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  702. package/dist/esm/ic-step.entry.js +7 -7
  703. package/dist/esm/ic-step.entry.js.map +1 -1
  704. package/dist/esm/ic-stepper.entry.js +14 -14
  705. package/dist/esm/ic-stepper.entry.js.map +1 -1
  706. package/dist/esm/ic-switch.entry.js +17 -17
  707. package/dist/esm/ic-switch.entry.js.map +1 -1
  708. package/dist/esm/ic-tab-context.entry.js +26 -32
  709. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  710. package/dist/esm/ic-tab-group.entry.js +2 -2
  711. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  712. package/dist/esm/ic-tab-panel.entry.js +2 -2
  713. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  714. package/dist/esm/ic-tab.entry.js +17 -17
  715. package/dist/esm/ic-tab.entry.js.map +1 -1
  716. package/dist/esm/ic-text-field.entry.js +54 -54
  717. package/dist/esm/ic-text-field.entry.js.map +1 -1
  718. package/dist/esm/ic-theme.entry.js +1 -1
  719. package/dist/esm/ic-theme.entry.js.map +1 -1
  720. package/dist/esm/ic-toast-region.entry.js +12 -12
  721. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  722. package/dist/esm/ic-toast.entry.js +58 -58
  723. package/dist/esm/ic-toast.entry.js.map +1 -1
  724. package/dist/esm/ic-top-navigation.entry.js +39 -39
  725. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  726. package/dist/esm/ic-typography.entry.js +12 -12
  727. package/dist/esm/ic-typography.entry.js.map +1 -1
  728. package/dist/esm/loader.js +1 -1
  729. package/dist/types/components/ic-alert/ic-alert.d.ts +12 -12
  730. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +8 -8
  731. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +6 -6
  732. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +15 -11
  733. package/dist/types/components/ic-button/ic-button.d.ts +52 -52
  734. package/dist/types/components/ic-card/ic-card.d.ts +32 -32
  735. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +27 -26
  736. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +13 -13
  737. package/dist/types/components/ic-chip/ic-chip.d.ts +16 -16
  738. package/dist/types/components/ic-data-row/ic-data-row.d.ts +11 -11
  739. package/dist/types/components/ic-dialog/ic-dialog.d.ts +47 -47
  740. package/dist/types/components/ic-footer/ic-footer.d.ts +20 -20
  741. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +9 -9
  742. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +8 -8
  743. package/dist/types/components/ic-hero/ic-hero.d.ts +24 -24
  744. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +15 -14
  745. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +15 -15
  746. package/dist/types/components/ic-input-label/ic-input-label.d.ts +14 -14
  747. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +8 -8
  748. package/dist/types/components/ic-link/ic-link.d.ts +8 -8
  749. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +38 -38
  750. package/dist/types/components/ic-menu/ic-menu.d.ts +63 -63
  751. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +23 -23
  752. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +21 -21
  753. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +20 -20
  754. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +39 -39
  755. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +14 -14
  756. package/dist/types/components/ic-page-header/ic-page-header.d.ts +19 -19
  757. package/dist/types/components/ic-pagination/ic-pagination.d.ts +26 -26
  758. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +15 -15
  759. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +22 -22
  760. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +19 -21
  761. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +31 -26
  762. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +105 -105
  763. package/dist/types/components/ic-select/ic-select.d.ts +86 -86
  764. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +27 -24
  765. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +8 -8
  766. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +8 -8
  767. package/dist/types/components/ic-step/ic-step.d.ts +24 -24
  768. package/dist/types/components/ic-stepper/ic-stepper.d.ts +17 -17
  769. package/dist/types/components/ic-switch/ic-switch.d.ts +23 -23
  770. package/dist/types/components/ic-tab/ic-tab.d.ts +16 -16
  771. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +20 -19
  772. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +4 -4
  773. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +6 -6
  774. package/dist/types/components/ic-text-field/ic-text-field.d.ts +102 -102
  775. package/dist/types/components/ic-theme/ic-theme.d.ts +1 -1
  776. package/dist/types/components/ic-toast/ic-toast.d.ts +26 -27
  777. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +3 -3
  778. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +17 -17
  779. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +32 -32
  780. package/dist/types/components/ic-typography/ic-typography.d.ts +16 -16
  781. package/dist/types/components.d.ts +5 -1
  782. package/dist/types/testspec.setup.d.ts +7 -5
  783. package/hydrate/index.js +1637 -1610
  784. package/package.json +3 -3
  785. package/dist/collection/components/ic-alert/ic-alert.e2e.js.map +0 -1
  786. package/dist/collection/components/ic-alert/ic-alert.spec.js.map +0 -1
  787. package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +0 -1
  788. package/dist/collection/components/ic-back-to-top/ic-back-to-top.e2e.js.map +0 -1
  789. package/dist/collection/components/ic-back-to-top/ic-back-to-top.spec.js.map +0 -1
  790. package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +0 -1
  791. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.spec.js.map +0 -1
  792. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group-test-examples.js.map +0 -1
  793. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.e2e.js.map +0 -1
  794. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.spec.js.map +0 -1
  795. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.test.a11y.js.map +0 -1
  796. package/dist/collection/components/ic-button/ic-button.e2e.js.map +0 -1
  797. package/dist/collection/components/ic-button/ic-button.spec.js.map +0 -1
  798. package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +0 -1
  799. package/dist/collection/components/ic-card/ic-card.e2e.js.map +0 -1
  800. package/dist/collection/components/ic-card/ic-card.spec.js.map +0 -1
  801. package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +0 -1
  802. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.e2e.js.map +0 -1
  803. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.spec.js.map +0 -1
  804. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +0 -1
  805. package/dist/collection/components/ic-chip/ic-chip.spec.js.map +0 -1
  806. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +0 -1
  807. package/dist/collection/components/ic-classification-banner/ic-classification-banner.spec.js.map +0 -1
  808. package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +0 -1
  809. package/dist/collection/components/ic-data-entity/ic-data-entity.spec.js.map +0 -1
  810. package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +0 -1
  811. package/dist/collection/components/ic-data-row/ic-data-row.spec.js.map +0 -1
  812. package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +0 -1
  813. package/dist/collection/components/ic-dialog/ic-dialog.e2e.js.map +0 -1
  814. package/dist/collection/components/ic-dialog/ic-dialog.spec.js.map +0 -1
  815. package/dist/collection/components/ic-dialog/ic-dialog.test.a11y.js.map +0 -1
  816. package/dist/collection/components/ic-divider/ic-divider.spec.js.map +0 -1
  817. package/dist/collection/components/ic-footer/ic-footer.e2e.js.map +0 -1
  818. package/dist/collection/components/ic-footer/ic-footer.spec.js.map +0 -1
  819. package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +0 -1
  820. package/dist/collection/components/ic-footer-link/ic-footer-link.spec.js.map +0 -1
  821. package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +0 -1
  822. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.spec.js.map +0 -1
  823. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +0 -1
  824. package/dist/collection/components/ic-hero/ic-hero.spec.js.map +0 -1
  825. package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +0 -1
  826. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.spec.js.map +0 -1
  827. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +0 -1
  828. package/dist/collection/components/ic-input-component-container/ic-input-component-container.spec.js.map +0 -1
  829. package/dist/collection/components/ic-input-container/ic-input-container.spec.js.map +0 -1
  830. package/dist/collection/components/ic-input-label/ic-input-label.spec.js.map +0 -1
  831. package/dist/collection/components/ic-input-validation/ic-input-validation.spec.js.map +0 -1
  832. package/dist/collection/components/ic-link/ic-link.spec.js.map +0 -1
  833. package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +0 -1
  834. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.e2e.js.map +0 -1
  835. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.spec.js.map +0 -1
  836. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +0 -1
  837. package/dist/collection/components/ic-menu/ic-menu.spec.js.map +0 -1
  838. package/dist/collection/components/ic-menu-group/ic-menu-group.spec.js.map +0 -1
  839. package/dist/collection/components/ic-menu-item/ic-menu-item.spec.js.map +0 -1
  840. package/dist/collection/components/ic-navigation-button/ic-navigation-button.spec.js.map +0 -1
  841. package/dist/collection/components/ic-navigation-group/ic-navigation-group.spec.js.map +0 -1
  842. package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +0 -1
  843. package/dist/collection/components/ic-navigation-item/ic-navigation-item.spec.js.map +0 -1
  844. package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +0 -1
  845. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.e2e.js.map +0 -1
  846. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.spec.js.map +0 -1
  847. package/dist/collection/components/ic-page-header/ic-page-header.e2e.js.map +0 -1
  848. package/dist/collection/components/ic-page-header/ic-page-header.spec.js.map +0 -1
  849. package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +0 -1
  850. package/dist/collection/components/ic-pagination/ic-pagination.e2e.js.map +0 -1
  851. package/dist/collection/components/ic-pagination/ic-pagination.spec.js.map +0 -1
  852. package/dist/collection/components/ic-pagination/ic-pagination.test.a11y.js.map +0 -1
  853. package/dist/collection/components/ic-popover-menu/ic-popover-menu.e2e.js.map +0 -1
  854. package/dist/collection/components/ic-popover-menu/ic-popover-menu.spec.js.map +0 -1
  855. package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js.map +0 -1
  856. package/dist/collection/components/ic-radio-group/ic-radio-group.e2e.js.map +0 -1
  857. package/dist/collection/components/ic-radio-group/ic-radio-group.spec.js.map +0 -1
  858. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +0 -1
  859. package/dist/collection/components/ic-search-bar/ic-search-bar.e2e.js.map +0 -1
  860. package/dist/collection/components/ic-search-bar/ic-search-bar.spec.js.map +0 -1
  861. package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +0 -1
  862. package/dist/collection/components/ic-section-container/ic-section-container.spec.js.map +0 -1
  863. package/dist/collection/components/ic-select/ic-select.e2e.js.map +0 -1
  864. package/dist/collection/components/ic-select/ic-select.spec.js.map +0 -1
  865. package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +0 -1
  866. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +0 -1
  867. package/dist/collection/components/ic-side-navigation/ic-side-navigation.e2e.js.map +0 -1
  868. package/dist/collection/components/ic-side-navigation/ic-side-navigation.spec.js.map +0 -1
  869. package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +0 -1
  870. package/dist/collection/components/ic-skeleton/ic-skeleton.spec.js.map +0 -1
  871. package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +0 -1
  872. package/dist/collection/components/ic-status-tag/ic-status-tag.spec.js.map +0 -1
  873. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +0 -1
  874. package/dist/collection/components/ic-step/ic-step.spec.js.map +0 -1
  875. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +0 -1
  876. package/dist/collection/components/ic-stepper/ic-stepper.e2e.js.map +0 -1
  877. package/dist/collection/components/ic-stepper/ic-stepper.spec.js.map +0 -1
  878. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +0 -1
  879. package/dist/collection/components/ic-switch/ic-switch.spec.js.map +0 -1
  880. package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +0 -1
  881. package/dist/collection/components/ic-tab/ic-tab.e2e.js.map +0 -1
  882. package/dist/collection/components/ic-tab/ic-tab.spec.js.map +0 -1
  883. package/dist/collection/components/ic-tab-context/ic-tab-context.e2e.js.map +0 -1
  884. package/dist/collection/components/ic-tab-context/ic-tab-context.spec.js.map +0 -1
  885. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +0 -1
  886. package/dist/collection/components/ic-tab-panel/ic-tab-panel.spec.js.map +0 -1
  887. package/dist/collection/components/ic-text-field/ic-text-field.e2e.js.map +0 -1
  888. package/dist/collection/components/ic-text-field/ic-text-field.input.spec.js.map +0 -1
  889. package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +0 -1
  890. package/dist/collection/components/ic-text-field/ic-text-field.textarea.spec.js.map +0 -1
  891. package/dist/collection/components/ic-theme/ic-theme.e2e.js.map +0 -1
  892. package/dist/collection/components/ic-theme/ic-theme.spec.js.map +0 -1
  893. package/dist/collection/components/ic-toast/ic-toast.e2e.js.map +0 -1
  894. package/dist/collection/components/ic-toast/ic-toast.spec.js.map +0 -1
  895. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +0 -1
  896. package/dist/collection/components/ic-toast-region/ic-toast-region.spec.js.map +0 -1
  897. package/dist/collection/components/ic-tooltip/ic-tooltip.e2e.js.map +0 -1
  898. package/dist/collection/components/ic-tooltip/ic-tooltip.spec.js.map +0 -1
  899. package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +0 -1
  900. package/dist/collection/components/ic-top-navigation/ic-top-navigation.e2e.js.map +0 -1
  901. package/dist/collection/components/ic-top-navigation/ic-top-navigation.mobile.e2e.js.map +0 -1
  902. package/dist/collection/components/ic-top-navigation/ic-top-navigation.spec.js.map +0 -1
  903. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +0 -1
  904. package/dist/collection/components/ic-typography/ic-typography.e2e.js.map +0 -1
  905. package/dist/collection/components/ic-typography/ic-typography.spec.js.map +0 -1
  906. package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +0 -1
  907. package/dist/core/p-0d325b4c.entry.js.map +0 -1
  908. package/dist/core/p-29d9fea1.entry.js.map +0 -1
  909. package/dist/core/p-2e051e1e.entry.js.map +0 -1
  910. package/dist/core/p-3114a4b3.entry.js +0 -2
  911. package/dist/core/p-3114a4b3.entry.js.map +0 -1
  912. package/dist/core/p-311c38b3.entry.js.map +0 -1
  913. package/dist/core/p-31ccdd50.entry.js.map +0 -1
  914. package/dist/core/p-31e80ccb.entry.js.map +0 -1
  915. package/dist/core/p-323bce82.entry.js.map +0 -1
  916. package/dist/core/p-3918c27a.entry.js +0 -2
  917. package/dist/core/p-3918c27a.entry.js.map +0 -1
  918. package/dist/core/p-3ce0aa02.entry.js.map +0 -1
  919. package/dist/core/p-524557bc.entry.js +0 -2
  920. package/dist/core/p-524557bc.entry.js.map +0 -1
  921. package/dist/core/p-551986d1.entry.js.map +0 -1
  922. package/dist/core/p-57460fa3.entry.js +0 -2
  923. package/dist/core/p-57460fa3.entry.js.map +0 -1
  924. package/dist/core/p-5fcd965f.entry.js.map +0 -1
  925. package/dist/core/p-617950f8.entry.js.map +0 -1
  926. package/dist/core/p-68308ecd.entry.js.map +0 -1
  927. package/dist/core/p-6c76c6ba.entry.js.map +0 -1
  928. package/dist/core/p-97286148.entry.js.map +0 -1
  929. package/dist/core/p-97fd0cc1.entry.js.map +0 -1
  930. package/dist/core/p-a74b8476.entry.js.map +0 -1
  931. package/dist/core/p-ad6c4c02.entry.js.map +0 -1
  932. package/dist/core/p-aeef3c9d.entry.js.map +0 -1
  933. package/dist/core/p-b03bd9c6.entry.js.map +0 -1
  934. package/dist/core/p-b0685167.entry.js.map +0 -1
  935. package/dist/core/p-b35a9909.entry.js.map +0 -1
  936. package/dist/core/p-bad10f6c.entry.js.map +0 -1
  937. package/dist/core/p-bda4414e.entry.js.map +0 -1
  938. package/dist/core/p-c0333310.entry.js.map +0 -1
  939. package/dist/core/p-c3f9fb1d.entry.js +0 -2
  940. package/dist/core/p-c3f9fb1d.entry.js.map +0 -1
  941. package/dist/core/p-ca6820dc.entry.js.map +0 -1
  942. package/dist/core/p-d6694b41.entry.js +0 -2
  943. package/dist/core/p-d6694b41.entry.js.map +0 -1
  944. package/dist/core/p-da4c1409.entry.js.map +0 -1
  945. package/dist/core/p-dbe06c3b.entry.js.map +0 -1
  946. package/dist/core/p-dfd31e28.entry.js.map +0 -1
  947. package/dist/core/p-ea233813.entry.js +0 -2
  948. package/dist/core/p-ea233813.entry.js.map +0 -1
  949. package/dist/core/p-ecdcae46.entry.js.map +0 -1
  950. package/dist/core/p-ef91c17e.entry.js.map +0 -1
  951. package/dist/core/p-f0714432.entry.js.map +0 -1
  952. package/dist/core/p-f381e93f.entry.js.map +0 -1
  953. package/dist/core/p-fd482bd7.entry.js +0 -2
  954. package/dist/core/p-fd482bd7.entry.js.map +0 -1
  955. package/dist/core/p-fe2c4009.entry.js +0 -2
  956. package/dist/core/p-fe2c4009.entry.js.map +0 -1
  957. /package/dist/collection/components/ic-alert/{ic-alert.e2e.js → test/basic/ic-alert.e2e.js} +0 -0
  958. /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.test.a11y.js → test/a11y/ic-back-to-top.test.a11y.js} +0 -0
  959. /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.e2e.js → test/basic/ic-back-to-top.e2e.js} +0 -0
  960. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.js → test/basic/ic-breadcrumb-group-test-examples.js} +0 -0
  961. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.e2e.js → test/basic/ic-breadcrumb-group.e2e.js} +0 -0
  962. /package/dist/collection/components/ic-button/{ic-button.e2e.js → test/basic/ic-button.e2e.js} +0 -0
  963. /package/dist/collection/components/ic-card/{ic-card.e2e.js → test/basic/ic-card.e2e.js} +0 -0
  964. /package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.e2e.js → test/basic/ic-checkbox-group.e2e.js} +0 -0
  965. /package/dist/collection/components/ic-dialog/{ic-dialog.e2e.js → test/basic/ic-dialog.e2e.js} +0 -0
  966. /package/dist/collection/components/ic-footer/{ic-footer.e2e.js → test/basic/ic-footer.e2e.js} +0 -0
  967. /package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.e2e.js → test/basic/ic-loading-indicator.e2e.js} +0 -0
  968. /package/dist/collection/components/ic-navigation-menu/{ic-navigation-menu.e2e.js → test/basic/ic-navigation-menu.e2e.js} +0 -0
  969. /package/dist/collection/components/ic-page-header/{ic-page-header.e2e.js → test/basic/ic-page-header.e2e.js} +0 -0
  970. /package/dist/collection/components/ic-pagination/{ic-pagination.e2e.js → test/basic/ic-pagination.e2e.js} +0 -0
  971. /package/dist/collection/components/ic-popover-menu/{ic-popover-menu.e2e.js → test/basic/ic-popover-menu.e2e.js} +0 -0
  972. /package/dist/collection/components/ic-radio-group/{ic-radio-group.e2e.js → test/basic/ic-radio-group.e2e.js} +0 -0
  973. /package/dist/collection/components/ic-search-bar/{ic-search-bar.e2e.js → test/basic/ic-search-bar.e2e.js} +0 -0
  974. /package/dist/collection/components/ic-select/{ic-select.e2e.js → test/basic/ic-select.e2e.js} +0 -0
  975. /package/dist/collection/components/ic-side-navigation/{ic-side-navigation-test-examples.js → test/basic/ic-side-navigation-test-examples.js} +0 -0
  976. /package/dist/collection/components/ic-side-navigation/{ic-side-navigation.e2e.js → test/basic/ic-side-navigation.e2e.js} +0 -0
  977. /package/dist/collection/components/ic-stepper/{ic-stepper-test-examples.js → test/basic/ic-stepper-test-examples.js} +0 -0
  978. /package/dist/collection/components/ic-stepper/{ic-stepper.e2e.js → test/basic/ic-stepper.e2e.js} +0 -0
  979. /package/dist/collection/components/ic-tab/{ic-tab.e2e.js → test/basic/ic-tab.e2e.js} +0 -0
  980. /package/dist/collection/components/ic-tab-context/{ic-tab-context.test.a11y.js → test/a11y/ic-tab-context.test.a11y.js} +0 -0
  981. /package/dist/collection/components/ic-text-field/{ic-text-field.test.a11y.js → test/a11y/ic-text-field.test.a11y.js} +0 -0
  982. /package/dist/collection/components/ic-text-field/{ic-text-field.e2e.js → test/basic/ic-text-field.e2e.js} +0 -0
  983. /package/dist/collection/components/ic-theme/{ic-theme.e2e.js → test/basic/ic-theme.e2e.js} +0 -0
  984. /package/dist/collection/components/ic-toast/{ic-toast.e2e.js → test/basic/ic-toast.e2e.js} +0 -0
  985. /package/dist/collection/components/ic-tooltip/{ic-tooltip.e2e.js → test/basic/ic-tooltip.e2e.js} +0 -0
  986. /package/dist/collection/components/ic-top-navigation/{ic-top-navigation.e2e.js → test/basic/ic-top-navigation.e2e.js} +0 -0
  987. /package/dist/collection/components/ic-top-navigation/{ic-top-navigation.mobile.e2e.js → test/basic/ic-top-navigation.mobile.e2e.js} +0 -0
  988. /package/dist/collection/components/ic-typography/{ic-typography.e2e.js → test/basic/ic-typography.e2e.js} +0 -0
  989. /package/dist/core/{p-e3e6308b.entry.js.map → p-e0bbf81e.entry.js.map} +0 -0
  990. /package/dist/types/components/ic-alert/{ic-alert.test.a11y.d.ts → test/a11y/ic-alert.test.a11y.d.ts} +0 -0
  991. /package/dist/types/components/ic-back-to-top/{ic-back-to-top.test.a11y.d.ts → test/a11y/ic-back-to-top.test.a11y.d.ts} +0 -0
  992. /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.d.ts → test/a11y/ic-breadcrumb-group.test.a11y.d.ts} +0 -0
  993. /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.d.ts → test/basic/ic-breadcrumb-group-test-examples.d.ts} +0 -0
  994. /package/dist/types/components/ic-button/{ic-button.test.a11y.d.ts → test/a11y/ic-button.test.a11y.d.ts} +0 -0
  995. /package/dist/types/components/ic-card/{ic-card.test.a11y.d.ts → test/a11y/ic-card.test.a11y.d.ts} +0 -0
  996. /package/dist/types/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.d.ts → test/a11y/ic-checkbox-group.test.a11y.d.ts} +0 -0
  997. /package/dist/types/components/ic-chip/{ic-chip.test.a11y.d.ts → test/a11y/ic-chip.test.a11y.d.ts} +0 -0
  998. /package/dist/types/components/ic-classification-banner/{ic-classification-banner.test.a11y.d.ts → test/a11y/ic-classification-banner.test.a11y.d.ts} +0 -0
  999. /package/dist/types/components/ic-data-entity/{ic-data-entity.test.a11y.d.ts → test/a11y/ic-data-entity.test.a11y.d.ts} +0 -0
  1000. /package/dist/types/components/ic-data-row/{ic-data-row.test.a11y.d.ts → test/a11y/ic-data-row.test.a11y.d.ts} +0 -0
  1001. /package/dist/types/components/ic-dialog/{ic-dialog.test.a11y.d.ts → test/a11y/ic-dialog.test.a11y.d.ts} +0 -0
  1002. /package/dist/types/components/ic-footer/{ic-footer.test.a11y.d.ts → test/a11y/ic-footer.test.a11y.d.ts} +0 -0
  1003. /package/dist/types/components/ic-footer-link/{ic-footer-link.test.a11y.d.ts → test/a11y/ic-footer-link.test.a11y.d.ts} +0 -0
  1004. /package/dist/types/components/ic-footer-link-group/{ic-footer-link-group.test.a11y.d.ts → test/a11y/ic-footer-link-group.test.a11y.d.ts} +0 -0
  1005. /package/dist/types/components/ic-hero/{ic-hero.test.a11y.d.ts → test/a11y/ic-hero.test.a11y.d.ts} +0 -0
  1006. /package/dist/types/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.d.ts → test/a11y/ic-horizontal-scroll.test.a11y.d.ts} +0 -0
  1007. /package/dist/types/components/ic-link/{ic-link.test.a11y.d.ts → test/a11y/ic-link.test.a11y.d.ts} +0 -0
  1008. /package/dist/types/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.d.ts → test/a11y/ic-loading-indicator.test.a11y.d.ts} +0 -0
  1009. /package/dist/types/components/ic-navigation-group/{ic-navigation-group.test.a11y.d.ts → test/a11y/ic-navigation-group.test.a11y.d.ts} +0 -0
  1010. /package/dist/types/components/ic-navigation-item/{ic-navigation-item.test.a11y.d.ts → test/a11y/ic-navigation-item.test.a11y.d.ts} +0 -0
  1011. /package/dist/types/components/ic-page-header/{ic-page-header.test.a11y.d.ts → test/a11y/ic-page-header.test.a11y.d.ts} +0 -0
  1012. /package/dist/types/components/ic-pagination/{ic-pagination.test.a11y.d.ts → test/a11y/ic-pagination.test.a11y.d.ts} +0 -0
  1013. /package/dist/types/components/ic-popover-menu/{ic-popover-menu.test.a11y.d.ts → test/a11y/ic-popover-menu.test.a11y.d.ts} +0 -0
  1014. /package/dist/types/components/ic-radio-group/{ic-radio-group.test.a11y.d.ts → test/a11y/ic-radio-group.test.a11y.d.ts} +0 -0
  1015. /package/dist/types/components/ic-search-bar/{ic-search-bar.test.a11y.d.ts → test/a11y/ic-search-bar.test.a11y.d.ts} +0 -0
  1016. /package/dist/types/components/ic-select/{ic-select.test.a11y.d.ts → test/a11y/ic-select.test.a11y.d.ts} +0 -0
  1017. /package/dist/types/components/ic-side-navigation/{ic-side-navigation.test.a11y.d.ts → test/a11y/ic-side-navigation.test.a11y.d.ts} +0 -0
  1018. /package/dist/types/components/ic-side-navigation/{ic-side-navigation-test-examples.d.ts → test/basic/ic-side-navigation-test-examples.d.ts} +0 -0
  1019. /package/dist/types/components/ic-skeleton/{ic-skeleton.test.a11y.d.ts → test/a11y/ic-skeleton.test.a11y.d.ts} +0 -0
  1020. /package/dist/types/components/ic-status-tag/{ic-status-tag.test.a11y.d.ts → test/a11y/ic-status-tag.test.a11y.d.ts} +0 -0
  1021. /package/dist/types/components/ic-stepper/{ic-stepper.test.a11y.d.ts → test/a11y/ic-stepper.test.a11y.d.ts} +0 -0
  1022. /package/dist/types/components/ic-stepper/{ic-stepper-test-examples.d.ts → test/basic/ic-stepper-test-examples.d.ts} +0 -0
  1023. /package/dist/types/components/ic-switch/{ic-switch.test.a11y.d.ts → test/a11y/ic-switch.test.a11y.d.ts} +0 -0
  1024. /package/dist/types/components/ic-tab-context/{ic-tab-context.test.a11y.d.ts → test/a11y/ic-tab-context.test.a11y.d.ts} +0 -0
  1025. /package/dist/types/components/ic-text-field/{ic-text-field.test.a11y.d.ts → test/a11y/ic-text-field.test.a11y.d.ts} +0 -0
  1026. /package/dist/types/components/ic-toast/{ic-toast.test.a11y.d.ts → test/a11y/ic-toast.test.a11y.d.ts} +0 -0
  1027. /package/dist/types/components/ic-tooltip/{ic-tooltip.test.a11y.d.ts → test/a11y/ic-tooltip.test.a11y.d.ts} +0 -0
  1028. /package/dist/types/components/ic-top-navigation/{ic-top-navigation.test.a11y.d.ts → test/a11y/ic-top-navigation.test.a11y.d.ts} +0 -0
  1029. /package/dist/types/components/ic-typography/{ic-typography.test.a11y.d.ts → test/a11y/ic-typography.test.a11y.d.ts} +0 -0
@@ -48,23 +48,18 @@ export class MenuItem {
48
48
  return ariaLabel;
49
49
  }
50
50
  };
51
- this.variant = "default";
52
- this.label = undefined;
51
+ this.toggleChecked = false;
53
52
  this.description = undefined;
54
53
  this.disabled = false;
55
54
  this.href = undefined;
56
- this.target = undefined;
57
- this.rel = undefined;
58
55
  this.hreflang = undefined;
59
- this.referrerpolicy = undefined;
60
56
  this.keyboardShortcut = undefined;
57
+ this.label = undefined;
58
+ this.referrerpolicy = undefined;
59
+ this.rel = undefined;
61
60
  this.submenuTriggerFor = undefined;
62
- this.toggleChecked = false;
63
- }
64
- handleHostClick(e) {
65
- if (this.disabled) {
66
- e.stopImmediatePropagation();
67
- }
61
+ this.target = undefined;
62
+ this.variant = "default";
68
63
  }
69
64
  componentWillLoad() {
70
65
  // This ensures that trigger menu items are always set to the default variant
@@ -76,6 +71,11 @@ export class MenuItem {
76
71
  componentDidLoad() {
77
72
  onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Menu Item");
78
73
  }
74
+ handleHostClick(e) {
75
+ if (this.disabled) {
76
+ e.stopImmediatePropagation();
77
+ }
78
+ }
79
79
  render() {
80
80
  // A helper function that checks if a prop has been defined
81
81
  const isPropDefined = (prop) => {
@@ -118,46 +118,6 @@ export class MenuItem {
118
118
  }
119
119
  static get properties() {
120
120
  return {
121
- "variant": {
122
- "type": "string",
123
- "mutable": true,
124
- "complexType": {
125
- "original": "IcMenuItemVariants",
126
- "resolved": "\"default\" | \"destructive\" | \"toggle\"",
127
- "references": {
128
- "IcMenuItemVariants": {
129
- "location": "import",
130
- "path": "./ic-menu-item.types"
131
- }
132
- }
133
- },
134
- "required": false,
135
- "optional": false,
136
- "docs": {
137
- "tags": [],
138
- "text": "The variant of the menu item."
139
- },
140
- "attribute": "variant",
141
- "reflect": true,
142
- "defaultValue": "\"default\""
143
- },
144
- "label": {
145
- "type": "string",
146
- "mutable": false,
147
- "complexType": {
148
- "original": "string",
149
- "resolved": "string",
150
- "references": {}
151
- },
152
- "required": true,
153
- "optional": false,
154
- "docs": {
155
- "tags": [],
156
- "text": "The label to display in the menu item."
157
- },
158
- "attribute": "label",
159
- "reflect": false
160
- },
161
121
  "description": {
162
122
  "type": "string",
163
123
  "mutable": false,
@@ -210,7 +170,7 @@ export class MenuItem {
210
170
  "attribute": "href",
211
171
  "reflect": false
212
172
  },
213
- "target": {
173
+ "hreflang": {
214
174
  "type": "string",
215
175
  "mutable": false,
216
176
  "complexType": {
@@ -222,12 +182,12 @@ export class MenuItem {
222
182
  "optional": true,
223
183
  "docs": {
224
184
  "tags": [],
225
- "text": "The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe)."
185
+ "text": "The human language of the linked URL."
226
186
  },
227
- "attribute": "target",
187
+ "attribute": "hreflang",
228
188
  "reflect": false
229
189
  },
230
- "rel": {
190
+ "keyboardShortcut": {
231
191
  "type": "string",
232
192
  "mutable": false,
233
193
  "complexType": {
@@ -239,12 +199,12 @@ export class MenuItem {
239
199
  "optional": true,
240
200
  "docs": {
241
201
  "tags": [],
242
- "text": "The relationship of the linked URL as space-separated link types."
202
+ "text": "The label describing the keyboard shortcut for a menu item's action."
243
203
  },
244
- "attribute": "rel",
204
+ "attribute": "keyboard-shortcut",
245
205
  "reflect": false
246
206
  },
247
- "hreflang": {
207
+ "label": {
248
208
  "type": "string",
249
209
  "mutable": false,
250
210
  "complexType": {
@@ -252,13 +212,13 @@ export class MenuItem {
252
212
  "resolved": "string",
253
213
  "references": {}
254
214
  },
255
- "required": false,
256
- "optional": true,
215
+ "required": true,
216
+ "optional": false,
257
217
  "docs": {
258
218
  "tags": [],
259
- "text": "The human language of the linked URL."
219
+ "text": "The label to display in the menu item."
260
220
  },
261
- "attribute": "hreflang",
221
+ "attribute": "label",
262
222
  "reflect": false
263
223
  },
264
224
  "referrerpolicy": {
@@ -282,7 +242,7 @@ export class MenuItem {
282
242
  "attribute": "referrerpolicy",
283
243
  "reflect": false
284
244
  },
285
- "keyboardShortcut": {
245
+ "rel": {
286
246
  "type": "string",
287
247
  "mutable": false,
288
248
  "complexType": {
@@ -294,9 +254,9 @@ export class MenuItem {
294
254
  "optional": true,
295
255
  "docs": {
296
256
  "tags": [],
297
- "text": "The label describing the keyboard shortcut for a menu item's action."
257
+ "text": "The relationship of the linked URL as space-separated link types."
298
258
  },
299
- "attribute": "keyboard-shortcut",
259
+ "attribute": "rel",
300
260
  "reflect": false
301
261
  },
302
262
  "submenuTriggerFor": {
@@ -315,6 +275,46 @@ export class MenuItem {
315
275
  },
316
276
  "attribute": "submenu-trigger-for",
317
277
  "reflect": false
278
+ },
279
+ "target": {
280
+ "type": "string",
281
+ "mutable": false,
282
+ "complexType": {
283
+ "original": "string",
284
+ "resolved": "string",
285
+ "references": {}
286
+ },
287
+ "required": false,
288
+ "optional": true,
289
+ "docs": {
290
+ "tags": [],
291
+ "text": "The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe)."
292
+ },
293
+ "attribute": "target",
294
+ "reflect": false
295
+ },
296
+ "variant": {
297
+ "type": "string",
298
+ "mutable": true,
299
+ "complexType": {
300
+ "original": "IcMenuItemVariants",
301
+ "resolved": "\"default\" | \"destructive\" | \"toggle\"",
302
+ "references": {
303
+ "IcMenuItemVariants": {
304
+ "location": "import",
305
+ "path": "./ic-menu-item.types"
306
+ }
307
+ }
308
+ },
309
+ "required": false,
310
+ "optional": false,
311
+ "docs": {
312
+ "tags": [],
313
+ "text": "The variant of the menu item."
314
+ },
315
+ "attribute": "variant",
316
+ "reflect": true,
317
+ "defaultValue": "\"default\""
318
318
  }
319
319
  };
320
320
  }
@@ -343,39 +343,39 @@ export class MenuItem {
343
343
  "references": {}
344
344
  }
345
345
  }, {
346
- "method": "triggerPopoverMenuInstance",
347
- "name": "triggerPopoverMenuInstance",
346
+ "method": "handleMenuItemClick",
347
+ "name": "handleMenuItemClick",
348
348
  "bubbles": true,
349
349
  "cancelable": true,
350
350
  "composed": true,
351
351
  "docs": {
352
352
  "tags": [{
353
353
  "name": "internal",
354
- "text": "Emitted when the user clicks a menu item that triggers a popover menu instance."
354
+ "text": "Emitted when the user clicks a menu item."
355
355
  }],
356
356
  "text": ""
357
357
  },
358
358
  "complexType": {
359
- "original": "void",
360
- "resolved": "void",
359
+ "original": "{\n label: string;\n hasSubMenu: boolean;\n }",
360
+ "resolved": "{ label: string; hasSubMenu: boolean; }",
361
361
  "references": {}
362
362
  }
363
363
  }, {
364
- "method": "handleMenuItemClick",
365
- "name": "handleMenuItemClick",
364
+ "method": "triggerPopoverMenuInstance",
365
+ "name": "triggerPopoverMenuInstance",
366
366
  "bubbles": true,
367
367
  "cancelable": true,
368
368
  "composed": true,
369
369
  "docs": {
370
370
  "tags": [{
371
371
  "name": "internal",
372
- "text": "Emitted when the user clicks a menu item."
372
+ "text": "Emitted when the user clicks a menu item that triggers a popover menu instance."
373
373
  }],
374
374
  "text": ""
375
375
  },
376
376
  "complexType": {
377
- "original": "{\n label: string;\n hasSubMenu: boolean;\n }",
378
- "resolved": "{ label: string; hasSubMenu: boolean; }",
377
+ "original": "void",
378
+ "resolved": "void",
379
379
  "references": {}
380
380
  }
381
381
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"ic-menu-item.js","sourceRoot":"","sources":["../../../src/components/ic-menu-item/ic-menu-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,CAAC,EACD,KAAK,EACL,KAAK,EAEL,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,gCAAgC,EAChC,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,MAAM,6BAA6B,CAAC;AAChD,OAAO,OAAO,MAAM,+BAA+B,CAAC;AAEpD;;GAEG;AASH,MAAM,OAAO,QAAQ;;IAyEX,gBAAW,GAAG,CAAC,CAAQ,EAAQ,EAAE;MACvC,CAAC,CAAC,cAAc,EAAE,CAAC;MACnB,IAAI,IAAI,CAAC,iBAAiB,KAAK,SAAS,EAAE;QACxC,IAAI,CAAC,0BAA0B,CAAC,IAAI,EAAE,CAAC;OACxC;WAAM,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ,EAAE;QACpC,IAAI,CAAC,aAAa;UAChB,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;UAC9B,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;OACjC;MACD,IAAI,CAAC,mBAAmB,CAAC,IAAI,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AAC,EAAE,EAAE,MAAM,CAAC,IAAI,CAC9B,YAAM,KAAK,EAAC,MAAM;cAChB,YAAM,IAAI,EAAC,MAAM,GAAQ,CACpB,CACR;YACD,EAAC,mBAAmB,OAAG;YACtB,IAAI,CAAC,OAAO,KAAK,QAAQ,IAAI,CAC5B,YACE,KAAK,EAAE;gBACL,CAAC,YAAY,CAAC,EAAE,IAAI;gBACpB,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,aAAa;eAC9B,iBACW,MAAM,EAClB,SAAS,EAAE,KAAK,GAChB,CACH;YACA,IAAI,CAAC,iBAAiB,KAAK,SAAS,IAAI,CACvC,YACE,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,IAAI,EAAE,iBACrB,MAAM,EAClB,SAAS,EAAE,OAAO,GAClB,CACH,CACG,CACI,CACT,CACA,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Host,\n Prop,\n h,\n State,\n Event,\n EventEmitter,\n Listen,\n} from \"@stencil/core\";\nimport {\n getParentElement,\n isSlotUsed,\n onComponentRequiredPropUndefined,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\nimport { IcMenuItemVariants } from \"./ic-menu-item.types\";\nimport Check from \"../../assets/check-icon.svg\";\nimport Chevron from \"../../assets/chevron-icon.svg\";\n\n/**\n * @slot icon - Content will be placed to the left of the menu item label.\n */\n\n@Component({\n tag: \"ic-menu-item\",\n styleUrl: \"ic-menu-item.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class MenuItem {\n @Element() el: HTMLIcMenuItemElement;\n\n /**\n * The variant of the menu item.\n */\n @Prop({ mutable: true, reflect: true }) variant: IcMenuItemVariants =\n \"default\";\n /**\n * The label to display in the menu item.\n */\n @Prop() label!: string;\n /**\n * The description displayed in the menu item, below the label.\n */\n @Prop() description?: string;\n /**\n * If `true`, the menu item will be in disabled state.\n */\n @Prop() disabled?: boolean = false;\n /**\n * The URL that the link points to. This will render the menu item as an \"a\" tag.\n */\n @Prop() href?: string;\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string;\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n /**\n * The label describing the keyboard shortcut for a menu item's action.\n */\n @Prop() keyboardShortcut?: string;\n /**\n * This references the popover menu instance that the menu item is a trigger for. If this prop is set, then the variant will always be default.\n */\n @Prop() submenuTriggerFor?: string;\n /**\n * @internal Emitted when item loses focus.\n */\n @Event() childBlur: EventEmitter<void>;\n /**\n * @internal Emitted when the user clicks a menu item that triggers a popover menu instance.\n */\n @Event() triggerPopoverMenuInstance: EventEmitter<void>;\n /**\n * @internal Emitted when the user clicks a menu item.\n */\n @Event() handleMenuItemClick: EventEmitter<{\n label: string;\n hasSubMenu: boolean;\n }>;\n\n @State() toggleChecked: boolean = false;\n\n @Listen(\"click\", { capture: true })\n handleHostClick(e: Event): void {\n if (this.disabled) {\n e.stopImmediatePropagation();\n }\n }\n\n private handleClick = (e: Event): void => {\n e.preventDefault();\n if (this.submenuTriggerFor !== undefined) {\n this.triggerPopoverMenuInstance.emit();\n } else if (this.variant === \"toggle\") {\n this.toggleChecked\n ? (this.toggleChecked = false)\n : (this.toggleChecked = true);\n }\n this.handleMenuItemClick.emit({\n label: this.label,\n hasSubMenu: !!this.el.submenuTriggerFor,\n });\n };\n\n componentWillLoad(): void {\n // This ensures that trigger menu items are always set to the default variant\n if (this.submenuTriggerFor !== undefined && this.variant !== \"default\") {\n this.variant = \"default\";\n }\n\n removeDisabledFalse(this.disabled, this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Menu Item\"\n );\n }\n\n private getMenuItemAriaLabel = (): string => {\n let ariaLabel = this.label;\n\n if (this.description !== undefined) {\n ariaLabel = `${ariaLabel}, ${this.description}`;\n }\n\n if (this.keyboardShortcut !== undefined) {\n ariaLabel = `${ariaLabel}, ${this.keyboardShortcut}`;\n }\n\n if (this.variant === \"destructive\") {\n ariaLabel = `${ariaLabel}, destructive`;\n }\n\n if (this.submenuTriggerFor !== undefined) {\n ariaLabel = `${ariaLabel}, triggers submenu`;\n }\n\n if (this.el.classList.contains(\"ic-popover-submenu-back-button\")) {\n ariaLabel = \"Go back to parent menu\";\n }\n const parentEl = getParentElement(this.el);\n\n if (\n parentEl.tagName === \"IC-MENU-GROUP\" &&\n (parentEl as HTMLIcMenuGroupElement).label\n ) {\n return `${ariaLabel}, ${\n (parentEl as HTMLIcMenuGroupElement).label\n } menu group`;\n } else {\n return ariaLabel;\n }\n };\n\n render() {\n // A helper function that checks if a prop has been defined\n const isPropDefined = (prop: string) => {\n return prop !== undefined ? prop : null;\n };\n\n // A sub-component to layout the menu information correctly in ic-button\n const MenuItemInformation = () => {\n return (\n <div class=\"menu-item-info\">\n <div class=\"menu-labels\">\n <ic-typography class=\"menu-item-label\">{this.label}</ic-typography>\n {this.keyboardShortcut && (\n <ic-typography variant=\"caption\" class=\"shortcut\">\n {this.keyboardShortcut}\n </ic-typography>\n )}\n </div>\n {this.description && (\n <ic-typography class=\"menu-item-description\" variant=\"caption\">\n {this.description}\n </ic-typography>\n )}\n </div>\n );\n };\n\n return (\n <Host\n class={{\n [\"disabled\"]: this.disabled,\n }}\n >\n <li\n role={this.variant === \"toggle\" ? \"menuitemcheckbox\" : \"menuitem\"}\n aria-disabled={`${this.disabled}`}\n aria-checked={\n this.variant === \"toggle\" && this.toggleChecked === true\n ? true\n : this.variant === \"toggle\" && this.toggleChecked === false\n ? false\n : undefined\n }\n >\n <ic-button\n disableTooltip\n fullWidth\n variant=\"tertiary\"\n onClick={this.handleClick}\n href={isPropDefined(this.href)}\n hreflang={isPropDefined(this.hreflang)}\n target={isPropDefined(this.target)}\n rel={isPropDefined(this.rel)}\n referrerpolicy={\n this.referrerpolicy !== undefined ? this.referrerpolicy : null\n }\n aria-disabled={`${this.disabled}`}\n aria-label={this.getMenuItemAriaLabel()}\n aria-controls={\n this.submenuTriggerFor !== undefined\n ? `ic-popover-submenu-${this.submenuTriggerFor}`\n : false\n }\n aria-haspopup={\n this.submenuTriggerFor !== undefined ||\n this.el.classList.contains(\"ic-popover-submenu-back-button\")\n ? \"menu\"\n : false\n }\n aria-owns={\n this.submenuTriggerFor !== undefined\n ? `ic-popover-submenu-${this.submenuTriggerFor}`\n : false\n }\n >\n <div class=\"focus-border\">\n {isSlotUsed(this.el, \"icon\") && (\n <span class=\"icon\">\n <slot name=\"icon\"></slot>\n </span>\n )}\n <MenuItemInformation />\n {this.variant === \"toggle\" && (\n <span\n class={{\n [\"check-icon\"]: true,\n [\"hide\"]: !this.toggleChecked,\n }}\n aria-hidden=\"true\"\n innerHTML={Check}\n />\n )}\n {this.submenuTriggerFor !== undefined && (\n <span\n class={{ [\"submenu-icon\"]: true }}\n aria-hidden=\"true\"\n innerHTML={Chevron}\n />\n )}\n </div>\n </ic-button>\n </li>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ic-menu-item.js","sourceRoot":"","sources":["../../../src/components/ic-menu-item/ic-menu-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,CAAC,EACD,KAAK,EACL,KAAK,EAEL,MAAM,GACP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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Host,\n Prop,\n h,\n State,\n Event,\n EventEmitter,\n Listen,\n} from \"@stencil/core\";\nimport {\n getParentElement,\n isSlotUsed,\n onComponentRequiredPropUndefined,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\nimport { IcMenuItemVariants } from \"./ic-menu-item.types\";\nimport Check from \"../../assets/check-icon.svg\";\nimport Chevron from \"../../assets/chevron-icon.svg\";\n\n/**\n * @slot icon - Content will be placed to the left of the menu item label.\n */\n\n@Component({\n tag: \"ic-menu-item\",\n styleUrl: \"ic-menu-item.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class MenuItem {\n @Element() el: HTMLIcMenuItemElement;\n\n @State() toggleChecked: boolean = false;\n\n /**\n * The description displayed in the menu item, below the label.\n */\n @Prop() description?: string;\n\n /**\n * If `true`, the menu item will be in disabled state.\n */\n @Prop() disabled?: boolean = false;\n\n /**\n * The URL that the link points to. This will render the menu item as an \"a\" tag.\n */\n @Prop() href?: string;\n\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string;\n\n /**\n * The label describing the keyboard shortcut for a menu item's action.\n */\n @Prop() keyboardShortcut?: string;\n\n /**\n * The label to display in the menu item.\n */\n @Prop() label!: string;\n\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n\n /**\n * This references the popover menu instance that the menu item is a trigger for. If this prop is set, then the variant will always be default.\n */\n @Prop() submenuTriggerFor?: string;\n\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n\n /**\n * The variant of the menu item.\n */\n @Prop({ mutable: true, reflect: true }) variant: IcMenuItemVariants =\n \"default\";\n\n /**\n * @internal Emitted when item loses focus.\n */\n @Event() childBlur: EventEmitter<void>;\n\n /**\n * @internal Emitted when the user clicks a menu item.\n */\n @Event() handleMenuItemClick: EventEmitter<{\n label: string;\n hasSubMenu: boolean;\n }>;\n\n /**\n * @internal Emitted when the user clicks a menu item that triggers a popover menu instance.\n */\n @Event() triggerPopoverMenuInstance: EventEmitter<void>;\n\n componentWillLoad(): void {\n // This ensures that trigger menu items are always set to the default variant\n if (this.submenuTriggerFor !== undefined && this.variant !== \"default\") {\n this.variant = \"default\";\n }\n removeDisabledFalse(this.disabled, this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Menu Item\"\n );\n }\n\n @Listen(\"click\", { capture: true })\n handleHostClick(e: Event): void {\n if (this.disabled) {\n e.stopImmediatePropagation();\n }\n }\n\n private handleClick = (e: Event): void => {\n e.preventDefault();\n if (this.submenuTriggerFor !== undefined) {\n this.triggerPopoverMenuInstance.emit();\n } else if (this.variant === \"toggle\") {\n this.toggleChecked\n ? (this.toggleChecked = false)\n : (this.toggleChecked = true);\n }\n this.handleMenuItemClick.emit({\n label: this.label,\n hasSubMenu: !!this.el.submenuTriggerFor,\n });\n };\n\n private getMenuItemAriaLabel = (): string => {\n let ariaLabel = this.label;\n\n if (this.description !== undefined) {\n ariaLabel = `${ariaLabel}, ${this.description}`;\n }\n\n if (this.keyboardShortcut !== undefined) {\n ariaLabel = `${ariaLabel}, ${this.keyboardShortcut}`;\n }\n\n if (this.variant === \"destructive\") {\n ariaLabel = `${ariaLabel}, destructive`;\n }\n\n if (this.submenuTriggerFor !== undefined) {\n ariaLabel = `${ariaLabel}, triggers submenu`;\n }\n\n if (this.el.classList.contains(\"ic-popover-submenu-back-button\")) {\n ariaLabel = \"Go back to parent menu\";\n }\n const parentEl = getParentElement(this.el);\n\n if (\n parentEl.tagName === \"IC-MENU-GROUP\" &&\n (parentEl as HTMLIcMenuGroupElement).label\n ) {\n return `${ariaLabel}, ${\n (parentEl as HTMLIcMenuGroupElement).label\n } menu group`;\n } else {\n return ariaLabel;\n }\n };\n\n render() {\n // A helper function that checks if a prop has been defined\n const isPropDefined = (prop: string) => {\n return prop !== undefined ? prop : null;\n };\n\n // A sub-component to layout the menu information correctly in ic-button\n const MenuItemInformation = () => {\n return (\n <div class=\"menu-item-info\">\n <div class=\"menu-labels\">\n <ic-typography class=\"menu-item-label\">{this.label}</ic-typography>\n {this.keyboardShortcut && (\n <ic-typography variant=\"caption\" class=\"shortcut\">\n {this.keyboardShortcut}\n </ic-typography>\n )}\n </div>\n {this.description && (\n <ic-typography class=\"menu-item-description\" variant=\"caption\">\n {this.description}\n </ic-typography>\n )}\n </div>\n );\n };\n\n return (\n <Host\n class={{\n [\"disabled\"]: this.disabled,\n }}\n >\n <li\n role={this.variant === \"toggle\" ? \"menuitemcheckbox\" : \"menuitem\"}\n aria-disabled={`${this.disabled}`}\n aria-checked={\n this.variant === \"toggle\" && this.toggleChecked === true\n ? true\n : this.variant === \"toggle\" && this.toggleChecked === false\n ? false\n : undefined\n }\n >\n <ic-button\n disableTooltip\n fullWidth\n variant=\"tertiary\"\n onClick={this.handleClick}\n href={isPropDefined(this.href)}\n hreflang={isPropDefined(this.hreflang)}\n target={isPropDefined(this.target)}\n rel={isPropDefined(this.rel)}\n referrerpolicy={\n this.referrerpolicy !== undefined ? this.referrerpolicy : null\n }\n aria-disabled={`${this.disabled}`}\n aria-label={this.getMenuItemAriaLabel()}\n aria-controls={\n this.submenuTriggerFor !== undefined\n ? `ic-popover-submenu-${this.submenuTriggerFor}`\n : false\n }\n aria-haspopup={\n this.submenuTriggerFor !== undefined ||\n this.el.classList.contains(\"ic-popover-submenu-back-button\")\n ? \"menu\"\n : false\n }\n aria-owns={\n this.submenuTriggerFor !== undefined\n ? `ic-popover-submenu-${this.submenuTriggerFor}`\n : false\n }\n >\n <div class=\"focus-border\">\n {isSlotUsed(this.el, \"icon\") && (\n <span class=\"icon\">\n <slot name=\"icon\"></slot>\n </span>\n )}\n <MenuItemInformation />\n {this.variant === \"toggle\" && (\n <span\n class={{\n [\"check-icon\"]: true,\n [\"hide\"]: !this.toggleChecked,\n }}\n aria-hidden=\"true\"\n innerHTML={Check}\n />\n )}\n {this.submenuTriggerFor !== undefined && (\n <span\n class={{ [\"submenu-icon\"]: true }}\n aria-hidden=\"true\"\n innerHTML={Chevron}\n />\n )}\n </div>\n </ic-button>\n </li>\n </Host>\n );\n }\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import { newSpecPage } from "@stencil/core/testing";
2
- import { MenuItem } from "./ic-menu-item";
3
- import { Button } from "../ic-button/ic-button";
2
+ import { MenuItem } from "../../ic-menu-item";
3
+ import { Button } from "../../../ic-button/ic-button";
4
4
  describe("menu item variants", () => {
5
5
  it("should render the default variant", async () => {
6
6
  const page = await newSpecPage({
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-menu-item.spec.js","sourceRoot":"","sources":["../../../../../src/components/ic-menu-item/test/basic/ic-menu-item.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAEtD,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;EAClC,EAAE,CAAC,mCAAmC,EAAE,KAAK,IAAI,EAAE;IACjD,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,QAAQ,CAAC;MACtB,IAAI,EAAE;;aAEC;KACR,CAAC,CAAC;IAEH,MAAM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AAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC;EACtC,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,wCAAwC,EAAE,KAAK,IAAI,EAAE;IACtD,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,QAAQ,CAAC;MACtB,IAAI,EAAE;;;;aAIC;KACR,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC;IAChD,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,SAAkC,CAAC,CAAC;IAElE,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,gBAAgB,EAAE,CAAC;EACtD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { MenuItem } from \"../../ic-menu-item\";\nimport { Button } from \"../../../ic-button/ic-button\";\n\ndescribe(\"menu item variants\", () => {\n it(\"should render the default variant\", async () => {\n const page = await newSpecPage({\n components: [MenuItem],\n html: `<ic-menu-item\n label=\"Default variant\"\n />`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render a menu item with a description\", async () => {\n const page = await newSpecPage({\n components: [MenuItem],\n html: `<ic-menu-item\n label=\"Default variant\"\n description=\"This is the default variant of the menu item with a description\"\n />`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with keyboard shortcut\", async () => {\n const page = await newSpecPage({\n components: [MenuItem],\n html: `<ic-menu-item\n label=\"Toggle variant\"\n keyboard-shortcut=\"Cmd+\"\n />`,\n });\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render the toggle variant\", async () => {\n const page = await newSpecPage({\n components: [MenuItem, Button],\n html: `<ic-menu-item\n variant=\"toggle\"\n label=\"Toggle variant\"\n id=\"test-menu-item\"\n />`,\n });\n\n expect(page.root).toMatchSnapshot();\n expect(page.rootInstance.variant).toMatch(\"toggle\");\n expect(page.rootInstance.toggleChecked).toBeFalsy();\n\n const button = page.root.shadowRoot\n .querySelector(\"li > ic-button\")\n .shadowRoot.querySelector(\"button\");\n\n button.click();\n await page.waitForChanges;\n });\n\n it(\"should render the destructive variant\", async () => {\n const page = await newSpecPage({\n components: [MenuItem],\n html: `<ic-menu-item\n variant=\"destuctive\"\n label=\"Destructive variant\"\n />`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render a menu item that triggers a popover menu instance\", async () => {\n const page = await newSpecPage({\n components: [MenuItem],\n html: `<ic-menu-item\n variant=\"destuctive\"\n submenu-trigger-for=\"submenu-1\"\n label=\"Destructive variant\"\n />`,\n });\n\n expect(page.rootInstance.submenuTriggerFor).not.toBeUndefined();\n\n expect(page.rootInstance.variant).toMatch(\"default\");\n });\n\n it('should emit the triggerPopoverMenuInstance event when the menu item has the prop: \"submenu-trigger-for\" and is clicked', async () => {\n const page = await newSpecPage({\n components: [MenuItem, Button],\n html: `<ic-menu-item\n id=\"test-menu-item\"\n submenu-trigger-for=\"submenu-1\"\n label=\"I emit an event\"\n />`,\n });\n\n const eventSpy = jest.fn();\n page.win.addEventListener(\"triggerPopoverMenuInstance\", eventSpy);\n expect(page.rootInstance.submenuTriggerFor).not.toBeUndefined();\n\n const element = await document.getElementById(\"test-menu-item\");\n\n await element.click();\n\n await page.waitForChanges();\n\n await page.rootInstance.handleClick;\n });\n\n it(\"should prevent default action on click\", async () => {\n const page = await newSpecPage({\n components: [MenuItem],\n html: `<ic-menu-item\n id=\"test-menu-item\"\n label=\"I emit an event\"\n submenu-trigger-for=\"test-submenu\"\n />`,\n });\n\n const mockEvent = { preventDefault: jest.fn() };\n page.rootInstance.handleClick(mockEvent as unknown as MouseEvent);\n\n expect(mockEvent.preventDefault).toHaveBeenCalled();\n });\n});\n"]}
@@ -8,15 +8,24 @@ import { IcThemeForegroundEnum, } from "../../utils/types";
8
8
  export class NavigationButton {
9
9
  constructor() {
10
10
  this.inheritedAttributes = {};
11
- this.label = undefined;
12
- this.href = undefined;
13
- this.target = undefined;
14
- this.rel = undefined;
11
+ this.initialAppearance = getThemeForegroundColor();
12
+ this.mode = "navbar";
15
13
  this.download = false;
14
+ this.href = undefined;
16
15
  this.hreflang = undefined;
16
+ this.label = undefined;
17
17
  this.referrerpolicy = undefined;
18
- this.mode = "navbar";
19
- this.initialAppearance = getThemeForegroundColor();
18
+ this.rel = undefined;
19
+ this.target = undefined;
20
+ }
21
+ componentWillLoad() {
22
+ this.inheritedAttributes = inheritAttributes(this.el, [
23
+ ...IC_INHERITED_ARIA,
24
+ "title",
25
+ ]);
26
+ }
27
+ componentDidLoad() {
28
+ onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Navigation Button");
20
29
  }
21
30
  navBarMenuOpenHandler() {
22
31
  this.mode = "menu";
@@ -36,15 +45,6 @@ export class NavigationButton {
36
45
  this.buttonEl.focus();
37
46
  }
38
47
  }
39
- componentWillLoad() {
40
- this.inheritedAttributes = inheritAttributes(this.el, [
41
- ...IC_INHERITED_ARIA,
42
- "title",
43
- ]);
44
- }
45
- componentDidLoad() {
46
- onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Navigation Button");
47
- }
48
48
  render() {
49
49
  const { href, target, rel, download, referrerpolicy } = this;
50
50
  let label = "";
@@ -89,22 +89,23 @@ export class NavigationButton {
89
89
  }
90
90
  static get properties() {
91
91
  return {
92
- "label": {
93
- "type": "string",
92
+ "download": {
93
+ "type": "any",
94
94
  "mutable": false,
95
95
  "complexType": {
96
- "original": "string",
97
- "resolved": "string",
96
+ "original": "string | boolean",
97
+ "resolved": "boolean | string",
98
98
  "references": {}
99
99
  },
100
- "required": true,
101
- "optional": false,
100
+ "required": false,
101
+ "optional": true,
102
102
  "docs": {
103
103
  "tags": [],
104
- "text": "The label info to display."
104
+ "text": "If `true`, the user can save the linked URL instead of navigating to it."
105
105
  },
106
- "attribute": "label",
107
- "reflect": false
106
+ "attribute": "download",
107
+ "reflect": false,
108
+ "defaultValue": "false"
108
109
  },
109
110
  "href": {
110
111
  "type": "string",
@@ -123,7 +124,7 @@ export class NavigationButton {
123
124
  "attribute": "href",
124
125
  "reflect": false
125
126
  },
126
- "target": {
127
+ "hreflang": {
127
128
  "type": "string",
128
129
  "mutable": false,
129
130
  "complexType": {
@@ -135,12 +136,12 @@ export class NavigationButton {
135
136
  "optional": true,
136
137
  "docs": {
137
138
  "tags": [],
138
- "text": "The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe)."
139
+ "text": "The human language of the linked URL."
139
140
  },
140
- "attribute": "target",
141
+ "attribute": "hreflang",
141
142
  "reflect": false
142
143
  },
143
- "rel": {
144
+ "label": {
144
145
  "type": "string",
145
146
  "mutable": false,
146
147
  "complexType": {
@@ -148,34 +149,37 @@ export class NavigationButton {
148
149
  "resolved": "string",
149
150
  "references": {}
150
151
  },
151
- "required": false,
152
- "optional": true,
152
+ "required": true,
153
+ "optional": false,
153
154
  "docs": {
154
155
  "tags": [],
155
- "text": "The relationship of the linked URL as space-separated link types."
156
+ "text": "The label info to display."
156
157
  },
157
- "attribute": "rel",
158
+ "attribute": "label",
158
159
  "reflect": false
159
160
  },
160
- "download": {
161
- "type": "any",
161
+ "referrerpolicy": {
162
+ "type": "string",
162
163
  "mutable": false,
163
164
  "complexType": {
164
- "original": "string | boolean",
165
- "resolved": "boolean | string",
166
- "references": {}
165
+ "original": "ReferrerPolicy",
166
+ "resolved": "\"\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\"",
167
+ "references": {
168
+ "ReferrerPolicy": {
169
+ "location": "global"
170
+ }
171
+ }
167
172
  },
168
173
  "required": false,
169
174
  "optional": true,
170
175
  "docs": {
171
176
  "tags": [],
172
- "text": "If `true`, the user can save the linked URL instead of navigating to it."
177
+ "text": "How much of the referrer to send when following the link."
173
178
  },
174
- "attribute": "download",
175
- "reflect": false,
176
- "defaultValue": "false"
179
+ "attribute": "referrerpolicy",
180
+ "reflect": false
177
181
  },
178
- "hreflang": {
182
+ "rel": {
179
183
  "type": "string",
180
184
  "mutable": false,
181
185
  "complexType": {
@@ -187,38 +191,34 @@ export class NavigationButton {
187
191
  "optional": true,
188
192
  "docs": {
189
193
  "tags": [],
190
- "text": "The human language of the linked URL."
194
+ "text": "The relationship of the linked URL as space-separated link types."
191
195
  },
192
- "attribute": "hreflang",
196
+ "attribute": "rel",
193
197
  "reflect": false
194
198
  },
195
- "referrerpolicy": {
199
+ "target": {
196
200
  "type": "string",
197
201
  "mutable": false,
198
202
  "complexType": {
199
- "original": "ReferrerPolicy",
200
- "resolved": "\"\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\"",
201
- "references": {
202
- "ReferrerPolicy": {
203
- "location": "global"
204
- }
205
- }
203
+ "original": "string",
204
+ "resolved": "string",
205
+ "references": {}
206
206
  },
207
207
  "required": false,
208
208
  "optional": true,
209
209
  "docs": {
210
210
  "tags": [],
211
- "text": "How much of the referrer to send when following the link."
211
+ "text": "The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe)."
212
212
  },
213
- "attribute": "referrerpolicy",
213
+ "attribute": "target",
214
214
  "reflect": false
215
215
  }
216
216
  };
217
217
  }
218
218
  static get states() {
219
219
  return {
220
- "mode": {},
221
- "initialAppearance": {}
220
+ "initialAppearance": {},
221
+ "mode": {}
222
222
  };
223
223
  }
224
224
  static get methods() {
@@ -1 +1 @@
1
- {"version":3,"file":"ic-navigation-button.js","sourceRoot":"","sources":["../../../src/components/ic-navigation-button/ic-navigation-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,CAAC,EACD,MAAM,EACN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n Element,\n Host,\n Prop,\n State,\n h,\n Listen,\n Method,\n} from \"@stencil/core\";\n\nimport {\n getThemeForegroundColor,\n inheritAttributes,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IC_INHERITED_ARIA } from \"../../utils/constants\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport { IcNavButtonModes } from \"./ic-navigation-button.types\";\n\n/**\n * @slot icon - Content will be placed to the left of the button label.\n */\n\n@Component({\n tag: \"ic-navigation-button\",\n styleUrl: \"ic-navigation-button.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class NavigationButton {\n @Element() el: HTMLIcNavigationButtonElement;\n\n /**\n * The label info to display.\n */\n @Prop() label!: string;\n /**\n * The URL that the link points to. This will render the button as an \"a\" tag.\n */\n @Prop() href?: string;\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n /**\n * If `true`, the user can save the linked URL instead of navigating to it.\n */\n @Prop() download?: string | boolean = false;\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string;\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n\n /**\n * The display mode.\n */\n @State() mode: IcNavButtonModes = \"navbar\";\n\n @State() initialAppearance = getThemeForegroundColor();\n\n private buttonEl: HTMLIcButtonElement;\n private inheritedAttributes: { [k: string]: unknown } = {};\n\n @Listen(\"icNavigationMenuOpened\", { target: \"document\" })\n navBarMenuOpenHandler(): void {\n this.mode = \"menu\";\n }\n\n @Listen(\"icNavigationMenuClosed\", { target: \"document\" })\n navBarMenuCloseHandler(): void {\n this.mode = \"navbar\";\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.initialAppearance = theme.mode;\n }\n\n /**\n * Sets focus on the native `button`.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.buttonEl) {\n this.buttonEl.focus();\n }\n }\n\n componentWillLoad(): void {\n this.inheritedAttributes = inheritAttributes(this.el, [\n ...IC_INHERITED_ARIA,\n \"title\",\n ]);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Navigation Button\"\n );\n }\n\n render() {\n const { href, target, rel, download, referrerpolicy } = this;\n\n let label = \"\";\n let className = \"\";\n let variant: \"icon\" | \"tertiary\" = \"icon\";\n let appearance: IcThemeForeground | IcThemeForegroundEnum.Default =\n this.initialAppearance;\n let size: \"default\" | \"large\" = \"large\";\n let fullWidth = false;\n\n if (this.mode === \"menu\") {\n label = this.label;\n variant = \"tertiary\";\n appearance = IcThemeForegroundEnum.Default;\n size = \"default\";\n fullWidth = true;\n className = \"popout-menu-button\";\n }\n\n const buttonProps = {\n variant,\n appearance,\n size,\n href,\n target,\n rel,\n download,\n referrerpolicy,\n fullWidth,\n };\n\n return (\n <Host class={{ [\"in-side-menu\"]: this.mode === \"menu\" }}>\n <ic-button\n class={className}\n aria-label={this.label}\n ref={(el) => (this.buttonEl = el)}\n {...buttonProps}\n {...this.inheritedAttributes}\n >\n {label}\n <slot slot=\"icon\" name=\"icon\"></slot>\n </ic-button>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ic-navigation-button.js","sourceRoot":"","sources":["../../../src/components/ic-navigation-button/ic-navigation-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,CAAC,EACD,MAAM,EACN,MAAM,GACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAGL,qBAAqB,GACt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AAI,IAAI,CAAC,IAAI,KAAK,MAAM,EAAE;MACxB,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;MACnB,OAAO,GAAG,UAAU,CAAC;MACrB,UAAU,GAAG,qBAAqB,CAAC,OAAO,CAAC;MAC3C,IAAI,GAAG,SAAS,CAAC;MACjB,SAAS,GAAG,IAAI,CAAC;MACjB,SAAS,GAAG,oBAAoB,CAAC;KAClC;IAED,MAAM,WAAW,GAAG;MAClB,OAAO;MACP,UAAU;MACV,IAAI;MACJ,IAAI;MACJ,MAAM;MACN,GAAG;MACH,QAAQ;MACR,cAAc;MACd,SAAS;KACV,CAAC;IAEF,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC,IAAI,KAAK,MAAM,EAAE;MACrD,+BACE,KAAK,EAAE,SAAS,gBACJ,IAAI,CAAC,KAAK,EACtB,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC,IAC7B,WAAW,EACX,IAAI,CAAC,mBAAmB;QAE3B,KAAK;QACN,YAAM,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,GAAQ,CAC3B,CACP,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Host,\n Prop,\n State,\n h,\n Listen,\n Method,\n} from \"@stencil/core\";\n\nimport {\n getThemeForegroundColor,\n inheritAttributes,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IC_INHERITED_ARIA } from \"../../utils/constants\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport { IcNavButtonModes } from \"./ic-navigation-button.types\";\n\n/**\n * @slot icon - Content will be placed to the left of the button label.\n */\n\n@Component({\n tag: \"ic-navigation-button\",\n styleUrl: \"ic-navigation-button.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class NavigationButton {\n private buttonEl: HTMLIcButtonElement;\n private inheritedAttributes: { [k: string]: unknown } = {};\n\n @Element() el: HTMLIcNavigationButtonElement;\n\n @State() initialAppearance = getThemeForegroundColor();\n /**\n * The display mode.\n */\n @State() mode: IcNavButtonModes = \"navbar\";\n\n /**\n * If `true`, the user can save the linked URL instead of navigating to it.\n */\n @Prop() download?: string | boolean = false;\n\n /**\n * The URL that the link points to. This will render the button as an \"a\" tag.\n */\n @Prop() href?: string;\n\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string;\n\n /**\n * The label info to display.\n */\n @Prop() label!: string;\n\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n\n componentWillLoad(): void {\n this.inheritedAttributes = inheritAttributes(this.el, [\n ...IC_INHERITED_ARIA,\n \"title\",\n ]);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Navigation Button\"\n );\n }\n\n @Listen(\"icNavigationMenuOpened\", { target: \"document\" })\n navBarMenuOpenHandler(): void {\n this.mode = \"menu\";\n }\n\n @Listen(\"icNavigationMenuClosed\", { target: \"document\" })\n navBarMenuCloseHandler(): void {\n this.mode = \"navbar\";\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.initialAppearance = theme.mode;\n }\n\n /**\n * Sets focus on the native `button`.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.buttonEl) {\n this.buttonEl.focus();\n }\n }\n\n render() {\n const { href, target, rel, download, referrerpolicy } = this;\n\n let label = \"\";\n let className = \"\";\n let variant: \"icon\" | \"tertiary\" = \"icon\";\n let appearance: IcThemeForeground | IcThemeForegroundEnum.Default =\n this.initialAppearance;\n let size: \"default\" | \"large\" = \"large\";\n let fullWidth = false;\n\n if (this.mode === \"menu\") {\n label = this.label;\n variant = \"tertiary\";\n appearance = IcThemeForegroundEnum.Default;\n size = \"default\";\n fullWidth = true;\n className = \"popout-menu-button\";\n }\n\n const buttonProps = {\n variant,\n appearance,\n size,\n href,\n target,\n rel,\n download,\n referrerpolicy,\n fullWidth,\n };\n\n return (\n <Host class={{ [\"in-side-menu\"]: this.mode === \"menu\" }}>\n <ic-button\n class={className}\n aria-label={this.label}\n ref={(el) => (this.buttonEl = el)}\n {...buttonProps}\n {...this.inheritedAttributes}\n >\n {label}\n <slot slot=\"icon\" name=\"icon\"></slot>\n </ic-button>\n </Host>\n );\n }\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import { newSpecPage } from "@stencil/core/testing";
2
- import { Button } from "../ic-button/ic-button";
3
- import { NavigationButton } from "./ic-navigation-button";
2
+ import { Button } from "../../../ic-button/ic-button";
3
+ import { NavigationButton } from "../../ic-navigation-button";
4
4
  describe("ic-navigation-button", () => {
5
5
  it("renders", async () => {
6
6
  const page = await newSpecPage({
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-navigation-button.spec.js","sourceRoot":"","sources":["../../../../../src/components/ic-navigation-button/test/basic/ic-navigation-button.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;EACpC,E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AE,CAAC;IAE5B,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;EACnD,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,2CAA2C,EAAE,KAAK,IAAI,EAAE;IACzD,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,gBAAgB,CAAC;MAC9B,IAAI,EAAE;8BACkB;KACzB,CAAC,CAAC;IAEH,MAAM,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC;IACzE,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;EAC3D,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,gBAAgB,EAAE,MAAM,CAAC;MACtC,IAAI,EAAE;8BACkB;KACzB,CAAC,CAAC;IAEH,MAAM,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;EACrC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { Button } from \"../../../ic-button/ic-button\";\nimport { NavigationButton } from \"../../ic-navigation-button\";\n\ndescribe(\"ic-navigation-button\", () => {\n it(\"renders\", async () => {\n const page = await newSpecPage({\n components: [NavigationButton],\n html: `<ic-navigation-button\n label=\"button1\"\n onclick=\"alert('test')\"\n >\n <svg\n slot=\"icon\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n fill=\"#000000\"\n >\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\" />\n <path\n d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z\"\n />\n </svg>\n </ic-navigation-button>`,\n });\n expect(page.root).toEqualHtml(`\n <ic-navigation-button label=\"button1\" onclick=\"alert('test')\">\n <mock:shadow-root>\n <ic-button aria-label=\"button1\" appearance=\"light\" size=\"large\" variant=\"icon\">\n <slot name=\"icon\" slot=\"icon\"></slot>\n </ic-button>\n </mock:shadow-root>\n <svg fill=\"#000000\" height=\"24px\" slot=\"icon\" viewBox=\"0 0 24 24\" width=\"24px\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\"></path>\n <path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z\"></path>\n </svg>\n </ic-navigation-button>\n `);\n });\n\n it(\"renders differently if mode is menu\", async () => {\n const page = await newSpecPage({\n components: [NavigationButton],\n html: `<ic-navigation-button label=\"button1\" onclick=\"alert('test')\">\n </ic-navigation-button>`,\n });\n\n page.rootInstance.mode = \"menu\";\n const el = page.root.shadowRoot.querySelector(\"ic-button\");\n\n await page.waitForChanges();\n expect(el.className).toEqual(\"popout-menu-button\");\n });\n\n it(\"correctly sets mode on menu open and close\", async () => {\n const page = await newSpecPage({\n components: [NavigationButton],\n html: `<ic-navigation-button label=\"button1\" onclick=\"alert('test')\">\n </ic-navigation-button>`,\n });\n\n await page.rootInstance.navBarMenuOpenHandler();\n await page.waitForChanges();\n\n expect(page.rootInstance.mode).toEqual(\"menu\");\n\n await page.rootInstance.navBarMenuCloseHandler();\n await page.waitForChanges();\n\n expect(page.rootInstance.mode).toEqual(\"navbar\");\n });\n\n it(\"correctly sets appearance on theme change\", async () => {\n const page = await newSpecPage({\n components: [NavigationButton],\n html: `<ic-navigation-button label=\"button1\" onclick=\"alert('test')\">\n </ic-navigation-button>`,\n });\n\n await page.rootInstance.themeChangeHandler({ detail: { mode: \"dark\" } });\n await page.waitForChanges();\n\n expect(page.rootInstance.initialAppearance).toBe(\"dark\");\n });\n\n it(\"correctly sets focus\", async () => {\n const page = await newSpecPage({\n components: [NavigationButton, Button],\n html: `<ic-navigation-button label=\"button1\" onclick=\"alert('test')\">\n </ic-navigation-button>`,\n });\n\n await page.rootInstance.setFocus();\n });\n});\n"]}