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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1033) 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 +105 -71
  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 +35 -22
  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 -88
  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 +37 -37
  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 +122 -121
  64. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-select.cjs.entry.js +67 -66
  66. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-side-navigation.cjs.entry.js +43 -37
  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 +41 -39
  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 +230 -191
  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/{ic-button.e2e.js → test/basic/ic-button.e2e.js} +25 -0
  131. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
  132. package/dist/collection/components/ic-button/{ic-button.spec.js → test/basic/ic-button.spec.js} +28 -2
  133. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
  134. package/dist/collection/components/ic-card/ic-card.js +120 -120
  135. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  136. package/dist/collection/components/ic-card/{ic-card.test.a11y.js → test/a11y/ic-card.test.a11y.js} +1 -1
  137. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
  138. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
  139. package/dist/collection/components/ic-card/{ic-card.spec.js → test/basic/ic-card.spec.js} +1 -1
  140. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
  141. package/dist/collection/components/ic-checkbox/ic-checkbox.js +94 -91
  142. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  143. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +58 -58
  144. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  145. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.js → test/a11y/ic-checkbox-group.test.a11y.js} +1 -1
  146. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
  147. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
  148. package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.spec.js → test/basic/ic-checkbox-group.spec.js} +3 -3
  149. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
  150. package/dist/collection/components/ic-chip/ic-chip.js +54 -54
  151. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  152. package/dist/collection/components/ic-chip/{ic-chip.test.a11y.js → test/a11y/ic-chip.test.a11y.js} +1 -1
  153. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
  154. package/dist/collection/components/ic-chip/{ic-chip.spec.js → test/basic/ic-chip.spec.js} +1 -1
  155. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
  156. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.test.a11y.js → test/a11y/ic-classification-banner.test.a11y.js} +1 -1
  157. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
  158. package/dist/collection/components/ic-classification-banner/{ic-classification-banner.spec.js → test/basic/ic-classification-banner.spec.js} +1 -1
  159. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
  160. package/dist/collection/components/ic-data-entity/{ic-data-entity.test.a11y.js → test/a11y/ic-data-entity.test.a11y.js} +1 -1
  161. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
  162. package/dist/collection/components/ic-data-entity/{ic-data-entity.spec.js → test/basic/ic-data-entity.spec.js} +1 -1
  163. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
  164. package/dist/collection/components/ic-data-row/ic-data-row.js +35 -35
  165. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  166. package/dist/collection/components/ic-data-row/{ic-data-row.test.a11y.js → test/a11y/ic-data-row.test.a11y.js} +1 -1
  167. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
  168. package/dist/collection/components/ic-data-row/{ic-data-row.spec.js → test/basic/ic-data-row.spec.js} +1 -1
  169. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
  170. package/dist/collection/components/ic-dialog/ic-dialog.css +1 -4
  171. package/dist/collection/components/ic-dialog/ic-dialog.js +122 -123
  172. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  173. package/dist/collection/components/ic-dialog/{ic-dialog.test.a11y.js → test/a11y/ic-dialog.test.a11y.js} +1 -1
  174. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
  175. package/dist/collection/components/ic-dialog/{ic-dialog.e2e.js → test/basic/ic-dialog.e2e.js} +3 -0
  176. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
  177. package/dist/collection/components/ic-dialog/{ic-dialog.spec.js → test/basic/ic-dialog.spec.js} +4 -4
  178. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
  179. package/dist/collection/components/ic-divider/{ic-divider.spec.js → test/basic/ic-divider.spec.js} +1 -1
  180. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
  181. package/dist/collection/components/ic-footer/ic-footer.js +47 -47
  182. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  183. package/dist/collection/components/ic-footer/{ic-footer.test.a11y.js → test/a11y/ic-footer.test.a11y.js} +1 -1
  184. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
  185. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
  186. package/dist/collection/components/ic-footer/{ic-footer.spec.js → test/basic/ic-footer.spec.js} +3 -3
  187. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
  188. package/dist/collection/components/ic-footer-link/ic-footer-link.js +33 -33
  189. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  190. package/dist/collection/components/ic-footer-link/{ic-footer-link.test.a11y.js → test/a11y/ic-footer-link.test.a11y.js} +1 -1
  191. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
  192. package/dist/collection/components/ic-footer-link/{ic-footer-link.spec.js → test/basic/ic-footer-link.spec.js} +1 -1
  193. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -0
  194. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +18 -18
  195. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  196. 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
  197. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
  198. package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.spec.js → test/basic/ic-footer-link-group.spec.js} +3 -3
  199. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
  200. package/dist/collection/components/ic-hero/ic-hero.js +95 -95
  201. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  202. package/dist/collection/components/ic-hero/{ic-hero.test.a11y.js → test/a11y/ic-hero.test.a11y.js} +1 -1
  203. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
  204. package/dist/collection/components/ic-hero/{ic-hero.spec.js → test/basic/ic-hero.spec.js} +1 -1
  205. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
  206. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +37 -24
  207. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  208. package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.js → test/a11y/ic-horizontal-scroll.test.a11y.js} +1 -1
  209. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
  210. package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.spec.js → test/basic/ic-horizontal-scroll.spec.js} +2 -2
  211. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
  212. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +45 -45
  213. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  214. package/dist/collection/components/ic-input-component-container/{ic-input-component-container.spec.js → test/basic/ic-input-component-container.spec.js} +1 -1
  215. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
  216. package/dist/collection/components/ic-input-container/{ic-input-container.spec.js → test/basic/ic-input-container.spec.js} +1 -1
  217. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
  218. package/dist/collection/components/ic-input-label/ic-input-label.js +51 -51
  219. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  220. package/dist/collection/components/ic-input-label/{ic-input-label.spec.js → test/basic/ic-input-label.spec.js} +1 -1
  221. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
  222. package/dist/collection/components/ic-input-validation/ic-input-validation.js +41 -41
  223. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  224. package/dist/collection/components/ic-input-validation/{ic-input-validation.spec.js → test/basic/ic-input-validation.spec.js} +1 -1
  225. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
  226. package/dist/collection/components/ic-link/ic-link.js +48 -48
  227. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  228. package/dist/collection/components/ic-link/{ic-link.test.a11y.js → test/a11y/ic-link.test.a11y.js} +1 -1
  229. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
  230. package/dist/collection/components/ic-link/{ic-link.spec.js → test/basic/ic-link.spec.js} +2 -2
  231. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
  232. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +89 -89
  233. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  234. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.js → test/a11y/ic-loading-indicator.test.a11y.js} +1 -1
  235. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
  236. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
  237. package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.spec.js → test/basic/ic-loading-indicator.spec.js} +3 -3
  238. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
  239. package/dist/collection/components/ic-menu/ic-menu.js +238 -240
  240. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  241. package/dist/collection/components/ic-menu/{ic-menu.spec.js → test/basic/ic-menu.spec.js} +4 -4
  242. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
  243. package/dist/collection/components/ic-menu-group/{ic-menu-group.spec.js → test/basic/ic-menu-group.spec.js} +2 -2
  244. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
  245. package/dist/collection/components/ic-menu-item/ic-menu-item.js +75 -75
  246. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  247. package/dist/collection/components/ic-menu-item/{ic-menu-item.spec.js → test/basic/ic-menu-item.spec.js} +2 -2
  248. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
  249. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +56 -56
  250. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  251. package/dist/collection/components/ic-navigation-button/{ic-navigation-button.spec.js → test/basic/ic-navigation-button.spec.js} +2 -2
  252. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
  253. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +0 -8
  254. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +55 -55
  255. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  256. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.test.a11y.js → test/a11y/ic-navigation-group.test.a11y.js} +1 -1
  257. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
  258. package/dist/collection/components/ic-navigation-group/{ic-navigation-group.spec.js → test/basic/ic-navigation-group.spec.js} +8 -8
  259. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
  260. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +6 -4
  261. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +135 -135
  262. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  263. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.test.a11y.js → test/a11y/ic-navigation-item.test.a11y.js} +1 -1
  264. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
  265. package/dist/collection/components/ic-navigation-item/{ic-navigation-item.spec.js → test/basic/ic-navigation-item.spec.js} +5 -5
  266. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
  267. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +1 -4
  268. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +31 -31
  269. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  270. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
  271. package/dist/collection/components/ic-navigation-menu/{ic-navigation-menu.spec.js → test/basic/ic-navigation-menu.spec.js} +6 -6
  272. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
  273. package/dist/collection/components/ic-page-header/ic-page-header.js +56 -56
  274. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  275. package/dist/collection/components/ic-page-header/{ic-page-header.test.a11y.js → test/a11y/ic-page-header.test.a11y.js} +1 -1
  276. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
  277. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
  278. package/dist/collection/components/ic-page-header/{ic-page-header.spec.js → test/basic/ic-page-header.spec.js} +7 -7
  279. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
  280. package/dist/collection/components/ic-pagination/ic-pagination.js +97 -97
  281. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  282. package/dist/collection/components/ic-pagination/{ic-pagination.test.a11y.js → test/a11y/ic-pagination.test.a11y.js} +1 -1
  283. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
  284. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
  285. package/dist/collection/components/ic-pagination/{ic-pagination.spec.js → test/basic/ic-pagination.spec.js} +3 -3
  286. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
  287. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +65 -65
  288. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
  289. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +96 -96
  290. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  291. package/dist/collection/components/ic-popover-menu/{ic-popover-menu.test.a11y.js → test/a11y/ic-popover-menu.test.a11y.js} +1 -1
  292. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
  293. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
  294. package/dist/collection/components/ic-popover-menu/{ic-popover-menu.spec.js → test/basic/ic-popover-menu.spec.js} +4 -4
  295. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
  296. package/dist/collection/components/ic-radio-group/ic-radio-group.js +94 -81
  297. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  298. package/dist/collection/components/ic-radio-group/{ic-radio-group.test.a11y.js → test/a11y/ic-radio-group.test.a11y.js} +1 -1
  299. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
  300. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
  301. package/dist/collection/components/ic-radio-group/{ic-radio-group.spec.js → test/basic/ic-radio-group.spec.js} +3 -3
  302. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
  303. package/dist/collection/components/ic-radio-option/ic-radio-option.js +112 -88
  304. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  305. package/dist/collection/components/ic-search-bar/ic-search-bar.js +385 -384
  306. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  307. package/dist/collection/components/ic-search-bar/{ic-search-bar.test.a11y.js → test/a11y/ic-search-bar.test.a11y.js} +1 -1
  308. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
  309. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
  310. package/dist/collection/components/ic-search-bar/{ic-search-bar.spec.js → test/basic/ic-search-bar.spec.js} +7 -7
  311. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
  312. package/dist/collection/components/ic-section-container/{ic-section-container.spec.js → test/basic/ic-section-container.spec.js} +1 -1
  313. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
  314. package/dist/collection/components/ic-select/ic-select.js +267 -266
  315. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  316. package/dist/collection/components/ic-select/{ic-select.test.a11y.js → test/a11y/ic-select.test.a11y.js} +1 -1
  317. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
  318. package/dist/collection/components/ic-select/{ic-select.e2e.js → test/basic/ic-select.e2e.js} +3 -0
  319. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
  320. package/dist/collection/components/ic-select/{ic-select.spec.js → test/basic/ic-select.spec.js} +26 -6
  321. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
  322. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +6 -19
  323. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +87 -81
  324. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  325. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.test.a11y.js → test/a11y/ic-side-navigation.test.a11y.js} +1 -1
  326. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
  327. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
  328. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
  329. package/dist/collection/components/ic-side-navigation/{ic-side-navigation.spec.js → test/basic/ic-side-navigation.spec.js} +5 -5
  330. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
  331. package/dist/collection/components/ic-skeleton/ic-skeleton.js +22 -22
  332. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  333. package/dist/collection/components/ic-skeleton/{ic-skeleton.test.a11y.js → test/a11y/ic-skeleton.test.a11y.js} +1 -1
  334. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
  335. package/dist/collection/components/ic-skeleton/{ic-skeleton.spec.js → test/basic/ic-skeleton.spec.js} +1 -1
  336. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
  337. package/dist/collection/components/ic-status-tag/ic-status-tag.js +40 -40
  338. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  339. package/dist/collection/components/ic-status-tag/{ic-status-tag.test.a11y.js → test/a11y/ic-status-tag.test.a11y.js} +1 -1
  340. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
  341. package/dist/collection/components/ic-status-tag/{ic-status-tag.spec.js → test/basic/ic-status-tag.spec.js} +1 -1
  342. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
  343. package/dist/collection/components/ic-step/ic-step.js +126 -126
  344. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  345. package/dist/collection/components/ic-step/{ic-step.spec.js → test/basic/ic-step.spec.js} +3 -3
  346. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
  347. package/dist/collection/components/ic-stepper/ic-stepper.js +41 -41
  348. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  349. package/dist/collection/components/ic-stepper/{ic-stepper.test.a11y.js → test/a11y/ic-stepper.test.a11y.js} +1 -1
  350. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
  351. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
  352. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
  353. package/dist/collection/components/ic-stepper/{ic-stepper.spec.js → test/basic/ic-stepper.spec.js} +3 -3
  354. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
  355. package/dist/collection/components/ic-switch/ic-switch.js +72 -72
  356. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  357. package/dist/collection/components/ic-switch/{ic-switch.test.a11y.js → test/a11y/ic-switch.test.a11y.js} +1 -1
  358. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
  359. package/dist/collection/components/ic-switch/{ic-switch.spec.js → test/basic/ic-switch.spec.js} +1 -1
  360. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
  361. package/dist/collection/components/ic-tab/ic-tab.js +56 -56
  362. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  363. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
  364. package/dist/collection/components/ic-tab/{ic-tab.spec.js → test/basic/ic-tab.spec.js} +3 -3
  365. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
  366. package/dist/collection/components/ic-tab-context/ic-tab-context.js +71 -77
  367. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  368. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
  369. package/dist/collection/components/ic-tab-context/{ic-tab-context.e2e.js → test/basic/ic-tab-context.e2e.js} +1 -1
  370. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
  371. package/dist/collection/components/ic-tab-context/{ic-tab-context.spec.js → test/basic/ic-tab-context.spec.js} +4 -4
  372. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
  373. package/dist/collection/components/ic-tab-group/ic-tab-group.js +27 -27
  374. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  375. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +33 -33
  376. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  377. package/dist/collection/components/ic-tab-panel/{ic-tab-panel.spec.js → test/basic/ic-tab-panel.spec.js} +1 -1
  378. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
  379. package/dist/collection/components/ic-text-field/ic-text-field.js +371 -371
  380. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  381. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
  382. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
  383. package/dist/collection/components/ic-text-field/{ic-text-field.input.spec.js → test/basic/ic-text-field.input.spec.js} +2 -2
  384. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
  385. package/dist/collection/components/ic-text-field/{ic-text-field.textarea.spec.js → test/basic/ic-text-field.textarea.spec.js} +1 -1
  386. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
  387. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  388. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
  389. package/dist/collection/components/ic-theme/{ic-theme.spec.js → test/basic/ic-theme.spec.js} +3 -3
  390. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
  391. package/dist/collection/components/ic-toast/ic-toast.js +111 -111
  392. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  393. package/dist/collection/components/ic-toast/{ic-toast.test.a11y.js → test/a11y/ic-toast.test.a11y.js} +1 -1
  394. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
  395. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
  396. package/dist/collection/components/ic-toast/{ic-toast.spec.js → test/basic/ic-toast.spec.js} +4 -4
  397. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
  398. package/dist/collection/components/ic-toast-region/ic-toast-region.js +12 -12
  399. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  400. package/dist/collection/components/ic-toast-region/{ic-toast-region.spec.js → test/basic/ic-toast-region.spec.js} +3 -3
  401. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
  402. package/dist/collection/components/ic-tooltip/ic-tooltip.js +47 -47
  403. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  404. package/dist/collection/components/ic-tooltip/{ic-tooltip.test.a11y.js → test/a11y/ic-tooltip.test.a11y.js} +1 -1
  405. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
  406. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
  407. package/dist/collection/components/ic-tooltip/{ic-tooltip.spec.js → test/basic/ic-tooltip.spec.js} +2 -2
  408. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
  409. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +100 -80
  410. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  411. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.test.a11y.js → test/a11y/ic-top-navigation.test.a11y.js} +8 -1
  412. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
  413. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.e2e.js → test/basic/ic-top-navigation.e2e.js} +19 -0
  414. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
  415. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
  416. package/dist/collection/components/ic-top-navigation/{ic-top-navigation.spec.js → test/basic/ic-top-navigation.spec.js} +21 -8
  417. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
  418. package/dist/collection/components/ic-typography/ic-typography.js +36 -36
  419. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  420. package/dist/collection/components/ic-typography/{ic-typography.test.a11y.js → test/a11y/ic-typography.test.a11y.js} +1 -1
  421. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
  422. package/dist/collection/components/ic-typography/{ic-typography.e2e.js → test/basic/ic-typography.e2e.js} +3 -0
  423. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
  424. package/dist/collection/components/ic-typography/{ic-typography.spec.js → test/basic/ic-typography.spec.js} +1 -1
  425. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
  426. package/dist/collection/testspec.setup.js +10 -0
  427. package/dist/collection/testspec.setup.js.map +1 -1
  428. package/dist/collection/utils/helpers.js.map +1 -1
  429. package/dist/components/helpers.js +1 -1
  430. package/dist/components/helpers.js.map +1 -1
  431. package/dist/components/ic-alert2.js +13 -13
  432. package/dist/components/ic-alert2.js.map +1 -1
  433. package/dist/components/ic-back-to-top.js +4 -4
  434. package/dist/components/ic-back-to-top.js.map +1 -1
  435. package/dist/components/ic-breadcrumb-group.js +25 -19
  436. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  437. package/dist/components/ic-breadcrumb2.js +7 -7
  438. package/dist/components/ic-breadcrumb2.js.map +1 -1
  439. package/dist/components/ic-button2.js +82 -47
  440. package/dist/components/ic-button2.js.map +1 -1
  441. package/dist/components/ic-card.js +50 -50
  442. package/dist/components/ic-card.js.map +1 -1
  443. package/dist/components/ic-checkbox-group.js +20 -20
  444. package/dist/components/ic-checkbox-group.js.map +1 -1
  445. package/dist/components/ic-checkbox.js +37 -34
  446. package/dist/components/ic-checkbox.js.map +1 -1
  447. package/dist/components/ic-chip.js +19 -19
  448. package/dist/components/ic-chip.js.map +1 -1
  449. package/dist/components/ic-data-row.js +21 -21
  450. package/dist/components/ic-data-row.js.map +1 -1
  451. package/dist/components/ic-dialog.js +60 -61
  452. package/dist/components/ic-dialog.js.map +1 -1
  453. package/dist/components/ic-footer-link-group.js +19 -19
  454. package/dist/components/ic-footer-link-group.js.map +1 -1
  455. package/dist/components/ic-footer-link.js +16 -16
  456. package/dist/components/ic-footer-link.js.map +1 -1
  457. package/dist/components/ic-footer.js +19 -19
  458. package/dist/components/ic-footer.js.map +1 -1
  459. package/dist/components/ic-hero.js +25 -25
  460. package/dist/components/ic-hero.js.map +1 -1
  461. package/dist/components/ic-horizontal-scroll2.js +36 -23
  462. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  463. package/dist/components/ic-input-component-container2.js +8 -8
  464. package/dist/components/ic-input-component-container2.js.map +1 -1
  465. package/dist/components/ic-input-label2.js +8 -8
  466. package/dist/components/ic-input-label2.js.map +1 -1
  467. package/dist/components/ic-input-validation2.js +6 -6
  468. package/dist/components/ic-input-validation2.js.map +1 -1
  469. package/dist/components/ic-link2.js +20 -20
  470. package/dist/components/ic-link2.js.map +1 -1
  471. package/dist/components/ic-loading-indicator2.js +24 -24
  472. package/dist/components/ic-loading-indicator2.js.map +1 -1
  473. package/dist/components/ic-menu-item2.js +17 -17
  474. package/dist/components/ic-menu-item2.js.map +1 -1
  475. package/dist/components/ic-menu2.js +93 -95
  476. package/dist/components/ic-menu2.js.map +1 -1
  477. package/dist/components/ic-navigation-button.js +20 -20
  478. package/dist/components/ic-navigation-button.js.map +1 -1
  479. package/dist/components/ic-navigation-group.js +41 -41
  480. package/dist/components/ic-navigation-group.js.map +1 -1
  481. package/dist/components/ic-navigation-item.js +52 -52
  482. package/dist/components/ic-navigation-item.js.map +1 -1
  483. package/dist/components/ic-navigation-menu2.js +28 -28
  484. package/dist/components/ic-navigation-menu2.js.map +1 -1
  485. package/dist/components/ic-page-header.js +18 -18
  486. package/dist/components/ic-page-header.js.map +1 -1
  487. package/dist/components/ic-pagination-item2.js +11 -11
  488. package/dist/components/ic-pagination-item2.js.map +1 -1
  489. package/dist/components/ic-pagination.js +39 -39
  490. package/dist/components/ic-pagination.js.map +1 -1
  491. package/dist/components/ic-popover-menu.js +64 -64
  492. package/dist/components/ic-popover-menu.js.map +1 -1
  493. package/dist/components/ic-radio-group.js +40 -33
  494. package/dist/components/ic-radio-group.js.map +1 -1
  495. package/dist/components/ic-radio-option.js +42 -35
  496. package/dist/components/ic-radio-option.js.map +1 -1
  497. package/dist/components/ic-search-bar.js +146 -145
  498. package/dist/components/ic-search-bar.js.map +1 -1
  499. package/dist/components/ic-select.js +96 -95
  500. package/dist/components/ic-select.js.map +1 -1
  501. package/dist/components/ic-side-navigation.js +52 -46
  502. package/dist/components/ic-side-navigation.js.map +1 -1
  503. package/dist/components/ic-skeleton.js +5 -5
  504. package/dist/components/ic-skeleton.js.map +1 -1
  505. package/dist/components/ic-status-tag.js +6 -6
  506. package/dist/components/ic-status-tag.js.map +1 -1
  507. package/dist/components/ic-step.js +15 -15
  508. package/dist/components/ic-step.js.map +1 -1
  509. package/dist/components/ic-stepper.js +19 -19
  510. package/dist/components/ic-stepper.js.map +1 -1
  511. package/dist/components/ic-switch.js +21 -21
  512. package/dist/components/ic-switch.js.map +1 -1
  513. package/dist/components/ic-tab-context.js +28 -34
  514. package/dist/components/ic-tab-context.js.map +1 -1
  515. package/dist/components/ic-tab-group.js +3 -3
  516. package/dist/components/ic-tab-group.js.map +1 -1
  517. package/dist/components/ic-tab-panel.js +4 -4
  518. package/dist/components/ic-tab-panel.js.map +1 -1
  519. package/dist/components/ic-tab.js +17 -17
  520. package/dist/components/ic-tab.js.map +1 -1
  521. package/dist/components/ic-text-field2.js +83 -83
  522. package/dist/components/ic-text-field2.js.map +1 -1
  523. package/dist/components/ic-theme.js.map +1 -1
  524. package/dist/components/ic-toast-region.js +12 -12
  525. package/dist/components/ic-toast-region.js.map +1 -1
  526. package/dist/components/ic-toast.js +62 -62
  527. package/dist/components/ic-toast.js.map +1 -1
  528. package/dist/components/ic-tooltip2.js +26 -26
  529. package/dist/components/ic-tooltip2.js.map +1 -1
  530. package/dist/components/ic-top-navigation.js +52 -49
  531. package/dist/components/ic-top-navigation.js.map +1 -1
  532. package/dist/components/ic-typography2.js +14 -14
  533. package/dist/components/ic-typography2.js.map +1 -1
  534. package/dist/core/core.esm.js +1 -1
  535. package/dist/core/core.esm.js.map +1 -1
  536. package/dist/core/{p-f0714432.entry.js → p-060c7917.entry.js} +2 -2
  537. package/dist/core/p-060c7917.entry.js.map +1 -0
  538. package/dist/core/p-0738d6e3.entry.js +2 -0
  539. package/dist/core/p-0738d6e3.entry.js.map +1 -0
  540. package/dist/core/{p-31ccdd50.entry.js → p-08870e30.entry.js} +2 -2
  541. package/dist/core/p-08870e30.entry.js.map +1 -0
  542. package/dist/core/{p-8911656b.entry.js → p-0b05b2b9.entry.js} +2 -2
  543. package/dist/core/{p-8911656b.entry.js.map → p-0b05b2b9.entry.js.map} +1 -1
  544. package/dist/core/{p-da4c1409.entry.js → p-0b3e5ba2.entry.js} +2 -2
  545. package/dist/core/p-0b3e5ba2.entry.js.map +1 -0
  546. package/dist/core/{p-79914e0c.entry.js → p-0cc2442d.entry.js} +2 -2
  547. package/dist/core/{p-79914e0c.entry.js.map → p-0cc2442d.entry.js.map} +1 -1
  548. package/dist/core/{p-2e051e1e.entry.js → p-0d6ee2ae.entry.js} +2 -2
  549. package/dist/core/p-0d6ee2ae.entry.js.map +1 -0
  550. package/dist/core/{p-f381e93f.entry.js → p-0dcfcf8c.entry.js} +2 -2
  551. package/dist/core/p-0dcfcf8c.entry.js.map +1 -0
  552. package/dist/core/{p-97fd0cc1.entry.js → p-12287f17.entry.js} +2 -2
  553. package/dist/core/p-12287f17.entry.js.map +1 -0
  554. package/dist/core/{p-ef91c17e.entry.js → p-1a7d6eca.entry.js} +2 -2
  555. package/dist/core/p-1a7d6eca.entry.js.map +1 -0
  556. package/dist/core/{p-84c8c4c7.entry.js → p-21cd7e76.entry.js} +2 -2
  557. package/dist/core/{p-84c8c4c7.entry.js.map → p-21cd7e76.entry.js.map} +1 -1
  558. package/dist/core/p-22e151f8.entry.js +2 -0
  559. package/dist/core/p-22e151f8.entry.js.map +1 -0
  560. package/dist/core/{p-c0333310.entry.js → p-2a4a7e63.entry.js} +2 -2
  561. package/dist/core/p-2a4a7e63.entry.js.map +1 -0
  562. package/dist/core/{p-bad10f6c.entry.js → p-2a55f42e.entry.js} +2 -2
  563. package/dist/core/p-2a55f42e.entry.js.map +1 -0
  564. package/dist/core/p-36115f6a.entry.js +2 -0
  565. package/dist/core/p-36115f6a.entry.js.map +1 -0
  566. package/dist/core/{p-ca6820dc.entry.js → p-38ac1d7a.entry.js} +2 -2
  567. package/dist/core/p-38ac1d7a.entry.js.map +1 -0
  568. package/dist/core/p-50f253b2.entry.js +2 -0
  569. package/dist/core/p-50f253b2.entry.js.map +1 -0
  570. package/dist/core/{p-820e4c17.entry.js → p-51d4c05c.entry.js} +2 -2
  571. package/dist/core/{p-820e4c17.entry.js.map → p-51d4c05c.entry.js.map} +1 -1
  572. package/dist/core/{p-5fcd965f.entry.js → p-5367574a.entry.js} +2 -2
  573. package/dist/core/p-5367574a.entry.js.map +1 -0
  574. package/dist/core/p-55cb196e.entry.js +2 -0
  575. package/dist/core/p-55cb196e.entry.js.map +1 -0
  576. package/dist/core/{p-4a385752.js → p-5dd0b02e.js} +2 -2
  577. package/dist/core/{p-4a385752.js.map → p-5dd0b02e.js.map} +1 -1
  578. package/dist/core/{p-b35a9909.entry.js → p-6068e3f4.entry.js} +2 -2
  579. package/dist/core/p-6068e3f4.entry.js.map +1 -0
  580. package/dist/core/{p-68308ecd.entry.js → p-705aadd0.entry.js} +2 -2
  581. package/dist/core/p-705aadd0.entry.js.map +1 -0
  582. package/dist/core/{p-aeef3c9d.entry.js → p-70c4e8d4.entry.js} +2 -2
  583. package/dist/core/p-70c4e8d4.entry.js.map +1 -0
  584. package/dist/core/p-8915a04d.entry.js +2 -0
  585. package/dist/core/p-8915a04d.entry.js.map +1 -0
  586. package/dist/core/p-8c5ba72e.entry.js +2 -0
  587. package/dist/core/p-8c5ba72e.entry.js.map +1 -0
  588. package/dist/core/{p-97286148.entry.js → p-9775acc5.entry.js} +2 -2
  589. package/dist/core/p-9775acc5.entry.js.map +1 -0
  590. package/dist/core/{p-a9de9aba.entry.js → p-a600e5d8.entry.js} +2 -2
  591. package/dist/core/{p-a9de9aba.entry.js.map → p-a600e5d8.entry.js.map} +1 -1
  592. package/dist/core/{p-dbe06c3b.entry.js → p-a941124d.entry.js} +2 -2
  593. package/dist/core/p-a941124d.entry.js.map +1 -0
  594. package/dist/core/{p-e3e6308b.entry.js → p-add90b68.entry.js} +2 -2
  595. package/dist/core/{p-31e80ccb.entry.js → p-b1c3f213.entry.js} +2 -2
  596. package/dist/core/p-b1c3f213.entry.js.map +1 -0
  597. package/dist/core/p-b6a1d9b6.entry.js +2 -0
  598. package/dist/core/p-b6a1d9b6.entry.js.map +1 -0
  599. package/dist/core/{p-dfd31e28.entry.js → p-b6e97f47.entry.js} +2 -2
  600. package/dist/core/p-b6e97f47.entry.js.map +1 -0
  601. package/dist/core/{p-311c38b3.entry.js → p-ba437d36.entry.js} +2 -2
  602. package/dist/core/p-ba437d36.entry.js.map +1 -0
  603. package/dist/core/{p-b03bd9c6.entry.js → p-bc161e06.entry.js} +2 -2
  604. package/dist/core/p-bc161e06.entry.js.map +1 -0
  605. package/dist/core/p-bd2f15e6.entry.js +2 -0
  606. package/dist/core/p-bd2f15e6.entry.js.map +1 -0
  607. package/dist/core/{p-2ec49a7e.entry.js → p-bd660ff4.entry.js} +2 -2
  608. package/dist/core/{p-2ec49a7e.entry.js.map → p-bd660ff4.entry.js.map} +1 -1
  609. package/dist/core/{p-3ce0aa02.entry.js → p-c0717294.entry.js} +2 -2
  610. package/dist/core/p-c0717294.entry.js.map +1 -0
  611. package/dist/core/{p-617950f8.entry.js → p-c2b0c19b.entry.js} +2 -2
  612. package/dist/core/p-c2b0c19b.entry.js.map +1 -0
  613. package/dist/core/{p-ecdcae46.entry.js → p-c51cfe25.entry.js} +2 -2
  614. package/dist/core/p-c51cfe25.entry.js.map +1 -0
  615. package/dist/core/p-c5dd2bae.entry.js +2 -0
  616. package/dist/core/p-c5dd2bae.entry.js.map +1 -0
  617. package/dist/core/{p-bda4414e.entry.js → p-c7eff761.entry.js} +2 -2
  618. package/dist/core/p-c7eff761.entry.js.map +1 -0
  619. package/dist/core/{p-ad6c4c02.entry.js → p-d04640ac.entry.js} +2 -2
  620. package/dist/core/p-d04640ac.entry.js.map +1 -0
  621. package/dist/core/{p-a74b8476.entry.js → p-d6ee986d.entry.js} +2 -2
  622. package/dist/core/p-d6ee986d.entry.js.map +1 -0
  623. package/dist/core/{p-249af8ab.entry.js → p-d824684d.entry.js} +2 -2
  624. package/dist/core/{p-249af8ab.entry.js.map → p-d824684d.entry.js.map} +1 -1
  625. package/dist/core/{p-6c76c6ba.entry.js → p-dd083d96.entry.js} +2 -2
  626. package/dist/core/p-dd083d96.entry.js.map +1 -0
  627. package/dist/core/{p-323bce82.entry.js → p-e360b5a8.entry.js} +2 -2
  628. package/dist/core/p-e360b5a8.entry.js.map +1 -0
  629. package/dist/core/{p-0d325b4c.entry.js → p-e69f71c7.entry.js} +2 -2
  630. package/dist/core/p-e69f71c7.entry.js.map +1 -0
  631. package/dist/core/{p-551986d1.entry.js → p-f81ecfc2.entry.js} +2 -2
  632. package/dist/core/p-f81ecfc2.entry.js.map +1 -0
  633. package/dist/core/p-fdc1cfa2.entry.js +2 -0
  634. package/dist/core/p-fdc1cfa2.entry.js.map +1 -0
  635. package/dist/esm/core.js +1 -1
  636. package/dist/esm/{helpers-8e57082b.js → helpers-85903813.js} +2 -2
  637. package/dist/esm/{helpers-8e57082b.js.map → helpers-85903813.js.map} +1 -1
  638. package/dist/esm/ic-alert.entry.js +9 -9
  639. package/dist/esm/ic-alert.entry.js.map +1 -1
  640. package/dist/esm/ic-back-to-top.entry.js +3 -3
  641. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  642. package/dist/esm/ic-breadcrumb-group.entry.js +26 -20
  643. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  644. package/dist/esm/ic-breadcrumb.entry.js +6 -6
  645. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  646. package/dist/esm/ic-button_3.entry.js +106 -72
  647. package/dist/esm/ic-button_3.entry.js.map +1 -1
  648. package/dist/esm/ic-card.entry.js +41 -41
  649. package/dist/esm/ic-card.entry.js.map +1 -1
  650. package/dist/esm/ic-checkbox-group.entry.js +18 -18
  651. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  652. package/dist/esm/ic-checkbox.entry.js +33 -30
  653. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  654. package/dist/esm/ic-chip.entry.js +16 -16
  655. package/dist/esm/ic-chip.entry.js.map +1 -1
  656. package/dist/esm/ic-data-row.entry.js +21 -21
  657. package/dist/esm/ic-data-row.entry.js.map +1 -1
  658. package/dist/esm/ic-dialog.entry.js +55 -56
  659. package/dist/esm/ic-dialog.entry.js.map +1 -1
  660. package/dist/esm/ic-divider.entry.js +1 -1
  661. package/dist/esm/ic-footer-link-group.entry.js +17 -17
  662. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  663. package/dist/esm/ic-footer-link.entry.js +15 -15
  664. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  665. package/dist/esm/ic-footer.entry.js +18 -18
  666. package/dist/esm/ic-footer.entry.js.map +1 -1
  667. package/dist/esm/ic-hero.entry.js +19 -19
  668. package/dist/esm/ic-hero.entry.js.map +1 -1
  669. package/dist/esm/ic-horizontal-scroll.entry.js +36 -23
  670. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  671. package/dist/esm/ic-input-component-container_3.entry.js +87 -89
  672. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  673. package/dist/esm/ic-input-label_2.entry.js +8 -8
  674. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  675. package/dist/esm/ic-link.entry.js +18 -18
  676. package/dist/esm/ic-link.entry.js.map +1 -1
  677. package/dist/esm/ic-menu-item.entry.js +13 -13
  678. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  679. package/dist/esm/ic-navigation-button.entry.js +16 -16
  680. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  681. package/dist/esm/ic-navigation-group.entry.js +38 -38
  682. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  683. package/dist/esm/ic-navigation-item.entry.js +43 -43
  684. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  685. package/dist/esm/ic-navigation-menu.entry.js +27 -27
  686. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  687. package/dist/esm/ic-page-header.entry.js +13 -13
  688. package/dist/esm/ic-page-header.entry.js.map +1 -1
  689. package/dist/esm/ic-pagination-item.entry.js +6 -6
  690. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  691. package/dist/esm/ic-pagination.entry.js +31 -31
  692. package/dist/esm/ic-pagination.entry.js.map +1 -1
  693. package/dist/esm/ic-popover-menu.entry.js +62 -62
  694. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  695. package/dist/esm/ic-radio-group.entry.js +36 -29
  696. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  697. package/dist/esm/ic-radio-option.entry.js +37 -30
  698. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  699. package/dist/esm/ic-search-bar.entry.js +123 -122
  700. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  701. package/dist/esm/ic-select.entry.js +68 -67
  702. package/dist/esm/ic-select.entry.js.map +1 -1
  703. package/dist/esm/ic-side-navigation.entry.js +44 -38
  704. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  705. package/dist/esm/ic-skeleton.entry.js +3 -3
  706. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  707. package/dist/esm/ic-status-tag.entry.js +4 -4
  708. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  709. package/dist/esm/ic-step.entry.js +7 -7
  710. package/dist/esm/ic-step.entry.js.map +1 -1
  711. package/dist/esm/ic-stepper.entry.js +14 -14
  712. package/dist/esm/ic-stepper.entry.js.map +1 -1
  713. package/dist/esm/ic-switch.entry.js +17 -17
  714. package/dist/esm/ic-switch.entry.js.map +1 -1
  715. package/dist/esm/ic-tab-context.entry.js +26 -32
  716. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  717. package/dist/esm/ic-tab-group.entry.js +2 -2
  718. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  719. package/dist/esm/ic-tab-panel.entry.js +2 -2
  720. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  721. package/dist/esm/ic-tab.entry.js +17 -17
  722. package/dist/esm/ic-tab.entry.js.map +1 -1
  723. package/dist/esm/ic-text-field.entry.js +54 -54
  724. package/dist/esm/ic-text-field.entry.js.map +1 -1
  725. package/dist/esm/ic-theme.entry.js +1 -1
  726. package/dist/esm/ic-theme.entry.js.map +1 -1
  727. package/dist/esm/ic-toast-region.entry.js +12 -12
  728. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  729. package/dist/esm/ic-toast.entry.js +58 -58
  730. package/dist/esm/ic-toast.entry.js.map +1 -1
  731. package/dist/esm/ic-top-navigation.entry.js +42 -40
  732. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  733. package/dist/esm/ic-typography.entry.js +12 -12
  734. package/dist/esm/ic-typography.entry.js.map +1 -1
  735. package/dist/esm/loader.js +1 -1
  736. package/dist/types/components/ic-alert/ic-alert.d.ts +12 -12
  737. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +8 -8
  738. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +6 -6
  739. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +15 -11
  740. package/dist/types/components/ic-button/ic-button.d.ts +58 -52
  741. package/dist/types/components/ic-card/ic-card.d.ts +32 -32
  742. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +27 -26
  743. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +13 -13
  744. package/dist/types/components/ic-chip/ic-chip.d.ts +16 -16
  745. package/dist/types/components/ic-data-row/ic-data-row.d.ts +11 -11
  746. package/dist/types/components/ic-dialog/ic-dialog.d.ts +47 -47
  747. package/dist/types/components/ic-footer/ic-footer.d.ts +20 -20
  748. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +9 -9
  749. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +8 -8
  750. package/dist/types/components/ic-hero/ic-hero.d.ts +24 -24
  751. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +15 -14
  752. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +15 -15
  753. package/dist/types/components/ic-input-label/ic-input-label.d.ts +14 -14
  754. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +8 -8
  755. package/dist/types/components/ic-link/ic-link.d.ts +8 -8
  756. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +38 -38
  757. package/dist/types/components/ic-menu/ic-menu.d.ts +63 -63
  758. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +23 -23
  759. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +21 -21
  760. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +20 -20
  761. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +39 -39
  762. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +14 -14
  763. package/dist/types/components/ic-page-header/ic-page-header.d.ts +19 -19
  764. package/dist/types/components/ic-pagination/ic-pagination.d.ts +26 -26
  765. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +15 -15
  766. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +22 -22
  767. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +19 -21
  768. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +31 -26
  769. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +105 -105
  770. package/dist/types/components/ic-select/ic-select.d.ts +86 -86
  771. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +28 -24
  772. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +8 -8
  773. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +8 -8
  774. package/dist/types/components/ic-step/ic-step.d.ts +24 -24
  775. package/dist/types/components/ic-stepper/ic-stepper.d.ts +17 -17
  776. package/dist/types/components/ic-switch/ic-switch.d.ts +23 -23
  777. package/dist/types/components/ic-tab/ic-tab.d.ts +16 -16
  778. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +20 -19
  779. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +4 -4
  780. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +6 -6
  781. package/dist/types/components/ic-text-field/ic-text-field.d.ts +102 -102
  782. package/dist/types/components/ic-theme/ic-theme.d.ts +1 -1
  783. package/dist/types/components/ic-toast/ic-toast.d.ts +26 -27
  784. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +3 -3
  785. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +17 -17
  786. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +36 -32
  787. package/dist/types/components/ic-typography/ic-typography.d.ts +16 -16
  788. package/dist/types/components.d.ts +13 -1
  789. package/dist/types/testspec.setup.d.ts +7 -5
  790. package/hydrate/index.js +1654 -1581
  791. package/package.json +3 -3
  792. package/dist/collection/components/ic-alert/ic-alert.e2e.js.map +0 -1
  793. package/dist/collection/components/ic-alert/ic-alert.spec.js.map +0 -1
  794. package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +0 -1
  795. package/dist/collection/components/ic-back-to-top/ic-back-to-top.e2e.js.map +0 -1
  796. package/dist/collection/components/ic-back-to-top/ic-back-to-top.spec.js.map +0 -1
  797. package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +0 -1
  798. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.spec.js.map +0 -1
  799. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group-test-examples.js.map +0 -1
  800. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.e2e.js.map +0 -1
  801. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.spec.js.map +0 -1
  802. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.test.a11y.js.map +0 -1
  803. package/dist/collection/components/ic-button/ic-button.e2e.js.map +0 -1
  804. package/dist/collection/components/ic-button/ic-button.spec.js.map +0 -1
  805. package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +0 -1
  806. package/dist/collection/components/ic-card/ic-card.e2e.js.map +0 -1
  807. package/dist/collection/components/ic-card/ic-card.spec.js.map +0 -1
  808. package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +0 -1
  809. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.e2e.js.map +0 -1
  810. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.spec.js.map +0 -1
  811. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +0 -1
  812. package/dist/collection/components/ic-chip/ic-chip.spec.js.map +0 -1
  813. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +0 -1
  814. package/dist/collection/components/ic-classification-banner/ic-classification-banner.spec.js.map +0 -1
  815. package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +0 -1
  816. package/dist/collection/components/ic-data-entity/ic-data-entity.spec.js.map +0 -1
  817. package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +0 -1
  818. package/dist/collection/components/ic-data-row/ic-data-row.spec.js.map +0 -1
  819. package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +0 -1
  820. package/dist/collection/components/ic-dialog/ic-dialog.e2e.js.map +0 -1
  821. package/dist/collection/components/ic-dialog/ic-dialog.spec.js.map +0 -1
  822. package/dist/collection/components/ic-dialog/ic-dialog.test.a11y.js.map +0 -1
  823. package/dist/collection/components/ic-divider/ic-divider.spec.js.map +0 -1
  824. package/dist/collection/components/ic-footer/ic-footer.e2e.js.map +0 -1
  825. package/dist/collection/components/ic-footer/ic-footer.spec.js.map +0 -1
  826. package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +0 -1
  827. package/dist/collection/components/ic-footer-link/ic-footer-link.spec.js.map +0 -1
  828. package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +0 -1
  829. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.spec.js.map +0 -1
  830. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +0 -1
  831. package/dist/collection/components/ic-hero/ic-hero.spec.js.map +0 -1
  832. package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +0 -1
  833. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.spec.js.map +0 -1
  834. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +0 -1
  835. package/dist/collection/components/ic-input-component-container/ic-input-component-container.spec.js.map +0 -1
  836. package/dist/collection/components/ic-input-container/ic-input-container.spec.js.map +0 -1
  837. package/dist/collection/components/ic-input-label/ic-input-label.spec.js.map +0 -1
  838. package/dist/collection/components/ic-input-validation/ic-input-validation.spec.js.map +0 -1
  839. package/dist/collection/components/ic-link/ic-link.spec.js.map +0 -1
  840. package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +0 -1
  841. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.e2e.js.map +0 -1
  842. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.spec.js.map +0 -1
  843. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +0 -1
  844. package/dist/collection/components/ic-menu/ic-menu.spec.js.map +0 -1
  845. package/dist/collection/components/ic-menu-group/ic-menu-group.spec.js.map +0 -1
  846. package/dist/collection/components/ic-menu-item/ic-menu-item.spec.js.map +0 -1
  847. package/dist/collection/components/ic-navigation-button/ic-navigation-button.spec.js.map +0 -1
  848. package/dist/collection/components/ic-navigation-group/ic-navigation-group.spec.js.map +0 -1
  849. package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +0 -1
  850. package/dist/collection/components/ic-navigation-item/ic-navigation-item.spec.js.map +0 -1
  851. package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +0 -1
  852. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.e2e.js.map +0 -1
  853. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.spec.js.map +0 -1
  854. package/dist/collection/components/ic-page-header/ic-page-header.e2e.js.map +0 -1
  855. package/dist/collection/components/ic-page-header/ic-page-header.spec.js.map +0 -1
  856. package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +0 -1
  857. package/dist/collection/components/ic-pagination/ic-pagination.e2e.js.map +0 -1
  858. package/dist/collection/components/ic-pagination/ic-pagination.spec.js.map +0 -1
  859. package/dist/collection/components/ic-pagination/ic-pagination.test.a11y.js.map +0 -1
  860. package/dist/collection/components/ic-popover-menu/ic-popover-menu.e2e.js.map +0 -1
  861. package/dist/collection/components/ic-popover-menu/ic-popover-menu.spec.js.map +0 -1
  862. package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js.map +0 -1
  863. package/dist/collection/components/ic-radio-group/ic-radio-group.e2e.js.map +0 -1
  864. package/dist/collection/components/ic-radio-group/ic-radio-group.spec.js.map +0 -1
  865. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +0 -1
  866. package/dist/collection/components/ic-search-bar/ic-search-bar.e2e.js.map +0 -1
  867. package/dist/collection/components/ic-search-bar/ic-search-bar.spec.js.map +0 -1
  868. package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +0 -1
  869. package/dist/collection/components/ic-section-container/ic-section-container.spec.js.map +0 -1
  870. package/dist/collection/components/ic-select/ic-select.e2e.js.map +0 -1
  871. package/dist/collection/components/ic-select/ic-select.spec.js.map +0 -1
  872. package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +0 -1
  873. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +0 -1
  874. package/dist/collection/components/ic-side-navigation/ic-side-navigation.e2e.js.map +0 -1
  875. package/dist/collection/components/ic-side-navigation/ic-side-navigation.spec.js.map +0 -1
  876. package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +0 -1
  877. package/dist/collection/components/ic-skeleton/ic-skeleton.spec.js.map +0 -1
  878. package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +0 -1
  879. package/dist/collection/components/ic-status-tag/ic-status-tag.spec.js.map +0 -1
  880. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +0 -1
  881. package/dist/collection/components/ic-step/ic-step.spec.js.map +0 -1
  882. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +0 -1
  883. package/dist/collection/components/ic-stepper/ic-stepper.e2e.js.map +0 -1
  884. package/dist/collection/components/ic-stepper/ic-stepper.spec.js.map +0 -1
  885. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +0 -1
  886. package/dist/collection/components/ic-switch/ic-switch.spec.js.map +0 -1
  887. package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +0 -1
  888. package/dist/collection/components/ic-tab/ic-tab.e2e.js.map +0 -1
  889. package/dist/collection/components/ic-tab/ic-tab.spec.js.map +0 -1
  890. package/dist/collection/components/ic-tab-context/ic-tab-context.e2e.js.map +0 -1
  891. package/dist/collection/components/ic-tab-context/ic-tab-context.spec.js.map +0 -1
  892. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +0 -1
  893. package/dist/collection/components/ic-tab-panel/ic-tab-panel.spec.js.map +0 -1
  894. package/dist/collection/components/ic-text-field/ic-text-field.e2e.js.map +0 -1
  895. package/dist/collection/components/ic-text-field/ic-text-field.input.spec.js.map +0 -1
  896. package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +0 -1
  897. package/dist/collection/components/ic-text-field/ic-text-field.textarea.spec.js.map +0 -1
  898. package/dist/collection/components/ic-theme/ic-theme.e2e.js.map +0 -1
  899. package/dist/collection/components/ic-theme/ic-theme.spec.js.map +0 -1
  900. package/dist/collection/components/ic-toast/ic-toast.e2e.js.map +0 -1
  901. package/dist/collection/components/ic-toast/ic-toast.spec.js.map +0 -1
  902. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +0 -1
  903. package/dist/collection/components/ic-toast-region/ic-toast-region.spec.js.map +0 -1
  904. package/dist/collection/components/ic-tooltip/ic-tooltip.e2e.js.map +0 -1
  905. package/dist/collection/components/ic-tooltip/ic-tooltip.spec.js.map +0 -1
  906. package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +0 -1
  907. package/dist/collection/components/ic-top-navigation/ic-top-navigation.e2e.js.map +0 -1
  908. package/dist/collection/components/ic-top-navigation/ic-top-navigation.mobile.e2e.js.map +0 -1
  909. package/dist/collection/components/ic-top-navigation/ic-top-navigation.spec.js.map +0 -1
  910. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +0 -1
  911. package/dist/collection/components/ic-typography/ic-typography.e2e.js.map +0 -1
  912. package/dist/collection/components/ic-typography/ic-typography.spec.js.map +0 -1
  913. package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +0 -1
  914. package/dist/core/p-0d325b4c.entry.js.map +0 -1
  915. package/dist/core/p-29d9fea1.entry.js +0 -2
  916. package/dist/core/p-29d9fea1.entry.js.map +0 -1
  917. package/dist/core/p-2e051e1e.entry.js.map +0 -1
  918. package/dist/core/p-3114a4b3.entry.js +0 -2
  919. package/dist/core/p-3114a4b3.entry.js.map +0 -1
  920. package/dist/core/p-311c38b3.entry.js.map +0 -1
  921. package/dist/core/p-31ccdd50.entry.js.map +0 -1
  922. package/dist/core/p-31e80ccb.entry.js.map +0 -1
  923. package/dist/core/p-323bce82.entry.js.map +0 -1
  924. package/dist/core/p-3918c27a.entry.js +0 -2
  925. package/dist/core/p-3918c27a.entry.js.map +0 -1
  926. package/dist/core/p-3ce0aa02.entry.js.map +0 -1
  927. package/dist/core/p-524557bc.entry.js +0 -2
  928. package/dist/core/p-524557bc.entry.js.map +0 -1
  929. package/dist/core/p-551986d1.entry.js.map +0 -1
  930. package/dist/core/p-57460fa3.entry.js +0 -2
  931. package/dist/core/p-57460fa3.entry.js.map +0 -1
  932. package/dist/core/p-5fcd965f.entry.js.map +0 -1
  933. package/dist/core/p-617950f8.entry.js.map +0 -1
  934. package/dist/core/p-68308ecd.entry.js.map +0 -1
  935. package/dist/core/p-6c76c6ba.entry.js.map +0 -1
  936. package/dist/core/p-97286148.entry.js.map +0 -1
  937. package/dist/core/p-97fd0cc1.entry.js.map +0 -1
  938. package/dist/core/p-a74b8476.entry.js.map +0 -1
  939. package/dist/core/p-ad6c4c02.entry.js.map +0 -1
  940. package/dist/core/p-aeef3c9d.entry.js.map +0 -1
  941. package/dist/core/p-b03bd9c6.entry.js.map +0 -1
  942. package/dist/core/p-b0685167.entry.js +0 -2
  943. package/dist/core/p-b0685167.entry.js.map +0 -1
  944. package/dist/core/p-b35a9909.entry.js.map +0 -1
  945. package/dist/core/p-bad10f6c.entry.js.map +0 -1
  946. package/dist/core/p-bda4414e.entry.js.map +0 -1
  947. package/dist/core/p-c0333310.entry.js.map +0 -1
  948. package/dist/core/p-c3f9fb1d.entry.js +0 -2
  949. package/dist/core/p-c3f9fb1d.entry.js.map +0 -1
  950. package/dist/core/p-ca6820dc.entry.js.map +0 -1
  951. package/dist/core/p-d6694b41.entry.js +0 -2
  952. package/dist/core/p-d6694b41.entry.js.map +0 -1
  953. package/dist/core/p-da4c1409.entry.js.map +0 -1
  954. package/dist/core/p-dbe06c3b.entry.js.map +0 -1
  955. package/dist/core/p-dfd31e28.entry.js.map +0 -1
  956. package/dist/core/p-ea233813.entry.js +0 -2
  957. package/dist/core/p-ea233813.entry.js.map +0 -1
  958. package/dist/core/p-ecdcae46.entry.js.map +0 -1
  959. package/dist/core/p-ef91c17e.entry.js.map +0 -1
  960. package/dist/core/p-f0714432.entry.js.map +0 -1
  961. package/dist/core/p-f381e93f.entry.js.map +0 -1
  962. package/dist/core/p-fd482bd7.entry.js +0 -2
  963. package/dist/core/p-fd482bd7.entry.js.map +0 -1
  964. package/dist/core/p-fe2c4009.entry.js +0 -2
  965. package/dist/core/p-fe2c4009.entry.js.map +0 -1
  966. /package/dist/collection/components/ic-alert/{ic-alert.e2e.js → test/basic/ic-alert.e2e.js} +0 -0
  967. /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
  968. /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.e2e.js → test/basic/ic-back-to-top.e2e.js} +0 -0
  969. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.js → test/basic/ic-breadcrumb-group-test-examples.js} +0 -0
  970. /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.e2e.js → test/basic/ic-breadcrumb-group.e2e.js} +0 -0
  971. /package/dist/collection/components/ic-card/{ic-card.e2e.js → test/basic/ic-card.e2e.js} +0 -0
  972. /package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.e2e.js → test/basic/ic-checkbox-group.e2e.js} +0 -0
  973. /package/dist/collection/components/ic-footer/{ic-footer.e2e.js → test/basic/ic-footer.e2e.js} +0 -0
  974. /package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.e2e.js → test/basic/ic-loading-indicator.e2e.js} +0 -0
  975. /package/dist/collection/components/ic-navigation-menu/{ic-navigation-menu.e2e.js → test/basic/ic-navigation-menu.e2e.js} +0 -0
  976. /package/dist/collection/components/ic-page-header/{ic-page-header.e2e.js → test/basic/ic-page-header.e2e.js} +0 -0
  977. /package/dist/collection/components/ic-pagination/{ic-pagination.e2e.js → test/basic/ic-pagination.e2e.js} +0 -0
  978. /package/dist/collection/components/ic-popover-menu/{ic-popover-menu.e2e.js → test/basic/ic-popover-menu.e2e.js} +0 -0
  979. /package/dist/collection/components/ic-radio-group/{ic-radio-group.e2e.js → test/basic/ic-radio-group.e2e.js} +0 -0
  980. /package/dist/collection/components/ic-search-bar/{ic-search-bar.e2e.js → test/basic/ic-search-bar.e2e.js} +0 -0
  981. /package/dist/collection/components/ic-side-navigation/{ic-side-navigation-test-examples.js → test/basic/ic-side-navigation-test-examples.js} +0 -0
  982. /package/dist/collection/components/ic-side-navigation/{ic-side-navigation.e2e.js → test/basic/ic-side-navigation.e2e.js} +0 -0
  983. /package/dist/collection/components/ic-stepper/{ic-stepper-test-examples.js → test/basic/ic-stepper-test-examples.js} +0 -0
  984. /package/dist/collection/components/ic-stepper/{ic-stepper.e2e.js → test/basic/ic-stepper.e2e.js} +0 -0
  985. /package/dist/collection/components/ic-tab/{ic-tab.e2e.js → test/basic/ic-tab.e2e.js} +0 -0
  986. /package/dist/collection/components/ic-tab-context/{ic-tab-context.test.a11y.js → test/a11y/ic-tab-context.test.a11y.js} +0 -0
  987. /package/dist/collection/components/ic-text-field/{ic-text-field.test.a11y.js → test/a11y/ic-text-field.test.a11y.js} +0 -0
  988. /package/dist/collection/components/ic-text-field/{ic-text-field.e2e.js → test/basic/ic-text-field.e2e.js} +0 -0
  989. /package/dist/collection/components/ic-theme/{ic-theme.e2e.js → test/basic/ic-theme.e2e.js} +0 -0
  990. /package/dist/collection/components/ic-toast/{ic-toast.e2e.js → test/basic/ic-toast.e2e.js} +0 -0
  991. /package/dist/collection/components/ic-tooltip/{ic-tooltip.e2e.js → test/basic/ic-tooltip.e2e.js} +0 -0
  992. /package/dist/collection/components/ic-top-navigation/{ic-top-navigation.mobile.e2e.js → test/basic/ic-top-navigation.mobile.e2e.js} +0 -0
  993. /package/dist/core/{p-e3e6308b.entry.js.map → p-add90b68.entry.js.map} +0 -0
  994. /package/dist/types/components/ic-alert/{ic-alert.test.a11y.d.ts → test/a11y/ic-alert.test.a11y.d.ts} +0 -0
  995. /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
  996. /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
  997. /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
  998. /package/dist/types/components/ic-button/{ic-button.test.a11y.d.ts → test/a11y/ic-button.test.a11y.d.ts} +0 -0
  999. /package/dist/types/components/ic-card/{ic-card.test.a11y.d.ts → test/a11y/ic-card.test.a11y.d.ts} +0 -0
  1000. /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
  1001. /package/dist/types/components/ic-chip/{ic-chip.test.a11y.d.ts → test/a11y/ic-chip.test.a11y.d.ts} +0 -0
  1002. /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
  1003. /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
  1004. /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
  1005. /package/dist/types/components/ic-dialog/{ic-dialog.test.a11y.d.ts → test/a11y/ic-dialog.test.a11y.d.ts} +0 -0
  1006. /package/dist/types/components/ic-footer/{ic-footer.test.a11y.d.ts → test/a11y/ic-footer.test.a11y.d.ts} +0 -0
  1007. /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
  1008. /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
  1009. /package/dist/types/components/ic-hero/{ic-hero.test.a11y.d.ts → test/a11y/ic-hero.test.a11y.d.ts} +0 -0
  1010. /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
  1011. /package/dist/types/components/ic-link/{ic-link.test.a11y.d.ts → test/a11y/ic-link.test.a11y.d.ts} +0 -0
  1012. /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
  1013. /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
  1014. /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
  1015. /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
  1016. /package/dist/types/components/ic-pagination/{ic-pagination.test.a11y.d.ts → test/a11y/ic-pagination.test.a11y.d.ts} +0 -0
  1017. /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
  1018. /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
  1019. /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
  1020. /package/dist/types/components/ic-select/{ic-select.test.a11y.d.ts → test/a11y/ic-select.test.a11y.d.ts} +0 -0
  1021. /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
  1022. /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
  1023. /package/dist/types/components/ic-skeleton/{ic-skeleton.test.a11y.d.ts → test/a11y/ic-skeleton.test.a11y.d.ts} +0 -0
  1024. /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
  1025. /package/dist/types/components/ic-stepper/{ic-stepper.test.a11y.d.ts → test/a11y/ic-stepper.test.a11y.d.ts} +0 -0
  1026. /package/dist/types/components/ic-stepper/{ic-stepper-test-examples.d.ts → test/basic/ic-stepper-test-examples.d.ts} +0 -0
  1027. /package/dist/types/components/ic-switch/{ic-switch.test.a11y.d.ts → test/a11y/ic-switch.test.a11y.d.ts} +0 -0
  1028. /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
  1029. /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
  1030. /package/dist/types/components/ic-toast/{ic-toast.test.a11y.d.ts → test/a11y/ic-toast.test.a11y.d.ts} +0 -0
  1031. /package/dist/types/components/ic-tooltip/{ic-tooltip.test.a11y.d.ts → test/a11y/ic-tooltip.test.a11y.d.ts} +0 -0
  1032. /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
  1033. /package/dist/types/components/ic-typography/{ic-typography.test.a11y.d.ts → test/a11y/ic-typography.test.a11y.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { fixture } from "@open-wc/testing-helpers";
2
2
  import { axe } from "jest-axe";
3
- import { checkShadowElementRendersCorrectly } from "../../utils/testa11y.helpers";
3
+ import { checkShadowElementRendersCorrectly } from "../../../../utils/testa11y.helpers";
4
4
  describe("skeleton component", () => {
5
5
  it("passes accessibility", async () => {
6
6
  const el = await fixture("<ic-data-row />");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-data-row.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-data-row/test/a11y/ic-data-row.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;EAClC,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC5C,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CACJ,MAAM,GAAG,CAAC,EAAE,EAAE;MACZ,wDAAwD;MACxD,KAAK,EAAE;QACL,sBAAsB,EAAE;UACtB,OAAO,EAAE,KAAK;SACf;OACF;KACF,CAAC,CACH,CAAC,kBAAkB,EAAE,CAAC;EACzB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../../../utils/testa11y.helpers\";\n\ndescribe(\"skeleton component\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(\"<ic-data-row />\");\n checkShadowElementRendersCorrectly(el);\n expect(\n await axe(el, {\n // Rule met by wrapping slot in parent component in <ul>\n rules: {\n \"aria-required-parent\": {\n enabled: false,\n },\n },\n })\n ).toHaveNoViolations();\n });\n});\n"]}
@@ -1,5 +1,5 @@
1
1
  import { newSpecPage } from "@stencil/core/testing";
2
- import { DataRow } from "./ic-data-row";
2
+ import { DataRow } from "../../ic-data-row";
3
3
  describe("ic-data-row", () => {
4
4
  it("should render", async () => {
5
5
  const page = await new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AAC;EAEH,EAAE,CAAC,oDAAoD,EAAE,KAAK,IAAI,EAAE;IAClE,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,OAAO,CAAC;MACrB,IAAI,EAAE,yDAAyD;KAChE,CAAC,CAAC;IAEH,MAAM,CAAC,cAAc,CACnB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC,EAC3C,aAAa,EACb;MACE,KAAK,EAAE,GAAG;KACX,CACF,CAAC;IAEF,IAAI,CAAC,cAAc,EAAE,CAAC;IAEtB,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,CAAC;IAEpC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;EAClD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { DataRow } from \"../../ic-data-row\";\n\ndescribe(\"ic-data-row\", () => {\n it(\"should render\", async () => {\n const page = await newSpecPage({\n components: [DataRow],\n html: `<ic-data-row label=\"label\" value=\"value\"></ic-data-row>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-data-row label=\"label\" role=\"listitem\" value=\"value\">\n <mock:shadow-root>\n <div class=\"data\">\n <div class=\"text-cells\">\n <div class=\"label\">\n <slot name=\"label\">\n <ic-typography variant=\"subtitle-large\">\n label\n </ic-typography>\n </slot>\n </div>\n <div class=\"value\">\n <slot name=\"value\">\n <ic-typography variant=\"body\">\n value\n </ic-typography>\n </slot>\n </div>\n </div>\n </div>\n <div class=\"divider\"></div>\n </mock:shadow-root>\n </ic-data-row>`);\n });\n\n it(\"should render slotted content in the label slot\", async () => {\n const page = await newSpecPage({\n components: [DataRow],\n html: `<ic-data-row value=\"value\"><ic-typography slot=\"label\">Label</ic-typography></ic-data-row>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-data-row role=\"listitem\" value=\"value\">\n <mock:shadow-root>\n <div class=\"data\">\n <div class=\"text-cells\">\n <div class=\"label\">\n <slot name=\"label\">\n <ic-typography variant=\"subtitle-large\"></ic-typography>\n </slot>\n </div>\n <div class=\"value\">\n <slot name=\"value\">\n <ic-typography variant=\"body\">\n value\n </ic-typography>\n </slot>\n </div>\n </div>\n </div>\n <div class=\"divider\"></div>\n </mock:shadow-root>\n <ic-typography slot=\"label\">\n Label\n </ic-typography>\n </ic-data-row>`);\n });\n\n it(\"should render slotted content in the value slot\", async () => {\n const page = await newSpecPage({\n components: [DataRow],\n html: `<ic-data-row label=\"label\"><ic-status-tag variant=\"success\" label=\"success\" slot=\"value\"></ic-status-tag></ic-data-row>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-data-row role=\"listitem\" label=\"label\">\n <mock:shadow-root>\n <div class=\"data\">\n <div class=\"text-cells\">\n <div class=\"label\">\n <slot name=\"label\">\n <ic-typography variant=\"subtitle-large\">\n label\n </ic-typography>\n </slot>\n </div>\n <div class=\"value\">\n <slot name=\"value\">\n <ic-typography variant=\"body\"></ic-typography>\n </slot>\n </div>\n </div>\n </div>\n <div class=\"divider\"></div>\n </mock:shadow-root>\n <ic-status-tag variant=\"success\" label=\"success\" slot=\"value\"></ic-status-tag>\n </ic-data-row>`);\n });\n\n it(\"should render slotted content in the end-component slot\", async () => {\n const page = await newSpecPage({\n components: [DataRow],\n html: `<ic-data-row label=\"label\" value=\"test value\"><ic-status-tag variant=\"success\" label=\"success\" slot=\"end-component\"></ic-status-tag></ic-data-row>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-data-row role=\"listitem\" label=\"label\" value=\"test value\">\n <mock:shadow-root>\n <div class=\"data\">\n <div class=\"text-cells\">\n <div class=\"label\">\n <slot name=\"label\">\n <ic-typography variant=\"subtitle-large\">\n label\n </ic-typography>\n </slot>\n </div>\n <div class=\"value\">\n <slot name=\"value\">\n <ic-typography variant=\"body\">test value</ic-typography>\n </slot>\n </div>\n </div>\n <div class=\"end-component\">\n <div role=\"cell\">\n <slot aria-label=\"for label row\" name=\"end-component\"></slot>\n </div>\n </div>\n </div>\n <div class=\"divider\"></div>\n </mock:shadow-root>\n <ic-status-tag variant=\"success\" label=\"success\" slot=\"end-component\"></ic-status-tag>\n </ic-data-row>`);\n });\n\n it(\"should render the label variant of typography when entity size is xs\", async () => {\n const page = await newSpecPage({\n components: [DataRow],\n html: `<ic-data-row label=\"label\"><ic-status-tag variant=\"success\" label=\"success\" slot=\"value\"></ic-status-tag></ic-data-row>`,\n });\n\n page.rootInstance.entitySize = \"xs\";\n await page.waitForChanges();\n\n expect(page.root).toEqualHtml(`\n <ic-data-row class=\"breakpoint-xs\" role=\"listitem\" label=\"label\">\n <mock:shadow-root>\n <div class=\"data\">\n <div class=\"text-cells\">\n <div class=\"label\">\n <slot name=\"label\">\n <ic-typography variant=\"label\">\n label\n </ic-typography>\n </slot>\n </div>\n <div class=\"value\">\n <slot name=\"value\">\n <ic-typography variant=\"body\"></ic-typography>\n </slot>\n </div>\n </div>\n </div>\n <div class=\"divider\"></div>\n </mock:shadow-root>\n <ic-status-tag variant=\"success\" label=\"success\" slot=\"value\"></ic-status-tag>\n </ic-data-row>`);\n });\n\n it(\"should call runResizeObserver\", async () => {\n const page = await newSpecPage({\n components: [DataRow],\n html: `<ic-data-row label=\"label\" value=\"value\"></ic-data-row>`,\n });\n\n await page.rootInstance.runResizeObserver();\n page.waitForChanges();\n\n const resize = new ResizeObserver(() => {\n page.rootInstance.checkLabelAbove();\n });\n\n expect(page.rootInstance.resizeObserver).toBe(resize);\n\n page.setContent(\"\");\n });\n\n it(\"should change entity size depending on screen size\", async () => {\n const page = await newSpecPage({\n components: [DataRow],\n html: `<ic-data-row label=\"label\" value=\"value\"></ic-data-row>`,\n });\n\n Object.defineProperty(\n page.root.shadowRoot.querySelector(\".data\"),\n \"clientWidth\",\n {\n value: 200,\n }\n );\n\n page.waitForChanges();\n\n page.rootInstance.checkLabelAbove();\n\n expect(page.rootInstance.entitySize).toBe(\"xs\");\n });\n});\n"]}
@@ -447,10 +447,7 @@ video {
447
447
 
448
448
  :host {
449
449
  position: fixed;
450
- top: 0;
451
- left: 0;
452
- bottom: 0;
453
- right: 0;
450
+ inset: 0;
454
451
  display: flex;
455
452
  align-items: center;
456
453
  justify-content: center;
@@ -3,14 +3,14 @@ import closeIcon from "../../assets/close-icon.svg";
3
3
  import { isSlotUsed, checkResizeObserver } from "../../utils/helpers";
4
4
  export class Dialog {
5
5
  constructor() {
6
- this.focusedElementIndex = 0;
7
6
  this.DATA_OVERFLOW = "data-overflow";
8
7
  this.DATA_GETS_FOCUS = "data-gets-focus";
9
8
  this.DATA_GETS_FOCUS_SELECTOR = "[data-gets-focus]";
10
9
  this.DIALOG_CONTROLS = "dialog-controls";
10
+ this.dialogHeight = 0;
11
+ this.focusedElementIndex = 0;
11
12
  this.IC_TEXT_FIELD = "IC-TEXT-FIELD";
12
13
  this.resizeObserver = null;
13
- this.dialogHeight = 0;
14
14
  this.setContentOverflow = () => {
15
15
  if (this.dialogEl.clientHeight < this.dialogEl.scrollHeight) {
16
16
  this.el.setAttribute(this.DATA_OVERFLOW, "true");
@@ -69,9 +69,9 @@ export class Dialog {
69
69
  this.getInteractiveElements = () => {
70
70
  this.interactiveElementList = Array.from(this.el.shadowRoot.querySelectorAll("ic-button"));
71
71
  const slottedInteractiveElements = Array.from(this.el.querySelectorAll(`a[href], button, input:not(.ic-input), textarea, select, details, [tabindex]:not([tabindex="-1"]),
72
- ic-button, ic-checkbox, ic-select, ic-search-bar, ic-tab-group, ic-radio-group,
73
- ic-back-to-top, ic-breadcrumb, ic-chip[dismissible="true"], ic-footer-link, ic-link, ic-navigation-button,
74
- ic-navigation-item, ic-switch, ic-text-field`));
72
+ ic-button, ic-checkbox, ic-select, ic-search-bar, ic-tab-group, ic-radio-group,
73
+ ic-back-to-top, ic-breadcrumb, ic-chip[dismissible="true"], ic-footer-link, ic-link, ic-navigation-button,
74
+ ic-navigation-item, ic-switch, ic-text-field`));
75
75
  if (slottedInteractiveElements.length > 0) {
76
76
  if (slottedInteractiveElements[0].slot !== this.DIALOG_CONTROLS) {
77
77
  slottedInteractiveElements[0].setAttribute(this.DATA_GETS_FOCUS, "");
@@ -146,16 +146,18 @@ export class Dialog {
146
146
  }
147
147
  }
148
148
  };
149
- this.size = "small";
150
- this.heading = undefined;
151
- this.label = undefined;
152
- this.dismissLabel = "Dismiss";
153
- this.status = undefined;
149
+ this.dialogRendered = false;
150
+ this.fadeIn = false;
154
151
  this.alertHeading = undefined;
155
152
  this.alertMessage = undefined;
156
153
  this.buttons = true;
157
- this.destructive = false;
158
154
  this.closeOnBackdropClick = true;
155
+ this.destructive = false;
156
+ this.dismissLabel = "Dismiss";
157
+ this.heading = undefined;
158
+ this.label = undefined;
159
+ this.size = "small";
160
+ this.status = undefined;
159
161
  this.buttonProps = [
160
162
  {
161
163
  label: "Cancel",
@@ -163,10 +165,45 @@ export class Dialog {
163
165
  },
164
166
  { label: "Confirm", onclick: "this.confirmDialog();" },
165
167
  ];
166
- this.dialogRendered = false;
167
- this.fadeIn = false;
168
168
  }
169
- /* eslint-enable */
169
+ watchPropHandler() {
170
+ this.setButtonOnClick();
171
+ }
172
+ componentWillLoad() {
173
+ this.setButtonOnClick();
174
+ }
175
+ componentDidLoad() {
176
+ this.getInteractiveElements();
177
+ this.setAlertVariant();
178
+ }
179
+ handleKeyboard(ev) {
180
+ if (this.dialogRendered) {
181
+ switch (ev.key) {
182
+ case "Tab":
183
+ ev.preventDefault();
184
+ this.focusNextInteractiveElement(ev.shiftKey);
185
+ break;
186
+ case "Escape":
187
+ !ev.repeat && this.hideDialog();
188
+ ev.stopImmediatePropagation();
189
+ break;
190
+ }
191
+ }
192
+ }
193
+ handleClick(ev) {
194
+ const dialogElement = this.el.shadowRoot.querySelector("dialog");
195
+ if (this.closeOnBackdropClick &&
196
+ ev.composedPath().indexOf(dialogElement) <= 0) {
197
+ const rect = this.dialogEl.getBoundingClientRect();
198
+ const isInDialog = rect.top <= ev.clientY &&
199
+ ev.clientY <= rect.top + rect.height &&
200
+ rect.left <= ev.clientX &&
201
+ ev.clientX <= rect.left + rect.width;
202
+ if (!isInDialog) {
203
+ this.hideDialog();
204
+ }
205
+ }
206
+ }
170
207
  /**
171
208
  * Use to show the dialog.
172
209
  */
@@ -216,44 +253,6 @@ export class Dialog {
216
253
  async confirmDialog() {
217
254
  this.icDialogConfirmed.emit();
218
255
  }
219
- watchPropHandler() {
220
- this.setButtonOnClick();
221
- }
222
- handleKeyboard(ev) {
223
- if (this.dialogRendered) {
224
- switch (ev.key) {
225
- case "Tab":
226
- ev.preventDefault();
227
- this.focusNextInteractiveElement(ev.shiftKey);
228
- break;
229
- case "Escape":
230
- !ev.repeat && this.hideDialog();
231
- ev.stopImmediatePropagation();
232
- break;
233
- }
234
- }
235
- }
236
- handleClick(ev) {
237
- const dialogElement = this.el.shadowRoot.querySelector("dialog");
238
- if (this.closeOnBackdropClick &&
239
- ev.composedPath().indexOf(dialogElement) <= 0) {
240
- const rect = this.dialogEl.getBoundingClientRect();
241
- const isInDialog = rect.top <= ev.clientY &&
242
- ev.clientY <= rect.top + rect.height &&
243
- rect.left <= ev.clientX &&
244
- ev.clientX <= rect.left + rect.width;
245
- if (!isInDialog) {
246
- this.hideDialog();
247
- }
248
- }
249
- }
250
- componentWillLoad() {
251
- this.setButtonOnClick();
252
- }
253
- componentDidLoad() {
254
- this.getInteractiveElements();
255
- this.setAlertVariant();
256
- }
257
256
  render() {
258
257
  const { alertHeading, alertMessage, buttons, buttonProps, size, heading, label, status, destructive, dismissLabel, } = this;
259
258
  return (h(Host, { class: { ["hidden"]: !this.dialogRendered, ["fade-in"]: this.fadeIn } }, h("dialog", { class: { ["dialog"]: true, [`${size}`]: true }, "aria-labelledby": "dialog-label dialog-heading", "aria-describedby": "dialog-alert dialog-content", ref: (el) => (this.dialogEl = el) }, h("div", { class: "heading-area" }, h("div", { class: "heading-content" }, h("div", { class: "label" }, h("slot", { name: "label" }, h("ic-typography", { variant: "label", id: "dialog-label" }, label))), h("div", { class: "heading" }, h("slot", { name: "heading" }, h("ic-typography", { variant: "h4", id: "dialog-heading" }, heading)))), h("ic-button", { class: "close-icon", variant: "icon", "aria-label": dismissLabel, onClick: this.closeIconClick, "data-gets-focus": destructive || !buttons ? "" : null }, h("span", { class: "close-icon-svg", slot: "icon", innerHTML: closeIcon }))), h("div", { class: "content-area" }, status && (h("ic-alert", { variant: status, heading: alertHeading, message: alertMessage, "title-above": true, class: "status-alert", id: "dialog-alert" })), h("div", { id: "dialog-content" }, h("slot", null))), (buttons || isSlotUsed(this.el, this.DIALOG_CONTROLS)) && (h("div", { class: {
@@ -285,25 +284,24 @@ export class Dialog {
285
284
  }
286
285
  static get properties() {
287
286
  return {
288
- "size": {
287
+ "alertHeading": {
289
288
  "type": "string",
290
289
  "mutable": false,
291
290
  "complexType": {
292
- "original": "\"small\" | \"medium\" | \"large\"",
293
- "resolved": "\"large\" | \"medium\" | \"small\"",
291
+ "original": "string",
292
+ "resolved": "string",
294
293
  "references": {}
295
294
  },
296
295
  "required": false,
297
296
  "optional": true,
298
297
  "docs": {
299
298
  "tags": [],
300
- "text": "Sets the maximum and minimum height and width for the dialog."
299
+ "text": "If a status is set, sets the heading for the displayed alert."
301
300
  },
302
- "attribute": "size",
303
- "reflect": false,
304
- "defaultValue": "\"small\""
301
+ "attribute": "alert-heading",
302
+ "reflect": false
305
303
  },
306
- "heading": {
304
+ "alertMessage": {
307
305
  "type": "string",
308
306
  "mutable": false,
309
307
  "complexType": {
@@ -311,68 +309,70 @@ export class Dialog {
311
309
  "resolved": "string",
312
310
  "references": {}
313
311
  },
314
- "required": true,
315
- "optional": false,
312
+ "required": false,
313
+ "optional": true,
316
314
  "docs": {
317
315
  "tags": [],
318
- "text": "Sets the heading for the dialog."
316
+ "text": "If a status is set, sets the message for the displayed alert."
319
317
  },
320
- "attribute": "heading",
318
+ "attribute": "alert-message",
321
319
  "reflect": false
322
320
  },
323
- "label": {
324
- "type": "string",
321
+ "buttons": {
322
+ "type": "boolean",
325
323
  "mutable": false,
326
324
  "complexType": {
327
- "original": "string",
328
- "resolved": "string",
325
+ "original": "boolean",
326
+ "resolved": "boolean",
329
327
  "references": {}
330
328
  },
331
329
  "required": false,
332
330
  "optional": true,
333
331
  "docs": {
334
332
  "tags": [],
335
- "text": "Sets the optional label for the dialog which appears above the heading."
333
+ "text": "If set to `false`, dialog controls will not be displayed overriding buttonProps or slotted dialog controls."
336
334
  },
337
- "attribute": "label",
338
- "reflect": false
335
+ "attribute": "buttons",
336
+ "reflect": false,
337
+ "defaultValue": "true"
339
338
  },
340
- "dismissLabel": {
341
- "type": "string",
339
+ "closeOnBackdropClick": {
340
+ "type": "boolean",
342
341
  "mutable": false,
343
342
  "complexType": {
344
- "original": "string",
345
- "resolved": "string",
343
+ "original": "boolean",
344
+ "resolved": "boolean",
346
345
  "references": {}
347
346
  },
348
347
  "required": false,
349
348
  "optional": true,
350
349
  "docs": {
351
350
  "tags": [],
352
- "text": "Sets the dismiss label tooltip and aria label."
351
+ "text": "If set to `true`, the dialog will not close when the backdrop is clicked."
353
352
  },
354
- "attribute": "dismiss-label",
353
+ "attribute": "close-on-backdrop-click",
355
354
  "reflect": false,
356
- "defaultValue": "\"Dismiss\""
355
+ "defaultValue": "true"
357
356
  },
358
- "status": {
359
- "type": "string",
357
+ "destructive": {
358
+ "type": "boolean",
360
359
  "mutable": false,
361
360
  "complexType": {
362
- "original": "\"neutral\" | \"info\" | \"warning\" | \"error\" | \"success\"",
363
- "resolved": "\"error\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
361
+ "original": "boolean",
362
+ "resolved": "boolean",
364
363
  "references": {}
365
364
  },
366
365
  "required": false,
367
366
  "optional": true,
368
367
  "docs": {
369
368
  "tags": [],
370
- "text": "If set, displays an alert of the corresponding variant below the heading."
369
+ "text": "If default buttons are displayed, sets the 'primary' or rightmost button to the destructive variant. Stops initial focus being set on the 'primary' or rightmost default or slotted button."
371
370
  },
372
- "attribute": "status",
373
- "reflect": false
371
+ "attribute": "destructive",
372
+ "reflect": false,
373
+ "defaultValue": "false"
374
374
  },
375
- "alertHeading": {
375
+ "dismissLabel": {
376
376
  "type": "string",
377
377
  "mutable": false,
378
378
  "complexType": {
@@ -384,12 +384,13 @@ export class Dialog {
384
384
  "optional": true,
385
385
  "docs": {
386
386
  "tags": [],
387
- "text": "If a status is set, sets the heading for the displayed alert."
387
+ "text": "Sets the dismiss label tooltip and aria label."
388
388
  },
389
- "attribute": "alert-heading",
390
- "reflect": false
389
+ "attribute": "dismiss-label",
390
+ "reflect": false,
391
+ "defaultValue": "\"Dismiss\""
391
392
  },
392
- "alertMessage": {
393
+ "heading": {
393
394
  "type": "string",
394
395
  "mutable": false,
395
396
  "complexType": {
@@ -397,68 +398,66 @@ export class Dialog {
397
398
  "resolved": "string",
398
399
  "references": {}
399
400
  },
400
- "required": false,
401
- "optional": true,
401
+ "required": true,
402
+ "optional": false,
402
403
  "docs": {
403
404
  "tags": [],
404
- "text": "If a status is set, sets the message for the displayed alert."
405
+ "text": "Sets the heading for the dialog."
405
406
  },
406
- "attribute": "alert-message",
407
+ "attribute": "heading",
407
408
  "reflect": false
408
409
  },
409
- "buttons": {
410
- "type": "boolean",
410
+ "label": {
411
+ "type": "string",
411
412
  "mutable": false,
412
413
  "complexType": {
413
- "original": "boolean",
414
- "resolved": "boolean",
414
+ "original": "string",
415
+ "resolved": "string",
415
416
  "references": {}
416
417
  },
417
418
  "required": false,
418
419
  "optional": true,
419
420
  "docs": {
420
421
  "tags": [],
421
- "text": "If set to `false`, dialog controls will not be displayed overriding buttonProps or slotted dialog controls."
422
+ "text": "Sets the optional label for the dialog which appears above the heading."
422
423
  },
423
- "attribute": "buttons",
424
- "reflect": false,
425
- "defaultValue": "true"
424
+ "attribute": "label",
425
+ "reflect": false
426
426
  },
427
- "destructive": {
428
- "type": "boolean",
427
+ "size": {
428
+ "type": "string",
429
429
  "mutable": false,
430
430
  "complexType": {
431
- "original": "boolean",
432
- "resolved": "boolean",
431
+ "original": "\"small\" | \"medium\" | \"large\"",
432
+ "resolved": "\"large\" | \"medium\" | \"small\"",
433
433
  "references": {}
434
434
  },
435
435
  "required": false,
436
436
  "optional": true,
437
437
  "docs": {
438
438
  "tags": [],
439
- "text": "If default buttons are displayed, sets the 'primary' or rightmost button to the destructive variant. Stops initial focus being set on the 'primary' or rightmost default or slotted button."
439
+ "text": "Sets the maximum and minimum height and width for the dialog."
440
440
  },
441
- "attribute": "destructive",
441
+ "attribute": "size",
442
442
  "reflect": false,
443
- "defaultValue": "false"
443
+ "defaultValue": "\"small\""
444
444
  },
445
- "closeOnBackdropClick": {
446
- "type": "boolean",
445
+ "status": {
446
+ "type": "string",
447
447
  "mutable": false,
448
448
  "complexType": {
449
- "original": "boolean",
450
- "resolved": "boolean",
449
+ "original": "\"neutral\" | \"info\" | \"warning\" | \"error\" | \"success\"",
450
+ "resolved": "\"error\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
451
451
  "references": {}
452
452
  },
453
453
  "required": false,
454
454
  "optional": true,
455
455
  "docs": {
456
456
  "tags": [],
457
- "text": "If set to `true`, the dialog will not close when the backdrop is clicked."
457
+ "text": "If set, displays an alert of the corresponding variant below the heading."
458
458
  },
459
- "attribute": "close-on-backdrop-click",
460
- "reflect": false,
461
- "defaultValue": "true"
459
+ "attribute": "status",
460
+ "reflect": false
462
461
  },
463
462
  "buttonProps": {
464
463
  "type": "unknown",
@@ -486,14 +485,14 @@ export class Dialog {
486
485
  }
487
486
  static get events() {
488
487
  return [{
489
- "method": "icDialogOpened",
490
- "name": "icDialogOpened",
488
+ "method": "icDialogCancelled",
489
+ "name": "icDialogCancelled",
491
490
  "bubbles": true,
492
491
  "cancelable": true,
493
492
  "composed": true,
494
493
  "docs": {
495
494
  "tags": [],
496
- "text": "Emitted when dialog has opened."
495
+ "text": "Cancelation event emitted when default 'Cancel' button clicked or 'cancelDialog' method is called."
497
496
  },
498
497
  "complexType": {
499
498
  "original": "void",
@@ -531,14 +530,14 @@ export class Dialog {
531
530
  "references": {}
532
531
  }
533
532
  }, {
534
- "method": "icDialogCancelled",
535
- "name": "icDialogCancelled",
533
+ "method": "icDialogOpened",
534
+ "name": "icDialogOpened",
536
535
  "bubbles": true,
537
536
  "cancelable": true,
538
537
  "composed": true,
539
538
  "docs": {
540
539
  "tags": [],
541
- "text": "Cancelation event emitted when default 'Cancel' button clicked or 'cancelDialog' method is called."
540
+ "text": "Emitted when dialog has opened."
542
541
  },
543
542
  "complexType": {
544
543
  "original": "void",
@@ -1 +1 @@
1
- {"version":3,"file":"ic-dialog.js","sourceRoot":"","sources":["../../../src/components/ic-dialog/ic-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,CAAC,GACF,MAAM,eAAe,CAAC;AACvB,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAOtE,MAAM,OAAO,MAAM;;IA8FT,wBAAmB,GAAG,CAAC,CAAC;IACxB,kBAAa,GAAW,eAAe,CAAC;IACxC,oBAAe,GAAW,iBAAiB,CAAC;IAC5C,6BAAwB,GAAW,mBAAmB,CAAC;IACvD,oBAAe,GAAW,iBAAiB,CAAC;IAC5C,kBAAa,GAAW,eAAe,CAAC;IACxC,mBAAc,GAAmB,IAAI,CAAC;IAEtC,iBAAY,GAAW,CAAC,CAAC;IA0GzB,uBAAkB,GAAG,GAAS,EAAE;MACtC,IAAI,IAAI,CAAC,QAAQ,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,YAAY,EAAE;QAC3D,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;OAClD;WAAM;QACL,IAAI,CAAC,EAAE,CAAC,YAAY,C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,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAC3C,KAAK,EAAC,uBAAuB,gBACjB,WAAW,CAAC,MAAM,KAAK,CAAC,qBAElC,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,KAAK,SAAS;oBACxC,CAAC,CAAC,EAAE;oBACJ,CAAC,CAAC,IAAI,IAGT,KAAK,CAAC,KAAK,CACF,CACb,CAAC;eACH;YACH,CAAC,CAAC,CACC,CACH,CACP,CACM,CACJ,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Prop,\n State,\n Method,\n Listen,\n Watch,\n h,\n} from \"@stencil/core\";\nimport closeIcon from \"../../assets/close-icon.svg\";\nimport { isSlotUsed, checkResizeObserver } from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-dialog\",\n styleUrl: \"ic-dialog.css\",\n shadow: true,\n})\nexport class Dialog {\n /**\n * @slot dialog-controls - Content will be place at the bottom of the dialog.\n * @slot heading - Content will be placed at the top of the dialog.\n * @slot label - Content will be placed above the dialog heading.\n */\n @Element() el: HTMLIcDialogElement;\n\n /**\n * Sets the maximum and minimum height and width for the dialog.\n */\n @Prop() size?: \"small\" | \"medium\" | \"large\" = \"small\";\n\n /**\n * Sets the heading for the dialog.\n */\n @Prop() heading!: string;\n\n /**\n * Sets the optional label for the dialog which appears above the heading.\n */\n @Prop() label?: string;\n\n /**\n * Sets the dismiss label tooltip and aria label.\n */\n @Prop() dismissLabel?: string = \"Dismiss\";\n\n /**\n * If set, displays an alert of the corresponding variant below the heading.\n */\n @Prop() status?: \"neutral\" | \"info\" | \"warning\" | \"error\" | \"success\";\n\n /**\n * If a status is set, sets the heading for the displayed alert.\n */\n @Prop() alertHeading?: string;\n /**\n * If a status is set, sets the message for the displayed alert.\n */\n @Prop() alertMessage?: string;\n\n /**\n * If set to `false`, dialog controls will not be displayed overriding buttonProps or slotted dialog controls.\n */\n @Prop() buttons?: boolean = true;\n /**\n * If default buttons are displayed, sets the 'primary' or rightmost button to the destructive variant. Stops initial focus being set on the 'primary' or rightmost default or slotted button.\n */\n @Prop() destructive?: boolean = false;\n\n /**\n * If set to `true`, the dialog will not close when the backdrop is clicked.\n */\n @Prop() closeOnBackdropClick?: boolean = true;\n\n /**\n * Sets the label and onclick functions for default buttons.\n */\n @Prop() buttonProps?: { label: string; onclick: string }[] = [\n {\n label: \"Cancel\",\n onclick: \"this.cancelDialog();\",\n },\n { label: \"Confirm\", onclick: \"this.confirmDialog();\" },\n ];\n\n @State() dialogRendered: boolean = false;\n\n @State() fadeIn: boolean = false;\n\n /**\n * Emitted when dialog has opened.\n */\n @Event() icDialogOpened: EventEmitter<void>;\n\n /**\n * Emitted when dialog has closed.\n */\n @Event() icDialogClosed: EventEmitter<void>;\n\n /**\n * Confirmation event emitted when default 'Confirm' primary button clicked or 'confirmDialog' method is called.\n */\n @Event() icDialogConfirmed: EventEmitter<void>;\n\n /**\n * Cancelation event emitted when default 'Cancel' button clicked or 'cancelDialog' method is called.\n */\n @Event() icDialogCancelled: EventEmitter<void>;\n\n private sourceElement: HTMLElement;\n private interactiveElementList: HTMLElement[];\n private dialogEl: HTMLDialogElement;\n private focusedElementIndex = 0;\n private DATA_OVERFLOW: string = \"data-overflow\";\n private DATA_GETS_FOCUS: string = \"data-gets-focus\";\n private DATA_GETS_FOCUS_SELECTOR: string = \"[data-gets-focus]\";\n private DIALOG_CONTROLS: string = \"dialog-controls\";\n private IC_TEXT_FIELD: string = \"IC-TEXT-FIELD\";\n private resizeObserver: ResizeObserver = null;\n private resizeTimeout: number;\n private dialogHeight: number = 0;\n\n /* eslint-disable */\n\n private buttonOnclick0: Function;\n private buttonOnclick1: Function;\n private buttonOnclick2: Function;\n\n /* eslint-enable */\n\n /**\n * Use to show the dialog.\n */\n @Method()\n async showDialog() {\n this.dialogRendered = true;\n this.dialogEl.showModal();\n setTimeout(() => {\n this.fadeIn = true;\n }, 10);\n setTimeout(() => {\n this.setInitialFocus();\n checkResizeObserver(this.runResizeObserver);\n }, 75);\n setTimeout(() => {\n this.getFocusedElementIndex();\n this.icDialogOpened.emit();\n }, 80);\n }\n\n /**\n * Use to hide the dialog.\n */\n @Method()\n async hideDialog() {\n this.fadeIn = false;\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n setTimeout(() => {\n this.dialogRendered = false;\n this.dialogEl.close();\n this.sourceElement?.focus();\n this.el.removeAttribute(this.DATA_OVERFLOW);\n this.dialogHeight = 0;\n this.icDialogClosed.emit();\n }, 80);\n }\n\n /**\n * Cancels the dialog. Used by the default 'Cancel' button or can be called manually to trigger cancelling of dialog.\n */\n @Method()\n async cancelDialog(): Promise<void> {\n this.icDialogCancelled.emit();\n this.hideDialog();\n }\n\n /**\n * Confirms the dialog. Used by the default 'Confirm' button or can be called manually to trigger confirming of dialog.\n */\n @Method()\n async confirmDialog(): Promise<void> {\n this.icDialogConfirmed.emit();\n }\n\n @Watch(\"buttonProps\")\n watchPropHandler(): void {\n this.setButtonOnClick();\n }\n\n @Listen(\"keydown\", { target: \"document\" })\n handleKeyboard(ev: KeyboardEvent): void {\n if (this.dialogRendered) {\n switch (ev.key) {\n case \"Tab\":\n ev.preventDefault();\n this.focusNextInteractiveElement(ev.shiftKey);\n break;\n case \"Escape\":\n !ev.repeat && this.hideDialog();\n ev.stopImmediatePropagation();\n break;\n }\n }\n }\n\n @Listen(\"click\")\n handleClick(ev: MouseEvent): void {\n const dialogElement = this.el.shadowRoot.querySelector(\"dialog\");\n if (\n this.closeOnBackdropClick &&\n ev.composedPath().indexOf(dialogElement) <= 0\n ) {\n const rect = this.dialogEl.getBoundingClientRect();\n const isInDialog =\n rect.top <= ev.clientY &&\n ev.clientY <= rect.top + rect.height &&\n rect.left <= ev.clientX &&\n ev.clientX <= rect.left + rect.width;\n if (!isInDialog) {\n this.hideDialog();\n }\n }\n }\n\n private setContentOverflow = (): void => {\n if (this.dialogEl.clientHeight < this.dialogEl.scrollHeight) {\n this.el.setAttribute(this.DATA_OVERFLOW, \"true\");\n } else {\n this.el.setAttribute(this.DATA_OVERFLOW, \"false\");\n }\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n clearTimeout(this.resizeTimeout);\n this.resizeTimeout = window.setTimeout(this.resizeObserverCallback, 80);\n });\n this.resizeObserver.observe(this.dialogEl);\n };\n\n private resizeObserverCallback = () => {\n if (this.dialogEl.clientHeight !== this.dialogHeight) {\n this.el.setAttribute(this.DATA_OVERFLOW, \"false\");\n this.setContentOverflow();\n this.dialogHeight = this.dialogEl.clientHeight;\n }\n };\n\n private setInitialFocus = () => {\n this.sourceElement = document.activeElement as HTMLElement;\n\n let focusedElement;\n\n if (this.el.querySelector(this.DATA_GETS_FOCUS_SELECTOR) !== null) {\n focusedElement = this.el.querySelector(\n this.DATA_GETS_FOCUS_SELECTOR\n ) as HTMLElement;\n } else {\n focusedElement = this.el.shadowRoot.querySelector(\n this.DATA_GETS_FOCUS_SELECTOR\n ) as HTMLElement;\n }\n if (focusedElement.tagName === this.IC_TEXT_FIELD) {\n (focusedElement as HTMLIcTextFieldElement).setFocus();\n } else {\n focusedElement.focus();\n }\n };\n\n private getFocusedElementIndex = () => {\n for (let i = 0; i < this.interactiveElementList.length; i++) {\n if (\n (this.interactiveElementList[i] as HTMLElement) ===\n (this.el.shadowRoot.activeElement || document.activeElement)\n ) {\n this.focusedElementIndex = i;\n }\n }\n };\n\n private setAlertVariant = () => {\n if (this.status !== undefined && this.status !== null) {\n const alert = this.el.shadowRoot.querySelector(\"ic-alert\");\n alert.setAttribute(\"variant\", this.status);\n }\n };\n\n private closeIconClick = () => {\n this.hideDialog();\n };\n\n private getInteractiveElements = () => {\n this.interactiveElementList = Array.from(\n this.el.shadowRoot.querySelectorAll(\"ic-button\")\n );\n const slottedInteractiveElements = Array.from(\n this.el.querySelectorAll(\n `a[href], button, input:not(.ic-input), textarea, select, details, [tabindex]:not([tabindex=\"-1\"]), \n ic-button, ic-checkbox, ic-select, ic-search-bar, ic-tab-group, ic-radio-group, \n ic-back-to-top, ic-breadcrumb, ic-chip[dismissible=\"true\"], ic-footer-link, ic-link, ic-navigation-button, \n ic-navigation-item, ic-switch, ic-text-field`\n )\n );\n if (slottedInteractiveElements.length > 0) {\n if (slottedInteractiveElements[0].slot !== this.DIALOG_CONTROLS) {\n slottedInteractiveElements[0].setAttribute(this.DATA_GETS_FOCUS, \"\");\n } else if (!this.destructive) {\n slottedInteractiveElements[\n slottedInteractiveElements.length - 1\n ].setAttribute(this.DATA_GETS_FOCUS, \"\");\n }\n }\n for (let i = 0; i < slottedInteractiveElements.length; i++) {\n this.interactiveElementList.splice(\n 1 + i,\n 0,\n slottedInteractiveElements[i] as HTMLElement\n );\n }\n };\n\n private focusNextInteractiveElement = (shiftKey: boolean) => {\n this.getFocusedElementIndex();\n\n if (shiftKey) {\n this.focusedElementIndex -= 1;\n } else {\n this.focusedElementIndex += 1;\n }\n\n if (this.focusedElementIndex > this.interactiveElementList.length - 1)\n this.focusedElementIndex = 0;\n else if (this.focusedElementIndex < 0) {\n this.focusedElementIndex = this.interactiveElementList.length - 1;\n }\n\n const nextFocusEl = this.interactiveElementList[this.focusedElementIndex];\n if (nextFocusEl.tagName === this.IC_TEXT_FIELD) {\n (nextFocusEl as HTMLIcTextFieldElement).setFocus();\n } else {\n (nextFocusEl as HTMLElement).focus();\n }\n };\n\n private setButtonOnClick = () => {\n if (this.buttons) {\n this.buttonOnclick0 = new Function(this.buttonProps[0]?.onclick);\n this.buttonOnclick1 = new Function(this.buttonProps[1]?.onclick);\n this.buttonOnclick2 = new Function(this.buttonProps[2]?.onclick);\n }\n };\n\n private getButtonOnclick = (index: number) => {\n if (index === 0) {\n return this.buttonOnclick0();\n } else if (index === 1) {\n return this.buttonOnclick1();\n } else {\n return this.buttonOnclick2();\n }\n };\n\n private getButtonVariant = (index: number) => {\n const mainVariant = this.destructive ? \"destructive\" : \"primary\";\n if (this.buttonProps.length === 1) {\n return mainVariant;\n } else if (this.buttonProps.length === 2) {\n if (index === 0) {\n return \"tertiary\";\n } else {\n return mainVariant;\n }\n } else {\n if (index === 2) {\n return mainVariant;\n } else {\n return \"secondary\";\n }\n }\n };\n\n componentWillLoad(): void {\n this.setButtonOnClick();\n }\n\n componentDidLoad(): void {\n this.getInteractiveElements();\n this.setAlertVariant();\n }\n\n render() {\n const {\n alertHeading,\n alertMessage,\n buttons,\n buttonProps,\n size,\n heading,\n label,\n status,\n destructive,\n dismissLabel,\n } = this;\n\n return (\n <Host\n class={{ [\"hidden\"]: !this.dialogRendered, [\"fade-in\"]: this.fadeIn }}\n >\n <dialog\n class={{ [\"dialog\"]: true, [`${size}`]: true }}\n aria-labelledby=\"dialog-label dialog-heading\"\n aria-describedby=\"dialog-alert dialog-content\"\n ref={(el) => (this.dialogEl = el)}\n >\n <div class=\"heading-area\">\n <div class=\"heading-content\">\n <div class=\"label\">\n <slot name=\"label\">\n <ic-typography variant=\"label\" id=\"dialog-label\">\n {label}\n </ic-typography>\n </slot>\n </div>\n <div class=\"heading\">\n <slot name=\"heading\">\n <ic-typography variant=\"h4\" id=\"dialog-heading\">\n {heading}\n </ic-typography>\n </slot>\n </div>\n </div>\n <ic-button\n class=\"close-icon\"\n variant=\"icon\"\n aria-label={dismissLabel}\n onClick={this.closeIconClick}\n data-gets-focus={destructive || !buttons ? \"\" : null}\n >\n <span class=\"close-icon-svg\" slot=\"icon\" innerHTML={closeIcon} />\n </ic-button>\n </div>\n <div class=\"content-area\">\n {status && (\n <ic-alert\n variant={status}\n heading={alertHeading}\n message={alertMessage}\n title-above\n class=\"status-alert\"\n id=\"dialog-alert\"\n ></ic-alert>\n )}\n <div id=\"dialog-content\">\n <slot></slot>\n </div>\n </div>\n {(buttons || isSlotUsed(this.el, this.DIALOG_CONTROLS)) && (\n <div\n class={{\n [this.DIALOG_CONTROLS]: true,\n [\"triple-button\"]: buttonProps.length === 3,\n }}\n >\n <slot name={this.DIALOG_CONTROLS}>\n {!isSlotUsed(this.el, this.DIALOG_CONTROLS) &&\n buttonProps.map((props, index) => {\n if (index > 2) {\n return;\n } else {\n return (\n <ic-button\n variant={this.getButtonVariant(index)}\n onClick={() => this.getButtonOnclick(index)}\n class=\"dialog-control-button\"\n full-width={buttonProps.length === 3}\n data-gets-focus={\n this.getButtonVariant(index) === \"primary\"\n ? \"\"\n : null\n }\n >\n {props.label}\n </ic-button>\n );\n }\n })}\n </slot>\n </div>\n )}\n </dialog>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ic-dialog.js","sourceRoot":"","sources":["../../../src/components/ic-dialog/ic-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,CAAC,GACF,MAAM,eAAe,CAAC;AACvB,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAOtE,MAAM,OAAO,MAAM;;IACT,kBAAa,GAAW,eAAe,CAAC;IACxC,oBAAe,GAAW,iBAAiB,CAAC;IAC5C,6BAAwB,GAAW,mBAAmB,CAAC;IACvD,oBAAe,GAAW,i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Watch,\n h,\n} from \"@stencil/core\";\nimport closeIcon from \"../../assets/close-icon.svg\";\nimport { isSlotUsed, checkResizeObserver } from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-dialog\",\n styleUrl: \"ic-dialog.css\",\n shadow: true,\n})\nexport class Dialog {\n private DATA_OVERFLOW: string = \"data-overflow\";\n private DATA_GETS_FOCUS: string = \"data-gets-focus\";\n private DATA_GETS_FOCUS_SELECTOR: string = \"[data-gets-focus]\";\n private DIALOG_CONTROLS: string = \"dialog-controls\";\n private dialogEl: HTMLDialogElement;\n private dialogHeight: number = 0;\n private focusedElementIndex = 0;\n private IC_TEXT_FIELD: string = \"IC-TEXT-FIELD\";\n private interactiveElementList: HTMLElement[];\n private resizeObserver: ResizeObserver = null;\n private resizeTimeout: number;\n private sourceElement: HTMLElement;\n\n /* eslint-disable */\n\n private buttonOnclick0: Function;\n private buttonOnclick1: Function;\n private buttonOnclick2: Function;\n\n /* eslint-enable */\n\n @Element() el: HTMLIcDialogElement;\n\n @State() dialogRendered: boolean = false;\n @State() fadeIn: boolean = false;\n\n /**\n * @slot dialog-controls - Content will be place at the bottom of the dialog.\n * @slot heading - Content will be placed at the top of the dialog.\n * @slot label - Content will be placed above the dialog heading.\n */\n\n /**\n * If a status is set, sets the heading for the displayed alert.\n */\n @Prop() alertHeading?: string;\n\n /**\n * If a status is set, sets the message for the displayed alert.\n */\n @Prop() alertMessage?: string;\n\n /**\n * If set to `false`, dialog controls will not be displayed overriding buttonProps or slotted dialog controls.\n */\n @Prop() buttons?: boolean = true;\n\n /**\n * If set to `true`, the dialog will not close when the backdrop is clicked.\n */\n @Prop() closeOnBackdropClick?: boolean = true;\n\n /**\n * If default buttons are displayed, sets the 'primary' or rightmost button to the destructive variant. Stops initial focus being set on the 'primary' or rightmost default or slotted button.\n */\n @Prop() destructive?: boolean = false;\n\n /**\n * Sets the dismiss label tooltip and aria label.\n */\n @Prop() dismissLabel?: string = \"Dismiss\";\n\n /**\n * Sets the heading for the dialog.\n */\n @Prop() heading!: string;\n\n /**\n * Sets the optional label for the dialog which appears above the heading.\n */\n @Prop() label?: string;\n\n /**\n * Sets the maximum and minimum height and width for the dialog.\n */\n @Prop() size?: \"small\" | \"medium\" | \"large\" = \"small\";\n\n /**\n * If set, displays an alert of the corresponding variant below the heading.\n */\n @Prop() status?: \"neutral\" | \"info\" | \"warning\" | \"error\" | \"success\";\n\n /**\n * Sets the label and onclick functions for default buttons.\n */\n @Prop() buttonProps?: { label: string; onclick: string }[] = [\n {\n label: \"Cancel\",\n onclick: \"this.cancelDialog();\",\n },\n { label: \"Confirm\", onclick: \"this.confirmDialog();\" },\n ];\n\n @Watch(\"buttonProps\")\n watchPropHandler(): void {\n this.setButtonOnClick();\n }\n\n /**\n * Cancelation event emitted when default 'Cancel' button clicked or 'cancelDialog' method is called.\n */\n @Event() icDialogCancelled: EventEmitter<void>;\n\n /**\n * Emitted when dialog has closed.\n */\n @Event() icDialogClosed: EventEmitter<void>;\n\n /**\n * Confirmation event emitted when default 'Confirm' primary button clicked or 'confirmDialog' method is called.\n */\n @Event() icDialogConfirmed: EventEmitter<void>;\n\n /**\n * Emitted when dialog has opened.\n */\n @Event() icDialogOpened: EventEmitter<void>;\n\n componentWillLoad(): void {\n this.setButtonOnClick();\n }\n\n componentDidLoad(): void {\n this.getInteractiveElements();\n this.setAlertVariant();\n }\n\n @Listen(\"keydown\", { target: \"document\" })\n handleKeyboard(ev: KeyboardEvent): void {\n if (this.dialogRendered) {\n switch (ev.key) {\n case \"Tab\":\n ev.preventDefault();\n this.focusNextInteractiveElement(ev.shiftKey);\n break;\n case \"Escape\":\n !ev.repeat && this.hideDialog();\n ev.stopImmediatePropagation();\n break;\n }\n }\n }\n\n @Listen(\"click\", {})\n handleClick(ev: MouseEvent): void {\n const dialogElement = this.el.shadowRoot.querySelector(\"dialog\");\n if (\n this.closeOnBackdropClick &&\n ev.composedPath().indexOf(dialogElement) <= 0\n ) {\n const rect = this.dialogEl.getBoundingClientRect();\n const isInDialog =\n rect.top <= ev.clientY &&\n ev.clientY <= rect.top + rect.height &&\n rect.left <= ev.clientX &&\n ev.clientX <= rect.left + rect.width;\n if (!isInDialog) {\n this.hideDialog();\n }\n }\n }\n\n /**\n * Use to show the dialog.\n */\n @Method()\n async showDialog(): Promise<void> {\n this.dialogRendered = true;\n this.dialogEl.showModal();\n setTimeout(() => {\n this.fadeIn = true;\n }, 10);\n setTimeout(() => {\n this.setInitialFocus();\n checkResizeObserver(this.runResizeObserver);\n }, 75);\n setTimeout(() => {\n this.getFocusedElementIndex();\n this.icDialogOpened.emit();\n }, 80);\n }\n\n /**\n * Use to hide the dialog.\n */\n @Method()\n async hideDialog(): Promise<void> {\n this.fadeIn = false;\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n setTimeout(() => {\n this.dialogRendered = false;\n this.dialogEl.close();\n this.sourceElement?.focus();\n this.el.removeAttribute(this.DATA_OVERFLOW);\n this.dialogHeight = 0;\n this.icDialogClosed.emit();\n }, 80);\n }\n\n /**\n * Cancels the dialog. Used by the default 'Cancel' button or can be called manually to trigger cancelling of dialog.\n */\n @Method()\n async cancelDialog(): Promise<void> {\n this.icDialogCancelled.emit();\n this.hideDialog();\n }\n\n /**\n * Confirms the dialog. Used by the default 'Confirm' button or can be called manually to trigger confirming of dialog.\n */\n @Method()\n async confirmDialog(): Promise<void> {\n this.icDialogConfirmed.emit();\n }\n\n private setContentOverflow = (): void => {\n if (this.dialogEl.clientHeight < this.dialogEl.scrollHeight) {\n this.el.setAttribute(this.DATA_OVERFLOW, \"true\");\n } else {\n this.el.setAttribute(this.DATA_OVERFLOW, \"false\");\n }\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n clearTimeout(this.resizeTimeout);\n this.resizeTimeout = window.setTimeout(this.resizeObserverCallback, 80);\n });\n this.resizeObserver.observe(this.dialogEl);\n };\n\n private resizeObserverCallback = () => {\n if (this.dialogEl.clientHeight !== this.dialogHeight) {\n this.el.setAttribute(this.DATA_OVERFLOW, \"false\");\n this.setContentOverflow();\n this.dialogHeight = this.dialogEl.clientHeight;\n }\n };\n\n private setInitialFocus = () => {\n this.sourceElement = document.activeElement as HTMLElement;\n\n let focusedElement;\n\n if (this.el.querySelector(this.DATA_GETS_FOCUS_SELECTOR) !== null) {\n focusedElement = this.el.querySelector(\n this.DATA_GETS_FOCUS_SELECTOR\n ) as HTMLElement;\n } else {\n focusedElement = this.el.shadowRoot.querySelector(\n this.DATA_GETS_FOCUS_SELECTOR\n ) as HTMLElement;\n }\n if (focusedElement.tagName === this.IC_TEXT_FIELD) {\n (focusedElement as HTMLIcTextFieldElement).setFocus();\n } else {\n focusedElement.focus();\n }\n };\n\n private getFocusedElementIndex = () => {\n for (let i = 0; i < this.interactiveElementList.length; i++) {\n if (\n (this.interactiveElementList[i] as HTMLElement) ===\n (this.el.shadowRoot.activeElement || document.activeElement)\n ) {\n this.focusedElementIndex = i;\n }\n }\n };\n\n private setAlertVariant = () => {\n if (this.status !== undefined && this.status !== null) {\n const alert = this.el.shadowRoot.querySelector(\"ic-alert\");\n alert.setAttribute(\"variant\", this.status);\n }\n };\n\n private closeIconClick = () => {\n this.hideDialog();\n };\n\n private getInteractiveElements = () => {\n this.interactiveElementList = Array.from(\n this.el.shadowRoot.querySelectorAll(\"ic-button\")\n );\n const slottedInteractiveElements = Array.from(\n this.el.querySelectorAll(\n `a[href], button, input:not(.ic-input), textarea, select, details, [tabindex]:not([tabindex=\"-1\"]), \n ic-button, ic-checkbox, ic-select, ic-search-bar, ic-tab-group, ic-radio-group, \n ic-back-to-top, ic-breadcrumb, ic-chip[dismissible=\"true\"], ic-footer-link, ic-link, ic-navigation-button, \n ic-navigation-item, ic-switch, ic-text-field`\n )\n );\n if (slottedInteractiveElements.length > 0) {\n if (slottedInteractiveElements[0].slot !== this.DIALOG_CONTROLS) {\n slottedInteractiveElements[0].setAttribute(this.DATA_GETS_FOCUS, \"\");\n } else if (!this.destructive) {\n slottedInteractiveElements[\n slottedInteractiveElements.length - 1\n ].setAttribute(this.DATA_GETS_FOCUS, \"\");\n }\n }\n for (let i = 0; i < slottedInteractiveElements.length; i++) {\n this.interactiveElementList.splice(\n 1 + i,\n 0,\n slottedInteractiveElements[i] as HTMLElement\n );\n }\n };\n\n private focusNextInteractiveElement = (shiftKey: boolean) => {\n this.getFocusedElementIndex();\n\n if (shiftKey) {\n this.focusedElementIndex -= 1;\n } else {\n this.focusedElementIndex += 1;\n }\n\n if (this.focusedElementIndex > this.interactiveElementList.length - 1)\n this.focusedElementIndex = 0;\n else if (this.focusedElementIndex < 0) {\n this.focusedElementIndex = this.interactiveElementList.length - 1;\n }\n\n const nextFocusEl = this.interactiveElementList[this.focusedElementIndex];\n if (nextFocusEl.tagName === this.IC_TEXT_FIELD) {\n (nextFocusEl as HTMLIcTextFieldElement).setFocus();\n } else {\n (nextFocusEl as HTMLElement).focus();\n }\n };\n\n private setButtonOnClick = () => {\n if (this.buttons) {\n this.buttonOnclick0 = new Function(this.buttonProps[0]?.onclick);\n this.buttonOnclick1 = new Function(this.buttonProps[1]?.onclick);\n this.buttonOnclick2 = new Function(this.buttonProps[2]?.onclick);\n }\n };\n\n private getButtonOnclick = (index: number) => {\n if (index === 0) {\n return this.buttonOnclick0();\n } else if (index === 1) {\n return this.buttonOnclick1();\n } else {\n return this.buttonOnclick2();\n }\n };\n\n private getButtonVariant = (index: number) => {\n const mainVariant = this.destructive ? \"destructive\" : \"primary\";\n if (this.buttonProps.length === 1) {\n return mainVariant;\n } else if (this.buttonProps.length === 2) {\n if (index === 0) {\n return \"tertiary\";\n } else {\n return mainVariant;\n }\n } else {\n if (index === 2) {\n return mainVariant;\n } else {\n return \"secondary\";\n }\n }\n };\n\n render() {\n const {\n alertHeading,\n alertMessage,\n buttons,\n buttonProps,\n size,\n heading,\n label,\n status,\n destructive,\n dismissLabel,\n } = this;\n\n return (\n <Host\n class={{ [\"hidden\"]: !this.dialogRendered, [\"fade-in\"]: this.fadeIn }}\n >\n <dialog\n class={{ [\"dialog\"]: true, [`${size}`]: true }}\n aria-labelledby=\"dialog-label dialog-heading\"\n aria-describedby=\"dialog-alert dialog-content\"\n ref={(el) => (this.dialogEl = el)}\n >\n <div class=\"heading-area\">\n <div class=\"heading-content\">\n <div class=\"label\">\n <slot name=\"label\">\n <ic-typography variant=\"label\" id=\"dialog-label\">\n {label}\n </ic-typography>\n </slot>\n </div>\n <div class=\"heading\">\n <slot name=\"heading\">\n <ic-typography variant=\"h4\" id=\"dialog-heading\">\n {heading}\n </ic-typography>\n </slot>\n </div>\n </div>\n <ic-button\n class=\"close-icon\"\n variant=\"icon\"\n aria-label={dismissLabel}\n onClick={this.closeIconClick}\n data-gets-focus={destructive || !buttons ? \"\" : null}\n >\n <span class=\"close-icon-svg\" slot=\"icon\" innerHTML={closeIcon} />\n </ic-button>\n </div>\n <div class=\"content-area\">\n {status && (\n <ic-alert\n variant={status}\n heading={alertHeading}\n message={alertMessage}\n title-above\n class=\"status-alert\"\n id=\"dialog-alert\"\n ></ic-alert>\n )}\n <div id=\"dialog-content\">\n <slot></slot>\n </div>\n </div>\n {(buttons || isSlotUsed(this.el, this.DIALOG_CONTROLS)) && (\n <div\n class={{\n [this.DIALOG_CONTROLS]: true,\n [\"triple-button\"]: buttonProps.length === 3,\n }}\n >\n <slot name={this.DIALOG_CONTROLS}>\n {!isSlotUsed(this.el, this.DIALOG_CONTROLS) &&\n buttonProps.map((props, index) => {\n if (index > 2) {\n return;\n } else {\n return (\n <ic-button\n variant={this.getButtonVariant(index)}\n onClick={() => this.getButtonOnclick(index)}\n class=\"dialog-control-button\"\n full-width={buttonProps.length === 3}\n data-gets-focus={\n this.getButtonVariant(index) === \"primary\"\n ? \"\"\n : null\n }\n >\n {props.label}\n </ic-button>\n );\n }\n })}\n </slot>\n </div>\n )}\n </dialog>\n </Host>\n );\n }\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import { fixture } from "@open-wc/testing-helpers";
2
2
  import { axe } from "jest-axe";
3
- import { checkShadowElementRendersCorrectly } from "../../utils/testa11y.helpers";
3
+ import { checkShadowElementRendersCorrectly } from "../../../../utils/testa11y.helpers";
4
4
  describe("dialog component", () => {
5
5
  it("passes accessibility", async () => {
6
6
  const el = await fixture(`
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-dialog.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-dialog/test/a11y/ic-dialog.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;EAChC,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;cAiBf,CAAC,CAAC;IACZ,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;EAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../../../utils/testa11y.helpers\";\n\ndescribe(\"dialog component\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(`\n <ic-dialog\n label=\"Success\"\n heading=\"Action was a success!\" \n size=\"small\" \n status=\"success\"\n alert-heading=\"Success!\"\n alert-message=\"Action was a success\"\n buttons=\"two\"\n >\n Lorem ipsum dolor sit amet, \n consectetur adipiscing elit, \n sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n </ic-dialog>\n <script>\n dialog = document.querySelector('ic-dialog');\n dialog.buttonProps = [{label: \"Click me!\", onclick: \"alert('clicked')\"},{label: \"Close\", onclick: \"this.hideDialog()\"},{}];\n </script>`);\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}