@ukic/web-components 2.1.0-beta.1 → 2.1.0-beta.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (868) hide show
  1. package/README.md +8 -0
  2. package/dist/cjs/OpenInNew-f9958725.js +7 -0
  3. package/dist/cjs/OpenInNew-f9958725.js.map +1 -0
  4. package/dist/cjs/{check-icon-999d9877.js → check-icon-b2f60716.js} +2 -2
  5. package/dist/cjs/check-icon-b2f60716.js.map +1 -0
  6. package/dist/cjs/chevron-icon-2bb3a907.js +10 -0
  7. package/dist/cjs/chevron-icon-2bb3a907.js.map +1 -0
  8. package/dist/cjs/core.cjs.js +2 -2
  9. package/dist/cjs/{helpers-8bc3b6d2.js → helpers-2021e212.js} +78 -4
  10. package/dist/cjs/helpers-2021e212.js.map +1 -0
  11. package/dist/cjs/ic-alert.cjs.entry.js +6 -25
  12. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-back-to-top.cjs.entry.js +24 -12
  14. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
  16. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-breadcrumb.cjs.entry.js +15 -6
  18. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-button_3.cjs.entry.js +46 -31
  20. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-card.cjs.entry.js +29 -5
  22. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -4
  24. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-checkbox.cjs.entry.js +16 -4
  26. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-chip.cjs.entry.js +77 -0
  28. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -0
  29. package/dist/cjs/ic-classification-banner.cjs.entry.js +3 -3
  30. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
  32. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-data-row.cjs.entry.js +14 -12
  34. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-divider.cjs.entry.js +3 -3
  36. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-footer-link-group.cjs.entry.js +4 -3
  38. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-footer-link.cjs.entry.js +12 -5
  40. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-footer.cjs.entry.js +5 -5
  42. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-hero.cjs.entry.js +3 -3
  44. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +164 -0
  46. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -0
  47. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +79 -45
  48. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-input-label_2.cjs.entry.js +6 -8
  50. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-link.cjs.entry.js +14 -8
  52. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-menu-group.cjs.entry.js +24 -0
  54. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -0
  55. package/dist/cjs/ic-menu-item.cjs.entry.js +120 -0
  56. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -0
  57. package/dist/cjs/ic-navigation-button.cjs.entry.js +5 -4
  58. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-navigation-group.cjs.entry.js +7 -6
  60. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-navigation-item.cjs.entry.js +19 -12
  62. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-navigation-menu.cjs.entry.js +8 -8
  64. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-page-header.cjs.entry.js +5 -5
  66. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-popover-menu.cjs.entry.js +236 -0
  68. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -0
  69. package/dist/cjs/ic-radio-group.cjs.entry.js +13 -5
  70. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-radio-option.cjs.entry.js +24 -6
  72. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-search-bar.cjs.entry.js +56 -42
  74. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  76. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-select.cjs.entry.js +218 -69
  78. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-side-navigation.cjs.entry.js +26 -14
  80. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  82. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-status-tag.cjs.entry.js +6 -5
  84. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-step.cjs.entry.js +103 -15
  86. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-stepper.cjs.entry.js +166 -42
  88. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-switch.cjs.entry.js +12 -3
  90. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-tab-context.cjs.entry.js +7 -2
  92. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-tab-group.cjs.entry.js +9 -118
  94. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  96. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-tab.cjs.entry.js +10 -2
  98. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-text-field.cjs.entry.js +5 -5
  100. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-theme.cjs.entry.js +4 -4
  102. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-toast-region.cjs.entry.js +48 -0
  104. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -0
  105. package/dist/cjs/ic-toast.cjs.entry.js +165 -0
  106. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -0
  107. package/dist/cjs/ic-top-navigation.cjs.entry.js +15 -10
  108. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  110. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  111. package/dist/cjs/{index-3ef30d9d.js → index-f79a4e53.js} +33 -2
  112. package/dist/cjs/index-f79a4e53.js.map +1 -0
  113. package/dist/cjs/loader.cjs.js +2 -2
  114. package/dist/cjs/types-3eb02246.js.map +1 -1
  115. package/dist/collection/assets/back-icon.svg +1 -1
  116. package/dist/collection/assets/check-icon.svg +1 -1
  117. package/dist/collection/assets/chevron-icon.svg +1 -1
  118. package/dist/collection/assets/dismiss-icon.svg +3 -0
  119. package/dist/collection/assets/error-icon.svg +3 -3
  120. package/dist/collection/assets/info-icon.svg +3 -3
  121. package/dist/collection/assets/neutral-icon.svg +3 -3
  122. package/dist/collection/assets/success-icon.svg +3 -3
  123. package/dist/collection/assets/warning-icon-outline.svg +3 -0
  124. package/dist/collection/assets/warning-icon.svg +3 -3
  125. package/dist/collection/collection-manifest.json +7 -0
  126. package/dist/collection/components/ic-alert/ic-alert.css +13 -13
  127. package/dist/collection/components/ic-alert/ic-alert.js +32 -24
  128. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  129. package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +2 -2
  130. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +18 -8
  131. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +18 -7
  132. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  133. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +20 -5
  134. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +33 -4
  135. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  136. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
  137. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  138. package/dist/collection/components/ic-button/ic-button.css +16 -15
  139. package/dist/collection/components/ic-button/ic-button.js +18 -32
  140. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  141. package/dist/collection/components/ic-card/ic-card.css +75 -17
  142. package/dist/collection/components/ic-card/ic-card.js +103 -16
  143. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  144. package/dist/collection/components/ic-checkbox/ic-checkbox.css +28 -30
  145. package/dist/collection/components/ic-checkbox/ic-checkbox.js +63 -11
  146. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  147. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +18 -2
  148. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +11 -11
  149. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  150. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js +1 -1
  151. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +1 -1
  152. package/dist/collection/components/ic-chip/ic-chip.css +596 -0
  153. package/dist/collection/components/ic-chip/ic-chip.js +247 -0
  154. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -0
  155. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js +11 -0
  156. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +1 -0
  157. package/dist/collection/components/ic-chip/ic-chip.types.js +2 -0
  158. package/dist/collection/components/ic-chip/ic-chip.types.js.map +1 -0
  159. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +5 -1
  160. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +6 -6
  161. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
  162. package/dist/collection/components/ic-data-entity/ic-data-entity.css +1 -1
  163. package/dist/collection/components/ic-data-entity/ic-data-entity.js +2 -2
  164. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -1
  165. package/dist/collection/components/ic-data-row/ic-data-row.css +19 -7
  166. package/dist/collection/components/ic-data-row/ic-data-row.js +14 -12
  167. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  168. package/dist/collection/components/ic-divider/ic-divider.css +1 -1
  169. package/dist/collection/components/ic-divider/ic-divider.js +1 -1
  170. package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
  171. package/dist/collection/components/ic-footer/ic-footer.css +4 -4
  172. package/dist/collection/components/ic-footer/ic-footer.js +19 -16
  173. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  174. package/dist/collection/components/ic-footer-link/ic-footer-link.css +44 -6
  175. package/dist/collection/components/ic-footer-link/ic-footer-link.js +101 -4
  176. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  177. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +1 -1
  178. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +4 -3
  179. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  180. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js +1 -1
  181. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +1 -1
  182. package/dist/collection/components/ic-hero/ic-hero.css +35 -30
  183. package/dist/collection/components/ic-hero/ic-hero.js +10 -10
  184. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  185. package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +3 -0
  186. package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +3 -0
  187. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +539 -0
  188. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +219 -0
  189. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -0
  190. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js +34 -0
  191. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +1 -0
  192. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +16 -17
  193. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +8 -8
  194. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  195. package/dist/collection/components/ic-input-container/ic-input-container.css +0 -1
  196. package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
  197. package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -1
  198. package/dist/collection/components/ic-input-label/ic-input-label.js +8 -8
  199. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  200. package/dist/collection/components/ic-input-validation/ic-input-validation.css +4 -5
  201. package/dist/collection/components/ic-input-validation/ic-input-validation.js +5 -5
  202. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  203. package/dist/collection/components/ic-link/ic-link.css +14 -10
  204. package/dist/collection/components/ic-link/ic-link.js +43 -13
  205. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  206. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +43 -7
  207. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +48 -9
  208. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  209. package/dist/collection/components/ic-menu/ic-menu.css +20 -15
  210. package/dist/collection/components/ic-menu/ic-menu.js +144 -73
  211. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  212. package/dist/collection/components/ic-menu-group/ic-menu-group.css +465 -0
  213. package/dist/collection/components/ic-menu-group/ic-menu-group.js +45 -0
  214. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -0
  215. package/dist/collection/components/ic-menu-item/ic-menu-item.css +633 -0
  216. package/dist/collection/components/ic-menu-item/ic-menu-item.js +392 -0
  217. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -0
  218. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +2 -0
  219. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +1 -0
  220. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +9 -8
  221. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  222. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +14 -7
  223. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +7 -6
  224. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  225. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +68 -18
  226. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +113 -16
  227. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  228. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +15 -11
  229. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +8 -8
  230. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  231. package/dist/collection/components/ic-page-header/ic-page-header.css +15 -5
  232. package/dist/collection/components/ic-page-header/ic-page-header.js +10 -10
  233. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  234. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +535 -0
  235. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +432 -0
  236. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -0
  237. package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js +13 -0
  238. package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js.map +1 -0
  239. package/dist/collection/components/ic-radio-group/ic-radio-group.css +32 -0
  240. package/dist/collection/components/ic-radio-group/ic-radio-group.js +44 -13
  241. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  242. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js +1 -1
  243. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +1 -1
  244. package/dist/collection/components/ic-radio-option/ic-radio-option.css +32 -42
  245. package/dist/collection/components/ic-radio-option/ic-radio-option.js +65 -19
  246. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  247. package/dist/collection/components/ic-search-bar/ic-search-bar.css +24 -18
  248. package/dist/collection/components/ic-search-bar/ic-search-bar.js +90 -83
  249. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  250. package/dist/collection/components/ic-section-container/ic-section-container.css +1 -0
  251. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  252. package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
  253. package/dist/collection/components/ic-select/assets/Expand.svg +1 -1
  254. package/dist/collection/components/ic-select/ic-select.css +47 -30
  255. package/dist/collection/components/ic-select/ic-select.js +336 -88
  256. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  257. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js +90 -0
  258. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +1 -1
  259. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +47 -37
  260. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +40 -24
  261. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  262. package/dist/collection/components/ic-skeleton/ic-skeleton.css +1 -1
  263. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  264. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  265. package/dist/collection/components/ic-status-tag/ic-status-tag.css +7 -7
  266. package/dist/collection/components/ic-status-tag/ic-status-tag.js +22 -3
  267. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  268. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js +1 -1
  269. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +1 -1
  270. package/dist/collection/components/ic-step/ic-step.css +127 -30
  271. package/dist/collection/components/ic-step/ic-step.js +269 -28
  272. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  273. package/dist/collection/components/ic-step/ic-step.types.js.map +1 -1
  274. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js +74 -0
  275. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +1 -0
  276. package/dist/collection/components/ic-stepper/ic-stepper.css +15 -1
  277. package/dist/collection/components/ic-stepper/ic-stepper.js +210 -40
  278. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  279. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js +13 -1
  280. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +1 -1
  281. package/dist/collection/components/ic-switch/ic-switch.css +20 -20
  282. package/dist/collection/components/ic-switch/ic-switch.js +36 -7
  283. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  284. package/dist/collection/components/ic-tab/ic-tab.css +1 -1
  285. package/dist/collection/components/ic-tab/ic-tab.js +37 -6
  286. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  287. package/dist/collection/components/ic-tab-context/ic-tab-context.js +31 -4
  288. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  289. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js +1 -1
  290. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +1 -1
  291. package/dist/collection/components/ic-tab-group/ic-tab-group.css +6 -120
  292. package/dist/collection/components/ic-tab-group/ic-tab-group.js +12 -156
  293. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  294. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +4 -0
  295. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  296. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  297. package/dist/collection/components/ic-text-field/ic-text-field.css +7 -7
  298. package/dist/collection/components/ic-text-field/ic-text-field.js +32 -32
  299. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  300. package/dist/collection/components/ic-theme/ic-theme.js +9 -6
  301. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  302. package/dist/collection/components/ic-toast/ic-toast.css +602 -0
  303. package/dist/collection/components/ic-toast/ic-toast.js +382 -0
  304. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -0
  305. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js +16 -0
  306. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +1 -0
  307. package/dist/collection/components/ic-toast/ic-toast.types.js +2 -0
  308. package/dist/collection/components/ic-toast/ic-toast.types.js.map +1 -0
  309. package/dist/collection/components/ic-toast-region/ic-toast-region.js +81 -0
  310. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -0
  311. package/dist/collection/components/ic-tooltip/ic-tooltip.css +9 -11
  312. package/dist/collection/components/ic-tooltip/ic-tooltip.js +28 -3
  313. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  314. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +34 -52
  315. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +21 -15
  316. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  317. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js +1 -1
  318. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +1 -1
  319. package/dist/collection/components/ic-typography/ic-typography.js +1 -1
  320. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  321. package/dist/collection/normalize.css +440 -0
  322. package/dist/collection/testspec.setup.js +8 -0
  323. package/dist/collection/testspec.setup.js.map +1 -1
  324. package/dist/collection/utils/constants.js +28 -0
  325. package/dist/collection/utils/constants.js.map +1 -1
  326. package/dist/collection/utils/helpers.js +13 -4
  327. package/dist/collection/utils/helpers.js.map +1 -1
  328. package/dist/collection/utils/types.js.map +1 -1
  329. package/dist/components/OpenInNew.js +5 -0
  330. package/dist/components/OpenInNew.js.map +1 -0
  331. package/dist/components/check-icon.js +1 -1
  332. package/dist/components/chevron-icon.js +1 -1
  333. package/dist/components/helpers.js +71 -4
  334. package/dist/components/helpers.js.map +1 -1
  335. package/dist/components/ic-alert.js +6 -25
  336. package/dist/components/ic-alert.js.map +1 -1
  337. package/dist/components/ic-back-to-top.js +23 -11
  338. package/dist/components/ic-back-to-top.js.map +1 -1
  339. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  340. package/dist/components/ic-breadcrumb2.js +14 -4
  341. package/dist/components/ic-breadcrumb2.js.map +1 -1
  342. package/dist/components/ic-button2.js +9 -20
  343. package/dist/components/ic-button2.js.map +1 -1
  344. package/dist/components/ic-card.js +52 -6
  345. package/dist/components/ic-card.js.map +1 -1
  346. package/dist/components/ic-checkbox-group.js +3 -3
  347. package/dist/components/ic-checkbox-group.js.map +1 -1
  348. package/dist/components/ic-checkbox.js +17 -4
  349. package/dist/components/ic-checkbox.js.map +1 -1
  350. package/dist/components/ic-chip.d.ts +11 -0
  351. package/dist/components/ic-chip.js +111 -0
  352. package/dist/components/ic-chip.js.map +1 -0
  353. package/dist/components/ic-classification-banner.js +2 -2
  354. package/dist/components/ic-classification-banner.js.map +1 -1
  355. package/dist/components/ic-data-entity.js +1 -1
  356. package/dist/components/ic-data-entity.js.map +1 -1
  357. package/dist/components/ic-data-row.js +12 -10
  358. package/dist/components/ic-data-row.js.map +1 -1
  359. package/dist/components/ic-divider2.js +2 -2
  360. package/dist/components/ic-divider2.js.map +1 -1
  361. package/dist/components/ic-footer-link-group.js +4 -3
  362. package/dist/components/ic-footer-link-group.js.map +1 -1
  363. package/dist/components/ic-footer-link.js +17 -5
  364. package/dist/components/ic-footer-link.js.map +1 -1
  365. package/dist/components/ic-footer.js +4 -4
  366. package/dist/components/ic-footer.js.map +1 -1
  367. package/dist/components/ic-hero.js +2 -2
  368. package/dist/components/ic-hero.js.map +1 -1
  369. package/dist/components/ic-horizontal-scroll.d.ts +11 -0
  370. package/dist/components/ic-horizontal-scroll.js +8 -0
  371. package/dist/components/ic-horizontal-scroll.js.map +1 -0
  372. package/dist/components/ic-horizontal-scroll2.js +205 -0
  373. package/dist/components/ic-horizontal-scroll2.js.map +1 -0
  374. package/dist/components/ic-input-component-container2.js +2 -3
  375. package/dist/components/ic-input-component-container2.js.map +1 -1
  376. package/dist/components/ic-input-container2.js +1 -1
  377. package/dist/components/ic-input-container2.js.map +1 -1
  378. package/dist/components/ic-input-label2.js +1 -1
  379. package/dist/components/ic-input-label2.js.map +1 -1
  380. package/dist/components/ic-input-validation2.js +2 -4
  381. package/dist/components/ic-input-validation2.js.map +1 -1
  382. package/dist/components/ic-link2.js +16 -9
  383. package/dist/components/ic-link2.js.map +1 -1
  384. package/dist/components/ic-loading-indicator2.js +27 -7
  385. package/dist/components/ic-loading-indicator2.js.map +1 -1
  386. package/dist/components/ic-menu-group.d.ts +11 -0
  387. package/dist/components/ic-menu-group.js +46 -0
  388. package/dist/components/ic-menu-group.js.map +1 -0
  389. package/dist/components/ic-menu-item.d.ts +11 -0
  390. package/dist/components/ic-menu-item.js +8 -0
  391. package/dist/components/ic-menu-item.js.map +1 -0
  392. package/dist/components/ic-menu-item2.js +167 -0
  393. package/dist/components/ic-menu-item2.js.map +1 -0
  394. package/dist/components/ic-menu2.js +75 -41
  395. package/dist/components/ic-menu2.js.map +1 -1
  396. package/dist/components/ic-navigation-button.js +5 -4
  397. package/dist/components/ic-navigation-button.js.map +1 -1
  398. package/dist/components/ic-navigation-group.js +5 -4
  399. package/dist/components/ic-navigation-group.js.map +1 -1
  400. package/dist/components/ic-navigation-item.js +22 -10
  401. package/dist/components/ic-navigation-item.js.map +1 -1
  402. package/dist/components/ic-navigation-menu2.js +8 -8
  403. package/dist/components/ic-navigation-menu2.js.map +1 -1
  404. package/dist/components/ic-page-header.js +30 -6
  405. package/dist/components/ic-page-header.js.map +1 -1
  406. package/dist/components/ic-popover-menu.d.ts +11 -0
  407. package/dist/components/ic-popover-menu.js +290 -0
  408. package/dist/components/ic-popover-menu.js.map +1 -0
  409. package/dist/components/ic-radio-group.js +14 -5
  410. package/dist/components/ic-radio-group.js.map +1 -1
  411. package/dist/components/ic-radio-option.js +26 -7
  412. package/dist/components/ic-radio-option.js.map +1 -1
  413. package/dist/components/ic-search-bar.js +59 -44
  414. package/dist/components/ic-search-bar.js.map +1 -1
  415. package/dist/components/ic-section-container2.js +1 -1
  416. package/dist/components/ic-section-container2.js.map +1 -1
  417. package/dist/components/ic-select.js +224 -69
  418. package/dist/components/ic-select.js.map +1 -1
  419. package/dist/components/ic-side-navigation.js +23 -11
  420. package/dist/components/ic-side-navigation.js.map +1 -1
  421. package/dist/components/ic-skeleton.js +1 -1
  422. package/dist/components/ic-skeleton.js.map +1 -1
  423. package/dist/components/ic-status-tag.js +6 -4
  424. package/dist/components/ic-status-tag.js.map +1 -1
  425. package/dist/components/ic-step.js +117 -16
  426. package/dist/components/ic-step.js.map +1 -1
  427. package/dist/components/ic-stepper.js +173 -42
  428. package/dist/components/ic-stepper.js.map +1 -1
  429. package/dist/components/ic-switch.js +13 -3
  430. package/dist/components/ic-switch.js.map +1 -1
  431. package/dist/components/ic-tab-context.js +6 -1
  432. package/dist/components/ic-tab-context.js.map +1 -1
  433. package/dist/components/ic-tab-group.js +30 -125
  434. package/dist/components/ic-tab-group.js.map +1 -1
  435. package/dist/components/ic-tab-panel.js +1 -1
  436. package/dist/components/ic-tab-panel.js.map +1 -1
  437. package/dist/components/ic-tab.js +11 -2
  438. package/dist/components/ic-tab.js.map +1 -1
  439. package/dist/components/ic-text-field2.js +6 -6
  440. package/dist/components/ic-text-field2.js.map +1 -1
  441. package/dist/components/ic-theme.js +2 -2
  442. package/dist/components/ic-theme.js.map +1 -1
  443. package/dist/components/ic-toast-region.d.ts +11 -0
  444. package/dist/components/ic-toast-region.js +63 -0
  445. package/dist/components/ic-toast-region.js.map +1 -0
  446. package/dist/components/ic-toast.d.ts +11 -0
  447. package/dist/components/ic-toast.js +214 -0
  448. package/dist/components/ic-toast.js.map +1 -0
  449. package/dist/components/ic-tooltip2.js +13 -5
  450. package/dist/components/ic-tooltip2.js.map +1 -1
  451. package/dist/components/ic-top-navigation.js +22 -11
  452. package/dist/components/ic-top-navigation.js.map +1 -1
  453. package/dist/components/ic-typography2.js.map +1 -1
  454. package/dist/components/index.d.ts +8 -1
  455. package/dist/components/index.js +7 -0
  456. package/dist/components/index.js.map +1 -1
  457. package/dist/components/types.js.map +1 -1
  458. package/dist/core/core.css +3 -3
  459. package/dist/core/core.esm.js +1 -1
  460. package/dist/core/core.esm.js.map +1 -1
  461. package/dist/core/normalize.css +440 -0
  462. package/dist/core/p-037dfe9d.entry.js +2 -0
  463. package/dist/core/p-037dfe9d.entry.js.map +1 -0
  464. package/dist/core/p-05c5c6c4.entry.js +2 -0
  465. package/dist/core/p-05c5c6c4.entry.js.map +1 -0
  466. package/dist/core/p-06321d19.js +2 -0
  467. package/dist/core/p-0a463a65.entry.js +2 -0
  468. package/dist/core/p-0a463a65.entry.js.map +1 -0
  469. package/dist/core/p-0faf328a.entry.js +2 -0
  470. package/dist/core/p-0faf328a.entry.js.map +1 -0
  471. package/dist/core/p-102281fd.entry.js +2 -0
  472. package/dist/core/p-102281fd.entry.js.map +1 -0
  473. package/dist/core/p-1549adc1.entry.js +2 -0
  474. package/dist/core/p-1549adc1.entry.js.map +1 -0
  475. package/dist/core/p-25b208ae.entry.js +2 -0
  476. package/dist/core/p-25b208ae.entry.js.map +1 -0
  477. package/dist/core/{p-c4d3c18c.entry.js → p-26c9e522.entry.js} +2 -2
  478. package/dist/core/p-26c9e522.entry.js.map +1 -0
  479. package/dist/core/p-31a595c1.entry.js +2 -0
  480. package/dist/core/p-31a595c1.entry.js.map +1 -0
  481. package/dist/core/p-33a0aabe.entry.js +2 -0
  482. package/dist/core/p-33a0aabe.entry.js.map +1 -0
  483. package/dist/core/p-360adc51.entry.js +2 -0
  484. package/dist/core/p-360adc51.entry.js.map +1 -0
  485. package/dist/core/p-3d84a743.entry.js +2 -0
  486. package/dist/core/p-3d84a743.entry.js.map +1 -0
  487. package/dist/core/p-3dea2867.js +2 -0
  488. package/dist/core/p-3dea2867.js.map +1 -0
  489. package/dist/core/p-3fd4f8eb.entry.js +2 -0
  490. package/dist/core/p-3fd4f8eb.entry.js.map +1 -0
  491. package/dist/core/p-48a5c2a7.entry.js +2 -0
  492. package/dist/core/p-48a5c2a7.entry.js.map +1 -0
  493. package/dist/core/p-4d8392fe.entry.js +2 -0
  494. package/dist/core/p-4d8392fe.entry.js.map +1 -0
  495. package/dist/core/p-4ee03271.entry.js +2 -0
  496. package/dist/core/p-4ee03271.entry.js.map +1 -0
  497. package/dist/core/{p-f9370be6.js → p-5450cebf.js} +3 -3
  498. package/dist/core/p-5450cebf.js.map +1 -0
  499. package/dist/core/p-58ff516f.entry.js +2 -0
  500. package/dist/core/p-58ff516f.entry.js.map +1 -0
  501. package/dist/core/p-62b3516e.entry.js +2 -0
  502. package/dist/core/p-62b3516e.entry.js.map +1 -0
  503. package/dist/core/p-6f57b13c.js.map +1 -1
  504. package/dist/core/p-73fddc63.entry.js +2 -0
  505. package/dist/core/p-73fddc63.entry.js.map +1 -0
  506. package/dist/core/p-741b4ea3.entry.js +2 -0
  507. package/dist/core/p-741b4ea3.entry.js.map +1 -0
  508. package/dist/core/p-7dcb9104.entry.js +2 -0
  509. package/dist/core/p-7dcb9104.entry.js.map +1 -0
  510. package/dist/core/{p-e93e9aa3.entry.js → p-7fd50355.entry.js} +2 -2
  511. package/dist/core/p-7fd50355.entry.js.map +1 -0
  512. package/dist/core/p-81652a98.entry.js +2 -0
  513. package/dist/core/p-81652a98.entry.js.map +1 -0
  514. package/dist/core/p-87c7ba3b.entry.js +2 -0
  515. package/dist/core/p-87c7ba3b.entry.js.map +1 -0
  516. package/dist/core/p-897e967a.entry.js +2 -0
  517. package/dist/core/p-897e967a.entry.js.map +1 -0
  518. package/dist/core/p-8c7f4343.js +2 -0
  519. package/dist/core/p-8c9cc4d5.entry.js +2 -0
  520. package/dist/core/p-8c9cc4d5.entry.js.map +1 -0
  521. package/dist/core/p-8d4f7027.js +2 -0
  522. package/dist/core/{p-0118400b.entry.js → p-8ffa00c9.entry.js} +2 -2
  523. package/dist/core/p-8ffa00c9.entry.js.map +1 -0
  524. package/dist/core/p-a2c7dc6c.entry.js +2 -0
  525. package/dist/core/p-a2c7dc6c.entry.js.map +1 -0
  526. package/dist/core/p-a3742d40.entry.js +2 -0
  527. package/dist/core/p-a3742d40.entry.js.map +1 -0
  528. package/dist/core/p-a44a0500.entry.js +2 -0
  529. package/dist/core/p-a44a0500.entry.js.map +1 -0
  530. package/dist/core/p-a8e969ea.entry.js +2 -0
  531. package/dist/core/p-a8e969ea.entry.js.map +1 -0
  532. package/dist/core/p-ac6ecdb6.entry.js +2 -0
  533. package/dist/core/p-ac6ecdb6.entry.js.map +1 -0
  534. package/dist/core/p-acb08809.entry.js +2 -0
  535. package/dist/core/p-acb08809.entry.js.map +1 -0
  536. package/dist/core/{p-6be5e06b.entry.js → p-ad2477d8.entry.js} +2 -2
  537. package/dist/core/p-ad2477d8.entry.js.map +1 -0
  538. package/dist/core/p-affb42c7.entry.js +2 -0
  539. package/dist/core/p-affb42c7.entry.js.map +1 -0
  540. package/dist/core/p-b7fc1f35.entry.js +2 -0
  541. package/dist/core/p-b7fc1f35.entry.js.map +1 -0
  542. package/dist/core/p-b8b960a5.entry.js +2 -0
  543. package/dist/core/p-b8b960a5.entry.js.map +1 -0
  544. package/dist/core/p-b921bb19.entry.js +2 -0
  545. package/dist/core/p-b921bb19.entry.js.map +1 -0
  546. package/dist/core/{p-6d0eaaeb.entry.js → p-c9068822.entry.js} +2 -2
  547. package/dist/core/{p-6d0eaaeb.entry.js.map → p-c9068822.entry.js.map} +1 -1
  548. package/dist/core/p-c996810e.entry.js +2 -0
  549. package/dist/core/p-c996810e.entry.js.map +1 -0
  550. package/dist/core/p-cc62d065.entry.js +2 -0
  551. package/dist/core/p-cc62d065.entry.js.map +1 -0
  552. package/dist/core/{p-02799e26.entry.js → p-d2508752.entry.js} +2 -2
  553. package/dist/core/{p-02799e26.entry.js.map → p-d2508752.entry.js.map} +1 -1
  554. package/dist/core/p-d28d7f24.entry.js +2 -0
  555. package/dist/core/p-d28d7f24.entry.js.map +1 -0
  556. package/dist/core/{p-07cd789d.entry.js → p-dbfdfa8a.entry.js} +2 -2
  557. package/dist/core/p-dbfdfa8a.entry.js.map +1 -0
  558. package/dist/core/{p-10da19d2.entry.js → p-dd71a986.entry.js} +2 -2
  559. package/dist/core/p-dd71a986.entry.js.map +1 -0
  560. package/dist/core/p-e4547265.entry.js +2 -0
  561. package/dist/core/p-e4547265.entry.js.map +1 -0
  562. package/dist/core/p-ea0c4aca.entry.js +2 -0
  563. package/dist/core/p-ea0c4aca.entry.js.map +1 -0
  564. package/dist/core/{p-cadb531f.entry.js → p-ed6cf9b9.entry.js} +2 -2
  565. package/dist/core/p-ed6cf9b9.entry.js.map +1 -0
  566. package/dist/core/p-f6ddd32f.entry.js +2 -0
  567. package/dist/core/p-f6ddd32f.entry.js.map +1 -0
  568. package/dist/core/p-f777679c.entry.js +2 -0
  569. package/dist/core/p-f777679c.entry.js.map +1 -0
  570. package/dist/esm/OpenInNew-67a881e0.js +5 -0
  571. package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
  572. package/dist/esm/{check-icon-53f1d9e5.js → check-icon-abb210ec.js} +2 -2
  573. package/dist/esm/check-icon-abb210ec.js.map +1 -0
  574. package/dist/esm/chevron-icon-7927f709.js +8 -0
  575. package/dist/esm/chevron-icon-7927f709.js.map +1 -0
  576. package/dist/esm/core.js +2 -2
  577. package/dist/esm/{helpers-3d41833c.js → helpers-b2b47a7d.js} +72 -5
  578. package/dist/esm/helpers-b2b47a7d.js.map +1 -0
  579. package/dist/esm/ic-alert.entry.js +6 -25
  580. package/dist/esm/ic-alert.entry.js.map +1 -1
  581. package/dist/esm/ic-back-to-top.entry.js +24 -12
  582. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  583. package/dist/esm/ic-breadcrumb-group.entry.js +2 -2
  584. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  585. package/dist/esm/ic-breadcrumb.entry.js +15 -6
  586. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  587. package/dist/esm/ic-button_3.entry.js +46 -31
  588. package/dist/esm/ic-button_3.entry.js.map +1 -1
  589. package/dist/esm/ic-card.entry.js +29 -5
  590. package/dist/esm/ic-card.entry.js.map +1 -1
  591. package/dist/esm/ic-checkbox-group.entry.js +4 -4
  592. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  593. package/dist/esm/ic-checkbox.entry.js +16 -4
  594. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  595. package/dist/esm/ic-chip.entry.js +73 -0
  596. package/dist/esm/ic-chip.entry.js.map +1 -0
  597. package/dist/esm/ic-classification-banner.entry.js +3 -3
  598. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  599. package/dist/esm/ic-data-entity.entry.js +2 -2
  600. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  601. package/dist/esm/ic-data-row.entry.js +14 -12
  602. package/dist/esm/ic-data-row.entry.js.map +1 -1
  603. package/dist/esm/ic-divider.entry.js +3 -3
  604. package/dist/esm/ic-divider.entry.js.map +1 -1
  605. package/dist/esm/ic-footer-link-group.entry.js +4 -3
  606. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  607. package/dist/esm/ic-footer-link.entry.js +12 -5
  608. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  609. package/dist/esm/ic-footer.entry.js +5 -5
  610. package/dist/esm/ic-footer.entry.js.map +1 -1
  611. package/dist/esm/ic-hero.entry.js +3 -3
  612. package/dist/esm/ic-hero.entry.js.map +1 -1
  613. package/dist/esm/ic-horizontal-scroll.entry.js +160 -0
  614. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -0
  615. package/dist/esm/ic-input-component-container_3.entry.js +78 -44
  616. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  617. package/dist/esm/ic-input-label_2.entry.js +3 -5
  618. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  619. package/dist/esm/ic-link.entry.js +14 -8
  620. package/dist/esm/ic-link.entry.js.map +1 -1
  621. package/dist/esm/ic-menu-group.entry.js +20 -0
  622. package/dist/esm/ic-menu-group.entry.js.map +1 -0
  623. package/dist/esm/ic-menu-item.entry.js +116 -0
  624. package/dist/esm/ic-menu-item.entry.js.map +1 -0
  625. package/dist/esm/ic-navigation-button.entry.js +5 -4
  626. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  627. package/dist/esm/ic-navigation-group.entry.js +7 -6
  628. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  629. package/dist/esm/ic-navigation-item.entry.js +19 -12
  630. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  631. package/dist/esm/ic-navigation-menu.entry.js +8 -8
  632. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  633. package/dist/esm/ic-page-header.entry.js +5 -5
  634. package/dist/esm/ic-page-header.entry.js.map +1 -1
  635. package/dist/esm/ic-popover-menu.entry.js +232 -0
  636. package/dist/esm/ic-popover-menu.entry.js.map +1 -0
  637. package/dist/esm/ic-radio-group.entry.js +13 -5
  638. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  639. package/dist/esm/ic-radio-option.entry.js +24 -6
  640. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  641. package/dist/esm/ic-search-bar.entry.js +56 -42
  642. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  643. package/dist/esm/ic-section-container.entry.js +2 -2
  644. package/dist/esm/ic-section-container.entry.js.map +1 -1
  645. package/dist/esm/ic-select.entry.js +218 -69
  646. package/dist/esm/ic-select.entry.js.map +1 -1
  647. package/dist/esm/ic-side-navigation.entry.js +26 -14
  648. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  649. package/dist/esm/ic-skeleton.entry.js +2 -2
  650. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  651. package/dist/esm/ic-status-tag.entry.js +6 -5
  652. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  653. package/dist/esm/ic-step.entry.js +103 -15
  654. package/dist/esm/ic-step.entry.js.map +1 -1
  655. package/dist/esm/ic-stepper.entry.js +166 -42
  656. package/dist/esm/ic-stepper.entry.js.map +1 -1
  657. package/dist/esm/ic-switch.entry.js +12 -3
  658. package/dist/esm/ic-switch.entry.js.map +1 -1
  659. package/dist/esm/ic-tab-context.entry.js +7 -2
  660. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  661. package/dist/esm/ic-tab-group.entry.js +9 -118
  662. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  663. package/dist/esm/ic-tab-panel.entry.js +2 -2
  664. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  665. package/dist/esm/ic-tab.entry.js +10 -2
  666. package/dist/esm/ic-tab.entry.js.map +1 -1
  667. package/dist/esm/ic-text-field.entry.js +5 -5
  668. package/dist/esm/ic-text-field.entry.js.map +1 -1
  669. package/dist/esm/ic-theme.entry.js +4 -4
  670. package/dist/esm/ic-theme.entry.js.map +1 -1
  671. package/dist/esm/ic-toast-region.entry.js +44 -0
  672. package/dist/esm/ic-toast-region.entry.js.map +1 -0
  673. package/dist/esm/ic-toast.entry.js +161 -0
  674. package/dist/esm/ic-toast.entry.js.map +1 -0
  675. package/dist/esm/ic-top-navigation.entry.js +15 -10
  676. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  677. package/dist/esm/ic-typography.entry.js +1 -1
  678. package/dist/esm/ic-typography.entry.js.map +1 -1
  679. package/dist/esm/{index-1500de1f.js → index-90721b3c.js} +33 -2
  680. package/dist/esm/index-90721b3c.js.map +1 -0
  681. package/dist/esm/loader.js +2 -2
  682. package/dist/esm/types-dd515332.js.map +1 -1
  683. package/dist/types/components/ic-alert/ic-alert.d.ts +14 -10
  684. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +1 -0
  685. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +9 -5
  686. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +2 -2
  687. package/dist/types/components/ic-button/ic-button.d.ts +11 -14
  688. package/dist/types/components/ic-card/ic-card.d.ts +31 -10
  689. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +18 -10
  690. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +9 -9
  691. package/dist/types/components/ic-chip/ic-chip.d.ts +48 -0
  692. package/dist/types/components/ic-chip/ic-chip.test.a11y.d.ts +1 -0
  693. package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -0
  694. package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +5 -5
  695. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +2 -2
  696. package/dist/types/components/ic-data-row/ic-data-row.d.ts +3 -3
  697. package/dist/types/components/ic-footer/ic-footer.d.ts +12 -12
  698. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +20 -0
  699. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +1 -1
  700. package/dist/types/components/ic-hero/ic-hero.d.ts +9 -9
  701. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +39 -0
  702. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.d.ts +1 -0
  703. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +8 -8
  704. package/dist/types/components/ic-input-container/ic-input-container.d.ts +2 -2
  705. package/dist/types/components/ic-input-label/ic-input-label.d.ts +8 -8
  706. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +5 -5
  707. package/dist/types/components/ic-link/ic-link.d.ts +10 -7
  708. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +7 -3
  709. package/dist/types/components/ic-menu/ic-menu.d.ts +36 -18
  710. package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +8 -0
  711. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +74 -0
  712. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -0
  713. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +6 -6
  714. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +3 -3
  715. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +28 -8
  716. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +2 -2
  717. package/dist/types/components/ic-page-header/ic-page-header.d.ts +10 -8
  718. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +58 -0
  719. package/dist/types/components/ic-popover-menu/ic-popover-menu.test.a11y.d.ts +1 -0
  720. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +15 -11
  721. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +17 -11
  722. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +31 -30
  723. package/dist/types/components/ic-section-container/ic-section-container.d.ts +2 -2
  724. package/dist/types/components/ic-select/ic-select.d.ts +68 -23
  725. package/dist/types/components/ic-side-navigation/ic-side-navigation-test-examples.d.ts +1 -0
  726. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +13 -12
  727. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +2 -2
  728. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +5 -1
  729. package/dist/types/components/ic-step/ic-step.d.ts +37 -8
  730. package/dist/types/components/ic-step/ic-step.types.d.ts +2 -0
  731. package/dist/types/components/ic-stepper/ic-stepper-test-examples.d.ts +4 -0
  732. package/dist/types/components/ic-stepper/ic-stepper.d.ts +23 -6
  733. package/dist/types/components/ic-switch/ic-switch.d.ts +11 -7
  734. package/dist/types/components/ic-tab/ic-tab.d.ts +9 -5
  735. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +8 -4
  736. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +5 -33
  737. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +2 -2
  738. package/dist/types/components/ic-text-field/ic-text-field.d.ts +31 -31
  739. package/dist/types/components/ic-theme/ic-theme.d.ts +3 -3
  740. package/dist/types/components/ic-toast/ic-toast.d.ts +66 -0
  741. package/dist/types/components/ic-toast/ic-toast.test.a11y.d.ts +1 -0
  742. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -0
  743. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +12 -0
  744. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +4 -0
  745. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +7 -6
  746. package/dist/types/components/ic-typography/ic-typography.d.ts +1 -1
  747. package/dist/types/components.d.ts +1103 -559
  748. package/dist/types/interface.d.ts +0 -1
  749. package/dist/types/testspec.setup.d.ts +1 -0
  750. package/dist/types/utils/constants.d.ts +22 -0
  751. package/dist/types/utils/helpers.d.ts +2 -0
  752. package/dist/types/utils/types.d.ts +3 -0
  753. package/hydrate/index.js +2030 -602
  754. package/package.json +5 -5
  755. package/dist/cjs/check-icon-999d9877.js.map +0 -1
  756. package/dist/cjs/chevron-icon-d175fe66.js +0 -10
  757. package/dist/cjs/chevron-icon-d175fe66.js.map +0 -1
  758. package/dist/cjs/error-icon-99504103.js +0 -18
  759. package/dist/cjs/error-icon-99504103.js.map +0 -1
  760. package/dist/cjs/helpers-8bc3b6d2.js.map +0 -1
  761. package/dist/cjs/index-3ef30d9d.js.map +0 -1
  762. package/dist/cjs/success-icon-887b2097.js +0 -11
  763. package/dist/cjs/success-icon-887b2097.js.map +0 -1
  764. package/dist/collection/components/ic-alert/ic-alert.types.js +0 -2
  765. package/dist/collection/components/ic-alert/ic-alert.types.js.map +0 -1
  766. package/dist/collection/components/ic-tab-group/assets/left-arrow.svg +0 -3
  767. package/dist/collection/components/ic-tab-group/assets/right-arrow.svg +0 -3
  768. package/dist/components/error-icon.js +0 -15
  769. package/dist/components/error-icon.js.map +0 -1
  770. package/dist/components/success-icon.js +0 -9
  771. package/dist/components/success-icon.js.map +0 -1
  772. package/dist/core/p-0118400b.entry.js.map +0 -1
  773. package/dist/core/p-07cd789d.entry.js.map +0 -1
  774. package/dist/core/p-0b125f26.entry.js +0 -2
  775. package/dist/core/p-0b125f26.entry.js.map +0 -1
  776. package/dist/core/p-10da19d2.entry.js.map +0 -1
  777. package/dist/core/p-1337db5e.entry.js +0 -2
  778. package/dist/core/p-1337db5e.entry.js.map +0 -1
  779. package/dist/core/p-1721bcf3.entry.js +0 -2
  780. package/dist/core/p-1721bcf3.entry.js.map +0 -1
  781. package/dist/core/p-1e7b4310.js +0 -2
  782. package/dist/core/p-23831891.js +0 -2
  783. package/dist/core/p-23831891.js.map +0 -1
  784. package/dist/core/p-272c7abd.entry.js +0 -2
  785. package/dist/core/p-272c7abd.entry.js.map +0 -1
  786. package/dist/core/p-2f114521.entry.js +0 -2
  787. package/dist/core/p-2f114521.entry.js.map +0 -1
  788. package/dist/core/p-31a8595f.entry.js +0 -2
  789. package/dist/core/p-31a8595f.entry.js.map +0 -1
  790. package/dist/core/p-33a45ace.entry.js +0 -2
  791. package/dist/core/p-33a45ace.entry.js.map +0 -1
  792. package/dist/core/p-347ec49e.entry.js +0 -2
  793. package/dist/core/p-347ec49e.entry.js.map +0 -1
  794. package/dist/core/p-39ae284e.entry.js +0 -2
  795. package/dist/core/p-39ae284e.entry.js.map +0 -1
  796. package/dist/core/p-558552f8.entry.js +0 -2
  797. package/dist/core/p-558552f8.entry.js.map +0 -1
  798. package/dist/core/p-5e261268.entry.js +0 -2
  799. package/dist/core/p-5e261268.entry.js.map +0 -1
  800. package/dist/core/p-60ffb73e.entry.js +0 -2
  801. package/dist/core/p-60ffb73e.entry.js.map +0 -1
  802. package/dist/core/p-69650186.entry.js +0 -2
  803. package/dist/core/p-69650186.entry.js.map +0 -1
  804. package/dist/core/p-6b34d98f.entry.js +0 -2
  805. package/dist/core/p-6b34d98f.entry.js.map +0 -1
  806. package/dist/core/p-6be5e06b.entry.js.map +0 -1
  807. package/dist/core/p-6f6bd657.entry.js +0 -2
  808. package/dist/core/p-6f6bd657.entry.js.map +0 -1
  809. package/dist/core/p-7093d214.entry.js +0 -2
  810. package/dist/core/p-7093d214.entry.js.map +0 -1
  811. package/dist/core/p-7577c6a3.entry.js +0 -2
  812. package/dist/core/p-7577c6a3.entry.js.map +0 -1
  813. package/dist/core/p-7b11e1dc.entry.js +0 -2
  814. package/dist/core/p-7b11e1dc.entry.js.map +0 -1
  815. package/dist/core/p-7b39977f.entry.js +0 -2
  816. package/dist/core/p-7b39977f.entry.js.map +0 -1
  817. package/dist/core/p-7f632414.entry.js +0 -2
  818. package/dist/core/p-7f632414.entry.js.map +0 -1
  819. package/dist/core/p-898607d0.entry.js +0 -2
  820. package/dist/core/p-898607d0.entry.js.map +0 -1
  821. package/dist/core/p-8ddeb574.entry.js +0 -2
  822. package/dist/core/p-8ddeb574.entry.js.map +0 -1
  823. package/dist/core/p-9cd04875.entry.js +0 -2
  824. package/dist/core/p-9cd04875.entry.js.map +0 -1
  825. package/dist/core/p-ac43322e.entry.js +0 -2
  826. package/dist/core/p-ac43322e.entry.js.map +0 -1
  827. package/dist/core/p-ae6aa67f.js +0 -2
  828. package/dist/core/p-ae81dffa.entry.js +0 -2
  829. package/dist/core/p-ae81dffa.entry.js.map +0 -1
  830. package/dist/core/p-b3dec76d.entry.js +0 -2
  831. package/dist/core/p-b3dec76d.entry.js.map +0 -1
  832. package/dist/core/p-b5a988c0.entry.js +0 -2
  833. package/dist/core/p-b5a988c0.entry.js.map +0 -1
  834. package/dist/core/p-bf5717ca.js +0 -2
  835. package/dist/core/p-c4d3c18c.entry.js.map +0 -1
  836. package/dist/core/p-c6dd4f47.entry.js +0 -2
  837. package/dist/core/p-c6dd4f47.entry.js.map +0 -1
  838. package/dist/core/p-cadb531f.entry.js.map +0 -1
  839. package/dist/core/p-cc83692e.entry.js +0 -2
  840. package/dist/core/p-cc83692e.entry.js.map +0 -1
  841. package/dist/core/p-dd3c3e3c.entry.js +0 -2
  842. package/dist/core/p-dd3c3e3c.entry.js.map +0 -1
  843. package/dist/core/p-df5caf13.entry.js +0 -2
  844. package/dist/core/p-df5caf13.entry.js.map +0 -1
  845. package/dist/core/p-e106305b.entry.js +0 -2
  846. package/dist/core/p-e106305b.entry.js.map +0 -1
  847. package/dist/core/p-e28af65b.js +0 -2
  848. package/dist/core/p-e28af65b.js.map +0 -1
  849. package/dist/core/p-e590f1d2.entry.js +0 -2
  850. package/dist/core/p-e590f1d2.entry.js.map +0 -1
  851. package/dist/core/p-e93e9aa3.entry.js.map +0 -1
  852. package/dist/core/p-ecfb2e6b.entry.js +0 -2
  853. package/dist/core/p-ecfb2e6b.entry.js.map +0 -1
  854. package/dist/core/p-f9370be6.js.map +0 -1
  855. package/dist/esm/check-icon-53f1d9e5.js.map +0 -1
  856. package/dist/esm/chevron-icon-5b38c60a.js +0 -8
  857. package/dist/esm/chevron-icon-5b38c60a.js.map +0 -1
  858. package/dist/esm/error-icon-6046a380.js +0 -15
  859. package/dist/esm/error-icon-6046a380.js.map +0 -1
  860. package/dist/esm/helpers-3d41833c.js.map +0 -1
  861. package/dist/esm/index-1500de1f.js.map +0 -1
  862. package/dist/esm/success-icon-2f71b115.js +0 -9
  863. package/dist/esm/success-icon-2f71b115.js.map +0 -1
  864. package/dist/types/components/ic-alert/ic-alert.types.d.ts +0 -1
  865. /package/dist/collection/{components/ic-link/assets → assets}/OpenInNew.svg +0 -0
  866. /package/dist/core/{p-1e7b4310.js.map → p-06321d19.js.map} +0 -0
  867. /package/dist/core/{p-ae6aa67f.js.map → p-8c7f4343.js.map} +0 -0
  868. /package/dist/core/{p-bf5717ca.js.map → p-8d4f7027.js.map} +0 -0
@@ -1,129 +1,27 @@
1
- import { Host, h, } from "@stencil/core";
2
- import LeftArrow from "./assets/left-arrow.svg";
3
- import RightArrow from "./assets/right-arrow.svg";
4
- import { checkResizeObserver, elementOverflowsX, onComponentRequiredPropUndefined, } from "../../utils/helpers";
1
+ import { Host, h } from "@stencil/core";
2
+ import { onComponentRequiredPropUndefined } from "../../utils/helpers";
5
3
  import { IcThemeForegroundEnum, } from "../../utils/types";
6
- const SCROLL_DELAY_MS = 200;
7
4
  export class TabGroup {
8
5
  constructor() {
9
- this.buttonStateSet = false;
10
- this.resizeObserverCallback = () => {
11
- if (this.tabGroupEl === null || this.tabGroupEl === undefined) {
12
- this.tabGroupEl = this.host.shadowRoot.querySelector(".tabs-container");
13
- }
14
- this.tabOverflow = elementOverflowsX(this.tabGroupEl);
15
- if (this.tabOverflow) {
16
- this.lastTabVisible =
17
- this.tabGroupEl.offsetWidth + this.tabGroupEl.scrollLeft >=
18
- this.tabGroupEl.scrollWidth;
19
- }
20
- };
21
- this.runResizeObserver = () => {
22
- this.resizeObserver = new ResizeObserver(() => {
23
- this.resizeObserverCallback();
24
- });
25
- this.resizeObserver.observe(this.splitterEl);
26
- };
27
- this.scrollLeft = () => {
28
- this.scrollTabIntoView(this.getCurrentLeftTab() - 1);
29
- };
30
- this.scrollRight = () => {
31
- this.scrollTabIntoView(this.getCurrentLeftTab() + 1);
32
- };
33
- this.longScrollRight = () => {
34
- this.scrollRight();
35
- this.scrollDelay = window.setTimeout(this.longScrollRight, SCROLL_DELAY_MS);
36
- };
37
- this.longScrollLeft = () => {
38
- this.scrollLeft();
39
- this.scrollDelay = window.setTimeout(this.longScrollLeft, SCROLL_DELAY_MS);
40
- };
41
- this.leftArrowMouseDownHandler = () => {
42
- this.scrollDelay = window.setTimeout(this.longScrollLeft, SCROLL_DELAY_MS);
43
- };
44
- this.rightArrowMouseDownHandler = () => {
45
- this.scrollDelay = window.setTimeout(this.longScrollRight, SCROLL_DELAY_MS);
46
- };
47
- this.arrowMouseUpHandler = () => {
48
- window.clearTimeout(this.scrollDelay);
49
- };
50
- this.getCurrentLeftTab = () => {
51
- const index = this.tabOffsets.findIndex((el) => el > this.tabGroupEl.scrollLeft);
52
- return index < 0 ? 0 : index;
53
- };
54
- this.scrollHandler = () => {
55
- window.clearTimeout(this.isScrolling);
56
- // Set a timeout to run after scrolling ends
57
- this.isScrolling = window.setTimeout(this.scrollStopped, 50);
58
- };
59
- this.scrollStopped = () => {
60
- // if scrollTabIntoView has been called, the button states will already be set
61
- // can't just handle it here as it causes strange jumping behaviour in positioning
62
- if (this.buttonStateSet === false) {
63
- this.firstTabVisible = this.tabGroupEl.scrollLeft === 0;
64
- this.lastTabVisible =
65
- this.tabGroupEl.offsetWidth + this.tabGroupEl.scrollLeft >=
66
- this.tabGroupEl.scrollWidth;
67
- }
68
- this.buttonStateSet = false;
69
- };
70
6
  this.contextId = "default";
71
7
  this.inline = false;
72
8
  this.label = undefined;
73
9
  this.appearance = "dark";
74
- this.firstTabVisible = true;
75
- this.lastTabVisible = false;
76
- this.tabOverflow = false;
77
- }
78
- /**
79
- * @internal if tab side scrolling enabled, scrolls the specified tab into view
80
- */
81
- async scrollTabIntoView(tabNumber) {
82
- this.firstTabVisible = tabNumber <= 0;
83
- const newScrollPos = tabNumber <= 0 ? 0 : this.tabOffsets[tabNumber - 1];
84
- this.lastTabVisible =
85
- this.tabGroupEl.offsetWidth + newScrollPos >= this.tabGroupEl.scrollWidth;
86
- this.buttonStateSet = true;
87
- this.tabGroupEl.scrollLeft = newScrollPos;
88
- }
89
- tabFocusHandler(event) {
90
- if (this.tabOverflow) {
91
- this.scrollTabIntoView(event.detail.position);
92
- }
93
10
  }
94
11
  componentDidLoad() {
95
- this.tabs = Array.from(this.host.querySelectorAll("ic-tab"));
96
- let runningTotal = 0;
97
- this.tabOffsets = this.tabs.map((tab) => {
98
- runningTotal += tab.offsetWidth;
99
- return runningTotal;
100
- });
101
- checkResizeObserver(this.runResizeObserver);
102
- onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Tab List");
103
- }
104
- disconnectedCallback() {
105
- this.resizeObserver.disconnect();
12
+ onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Tab Group");
106
13
  }
107
14
  render() {
108
- const { inline, appearance, label, firstTabVisible, lastTabVisible, tabOverflow, } = this;
15
+ const { appearance, label } = this;
109
16
  return (h(Host, { role: "tablist", "aria-label": label, class: {
110
17
  ["light"]: appearance === IcThemeForegroundEnum.Light,
111
- ["ic-tab-group-not-inline"]: !inline,
112
- } }, h("div", { class: "ic-tab-group-container" }, this.tabOverflow && (h("div", { "aria-hidden": "true", id: "scroll-container-left", class: {
113
- ["scroll-container"]: true,
114
- ["hidden"]: !tabOverflow,
115
- ["disabled"]: firstTabVisible,
116
- } }, h("ic-tooltip", { placement: "bottom-start", label: "Scroll left", target: "left-arrow" }, h("span", { id: "left-arrow", class: "scroll-arrow", innerHTML: LeftArrow, onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler, onMouseUp: this.arrowMouseUpHandler })), h("span", { class: "scroll-splitter-left" }))), h("div", { class: "tabs-container", ref: (el) => (this.tabGroupEl = el), onScroll: this.scrollHandler }, h("slot", null)), this.tabOverflow && (h("div", { "aria-hidden": "true", id: "scroll-container-right", class: {
117
- ["scroll-container"]: true,
118
- ["hidden"]: !tabOverflow,
119
- ["disabled"]: lastTabVisible,
120
- } }, h("span", { class: "scroll-splitter-right" }), h("ic-tooltip", { placement: "bottom-start", label: "Scroll right", target: "right-arrow" }, h("span", { id: "right-arrow", class: "scroll-arrow", innerHTML: RightArrow, onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler, onMouseUp: this.arrowMouseUpHandler }))))), h("div", { "aria-hidden": "true", class: {
121
- ["ic-tab-splitter"]: true,
122
- ["hidden"]: inline,
123
- }, ref: (el) => (this.splitterEl = el) })));
18
+ } }, h("ic-horizontal-scroll", { appearance: appearance === IcThemeForegroundEnum.Dark
19
+ ? IcThemeForegroundEnum.Default
20
+ : appearance }, h("div", { class: "tabs-container" }, h("slot", null)))));
124
21
  }
125
22
  static get is() { return "ic-tab-group"; }
126
23
  static get encapsulation() { return "shadow"; }
24
+ static get delegatesFocus() { return true; }
127
25
  static get originalStyleUrls() {
128
26
  return {
129
27
  "$": ["ic-tab-group.css"]
@@ -148,7 +46,7 @@ export class TabGroup {
148
46
  "optional": true,
149
47
  "docs": {
150
48
  "tags": [],
151
- "text": "Provide a unique context if using multiple tabs inside one another i.e. rendering another set of tabs inside a tab panel."
49
+ "text": "The unique context needed if using multiple tabs inside one another i.e. rendering another set of tabs inside a tab panel."
152
50
  },
153
51
  "attribute": "context-id",
154
52
  "reflect": true,
@@ -166,7 +64,7 @@ export class TabGroup {
166
64
  "optional": true,
167
65
  "docs": {
168
66
  "tags": [],
169
- "text": "Use when tabs and tab panels are to be positioned separately."
67
+ "text": "If `true`, the tabs and tab panels will be positioned separately."
170
68
  },
171
69
  "attribute": "inline",
172
70
  "reflect": true,
@@ -184,7 +82,7 @@ export class TabGroup {
184
82
  "optional": false,
185
83
  "docs": {
186
84
  "tags": [],
187
- "text": "Provide a label to describe the purpose of the set of tabs to screen reader users."
85
+ "text": "The label to describe the purpose of the set of tabs to screen reader users."
188
86
  },
189
87
  "attribute": "label",
190
88
  "reflect": false
@@ -207,7 +105,7 @@ export class TabGroup {
207
105
  "docs": {
208
106
  "tags": [{
209
107
  "name": "internal",
210
- "text": "Determines whether the light or dark variant of the tabs should be displayed."
108
+ "text": "The appearance of the tab group, e.g dark, or light."
211
109
  }],
212
110
  "text": ""
213
111
  },
@@ -217,48 +115,6 @@ export class TabGroup {
217
115
  }
218
116
  };
219
117
  }
220
- static get states() {
221
- return {
222
- "firstTabVisible": {},
223
- "lastTabVisible": {},
224
- "tabOverflow": {}
225
- };
226
- }
227
- static get methods() {
228
- return {
229
- "scrollTabIntoView": {
230
- "complexType": {
231
- "signature": "(tabNumber: number) => Promise<void>",
232
- "parameters": [{
233
- "tags": [],
234
- "text": ""
235
- }],
236
- "references": {
237
- "Promise": {
238
- "location": "global"
239
- }
240
- },
241
- "return": "Promise<void>"
242
- },
243
- "docs": {
244
- "text": "",
245
- "tags": [{
246
- "name": "internal",
247
- "text": "if tab side scrolling enabled, scrolls the specified tab into view"
248
- }]
249
- }
250
- }
251
- };
252
- }
253
118
  static get elementRef() { return "host"; }
254
- static get listeners() {
255
- return [{
256
- "name": "tabFocus",
257
- "method": "tabFocusHandler",
258
- "target": undefined,
259
- "capture": false,
260
- "passive": false
261
- }];
262
- }
263
119
  }
264
120
  //# sourceMappingURL=ic-tab-group.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ic-tab-group.js","sourceRoot":"","sources":["../../../src/components/ic-tab-group/ic-tab-group.tsx"],"names":[],"mappings":"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","sourcesContent":["import {\n Component,\n Element,\n Host,\n Prop,\n h,\n State,\n Method,\n Listen,\n} from \"@stencil/core\";\n\nimport LeftArrow from \"./assets/left-arrow.svg\";\nimport RightArrow from \"./assets/right-arrow.svg\";\n\nimport {\n checkResizeObserver,\n elementOverflowsX,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcTabClickEventDetail } from \"../ic-tab/ic-tab.types\";\nimport {\n IcThemeForegroundNoDefault,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\nconst SCROLL_DELAY_MS = 200;\n\n@Component({\n tag: \"ic-tab-group\",\n styleUrl: \"ic-tab-group.css\",\n shadow: true,\n})\nexport class TabGroup {\n @Element() host: HTMLIcTabGroupElement;\n\n /**\n * Provide a unique context if using multiple tabs inside one another i.e. rendering another set of tabs inside a tab panel.\n */\n @Prop({ reflect: true }) contextId?: string = \"default\";\n\n /**\n * Use when tabs and tab panels are to be positioned separately.\n */\n @Prop({ reflect: true }) inline?: boolean = false;\n\n /**\n * Provide a label to describe the purpose of the set of tabs to screen reader users.\n */\n @Prop() label!: string;\n\n /** @internal Determines whether the light or dark variant of the tabs should be displayed. */\n @Prop() appearance?: IcThemeForegroundNoDefault = \"dark\";\n\n @State() firstTabVisible: boolean = true;\n @State() lastTabVisible: boolean = false;\n @State() tabOverflow: boolean = false;\n\n private tabs: HTMLIcTabElement[];\n private tabOffsets: number[];\n private tabGroupEl: HTMLElement;\n private splitterEl: HTMLElement;\n private resizeObserver: ResizeObserver;\n private isScrolling: number;\n private scrollDelay: number;\n private buttonStateSet: boolean = false;\n\n /**\n * @internal if tab side scrolling enabled, scrolls the specified tab into view\n */\n @Method()\n async scrollTabIntoView(tabNumber: number): Promise<void> {\n this.firstTabVisible = tabNumber <= 0;\n const newScrollPos = tabNumber <= 0 ? 0 : this.tabOffsets[tabNumber - 1];\n this.lastTabVisible =\n this.tabGroupEl.offsetWidth + newScrollPos >= this.tabGroupEl.scrollWidth;\n this.buttonStateSet = true;\n this.tabGroupEl.scrollLeft = newScrollPos;\n }\n\n @Listen(\"tabFocus\")\n tabFocusHandler(event: CustomEvent<IcTabClickEventDetail>): void {\n if (this.tabOverflow) {\n this.scrollTabIntoView(event.detail.position);\n }\n }\n\n private resizeObserverCallback = () => {\n if (this.tabGroupEl === null || this.tabGroupEl === undefined) {\n this.tabGroupEl = this.host.shadowRoot.querySelector(\".tabs-container\");\n }\n this.tabOverflow = elementOverflowsX(this.tabGroupEl);\n if (this.tabOverflow) {\n this.lastTabVisible =\n this.tabGroupEl.offsetWidth + this.tabGroupEl.scrollLeft >=\n this.tabGroupEl.scrollWidth;\n }\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.resizeObserverCallback();\n });\n this.resizeObserver.observe(this.splitterEl);\n };\n\n private scrollLeft = () => {\n this.scrollTabIntoView(this.getCurrentLeftTab() - 1);\n };\n\n private scrollRight = () => {\n this.scrollTabIntoView(this.getCurrentLeftTab() + 1);\n };\n\n private longScrollRight = () => {\n this.scrollRight();\n this.scrollDelay = window.setTimeout(this.longScrollRight, SCROLL_DELAY_MS);\n };\n\n private longScrollLeft = () => {\n this.scrollLeft();\n this.scrollDelay = window.setTimeout(this.longScrollLeft, SCROLL_DELAY_MS);\n };\n\n private leftArrowMouseDownHandler = () => {\n this.scrollDelay = window.setTimeout(this.longScrollLeft, SCROLL_DELAY_MS);\n };\n\n private rightArrowMouseDownHandler = () => {\n this.scrollDelay = window.setTimeout(this.longScrollRight, SCROLL_DELAY_MS);\n };\n\n private arrowMouseUpHandler = () => {\n window.clearTimeout(this.scrollDelay);\n };\n\n private getCurrentLeftTab = (): number => {\n const index = this.tabOffsets.findIndex(\n (el) => el > this.tabGroupEl.scrollLeft\n );\n return index < 0 ? 0 : index;\n };\n\n private scrollHandler = () => {\n window.clearTimeout(this.isScrolling);\n // Set a timeout to run after scrolling ends\n this.isScrolling = window.setTimeout(this.scrollStopped, 50);\n };\n\n private scrollStopped = () => {\n // if scrollTabIntoView has been called, the button states will already be set\n // can't just handle it here as it causes strange jumping behaviour in positioning\n if (this.buttonStateSet === false) {\n this.firstTabVisible = this.tabGroupEl.scrollLeft === 0;\n this.lastTabVisible =\n this.tabGroupEl.offsetWidth + this.tabGroupEl.scrollLeft >=\n this.tabGroupEl.scrollWidth;\n }\n this.buttonStateSet = false;\n };\n\n componentDidLoad(): void {\n this.tabs = Array.from(this.host.querySelectorAll(\"ic-tab\"));\n let runningTotal = 0;\n this.tabOffsets = this.tabs.map((tab) => {\n runningTotal += tab.offsetWidth;\n return runningTotal;\n });\n checkResizeObserver(this.runResizeObserver);\n\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Tab List\"\n );\n }\n\n disconnectedCallback(): void {\n this.resizeObserver.disconnect();\n }\n\n render() {\n const {\n inline,\n appearance,\n label,\n firstTabVisible,\n lastTabVisible,\n tabOverflow,\n } = this;\n\n return (\n <Host\n role=\"tablist\"\n aria-label={label}\n class={{\n [\"light\"]: appearance === IcThemeForegroundEnum.Light,\n [\"ic-tab-group-not-inline\"]: !inline,\n }}\n >\n <div class=\"ic-tab-group-container\">\n {this.tabOverflow && (\n <div\n aria-hidden=\"true\"\n id=\"scroll-container-left\"\n class={{\n [\"scroll-container\"]: true,\n [\"hidden\"]: !tabOverflow,\n [\"disabled\"]: firstTabVisible,\n }}\n >\n <ic-tooltip\n placement=\"bottom-start\"\n label=\"Scroll left\"\n target=\"left-arrow\"\n >\n <span\n id=\"left-arrow\"\n class=\"scroll-arrow\"\n innerHTML={LeftArrow}\n onClick={this.scrollLeft}\n onMouseDown={this.leftArrowMouseDownHandler}\n onMouseUp={this.arrowMouseUpHandler}\n ></span>\n </ic-tooltip>\n <span class=\"scroll-splitter-left\"></span>\n </div>\n )}\n <div\n class=\"tabs-container\"\n ref={(el) => (this.tabGroupEl = el)}\n onScroll={this.scrollHandler}\n >\n <slot></slot>\n </div>\n {this.tabOverflow && (\n <div\n aria-hidden=\"true\"\n id=\"scroll-container-right\"\n class={{\n [\"scroll-container\"]: true,\n [\"hidden\"]: !tabOverflow,\n [\"disabled\"]: lastTabVisible,\n }}\n >\n <span class=\"scroll-splitter-right\"></span>\n <ic-tooltip\n placement=\"bottom-start\"\n label=\"Scroll right\"\n target=\"right-arrow\"\n >\n <span\n id=\"right-arrow\"\n class=\"scroll-arrow\"\n innerHTML={RightArrow}\n onClick={this.scrollRight}\n onMouseDown={this.rightArrowMouseDownHandler}\n onMouseUp={this.arrowMouseUpHandler}\n ></span>\n </ic-tooltip>\n </div>\n )}\n </div>\n\n <div\n aria-hidden=\"true\"\n class={{\n [\"ic-tab-splitter\"]: true,\n [\"hidden\"]: inline,\n }}\n ref={(el) => (this.splitterEl = el)}\n ></div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ic-tab-group.js","sourceRoot":"","sources":["../../../src/components/ic-tab-group/ic-tab-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAEL,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAS3B,MAAM,OAAO,QAAQ;;qBAM2B,SAAS;kBAKX,KAAK;;sBAUC,MAAM;;EAExD,gBAAgB;IACd,gCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EACzC,WAAW,CACZ,CAAC;EACJ,CAAC;EAED,MAAM;IACJ,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAEnC,OAAO,CACL,EAAC,IAAI,IACH,IAAI,EAAC,SAAS,gBACF,KAAK,EACjB,KAAK,EAAE;QACL,CAAC,OAAO,CAAC,EAAE,UAAU,KAAK,qBAAqB,CAAC,KAAK;OACtD;MAED,4BACE,UAAU,EACR,UAAU,KAAK,qBAAqB,CAAC,IAAI;UACvC,CAAC,CAAC,qBAAqB,CAAC,OAAO;UAC/B,CAAC,CAAC,UAAU;QAGhB,WAAK,KAAK,EAAC,gBAAgB;UACzB,eAAa,CACT,CACe,CAClB,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Host, Prop, h } from \"@stencil/core\";\n\nimport { onComponentRequiredPropUndefined } from \"../../utils/helpers\";\nimport {\n IcThemeForegroundNoDefault,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\n@Component({\n tag: \"ic-tab-group\",\n styleUrl: \"ic-tab-group.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class TabGroup {\n @Element() host: HTMLIcTabGroupElement;\n\n /**\n * The unique context needed if using multiple tabs inside one another i.e. rendering another set of tabs inside a tab panel.\n */\n @Prop({ reflect: true }) contextId?: string = \"default\";\n\n /**\n * If `true`, the tabs and tab panels will be positioned separately.\n */\n @Prop({ reflect: true }) inline?: boolean = false;\n\n /**\n * The label to describe the purpose of the set of tabs to screen reader users.\n */\n @Prop() label!: string;\n\n /**\n * @internal The appearance of the tab group, e.g dark, or light.\n */\n @Prop() appearance?: IcThemeForegroundNoDefault = \"dark\";\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Tab Group\"\n );\n }\n\n render() {\n const { appearance, label } = this;\n\n return (\n <Host\n role=\"tablist\"\n aria-label={label}\n class={{\n [\"light\"]: appearance === IcThemeForegroundEnum.Light,\n }}\n >\n <ic-horizontal-scroll\n appearance={\n appearance === IcThemeForegroundEnum.Dark\n ? IcThemeForegroundEnum.Default\n : appearance\n }\n >\n <div class=\"tabs-container\">\n <slot></slot>\n </div>\n </ic-horizontal-scroll>\n </Host>\n );\n }\n}\n"]}
@@ -5,3 +5,7 @@
5
5
  :host(.ic-tab-panel-light) {
6
6
  color: white;
7
7
  }
8
+
9
+ :host([hidden]) {
10
+ display: none;
11
+ }
@@ -42,7 +42,7 @@ export class TabPanel {
42
42
  "optional": true,
43
43
  "docs": {
44
44
  "tags": [],
45
- "text": "Provide a unique context if using multiple tabs inside one another i.e. rendering another tabs inside a tab panel."
45
+ "text": "The unique context needed if using multiple tabs inside one another i.e. rendering another tabs inside a tab panel."
46
46
  },
47
47
  "attribute": "context-id",
48
48
  "reflect": true,
@@ -126,7 +126,7 @@ export class TabPanel {
126
126
  "docs": {
127
127
  "tags": [{
128
128
  "name": "internal",
129
- "text": "Determines whether the light or dark variant of the tabs should be displayed."
129
+ "text": "The appearance of the tabs, e.g dark, or light."
130
130
  }],
131
131
  "text": ""
132
132
  },
@@ -1 +1 @@
1
- {"version":3,"file":"ic-tab-panel.js","sourceRoot":"","sources":["../../../src/components/ic-tab-panel/ic-tab-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EACL,qBAAqB,GAEtB,MAAM,mBAAmB,CAAC;AAO3B,MAAM,OAAO,QAAQ;;qBAM2B,SAAS;;;;sBAYL,MAAM;;EAExD,MAAM;IACJ,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAClD,OAAO,CACL,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,oBAAoB,CAAC,EAAE,UAAU,KAAK,qBAAqB,CAAC,KAAK;OACnE,EACD,IAAI,EAAC,UAAU,EACf,MAAM,EACJ,OAAO,KAAK,SAAS,IAAI,WAAW,KAAK,SAAS;QAChD,CAAC,CAAC,CAAC,CAAC,OAAO,KAAK,WAAW,CAAC;QAC5B,CAAC,CAAC,IAAI;MAGV;QACE,eAAa,CACT,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Host, Prop, h } from \"@stencil/core\";\nimport {\n IcThemeForegroundEnum,\n IcThemeForegroundNoDefault,\n} from \"../../utils/types\";\n\n@Component({\n tag: \"ic-tab-panel\",\n styleUrl: \"ic-tab-panel.css\",\n shadow: true,\n})\nexport class TabPanel {\n @Element() host: HTMLIcTabPanelElement;\n\n /**\n * Provide a unique context if using multiple tabs inside one another i.e. rendering another tabs inside a tab panel.\n */\n @Prop({ reflect: true }) contextId?: string = \"default\";\n\n /** @internal The position of the tab panel inside the tabs array in context. */\n @Prop({ reflect: true }) tabPosition?: number;\n\n /** @internal The shared ID that links the panel and tab. */\n @Prop({ reflect: true }) panelId?: string;\n\n /** @internal The shared ID of the currently selected tab. */\n @Prop() selectedTab?: string;\n\n /** @internal Determines whether the light or dark variant of the tabs should be displayed. */\n @Prop() appearance?: IcThemeForegroundNoDefault = \"dark\";\n\n render() {\n const { panelId, selectedTab, appearance } = this;\n return (\n <Host\n class={{\n [\"ic-tab-panel-light\"]: appearance === IcThemeForegroundEnum.Light,\n }}\n role=\"tabpanel\"\n hidden={\n panelId !== undefined && selectedTab !== undefined\n ? !(panelId === selectedTab)\n : true\n }\n >\n <div>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ic-tab-panel.js","sourceRoot":"","sources":["../../../src/components/ic-tab-panel/ic-tab-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EACL,qBAAqB,GAEtB,MAAM,mBAAmB,CAAC;AAO3B,MAAM,OAAO,QAAQ;;qBAM2B,SAAS;;;;sBAYL,MAAM;;EAExD,MAAM;IACJ,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAClD,OAAO,CACL,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,oBAAoB,CAAC,EAAE,UAAU,KAAK,qBAAqB,CAAC,KAAK;OACnE,EACD,IAAI,EAAC,UAAU,EACf,MAAM,EACJ,OAAO,KAAK,SAAS,IAAI,WAAW,KAAK,SAAS;QAChD,CAAC,CAAC,CAAC,CAAC,OAAO,KAAK,WAAW,CAAC;QAC5B,CAAC,CAAC,IAAI;MAGV;QACE,eAAa,CACT,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Host, Prop, h } from \"@stencil/core\";\nimport {\n IcThemeForegroundEnum,\n IcThemeForegroundNoDefault,\n} from \"../../utils/types\";\n\n@Component({\n tag: \"ic-tab-panel\",\n styleUrl: \"ic-tab-panel.css\",\n shadow: true,\n})\nexport class TabPanel {\n @Element() host: HTMLIcTabPanelElement;\n\n /**\n * The unique context needed if using multiple tabs inside one another i.e. rendering another tabs inside a tab panel.\n */\n @Prop({ reflect: true }) contextId?: string = \"default\";\n\n /** @internal The position of the tab panel inside the tabs array in context. */\n @Prop({ reflect: true }) tabPosition?: number;\n\n /** @internal The shared ID that links the panel and tab. */\n @Prop({ reflect: true }) panelId?: string;\n\n /** @internal The shared ID of the currently selected tab. */\n @Prop() selectedTab?: string;\n\n /** @internal The appearance of the tabs, e.g dark, or light. */\n @Prop() appearance?: IcThemeForegroundNoDefault = \"dark\";\n\n render() {\n const { panelId, selectedTab, appearance } = this;\n return (\n <Host\n class={{\n [\"ic-tab-panel-light\"]: appearance === IcThemeForegroundEnum.Light,\n }}\n role=\"tabpanel\"\n hidden={\n panelId !== undefined && selectedTab !== undefined\n ? !(panelId === selectedTab)\n : true\n }\n >\n <div>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -443,11 +443,16 @@ video {
443
443
 
444
444
  :host {
445
445
  /**
446
- * @prop --input-width: Width of the input field
446
+ * @prop --input-width: Width of the input field
447
447
  */
448
448
  display: block;
449
449
  }
450
450
 
451
+ :host([full-width]),
452
+ .fullwidth {
453
+ width: 100%;
454
+ }
455
+
451
456
  ::-moz-placeholder {
452
457
  color: var(--ic-color-tertiary-text);
453
458
  opacity: 1;
@@ -473,7 +478,7 @@ textarea {
473
478
  textarea {
474
479
  min-height: var(--ic-space-lg);
475
480
  resize: vertical;
476
- padding-top: 6px;
481
+ padding-top: 0.375rem;
477
482
  }
478
483
 
479
484
  input:focus,
@@ -492,11 +497,6 @@ textarea.readonly {
492
497
  color: var(--ic-color-primary-text);
493
498
  }
494
499
 
495
- .fullwidth {
496
- position: relative;
497
- width: 100%;
498
- }
499
-
500
500
  /* Chrome, Safari, Edge */
501
501
  input::-webkit-outer-spin-button,
502
502
  input::-webkit-inner-spin-button {
@@ -1,6 +1,6 @@
1
1
  import { Host, h, } from "@stencil/core";
2
2
  import { IcInformationStatus } from "../../utils/types";
3
- import { inheritAttributes, debounceEvent, getInputDescribedByText, renderHiddenInput, isEmptyString, onComponentRequiredPropUndefined, addFormResetListener, removeFormResetListener, } from "../../utils/helpers";
3
+ import { inheritAttributes, debounceEvent, getInputDescribedByText, renderHiddenInput, isEmptyString, onComponentRequiredPropUndefined, addFormResetListener, removeFormResetListener, isSlotUsed, } from "../../utils/helpers";
4
4
  import { IC_INHERITED_ARIA } from "../../utils/constants";
5
5
  let inputIds = 0;
6
6
  /**
@@ -94,7 +94,7 @@ export class TextField {
94
94
  this.icChange.emit({ value: newValue });
95
95
  }
96
96
  /**
97
- * Sets focus on the native `input`
97
+ * Sets focus on the native `input`.
98
98
  */
99
99
  async setFocus() {
100
100
  if (this.inputEl) {
@@ -177,7 +177,7 @@ export class TextField {
177
177
  ["no-resize"]: resize === false || readonly,
178
178
  ["no-left-pad"]: !this.showLeftIcon && readonly,
179
179
  ["readonly"]: readonly,
180
- }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholderText, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode }, this.inheritedAttributes))), h("slot", { name: "clear-button" }), h("slot", { name: "search-submit-button" })), h("slot", { name: "menu" }), (!isEmptyString(validationStatus) ||
180
+ }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholderText, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode }, this.inheritedAttributes))), isSlotUsed(this.el, "clear-button") && (h("slot", { name: "clear-button" })), isSlotUsed(this.el, "search-submit-button") && (h("slot", { name: "search-submit-button" }))), isSlotUsed(this.el, "menu") && h("slot", { name: "menu" }), (!isEmptyString(validationStatus) ||
181
181
  !isEmptyString(validationText) ||
182
182
  maxNumChars > 0) && (h("ic-input-validation", { status: this.hasStatus(currentStatus) === false ||
183
183
  (currentStatus === IcInformationStatus.Success &&
@@ -215,7 +215,7 @@ export class TextField {
215
215
  "optional": true,
216
216
  "docs": {
217
217
  "tags": [],
218
- "text": "Provide an id for the input"
218
+ "text": "The ID for the input."
219
219
  },
220
220
  "attribute": "input-id",
221
221
  "reflect": false,
@@ -233,7 +233,7 @@ export class TextField {
233
233
  "optional": false,
234
234
  "docs": {
235
235
  "tags": [],
236
- "text": "Provide a label for the input."
236
+ "text": "The label for the input."
237
237
  },
238
238
  "attribute": "label",
239
239
  "reflect": false
@@ -250,7 +250,7 @@ export class TextField {
250
250
  "optional": false,
251
251
  "docs": {
252
252
  "tags": [],
253
- "text": "Specify if the input requires a value."
253
+ "text": "If `true`, the input will require a value."
254
254
  },
255
255
  "attribute": "required",
256
256
  "reflect": false,
@@ -268,7 +268,7 @@ export class TextField {
268
268
  "optional": false,
269
269
  "docs": {
270
270
  "tags": [],
271
- "text": "Specify whether the input is disabled."
271
+ "text": "If `true`, the disabled state will be set."
272
272
  },
273
273
  "attribute": "disabled",
274
274
  "reflect": false,
@@ -286,10 +286,10 @@ export class TextField {
286
286
  "optional": false,
287
287
  "docs": {
288
288
  "tags": [],
289
- "text": "Specify whether the input is read only."
289
+ "text": "If `true`, the read only state will be set."
290
290
  },
291
291
  "attribute": "readonly",
292
- "reflect": false,
292
+ "reflect": true,
293
293
  "defaultValue": "false"
294
294
  },
295
295
  "placeholder": {
@@ -304,7 +304,7 @@ export class TextField {
304
304
  "optional": false,
305
305
  "docs": {
306
306
  "tags": [],
307
- "text": "Provide a placeholder value to display."
307
+ "text": "The placeholder value to be displayed."
308
308
  },
309
309
  "attribute": "placeholder",
310
310
  "reflect": false,
@@ -322,7 +322,7 @@ export class TextField {
322
322
  "optional": false,
323
323
  "docs": {
324
324
  "tags": [],
325
- "text": "Specify whether the component fills the full width of the container.\nIf true, this overrides the --input-width css prop."
325
+ "text": "Specify whether the text field fills the full width of the container.\nIf `true`, this overrides the --input-width CSS variable."
326
326
  },
327
327
  "attribute": "full-width",
328
328
  "reflect": false,
@@ -340,7 +340,7 @@ export class TextField {
340
340
  "optional": false,
341
341
  "docs": {
342
342
  "tags": [],
343
- "text": "Hides the label and applies the required label value as an aria-label."
343
+ "text": "If `true`, the label will be hidden and the required label value will be applied as an aria-label."
344
344
  },
345
345
  "attribute": "hide-label",
346
346
  "reflect": false,
@@ -358,7 +358,7 @@ export class TextField {
358
358
  "optional": false,
359
359
  "docs": {
360
360
  "tags": [],
361
- "text": "Provide helper text to display additional field guidance."
361
+ "text": "The helper text that will be displayed for additional field guidance."
362
362
  },
363
363
  "attribute": "helper-text",
364
364
  "reflect": false,
@@ -376,7 +376,7 @@ export class TextField {
376
376
  "optional": false,
377
377
  "docs": {
378
378
  "tags": [],
379
- "text": "Specify the number of rows to transform the text field into a text area with a specific height."
379
+ "text": "The number of rows to transform the text field into a text area with a specific height."
380
380
  },
381
381
  "attribute": "rows",
382
382
  "reflect": false,
@@ -394,7 +394,7 @@ export class TextField {
394
394
  "optional": false,
395
395
  "docs": {
396
396
  "tags": [],
397
- "text": "Allow resizing of a multiline text area"
397
+ "text": "If `true`, the multiline text area will be resizeable."
398
398
  },
399
399
  "attribute": "resize",
400
400
  "reflect": false,
@@ -412,10 +412,10 @@ export class TextField {
412
412
  "optional": false,
413
413
  "docs": {
414
414
  "tags": [],
415
- "text": "Specify whether small styling is to be applied to the element."
415
+ "text": "If `true`, the small styling will be applied to the text field."
416
416
  },
417
417
  "attribute": "small",
418
- "reflect": false,
418
+ "reflect": true,
419
419
  "defaultValue": "false"
420
420
  },
421
421
  "value": {
@@ -430,7 +430,7 @@ export class TextField {
430
430
  "optional": false,
431
431
  "docs": {
432
432
  "tags": [],
433
- "text": "Value of TextField."
433
+ "text": "The value of the text field."
434
434
  },
435
435
  "attribute": "value",
436
436
  "reflect": true,
@@ -448,7 +448,7 @@ export class TextField {
448
448
  "optional": false,
449
449
  "docs": {
450
450
  "tags": [],
451
- "text": "Maximum number of characters that can be entered in the field."
451
+ "text": "The maximum number of characters that can be entered in the field."
452
452
  },
453
453
  "attribute": "max-length",
454
454
  "reflect": false,
@@ -471,7 +471,7 @@ export class TextField {
471
471
  "optional": false,
472
472
  "docs": {
473
473
  "tags": [],
474
- "text": "Provide validation state - 'error' | 'warning' | 'success'"
474
+ "text": "The validation state - e.g. 'error' | 'warning' | 'success'."
475
475
  },
476
476
  "attribute": "validation-status",
477
477
  "reflect": false,
@@ -489,7 +489,7 @@ export class TextField {
489
489
  "optional": false,
490
490
  "docs": {
491
491
  "tags": [],
492
- "text": "Provide validation state - 'error' | 'warning' | 'success'"
492
+ "text": "The validation state - e.g. 'error' | 'warning' | 'success'."
493
493
  },
494
494
  "attribute": "validation-text",
495
495
  "reflect": false,
@@ -507,7 +507,7 @@ export class TextField {
507
507
  "optional": false,
508
508
  "docs": {
509
509
  "tags": [],
510
- "text": "Show icon in input control - only applies when validationStatus ='success'"
510
+ "text": "If `true`, the icon in input control will be displayed - only applies when validationStatus ='success'."
511
511
  },
512
512
  "attribute": "validation-inline",
513
513
  "reflect": false,
@@ -525,7 +525,7 @@ export class TextField {
525
525
  "optional": false,
526
526
  "docs": {
527
527
  "tags": [],
528
- "text": "Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\nAvailable options: \"off\", \"none\", \"on\", \"sentences\", \"words\", \"characters\"."
528
+ "text": "The automatic capitalisation of the text value as it is entered/edited by the user.\nAvailable options: \"off\", \"none\", \"on\", \"sentences\", \"words\", \"characters\"."
529
529
  },
530
530
  "attribute": "autocapitalize",
531
531
  "reflect": false,
@@ -548,7 +548,7 @@ export class TextField {
548
548
  "optional": false,
549
549
  "docs": {
550
550
  "tags": [],
551
- "text": "Indicates whether the value of the control can be automatically completed by the browser."
551
+ "text": "The state of autocompletion the browser can apply on the text value."
552
552
  },
553
553
  "attribute": "autocomplete",
554
554
  "reflect": false,
@@ -571,7 +571,7 @@ export class TextField {
571
571
  "optional": false,
572
572
  "docs": {
573
573
  "tags": [],
574
- "text": "Whether auto correction should be enabled when the user is entering/editing the text value."
574
+ "text": "The state of autocorrection the browser can apply when the user is entering/editing the text value."
575
575
  },
576
576
  "attribute": "autocorrect",
577
577
  "reflect": false,
@@ -589,7 +589,7 @@ export class TextField {
589
589
  "optional": false,
590
590
  "docs": {
591
591
  "tags": [],
592
- "text": "This Boolean attribute lets you specify that a form control should have input focus when the page loads."
592
+ "text": "If `true`, the form control will have input focus when the page loads."
593
593
  },
594
594
  "attribute": "auto-focus",
595
595
  "reflect": false,
@@ -607,7 +607,7 @@ export class TextField {
607
607
  "optional": false,
608
608
  "docs": {
609
609
  "tags": [],
610
- "text": "Set the amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke."
610
+ "text": "The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke."
611
611
  },
612
612
  "attribute": "debounce",
613
613
  "reflect": false,
@@ -689,7 +689,7 @@ export class TextField {
689
689
  "optional": false,
690
690
  "docs": {
691
691
  "tags": [],
692
- "text": "If `true`, the element will have its spelling and grammar checked."
692
+ "text": "If `true`, the value of the text field will have its spelling and grammar checked."
693
693
  },
694
694
  "attribute": "spellcheck",
695
695
  "reflect": false,
@@ -708,7 +708,7 @@ export class TextField {
708
708
  "docs": {
709
709
  "tags": [{
710
710
  "name": "internal",
711
- "text": "Used to identify the active element when focus is on the ic-menu items"
711
+ "text": "The active element when focus is on the ic-menu items."
712
712
  }],
713
713
  "text": ""
714
714
  },
@@ -728,7 +728,7 @@ export class TextField {
728
728
  "docs": {
729
729
  "tags": [{
730
730
  "name": "internal",
731
- "text": "This boolean sets an ellipsis at the end of the value if the value is longer than the container"
731
+ "text": "If `true`, an ellipsis will be displayed at the end of the value if the value is longer than the container."
732
732
  }],
733
733
  "text": ""
734
734
  },
@@ -834,7 +834,7 @@ export class TextField {
834
834
  "docs": {
835
835
  "tags": [{
836
836
  "name": "internal",
837
- "text": "Used to stop rendering of hidden form input for form submission;"
837
+ "text": "If `true`, the hidden form input will stop rendering for form submission."
838
838
  }],
839
839
  "text": ""
840
840
  },
@@ -967,7 +967,7 @@ export class TextField {
967
967
  "return": "Promise<void>"
968
968
  },
969
969
  "docs": {
970
- "text": "Sets focus on the native `input`",
970
+ "text": "Sets focus on the native `input`.",
971
971
  "tags": []
972
972
  }
973
973
  }