@ukic/canary-web-components 3.0.0-canary.21 → 3.0.0-canary.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (606) hide show
  1. package/README.md +2 -1
  2. package/dist/cjs/clear-icon-547aa9b9.js +10 -0
  3. package/dist/cjs/clear-icon-547aa9b9.js.map +1 -0
  4. package/dist/cjs/core.cjs.js +1 -1
  5. package/dist/cjs/helpers-da852478.js.map +1 -1
  6. package/dist/cjs/ic-action-chip.cjs.entry.js +116 -0
  7. package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -0
  8. package/dist/cjs/ic-back-to-top.cjs.entry.js +3 -3
  9. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-badge.cjs.entry.js +2 -2
  11. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
  13. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-breadcrumb.cjs.entry.js +2 -2
  15. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-button_3.cjs.entry.js +41 -86
  17. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-card-vertical.cjs.entry.js +4 -4
  19. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-checkbox-group.cjs.entry.js +2 -2
  21. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-checkbox_3.cjs.entry.js +6 -6
  23. package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-chip.cjs.entry.js +11 -3
  25. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  27. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
  29. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
  31. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-data-table.cjs.entry.js +63 -68
  33. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-date-input.cjs.entry.js +25 -17
  35. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-date-picker.cjs.entry.js +17 -10
  37. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
  41. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-footer.cjs.entry.js +3 -3
  43. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-hero.cjs.entry.js +4 -4
  45. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -5
  47. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +224 -0
  49. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -0
  50. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  51. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  54. package/dist/cjs/{ic-input-component-container_3.cjs.entry.js → ic-menu.cjs.entry.js} +41 -140
  55. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -0
  56. package/dist/cjs/ic-navigation-button.cjs.entry.js +2 -2
  57. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -10
  61. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-navigation-menu.cjs.entry.js +4 -4
  63. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-page-header.cjs.entry.js +6 -6
  65. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-pagination_4.cjs.entry.js +17 -17
  67. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-popover-menu.cjs.entry.js +4 -4
  69. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-radio-group.cjs.entry.js +4 -4
  71. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-radio-option.cjs.entry.js +4 -4
  73. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-search-bar.cjs.entry.js +9 -9
  75. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  77. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-side-navigation.cjs.entry.js +4 -4
  79. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  81. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  83. package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-status-tag.cjs.entry.js +2 -2
  85. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-step.cjs.entry.js +13 -13
  87. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-stepper.cjs.entry.js +2 -2
  89. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-switch.cjs.entry.js +4 -4
  91. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  93. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-tab-group.cjs.entry.js +2 -2
  95. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  97. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-tab.cjs.entry.js +2 -2
  99. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  101. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ic-time-input.cjs.entry.js +943 -0
  103. package/dist/cjs/ic-time-input.cjs.entry.js.map +1 -0
  104. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  105. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ic-toast.cjs.entry.js +3 -3
  107. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +15 -4
  109. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ic-toggle-button.cjs.entry.js +13 -4
  111. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ic-top-navigation.cjs.entry.js +4 -4
  113. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ic-tree-item.cjs.entry.js +14 -8
  115. package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ic-tree-view.cjs.entry.js +23 -15
  117. package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ic-typography.cjs.entry.js +2 -2
  119. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  120. package/dist/cjs/index-d337cd8a.js +12 -4
  121. package/dist/cjs/loader.cjs.js +1 -1
  122. package/dist/collection/assets/clock.svg +1 -0
  123. package/dist/collection/collection-manifest.json +2 -0
  124. package/dist/collection/components/ic-data-table/ic-data-table.css +3 -2
  125. package/dist/collection/components/ic-data-table/ic-data-table.js +62 -68
  126. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  127. package/dist/collection/components/ic-data-table/ic-data-table.stories.js +5 -4
  128. package/dist/collection/components/ic-data-table/ic-data-table.stories.js.map +1 -1
  129. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  130. package/dist/collection/components/ic-data-table/story-data.js +39 -130
  131. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  132. package/dist/collection/components/ic-date-input/ic-date-input.js +24 -12
  133. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  134. package/dist/collection/components/ic-date-picker/ic-date-picker.js +37 -10
  135. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  136. package/dist/collection/components/ic-time-input/ic-time-input.css +648 -0
  137. package/dist/collection/components/ic-time-input/ic-time-input.js +1600 -0
  138. package/dist/collection/components/ic-time-input/ic-time-input.js.map +1 -0
  139. package/dist/collection/components/ic-time-input/ic-time-input.stories.js +320 -0
  140. package/dist/collection/components/ic-time-input/ic-time-input.stories.js.map +1 -0
  141. package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js +45 -0
  142. package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js.map +1 -0
  143. package/dist/collection/components/ic-tree-item/ic-tree-item.js +14 -8
  144. package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
  145. package/dist/collection/components/ic-tree-view/ic-tree-view.js +23 -15
  146. package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
  147. package/dist/collection/utils/types.js.map +1 -1
  148. package/dist/components/clear-icon.js +8 -0
  149. package/dist/components/clear-icon.js.map +1 -0
  150. package/dist/components/helpers2.js.map +1 -1
  151. package/dist/components/ic-action-chip.js +160 -0
  152. package/dist/components/ic-action-chip.js.map +1 -0
  153. package/dist/components/ic-back-to-top.js +3 -3
  154. package/dist/components/ic-back-to-top.js.map +1 -1
  155. package/dist/components/ic-badge.js +2 -2
  156. package/dist/components/ic-badge.js.map +1 -1
  157. package/dist/components/ic-breadcrumb-group.js +2 -2
  158. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  159. package/dist/components/ic-breadcrumb2.js +2 -2
  160. package/dist/components/ic-breadcrumb2.js.map +1 -1
  161. package/dist/components/ic-button2.js +3 -3
  162. package/dist/components/ic-button2.js.map +1 -1
  163. package/dist/components/ic-card-vertical.js +4 -4
  164. package/dist/components/ic-card-vertical.js.map +1 -1
  165. package/dist/components/ic-checkbox-group.js +2 -2
  166. package/dist/components/ic-checkbox-group.js.map +1 -1
  167. package/dist/components/ic-checkbox2.js +4 -4
  168. package/dist/components/ic-checkbox2.js.map +1 -1
  169. package/dist/components/ic-chip.js +12 -4
  170. package/dist/components/ic-chip.js.map +1 -1
  171. package/dist/components/ic-classification-banner.js +2 -2
  172. package/dist/components/ic-classification-banner.js.map +1 -1
  173. package/dist/components/ic-data-list.js +2 -2
  174. package/dist/components/ic-data-list.js.map +1 -1
  175. package/dist/components/ic-data-row.js +2 -2
  176. package/dist/components/ic-data-row.js.map +1 -1
  177. package/dist/components/ic-data-table.js +63 -68
  178. package/dist/components/ic-data-table.js.map +1 -1
  179. package/dist/components/ic-date-input2.js +25 -17
  180. package/dist/components/ic-date-input2.js.map +1 -1
  181. package/dist/components/ic-date-picker.js +18 -10
  182. package/dist/components/ic-date-picker.js.map +1 -1
  183. package/dist/components/ic-dialog.js +1 -1
  184. package/dist/components/ic-dialog.js.map +1 -1
  185. package/dist/components/ic-empty-state2.js +2 -2
  186. package/dist/components/ic-empty-state2.js.map +1 -1
  187. package/dist/components/ic-footer-link.js +2 -2
  188. package/dist/components/ic-footer-link.js.map +1 -1
  189. package/dist/components/ic-footer.js +3 -3
  190. package/dist/components/ic-footer.js.map +1 -1
  191. package/dist/components/ic-hero.js +4 -4
  192. package/dist/components/ic-hero.js.map +1 -1
  193. package/dist/components/ic-horizontal-scroll2.js +5 -5
  194. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  195. package/dist/components/ic-input-component-container2.js +3 -3
  196. package/dist/components/ic-input-component-container2.js.map +1 -1
  197. package/dist/components/ic-input-container2.js +2 -2
  198. package/dist/components/ic-input-container2.js.map +1 -1
  199. package/dist/components/ic-input-label2.js +2 -2
  200. package/dist/components/ic-input-label2.js.map +1 -1
  201. package/dist/components/ic-input-validation2.js +3 -3
  202. package/dist/components/ic-input-validation2.js.map +1 -1
  203. package/dist/components/ic-link2.js +1 -1
  204. package/dist/components/ic-link2.js.map +1 -1
  205. package/dist/components/ic-loading-indicator2.js +6 -6
  206. package/dist/components/ic-loading-indicator2.js.map +1 -1
  207. package/dist/components/ic-menu-group.js +1 -1
  208. package/dist/components/ic-menu-group.js.map +1 -1
  209. package/dist/components/ic-menu2.js +42 -47
  210. package/dist/components/ic-menu2.js.map +1 -1
  211. package/dist/components/ic-navigation-button.js +2 -2
  212. package/dist/components/ic-navigation-button.js.map +1 -1
  213. package/dist/components/ic-navigation-group.js +1 -1
  214. package/dist/components/ic-navigation-group.js.map +1 -1
  215. package/dist/components/ic-navigation-item.js +3 -10
  216. package/dist/components/ic-navigation-item.js.map +1 -1
  217. package/dist/components/ic-navigation-menu2.js +4 -4
  218. package/dist/components/ic-navigation-menu2.js.map +1 -1
  219. package/dist/components/ic-page-header.js +6 -6
  220. package/dist/components/ic-page-header.js.map +1 -1
  221. package/dist/components/ic-pagination-item2.js +1 -1
  222. package/dist/components/ic-pagination-item2.js.map +1 -1
  223. package/dist/components/ic-pagination2.js +4 -4
  224. package/dist/components/ic-pagination2.js.map +1 -1
  225. package/dist/components/ic-popover-menu.js +4 -4
  226. package/dist/components/ic-popover-menu.js.map +1 -1
  227. package/dist/components/ic-radio-group.js +4 -4
  228. package/dist/components/ic-radio-group.js.map +1 -1
  229. package/dist/components/ic-radio-option.js +4 -4
  230. package/dist/components/ic-radio-option.js.map +1 -1
  231. package/dist/components/ic-search-bar.js +9 -9
  232. package/dist/components/ic-search-bar.js.map +1 -1
  233. package/dist/components/ic-section-container2.js +2 -2
  234. package/dist/components/ic-section-container2.js.map +1 -1
  235. package/dist/components/ic-select2.js +6 -6
  236. package/dist/components/ic-select2.js.map +1 -1
  237. package/dist/components/ic-side-navigation.js +4 -4
  238. package/dist/components/ic-side-navigation.js.map +1 -1
  239. package/dist/components/ic-skeleton.js +2 -2
  240. package/dist/components/ic-skeleton.js.map +1 -1
  241. package/dist/components/ic-skip-link.js +2 -2
  242. package/dist/components/ic-skip-link.js.map +1 -1
  243. package/dist/components/ic-status-tag.js +2 -2
  244. package/dist/components/ic-status-tag.js.map +1 -1
  245. package/dist/components/ic-step.js +13 -13
  246. package/dist/components/ic-step.js.map +1 -1
  247. package/dist/components/ic-stepper.js +2 -2
  248. package/dist/components/ic-stepper.js.map +1 -1
  249. package/dist/components/ic-switch.js +4 -4
  250. package/dist/components/ic-switch.js.map +1 -1
  251. package/dist/components/ic-tab-context.js +1 -1
  252. package/dist/components/ic-tab-context.js.map +1 -1
  253. package/dist/components/ic-tab-group.js +2 -2
  254. package/dist/components/ic-tab-group.js.map +1 -1
  255. package/dist/components/ic-tab-panel.js +2 -2
  256. package/dist/components/ic-tab-panel.js.map +1 -1
  257. package/dist/components/ic-tab.js +2 -2
  258. package/dist/components/ic-tab.js.map +1 -1
  259. package/dist/components/ic-text-field2.js +6 -6
  260. package/dist/components/ic-text-field2.js.map +1 -1
  261. package/dist/components/ic-theme.js +1 -1
  262. package/dist/components/ic-theme.js.map +1 -1
  263. package/dist/components/ic-time-input.d.ts +11 -0
  264. package/dist/components/ic-time-input.js +1045 -0
  265. package/dist/components/ic-time-input.js.map +1 -0
  266. package/dist/components/ic-toast-region.js +1 -1
  267. package/dist/components/ic-toast-region.js.map +1 -1
  268. package/dist/components/ic-toast.js +3 -3
  269. package/dist/components/ic-toast.js.map +1 -1
  270. package/dist/components/ic-toggle-button-group.js +17 -4
  271. package/dist/components/ic-toggle-button-group.js.map +1 -1
  272. package/dist/components/ic-toggle-button.js +14 -4
  273. package/dist/components/ic-toggle-button.js.map +1 -1
  274. package/dist/components/ic-tooltip2.js +33 -78
  275. package/dist/components/ic-tooltip2.js.map +1 -1
  276. package/dist/components/ic-top-navigation.js +4 -4
  277. package/dist/components/ic-top-navigation.js.map +1 -1
  278. package/dist/components/ic-tree-item.js +15 -9
  279. package/dist/components/ic-tree-item.js.map +1 -1
  280. package/dist/components/ic-tree-view.js +24 -16
  281. package/dist/components/ic-tree-view.js.map +1 -1
  282. package/dist/components/ic-typography2.js +2 -2
  283. package/dist/components/ic-typography2.js.map +1 -1
  284. package/dist/core/core.css +227 -7
  285. package/dist/core/core.esm.js +1 -1
  286. package/dist/core/core.esm.js.map +1 -1
  287. package/dist/core/{p-137dd76e.entry.js → p-00a89919.entry.js} +2 -2
  288. package/dist/core/{p-137dd76e.entry.js.map → p-00a89919.entry.js.map} +1 -1
  289. package/dist/core/{p-e253a857.js → p-0f22f41e.js} +2 -2
  290. package/dist/core/p-0f22f41e.js.map +1 -0
  291. package/dist/core/{p-97abdbf7.entry.js → p-1521e96b.entry.js} +2 -2
  292. package/dist/core/{p-97abdbf7.entry.js.map → p-1521e96b.entry.js.map} +1 -1
  293. package/dist/core/{p-5d987f8f.entry.js → p-153d3597.entry.js} +2 -2
  294. package/dist/core/{p-5d987f8f.entry.js.map → p-153d3597.entry.js.map} +1 -1
  295. package/dist/core/{p-4b6818d9.entry.js → p-1cc402b8.entry.js} +2 -2
  296. package/dist/core/{p-4b6818d9.entry.js.map → p-1cc402b8.entry.js.map} +1 -1
  297. package/dist/core/{p-8d908a57.entry.js → p-22863d31.entry.js} +2 -2
  298. package/dist/core/{p-8d908a57.entry.js.map → p-22863d31.entry.js.map} +1 -1
  299. package/dist/core/{p-c94e7b0b.entry.js → p-27207aa3.entry.js} +2 -2
  300. package/dist/core/{p-c94e7b0b.entry.js.map → p-27207aa3.entry.js.map} +1 -1
  301. package/dist/core/{p-2c4bf16f.entry.js → p-2d6a1b50.entry.js} +2 -2
  302. package/dist/core/{p-2c4bf16f.entry.js.map → p-2d6a1b50.entry.js.map} +1 -1
  303. package/dist/core/{p-b6b7c15c.entry.js → p-307c13a1.entry.js} +2 -2
  304. package/dist/core/p-307c13a1.entry.js.map +1 -0
  305. package/dist/core/{p-2d8900bf.entry.js → p-30b3afb1.entry.js} +2 -2
  306. package/dist/core/{p-2d8900bf.entry.js.map → p-30b3afb1.entry.js.map} +1 -1
  307. package/dist/core/{p-bf93baea.entry.js → p-324862f7.entry.js} +2 -2
  308. package/dist/core/{p-bf93baea.entry.js.map → p-324862f7.entry.js.map} +1 -1
  309. package/dist/core/{p-0fe08a58.js → p-33927ee1.js} +2 -2
  310. package/dist/core/{p-1bcf49fa.entry.js → p-369f4536.entry.js} +2 -2
  311. package/dist/core/p-369f4536.entry.js.map +1 -0
  312. package/dist/core/{p-b6d1988d.entry.js → p-3a5da30c.entry.js} +2 -2
  313. package/dist/core/{p-b6d1988d.entry.js.map → p-3a5da30c.entry.js.map} +1 -1
  314. package/dist/core/{p-826a6c25.entry.js → p-3d10fa12.entry.js} +2 -2
  315. package/dist/core/{p-826a6c25.entry.js.map → p-3d10fa12.entry.js.map} +1 -1
  316. package/dist/core/{p-f569a91f.entry.js → p-48127d40.entry.js} +2 -2
  317. package/dist/core/{p-f569a91f.entry.js.map → p-48127d40.entry.js.map} +1 -1
  318. package/dist/core/{p-3448c713.entry.js → p-48db785a.entry.js} +2 -2
  319. package/dist/core/{p-3448c713.entry.js.map → p-48db785a.entry.js.map} +1 -1
  320. package/dist/core/{p-b27bc1a1.entry.js → p-4b212968.entry.js} +2 -2
  321. package/dist/core/{p-b27bc1a1.entry.js.map → p-4b212968.entry.js.map} +1 -1
  322. package/dist/core/p-53d50d9e.entry.js +2 -0
  323. package/dist/core/p-53d50d9e.entry.js.map +1 -0
  324. package/dist/core/p-558936fb.entry.js +2 -0
  325. package/dist/core/p-558936fb.entry.js.map +1 -0
  326. package/dist/core/{p-64372a57.entry.js → p-593cc594.entry.js} +2 -2
  327. package/dist/core/{p-64372a57.entry.js.map → p-593cc594.entry.js.map} +1 -1
  328. package/dist/core/{p-bbf39a76.entry.js → p-666a671b.entry.js} +2 -2
  329. package/dist/core/{p-bbf39a76.entry.js.map → p-666a671b.entry.js.map} +1 -1
  330. package/dist/core/{p-8397766e.entry.js → p-726144b4.entry.js} +2 -2
  331. package/dist/core/{p-8397766e.entry.js.map → p-726144b4.entry.js.map} +1 -1
  332. package/dist/core/p-74e0f41f.entry.js +2 -0
  333. package/dist/core/p-74e0f41f.entry.js.map +1 -0
  334. package/dist/core/{p-0dc0d839.entry.js → p-75f3038c.entry.js} +2 -2
  335. package/dist/core/{p-0dc0d839.entry.js.map → p-75f3038c.entry.js.map} +1 -1
  336. package/dist/core/p-7892130d.entry.js +2 -0
  337. package/dist/core/p-7892130d.entry.js.map +1 -0
  338. package/dist/core/{p-b6c3cc1c.entry.js → p-7e5e94a9.entry.js} +2 -2
  339. package/dist/core/p-7e5e94a9.entry.js.map +1 -0
  340. package/dist/core/p-8048c7da.entry.js +2 -0
  341. package/dist/core/{p-1e256460.entry.js.map → p-8048c7da.entry.js.map} +1 -1
  342. package/dist/core/p-80e43591.entry.js +2 -0
  343. package/dist/core/{p-8cb5deba.entry.js.map → p-80e43591.entry.js.map} +1 -1
  344. package/dist/core/{p-75901d06.entry.js → p-86ff903d.entry.js} +2 -2
  345. package/dist/core/{p-ead0acc3.entry.js → p-8908b8e6.entry.js} +2 -2
  346. package/dist/core/{p-832c7042.entry.js → p-8bf1022e.entry.js} +2 -2
  347. package/dist/core/{p-90364cef.entry.js → p-8fa7085e.entry.js} +2 -2
  348. package/dist/core/{p-90364cef.entry.js.map → p-8fa7085e.entry.js.map} +1 -1
  349. package/dist/core/{p-5237f3ac.entry.js → p-97c437bb.entry.js} +2 -2
  350. package/dist/core/p-9c8a98e8.entry.js +2 -0
  351. package/dist/core/p-9c8a98e8.entry.js.map +1 -0
  352. package/dist/core/{p-0f86ea09.entry.js → p-9f792a31.entry.js} +2 -2
  353. package/dist/core/{p-0f86ea09.entry.js.map → p-9f792a31.entry.js.map} +1 -1
  354. package/dist/core/{p-cd8178a9.entry.js → p-abcc90f0.entry.js} +2 -2
  355. package/dist/core/{p-cd8178a9.entry.js.map → p-abcc90f0.entry.js.map} +1 -1
  356. package/dist/core/p-ad48c77c.entry.js +2 -0
  357. package/dist/core/p-ad48c77c.entry.js.map +1 -0
  358. package/dist/core/p-b0462734.entry.js +2 -0
  359. package/dist/core/p-b0462734.entry.js.map +1 -0
  360. package/dist/core/{p-88c5ec78.entry.js → p-b2680959.entry.js} +2 -2
  361. package/dist/core/{p-88c5ec78.entry.js.map → p-b2680959.entry.js.map} +1 -1
  362. package/dist/core/{p-b1b27b7e.entry.js → p-b3ac38c5.entry.js} +2 -2
  363. package/dist/core/{p-b1b27b7e.entry.js.map → p-b3ac38c5.entry.js.map} +1 -1
  364. package/dist/core/p-b5ef2799.entry.js +2 -0
  365. package/dist/core/{p-497918fd.entry.js.map → p-b5ef2799.entry.js.map} +1 -1
  366. package/dist/core/{p-33404c14.entry.js → p-b7a0dc04.entry.js} +2 -2
  367. package/dist/core/{p-33404c14.entry.js.map → p-b7a0dc04.entry.js.map} +1 -1
  368. package/dist/core/p-b8938f93.entry.js +2 -0
  369. package/dist/core/p-b8938f93.entry.js.map +1 -0
  370. package/dist/core/{p-9097a16a.entry.js → p-b9d4c0db.entry.js} +2 -2
  371. package/dist/core/{p-9097a16a.entry.js.map → p-b9d4c0db.entry.js.map} +1 -1
  372. package/dist/core/{p-b3509380.entry.js → p-c4bf8742.entry.js} +2 -2
  373. package/dist/core/{p-3cf99186.entry.js → p-c6eabd53.entry.js} +2 -2
  374. package/dist/core/{p-6f72e6ac.entry.js → p-c7ccc52a.entry.js} +2 -2
  375. package/dist/core/{p-6f72e6ac.entry.js.map → p-c7ccc52a.entry.js.map} +1 -1
  376. package/dist/core/p-c82a2e84.entry.js +2 -0
  377. package/dist/core/p-c82a2e84.entry.js.map +1 -0
  378. package/dist/core/{p-94065f7a.entry.js → p-ca3c6653.entry.js} +2 -2
  379. package/dist/core/{p-94065f7a.entry.js.map → p-ca3c6653.entry.js.map} +1 -1
  380. package/dist/core/{p-d281c3cf.entry.js → p-d47acbd4.entry.js} +2 -2
  381. package/dist/core/{p-d281c3cf.entry.js.map → p-d47acbd4.entry.js.map} +1 -1
  382. package/dist/core/{p-a54eb1d1.entry.js → p-d5f8ef77.entry.js} +2 -2
  383. package/dist/core/{p-c77d6efc.entry.js → p-db3b0c0a.entry.js} +2 -2
  384. package/dist/core/{p-c77d6efc.entry.js.map → p-db3b0c0a.entry.js.map} +1 -1
  385. package/dist/core/{p-cc36abaa.entry.js → p-db6d0463.entry.js} +2 -2
  386. package/dist/core/p-dbde45ff.entry.js +2 -0
  387. package/dist/core/p-dbde45ff.entry.js.map +1 -0
  388. package/dist/core/p-dc8eede2.entry.js +2 -0
  389. package/dist/core/p-dc8eede2.entry.js.map +1 -0
  390. package/dist/core/p-dd7450fb.js +2 -0
  391. package/dist/core/p-dd7450fb.js.map +1 -0
  392. package/dist/core/{p-fc5661ac.entry.js → p-de43d375.entry.js} +2 -2
  393. package/dist/core/{p-fc5661ac.entry.js.map → p-de43d375.entry.js.map} +1 -1
  394. package/dist/core/p-de8081c6.entry.js +2 -0
  395. package/dist/core/{p-a26a60ff.entry.js.map → p-de8081c6.entry.js.map} +1 -1
  396. package/dist/core/p-e4906394.entry.js +2 -0
  397. package/dist/core/{p-032113b9.entry.js.map → p-e4906394.entry.js.map} +1 -1
  398. package/dist/core/p-e595bb87.entry.js +2 -0
  399. package/dist/core/p-e595bb87.entry.js.map +1 -0
  400. package/dist/core/{p-42913c5b.entry.js → p-e75514f1.entry.js} +2 -2
  401. package/dist/core/{p-42913c5b.entry.js.map → p-e75514f1.entry.js.map} +1 -1
  402. package/dist/core/{p-6dd73165.entry.js → p-ee6caf27.entry.js} +2 -2
  403. package/dist/core/{p-6dd73165.entry.js.map → p-ee6caf27.entry.js.map} +1 -1
  404. package/dist/core/{p-2de3287c.entry.js → p-f33eae3c.entry.js} +2 -2
  405. package/dist/core/{p-2de3287c.entry.js.map → p-f33eae3c.entry.js.map} +1 -1
  406. package/dist/core/{p-9e051db4.entry.js → p-f34eee68.entry.js} +2 -2
  407. package/dist/core/{p-9e051db4.entry.js.map → p-f34eee68.entry.js.map} +1 -1
  408. package/dist/core/{p-fb7f4e2e.entry.js → p-fbb0a74d.entry.js} +2 -2
  409. package/dist/core/{p-fb7f4e2e.entry.js.map → p-fbb0a74d.entry.js.map} +1 -1
  410. package/dist/core/{p-9fafa5fa.entry.js → p-fbd80981.entry.js} +2 -2
  411. package/dist/core/p-fbd80981.entry.js.map +1 -0
  412. package/dist/core/{p-e18ba5d6.entry.js → p-fffb98c9.entry.js} +2 -2
  413. package/dist/core/{p-e18ba5d6.entry.js.map → p-fffb98c9.entry.js.map} +1 -1
  414. package/dist/esm/clear-icon-1c79bda2.js +8 -0
  415. package/dist/esm/clear-icon-1c79bda2.js.map +1 -0
  416. package/dist/esm/core.js +1 -1
  417. package/dist/esm/{helpers-d9387cd3.js → helpers-89cb996d.js} +2 -2
  418. package/dist/esm/helpers-89cb996d.js.map +1 -0
  419. package/dist/esm/{helpers-574534c9.js → helpers-dea3fd9b.js} +2 -2
  420. package/dist/esm/{helpers-574534c9.js.map → helpers-dea3fd9b.js.map} +1 -1
  421. package/dist/esm/ic-accordion-group.entry.js +1 -1
  422. package/dist/esm/ic-accordion.entry.js +1 -1
  423. package/dist/esm/ic-action-chip.entry.js +112 -0
  424. package/dist/esm/ic-action-chip.entry.js.map +1 -0
  425. package/dist/esm/ic-alert.entry.js +1 -1
  426. package/dist/esm/ic-back-to-top.entry.js +4 -4
  427. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  428. package/dist/esm/ic-badge.entry.js +3 -3
  429. package/dist/esm/ic-badge.entry.js.map +1 -1
  430. package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
  431. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  432. package/dist/esm/ic-breadcrumb.entry.js +3 -3
  433. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  434. package/dist/esm/ic-button_3.entry.js +42 -87
  435. package/dist/esm/ic-button_3.entry.js.map +1 -1
  436. package/dist/esm/ic-card-horizontal.entry.js +1 -1
  437. package/dist/esm/ic-card-vertical.entry.js +5 -5
  438. package/dist/esm/ic-card-vertical.entry.js.map +1 -1
  439. package/dist/esm/ic-checkbox-group.entry.js +3 -3
  440. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  441. package/dist/esm/ic-checkbox_3.entry.js +8 -8
  442. package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
  443. package/dist/esm/ic-chip.entry.js +12 -4
  444. package/dist/esm/ic-chip.entry.js.map +1 -1
  445. package/dist/esm/ic-classification-banner.entry.js +2 -2
  446. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  447. package/dist/esm/ic-data-list.entry.js +2 -2
  448. package/dist/esm/ic-data-list.entry.js.map +1 -1
  449. package/dist/esm/ic-data-row.entry.js +3 -3
  450. package/dist/esm/ic-data-row.entry.js.map +1 -1
  451. package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
  452. package/dist/esm/ic-data-table.entry.js +64 -69
  453. package/dist/esm/ic-data-table.entry.js.map +1 -1
  454. package/dist/esm/ic-date-input.entry.js +26 -18
  455. package/dist/esm/ic-date-input.entry.js.map +1 -1
  456. package/dist/esm/ic-date-picker.entry.js +18 -11
  457. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  458. package/dist/esm/ic-dialog.entry.js +2 -2
  459. package/dist/esm/ic-dialog.entry.js.map +1 -1
  460. package/dist/esm/ic-divider.entry.js +1 -1
  461. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  462. package/dist/esm/ic-footer-link.entry.js +3 -3
  463. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  464. package/dist/esm/ic-footer.entry.js +4 -4
  465. package/dist/esm/ic-footer.entry.js.map +1 -1
  466. package/dist/esm/ic-hero.entry.js +5 -5
  467. package/dist/esm/ic-hero.entry.js.map +1 -1
  468. package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
  469. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  470. package/dist/esm/ic-input-component-container_4.entry.js +217 -0
  471. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -0
  472. package/dist/esm/ic-link.entry.js +2 -2
  473. package/dist/esm/ic-link.entry.js.map +1 -1
  474. package/dist/esm/ic-menu-group.entry.js +2 -2
  475. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  476. package/dist/esm/ic-menu-item.entry.js +1 -1
  477. package/dist/esm/{ic-input-component-container_3.entry.js → ic-menu.entry.js} +43 -140
  478. package/dist/esm/ic-menu.entry.js.map +1 -0
  479. package/dist/esm/ic-navigation-button.entry.js +3 -3
  480. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  481. package/dist/esm/ic-navigation-group.entry.js +2 -2
  482. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  483. package/dist/esm/ic-navigation-item.entry.js +4 -11
  484. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  485. package/dist/esm/ic-navigation-menu.entry.js +5 -5
  486. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  487. package/dist/esm/ic-page-header.entry.js +7 -7
  488. package/dist/esm/ic-page-header.entry.js.map +1 -1
  489. package/dist/esm/ic-pagination_4.entry.js +18 -18
  490. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  491. package/dist/esm/ic-popover-menu.entry.js +5 -5
  492. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  493. package/dist/esm/ic-radio-group.entry.js +5 -5
  494. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  495. package/dist/esm/ic-radio-option.entry.js +5 -5
  496. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  497. package/dist/esm/ic-search-bar.entry.js +10 -10
  498. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  499. package/dist/esm/ic-section-container.entry.js +2 -2
  500. package/dist/esm/ic-section-container.entry.js.map +1 -1
  501. package/dist/esm/ic-side-navigation.entry.js +5 -5
  502. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  503. package/dist/esm/ic-skeleton.entry.js +2 -2
  504. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  505. package/dist/esm/ic-skip-link.entry.js +2 -2
  506. package/dist/esm/ic-skip-link.entry.js.map +1 -1
  507. package/dist/esm/ic-status-tag.entry.js +3 -3
  508. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  509. package/dist/esm/ic-step.entry.js +14 -14
  510. package/dist/esm/ic-step.entry.js.map +1 -1
  511. package/dist/esm/ic-stepper.entry.js +3 -3
  512. package/dist/esm/ic-stepper.entry.js.map +1 -1
  513. package/dist/esm/ic-switch.entry.js +5 -5
  514. package/dist/esm/ic-switch.entry.js.map +1 -1
  515. package/dist/esm/ic-tab-context.entry.js +1 -1
  516. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  517. package/dist/esm/ic-tab-group.entry.js +3 -3
  518. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  519. package/dist/esm/ic-tab-panel.entry.js +2 -2
  520. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  521. package/dist/esm/ic-tab.entry.js +3 -3
  522. package/dist/esm/ic-tab.entry.js.map +1 -1
  523. package/dist/esm/ic-theme.entry.js +2 -2
  524. package/dist/esm/ic-theme.entry.js.map +1 -1
  525. package/dist/esm/ic-time-input.entry.js +939 -0
  526. package/dist/esm/ic-time-input.entry.js.map +1 -0
  527. package/dist/esm/ic-toast-region.entry.js +1 -1
  528. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  529. package/dist/esm/ic-toast.entry.js +4 -4
  530. package/dist/esm/ic-toast.entry.js.map +1 -1
  531. package/dist/esm/ic-toggle-button-group.entry.js +16 -5
  532. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  533. package/dist/esm/ic-toggle-button.entry.js +14 -5
  534. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  535. package/dist/esm/ic-top-navigation.entry.js +5 -5
  536. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  537. package/dist/esm/ic-tree-item.entry.js +15 -9
  538. package/dist/esm/ic-tree-item.entry.js.map +1 -1
  539. package/dist/esm/ic-tree-view.entry.js +24 -16
  540. package/dist/esm/ic-tree-view.entry.js.map +1 -1
  541. package/dist/esm/ic-typography.entry.js +3 -3
  542. package/dist/esm/ic-typography.entry.js.map +1 -1
  543. package/dist/esm/index-a7a720e7.js +12 -4
  544. package/dist/esm/loader.js +1 -1
  545. package/dist/types/components/ic-data-table/ic-data-table.d.ts +1 -1
  546. package/dist/types/components/ic-data-table/ic-data-table.stories.d.ts +1 -1
  547. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +12 -7
  548. package/dist/types/components/ic-data-table/story-data.d.ts +11 -84
  549. package/dist/types/components/ic-date-input/ic-date-input.d.ts +2 -1
  550. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +4 -0
  551. package/dist/types/components/ic-time-input/ic-time-input.d.ts +229 -0
  552. package/dist/types/components/ic-time-input/ic-time-input.stories.d.ts +121 -0
  553. package/dist/types/components/ic-time-input/test/helpers/ic-time-input.d.ts +23 -0
  554. package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +2 -0
  555. package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +2 -1
  556. package/dist/types/components.d.ts +242 -2
  557. package/dist/types/utils/types.d.ts +5 -0
  558. package/hydrate/index.js +1611 -493
  559. package/hydrate/index.mjs +1611 -493
  560. package/package.json +3 -3
  561. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +0 -1
  562. package/dist/cjs/ic-input-label_2.cjs.entry.js +0 -133
  563. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +0 -1
  564. package/dist/core/p-032113b9.entry.js +0 -2
  565. package/dist/core/p-145238fe.entry.js +0 -2
  566. package/dist/core/p-145238fe.entry.js.map +0 -1
  567. package/dist/core/p-1b20ab19.entry.js +0 -2
  568. package/dist/core/p-1b20ab19.entry.js.map +0 -1
  569. package/dist/core/p-1bcf49fa.entry.js.map +0 -1
  570. package/dist/core/p-1e256460.entry.js +0 -2
  571. package/dist/core/p-224b2e14.entry.js +0 -2
  572. package/dist/core/p-224b2e14.entry.js.map +0 -1
  573. package/dist/core/p-497918fd.entry.js +0 -2
  574. package/dist/core/p-5f8b09e4.entry.js +0 -2
  575. package/dist/core/p-5f8b09e4.entry.js.map +0 -1
  576. package/dist/core/p-7001f1c1.entry.js +0 -2
  577. package/dist/core/p-7001f1c1.entry.js.map +0 -1
  578. package/dist/core/p-8cb5deba.entry.js +0 -2
  579. package/dist/core/p-95881758.entry.js +0 -2
  580. package/dist/core/p-95881758.entry.js.map +0 -1
  581. package/dist/core/p-9fafa5fa.entry.js.map +0 -1
  582. package/dist/core/p-a26a60ff.entry.js +0 -2
  583. package/dist/core/p-b6b7c15c.entry.js.map +0 -1
  584. package/dist/core/p-b6c3cc1c.entry.js.map +0 -1
  585. package/dist/core/p-b9369ce5.entry.js +0 -2
  586. package/dist/core/p-b9369ce5.entry.js.map +0 -1
  587. package/dist/core/p-cbbba154.entry.js +0 -2
  588. package/dist/core/p-cbbba154.entry.js.map +0 -1
  589. package/dist/core/p-cdd6d5e8.entry.js +0 -2
  590. package/dist/core/p-cdd6d5e8.entry.js.map +0 -1
  591. package/dist/core/p-dc3aba7c.entry.js +0 -2
  592. package/dist/core/p-dc3aba7c.entry.js.map +0 -1
  593. package/dist/core/p-e253a857.js.map +0 -1
  594. package/dist/esm/helpers-d9387cd3.js.map +0 -1
  595. package/dist/esm/ic-input-component-container_3.entry.js.map +0 -1
  596. package/dist/esm/ic-input-label_2.entry.js +0 -128
  597. package/dist/esm/ic-input-label_2.entry.js.map +0 -1
  598. /package/dist/core/{p-0fe08a58.js.map → p-33927ee1.js.map} +0 -0
  599. /package/dist/core/{p-75901d06.entry.js.map → p-86ff903d.entry.js.map} +0 -0
  600. /package/dist/core/{p-ead0acc3.entry.js.map → p-8908b8e6.entry.js.map} +0 -0
  601. /package/dist/core/{p-832c7042.entry.js.map → p-8bf1022e.entry.js.map} +0 -0
  602. /package/dist/core/{p-5237f3ac.entry.js.map → p-97c437bb.entry.js.map} +0 -0
  603. /package/dist/core/{p-b3509380.entry.js.map → p-c4bf8742.entry.js.map} +0 -0
  604. /package/dist/core/{p-3cf99186.entry.js.map → p-c6eabd53.entry.js.map} +0 -0
  605. /package/dist/core/{p-a54eb1d1.entry.js.map → p-d5f8ef77.entry.js.map} +0 -0
  606. /package/dist/core/{p-cc36abaa.entry.js.map → p-db6d0463.entry.js.map} +0 -0
@@ -0,0 +1,943 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-d337cd8a.js');
6
+ const helpers = require('./helpers-da852478.js');
7
+ const clearIcon = require('./clear-icon-547aa9b9.js');
8
+
9
+ const Clock = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>clock-outline</title><path d="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z" /></svg>`;
10
+
11
+ const icTimeInputCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{--ic-input-label-helpertext-padding:var(--ic-space-xs);--input-bg-color:var(--ic-time-picker-field-background);--ic-input-label-text-color:var(--ic-time-picker-label);--ic-input-label-helper-text-color:var(--ic-time-picker-subtitle);--border-color:var(--ic-time-picker-time-field-border-default);--border-color-disabled:var(--ic-time-picker-border-disabled);--border-color-hover:var(--ic-time-picker-time-field-border-hover);--border-color-pressed:var(--ic-time-picker-time-field-border-pressed);--border-error-color:var(--ic-time-picker-border-error);--border-error-color-hover:var(--ic-time-picker-border-error-hover);--border-error-color-pressed:var(--ic-time-picker-border-error-pressed);--border-success-color:var(--ic-time-picker-border-success);--border-success-color-hover:var(--ic-time-picker-border-success-hover);--border-success-color-pressed:var(--ic-time-picker-border-success-pressed);--border-warning-color:var(--ic-time-picker-border-warning);--border-warning-color-hover:var(--ic-time-picker-border-warning-hover);--border-warning-color-pressed:var(--ic-time-picker-border-warning-pressed);--input-width:calc((4 * var(--ic-space-xxl)) + var(--ic-space-xxs))}:host(.ic-time-input-disabled){--ic-input-label-text-color:var(--ic-time-picker-label-disabled);--ic-input-label-helper-text-color:var(--ic-time-picker-subtitle-disabled)}:host(.ic-time-input-disabled) input{color:var(--ic-time-picker-time-text-disabled)}:host(.ic-time-input-large){--input-width:calc(\n (4 * var(--ic-space-xxl)) + var(--ic-space-xxs) + var(--ic-space-lg)\n )}:host(.ic-time-input-small){--input-width:calc(\n (3 * var(--ic-space-xxl)) + var(--ic-space-xxs) + var(--ic-space-xl)\n )}input{border:0;height:100%;padding:0;outline:none;background:none;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;color:var(--ic-time-picker-time-text-default);caret-color:var(--ic-time-picker-typing-cursor)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input:-webkit-autofill{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;-webkit-text-fill-color:var(--ic-time-picker-time-text-default) !important}input::-moz-placeholder{color:var(--ic-time-picker-field-placeholder-text)}input::placeholder{color:var(--ic-time-picker-field-placeholder-text)}ic-input-component-container{cursor:text}ic-input-component-container .focus-indicator{padding:var(--ic-space-xxxs) var(--ic-space-xs);align-items:center}.time-inputs{color:var(--ic-time-picker-field-placeholder-text)}.hour-input{width:1.438rem}.minute-input{width:1.813rem}.second-input,.second-input.fit-to-value{width:2.313rem}.fit-to-value{width:1.25rem}.sr-only{position:absolute;left:-9999px}.input-container{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative}.action-buttons{display:flex;align-items:center}.show-clock-button-wrapper{display:flex;justify-content:center;align-items:center}.clear-button,.clock-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition);margin:0}.clear-button.hidden{display:none}.clear-button:focus,.clock-button:focus,.clear-button:active,.clock-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:0.25rem}.clock-button:focus,.clock-button:active{--ic-button-tertiary-text-active:var(--ic-atoms-input-clear-button-focus);--ic-button-tertiary-text-hover-active:var(\n --ic-atoms-input-clear-button-focus\n );--ic-button-tertiary-text-pressed-active:var(\n --ic-atoms-input-clear-button-focus\n )}.clear-button:focus,.clock-button:focus,.clear-button:active *,.clock-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button svg{color:var(--ic-time-picker-clear-icon)}.clear-button:focus svg{color:var(--ic-atoms-input-clear-button-focus)}.divider{margin:0 var(--ic-space-xxs);width:var(--ic-space-1px);background-color:var(--ic-atoms-input-divider);border-radius:var(--ic-space-1px)}.divider.small{height:var(--ic-space-md)}.divider.medium{height:calc(var(--ic-space-sm) + var(--ic-space-xs))}.divider.large{height:var(--ic-space-lg)}ic-input-validation{--ic-input-validation-status-text-color:var(--ic-time-picker-status-text);--ic-input-validation-error:var(--ic-time-picker-icon-error);--ic-input-validation-warning-icon-color:var(--ic-time-picker-icon-warning);--ic-input-validation-success-icon-color:var(--ic-time-picker-icon-success)}@media (forced-colors: active){.clear-button svg{color:currentColor}}";
12
+ const IcTimeInputStyle0 = icTimeInputCss;
13
+
14
+ let inputIds = 0;
15
+ const TimeInput = class {
16
+ constructor(hostRef) {
17
+ index.registerInstance(this, hostRef);
18
+ this.clockButtonClicked = index.createEvent(this, "clockButtonClicked", 7);
19
+ this.icBlur = index.createEvent(this, "icBlur", 7);
20
+ this.icChange = index.createEvent(this, "icChange", 7);
21
+ this.icFocus = index.createEvent(this, "icFocus", 7);
22
+ this.DEFAULT_TIME_FORMAT = "HH:MM:SS";
23
+ this.ARIA_INVALID = "aria-invalid";
24
+ this.ARIA_LABEL = "aria-label";
25
+ this.ARIA_LABELLED_BY = "aria-labelledby";
26
+ this.EVENT_OBJECT_STRING = "[object Event]";
27
+ this.FIT_TO_VALUE = "fit-to-value";
28
+ this.initialValue = this.value;
29
+ this.inputsInOrder = [];
30
+ this.isValidHour = true;
31
+ this.isValidMinute = true;
32
+ this.isValidSecond = true;
33
+ this.isValidTime = true;
34
+ this.isTimeSetFromKeyboardEvent = false;
35
+ this.previousSelectedTime = null;
36
+ this.selectedTime = null;
37
+ this.externalSetTime = false;
38
+ this.clearInput = false;
39
+ this.maxTime = null;
40
+ this.minTime = null;
41
+ this.clockFocused = false;
42
+ this.clearButtonFocused = false;
43
+ this.removeLabelledBy = false;
44
+ this.hour = "";
45
+ this.minute = "";
46
+ this.second = "";
47
+ /**
48
+ * If `true`, the disabled state will be set.
49
+ */
50
+ this.disabled = false;
51
+ /**
52
+ * An array of times that will be disabled in the time input. The times can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
53
+ */
54
+ this.disableTimes = [];
55
+ /**
56
+ * If `true`, every individual input field completed will emit an icChange event.
57
+ */
58
+ this.emitTimePartChange = false;
59
+ /**
60
+ * If `true`, the helper text will be visually hidden, but still read out by screenreaders.
61
+ */
62
+ this.hideHelperText = false;
63
+ /**
64
+ * If `true`, the label will be visually hidden, but will still be read out by screen readers.
65
+ */
66
+ this.hideLabel = false;
67
+ /**
68
+ * The ID for the input.
69
+ */
70
+ this.inputId = `ic-time-input-${inputIds++}`;
71
+ /**
72
+ * The text to display as the validation message when an invalid time is entered.
73
+ */
74
+ this.invalidTimeMessage = "Please enter a valid time.";
75
+ /**
76
+ * The latest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
77
+ */
78
+ this.max = "";
79
+ /**
80
+ * The earliest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
81
+ */
82
+ this.min = "";
83
+ /**
84
+ * The name of the control, which is submitted with the form data.
85
+ */
86
+ this.name = this.inputId;
87
+ /**
88
+ * If `true`, the input will require a value.
89
+ */
90
+ this.required = false;
91
+ /**
92
+ * If `true`, a button which clears the time input when clicked will be displayed.
93
+ */
94
+ this.showClearButton = true;
95
+ /**
96
+ * @internal If `true`, a button which displays the clock view when clicked will be displayed.
97
+ */
98
+ this.showClockButton = false;
99
+ /**
100
+ * The size of the time input to be displayed.
101
+ */
102
+ this.size = "medium";
103
+ /**
104
+ * Sets the time picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
105
+ */
106
+ this.theme = "inherit";
107
+ /**
108
+ * The format in which the time will be displayed.
109
+ */
110
+ this.timeFormat = this.DEFAULT_TIME_FORMAT;
111
+ /**
112
+ * The time period format: "12" for 12-hour, "24" for 24-hour. Defaults to "24".
113
+ */
114
+ this.timePeriod = "24";
115
+ /**
116
+ * The value of the time input. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
117
+ */
118
+ this.value = "";
119
+ /**
120
+ * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in time validation.
121
+ */
122
+ this.validationStatus = "";
123
+ /**
124
+ * The text to display as the validation message. This will override the built-in time validation.
125
+ */
126
+ this.validationText = "";
127
+ this.setInputPasteValue = (input, pastedValue) => {
128
+ if (input) {
129
+ const inputEl = input;
130
+ inputEl.value = pastedValue;
131
+ inputEl.classList.add(this.FIT_TO_VALUE);
132
+ }
133
+ };
134
+ this.parseTime = (value) => {
135
+ if (!value)
136
+ return null;
137
+ if (value instanceof Date)
138
+ return value;
139
+ const parts = value.split(":");
140
+ if (parts.length >= 2) {
141
+ const d = new Date();
142
+ d.setHours(+parts[0], +parts[1], parts[2] ? +parts[2] : 0, 0);
143
+ return d;
144
+ }
145
+ return null;
146
+ };
147
+ this.isHHMMFormat = () => this.timeFormat === "HH:MM";
148
+ this.isKeyboardOrEvent = (event) => {
149
+ return (Object.prototype.toString.call(event) === this.EVENT_OBJECT_STRING ||
150
+ Object.prototype.toString.call(event) === "[object KeyboardEvent]");
151
+ };
152
+ this.setTimeValidity = () => {
153
+ const minHour = 0;
154
+ const maxHour = this.timePeriod === "12" ? 11 : 23;
155
+ if (!helpers.isEmptyString(this.hour)) {
156
+ this.isValidHour = +this.hour >= minHour && +this.hour <= maxHour;
157
+ }
158
+ else {
159
+ this.isValidHour = true;
160
+ }
161
+ if (!helpers.isEmptyString(this.minute)) {
162
+ this.isValidMinute = +this.minute >= 0 && +this.minute <= 59;
163
+ }
164
+ else {
165
+ this.isValidMinute = true;
166
+ }
167
+ if (!this.isHHMMFormat()) {
168
+ if (!helpers.isEmptyString(this.second)) {
169
+ this.isValidSecond = +this.second >= 0 && +this.second <= 59;
170
+ }
171
+ else {
172
+ this.isValidSecond = true;
173
+ }
174
+ }
175
+ else {
176
+ this.isValidSecond = true;
177
+ }
178
+ };
179
+ this.setInputValue = (input, clear = false) => {
180
+ const newValue = clear ? "" : input.value;
181
+ if (input === this.hourInputEl) {
182
+ this.hour = newValue;
183
+ }
184
+ else if (input === this.minuteInputEl) {
185
+ this.minute = newValue;
186
+ }
187
+ else if (input === this.secondInputEl && !this.isHHMMFormat()) {
188
+ this.second = newValue;
189
+ }
190
+ this.setValidationMessage();
191
+ };
192
+ this.setPreventInput = (input, isPrevented) => {
193
+ if (input === this.hourInputEl) {
194
+ this.preventHourInput = isPrevented;
195
+ }
196
+ else if (input === this.minuteInputEl) {
197
+ this.preventMinuteInput = isPrevented;
198
+ }
199
+ else if (input === this.secondInputEl) {
200
+ this.preventSecondInput = isPrevented;
201
+ }
202
+ };
203
+ this.setValidationMessage = () => {
204
+ this.maxTime = this.parseTime(this.max);
205
+ this.minTime = this.parseTime(this.min);
206
+ this.setTimeValidity();
207
+ let outOfBoundsMsg = "";
208
+ let isDisabledTime = false;
209
+ if (!helpers.isEmptyString(this.hour) &&
210
+ !helpers.isEmptyString(this.minute) &&
211
+ (this.isHHMMFormat() || !helpers.isEmptyString(this.second))) {
212
+ this.selectedTime = this.convertToTime(this.hour, this.minute, this.isHHMMFormat() ? "00" : this.second);
213
+ this.isValidTime =
214
+ !!this.selectedTime &&
215
+ this.selectedTime.getHours() == +this.hour &&
216
+ this.selectedTime.getMinutes() == +this.minute &&
217
+ (this.isHHMMFormat() || this.selectedTime.getSeconds() == +this.second);
218
+ if (this.selectedTime &&
219
+ Array.isArray(this.disableTimes) &&
220
+ this.disableTimes.length > 0) {
221
+ isDisabledTime = this.disableTimes.some((t) => {
222
+ if (typeof t === "object" &&
223
+ t !== null &&
224
+ "start" in t &&
225
+ "end" in t) {
226
+ const start = this.parseTime(t.start);
227
+ const end = this.parseTime(t.end);
228
+ if (start && end) {
229
+ return this.selectedTime >= start && this.selectedTime <= end;
230
+ }
231
+ return false;
232
+ }
233
+ const parsed = this.parseTime(t);
234
+ return (parsed &&
235
+ parsed.getHours() === this.selectedTime.getHours() &&
236
+ parsed.getMinutes() === this.selectedTime.getMinutes() &&
237
+ parsed.getSeconds() === this.selectedTime.getSeconds());
238
+ });
239
+ if (isDisabledTime) {
240
+ this.isValidTime = false;
241
+ outOfBoundsMsg = this.invalidTimeMessage;
242
+ }
243
+ }
244
+ if (this.selectedTime && !isDisabledTime) {
245
+ if (this.minTime && this.selectedTime < this.minTime) {
246
+ this.isValidTime = false;
247
+ outOfBoundsMsg = `Please enter a time after ${this.formatTime(this.minTime)}.`;
248
+ }
249
+ else if (this.maxTime && this.selectedTime > this.maxTime) {
250
+ this.isValidTime = false;
251
+ outOfBoundsMsg = `Please enter a time before ${this.formatTime(this.maxTime)}.`;
252
+ }
253
+ }
254
+ if (!this.isValidTime) {
255
+ this.inputsInOrder.forEach((input) => input.setAttribute(this.ARIA_INVALID, "true"));
256
+ }
257
+ else {
258
+ this.inputsInOrder.forEach((input) => input.removeAttribute(this.ARIA_INVALID));
259
+ }
260
+ }
261
+ else {
262
+ this.selectedTime = null;
263
+ }
264
+ if (!(this.isValidHour &&
265
+ this.isValidMinute &&
266
+ this.isValidSecond &&
267
+ this.isValidTime)) {
268
+ this.invalidTimeText = outOfBoundsMsg || this.invalidTimeMessage;
269
+ }
270
+ else {
271
+ this.invalidTimeText = "";
272
+ }
273
+ };
274
+ this.formatTime = (time) => {
275
+ const hh = time.getHours().toString().padStart(2, "0");
276
+ const mm = time.getMinutes().toString().padStart(2, "0");
277
+ const ss = time.getSeconds().toString().padStart(2, "0");
278
+ return this.isHHMMFormat() ? `${hh}:${mm}` : `${hh}:${mm}:${ss}`;
279
+ };
280
+ this.handleInput = (event) => {
281
+ const inputEvent = event;
282
+ const input = event.target;
283
+ if (input !== this.hourInputEl) {
284
+ if (inputEvent.inputType !== "deleteContentBackward" &&
285
+ !this.preventAutoFormatting) {
286
+ if (input.value.length === 1 &&
287
+ +input.value >= 6 &&
288
+ +input.value <= 9) {
289
+ this.setInputValue(input);
290
+ this.notifyScreenReader(input);
291
+ this.moveToNextInput(input);
292
+ }
293
+ if (input.value.length === 2) {
294
+ this.setInputValue(input);
295
+ this.setPreventInput(input, true);
296
+ this.notifyScreenReader(input);
297
+ this.moveToNextInput(input);
298
+ }
299
+ else {
300
+ this.setPreventInput(input, false);
301
+ }
302
+ }
303
+ else if (this.preventAutoFormatting) {
304
+ if (input.value.length === 2 && !this.isKeyboardOrEvent(event)) {
305
+ this.setInputValue(input);
306
+ this.setPreventInput(input, true);
307
+ this.moveToNextInput(input);
308
+ }
309
+ else {
310
+ this.setInputValue(input);
311
+ }
312
+ }
313
+ if (input.value.length !== 2) {
314
+ this.setPreventInput(input, false);
315
+ }
316
+ }
317
+ else {
318
+ if (input.value.length === 2) {
319
+ this.setInputValue(input);
320
+ if (Object.prototype.toString.call(event) !== this.EVENT_OBJECT_STRING) {
321
+ this.moveToNextInput(input);
322
+ }
323
+ this.setPreventInput(input, true);
324
+ }
325
+ else {
326
+ this.setInputValue(input, true);
327
+ this.setPreventInput(input, false);
328
+ }
329
+ }
330
+ this.setFitToValueStyling(input);
331
+ if (input.value.length === 0) {
332
+ this.setInputValue(input, true);
333
+ this.setValidationMessage();
334
+ }
335
+ this.notifyScreenReader(input);
336
+ };
337
+ this.handleKeyDown = (event, isInputPrevented) => {
338
+ var _a;
339
+ const input = event.target;
340
+ const eventKey = (_a = event.key) === null || _a === void 0 ? void 0 : _a.toLowerCase();
341
+ const regex = /-?\d*\.?\d+(e[-+]?\d+)?|[:]|arrowup|arrowdown|arrowleft|arrowright|shift|tab|backspace|delete/;
342
+ if (!regex.test(eventKey) &&
343
+ !((event.ctrlKey || event.metaKey) &&
344
+ (eventKey === "v" || eventKey === "c"))) {
345
+ event.preventDefault();
346
+ }
347
+ switch (eventKey) {
348
+ case ":":
349
+ case "arrowright":
350
+ event.preventDefault();
351
+ this.moveToNextInput(input);
352
+ break;
353
+ case "arrowleft":
354
+ event.preventDefault();
355
+ this.moveToPreviousInput(input);
356
+ break;
357
+ case "arrowup":
358
+ case "arrowdown":
359
+ this.preventAutoFormatting = true;
360
+ this.handleUpDownArrowKeyPress(input, event);
361
+ break;
362
+ case "backspace":
363
+ if (input.value.length === 0) {
364
+ event.preventDefault();
365
+ this.moveToPreviousInput(input);
366
+ }
367
+ break;
368
+ }
369
+ this.preventInput(event, isInputPrevented);
370
+ this.isTimeSetFromKeyboardEvent = true;
371
+ };
372
+ this.handleFocus = (event) => {
373
+ const input = event.target;
374
+ input.select();
375
+ };
376
+ this.handleBlur = (event) => {
377
+ const input = event.target;
378
+ if (input) {
379
+ this.autocompleteInput(input);
380
+ }
381
+ };
382
+ this.handleUpDownArrowKeyPress = (input, event) => {
383
+ let minValue = 0;
384
+ let maxValue = 59;
385
+ if (input === this.hourInputEl) {
386
+ minValue = 0;
387
+ maxValue = this.timePeriod === "12" ? 11 : 23;
388
+ }
389
+ let val = +input.value;
390
+ if (event.key === "ArrowUp") {
391
+ val = val + 1;
392
+ if (val > maxValue)
393
+ val = minValue;
394
+ input.value = val.toString().padStart(2, "0");
395
+ this.notifyScreenReader(input);
396
+ }
397
+ if (event.key === "ArrowDown") {
398
+ val = val - 1;
399
+ if (val < minValue)
400
+ val = maxValue;
401
+ input.value = val.toString().padStart(2, "0");
402
+ this.notifyScreenReader(input);
403
+ }
404
+ this.setInputValue(input);
405
+ this.setFitToValueStyling(input);
406
+ };
407
+ this.handleTimeChange = (force) => {
408
+ if (force || this.selectedTime !== this.previousSelectedTime) {
409
+ if (this.value) {
410
+ this.inputsInOrder.forEach((input) => {
411
+ input.classList.add(this.FIT_TO_VALUE);
412
+ });
413
+ }
414
+ if (this.hour &&
415
+ this.minute &&
416
+ (this.isHHMMFormat() || this.second) &&
417
+ this.invalidTimeText === "") {
418
+ this.setValueAndEmitChange(this.selectedTime);
419
+ this.notifyScreenReaderSelectedTime();
420
+ }
421
+ else if (!(this.selectedTime === null && this.previousSelectedTime === null) &&
422
+ this.selectedTimeInfoEl) {
423
+ this.setValueAndEmitChange(null);
424
+ this.selectedTimeInfoEl.textContent = "";
425
+ }
426
+ this.previousSelectedTime = this.selectedTime;
427
+ if (!this.isTimeSetFromKeyboardEvent) {
428
+ this.updateInputValues(this.hour, this.minute, this.second);
429
+ }
430
+ }
431
+ };
432
+ this.setValueAndEmitChange = (value) => {
433
+ if (this.value !== value) {
434
+ this.emitIcChange(value);
435
+ this.value = value;
436
+ }
437
+ };
438
+ this.emitIcChange = (t) => {
439
+ this.selectedTime = t;
440
+ this.icChange.emit({
441
+ value: t,
442
+ timeObject: {
443
+ hour: this.hour === "" ? null : this.hour,
444
+ minute: this.minute === "" ? null : this.minute,
445
+ second: this.second === "" ? null : this.second,
446
+ },
447
+ });
448
+ };
449
+ this.setTime = (time) => {
450
+ if (time === null || time === "" || time === undefined) {
451
+ if (this.hour)
452
+ this.hour = "";
453
+ if (this.minute)
454
+ this.minute = "";
455
+ if (this.second)
456
+ this.second = "";
457
+ this.inputsInOrder.forEach((input) => {
458
+ input.classList.remove(this.FIT_TO_VALUE);
459
+ this.setPreventInput(input, false);
460
+ });
461
+ this.handleTimeChange(true);
462
+ }
463
+ else {
464
+ if (typeof time === "string") {
465
+ const zuluMatch = time.match(/^(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,3}))?Z?$/);
466
+ if (zuluMatch) {
467
+ this.hour = zuluMatch[1];
468
+ this.minute = zuluMatch[2];
469
+ this.second = zuluMatch[3];
470
+ }
471
+ else {
472
+ const parts = time.split(":");
473
+ this.hour = parts[0] || "";
474
+ this.minute = parts[1] || "";
475
+ this.second = parts[2] || "";
476
+ }
477
+ }
478
+ else if (time instanceof Date) {
479
+ this.hour = time.getHours().toString().padStart(2, "0");
480
+ this.minute = time.getMinutes().toString().padStart(2, "0");
481
+ this.second = time.getSeconds().toString().padStart(2, "0");
482
+ }
483
+ }
484
+ this.setValidationMessage();
485
+ };
486
+ this.setAriaInvalid = (validHour, validMinute, validSecond) => {
487
+ var _a, _b, _c;
488
+ if (this.inputsInOrder.length) {
489
+ this.inputsInOrder.forEach((input) => {
490
+ input.removeAttribute(this.ARIA_INVALID);
491
+ });
492
+ if (!validHour) {
493
+ (_a = this.hourInputEl) === null || _a === void 0 ? void 0 : _a.setAttribute(this.ARIA_INVALID, "true");
494
+ }
495
+ if (!validMinute) {
496
+ (_b = this.minuteInputEl) === null || _b === void 0 ? void 0 : _b.setAttribute(this.ARIA_INVALID, "true");
497
+ }
498
+ if (!validSecond) {
499
+ (_c = this.secondInputEl) === null || _c === void 0 ? void 0 : _c.setAttribute(this.ARIA_INVALID, "true");
500
+ }
501
+ if (!(validHour && validMinute && validSecond)) {
502
+ this.inputsInOrder.forEach((input) => {
503
+ input.setAttribute(this.ARIA_INVALID, "true");
504
+ });
505
+ }
506
+ }
507
+ };
508
+ this.handleClear = () => {
509
+ this.clearInput = true;
510
+ if (this.hourInputEl) {
511
+ this.hourInputEl.value = "";
512
+ }
513
+ if (this.minuteInputEl) {
514
+ this.minuteInputEl.value = "";
515
+ }
516
+ if (!this.isHHMMFormat() && this.secondInputEl) {
517
+ this.secondInputEl.value = "";
518
+ }
519
+ this.hour = "";
520
+ this.minute = "";
521
+ this.second = "";
522
+ this.handleTimeChange(true);
523
+ this.inputsInOrder.forEach((input) => {
524
+ input.classList.remove(this.FIT_TO_VALUE);
525
+ this.setPreventInput(input, false);
526
+ });
527
+ this.clearInput = false;
528
+ this.isTimeSetFromKeyboardEvent = false;
529
+ this.setValidationMessage();
530
+ this.invalidTimeText = "";
531
+ if (this.hourInputEl) {
532
+ this.hourInputEl.focus();
533
+ }
534
+ };
535
+ this.notifyScreenReaderSelectedTime = () => {
536
+ if (this.selectedTime && this.selectedTimeInfoEl) {
537
+ if (this.isHHMMFormat()) {
538
+ this.selectedTimeInfoEl.textContent = `Selected time: ${this.selectedTime
539
+ .getHours()
540
+ .toString()
541
+ .padStart(2, "0")}:${this.selectedTime
542
+ .getMinutes()
543
+ .toString()
544
+ .padStart(2, "0")}`;
545
+ }
546
+ else {
547
+ this.selectedTimeInfoEl.textContent = `Selected time: ${this.selectedTime
548
+ .getHours()
549
+ .toString()
550
+ .padStart(2, "0")}:${this.selectedTime
551
+ .getMinutes()
552
+ .toString()
553
+ .padStart(2, "0")}:${this.selectedTime
554
+ .getSeconds()
555
+ .toString()
556
+ .padStart(2, "0")}`;
557
+ }
558
+ }
559
+ };
560
+ this.setFitToValueStyling = (input) => {
561
+ if (input.value) {
562
+ input.classList.add(this.FIT_TO_VALUE);
563
+ }
564
+ else {
565
+ input.classList.remove(this.FIT_TO_VALUE);
566
+ }
567
+ };
568
+ this.handleHostBlur = () => {
569
+ this.removeLabelledBy = false;
570
+ this.icBlur.emit({ value: this.selectedTime });
571
+ };
572
+ this.handleHostFocus = () => {
573
+ var _a, _b;
574
+ if ((_b = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.activeElement) === null || _b === void 0 ? void 0 : _b.id.match(/(hour|minute|second)-input$/)) {
575
+ this.removeLabelledBy = false;
576
+ }
577
+ else {
578
+ this.removeLabelledBy = true;
579
+ }
580
+ this.icFocus.emit({ value: this.selectedTime });
581
+ };
582
+ this.handleFormReset = () => {
583
+ this.setTime(this.initialValue);
584
+ this.setValidationMessage();
585
+ this.handleTimeChange(false);
586
+ };
587
+ this.preventInput = (event, isInputPrevented) => {
588
+ const key = event.key;
589
+ const input = event.target;
590
+ let selectedString;
591
+ if (input) {
592
+ selectedString = input.value.substring(input.selectionStart || 0, input.selectionEnd || undefined);
593
+ }
594
+ if (key === "e" ||
595
+ key === "." ||
596
+ key === "-" ||
597
+ (event.key >= "0" &&
598
+ event.key <= "9" &&
599
+ isInputPrevented &&
600
+ !selectedString)) {
601
+ event.preventDefault();
602
+ }
603
+ };
604
+ this.moveToNextInput = (currentInput) => {
605
+ var _a;
606
+ this.preventAutoFormatting = false;
607
+ (_a = this.inputsInOrder[this.inputsInOrder.findIndex((input) => input === currentInput) + 1]) === null || _a === void 0 ? void 0 : _a.focus();
608
+ };
609
+ this.moveToPreviousInput = (currentInput) => {
610
+ var _a;
611
+ this.preventAutoFormatting = false;
612
+ (_a = this.inputsInOrder[this.inputsInOrder.findIndex((input) => input === currentInput) - 1]) === null || _a === void 0 ? void 0 : _a.focus();
613
+ };
614
+ this.autocompleteInput = (input) => {
615
+ const inputValue = input.value;
616
+ if (inputValue.length === 1) {
617
+ input.value = `0${inputValue}`;
618
+ }
619
+ if (input.value) {
620
+ this.setInputValue(input);
621
+ }
622
+ };
623
+ this.convertToTime = (hour, minute, second) => {
624
+ if (!helpers.isEmptyString(hour) &&
625
+ !helpers.isEmptyString(minute) &&
626
+ (this.isHHMMFormat() || !helpers.isEmptyString(second))) {
627
+ const d = new Date();
628
+ d.setHours(+hour, +minute, this.isHHMMFormat() ? 0 : +second, 0);
629
+ return d;
630
+ }
631
+ else {
632
+ return null;
633
+ }
634
+ };
635
+ this.setInputsInOrder = () => {
636
+ var _a;
637
+ this.inputsInOrder = [];
638
+ const shadowInputs = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll("input");
639
+ if (shadowInputs) {
640
+ shadowInputs.forEach((input) => this.inputsInOrder.push(input));
641
+ }
642
+ };
643
+ this.updateInputValues = (hour, minute, second) => {
644
+ if (this.hourInputEl && this.minuteInputEl && this.secondInputEl) {
645
+ this.hourInputEl.value = hour;
646
+ this.minuteInputEl.value = minute;
647
+ this.secondInputEl.value = second;
648
+ }
649
+ };
650
+ this.removeAriaLabelledBy = () => {
651
+ var _a;
652
+ (_a = this.inputCompContainerEl) === null || _a === void 0 ? void 0 : _a.removeAttribute(this.ARIA_LABELLED_BY);
653
+ };
654
+ this.setAriaLabelledBy = () => {
655
+ var _a, _b, _c, _d;
656
+ if (this.disabled &&
657
+ ((_a = this.inputCompContainerEl) === null || _a === void 0 ? void 0 : _a.getAttribute(this.ARIA_LABELLED_BY))) {
658
+ this.removeAriaLabelledBy();
659
+ return;
660
+ }
661
+ if (this.disabled) {
662
+ return;
663
+ }
664
+ const labelEl = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("label");
665
+ const labelId = `${this.inputId}-label`;
666
+ if (labelEl !== null && labelEl !== undefined) {
667
+ labelEl.id = labelId;
668
+ }
669
+ const hasValidation = !helpers.isEmptyString(this.validationStatus) ||
670
+ !helpers.isEmptyString(this.invalidTimeText);
671
+ const labelledBy = `${(_c = labelEl === null || labelEl === void 0 ? void 0 : labelEl.id) !== null && _c !== void 0 ? _c : ""} ${this.screenReaderInfoId} ${helpers.getInputDescribedByText(this.el, this.inputId, this.helperText !== "" && this.helperText !== this.defaultHelperText, hasValidation)} ${this.selectedTime ? this.selectedTimeInfoId : ""} ${this.assistiveHintId}`;
672
+ (_d = this.inputCompContainerEl) === null || _d === void 0 ? void 0 : _d.setAttribute(this.ARIA_LABELLED_BY, labelledBy);
673
+ };
674
+ this.getInputsInOrder = () => {
675
+ const timeParts = this.timeFormat.split(":");
676
+ return timeParts.map((part) => {
677
+ switch (part.substring(0, 1)) {
678
+ case "H":
679
+ return (index.h("input", { class: "hour-input", id: "hour-input", ref: (el) => (this.hourInputEl = el), "aria-label": "hour", placeholder: "HH", disabled: this.disabled, inputmode: "number", pattern: "[0-9]*", onPaste: this.handlePaste, onKeyDown: (event) => this.handleKeyDown(event, this.preventHourInput) }));
680
+ case "M":
681
+ return (index.h("input", { id: "minute-input", class: "minute-input", ref: (el) => (this.minuteInputEl = el), "aria-label": "minute", placeholder: "MM", disabled: this.disabled, inputmode: "number", pattern: "[0-9]*", onPaste: this.handlePaste, onKeyDown: (event) => this.handleKeyDown(event, this.preventMinuteInput) }));
682
+ case "S":
683
+ if (!this.isHHMMFormat()) {
684
+ return (index.h("input", { id: "second-input", class: "second-input", ref: (el) => (this.secondInputEl = el), "aria-label": "second", placeholder: "SS", disabled: this.disabled, inputmode: "number", pattern: "[0-9]*", onPaste: this.handlePaste, onKeyDown: (event) => this.handleKeyDown(event, this.preventSecondInput) }));
685
+ }
686
+ return null;
687
+ default:
688
+ return null;
689
+ }
690
+ });
691
+ };
692
+ this.getDescOfInputsOrder = () => {
693
+ return "hour, minute, and second";
694
+ };
695
+ this.getScreenReaderInfo = (validationStatus) => {
696
+ let inputDescriptors = "";
697
+ if (this.required) {
698
+ inputDescriptors += "required";
699
+ }
700
+ if (validationStatus === helpers.IcInformationStatus.Error) {
701
+ inputDescriptors += " invalid data";
702
+ }
703
+ return inputDescriptors === "" ? "" : inputDescriptors + ", ";
704
+ };
705
+ this.notifyScreenReader = (input) => {
706
+ var _a;
707
+ const liveRegion = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("#live-region");
708
+ if (liveRegion) {
709
+ liveRegion.textContent = `${input.value}, ${input.getAttribute(this.ARIA_LABEL)}`;
710
+ }
711
+ };
712
+ this.handlePaste = (event) => {
713
+ var _a;
714
+ event.preventDefault();
715
+ const pastedValue = ((_a = event.clipboardData) === null || _a === void 0 ? void 0 : _a.getData("Text")) || "";
716
+ const isValidTime = this.isPastedStringTimeValid(pastedValue);
717
+ this.setPastedValueAndValidation(isValidTime, pastedValue, event);
718
+ };
719
+ this.handleClearFocus = () => {
720
+ this.removeLabelledBy = true;
721
+ this.clearButtonFocused = true;
722
+ this.isTimeSetFromKeyboardEvent = true;
723
+ };
724
+ this.handleClearBlur = (ev) => {
725
+ this.clearButtonFocused = false;
726
+ this.isTimeSetFromKeyboardEvent = true;
727
+ const relatedTarget = ev.relatedTarget;
728
+ if ((relatedTarget === null || relatedTarget === void 0 ? void 0 : relatedTarget.id) === "clock-button") {
729
+ this.removeLabelledBy = false;
730
+ return;
731
+ }
732
+ if (relatedTarget === null || relatedTarget === void 0 ? void 0 : relatedTarget.id.match(/(minute|second)-input$/)) {
733
+ this.removeLabelledBy = false;
734
+ return;
735
+ }
736
+ this.removeLabelledBy = true;
737
+ };
738
+ this.handleClockFocus = () => {
739
+ this.clockFocused = true;
740
+ };
741
+ this.handleClockBlur = () => {
742
+ this.clockFocused = false;
743
+ };
744
+ this.isPastedStringTimeValid = (value) => {
745
+ if (this.isHHMMFormat()) {
746
+ if (/^\d{2}:\d{2}$/.test(value)) {
747
+ return value;
748
+ }
749
+ }
750
+ else {
751
+ if (/^\d{2}:\d{2}:\d{2}$/.test(value)) {
752
+ return value;
753
+ }
754
+ if (/^\d{2}:\d{2}:\d{2}Z$/.test(value)) {
755
+ return value.replace("Z", "");
756
+ }
757
+ const isoMatch = value.match(/T(\d{2}:\d{2}:\d{2})/);
758
+ if (isoMatch) {
759
+ return isoMatch[1];
760
+ }
761
+ }
762
+ return false;
763
+ };
764
+ this.setPastedValueAndValidation = (isValidTime, pastedValue, event) => {
765
+ if (isValidTime) {
766
+ const timeParts = isValidTime.split(":");
767
+ this.inputsInOrder.forEach((input, index) => {
768
+ input.classList.add(this.FIT_TO_VALUE);
769
+ const timeValue = timeParts[index] || "";
770
+ input.value = timeValue.slice(0, 2);
771
+ this.setInputValue(input);
772
+ this.autocompleteInput(input);
773
+ });
774
+ if (this.isHHMMFormat() && this.second !== "") {
775
+ this.second = "";
776
+ }
777
+ }
778
+ else {
779
+ const pasted = pastedValue.trim();
780
+ if ((pasted.length === 1 || pasted.length === 2) && helpers.isNumeric(pasted)) {
781
+ this.setInputPasteValue(event.target, pasted);
782
+ this.setInputValue(event.target);
783
+ }
784
+ else {
785
+ this.invalidTimeText = `Please paste a valid ${event.target.getAttribute(this.ARIA_LABEL)}`;
786
+ this.validationStatus = helpers.IcInformationStatus.Error;
787
+ }
788
+ }
789
+ };
790
+ }
791
+ watchInputHandler() {
792
+ if (this.emitTimePartChange &&
793
+ !this.externalSetTime &&
794
+ !this.clearInput &&
795
+ !(this.hour && this.minute && this.second) &&
796
+ this.selectedTime === null) {
797
+ this.emitIcChange(this.selectedTime);
798
+ }
799
+ }
800
+ watchDisabledHandler() {
801
+ helpers.removeDisabledFalse(this.disabled, this.el);
802
+ }
803
+ watchMaxHandler() {
804
+ this.maxTime = this.parseTime(this.max);
805
+ }
806
+ watchMinHandler() {
807
+ this.minTime = this.parseTime(this.min);
808
+ }
809
+ watchRequiredHandler() {
810
+ var _a, _b;
811
+ const labelEl = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("label");
812
+ if (this.required) {
813
+ const asteriskSpan = document.createElement("span");
814
+ asteriskSpan.setAttribute("id", "asterisk-span");
815
+ asteriskSpan.setAttribute("aria-hidden", "true");
816
+ asteriskSpan.textContent = " *";
817
+ labelEl === null || labelEl === void 0 ? void 0 : labelEl.appendChild(asteriskSpan);
818
+ }
819
+ else {
820
+ const asteriskSpan = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("#asterisk-span");
821
+ if (asteriskSpan) {
822
+ asteriskSpan.remove();
823
+ }
824
+ }
825
+ }
826
+ disconnectedCallback() {
827
+ helpers.removeFormResetListener(this.el, this.handleFormReset);
828
+ }
829
+ componentWillLoad() {
830
+ this.defaultHelperText = `Use format ${this.timeFormat}`;
831
+ if (helpers.isEmptyString(this.helperText))
832
+ this.helperText = this.defaultHelperText;
833
+ if (this.value) {
834
+ this.externalSetTime = true;
835
+ this.setTime(this.value);
836
+ }
837
+ this.screenReaderInfoId = `${this.inputId}-screen-reader-info`;
838
+ this.assistiveHintId = `${this.inputId}-assistive-hint`;
839
+ this.selectedTimeInfoId = `${this.inputId}-selected-time-info`;
840
+ helpers.addFormResetListener(this.el, this.handleFormReset);
841
+ helpers.removeDisabledFalse(this.disabled, this.el);
842
+ }
843
+ componentDidLoad() {
844
+ this.setInputsInOrder();
845
+ helpers.onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Time Input");
846
+ if (this.value) {
847
+ this.updateInputValues(this.hour, this.minute, this.second);
848
+ this.inputsInOrder.forEach((input) => {
849
+ input.classList.add(this.FIT_TO_VALUE);
850
+ });
851
+ }
852
+ this.setAriaInvalid(this.isValidHour, this.isValidMinute, this.isValidSecond);
853
+ if (this.value) {
854
+ this.notifyScreenReaderSelectedTime();
855
+ }
856
+ this.inputsInOrder.forEach((input) => {
857
+ input.addEventListener("input", this.handleInput);
858
+ input.addEventListener("focus", this.handleFocus);
859
+ input.addEventListener("blur", this.handleBlur);
860
+ });
861
+ this.watchRequiredHandler();
862
+ }
863
+ componentWillUpdate() {
864
+ if (helpers.isEmptyString(this.helperText))
865
+ this.helperText = this.defaultHelperText;
866
+ if (!this.isTimeSetFromKeyboardEvent)
867
+ this.setTime(this.value);
868
+ this.setAriaInvalid(this.isValidHour, this.isValidMinute, this.isValidSecond);
869
+ this.handleTimeChange(false);
870
+ this.isTimeSetFromKeyboardEvent = false;
871
+ }
872
+ componentDidRender() {
873
+ if (this.removeLabelledBy) {
874
+ this.removeAriaLabelledBy();
875
+ return;
876
+ }
877
+ this.setAriaLabelledBy();
878
+ }
879
+ /**
880
+ * Returns the value as a Date object
881
+ * @returns Date
882
+ */
883
+ async getTime() {
884
+ return this.selectedTime;
885
+ }
886
+ /**
887
+ * @internal Used to enable other components to invoke an IcChange event from the input.
888
+ */
889
+ async triggerIcChange(t) {
890
+ this.externalSetTime = true;
891
+ this.setTime(t);
892
+ this.emitIcChange(t);
893
+ this.externalSetTime = false;
894
+ }
895
+ render() {
896
+ const { inputId, label, disabled, helperText, hideHelperText, hideLabel, showClearButton, showClockButton, size, theme, } = this;
897
+ const hasCustomValidation = !helpers.isEmptyString(this.validationStatus);
898
+ const validationStatus = hasCustomValidation
899
+ ? this.validationStatus
900
+ : !helpers.isEmptyString(this.invalidTimeText)
901
+ ? helpers.IcInformationStatus.Error
902
+ : "";
903
+ const assistiveHint = `Type or use the up and down arrow keys to change the values for the ${this.getDescOfInputsOrder()}.`;
904
+ helpers.renderHiddenInput(true, this.el, this.name, this.convertToTime(this.hour, this.minute, this.second), this.disabled);
905
+ const showDivider = !!(showClearButton &&
906
+ !(helpers.isEmptyString(this.hour) &&
907
+ helpers.isEmptyString(this.minute) &&
908
+ helpers.isEmptyString(this.second)));
909
+ return (index.h(index.Host, { key: 'cf8b05ab0ccc0a0a779296e4dd3ba52375547b13', class: {
910
+ [`ic-theme-${theme}`]: theme !== "inherit",
911
+ [`ic-time-input-disabled`]: disabled,
912
+ [`ic-time-input-${size}`]: true,
913
+ }, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, index.h("ic-input-container", { key: 'b104968d5b191f040358a7e800f11cb6dd036407', disabled: disabled }, !(hideLabel && hideHelperText) && (index.h("ic-input-label", { key: 'fa0eaeef4aab6aef24b830e466ba87d68eb84b84', for: inputId, label: label, hideLabel: hideLabel, helperText: !hideHelperText ? helperText : "", disabled: disabled }, index.h("slot", { key: 'e4548928534459ff788ff576483b560cf90fed53', name: "helper-text", slot: "helper-text" }))), index.h("span", { key: '6f119c460880a9adb8661309c3a59cfee061ae7c', id: this.screenReaderInfoId, class: "sr-only", "aria-hidden": "true" }, this.getScreenReaderInfo(validationStatus), hideLabel && `${label}\n`, hideHelperText && `${helperText}\n`, `${this.defaultHelperText}.`), index.h("span", { key: 'bd5ce20dab45d2514cd4219eee0d1645596e5e6e', id: this.assistiveHintId, class: "sr-only", "aria-hidden": "true" }, assistiveHint), index.h("span", { key: 'e3d4a1e518f7bcb1b35ee065b5f038f9f6f3ffe7', id: "live-region", "aria-live": "assertive", class: "sr-only" }), index.h("ic-input-component-container", { key: '396b05aa89aa0e24a1853cc5de20abb5341c49e5', id: inputId, ref: (el) => (this.inputCompContainerEl = el), disabled: disabled, validationStatus: validationStatus, size: size, role: "group", class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, index.h("div", { key: '2ac49a3454ce8dbabb546e54af197f0a66840499', class: "input-container" }, index.h("div", { key: '6917d370b61c997d888c133bb27d5fa8f94a79c0', class: "time-inputs" }, [
914
+ this.getInputsInOrder()[0],
915
+ ":",
916
+ this.getInputsInOrder()[1],
917
+ !this.isHHMMFormat()
918
+ ? [":", this.getInputsInOrder()[2]]
919
+ : null,
920
+ ]), index.h("div", { key: 'f09f3442355e75170fb1916727fdcac001df885d', class: "action-buttons" }, showClearButton && (index.h("ic-button", { key: '27173fcbdcd13798c4adc66eda9469bc471693ea', id: "clear-button", "aria-label": "Clear input", class: {
921
+ ["clear-button"]: true,
922
+ ["hidden"]: helpers.isEmptyString(this.hour) &&
923
+ helpers.isEmptyString(this.minute) &&
924
+ helpers.isEmptyString(this.second),
925
+ }, disabled: this.disabled, innerHTML: clearIcon.Clear, onClick: this.handleClear, onFocus: this.handleClearFocus, onBlur: this.handleClearBlur, variant: "icon-tertiary", theme: this.clearButtonFocused ? "light" : "dark", size: size })), showClockButton && (index.h("div", { key: '606a05c923fc4b95c21d0418be14168982117938', class: "show-clock-button-wrapper" }, index.h("div", { key: '4b9b2d37ed3a9661615685f3b077ac244295fbd1', class: { divider: showDivider, [size]: true } }), index.h("ic-button", { key: 'ab6ec2ca4b1442a23834e1a514800cd0f77c92d5', id: "clock-button", "aria-label": "Display clock", "aria-haspopup": "dialog", class: "clock-button", disabled: this.disabled, innerHTML: Clock, variant: "icon-tertiary", size: size, onFocus: this.handleClockFocus, onBlur: this.handleClockBlur, theme: this.clockFocused ? "light" : "dark" })))))), index.h("span", { key: '1695846e5d626056f5a0e372c8513fcf0001f0b9', id: this.selectedTimeInfoId, class: "sr-only", "aria-live": "polite" }, index.h("span", { key: '34f41adff4bc3642d21014b85e525b6f80814bb6', ref: (el) => (this.selectedTimeInfoEl = el), role: "status" })), (hasCustomValidation || !helpers.isEmptyString(this.invalidTimeText)) && (index.h("ic-input-validation", { key: '4b9326e9e9df98698c2c6643262122658a1434de', status: validationStatus, message: hasCustomValidation ? this.validationText : this.invalidTimeText, for: inputId })))));
926
+ }
927
+ static get delegatesFocus() { return true; }
928
+ get el() { return index.getElement(this); }
929
+ static get watchers() { return {
930
+ "hour": ["watchInputHandler"],
931
+ "minute": ["watchInputHandler"],
932
+ "second": ["watchInputHandler"],
933
+ "disabled": ["watchDisabledHandler"],
934
+ "max": ["watchMaxHandler"],
935
+ "min": ["watchMinHandler"],
936
+ "required": ["watchRequiredHandler"]
937
+ }; }
938
+ };
939
+ TimeInput.style = IcTimeInputStyle0;
940
+
941
+ exports.ic_time_input = TimeInput;
942
+
943
+ //# sourceMappingURL=ic-time-input.cjs.entry.js.map