@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 +1 @@
1
- {"file":"ic-navigation-menu.entry.js","mappings":";;;;AAAA,MAAM,mBAAmB,GAAG,6iDAA6iD;;MCsB5jD,cAAc;;;;IA2CjB,eAAU,GAAY,KAAK,CAAC;IAC5B,kBAAa,GAAY,KAAK,CAAC;IAC/B,wBAAmB,GAAY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YACE,CAAC,EAAC,uGAAuG,EACzG,IAAI,EAAC,SAAS,GACd,CACE,CACI,CACR,EACL,IAAI,CAAC,aAAa,IAAI,YAAM,IAAI,EAAC,YAAY,GAAQ,CAClD,EACL,IAAI,CAAC,UAAU,KACd,WACE,KAAK,EAAE;QACL,CAAC,wBAAwB,GAAG,IAAI;QAChC,CAAC,uCAAuC,GACtC,IAAI,CAAC,mBAAmB;OAC3B,IAED,YAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,CACP,EACA,CAAC,IAAI,CAAC,MAAM,KAAK,EAAE,IAAI,IAAI,CAAC,OAAO,KAAK,EAAE,MACzC,WAAK,KAAK,EAAC,+BAA+B,IACvC,IAAI,CAAC,MAAM,KAAK,EAAE,KACjB,WAAK,KAAK,EAAC,aAAa,IACtB,qBACE,OAAO,EAAC,iBAAiB,gBACd,SAAS,EACpB,KAAK,EAAC,kBAAkB,IAEvB,IAAI,CAAC,MAAM,CACE,CACZ,CACP,EACA,IAAI,CAAC,OAAO,KAAK,EAAE,KAClB,WAAK,KAAK,EAAC,cAAc,IACvB,qBACE,OAAO,EAAC,OAAO,EACf,KAAK,EAAC,mBAAmB,gBACd,aAAa,IAEvB,IAAI,CAAC,OAAO,CACC,CACZ,CACP,CACG,CACP,CACG,CACD,EACP;GACH;;;;;;;","names":[],"sources":["./src/components/ic-navigation-menu/ic-navigation-menu.css?tag=ic-navigation-menu&encapsulation=shadow","./src/components/ic-navigation-menu/ic-navigation-menu.tsx"],"sourcesContent":["/**\n * @prop --ic-z-index-navigation-menu: z-index of navigation menu\n */\n\n:host {\n display: block;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n min-height: 100% !important;\n background: rgb(0 0 0 / 60%);\n z-index: var(--ic-z-index-navigation-menu);\n}\n\n.popout-modal {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.popout-menu {\n position: fixed;\n top: 0;\n right: 0;\n width: 16rem;\n bottom: 0;\n background-color: var(--ic-architectural-20);\n color: var(--ic-color-primary-text);\n box-shadow: var(--ic-elevation-overlay);\n overflow-y: auto;\n overflow-x: hidden;\n}\n\n:host(.inline) .popout-menu {\n position: absolute;\n}\n\n.menu-close-button-container {\n position: relative;\n left: 11.875rem;\n padding: var(--ic-space-md) 0;\n}\n\n.nav-group-first {\n padding-bottom: 0;\n}\n\n.menu-buttons-container {\n padding: var(--ic-space-sm) 0;\n border-bottom: var(--ic-space-1px) solid var(--ic-architectural-200);\n}\n\n.menu-buttons-container-nav-item-above {\n margin-top: var(--ic-space-md);\n border-top: var(--ic-space-1px) solid var(--ic-architectural-200);\n}\n\n.menu-status-version-container {\n display: flex;\n flex-wrap: wrap;\n gap: var(--ic-space-xs);\n margin: var(--ic-space-md) var(--ic-space-md) var(--ic-space-xl);\n}\n\n.menu-status {\n background-color: var(--ic-architectural-500);\n color: var(--ic-color-white-text);\n border-radius: var(--ic-space-md);\n width: fit-content;\n padding: var(--ic-space-xxs) var(--ic-space-sm);\n}\n\n.menu-version {\n border-radius: var(--ic-space-md);\n background-color: var(--ic-architectural-100);\n padding: var(--ic-space-xxs) var(--ic-space-sm);\n}\n\n.menu-status-text,\n.menu-version-text {\n overflow-wrap: break-word;\n}\n\n.navigation-landmark-text {\n position: absolute;\n width: var(--ic-space-1px);\n height: var(--ic-space-1px);\n padding: 0;\n margin: calc(-1 * var(--ic-space-1px));\n overflow: hidden;\n}\n","import {\n Component,\n Element,\n Host,\n Prop,\n h,\n Event,\n EventEmitter,\n Listen,\n} from \"@stencil/core\";\n\nimport { getSlot, getSlotContent, isSlotUsed } from \"../../utils/helpers\";\n\n/**\n * @slot navigation - Content will be rendered at top of panel.\n * @slot buttons - Content will be rendered above version info and below navigation.\n */\n@Component({\n tag: \"ic-navigation-menu\",\n styleUrl: \"ic-navigation-menu.css\",\n shadow: true,\n})\nexport class NavigationMenu {\n @Element() el: HTMLIcNavigationMenuElement;\n\n /**\n * The version info to display.\n */\n @Prop() version: string = \"\";\n\n /**\n * The status info to display.\n */\n @Prop() status: string = \"\";\n\n /**\n * @internal - Emitted when the menu is closed.\n */\n @Event() icNavigationMenuClose: EventEmitter<void>;\n\n @Listen(\"navItemClicked\")\n navItemClickHandler(): void {\n this.closeMenu();\n }\n\n @Listen(\"keydown\", { target: \"document\" })\n handleKeyDown(ev: KeyboardEvent): void {\n if (ev.key === \"Tab\") {\n if (ev.shiftKey) {\n if (document.activeElement === this.navBarEl) {\n ev.preventDefault();\n this.focusLastTabStop();\n }\n } else if (\n document.activeElement === this.lastTabStop ||\n this.lastTabStop === null\n ) {\n ev.preventDefault();\n this.focusCloseButton();\n }\n } else if (ev.key === \"Escape\") {\n this.closeMenu();\n }\n }\n\n private hasButtons: boolean = false;\n private hasNavigation: boolean = false;\n private navItemAboveButtons: boolean = false;\n private navGroupFirst: boolean = false;\n private lastTabStop: HTMLElement = null;\n private closeButton: HTMLIcButtonElement = null;\n private navBarEl: HTMLIcTopNavigationElement;\n\n private closeMenu = () => {\n this.icNavigationMenuClose.emit();\n };\n\n private focusCloseButton = () => {\n if (this.closeButton.focus) {\n this.closeButton.focus();\n }\n };\n\n private focusLastTabStop = () => {\n let focusEl;\n if (this.lastTabStop !== null) {\n switch (this.lastTabStop.tagName) {\n case \"IC-NAVIGATION-BUTTON\":\n case \"IC-NAVIGATION-ITEM\":\n case \"IC-NAVIGATION-GROUP\":\n focusEl = this.lastTabStop as HTMLElement;\n focusEl.focus();\n break;\n case \"A\":\n this.lastTabStop.focus();\n break;\n }\n }\n };\n\n componentWillLoad(): void {\n this.navBarEl = document.querySelector(\"ic-top-navigation\");\n const navigationEls = getSlotContent(this.el, \"navigation\");\n if (navigationEls) {\n this.hasNavigation = true;\n const lastEl = navigationEls[navigationEls.length - 1] as HTMLElement;\n if (lastEl.tagName === \"IC-NAVIGATION-ITEM\") {\n this.navItemAboveButtons = true;\n }\n const firstEl = navigationEls[0] as HTMLElement;\n if (firstEl.tagName === \"IC-NAVIGATION-GROUP\") {\n this.navGroupFirst = true;\n }\n }\n const buttonContent = getSlotContent(this.el, \"buttons\");\n\n if (buttonContent !== null) {\n this.hasButtons = true;\n this.lastTabStop = buttonContent[buttonContent.length - 1] as HTMLElement;\n } else {\n if (this.hasNavigation) {\n const lastEl = navigationEls[navigationEls.length - 1] as HTMLElement;\n //check for slotted content i.e. react router link\n const slotContent = getSlot(lastEl, \"navigation-item\");\n if (slotContent !== null) {\n this.lastTabStop = slotContent as HTMLElement;\n } else {\n this.lastTabStop = lastEl;\n }\n }\n }\n }\n\n componentDidLoad(): void {\n this.focusCloseButton();\n }\n\n componentWillRender(): void {\n this.hasNavigation = isSlotUsed(this.el, \"navigation\");\n this.hasButtons = isSlotUsed(this.el, \"buttons\");\n }\n\n render() {\n return (\n <Host>\n <div class=\"popout-modal\" onClick={this.closeMenu}></div>\n <div\n class=\"popout-menu\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-label={`${this.hasNavigation ? \"Navigation\" : \"App\"} menu`}\n >\n <span\n aria-hidden=\"true\"\n id=\"navigation-landmark-text\"\n class=\"navigation-landmark-text\"\n >\n Main navigation\n </span>\n <nav\n aria-labelledby=\"navigation-landmark-text\"\n aria-hidden={this.hasNavigation ? \"false\" : \"true\"}\n >\n <div\n class={{\n [\"menu-close-button-container\"]: true,\n [\"nav-group-first\"]: this.navGroupFirst,\n }}\n >\n <ic-button\n ref={(el) => (this.closeButton = el)}\n id=\"menu-close-button\"\n class=\"menu-close-button\"\n variant=\"icon\"\n size=\"large\"\n aria-label={`Close ${\n this.hasNavigation ? \"navigation\" : \"app\"\n } menu`}\n onClick={this.closeMenu}\n >\n <svg\n slot=\"icon\"\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z\"\n fill=\"#1759BC\"\n />\n </svg>\n </ic-button>\n </div>\n {this.hasNavigation && <slot name=\"navigation\"></slot>}\n </nav>\n {this.hasButtons && (\n <div\n class={{\n [\"menu-buttons-container\"]: true,\n [\"menu-buttons-container-nav-item-above\"]:\n this.navItemAboveButtons,\n }}\n >\n <slot name=\"buttons\"></slot>\n </div>\n )}\n {(this.status !== \"\" || this.version !== \"\") && (\n <div class=\"menu-status-version-container\">\n {this.status !== \"\" && (\n <div class=\"menu-status\">\n <ic-typography\n variant=\"label-uppercase\"\n aria-label=\"app tag\"\n class=\"menu-status-text\"\n >\n {this.status}\n </ic-typography>\n </div>\n )}\n {this.version !== \"\" && (\n <div class=\"menu-version\">\n <ic-typography\n variant=\"label\"\n class=\"menu-version-text\"\n aria-label=\"app version\"\n >\n {this.version}\n </ic-typography>\n </div>\n )}\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-navigation-menu.entry.js","mappings":";;;;AAAA,MAAM,mBAAmB,GAAG,uhDAAuhD;;MCsBtiD,cAAc;;;;IACjB,gBAAW,GAAwB,IAAI,CAAC;IACxC,eAAU,GAAY,KAAK,CAAC;IAC5B,kBAAa,GAAY,KAAK,CAAC;IAC/B,gBAAW,GAAgB,IAAI,CAAC;IAEhC,kBAAa,GAAY,KAAK,CAAC;IAC/B,wBAAmB,GAAY,KAAK,CAAC;IAsFrC,cAAS,GAAG;MAClB,IAAI,CAAC,qBAAqB,CAAC,IAAI,EAAE,CAAC;KACnC,CAAC;IAEM,qBAAgB,GAAG;MACzB,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE;QAC1B,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;OAC1B;KACF,CAAC;IAEM,qBAAgB,GAAG;MACzB,IAAI,OAAO,CAAC;MACZ,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,EAAE;QAC7B,QAAQ,IAAI,CAAC,WAAW,CAAC,OAAO;UAC9B,KAAK,sBAAsB,CAAC;UAC5B,KAAK,oBAAo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BAAiB,gBACd,SAAS,EACpB,KAAK,EAAC,kBAAkB,IAEvB,IAAI,CAAC,MAAM,CACE,CACZ,CACP,EACA,IAAI,CAAC,OAAO,KAAK,EAAE,KAClB,WAAK,KAAK,EAAC,cAAc,IACvB,qBACE,OAAO,EAAC,OAAO,EACf,KAAK,EAAC,mBAAmB,gBACd,aAAa,IAEvB,IAAI,CAAC,OAAO,CACC,CACZ,CACP,CACG,CACP,CACG,CACD,EACP;GACH;;;;;;;","names":[],"sources":["./src/components/ic-navigation-menu/ic-navigation-menu.css?tag=ic-navigation-menu&encapsulation=shadow","./src/components/ic-navigation-menu/ic-navigation-menu.tsx"],"sourcesContent":["/**\n * @prop --ic-z-index-navigation-menu: z-index of navigation menu\n */\n\n:host {\n display: block;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n min-height: 100% !important;\n background: rgb(0 0 0 / 60%);\n z-index: var(--ic-z-index-navigation-menu);\n}\n\n.popout-modal {\n position: absolute;\n inset: 0;\n}\n\n.popout-menu {\n position: fixed;\n top: 0;\n right: 0;\n width: 16rem;\n bottom: 0;\n background-color: var(--ic-architectural-20);\n color: var(--ic-color-primary-text);\n box-shadow: var(--ic-elevation-overlay);\n overflow-y: auto;\n overflow-x: hidden;\n}\n\n:host(.inline) .popout-menu {\n position: absolute;\n}\n\n.menu-close-button-container {\n position: relative;\n left: 11.875rem;\n padding: var(--ic-space-md) 0;\n}\n\n.nav-group-first {\n padding-bottom: 0;\n}\n\n.menu-buttons-container {\n padding: var(--ic-space-sm) 0;\n border-bottom: var(--ic-space-1px) solid var(--ic-architectural-200);\n}\n\n.menu-buttons-container-nav-item-above {\n margin-top: var(--ic-space-md);\n border-top: var(--ic-space-1px) solid var(--ic-architectural-200);\n}\n\n.menu-status-version-container {\n display: flex;\n flex-wrap: wrap;\n gap: var(--ic-space-xs);\n margin: var(--ic-space-md) var(--ic-space-md) var(--ic-space-xl);\n}\n\n.menu-status {\n background-color: var(--ic-architectural-500);\n color: var(--ic-color-white-text);\n border-radius: var(--ic-space-md);\n width: fit-content;\n padding: var(--ic-space-xxs) var(--ic-space-sm);\n}\n\n.menu-version {\n border-radius: var(--ic-space-md);\n background-color: var(--ic-architectural-100);\n padding: var(--ic-space-xxs) var(--ic-space-sm);\n}\n\n.menu-status-text,\n.menu-version-text {\n overflow-wrap: break-word;\n}\n\n.navigation-landmark-text {\n position: absolute;\n width: var(--ic-space-1px);\n height: var(--ic-space-1px);\n padding: 0;\n margin: calc(-1 * var(--ic-space-1px));\n overflow: hidden;\n}\n","import {\n Component,\n Element,\n Host,\n Prop,\n h,\n Event,\n EventEmitter,\n Listen,\n} from \"@stencil/core\";\n\nimport { getSlot, getSlotContent, isSlotUsed } from \"../../utils/helpers\";\n\n/**\n * @slot navigation - Content will be rendered at top of panel.\n * @slot buttons - Content will be rendered above version info and below navigation.\n */\n@Component({\n tag: \"ic-navigation-menu\",\n styleUrl: \"ic-navigation-menu.css\",\n shadow: true,\n})\nexport class NavigationMenu {\n private closeButton: HTMLIcButtonElement = null;\n private hasButtons: boolean = false;\n private hasNavigation: boolean = false;\n private lastTabStop: HTMLElement = null;\n private navBarEl: HTMLIcTopNavigationElement;\n private navGroupFirst: boolean = false;\n private navItemAboveButtons: boolean = false;\n\n @Element() el: HTMLIcNavigationMenuElement;\n\n /**\n * The status info to display.\n */\n @Prop() status: string = \"\";\n\n /**\n * The version info to display.\n */\n @Prop() version: string = \"\";\n\n /**\n * @internal - Emitted when the menu is closed.\n */\n @Event() icNavigationMenuClose: EventEmitter<void>;\n\n componentWillLoad(): void {\n this.navBarEl = document.querySelector(\"ic-top-navigation\");\n const navigationEls = getSlotContent(this.el, \"navigation\");\n if (navigationEls) {\n this.hasNavigation = true;\n const lastEl = navigationEls[navigationEls.length - 1] as HTMLElement;\n if (lastEl.tagName === \"IC-NAVIGATION-ITEM\") {\n this.navItemAboveButtons = true;\n }\n const firstEl = navigationEls[0] as HTMLElement;\n if (firstEl.tagName === \"IC-NAVIGATION-GROUP\") {\n this.navGroupFirst = true;\n }\n }\n const buttonContent = getSlotContent(this.el, \"buttons\");\n\n if (buttonContent !== null) {\n this.hasButtons = true;\n this.lastTabStop = buttonContent[buttonContent.length - 1] as HTMLElement;\n } else {\n if (this.hasNavigation) {\n const lastEl = navigationEls[navigationEls.length - 1] as HTMLElement;\n //check for slotted content i.e. react router link\n const slotContent = getSlot(lastEl, \"navigation-item\");\n if (slotContent !== null) {\n this.lastTabStop = slotContent as HTMLElement;\n } else {\n this.lastTabStop = lastEl;\n }\n }\n }\n }\n\n componentDidLoad(): void {\n this.focusCloseButton();\n }\n\n componentWillRender(): void {\n this.hasNavigation = isSlotUsed(this.el, \"navigation\");\n this.hasButtons = isSlotUsed(this.el, \"buttons\");\n }\n\n @Listen(\"navItemClicked\")\n navItemClickHandler(): void {\n this.closeMenu();\n }\n\n @Listen(\"keydown\", { target: \"document\" })\n handleKeyDown(ev: KeyboardEvent): void {\n if (ev.key === \"Tab\") {\n if (ev.shiftKey) {\n if (document.activeElement === this.navBarEl) {\n ev.preventDefault();\n this.focusLastTabStop();\n }\n } else if (\n document.activeElement === this.lastTabStop ||\n this.lastTabStop === null\n ) {\n ev.preventDefault();\n this.focusCloseButton();\n }\n } else if (ev.key === \"Escape\") {\n this.closeMenu();\n }\n }\n\n private closeMenu = () => {\n this.icNavigationMenuClose.emit();\n };\n\n private focusCloseButton = () => {\n if (this.closeButton.focus) {\n this.closeButton.focus();\n }\n };\n\n private focusLastTabStop = () => {\n let focusEl;\n if (this.lastTabStop !== null) {\n switch (this.lastTabStop.tagName) {\n case \"IC-NAVIGATION-BUTTON\":\n case \"IC-NAVIGATION-ITEM\":\n case \"IC-NAVIGATION-GROUP\":\n focusEl = this.lastTabStop as HTMLElement;\n focusEl.focus();\n break;\n case \"A\":\n this.lastTabStop.focus();\n break;\n }\n }\n };\n\n render() {\n return (\n <Host>\n <div class=\"popout-modal\" onClick={this.closeMenu}></div>\n <div\n class=\"popout-menu\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-label={`${this.hasNavigation ? \"Navigation\" : \"App\"} menu`}\n >\n <span\n aria-hidden=\"true\"\n id=\"navigation-landmark-text\"\n class=\"navigation-landmark-text\"\n >\n Main navigation\n </span>\n <nav\n aria-labelledby=\"navigation-landmark-text\"\n aria-hidden={this.hasNavigation ? \"false\" : \"true\"}\n >\n <div\n class={{\n [\"menu-close-button-container\"]: true,\n [\"nav-group-first\"]: this.navGroupFirst,\n }}\n >\n <ic-button\n ref={(el) => (this.closeButton = el)}\n id=\"menu-close-button\"\n class=\"menu-close-button\"\n variant=\"icon\"\n size=\"large\"\n aria-label={`Close ${\n this.hasNavigation ? \"navigation\" : \"app\"\n } menu`}\n onClick={this.closeMenu}\n >\n <svg\n slot=\"icon\"\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z\"\n fill=\"#1759BC\"\n />\n </svg>\n </ic-button>\n </div>\n {this.hasNavigation && <slot name=\"navigation\"></slot>}\n </nav>\n {this.hasButtons && (\n <div\n class={{\n [\"menu-buttons-container\"]: true,\n [\"menu-buttons-container-nav-item-above\"]:\n this.navItemAboveButtons,\n }}\n >\n <slot name=\"buttons\"></slot>\n </div>\n )}\n {(this.status !== \"\" || this.version !== \"\") && (\n <div class=\"menu-status-version-container\">\n {this.status !== \"\" && (\n <div class=\"menu-status\">\n <ic-typography\n variant=\"label-uppercase\"\n aria-label=\"app tag\"\n class=\"menu-status-text\"\n >\n {this.status}\n </ic-typography>\n </div>\n )}\n {this.version !== \"\" && (\n <div class=\"menu-version\">\n <ic-typography\n variant=\"label\"\n class=\"menu-version-text\"\n aria-label=\"app version\"\n >\n {this.version}\n </ic-typography>\n </div>\n )}\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-a77644e1.js';
2
- import { i as isSlotUsed, g as getCurrentDeviceSize, D as DEVICE_SIZES, c as checkResizeObserver } from './helpers-8e57082b.js';
2
+ import { i as isSlotUsed, g as getCurrentDeviceSize, D as DEVICE_SIZES, c as checkResizeObserver } from './helpers-85903813.js';
3
3
  import './types-dd515332.js';
4
4
 
5
5
  const icPageHeaderCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;z-index:var(--ic-z-index-page-header)}:host(.sticky){position:sticky;top:0;box-shadow:var(--ic-elevation-overlay)}header{background-color:var(--ic-architectural-40)}header.border-bottom{border-bottom:var(--ic-border-default)}header.tabs{padding-top:var(--ic-space-md)}.breadcrumb-area{margin-bottom:var(--ic-space-md)}.main-content{display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"title-area action-area\"\n \"input-area action-area\";-moz-column-gap:var(--ic-space-md);column-gap:var(--ic-space-md);justify-content:space-between;width:100%}.title-area{display:flex;flex-direction:column;flex:1;min-width:19rem;grid-area:title-area}.header-content{display:flex;align-items:center;width:100%;flex-wrap:wrap;row-gap:var(--ic-space-xs);-moz-column-gap:var(--ic-space-md);column-gap:var(--ic-space-md)}.heading{display:inline-block;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.subheading.small{margin-top:var(--ic-space-xs)}.action-area{display:flex;gap:var(--ic-space-md);flex-flow:row wrap;justify-self:end;justify-content:flex-end;height:-moz-fit-content;height:fit-content;grid-area:action-area}.input-area,.navigation-area{margin-top:var(--ic-space-md);width:100%}.tabs-slot{display:flex;overflow-x:auto;padding:0.5rem;margin:-0.5rem}.tabs-slot::-webkit-scrollbar{display:none}.input-area{grid-area:input-area}@media screen and (max-width: 576px){::slotted(ic-text-field){--input-width:100%;max-width:20rem}.main-content{grid-template-areas:\"title-area\"\n \"action-area\"\n \"input-area\";justify-content:flex-start}.title-area{min-width:0}.action-area{min-width:100%;margin-top:var(--ic-space-md);justify-content:start}}@media screen and (min-width: 992px){:host(.sticky-desktop){position:sticky;top:0;box-shadow:var(--ic-elevation-overlay)}}";
@@ -57,17 +57,22 @@ const PageHeader = class {
57
57
  appendActionContent();
58
58
  }
59
59
  };
60
- this.heading = undefined;
61
- this.subheading = undefined;
60
+ this.actionContent = undefined;
61
+ this.areButtonsReversed = false;
62
+ this.deviceSize = DEVICE_SIZES.XL;
62
63
  this.aligned = "left";
63
- this.small = false;
64
64
  this.border = true;
65
+ this.heading = undefined;
66
+ this.reverseOrder = false;
67
+ this.small = false;
65
68
  this.sticky = false;
66
69
  this.stickyDesktopOnly = false;
67
- this.reverseOrder = false;
68
- this.deviceSize = DEVICE_SIZES.XL;
69
- this.areButtonsReversed = false;
70
- this.actionContent = undefined;
70
+ this.subheading = undefined;
71
+ }
72
+ disconnectedCallback() {
73
+ if (this.resizeObserver !== null) {
74
+ this.resizeObserver.disconnect();
75
+ }
71
76
  }
72
77
  componentWillLoad() {
73
78
  this.actionContent = Array.from(this.el.querySelectorAll(`[slot="actions"]`));
@@ -75,11 +80,6 @@ const PageHeader = class {
75
80
  componentDidLoad() {
76
81
  checkResizeObserver(this.runResizeObserver);
77
82
  }
78
- disconnectedCallback() {
79
- if (this.resizeObserver !== null) {
80
- this.resizeObserver.disconnect();
81
- }
82
- }
83
83
  render() {
84
84
  const { small, border, heading, subheading, aligned, sticky, stickyDesktopOnly, } = this;
85
85
  return (h(Host, { class: {
@@ -1 +1 @@
1
- {"file":"ic-page-header.entry.js","mappings":";;;;AAAA,MAAM,eAAe,GAAG,opIAAopI;;MC2B/pI,UAAU;;;IAyCb,mBAAc,GAAmB,IAAI,CAAC;IAEtC,2BAAsB,GAAG;MAC/B,IAAI,IAAI,CAAC,YAAY,IAA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;MAC9B,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,MAC3B,WAAK,KAAK,EAAC,iBAAiB,IACzB,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC;MAC7B,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,YAAM,IAAI,EAAC,SAAS,GAAG,EACxD,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,KAC1B,yBAAgB,iCAAiC,IAC/C,gCACE,UAAI,KAAK,EAAC,WAAW,IACnB,YAAM,IAAI,EAAC,MAAM,GAAG,CACjB,CACgB,CACnB,CACP,CACG,CACP,CACoB,CAChB,CACJ,EACP;GACH;;;;;;;","names":[],"sources":["./src/components/ic-page-header/ic-page-header.css?tag=ic-page-header&encapsulation=shadow","./src/components/ic-page-header/ic-page-header.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n/**\n * @prop --ic-z-index-page-header: z-index of page-header\n */\n\n:host {\n display: block;\n z-index: var(--ic-z-index-page-header);\n}\n\n:host(.sticky) {\n position: sticky;\n top: 0;\n box-shadow: var(--ic-elevation-overlay);\n}\n\nheader {\n background-color: var(--ic-architectural-40);\n}\n\nheader.border-bottom {\n border-bottom: var(--ic-border-default);\n}\n\nheader.tabs {\n padding-top: var(--ic-space-md);\n}\n\n.breadcrumb-area {\n margin-bottom: var(--ic-space-md);\n}\n\n.main-content {\n display: grid;\n grid-template-columns: auto 1fr;\n grid-template-areas:\n \"title-area action-area\"\n \"input-area action-area\";\n column-gap: var(--ic-space-md);\n justify-content: space-between;\n width: 100%;\n}\n\n.title-area {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-width: 19rem;\n grid-area: title-area;\n}\n\n.header-content {\n display: flex;\n align-items: center;\n width: 100%;\n flex-wrap: wrap;\n row-gap: var(--ic-space-xs);\n column-gap: var(--ic-space-md);\n}\n\n.heading {\n display: inline-block;\n overflow-wrap: break-word;\n hyphens: auto;\n}\n\n.subheading.small {\n margin-top: var(--ic-space-xs);\n}\n\n.action-area {\n display: flex;\n gap: var(--ic-space-md);\n flex-flow: row wrap;\n justify-self: end;\n justify-content: flex-end;\n height: fit-content;\n grid-area: action-area;\n}\n\n.input-area,\n.navigation-area {\n margin-top: var(--ic-space-md);\n width: 100%;\n}\n\n.tabs-slot {\n display: flex;\n overflow-x: auto;\n padding: 0.5rem;\n margin: -0.5rem;\n}\n\n.tabs-slot::-webkit-scrollbar {\n display: none;\n}\n\n.input-area {\n grid-area: input-area;\n}\n\n@media screen and (max-width: 576px) {\n ::slotted(ic-text-field) {\n --input-width: 100%;\n\n max-width: 20rem;\n }\n\n .main-content {\n grid-template-areas:\n \"title-area\"\n \"action-area\"\n \"input-area\";\n justify-content: flex-start;\n }\n\n .title-area {\n min-width: 0;\n }\n\n .action-area {\n min-width: 100%;\n margin-top: var(--ic-space-md);\n justify-content: start;\n }\n}\n\n@media screen and (min-width: 992px) {\n :host(.sticky-desktop) {\n position: sticky;\n top: 0;\n box-shadow: var(--ic-elevation-overlay);\n }\n}\n","import { Component, Host, h, Prop, Element, State } from \"@stencil/core\";\n\nimport { IcAlignment } from \"../../utils/types\";\n\nimport {\n isSlotUsed,\n DEVICE_SIZES,\n getCurrentDeviceSize,\n checkResizeObserver,\n} from \"../../utils/helpers\";\n\n/**\n * @slot breadcrumbs - Content will be rendered in the breadcrumb area, above the title and action areas.\n * @slot heading - Content will be rendered in the title area, in place of the heading.\n * @slot subheading - Content will be rendered in the title area, in place of the subheading.\n * @slot heading-adornment - Content will be rendered in the title area, adjacent to the heading.\n * @slot actions - Content will be rendered in the action area, adjacent to the title area.\n * @slot input - Content will be rendered in the input area, below the title area and adjacent to the action area.\n * @slot stepper - Content will be rendered in the navigation area, below the title and action areas. Note: stepper slot cannot be used when the tabs slot is being used.\n * @slot tabs - Content will be rendered in the navigation area, below the title and action areas. Note: the stepper slot cannot be used when the tabs slot is being used.\n */\n\n@Component({\n tag: \"ic-page-header\",\n styleUrl: \"ic-page-header.css\",\n shadow: true,\n})\nexport class PageHeader {\n @Element() el: HTMLIcPageHeaderElement;\n /**\n * The title to render on the page header.\n */\n @Prop() heading?: string;\n /**\n * The subtitle to render on the page header.\n */\n @Prop() subheading?: string;\n /**\n * The alignment of the page header.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n /**\n * If `true`, the small styling will be applied to the page header.\n */\n @Prop() small?: boolean = false;\n /**\n * If `true`, a border will be displayed along the bottom of the page header.\n */\n @Prop() border?: boolean = true;\n /**\n * If `true`, the page header will be sticky at all breakpoints.\n */\n @Prop() sticky?: boolean = false;\n /**\n * If `true`, the page header will only be sticky for viewport widths of 992px and above.\n */\n @Prop() stickyDesktopOnly?: boolean = false;\n /**\n * If `true`, the reading pattern and tab order will change in the action area for viewport widths of above 576px and when actions have not wrapped.\n */\n @Prop() reverseOrder?: boolean = false;\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n @State() areButtonsReversed: boolean = false;\n\n @State() actionContent: Node[];\n\n private resizeObserver: ResizeObserver = null;\n\n private resizeObserverCallback = () => {\n if (this.reverseOrder && isSlotUsed(this.el, \"actions\")) {\n this.applyReverseOrder();\n }\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.resizeObserverCallback();\n });\n this.resizeObserver.observe(this.el);\n };\n\n private applyReverseOrder = (): void => {\n const currSize = getCurrentDeviceSize();\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n\n const actionArea = this.el.shadowRoot.querySelector(\n \"div.action-area\"\n ) as HTMLElement;\n const actionHeights: number[] = [];\n\n /* For each button in the actions slot, check the height of the button and push this number into the actionHeights array and then find the greatest number in this array (i.e. find the height of the tallest button) */\n for (let i = 0; i < this.actionContent.length; i++) {\n const action = this.actionContent[i] as HTMLElement;\n let actionHeight = action.offsetHeight;\n if (actionHeight === undefined) {\n actionHeight = 0;\n }\n actionHeights.push(actionHeight);\n }\n\n const max = Math.max(...actionHeights);\n\n /* The smallest breakpoint displays buttons in the same order the user has slotted them in. When the device size is larger than the small breakpoiint then the order of the button reverses due to best practice for reading patterns. If the device size is larger than the small breakpoint and the buttons have started to wrap then they follow the order the user has slotted them in. This logic is programmed based on the height of the action-area div that wraps the actions slot. If the height of the action-area div is taller than the height of the tallest button, then it is assumed that the taller height is caused by the buttons wrapping */\n let actionAreaHeight = actionArea.offsetHeight;\n\n if (actionAreaHeight === undefined) {\n actionAreaHeight = 0;\n }\n\n const appendActionContent = () => {\n this.actionContent = this.actionContent.reverse();\n this.actionContent.forEach((btn: string | Node) => {\n this.el.append(btn);\n });\n this.areButtonsReversed = !this.areButtonsReversed;\n };\n\n if (\n (this.deviceSize > DEVICE_SIZES.S &&\n actionAreaHeight <= max &&\n !this.areButtonsReversed) ||\n (((this.deviceSize > DEVICE_SIZES.S && actionAreaHeight > max) ||\n this.deviceSize <= DEVICE_SIZES.S) &&\n this.areButtonsReversed)\n ) {\n appendActionContent();\n }\n };\n\n componentWillLoad(): void {\n this.actionContent = Array.from(\n this.el.querySelectorAll(`[slot=\"actions\"]`)\n );\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n render() {\n const {\n small,\n border,\n heading,\n subheading,\n aligned,\n sticky,\n stickyDesktopOnly,\n } = this;\n\n return (\n <Host\n class={{\n [\"sticky\"]: sticky,\n [\"sticky-desktop\"]: !sticky && stickyDesktopOnly,\n }}\n >\n <header\n class={{\n [\"border-bottom\"]: border,\n [\"tabs\"]: isSlotUsed(this.el, \"tabs\"),\n }}\n >\n <ic-section-container\n aligned={aligned}\n fullHeight={isSlotUsed(this.el, \"tabs\")}\n >\n {isSlotUsed(this.el, \"breadcrumbs\") && (\n <div class=\"breadcrumb-area\">\n <slot name=\"breadcrumbs\" />\n </div>\n )}\n <div class=\"main-content\">\n <div class=\"title-area\">\n <div class=\"header-content\">\n <slot name=\"heading\">\n <ic-typography\n variant={small ? \"h4\" : \"h2\"}\n class=\"heading\"\n >\n <h2>{heading}</h2>\n </ic-typography>\n </slot>\n <slot name=\"heading-adornment\" />\n </div>\n <div>\n <slot name=\"subheading\">\n {subheading && (\n <ic-typography\n variant=\"body\"\n class={{ [\"subheading\"]: true, [\"small\"]: small }}\n >\n {subheading}\n </ic-typography>\n )}\n </slot>\n </div>\n </div>\n {isSlotUsed(this.el, \"actions\") && (\n <div class=\"action-area\">\n <slot name=\"actions\" />\n </div>\n )}\n {isSlotUsed(this.el, \"input\") && (\n <div class=\"input-area\">\n <slot name=\"input\" />\n </div>\n )}\n </div>\n\n {(isSlotUsed(this.el, \"stepper\") ||\n isSlotUsed(this.el, \"tabs\")) && (\n <div class=\"navigation-area\">\n {isSlotUsed(this.el, \"stepper\") &&\n !isSlotUsed(this.el, \"tabs\") && <slot name=\"stepper\" />}\n {isSlotUsed(this.el, \"tabs\") && (\n <nav aria-label=\"navigation-landmark-page-header\">\n <ic-horizontal-scroll>\n <ul class=\"tabs-slot\">\n <slot name=\"tabs\" />\n </ul>\n </ic-horizontal-scroll>\n </nav>\n )}\n </div>\n )}\n </ic-section-container>\n </header>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-page-header.entry.js","mappings":";;;;AAAA,MAAM,eAAe,GAAG,opIAAopI;;MC2B/pI,UAAU;;;IACb,mBAAc,GAAmB,IAAI,CAAC;IAgEtC,2BAAsB,GAAG;MAC/B,IAAI,IAAI,CAAC,YAAY,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC,EAAE;QACvD,IAAI,CAAC,iBAAiB,EAAE,CAAC;OAC1B;KACF,CAAC;IAEM,sBAAiB,GAAG;MAC1B,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC;QACvC,IAAI,CAAC,sBAAsB,EAAE,CAAC;OAC/B,CAAC,CAAC;MACH,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,E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KAC1B,yBAAgB,iCAAiC,IAC/C,gCACE,UAAI,KAAK,EAAC,WAAW,IACnB,YAAM,IAAI,EAAC,MAAM,GAAG,CACjB,CACgB,CACnB,CACP,CACG,CACP,CACoB,CAChB,CACJ,EACP;GACH;;;;;;;","names":[],"sources":["./src/components/ic-page-header/ic-page-header.css?tag=ic-page-header&encapsulation=shadow","./src/components/ic-page-header/ic-page-header.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n/**\n * @prop --ic-z-index-page-header: z-index of page-header\n */\n\n:host {\n display: block;\n z-index: var(--ic-z-index-page-header);\n}\n\n:host(.sticky) {\n position: sticky;\n top: 0;\n box-shadow: var(--ic-elevation-overlay);\n}\n\nheader {\n background-color: var(--ic-architectural-40);\n}\n\nheader.border-bottom {\n border-bottom: var(--ic-border-default);\n}\n\nheader.tabs {\n padding-top: var(--ic-space-md);\n}\n\n.breadcrumb-area {\n margin-bottom: var(--ic-space-md);\n}\n\n.main-content {\n display: grid;\n grid-template-columns: auto 1fr;\n grid-template-areas:\n \"title-area action-area\"\n \"input-area action-area\";\n column-gap: var(--ic-space-md);\n justify-content: space-between;\n width: 100%;\n}\n\n.title-area {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-width: 19rem;\n grid-area: title-area;\n}\n\n.header-content {\n display: flex;\n align-items: center;\n width: 100%;\n flex-wrap: wrap;\n row-gap: var(--ic-space-xs);\n column-gap: var(--ic-space-md);\n}\n\n.heading {\n display: inline-block;\n overflow-wrap: break-word;\n hyphens: auto;\n}\n\n.subheading.small {\n margin-top: var(--ic-space-xs);\n}\n\n.action-area {\n display: flex;\n gap: var(--ic-space-md);\n flex-flow: row wrap;\n justify-self: end;\n justify-content: flex-end;\n height: fit-content;\n grid-area: action-area;\n}\n\n.input-area,\n.navigation-area {\n margin-top: var(--ic-space-md);\n width: 100%;\n}\n\n.tabs-slot {\n display: flex;\n overflow-x: auto;\n padding: 0.5rem;\n margin: -0.5rem;\n}\n\n.tabs-slot::-webkit-scrollbar {\n display: none;\n}\n\n.input-area {\n grid-area: input-area;\n}\n\n@media screen and (max-width: 576px) {\n ::slotted(ic-text-field) {\n --input-width: 100%;\n\n max-width: 20rem;\n }\n\n .main-content {\n grid-template-areas:\n \"title-area\"\n \"action-area\"\n \"input-area\";\n justify-content: flex-start;\n }\n\n .title-area {\n min-width: 0;\n }\n\n .action-area {\n min-width: 100%;\n margin-top: var(--ic-space-md);\n justify-content: start;\n }\n}\n\n@media screen and (min-width: 992px) {\n :host(.sticky-desktop) {\n position: sticky;\n top: 0;\n box-shadow: var(--ic-elevation-overlay);\n }\n}\n","import { Component, Host, h, Prop, Element, State } from \"@stencil/core\";\n\nimport { IcAlignment } from \"../../utils/types\";\n\nimport {\n isSlotUsed,\n DEVICE_SIZES,\n getCurrentDeviceSize,\n checkResizeObserver,\n} from \"../../utils/helpers\";\n\n/**\n * @slot breadcrumbs - Content will be rendered in the breadcrumb area, above the title and action areas.\n * @slot heading - Content will be rendered in the title area, in place of the heading.\n * @slot subheading - Content will be rendered in the title area, in place of the subheading.\n * @slot heading-adornment - Content will be rendered in the title area, adjacent to the heading.\n * @slot actions - Content will be rendered in the action area, adjacent to the title area.\n * @slot input - Content will be rendered in the input area, below the title area and adjacent to the action area.\n * @slot stepper - Content will be rendered in the navigation area, below the title and action areas. Note: stepper slot cannot be used when the tabs slot is being used.\n * @slot tabs - Content will be rendered in the navigation area, below the title and action areas. Note: the stepper slot cannot be used when the tabs slot is being used.\n */\n\n@Component({\n tag: \"ic-page-header\",\n styleUrl: \"ic-page-header.css\",\n shadow: true,\n})\nexport class PageHeader {\n private resizeObserver: ResizeObserver = null;\n\n @Element() el: HTMLIcPageHeaderElement;\n\n @State() actionContent: Node[];\n @State() areButtonsReversed: boolean = false;\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n /**\n * The alignment of the page header.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * If `true`, a border will be displayed along the bottom of the page header.\n */\n @Prop() border?: boolean = true;\n\n /**\n * The title to render on the page header.\n */\n @Prop() heading?: string;\n\n /**\n * If `true`, the reading pattern and tab order will change in the action area for viewport widths of above 576px and when actions have not wrapped.\n */\n @Prop() reverseOrder?: boolean = false;\n\n /**\n * If `true`, the small styling will be applied to the page header.\n */\n @Prop() small?: boolean = false;\n\n /**\n * If `true`, the page header will be sticky at all breakpoints.\n */\n @Prop() sticky?: boolean = false;\n\n /**\n * If `true`, the page header will only be sticky for viewport widths of 992px and above.\n */\n @Prop() stickyDesktopOnly?: boolean = false;\n\n /**\n * The subtitle to render on the page header.\n */\n @Prop() subheading?: string;\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentWillLoad(): void {\n this.actionContent = Array.from(\n this.el.querySelectorAll(`[slot=\"actions\"]`)\n );\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n private resizeObserverCallback = () => {\n if (this.reverseOrder && isSlotUsed(this.el, \"actions\")) {\n this.applyReverseOrder();\n }\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.resizeObserverCallback();\n });\n this.resizeObserver.observe(this.el);\n };\n\n private applyReverseOrder = (): void => {\n const currSize = getCurrentDeviceSize();\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n\n const actionArea = this.el.shadowRoot.querySelector(\n \"div.action-area\"\n ) as HTMLElement;\n const actionHeights: number[] = [];\n\n /* For each button in the actions slot, check the height of the button and push this number into the actionHeights array and then find the greatest number in this array (i.e. find the height of the tallest button) */\n for (let i = 0; i < this.actionContent.length; i++) {\n const action = this.actionContent[i] as HTMLElement;\n let actionHeight = action.offsetHeight;\n if (actionHeight === undefined) {\n actionHeight = 0;\n }\n actionHeights.push(actionHeight);\n }\n\n const max = Math.max(...actionHeights);\n\n /* The smallest breakpoint displays buttons in the same order the user has slotted them in. When the device size is larger than the small breakpoiint then the order of the button reverses due to best practice for reading patterns. If the device size is larger than the small breakpoint and the buttons have started to wrap then they follow the order the user has slotted them in. This logic is programmed based on the height of the action-area div that wraps the actions slot. If the height of the action-area div is taller than the height of the tallest button, then it is assumed that the taller height is caused by the buttons wrapping */\n let actionAreaHeight = actionArea.offsetHeight;\n\n if (actionAreaHeight === undefined) {\n actionAreaHeight = 0;\n }\n\n const appendActionContent = () => {\n this.actionContent = this.actionContent.reverse();\n this.actionContent.forEach((btn: string | Node) => {\n this.el.append(btn);\n });\n this.areButtonsReversed = !this.areButtonsReversed;\n };\n\n if (\n (this.deviceSize > DEVICE_SIZES.S &&\n actionAreaHeight <= max &&\n !this.areButtonsReversed) ||\n (((this.deviceSize > DEVICE_SIZES.S && actionAreaHeight > max) ||\n this.deviceSize <= DEVICE_SIZES.S) &&\n this.areButtonsReversed)\n ) {\n appendActionContent();\n }\n };\n\n render() {\n const {\n small,\n border,\n heading,\n subheading,\n aligned,\n sticky,\n stickyDesktopOnly,\n } = this;\n\n return (\n <Host\n class={{\n [\"sticky\"]: sticky,\n [\"sticky-desktop\"]: !sticky && stickyDesktopOnly,\n }}\n >\n <header\n class={{\n [\"border-bottom\"]: border,\n [\"tabs\"]: isSlotUsed(this.el, \"tabs\"),\n }}\n >\n <ic-section-container\n aligned={aligned}\n fullHeight={isSlotUsed(this.el, \"tabs\")}\n >\n {isSlotUsed(this.el, \"breadcrumbs\") && (\n <div class=\"breadcrumb-area\">\n <slot name=\"breadcrumbs\" />\n </div>\n )}\n <div class=\"main-content\">\n <div class=\"title-area\">\n <div class=\"header-content\">\n <slot name=\"heading\">\n <ic-typography\n variant={small ? \"h4\" : \"h2\"}\n class=\"heading\"\n >\n <h2>{heading}</h2>\n </ic-typography>\n </slot>\n <slot name=\"heading-adornment\" />\n </div>\n <div>\n <slot name=\"subheading\">\n {subheading && (\n <ic-typography\n variant=\"body\"\n class={{ [\"subheading\"]: true, [\"small\"]: small }}\n >\n {subheading}\n </ic-typography>\n )}\n </slot>\n </div>\n </div>\n {isSlotUsed(this.el, \"actions\") && (\n <div class=\"action-area\">\n <slot name=\"actions\" />\n </div>\n )}\n {isSlotUsed(this.el, \"input\") && (\n <div class=\"input-area\">\n <slot name=\"input\" />\n </div>\n )}\n </div>\n\n {(isSlotUsed(this.el, \"stepper\") ||\n isSlotUsed(this.el, \"tabs\")) && (\n <div class=\"navigation-area\">\n {isSlotUsed(this.el, \"stepper\") &&\n !isSlotUsed(this.el, \"tabs\") && <slot name=\"stepper\" />}\n {isSlotUsed(this.el, \"tabs\") && (\n <nav aria-label=\"navigation-landmark-page-header\">\n <ic-horizontal-scroll>\n <ul class=\"tabs-slot\">\n <slot name=\"tabs\" />\n </ul>\n </ic-horizontal-scroll>\n </nav>\n )}\n </div>\n )}\n </ic-section-container>\n </header>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a77644e1.js';
2
- import { r as removeDisabledFalse } from './helpers-8e57082b.js';
2
+ import { r as removeDisabledFalse } from './helpers-85903813.js';
3
3
  import './types-dd515332.js';
4
4
 
5
5
  const icPaginationItemCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}a{text-align:center}.item-container{display:flex;justify-content:center;align-items:center;width:calc(var(--ic-space-xl) + var(--ic-space-sm));height:var(--ic-space-xl);margin:var(--ic-space-xxs) var(--ic-space-xxxs);cursor:pointer;text-decoration:none}button{background:none;border:none;outline:inherit;position:relative}.ellipsis{pointer-events:none;color:var(--ic-color-secondary-text)}.item-container:focus{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast)}.page{color:var(--ic-action-default)}.simple-current{width:calc(var(--ic-space-xxl) + var(--ic-space-md));height:var(--ic-space-lg);cursor:default}.item-container.page:hover:not(.selected):not(:focus){border-radius:var(--ic-border-radius);background-color:var(--ic-action-default-bg-hover)}.item-container.page:active:not(.selected):not(:focus){background-color:var(--ic-action-default-bg-active)}.selected{pointer-events:none;outline:none}.selected::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-default)}.page-selected{color:var(--ic-color-primary-text)}.item-container.page.light:hover:not(.selected):not(:focus){background-color:var(--ic-action-light-bg-hover)}.item-container.page.light:active:not(.selected):not(:focus){background-color:var(--ic-action-light-bg-active)}ic-typography.light{color:var(--ic-color-white-text)}.selected.light::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-light)}.item-container.page.dark:hover:not(.selected):not(:focus){background-color:var(--ic-action-dark-bg-hover)}.item-container.page.dark:active:not(.selected):not(:focus){background-color:var(--ic-action-dark-bg-active)}ic-typography.dark{color:var(--ic-color-primary-text)}.selected.dark::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-dark)}.disabled{color:var(--ic-architectural-200);pointer-events:none;cursor:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (forced-colors: active){.selected::after{background-color:Highlight}.selected.light::after{background-color:Highlight}.selected.dark::after{background-color:Highlight}}";
@@ -11,14 +11,14 @@ const PaginationItem = class {
11
11
  this.handleClick = () => {
12
12
  this.paginationItemClick.emit({ page: this.page });
13
13
  };
14
- this.page = undefined;
15
- this.selected = false;
16
- this.type = undefined;
17
- this.disabled = false;
18
14
  this.appearance = undefined;
19
- this.label = "Page ";
20
15
  this.ariaOverride = false;
16
+ this.disabled = false;
17
+ this.label = "Page ";
18
+ this.page = undefined;
21
19
  this.pages = undefined;
20
+ this.selected = false;
21
+ this.type = undefined;
22
22
  }
23
23
  componentWillLoad() {
24
24
  removeDisabledFalse(this.disabled, this.el);
@@ -1 +1 @@
1
- {"file":"ic-pagination-item.entry.js","mappings":";;;;AAAA,MAAM,m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qBACE,OAAO,EAAC,OAAO,EACf,KAAK,EAAE;QACL,CAAC,eAAe,GAAG,QAAQ;QAC3B,CAAC,UAAU,GAAG,QAAQ;QACtB,CAAC,GAAG,UAAU,EAAE,GAAG,IAAI;OACxB,IAEA,IAAI,CACS,CACT,KAET,kCACY,QAAQ,gBAEhB,YAAY,GAAG,QAAQ,IAAI,OAAO,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,IAAI,EAAE,EAEhE,KAAK,EAAE,kBAAkB,UAAU,EAAE,EACrC,OAAO,EAAC,OAAO,IAEd,KAAK,OAAG,IAAI,CACC,CACjB,CACC,EACJ;GACH;;;;;;;","names":[],"sources":["./src/components/ic-pagination-item/ic-pagination-item.css?tag=ic-pagination-item&encapsulation=shadow","./src/components/ic-pagination-item/ic-pagination-item.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\na {\n text-align: center;\n}\n\n.item-container {\n display: flex;\n justify-content: center;\n align-items: center;\n width: calc(var(--ic-space-xl) + var(--ic-space-sm));\n height: var(--ic-space-xl);\n margin: var(--ic-space-xxs) var(--ic-space-xxxs);\n cursor: pointer;\n text-decoration: none;\n}\n\nbutton {\n background: none;\n border: none;\n outline: inherit;\n position: relative;\n}\n\n.ellipsis {\n pointer-events: none;\n color: var(--ic-color-secondary-text);\n}\n\n.item-container:focus {\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n border-radius: var(--ic-border-radius);\n transition: var(--ic-easing-transition-fast);\n}\n\n.page {\n color: var(--ic-action-default);\n}\n\n.simple-current {\n width: calc(var(--ic-space-xxl) + var(--ic-space-md));\n height: var(--ic-space-lg);\n cursor: default;\n}\n\n/** DEFAULT STATES **/\n.item-container.page:hover:not(.selected):not(:focus) {\n border-radius: var(--ic-border-radius);\n background-color: var(--ic-action-default-bg-hover);\n}\n\n.item-container.page:active:not(.selected):not(:focus) {\n background-color: var(--ic-action-default-bg-active);\n}\n\n.selected {\n pointer-events: none;\n outline: none;\n}\n\n.selected::after {\n content: \"\";\n height: var(--ic-space-xxs);\n width: 100%;\n position: absolute;\n bottom: 0;\n background-color: var(--ic-action-default);\n}\n\n.page-selected {\n color: var(--ic-color-primary-text);\n}\n\n/** LIGHT STATES **/\n.item-container.page.light:hover:not(.selected):not(:focus) {\n background-color: var(--ic-action-light-bg-hover);\n}\n\n.item-container.page.light:active:not(.selected):not(:focus) {\n background-color: var(--ic-action-light-bg-active);\n}\n\nic-typography.light {\n color: var(--ic-color-white-text);\n}\n\n.selected.light::after {\n content: \"\";\n height: var(--ic-space-xxs);\n width: 100%;\n position: absolute;\n bottom: 0;\n background-color: var(--ic-action-light);\n}\n\n/** DARK STATES **/\n.item-container.page.dark:hover:not(.selected):not(:focus) {\n background-color: var(--ic-action-dark-bg-hover);\n}\n\n.item-container.page.dark:active:not(.selected):not(:focus) {\n background-color: var(--ic-action-dark-bg-active);\n}\n\nic-typography.dark {\n color: var(--ic-color-primary-text);\n}\n\n.selected.dark::after {\n content: \"\";\n height: var(--ic-space-xxs);\n width: 100%;\n position: absolute;\n bottom: 0;\n background-color: var(--ic-action-dark);\n}\n\n.disabled {\n color: var(--ic-architectural-200);\n pointer-events: none;\n cursor: none;\n user-select: none;\n}\n\n@media (forced-colors: active) {\n .selected::after {\n background-color: Highlight;\n }\n\n .selected.light::after {\n background-color: Highlight;\n }\n\n .selected.dark::after {\n background-color: Highlight;\n }\n}\n","import {\n Component,\n Prop,\n Element,\n h,\n Event,\n EventEmitter,\n} from \"@stencil/core\";\nimport { IcPaginationItemType } from \"./ic-pagination-item.types\";\nimport { IcThemeForeground } from \"../../utils/types\";\nimport { removeDisabledFalse } from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-pagination-item\",\n styleUrl: \"ic-pagination-item.css\",\n shadow: true,\n})\nexport class PaginationItem {\n @Element() el: HTMLIcPaginationItemElement;\n\n /**\n * The current page number.\n */\n @Prop() page: number | null;\n /**\n * If `true`, the pagination item will be selected.\n */\n @Prop() selected: boolean = false;\n /**\n * The type of pagination item - 'page' or 'ellipsis'.\n */\n @Prop() type: IcPaginationItemType;\n /**\n * If `true`, the pagination item will be disabled.\n */\n @Prop() disabled: boolean = false;\n /**\n * The appearance of the pagination, e.g. dark, light or the default.\n */\n @Prop() appearance: IcThemeForeground;\n /**\n * The label for the pagination item (applicable when simple pagination is being used).\n */\n @Prop() label: string = \"Page \";\n /**\n * If true the aria-label will be set to `Page X of Y`, where X is the current page and Y is the page count.\n */\n @Prop() ariaOverride: boolean = false;\n /**\n * The total number of pages.\n */\n @Prop() pages: number;\n\n /**\n * @internal - Emitted when a pagination item is clicked.\n */\n @Event() paginationItemClick: EventEmitter<{ page: number }>;\n\n private handleClick = () => {\n this.paginationItemClick.emit({ page: this.page });\n };\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.el);\n }\n\n render() {\n const {\n page,\n selected,\n type,\n disabled,\n appearance,\n label,\n ariaOverride,\n pages,\n } = this;\n\n return (\n <a>\n {type === \"ellipsis\" ? (\n <div\n class={{\n [\"item-container\"]: true,\n [\"ellipsis\"]: true,\n [\"disabled\"]: disabled,\n }}\n >\n <ic-typography\n class={{\n [`${appearance}`]: true,\n }}\n variant=\"label\"\n >\n ...\n </ic-typography>\n </div>\n ) : type === \"page\" ? (\n <button\n disabled={disabled}\n onClick={this.handleClick}\n tabindex={selected ? \"-1\" : \"0\"}\n role=\"button\"\n aria-current={selected && \"Current page\"}\n aria-label={selected ? `${label}: ${page}` : `Go to page ${page}`}\n class={{\n [\"selected\"]: !disabled && selected,\n [\"disabled\"]: disabled,\n [\"item-container\"]: true,\n [`${appearance}`]: true,\n [\"page\"]: type === \"page\",\n }}\n >\n <ic-typography\n variant=\"label\"\n class={{\n [\"page-selected\"]: selected,\n [\"disabled\"]: disabled,\n [`${appearance}`]: true,\n }}\n >\n {page}\n </ic-typography>\n </button>\n ) : (\n <ic-typography\n aria-live=\"polite\"\n aria-label={\n ariaOverride ? `Page ${page} of ${pages}` : `${label} ${page}`\n }\n class={`simple-current ${app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QACtB,CAAC,gBAAgB,GAAG,IAAI;QACxB,CAAC,GAAG,UAAU,EAAE,GAAG,IAAI;QACvB,CAAC,MAAM,GAAG,IAAI,KAAK,MAAM;OAC1B,IAED,qBACE,OAAO,EAAC,OAAO,EACf,KAAK,EAAE;QACL,CAAC,eAAe,GAAG,QAAQ;QAC3B,CAAC,UAAU,GAAG,QAAQ;QACtB,CAAC,GAAG,UAAU,EAAE,GAAG,IAAI;OACxB,IAEA,IAAI,CACS,CACT,KAET,kCACY,QAAQ,gBAEhB,YAAY,GAAG,QAAQ,IAAI,OAAO,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,IAAI,EAAE,EAEhE,KAAK,EAAE,kBAAkB,UAAU,EAAE,EACrC,OAAO,EAAC,OAAO,IAEd,KAAK,OAAG,IAAI,CACC,CACjB,CACC,EACJ;GACH;;;;;;;","names":[],"sources":["./src/components/ic-pagination-item/ic-pagination-item.css?tag=ic-pagination-item&encapsulation=shadow","./src/components/ic-pagination-item/ic-pagination-item.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\na {\n text-align: center;\n}\n\n.item-container {\n display: flex;\n justify-content: center;\n align-items: center;\n width: calc(var(--ic-space-xl) + var(--ic-space-sm));\n height: var(--ic-space-xl);\n margin: var(--ic-space-xxs) var(--ic-space-xxxs);\n cursor: pointer;\n text-decoration: none;\n}\n\nbutton {\n background: none;\n border: none;\n outline: inherit;\n position: relative;\n}\n\n.ellipsis {\n pointer-events: none;\n color: var(--ic-color-secondary-text);\n}\n\n.item-container:focus {\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n border-radius: var(--ic-border-radius);\n transition: var(--ic-easing-transition-fast);\n}\n\n.page {\n color: var(--ic-action-default);\n}\n\n.simple-current {\n width: calc(var(--ic-space-xxl) + var(--ic-space-md));\n height: var(--ic-space-lg);\n cursor: default;\n}\n\n/** DEFAULT STATES **/\n.item-container.page:hover:not(.selected):not(:focus) {\n border-radius: var(--ic-border-radius);\n background-color: var(--ic-action-default-bg-hover);\n}\n\n.item-container.page:active:not(.selected):not(:focus) {\n background-color: var(--ic-action-default-bg-active);\n}\n\n.selected {\n pointer-events: none;\n outline: none;\n}\n\n.selected::after {\n content: \"\";\n height: var(--ic-space-xxs);\n width: 100%;\n position: absolute;\n bottom: 0;\n background-color: var(--ic-action-default);\n}\n\n.page-selected {\n color: var(--ic-color-primary-text);\n}\n\n/** LIGHT STATES **/\n.item-container.page.light:hover:not(.selected):not(:focus) {\n background-color: var(--ic-action-light-bg-hover);\n}\n\n.item-container.page.light:active:not(.selected):not(:focus) {\n background-color: var(--ic-action-light-bg-active);\n}\n\nic-typography.light {\n color: var(--ic-color-white-text);\n}\n\n.selected.light::after {\n content: \"\";\n height: var(--ic-space-xxs);\n width: 100%;\n position: absolute;\n bottom: 0;\n background-color: var(--ic-action-light);\n}\n\n/** DARK STATES **/\n.item-container.page.dark:hover:not(.selected):not(:focus) {\n background-color: var(--ic-action-dark-bg-hover);\n}\n\n.item-container.page.dark:active:not(.selected):not(:focus) {\n background-color: var(--ic-action-dark-bg-active);\n}\n\nic-typography.dark {\n color: var(--ic-color-primary-text);\n}\n\n.selected.dark::after {\n content: \"\";\n height: var(--ic-space-xxs);\n width: 100%;\n position: absolute;\n bottom: 0;\n background-color: var(--ic-action-dark);\n}\n\n.disabled {\n color: var(--ic-architectural-200);\n pointer-events: none;\n cursor: none;\n user-select: none;\n}\n\n@media (forced-colors: active) {\n .selected::after {\n background-color: Highlight;\n }\n\n .selected.light::after {\n background-color: Highlight;\n }\n\n .selected.dark::after {\n background-color: Highlight;\n }\n}\n","import {\n Component,\n Prop,\n Element,\n h,\n Event,\n EventEmitter,\n} from \"@stencil/core\";\nimport { IcPaginationItemType } from \"./ic-pagination-item.types\";\nimport { IcThemeForeground } from \"../../utils/types\";\nimport { removeDisabledFalse } from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-pagination-item\",\n styleUrl: \"ic-pagination-item.css\",\n shadow: true,\n})\nexport class PaginationItem {\n @Element() el: HTMLIcPaginationItemElement;\n\n /**\n * The appearance of the pagination, e.g. dark, light or the default.\n */\n @Prop() appearance: IcThemeForeground;\n\n /**\n * If true the aria-label will be set to `Page X of Y`, where X is the current page and Y is the page count.\n */\n @Prop() ariaOverride: boolean = false;\n\n /**\n * If `true`, the pagination item will be disabled.\n */\n @Prop() disabled: boolean = false;\n\n /**\n * The label for the pagination item (applicable when simple pagination is being used).\n */\n @Prop() label: string = \"Page \";\n\n /**\n * The current page number.\n */\n @Prop() page: number | null;\n\n /**\n * The total number of pages.\n */\n @Prop() pages: number;\n\n /**\n * If `true`, the pagination item will be selected.\n */\n @Prop() selected: boolean = false;\n\n /**\n * The type of pagination item - 'page' or 'ellipsis'.\n */\n @Prop() type: IcPaginationItemType;\n\n /**\n * @internal - Emitted when a pagination item is clicked.\n */\n @Event() paginationItemClick: EventEmitter<{ page: number }>;\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.el);\n }\n\n private handleClick = () => {\n this.paginationItemClick.emit({ page: this.page });\n };\n\n render() {\n const {\n page,\n selected,\n type,\n disabled,\n appearance,\n label,\n ariaOverride,\n pages,\n } = this;\n\n return (\n <a>\n {type === \"ellipsis\" ? (\n <div\n class={{\n [\"item-container\"]: true,\n [\"ellipsis\"]: true,\n [\"disabled\"]: disabled,\n }}\n >\n <ic-typography\n class={{\n [`${appearance}`]: true,\n }}\n variant=\"label\"\n >\n ...\n </ic-typography>\n </div>\n ) : type === \"page\" ? (\n <button\n disabled={disabled}\n onClick={this.handleClick}\n tabindex={selected ? \"-1\" : \"0\"}\n role=\"button\"\n aria-current={selected && \"Current page\"}\n aria-label={selected ? `${label}: ${page}` : `Go to page ${page}`}\n class={{\n [\"selected\"]: !disabled && selected,\n [\"disabled\"]: disabled,\n [\"item-container\"]: true,\n [`${appearance}`]: true,\n [\"page\"]: type === \"page\",\n }}\n >\n <ic-typography\n variant=\"label\"\n class={{\n [\"page-selected\"]: selected,\n [\"disabled\"]: disabled,\n [`${appearance}`]: true,\n }}\n >\n {page}\n </ic-typography>\n </button>\n ) : (\n <ic-typography\n aria-live=\"polite\"\n aria-label={\n ariaOverride ? `Page ${page} of ${pages}` : `${label} ${page}`\n }\n class={`simple-current ${appearance}`}\n variant=\"label\"\n >\n {label} {page}\n </ic-typography>\n )}\n </a>\n );\n }\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a77644e1.js';
2
- import { a as onComponentRequiredPropUndefined, r as removeDisabledFalse } from './helpers-8e57082b.js';
2
+ import { r as removeDisabledFalse, a as onComponentRequiredPropUndefined } from './helpers-85903813.js';
3
3
  import './types-dd515332.js';
4
4
 
5
5
  const paginationNextPrevious = `<svg width="8" height="10" viewBox="0 0 8 10" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -67,38 +67,22 @@ const Pagination = class {
67
67
  return (h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
68
68
  });
69
69
  };
70
- this.pages = undefined;
71
- this.type = "simple";
72
- this.defaultPage = 1;
70
+ this.endEllipsis = false;
71
+ this.endItems = [];
72
+ this.midItems = [];
73
+ this.startEllipsis = false;
74
+ this.startItems = [];
73
75
  this.adjacentCount = 1;
76
+ this.appearance = "default";
74
77
  this.boundaryCount = 1;
75
- this.hideFirstAndLastPageButton = false;
76
- this.hideCurrentPage = false;
78
+ this.defaultPage = 1;
77
79
  this.disabled = false;
78
- this.appearance = "default";
80
+ this.hideCurrentPage = false;
81
+ this.hideFirstAndLastPageButton = false;
79
82
  this.label = "Page";
83
+ this.pages = undefined;
84
+ this.type = "simple";
80
85
  this.currentPage = this.defaultPage;
81
- this.startEllipsis = false;
82
- this.endEllipsis = false;
83
- this.startItems = [];
84
- this.endItems = [];
85
- this.midItems = [];
86
- }
87
- paginationItemClickHandler(ev) {
88
- const page = ev.detail.page;
89
- this.currentPage = page;
90
- this.icPageChange.emit({ value: this.currentPage });
91
- }
92
- /**
93
- * Sets the currently displayed page.
94
- */
95
- async setCurrentPage(page) {
96
- if (typeof page === "number" && page > 0 && page <= this.pages) {
97
- this.currentPage = page;
98
- }
99
- else {
100
- console.error("Current page must be a number greater than zero but less than or equal to the total number of pages");
101
- }
102
86
  }
103
87
  watchPageChangeHandler() {
104
88
  if (this.type === "simple") {
@@ -181,9 +165,6 @@ const Pagination = class {
181
165
  this.endItems = endItems;
182
166
  this.midItems = midItems;
183
167
  }
184
- componentDidLoad() {
185
- onComponentRequiredPropUndefined([{ prop: this.pages, propName: "pages" }], "Pagination");
186
- }
187
168
  componentWillLoad() {
188
169
  this.watchPageChangeHandler();
189
170
  if (this.boundaryCount > 2) {
@@ -194,6 +175,25 @@ const Pagination = class {
194
175
  }
195
176
  removeDisabledFalse(this.disabled, this.el);
196
177
  }
178
+ componentDidLoad() {
179
+ onComponentRequiredPropUndefined([{ prop: this.pages, propName: "pages" }], "Pagination");
180
+ }
181
+ paginationItemClickHandler(ev) {
182
+ const page = ev.detail.page;
183
+ this.currentPage = page;
184
+ this.icPageChange.emit({ value: this.currentPage });
185
+ }
186
+ /**
187
+ * Sets the currently displayed page.
188
+ */
189
+ async setCurrentPage(page) {
190
+ if (typeof page === "number" && page > 0 && page <= this.pages) {
191
+ this.currentPage = page;
192
+ }
193
+ else {
194
+ console.error("Current page must be a number greater than zero but less than or equal to the total number of pages");
195
+ }
196
+ }
197
197
  render() {
198
198
  const { type, pages, currentPage, hideCurrentPage, disabled, hideFirstAndLastPageButton, label, } = this;
199
199
  return (h(Host, null, type === "simple" && (h("nav", { class: {
@@ -1 +1 @@
1
- {"file":"ic-pagination.entry.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,yiGAAyiG;;MC2BpjG,UAAU;;;;IAuLb,qBAAgB,GAAG;MACzB,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;MACrB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,K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cAAc,EAAE,EACrB,IAAI,CAAC,UAAU,EAAE,EACjB,0BAA0B,GAAG,IAAI,GAAG,IAAI,CAAC,UAAU,EAAE,CAClD,CACP,CACI,EACP;GACH;;;;;;;;;;","names":[],"sources":["./src/components/ic-pagination/ic-pagination.css?tag=ic-pagination&encapsulation=shadow","./src/components/ic-pagination/ic-pagination.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n box-sizing: border-box;\n width: 100%;\n display: flex;\n justify-content: center;\n}\n\nnav {\n width: 100%;\n display: flex;\n flex-flow: row wrap;\n justify-content: flex-start;\n align-items: center;\n}\n\nic-button {\n cursor: pointer;\n}\n\nic-button.next-previous {\n --icon-width: var(--ic-space-xs);\n --icon-height: calc(var(--ic-space-xs) + var(--ic-space-xxxs));\n\n padding: 0 var(--ic-space-xxs) 0 var(--ic-space-xxxs);\n}\n\nic-button.first-last {\n --icon-width: calc(var(--ic-space-sm) + var(--ic-space-xxxs));\n --icon-height: calc(var(--ic-space-xs) + var(--ic-space-xxxs));\n}\n\n.disabled {\n color: var(--ic-architectural-200);\n pointer-events: none;\n cursor: none;\n user-select: none;\n}\n\n.hide-current-page {\n display: none;\n}\n","import {\n Component,\n Element,\n Host,\n Prop,\n h,\n Listen,\n State,\n Watch,\n Event,\n EventEmitter,\n Method,\n} from \"@stencil/core\";\nimport paginationNextPrevious from \"../../assets/pagination-next-previous.svg\";\nimport paginationFirstLast from \"../../assets/pagination-first-last.svg\";\nimport { IcThemeForeground } from \"../../utils/types\";\nimport { IcPaginationTypes, IcChangeEventDetail } from \"./ic-pagination.types\";\nimport {\n onComponentRequiredPropUndefined,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-pagination\",\n styleUrl: \"ic-pagination.css\",\n shadow: true,\n})\nexport class Pagination {\n @Element() el: HTMLIcPaginationElement;\n\n /**\n * The total number of pages.\n */\n @Prop() pages!: number;\n /**\n * The type of pagination to be used.\n */\n @Prop() type: IcPaginationTypes = \"simple\";\n /**\n * The default page to display.\n */\n @Prop() defaultPage: number = 1;\n /**\n * The number of pages displayed adjacent to the current page when using 'complex' type pagination. Accepted values are 0, 1 & 2.\n */\n @Prop({ mutable: true }) adjacentCount: number = 1;\n /**\n * The number of pages displayed as boundary items to the current page when using 'complex' type pagination. Accepted values are 0, 1 & 2.\n */\n @Prop({ mutable: true }) boundaryCount: number = 1;\n /**\n * If `true`, the first and last page buttons will not be displayed.\n */\n @Prop() hideFirstAndLastPageButton: boolean = false;\n /**\n * If `true`, the current page of the simple pagination will not be displayed.\n */\n @Prop() hideCurrentPage: boolean = false;\n /**\n * If `true`, the pagination will not allow interaction.\n */\n @Prop() disabled: boolean = false;\n /**\n * The appearance of the pagination, e.g. dark, light or the default.\n */\n @Prop() appearance: IcThemeForeground = \"default\";\n /**\n * The label for the pagination item (applicable when simple pagination is being used).\n */\n @Prop() label: string = \"Page\";\n /**\n * The current page displayed by the pagination.\n */\n @Prop({ mutable: true }) currentPage: number = this.defaultPage;\n\n @State() startEllipsis: boolean = false;\n @State() endEllipsis: boolean = false;\n @State() startItems: number[] = [];\n @State() endItems: number[] = [];\n @State() midItems: number[] = [];\n\n /**\n * Emitted when a page is selected.\n */\n @Event() icPageChange: EventEmitter<IcChangeEventDetail>;\n\n @Listen(\"paginationItemClick\")\n paginationItemClickHandler(ev: CustomEvent) {\n const page = ev.detail.page;\n this.currentPage = page;\n this.icPageChange.emit({ value: this.currentPage });\n }\n\n /**\n * Sets the currently displayed page.\n */\n @Method()\n async setCurrentPage(page: number) {\n if (typeof page === \"number\" && page > 0 && page <= this.pages) {\n this.currentPage = page;\n } else {\n console.error(\n \"Current page must be a number greater than zero but less than or equal to the total number of pages\"\n );\n }\n }\n\n @Watch(\"currentPage\")\n watchPageChangeHandler(): void {\n if (this.type === \"simple\") {\n return;\n }\n\n const startItems = [];\n let startItemCount = 0;\n const endItems = [];\n let endStart = this.pages;\n const midItems = [];\n let midStart;\n let midEnd;\n let startEllipsis = false;\n let endEllipsis = false;\n\n if (this.pages <= this.boundaryCount * 2 + this.adjacentCount * 2 + 3) {\n this.startEllipsis = false;\n this.endEllipsis = false;\n for (let i = 1; i <= this.pages; i++) {\n startItems.push(i);\n }\n this.startItems = startItems;\n return;\n }\n\n startItemCount = this.boundaryCount === 0 ? 1 : this.boundaryCount;\n endStart =\n this.boundaryCount === 0\n ? this.pages\n : this.pages - this.boundaryCount + 1;\n\n if (this.currentPage <= this.adjacentCount + this.boundaryCount + 2) {\n startEllipsis = false;\n endEllipsis = true;\n\n let numItems = 2 * this.adjacentCount + 1;\n if (this.boundaryCount === 0) {\n numItems--;\n }\n midStart = startItemCount + 1;\n midEnd = midStart + numItems;\n } else {\n startEllipsis = true;\n if (\n this.currentPage >\n this.pages - (this.adjacentCount + this.boundaryCount + 2)\n ) {\n let numItems = 2 * this.adjacentCount + 1;\n if (this.boundaryCount === 0) {\n numItems--;\n }\n midEnd =\n this.boundaryCount === 0\n ? this.pages - 1\n : this.pages - this.boundaryCount;\n midStart = midEnd - numItems;\n } else {\n endEllipsis = true;\n midStart = this.currentPage - this.adjacentCount;\n midEnd = this.currentPage + this.adjacentCount;\n }\n }\n\n //create array of start items\n if (\n this.boundaryCount > 0 ||\n (this.boundaryCount === 0 && startEllipsis === false)\n ) {\n for (let i = 1; i <= startItemCount; i++) {\n startItems.push(i);\n }\n }\n\n //create array of end items\n if (\n this.boundaryCount > 0 ||\n (this.boundaryCount === 0 && endEllipsis === false)\n ) {\n for (let i = endStart; i <= this.pages; i++) {\n endItems.push(i);\n }\n }\n\n //create array of mid items\n for (let i = midStart; i <= midEnd; i++) {\n midItems.push(i);\n }\n\n this.startEllipsis = startEllipsis;\n this.endEllipsis = endEllipsis;\n this.startItems = startItems;\n this.endItems = endItems;\n this.midItems = midItems;\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.pages, propName: \"pages\" }],\n \"Pagination\"\n );\n }\n\n private handleClickFirst = () => {\n this.currentPage = 1;\n this.icPageChange.emit({ value: this.currentPage });\n };\n\n private handleClickPrevious = (): void => {\n this.currentPage--;\n this.icPageChange.emit({ value: this.currentPage });\n };\n\n private handleClickNext = (): void => {\n this.currentPage++;\n this.icPageChange.emit({ value: this.currentPage });\n };\n\n private handleClickLast = (): void => {\n this.currentPage = this.pages;\n this.icPageChange.emit({ value: this.currentPage });\n };\n\n // button rendering abstracted from component render methods for clarity\n private firstButton = () => {\n return (\n <ic-button\n id=\"first-page-button\"\n aria-label=\"Go to first page\"\n disableTooltip={true}\n appearance={this.appearance}\n onClick={this.handleClickFirst}\n class=\"page-button first-last\"\n disabled={this.currentPage === 1 || this.disabled}\n variant=\"icon\"\n innerHTML={paginationFirstLast}\n />\n );\n };\n\n private previousButton = () => {\n return (\n <ic-button\n id=\"previous-page-button\"\n aria-label=\"Go to previous page\"\n disableTooltip={true}\n appearance={this.appearance}\n onClick={this.handleClickPrevious}\n class=\"page-button next-previous flip\"\n disabled={this.currentPage === 1 || this.disabled}\n variant=\"icon\"\n innerHTML={paginationNextPrevious}\n />\n );\n };\n\n private nextButton = () => {\n return (\n <ic-button\n id=\"next-page-button\"\n aria-label=\"Go to next page\"\n disableTooltip={true}\n appearance={this.appearance}\n onClick={this.handleClickNext}\n class=\"page-button next-previous\"\n disabled={this.currentPage === this.pages || this.disabled}\n variant=\"icon\"\n innerHTML={paginationNextPrevious}\n />\n );\n };\n\n private lastButton = () => {\n return (\n <ic-button\n id=\"last-page-button\"\n aria-label=\"Go to last page\"\n disableTooltip={true}\n appearance={this.appearance}\n onClick={this.handleClickLast}\n class=\"page-button first-last flip\"\n disabled={this.currentPage === this.pages || this.disabled}\n variant=\"icon\"\n innerHTML={paginationFirstLast}\n />\n );\n };\n\n private renderStartEllipsis = () => {\n return (\n <ic-pagination-item\n appearance={this.appearance}\n type=\"ellipsis\"\n id=\"start-ellipsis\"\n disabled={this.disabled}\n />\n );\n };\n\n private renderEndEllipsis = () => {\n return (\n <ic-pagination-item\n appearance={this.appearance}\n type=\"ellipsis\"\n id=\"end-ellipsis\"\n disabled={this.disabled}\n />\n );\n };\n\n private renderStartItems = () => {\n return this.startItems.map((page: number) => {\n return (\n <ic-pagination-item\n appearance={this.appearance}\n selected={page === this.currentPage}\n id={`pagination-item-${page}`}\n type=\"page\"\n page={page}\n disabled={this.disabled}\n />\n );\n });\n };\n\n private renderEndItems = () => {\n return this.endItems.map((page: number) => {\n return (\n <ic-pagination-item\n appearance={this.appearance}\n selected={page === this.currentPage}\n id={`pagination-item-${page}`}\n type=\"page\"\n page={page}\n disabled={this.disabled}\n />\n );\n });\n };\n\n private renderMiddleItems = () => {\n return this.midItems.map((page: number) => {\n return (\n <ic-pagination-item\n appearance={this.appearance}\n selected={page === this.currentPage}\n id={`pagination-item-${page}`}\n type=\"page\"\n page={page}\n disabled={this.disabled}\n />\n );\n });\n };\n\n componentWillLoad(): void {\n this.watchPageChangeHandler();\n if (this.boundaryCount > 2) {\n this.boundaryCount = 2;\n }\n if (this.adjacentCount > 2) {\n this.adjacentCount = 2;\n }\n\n removeDisabledFalse(this.disabled, this.el);\n }\n\n render() {\n const {\n type,\n pages,\n currentPage,\n hideCurrentPage,\n disabled,\n hideFirstAndLastPageButton,\n label,\n } = this;\n\n return (\n <Host>\n {type === \"simple\" && (\n <nav\n class={{\n [\"disabled\"]: disabled,\n }}\n role=\"navigation\"\n aria-label=\"Pagination Navigation\"\n >\n {hideFirstAndLastPageButton ? null : this.firstButton()}\n {this.previousButton()}\n <ic-pagination-item\n pages={pages}\n appearance={this.appearance}\n type=\"simple-current\"\n page={currentPage}\n label={label}\n class={{ [\"hide-current-page\"]: hideCurrentPage }}\n />\n {this.nextButton()}\n {hideFirstAndLastPageButton ? null : this.lastButton()}\n </nav>\n )}\n {type === \"complex\" && (\n <nav\n class={{\n [\"disabled\"]: disabled,\n }}\n role=\"navigation\"\n aria-label=\"Pagination Navigation\"\n >\n {hideFirstAndLastPageButton ? null : this.firstButton()}\n {this.previousButton()}\n {this.renderStartItems()}\n {this.startEllipsis && this.renderStartEllipsis()}\n {this.renderMiddleItems()}\n {this.endEllipsis && this.renderEndEllipsis()}\n {this.renderEndItems()}\n {this.nextButton()}\n {hideFirstAndLastPageButton ? null : this.lastButton()}\n </nav>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-pagination.entry.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,yiGAAyiG;;MC2BpjG,UAAU;;;;IA6Mb,qBAAgB,GAAG;MACzB,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;MACrB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;KACrD,CAAC;IAEM,wBAAmB,GAAG;MAC5B,IAAI,CAAC,WAAW,EAAE,CAAC;MACnB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;KACrD,CAAC;IAEM,oBAAe,GAAG;MACxB,IAAI,CAAC,WAAW,EAAE,CAAC;MACnB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;KACrD,CAAC;IAEM,oBAAe,GAAG;MACxB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC;MAC9B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;KACrD,CAAC;;IAGM,gBAAW,GAAG;MACpB,QACE,iBACE,EAAE,EAAC,mBAAmB,gBACX,kBAAkB,EAC7B,cAAc,EAAE,IAAI,EACpB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAC9B,KAAK,EAAC,wBAAwB,EAC9B,QAAQ,EAAE,IAAI,CAAC,WAAW,KAAK,CAAC,IAAI,IAAI,CAAC,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AS,KACjB,WACE,KAAK,EAAE;QACL,CAAC,UAAU,GAAG,QAAQ;OACvB,EACD,IAAI,EAAC,YAAY,gBACN,uBAAuB,IAEjC,0BAA0B,GAAG,IAAI,GAAG,IAAI,CAAC,WAAW,EAAE,EACtD,IAAI,CAAC,cAAc,EAAE,EACrB,IAAI,CAAC,gBAAgB,EAAE,EACvB,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,mBAAmB,EAAE,EAChD,IAAI,CAAC,iBAAiB,EAAE,EACxB,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,iBAAiB,EAAE,EAC5C,IAAI,CAAC,cAAc,EAAE,EACrB,IAAI,CAAC,UAAU,EAAE,EACjB,0BAA0B,GAAG,IAAI,GAAG,IAAI,CAAC,UAAU,EAAE,CAClD,CACP,CACI,EACP;GACH;;;;;;;;;;","names":[],"sources":["./src/components/ic-pagination/ic-pagination.css?tag=ic-pagination&encapsulation=shadow","./src/components/ic-pagination/ic-pagination.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n box-sizing: border-box;\n width: 100%;\n display: flex;\n justify-content: center;\n}\n\nnav {\n width: 100%;\n display: flex;\n flex-flow: row wrap;\n justify-content: flex-start;\n align-items: center;\n}\n\nic-button {\n cursor: pointer;\n}\n\nic-button.next-previous {\n --icon-width: var(--ic-space-xs);\n --icon-height: calc(var(--ic-space-xs) + var(--ic-space-xxxs));\n\n padding: 0 var(--ic-space-xxs) 0 var(--ic-space-xxxs);\n}\n\nic-button.first-last {\n --icon-width: calc(var(--ic-space-sm) + var(--ic-space-xxxs));\n --icon-height: calc(var(--ic-space-xs) + var(--ic-space-xxxs));\n}\n\n.disabled {\n color: var(--ic-architectural-200);\n pointer-events: none;\n cursor: none;\n user-select: none;\n}\n\n.hide-current-page {\n display: none;\n}\n","import {\n Component,\n Element,\n Host,\n Prop,\n h,\n Listen,\n State,\n Watch,\n Event,\n EventEmitter,\n Method,\n} from \"@stencil/core\";\nimport paginationNextPrevious from \"../../assets/pagination-next-previous.svg\";\nimport paginationFirstLast from \"../../assets/pagination-first-last.svg\";\nimport { IcThemeForeground } from \"../../utils/types\";\nimport { IcPaginationTypes, IcChangeEventDetail } from \"./ic-pagination.types\";\nimport {\n onComponentRequiredPropUndefined,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-pagination\",\n styleUrl: \"ic-pagination.css\",\n shadow: true,\n})\nexport class Pagination {\n @Element() el: HTMLIcPaginationElement;\n\n @State() endEllipsis: boolean = false;\n @State() endItems: number[] = [];\n @State() midItems: number[] = [];\n @State() startEllipsis: boolean = false;\n @State() startItems: number[] = [];\n\n /**\n * The number of pages displayed adjacent to the current page when using 'complex' type pagination. Accepted values are 0, 1 & 2.\n */\n @Prop({ mutable: true }) adjacentCount: number = 1;\n\n /**\n * The appearance of the pagination, e.g. dark, light or the default.\n */\n @Prop() appearance: IcThemeForeground = \"default\";\n\n /**\n * The number of pages displayed as boundary items to the current page when using 'complex' type pagination. Accepted values are 0, 1 & 2.\n */\n @Prop({ mutable: true }) boundaryCount: number = 1;\n\n /**\n * The default page to display.\n */\n @Prop() defaultPage: number = 1;\n\n /**\n * If `true`, the pagination will not allow interaction.\n */\n @Prop() disabled: boolean = false;\n\n /**\n * If `true`, the current page of the simple pagination will not be displayed.\n */\n @Prop() hideCurrentPage: boolean = false;\n\n /**\n * If `true`, the first and last page buttons will not be displayed.\n */\n @Prop() hideFirstAndLastPageButton: boolean = false;\n\n /**\n * The label for the pagination item (applicable when simple pagination is being used).\n */\n @Prop() label: string = \"Page\";\n\n /**\n * The total number of pages.\n */\n @Prop() pages!: number;\n\n /**\n * The type of pagination to be used.\n */\n @Prop() type: IcPaginationTypes = \"simple\";\n\n /**\n * The current page displayed by the pagination.\n */\n @Prop({ mutable: true }) currentPage: number = this.defaultPage;\n\n @Watch(\"currentPage\")\n watchPageChangeHandler(): void {\n if (this.type === \"simple\") {\n return;\n }\n\n const startItems = [];\n let startItemCount = 0;\n const endItems = [];\n let endStart = this.pages;\n const midItems = [];\n let midStart;\n let midEnd;\n let startEllipsis = false;\n let endEllipsis = false;\n\n if (this.pages <= this.boundaryCount * 2 + this.adjacentCount * 2 + 3) {\n this.startEllipsis = false;\n this.endEllipsis = false;\n for (let i = 1; i <= this.pages; i++) {\n startItems.push(i);\n }\n this.startItems = startItems;\n return;\n }\n\n startItemCount = this.boundaryCount === 0 ? 1 : this.boundaryCount;\n endStart =\n this.boundaryCount === 0\n ? this.pages\n : this.pages - this.boundaryCount + 1;\n\n if (this.currentPage <= this.adjacentCount + this.boundaryCount + 2) {\n startEllipsis = false;\n endEllipsis = true;\n\n let numItems = 2 * this.adjacentCount + 1;\n if (this.boundaryCount === 0) {\n numItems--;\n }\n midStart = startItemCount + 1;\n midEnd = midStart + numItems;\n } else {\n startEllipsis = true;\n if (\n this.currentPage >\n this.pages - (this.adjacentCount + this.boundaryCount + 2)\n ) {\n let numItems = 2 * this.adjacentCount + 1;\n if (this.boundaryCount === 0) {\n numItems--;\n }\n midEnd =\n this.boundaryCount === 0\n ? this.pages - 1\n : this.pages - this.boundaryCount;\n midStart = midEnd - numItems;\n } else {\n endEllipsis = true;\n midStart = this.currentPage - this.adjacentCount;\n midEnd = this.currentPage + this.adjacentCount;\n }\n }\n\n //create array of start items\n if (\n this.boundaryCount > 0 ||\n (this.boundaryCount === 0 && startEllipsis === false)\n ) {\n for (let i = 1; i <= startItemCount; i++) {\n startItems.push(i);\n }\n }\n\n //create array of end items\n if (\n this.boundaryCount > 0 ||\n (this.boundaryCount === 0 && endEllipsis === false)\n ) {\n for (let i = endStart; i <= this.pages; i++) {\n endItems.push(i);\n }\n }\n\n //create array of mid items\n for (let i = midStart; i <= midEnd; i++) {\n midItems.push(i);\n }\n\n this.startEllipsis = startEllipsis;\n this.endEllipsis = endEllipsis;\n this.startItems = startItems;\n this.endItems = endItems;\n this.midItems = midItems;\n }\n\n /**\n * Emitted when a page is selected.\n */\n @Event() icPageChange: EventEmitter<IcChangeEventDetail>;\n\n componentWillLoad(): void {\n this.watchPageChangeHandler();\n if (this.boundaryCount > 2) {\n this.boundaryCount = 2;\n }\n if (this.adjacentCount > 2) {\n this.adjacentCount = 2;\n }\n\n removeDisabledFalse(this.disabled, this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.pages, propName: \"pages\" }],\n \"Pagination\"\n );\n }\n\n @Listen(\"paginationItemClick\")\n paginationItemClickHandler(ev: CustomEvent): void {\n const page = ev.detail.page;\n this.currentPage = page;\n this.icPageChange.emit({ value: this.currentPage });\n }\n\n /**\n * Sets the currently displayed page.\n */\n @Method()\n async setCurrentPage(page: number): Promise<void> {\n if (typeof page === \"number\" && page > 0 && page <= this.pages) {\n this.currentPage = page;\n } else {\n console.error(\n \"Current page must be a number greater than zero but less than or equal to the total number of pages\"\n );\n }\n }\n\n private handleClickFirst = () => {\n this.currentPage = 1;\n this.icPageChange.emit({ value: this.currentPage });\n };\n\n private handleClickPrevious = (): void => {\n this.currentPage--;\n this.icPageChange.emit({ value: this.currentPage });\n };\n\n private handleClickNext = (): void => {\n this.currentPage++;\n this.icPageChange.emit({ value: this.currentPage });\n };\n\n private handleClickLast = (): void => {\n this.currentPage = this.pages;\n this.icPageChange.emit({ value: this.currentPage });\n };\n\n // button rendering abstracted from component render methods for clarity\n private firstButton = () => {\n return (\n <ic-button\n id=\"first-page-button\"\n aria-label=\"Go to first page\"\n disableTooltip={true}\n appearance={this.appearance}\n onClick={this.handleClickFirst}\n class=\"page-button first-last\"\n disabled={this.currentPage === 1 || this.disabled}\n variant=\"icon\"\n innerHTML={paginationFirstLast}\n />\n );\n };\n\n private previousButton = () => {\n return (\n <ic-button\n id=\"previous-page-button\"\n aria-label=\"Go to previous page\"\n disableTooltip={true}\n appearance={this.appearance}\n onClick={this.handleClickPrevious}\n class=\"page-button next-previous flip\"\n disabled={this.currentPage === 1 || this.disabled}\n variant=\"icon\"\n innerHTML={paginationNextPrevious}\n />\n );\n };\n\n private nextButton = () => {\n return (\n <ic-button\n id=\"next-page-button\"\n aria-label=\"Go to next page\"\n disableTooltip={true}\n appearance={this.appearance}\n onClick={this.handleClickNext}\n class=\"page-button next-previous\"\n disabled={this.currentPage === this.pages || this.disabled}\n variant=\"icon\"\n innerHTML={paginationNextPrevious}\n />\n );\n };\n\n private lastButton = () => {\n return (\n <ic-button\n id=\"last-page-button\"\n aria-label=\"Go to last page\"\n disableTooltip={true}\n appearance={this.appearance}\n onClick={this.handleClickLast}\n class=\"page-button first-last flip\"\n disabled={this.currentPage === this.pages || this.disabled}\n variant=\"icon\"\n innerHTML={paginationFirstLast}\n />\n );\n };\n\n private renderStartEllipsis = () => {\n return (\n <ic-pagination-item\n appearance={this.appearance}\n type=\"ellipsis\"\n id=\"start-ellipsis\"\n disabled={this.disabled}\n />\n );\n };\n\n private renderEndEllipsis = () => {\n return (\n <ic-pagination-item\n appearance={this.appearance}\n type=\"ellipsis\"\n id=\"end-ellipsis\"\n disabled={this.disabled}\n />\n );\n };\n\n private renderStartItems = () => {\n return this.startItems.map((page: number) => {\n return (\n <ic-pagination-item\n appearance={this.appearance}\n selected={page === this.currentPage}\n id={`pagination-item-${page}`}\n type=\"page\"\n page={page}\n disabled={this.disabled}\n />\n );\n });\n };\n\n private renderEndItems = () => {\n return this.endItems.map((page: number) => {\n return (\n <ic-pagination-item\n appearance={this.appearance}\n selected={page === this.currentPage}\n id={`pagination-item-${page}`}\n type=\"page\"\n page={page}\n disabled={this.disabled}\n />\n );\n });\n };\n\n private renderMiddleItems = () => {\n return this.midItems.map((page: number) => {\n return (\n <ic-pagination-item\n appearance={this.appearance}\n selected={page === this.currentPage}\n id={`pagination-item-${page}`}\n type=\"page\"\n page={page}\n disabled={this.disabled}\n />\n );\n });\n };\n\n render() {\n const {\n type,\n pages,\n currentPage,\n hideCurrentPage,\n disabled,\n hideFirstAndLastPageButton,\n label,\n } = this;\n\n return (\n <Host>\n {type === \"simple\" && (\n <nav\n class={{\n [\"disabled\"]: disabled,\n }}\n role=\"navigation\"\n aria-label=\"Pagination Navigation\"\n >\n {hideFirstAndLastPageButton ? null : this.firstButton()}\n {this.previousButton()}\n <ic-pagination-item\n pages={pages}\n appearance={this.appearance}\n type=\"simple-current\"\n page={currentPage}\n label={label}\n class={{ [\"hide-current-page\"]: hideCurrentPage }}\n />\n {this.nextButton()}\n {hideFirstAndLastPageButton ? null : this.lastButton()}\n </nav>\n )}\n {type === \"complex\" && (\n <nav\n class={{\n [\"disabled\"]: disabled,\n }}\n role=\"navigation\"\n aria-label=\"Pagination Navigation\"\n >\n {hideFirstAndLastPageButton ? null : this.firstButton()}\n {this.previousButton()}\n {this.renderStartItems()}\n {this.startEllipsis && this.renderStartEllipsis()}\n {this.renderMiddleItems()}\n {this.endEllipsis && this.renderEndEllipsis()}\n {this.renderEndItems()}\n {this.nextButton()}\n {hideFirstAndLastPageButton ? null : this.lastButton()}\n </nav>\n )}\n </Host>\n );\n }\n}\n"],"version":3}