@ukic/canary-web-components 2.0.0-canary.8 → 2.0.0-canary.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (371) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/date-helpers-c9551119.js +150 -0
  3. package/dist/cjs/date-helpers-c9551119.js.map +1 -0
  4. package/dist/cjs/{helpers-b525d45a.js → helpers-7a069459.js} +7 -2
  5. package/dist/cjs/helpers-7a069459.js.map +1 -0
  6. package/dist/cjs/{helpers-93c5fc92.js → helpers-f75cf7cf.js} +94 -12
  7. package/dist/cjs/helpers-f75cf7cf.js.map +1 -0
  8. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-button_3.cjs.entry.js +8 -2
  15. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-card.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  21. package/dist/cjs/ic-date-input.cjs.entry.js +1073 -0
  22. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -0
  23. package/dist/cjs/ic-date-picker.cjs.entry.js +1043 -0
  24. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -0
  25. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +150 -0
  34. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -0
  35. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -1
  40. package/dist/cjs/{ic-input-component-container_3.cjs.entry.js → ic-menu.cjs.entry.js} +3 -67
  41. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -0
  42. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  44. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-pagination-bar.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-pagination_4.cjs.entry.js +1 -1
  49. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  50. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  51. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  52. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-select-with-multi.cjs.entry.js +6 -19
  54. package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  56. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  57. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  58. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  61. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  67. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  68. package/dist/cjs/index-4cf27b16.js +12 -4
  69. package/dist/cjs/loader.cjs.js +1 -1
  70. package/dist/collection/assets/calendar.svg +3 -0
  71. package/dist/collection/collection-manifest.json +2 -0
  72. package/dist/collection/components/ic-date-input/ic-date-input.css +560 -0
  73. package/dist/collection/components/ic-date-input/ic-date-input.js +1668 -0
  74. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -0
  75. package/dist/collection/components/ic-date-input/story-data.js +28 -0
  76. package/dist/collection/components/ic-date-input/story-data.js.map +1 -0
  77. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js +1156 -0
  78. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js.map +1 -0
  79. package/dist/collection/components/ic-date-input/test/helpers/ic-date-input.js +42 -0
  80. package/dist/collection/components/ic-date-input/test/helpers/ic-date-input.js.map +1 -0
  81. package/dist/collection/components/ic-date-picker/ic-date-picker.css +878 -0
  82. package/dist/collection/components/ic-date-picker/ic-date-picker.js +1499 -0
  83. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -0
  84. package/dist/collection/components/ic-date-picker/ic-day-button.js +36 -0
  85. package/dist/collection/components/ic-date-picker/ic-day-button.js.map +1 -0
  86. package/dist/collection/components/ic-date-picker/ic-month-picker.js +29 -0
  87. package/dist/collection/components/ic-date-picker/ic-month-picker.js.map +1 -0
  88. package/dist/collection/components/ic-date-picker/ic-year-picker.js +39 -0
  89. package/dist/collection/components/ic-date-picker/ic-year-picker.js.map +1 -0
  90. package/dist/collection/components/ic-date-picker/story-data.js +143 -0
  91. package/dist/collection/components/ic-date-picker/story-data.js.map +1 -0
  92. package/dist/collection/components/ic-date-picker/test/a11y/ic-date-picker.test.a11y.js +13 -0
  93. package/dist/collection/components/ic-date-picker/test/a11y/ic-date-picker.test.a11y.js.map +1 -0
  94. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker-utils.spec.js +207 -0
  95. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker-utils.spec.js.map +1 -0
  96. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js +962 -0
  97. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js.map +1 -0
  98. package/dist/collection/components/ic-menu-with-multi/ic-menu.js +2 -2
  99. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -1
  100. package/dist/collection/components/ic-select-with-multi/ic-select.js +2 -2
  101. package/dist/collection/components/ic-select-with-multi/ic-select.js.map +1 -1
  102. package/dist/collection/utils/constants.js +55 -0
  103. package/dist/collection/utils/constants.js.map +1 -1
  104. package/dist/collection/utils/date-helpers.js +133 -0
  105. package/dist/collection/utils/date-helpers.js.map +1 -0
  106. package/dist/collection/utils/helpers.js +259 -10
  107. package/dist/collection/utils/helpers.js.map +1 -1
  108. package/dist/collection/utils/types.js +45 -0
  109. package/dist/collection/utils/types.js.map +1 -1
  110. package/dist/components/helpers.js +7 -2
  111. package/dist/components/helpers.js.map +1 -1
  112. package/dist/components/helpers2.js +91 -12
  113. package/dist/components/helpers2.js.map +1 -1
  114. package/dist/components/ic-button2.js +11 -3
  115. package/dist/components/ic-button2.js.map +1 -1
  116. package/dist/components/ic-card.js +1 -1
  117. package/dist/components/ic-checkbox-group.js +1 -1
  118. package/dist/components/ic-checkbox.js +1 -1
  119. package/dist/components/ic-chip.js +1 -1
  120. package/dist/components/ic-date-input.d.ts +11 -0
  121. package/dist/components/ic-date-input.js +8 -0
  122. package/dist/components/ic-date-input.js.map +1 -0
  123. package/dist/components/ic-date-input2.js +1301 -0
  124. package/dist/components/ic-date-input2.js.map +1 -0
  125. package/dist/components/ic-date-picker.d.ts +11 -0
  126. package/dist/components/ic-date-picker.js +1164 -0
  127. package/dist/components/ic-date-picker.js.map +1 -0
  128. package/dist/components/ic-input-component-container2.js +1 -1
  129. package/dist/components/ic-input-component-container2.js.map +1 -1
  130. package/dist/components/ic-link2.js +1 -1
  131. package/dist/components/ic-menu-item2.js +1 -1
  132. package/dist/components/ic-menu3.js +1 -1
  133. package/dist/components/ic-menu3.js.map +1 -1
  134. package/dist/components/ic-navigation-button.js +1 -1
  135. package/dist/components/ic-pagination-item2.js +1 -1
  136. package/dist/components/ic-pagination2.js +1 -1
  137. package/dist/components/ic-radio-group.js +1 -1
  138. package/dist/components/ic-radio-option.js +1 -1
  139. package/dist/components/ic-search-bar.js +1 -1
  140. package/dist/components/ic-select-with-multi.js +1 -14
  141. package/dist/components/ic-select-with-multi.js.map +1 -1
  142. package/dist/components/ic-select2.js +1 -1
  143. package/dist/components/ic-switch.js +1 -1
  144. package/dist/components/ic-tab.js +1 -1
  145. package/dist/components/ic-text-field2.js +1 -1
  146. package/dist/components/ic-toggle-button.js +1 -1
  147. package/dist/core/core.css +1 -1
  148. package/dist/core/core.esm.js +1 -1
  149. package/dist/core/core.esm.js.map +1 -1
  150. package/dist/core/{p-8b08d8fe.entry.js → p-06ae5bec.entry.js} +2 -2
  151. package/dist/core/{p-f843da01.entry.js → p-0939ce92.entry.js} +2 -2
  152. package/dist/core/{p-e0462b23.entry.js → p-16f67397.entry.js} +2 -2
  153. package/dist/core/{p-db9c03c0.entry.js → p-1832f4b5.entry.js} +2 -2
  154. package/dist/core/{p-ab09986c.entry.js → p-1b7d426b.entry.js} +2 -2
  155. package/dist/core/{p-5e0c830b.entry.js → p-1ce75941.entry.js} +2 -2
  156. package/dist/core/{p-1ca332ca.entry.js → p-2e2e0099.entry.js} +2 -2
  157. package/dist/core/p-33679c06.entry.js +2 -0
  158. package/dist/core/p-33679c06.entry.js.map +1 -0
  159. package/dist/core/{p-4753bac8.entry.js → p-36508aad.entry.js} +2 -2
  160. package/dist/core/{p-10fb4c46.entry.js → p-3745da83.entry.js} +2 -2
  161. package/dist/core/{p-3803a5b5.entry.js → p-3f2e77c3.entry.js} +2 -2
  162. package/dist/core/{p-88d54b72.entry.js → p-47ac6838.entry.js} +2 -2
  163. package/dist/core/{p-4baa0916.entry.js → p-4f1ffa39.entry.js} +2 -2
  164. package/dist/core/{p-f7a14c01.entry.js → p-5759d771.entry.js} +2 -2
  165. package/dist/core/{p-6c3044b6.entry.js → p-5e2e6c3b.entry.js} +2 -2
  166. package/dist/core/{p-2eac7dcc.entry.js → p-5fe96107.entry.js} +2 -2
  167. package/dist/core/{p-b82dcc29.entry.js → p-62e22508.entry.js} +2 -2
  168. package/dist/core/{p-75dac3d1.entry.js → p-6690bc04.entry.js} +2 -2
  169. package/dist/core/{p-c125b65a.entry.js → p-6c0e2ceb.entry.js} +2 -2
  170. package/dist/core/{p-a0f8efb2.entry.js → p-76d26018.entry.js} +2 -2
  171. package/dist/core/{p-4f413fc0.entry.js → p-776671cf.entry.js} +2 -2
  172. package/dist/core/{p-5ae93c16.entry.js → p-7cecf5d5.entry.js} +2 -2
  173. package/dist/core/{p-7ef8d616.entry.js → p-85609bdd.entry.js} +2 -2
  174. package/dist/core/{p-a43c12cd.entry.js → p-86012178.entry.js} +2 -2
  175. package/dist/core/{p-942282cd.entry.js → p-8a7e7d23.entry.js} +2 -2
  176. package/dist/core/{p-a50c3b9e.entry.js → p-8c90110a.entry.js} +2 -2
  177. package/dist/core/{p-045359e1.entry.js → p-8ea47d42.entry.js} +2 -2
  178. package/dist/core/{p-e834344e.entry.js → p-982a6e88.entry.js} +2 -2
  179. package/dist/core/{p-d8469ac0.entry.js → p-98448bdb.entry.js} +2 -2
  180. package/dist/core/{p-6933f8e9.entry.js → p-9d01a7ad.entry.js} +2 -2
  181. package/dist/core/{p-595be57d.entry.js → p-9d540656.entry.js} +2 -2
  182. package/dist/core/{p-fde45b29.entry.js → p-9e3178e8.entry.js} +2 -2
  183. package/dist/core/{p-fde45b29.entry.js.map → p-9e3178e8.entry.js.map} +1 -1
  184. package/dist/core/{p-81ddc39d.entry.js → p-a0f9b259.entry.js} +2 -2
  185. package/dist/core/{p-a31031a5.entry.js → p-a42c2f37.entry.js} +2 -2
  186. package/dist/core/{p-869954a2.entry.js → p-a6447b13.entry.js} +2 -2
  187. package/dist/core/p-aabab75f.entry.js +2 -0
  188. package/dist/core/p-aabab75f.entry.js.map +1 -0
  189. package/dist/core/{p-e3997d60.entry.js → p-ae422058.entry.js} +2 -2
  190. package/dist/core/{p-a434c3d4.entry.js → p-b306cbc8.entry.js} +2 -2
  191. package/dist/core/{p-ac4e40a7.entry.js → p-c7590421.entry.js} +2 -2
  192. package/dist/core/{p-f3c840cd.entry.js → p-c7820c23.entry.js} +2 -2
  193. package/dist/core/{p-917c5721.entry.js → p-ca8cbd6a.entry.js} +2 -2
  194. package/dist/core/{p-73be1251.entry.js → p-caf857de.entry.js} +2 -2
  195. package/dist/core/p-cc7bc438.entry.js +2 -0
  196. package/dist/core/p-cc7bc438.entry.js.map +1 -0
  197. package/dist/core/p-cd799087.js +2 -0
  198. package/dist/core/p-cd799087.js.map +1 -0
  199. package/dist/core/p-d32692e2.entry.js +2 -0
  200. package/dist/core/p-d32692e2.entry.js.map +1 -0
  201. package/dist/core/p-d35c7c18.js +2 -0
  202. package/dist/core/p-d35c7c18.js.map +1 -0
  203. package/dist/core/{p-c34848da.entry.js → p-d3856ed3.entry.js} +2 -2
  204. package/dist/core/{p-204ace96.entry.js → p-d4fdd8c1.entry.js} +2 -2
  205. package/dist/core/{p-ba86928c.entry.js → p-d5c99ec3.entry.js} +2 -2
  206. package/dist/core/p-e473bbf8.entry.js +2 -0
  207. package/dist/core/p-e473bbf8.entry.js.map +1 -0
  208. package/dist/core/{p-624d4f5f.entry.js → p-e74f1d09.entry.js} +2 -2
  209. package/dist/core/{p-fc5611e2.entry.js → p-e84b0310.entry.js} +2 -2
  210. package/dist/core/p-f55ad6ae.entry.js +2 -0
  211. package/dist/core/{p-f14454b1.entry.js.map → p-f55ad6ae.entry.js.map} +1 -1
  212. package/dist/core/p-f8cf2978.js +2 -0
  213. package/dist/core/p-f8cf2978.js.map +1 -0
  214. package/dist/core/p-f91527a0.entry.js +2 -0
  215. package/dist/core/p-f91527a0.entry.js.map +1 -0
  216. package/dist/core/{p-169bfa51.entry.js → p-fbf4e9b7.entry.js} +2 -2
  217. package/dist/esm/core.js +1 -1
  218. package/dist/esm/date-helpers-4f432e92.js +136 -0
  219. package/dist/esm/date-helpers-4f432e92.js.map +1 -0
  220. package/dist/esm/{helpers-12b4266a.js → helpers-7aa21b0a.js} +7 -2
  221. package/dist/esm/helpers-7aa21b0a.js.map +1 -0
  222. package/dist/esm/{helpers-5271897c.js → helpers-f328a7b6.js} +92 -13
  223. package/dist/esm/helpers-f328a7b6.js.map +1 -0
  224. package/dist/esm/ic-accordion.entry.js +1 -1
  225. package/dist/esm/ic-alert.entry.js +1 -1
  226. package/dist/esm/ic-back-to-top.entry.js +1 -1
  227. package/dist/esm/ic-badge.entry.js +1 -1
  228. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  229. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  230. package/dist/esm/ic-button_3.entry.js +8 -2
  231. package/dist/esm/ic-button_3.entry.js.map +1 -1
  232. package/dist/esm/ic-card.entry.js +1 -1
  233. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  234. package/dist/esm/ic-checkbox.entry.js +1 -1
  235. package/dist/esm/ic-chip.entry.js +1 -1
  236. package/dist/esm/ic-data-row.entry.js +1 -1
  237. package/dist/esm/ic-date-input.entry.js +1069 -0
  238. package/dist/esm/ic-date-input.entry.js.map +1 -0
  239. package/dist/esm/ic-date-picker.entry.js +1039 -0
  240. package/dist/esm/ic-date-picker.entry.js.map +1 -0
  241. package/dist/esm/ic-dialog.entry.js +1 -1
  242. package/dist/esm/ic-divider.entry.js +1 -1
  243. package/dist/esm/ic-empty-state.entry.js +1 -1
  244. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  245. package/dist/esm/ic-footer-link.entry.js +1 -1
  246. package/dist/esm/ic-footer.entry.js +1 -1
  247. package/dist/esm/ic-hero.entry.js +1 -1
  248. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  249. package/dist/esm/ic-input-component-container_4.entry.js +143 -0
  250. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -0
  251. package/dist/esm/ic-link.entry.js +1 -1
  252. package/dist/esm/ic-menu-group.entry.js +1 -1
  253. package/dist/esm/ic-menu-item.entry.js +1 -1
  254. package/dist/esm/ic-menu-with-multi.entry.js +1 -1
  255. package/dist/esm/ic-menu-with-multi.entry.js.map +1 -1
  256. package/dist/esm/{ic-input-component-container_3.entry.js → ic-menu.entry.js} +5 -67
  257. package/dist/esm/ic-menu.entry.js.map +1 -0
  258. package/dist/esm/ic-navigation-button.entry.js +1 -1
  259. package/dist/esm/ic-navigation-group.entry.js +1 -1
  260. package/dist/esm/ic-navigation-item.entry.js +1 -1
  261. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  262. package/dist/esm/ic-page-header.entry.js +1 -1
  263. package/dist/esm/ic-pagination-bar.entry.js +1 -1
  264. package/dist/esm/ic-pagination_4.entry.js +1 -1
  265. package/dist/esm/ic-popover-menu.entry.js +1 -1
  266. package/dist/esm/ic-radio-group.entry.js +1 -1
  267. package/dist/esm/ic-radio-option.entry.js +1 -1
  268. package/dist/esm/ic-search-bar.entry.js +1 -1
  269. package/dist/esm/ic-select-with-multi.entry.js +1 -14
  270. package/dist/esm/ic-select-with-multi.entry.js.map +1 -1
  271. package/dist/esm/ic-side-navigation.entry.js +1 -1
  272. package/dist/esm/ic-status-tag.entry.js +1 -1
  273. package/dist/esm/ic-step.entry.js +1 -1
  274. package/dist/esm/ic-stepper.entry.js +1 -1
  275. package/dist/esm/ic-switch.entry.js +1 -1
  276. package/dist/esm/ic-tab-group.entry.js +1 -1
  277. package/dist/esm/ic-tab-panel.entry.js +1 -1
  278. package/dist/esm/ic-tab.entry.js +1 -1
  279. package/dist/esm/ic-theme.entry.js +1 -1
  280. package/dist/esm/ic-toast.entry.js +1 -1
  281. package/dist/esm/ic-toggle-button.entry.js +1 -1
  282. package/dist/esm/ic-top-navigation.entry.js +1 -1
  283. package/dist/esm/ic-typography.entry.js +1 -1
  284. package/dist/esm/index-93509377.js +12 -4
  285. package/dist/esm/loader.js +1 -1
  286. package/dist/types/components/ic-date-input/ic-date-input.d.ts +242 -0
  287. package/dist/types/components/ic-date-input/story-data.d.ts +1 -0
  288. package/dist/types/components/ic-date-input/test/helpers/ic-date-input.d.ts +23 -0
  289. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +251 -0
  290. package/dist/types/components/ic-date-picker/ic-day-button.d.ts +16 -0
  291. package/dist/types/components/ic-date-picker/ic-month-picker.d.ts +14 -0
  292. package/dist/types/components/ic-date-picker/ic-year-picker.d.ts +16 -0
  293. package/dist/types/components/ic-date-picker/story-data.d.ts +22 -0
  294. package/dist/types/components/ic-date-picker/test/a11y/ic-date-picker.test.a11y.d.ts +1 -0
  295. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +2 -2
  296. package/dist/types/components/ic-select-with-multi/ic-select.d.ts +2 -2
  297. package/dist/types/components.d.ts +439 -4
  298. package/dist/types/utils/constants.d.ts +37 -0
  299. package/dist/types/utils/date-helpers.d.ts +22 -0
  300. package/dist/types/utils/helpers.d.ts +83 -11
  301. package/dist/types/utils/types.d.ts +92 -1
  302. package/hydrate/index.js +2653 -253
  303. package/package.json +3 -3
  304. package/dist/cjs/helpers-93c5fc92.js.map +0 -1
  305. package/dist/cjs/helpers-b525d45a.js.map +0 -1
  306. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +0 -1
  307. package/dist/cjs/ic-input-label_2.cjs.entry.js +0 -86
  308. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +0 -1
  309. package/dist/core/p-21150122.entry.js +0 -2
  310. package/dist/core/p-21150122.entry.js.map +0 -1
  311. package/dist/core/p-99cad6c2.js +0 -2
  312. package/dist/core/p-99cad6c2.js.map +0 -1
  313. package/dist/core/p-9caf19eb.js +0 -2
  314. package/dist/core/p-9caf19eb.js.map +0 -1
  315. package/dist/core/p-e0a94f2d.entry.js +0 -2
  316. package/dist/core/p-e0a94f2d.entry.js.map +0 -1
  317. package/dist/core/p-f14454b1.entry.js +0 -2
  318. package/dist/core/p-f6888309.entry.js +0 -2
  319. package/dist/core/p-f6888309.entry.js.map +0 -1
  320. package/dist/core/p-f74a8752.entry.js +0 -2
  321. package/dist/core/p-f74a8752.entry.js.map +0 -1
  322. package/dist/esm/helpers-12b4266a.js.map +0 -1
  323. package/dist/esm/helpers-5271897c.js.map +0 -1
  324. package/dist/esm/ic-input-component-container_3.entry.js.map +0 -1
  325. package/dist/esm/ic-input-label_2.entry.js +0 -81
  326. package/dist/esm/ic-input-label_2.entry.js.map +0 -1
  327. /package/dist/core/{p-8b08d8fe.entry.js.map → p-06ae5bec.entry.js.map} +0 -0
  328. /package/dist/core/{p-f843da01.entry.js.map → p-0939ce92.entry.js.map} +0 -0
  329. /package/dist/core/{p-e0462b23.entry.js.map → p-16f67397.entry.js.map} +0 -0
  330. /package/dist/core/{p-db9c03c0.entry.js.map → p-1832f4b5.entry.js.map} +0 -0
  331. /package/dist/core/{p-ab09986c.entry.js.map → p-1b7d426b.entry.js.map} +0 -0
  332. /package/dist/core/{p-5e0c830b.entry.js.map → p-1ce75941.entry.js.map} +0 -0
  333. /package/dist/core/{p-1ca332ca.entry.js.map → p-2e2e0099.entry.js.map} +0 -0
  334. /package/dist/core/{p-4753bac8.entry.js.map → p-36508aad.entry.js.map} +0 -0
  335. /package/dist/core/{p-10fb4c46.entry.js.map → p-3745da83.entry.js.map} +0 -0
  336. /package/dist/core/{p-3803a5b5.entry.js.map → p-3f2e77c3.entry.js.map} +0 -0
  337. /package/dist/core/{p-88d54b72.entry.js.map → p-47ac6838.entry.js.map} +0 -0
  338. /package/dist/core/{p-4baa0916.entry.js.map → p-4f1ffa39.entry.js.map} +0 -0
  339. /package/dist/core/{p-f7a14c01.entry.js.map → p-5759d771.entry.js.map} +0 -0
  340. /package/dist/core/{p-6c3044b6.entry.js.map → p-5e2e6c3b.entry.js.map} +0 -0
  341. /package/dist/core/{p-2eac7dcc.entry.js.map → p-5fe96107.entry.js.map} +0 -0
  342. /package/dist/core/{p-b82dcc29.entry.js.map → p-62e22508.entry.js.map} +0 -0
  343. /package/dist/core/{p-75dac3d1.entry.js.map → p-6690bc04.entry.js.map} +0 -0
  344. /package/dist/core/{p-c125b65a.entry.js.map → p-6c0e2ceb.entry.js.map} +0 -0
  345. /package/dist/core/{p-a0f8efb2.entry.js.map → p-76d26018.entry.js.map} +0 -0
  346. /package/dist/core/{p-4f413fc0.entry.js.map → p-776671cf.entry.js.map} +0 -0
  347. /package/dist/core/{p-5ae93c16.entry.js.map → p-7cecf5d5.entry.js.map} +0 -0
  348. /package/dist/core/{p-7ef8d616.entry.js.map → p-85609bdd.entry.js.map} +0 -0
  349. /package/dist/core/{p-a43c12cd.entry.js.map → p-86012178.entry.js.map} +0 -0
  350. /package/dist/core/{p-942282cd.entry.js.map → p-8a7e7d23.entry.js.map} +0 -0
  351. /package/dist/core/{p-a50c3b9e.entry.js.map → p-8c90110a.entry.js.map} +0 -0
  352. /package/dist/core/{p-045359e1.entry.js.map → p-8ea47d42.entry.js.map} +0 -0
  353. /package/dist/core/{p-e834344e.entry.js.map → p-982a6e88.entry.js.map} +0 -0
  354. /package/dist/core/{p-d8469ac0.entry.js.map → p-98448bdb.entry.js.map} +0 -0
  355. /package/dist/core/{p-6933f8e9.entry.js.map → p-9d01a7ad.entry.js.map} +0 -0
  356. /package/dist/core/{p-595be57d.entry.js.map → p-9d540656.entry.js.map} +0 -0
  357. /package/dist/core/{p-81ddc39d.entry.js.map → p-a0f9b259.entry.js.map} +0 -0
  358. /package/dist/core/{p-a31031a5.entry.js.map → p-a42c2f37.entry.js.map} +0 -0
  359. /package/dist/core/{p-869954a2.entry.js.map → p-a6447b13.entry.js.map} +0 -0
  360. /package/dist/core/{p-e3997d60.entry.js.map → p-ae422058.entry.js.map} +0 -0
  361. /package/dist/core/{p-a434c3d4.entry.js.map → p-b306cbc8.entry.js.map} +0 -0
  362. /package/dist/core/{p-ac4e40a7.entry.js.map → p-c7590421.entry.js.map} +0 -0
  363. /package/dist/core/{p-f3c840cd.entry.js.map → p-c7820c23.entry.js.map} +0 -0
  364. /package/dist/core/{p-917c5721.entry.js.map → p-ca8cbd6a.entry.js.map} +0 -0
  365. /package/dist/core/{p-73be1251.entry.js.map → p-caf857de.entry.js.map} +0 -0
  366. /package/dist/core/{p-c34848da.entry.js.map → p-d3856ed3.entry.js.map} +0 -0
  367. /package/dist/core/{p-204ace96.entry.js.map → p-d4fdd8c1.entry.js.map} +0 -0
  368. /package/dist/core/{p-ba86928c.entry.js.map → p-d5c99ec3.entry.js.map} +0 -0
  369. /package/dist/core/{p-624d4f5f.entry.js.map → p-e74f1d09.entry.js.map} +0 -0
  370. /package/dist/core/{p-fc5611e2.entry.js.map → p-e84b0310.entry.js.map} +0 -0
  371. /package/dist/core/{p-169bfa51.entry.js.map → p-fbf4e9b7.entry.js.map} +0 -0
@@ -1,4 +1,15 @@
1
- import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcPropObject, IcSearchMatchPositions, IcMenuOption } from "@ukic/web-components";
1
+ /**
2
+ * To investigate:
3
+ * IcColorRGBA works via @ukic/web-components but IcThemeForeground does not even though they are exported
4
+ * from @ukic/web-components in the same file. Why?
5
+ */
6
+ import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcSearchMatchPositions, IcColorRGBA } from "@ukic/web-components";
7
+ import { IcMenuOption, IcThemeForeground } from "./types";
8
+ import { EventEmitter } from "../stencil-public-runtime";
9
+ /**
10
+ * converts an enum of strings into an array of strings
11
+ */
12
+ export declare const stringEnumToArray: (theEnum: Record<string, string | number>) => string[];
2
13
  /**
3
14
  * Used to inherit global attributes set on the host. Called in componentWillLoad and assigned
4
15
  * to a variable that is later used in the render function.
@@ -9,6 +20,8 @@ import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcPropObject, I
9
20
  export declare const inheritAttributes: (element: HTMLElement, attributes?: string[]) => {
10
21
  [key: string]: unknown;
11
22
  };
23
+ export declare const debounceEvent: (event: EventEmitter, wait: number) => EventEmitter;
24
+ export declare const debounce: (func: (...args: unknown[]) => void, wait?: number) => unknown;
12
25
  /**
13
26
  * This method is used to add a hidden input to a host element that contains
14
27
  * a Shadow DOM. It does not add the input inside of the Shadow root which
@@ -21,7 +34,62 @@ export declare const inheritAttributes: (element: HTMLElement, attributes?: stri
21
34
  * @param value The value of the input
22
35
  * @param disabled If true, the input is disabled
23
36
  */
24
- export declare const renderHiddenInput: (always: boolean, container: HTMLElement, name: string, value: string | undefined | null, disabled: boolean) => void;
37
+ export declare const renderHiddenInput: (always: boolean, container: HTMLElement, name: string, value: string | Date | undefined | null, disabled: boolean) => void;
38
+ export declare const removeHiddenInput: (container: HTMLElement) => void;
39
+ /**
40
+ * This method helps to understand the context in which a component exists,
41
+ * to assist with choosing appropriate foreground colours to use. For example,
42
+ * this method will help you use the 'white' version of a button if it's within
43
+ * a block colour element using white foreground text.
44
+ *
45
+ * This only works for components/elements passed via <slot> and not if they
46
+ * are part of an IC component.
47
+ *
48
+ * ""
49
+ * @returns IcThemeForeground depending on the context
50
+ */
51
+ export declare const getThemeFromContext: (el: Element, themeFromEvent?: IcThemeForeground) => IcThemeForeground;
52
+ /**
53
+ * Will create a button within the lightDOM which interacts with the parent form.
54
+ * This is required as buttons within the shadowDOM will not invoke a submit or reset
55
+ *
56
+ * @param form - parent form element which contains shadowDom button
57
+ * @param button - shadowDOM button
58
+ */
59
+ export declare const handleHiddenFormButtonClick: (form: HTMLFormElement, button: HTMLIcButtonElement | HTMLButtonElement) => void;
60
+ export declare const isEmptyString: (value: string) => boolean;
61
+ export declare const isPropDefined: (prop: string) => string | null;
62
+ export declare const deviceSizeMatches: (size: number) => boolean;
63
+ export declare const getCurrentDeviceSize: () => number;
64
+ export declare const getCssProperty: (cssVar: string) => string;
65
+ /**
66
+ * Returns the brightness of the theme colour, calculated by using the theme RGB CSS values by:
67
+ * - Multiplying each RGB value by a set number: https://www.w3.org/TR/AERT/#color-contrast
68
+ * - Adding them together and dividing by 1000
69
+ * This is a similar calculation to its CSS counterpart: "--ic-theme-text"
70
+ * @returns number representing the brightness of the theme colour
71
+ */
72
+ export declare const getThemeColorBrightness: () => number;
73
+ /**
74
+ * Returns if dark or light foreground colors should be used for color contrast reasons
75
+ * @returns "dark" or "light"
76
+ */
77
+ export declare const getThemeForegroundColor: () => IcThemeForeground;
78
+ export declare const getSlot: (element: HTMLElement, name: string) => Element | null;
79
+ export declare const slotHasContent: (element: HTMLElement, name: string) => boolean;
80
+ export declare const getSlotContent: (element: HTMLElement, name: string) => Element[] | NodeListOf<ChildNode> | null;
81
+ export declare const getSlotElements: (slot: Element) => NodeListOf<ChildNode> | Element[];
82
+ export declare const getNavItemParentDetails: (el: HTMLElement) => IcNavParentDetails;
83
+ export declare const DEVICE_SIZES: {
84
+ XS: number;
85
+ S: number;
86
+ M: number;
87
+ L: number;
88
+ XL: number;
89
+ UNDEFINED: number;
90
+ };
91
+ export declare const isSlotUsed: (element: HTMLElement, slotName: string) => boolean;
92
+ export declare const onComponentPropUndefinedChange: (oldValue: string | undefined, newValue: string | undefined, callback: IcCallbackFunctionNoReturn) => void;
25
93
  export declare const hasShadowDom: (el: HTMLElement) => boolean;
26
94
  export declare const getInputHelperTextID: (id: string) => string;
27
95
  export declare const getInputValidationTextID: (id: string) => string;
@@ -50,15 +118,19 @@ export declare const getFilteredMenuOptions: (options: IcMenuOption[], includeDe
50
118
  * @returns number of options not including group titles
51
119
  */
52
120
  export declare const getOptionsWithoutGroupTitlesCount: (options: IcMenuOption[]) => number;
53
- export declare const getCssProperty: (cssVar: string) => string;
54
- export declare const DEVICE_SIZES: {
55
- XS: number;
56
- S: number;
57
- M: number;
58
- L: number;
59
- XL: number;
60
- UNDEFINED: number;
61
- };
121
+ export declare const hexToRgba: (hex: string) => IcColorRGBA;
122
+ export declare const rgbaStrToObj: (rgbaStr: string) => IcColorRGBA;
123
+ export declare const elementOverflowsX: (element: HTMLElement) => boolean;
124
+ /**
125
+ *
126
+ * @param child - The child element
127
+ * @returns string
128
+ */
129
+ export declare const getParentElementType: (child: HTMLElement) => string;
130
+ export declare const getParentElement: (child: HTMLElement) => HTMLElement;
131
+ export declare const hasClassificationBanner: () => boolean;
132
+ export declare const pxToRem: (px: string, base?: number) => string;
133
+ export declare const isNumeric: (value: string) => boolean;
62
134
  export declare const hasValidationStatus: (status: IcInformationStatusOrEmpty, disabled: boolean) => boolean;
63
135
  export declare const onComponentRequiredPropUndefined: (props: IcPropObject[], component: string) => void;
64
136
  export declare const kebabToCamelCase: (kebabCase: string) => string;
@@ -1,10 +1,17 @@
1
+ export type IcFocusableComponents = HTMLIcBreadcrumbElement | HTMLIcButtonElement | HTMLIcCardElement | HTMLIcCheckboxElement | HTMLIcChipElement | HTMLIcLinkElement | HTMLIcNavigationButtonElement | HTMLIcNavigationGroupElement | HTMLIcNavigationItemElement | HTMLIcRadioOptionElement | HTMLIcSearchBarElement | HTMLIcSelectElement | HTMLIcSwitchElement | HTMLIcTabElement | HTMLIcTextFieldElement;
2
+ export type IcStatusVariants = "neutral" | "info" | "warning" | "error" | "success";
1
3
  export declare enum IcInformationStatus {
2
4
  Warning = "warning",
3
5
  Error = "error",
4
6
  Success = "success"
5
7
  }
6
- export type IcInformationStatusOrEmpty = "warning" | "error" | "success" | "";
7
8
  export type IcSearchMatchPositions = "start" | "anywhere";
9
+ export type IcSizes = "default" | "large" | "small";
10
+ export type IcSizesNoLarge = "default" | "small";
11
+ export type IcInformationStatusOrEmpty = "warning" | "error" | "success" | "";
12
+ export type IcNavType = "side" | "top" | "page-header";
13
+ export type IcAutocompleteTypes = "on" | "off" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo";
14
+ export type IcAlignment = "left" | "center" | "full-width";
8
15
  export declare enum IcThemeForegroundEnum {
9
16
  Default = "default",
10
17
  Dark = "dark",
@@ -14,3 +21,87 @@ export interface IcValueEventDetail {
14
21
  value: string | string[];
15
22
  keyPressed?: string;
16
23
  }
24
+ export type IcThemeForeground = "default" | "dark" | "light";
25
+ export type IcThemeForegroundNoDefault = "dark" | "light";
26
+ export type IcTheme = {
27
+ mode: IcThemeForeground;
28
+ color: IcColorRGB;
29
+ };
30
+ export type IcAdditionalFieldTypes = "static" | "dynamic";
31
+ export type IcColorRGB = {
32
+ r: number;
33
+ g: number;
34
+ b: number;
35
+ };
36
+ export type IcColorRGBA = IcColorRGB & {
37
+ a: number;
38
+ };
39
+ export type IcActivationTypes = "automatic" | "manual";
40
+ export type IcAutocorrectStates = "on" | "off";
41
+ export type IcNavParentDetails = {
42
+ navType: IcNavType | "";
43
+ parent: HTMLElement;
44
+ };
45
+ export type IcTypographyVariants = "h1" | "h2" | "h3" | "h4" | "subtitle-large" | "subtitle-small" | "body" | "label" | "label-uppercase" | "caption" | "caption-uppercase" | "code-large" | "code-small" | "code-extra-small" | "badge" | "badge-small";
46
+ /**
47
+ * @interface IcMenuOption
48
+ * @field {string} A label field to options. Defaults to "label", but can have any custom name.
49
+ * @field {string} A value field to options. Defaults to "value", but can have any custom name.
50
+ */
51
+ export interface IcMenuOption {
52
+ description?: string;
53
+ disabled?: boolean;
54
+ recommended?: boolean;
55
+ children?: IcMenuOption[];
56
+ loading?: boolean;
57
+ timedOut?: boolean;
58
+ [key: string]: any;
59
+ element?: {
60
+ component: any;
61
+ ariaLabel: string;
62
+ };
63
+ icon?: any;
64
+ }
65
+ export type IcCallbackFunctionNoReturn = (...args: unknown[]) => void;
66
+ export type IcDateFormat = "DD/MM/YYYY" | "MM/DD/YYYY" | "YYYY/MM/DD";
67
+ export declare enum IcDateInputMonths {
68
+ "January" = 0,
69
+ "February" = 1,
70
+ "March" = 2,
71
+ "April" = 3,
72
+ "May" = 4,
73
+ "June" = 5,
74
+ "July" = 6,
75
+ "August" = 7,
76
+ "September" = 8,
77
+ "October" = 9,
78
+ "November" = 10,
79
+ "December" = 11
80
+ }
81
+ export declare enum IcShortDayNames {
82
+ "Sun" = 0,
83
+ "Mon" = 1,
84
+ "Tue" = 2,
85
+ "Wed" = 3,
86
+ "Thu" = 4,
87
+ "Fri" = 5,
88
+ "Sat" = 6
89
+ }
90
+ export declare enum IcDayNames {
91
+ "Sunday" = 0,
92
+ "Monday" = 1,
93
+ "Tuesday" = 2,
94
+ "Wednesday" = 3,
95
+ "Thursday" = 4,
96
+ "Friday" = 5,
97
+ "Saturday" = 6
98
+ }
99
+ export declare enum IcWeekDays {
100
+ Sunday = 0,
101
+ Monday = 1,
102
+ Tuesday = 2,
103
+ Wednesday = 3,
104
+ Thursday = 4,
105
+ Friday = 5,
106
+ Saturday = 6
107
+ }