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

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 (489) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{date-helpers-6f70dd03.js → date-helpers-d7ee7b45.js} +5 -9
  3. package/dist/cjs/date-helpers-d7ee7b45.js.map +1 -0
  4. package/dist/cjs/{helpers-74cf2649.js → helpers-56717660.js} +31 -7
  5. package/dist/cjs/helpers-56717660.js.map +1 -0
  6. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-action-chip.cjs.entry.js +2 -2
  9. package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-alert.cjs.entry.js +2 -2
  11. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-badge.cjs.entry.js +2 -2
  14. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-button_3.cjs.entry.js +25 -20
  18. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-card-vertical.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  21. package/dist/cjs/ic-checkbox_3.cjs.entry.js +2 -2
  22. package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-chip.cjs.entry.js +2 -2
  24. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-data-list.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
  28. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-date-input.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-date-picker.cjs.entry.js +13 -13
  31. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  35. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +2 -2
  39. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-layout-grid-item.cjs.entry.js +70 -0
  42. package/dist/cjs/ic-layout-grid-item.cjs.entry.js.map +1 -0
  43. package/dist/cjs/ic-layout-grid.cjs.entry.js +156 -0
  44. package/dist/cjs/ic-layout-grid.cjs.entry.js.map +1 -0
  45. package/dist/cjs/ic-link.cjs.entry.js +2 -2
  46. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
  48. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  50. package/dist/cjs/ic-menu.cjs.entry.js +4 -4
  51. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-navigation-group.cjs.entry.js +3 -3
  54. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  56. package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
  57. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
  59. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-pagination_4.cjs.entry.js +16 -15
  61. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-popover-menu.cjs.entry.js +10 -6
  63. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  67. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  68. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-side-navigation.cjs.entry.js +5 -5
  70. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  72. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  74. package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  76. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-step.cjs.entry.js +14 -14
  78. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
  80. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-switch.cjs.entry.js +5 -5
  82. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  84. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  86. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  88. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  90. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  91. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  93. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-toast.cjs.entry.js +5 -5
  95. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
  97. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
  99. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  101. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  102. package/dist/cjs/index-d337cd8a.js +8 -0
  103. package/dist/cjs/loader.cjs.js +1 -1
  104. package/dist/collection/collection-manifest.json +2 -0
  105. package/dist/collection/components/ic-date-picker/ic-date-picker.css +4 -5
  106. package/dist/collection/components/ic-date-picker/ic-date-picker.js +12 -12
  107. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  108. package/dist/collection/components/ic-date-picker/ic-date-picker.stories.js +9 -1
  109. package/dist/collection/components/ic-date-picker/ic-date-picker.stories.js.map +1 -1
  110. package/dist/collection/components/ic-date-picker/story-data.js +18 -0
  111. package/dist/collection/components/ic-date-picker/story-data.js.map +1 -1
  112. package/dist/collection/utils/date-helpers.js +3 -7
  113. package/dist/collection/utils/date-helpers.js.map +1 -1
  114. package/dist/components/helpers.js +31 -7
  115. package/dist/components/helpers.js.map +1 -1
  116. package/dist/components/ic-action-chip.js +1 -1
  117. package/dist/components/ic-action-chip.js.map +1 -1
  118. package/dist/components/ic-alert.js +1 -1
  119. package/dist/components/ic-alert.js.map +1 -1
  120. package/dist/components/ic-back-to-top.js +1 -1
  121. package/dist/components/ic-badge.js +2 -2
  122. package/dist/components/ic-badge.js.map +1 -1
  123. package/dist/components/ic-breadcrumb-group.js +1 -1
  124. package/dist/components/ic-breadcrumb2.js +1 -1
  125. package/dist/components/ic-button2.js +14 -12
  126. package/dist/components/ic-button2.js.map +1 -1
  127. package/dist/components/ic-checkbox-group.js +1 -1
  128. package/dist/components/ic-checkbox2.js +2 -2
  129. package/dist/components/ic-checkbox2.js.map +1 -1
  130. package/dist/components/ic-chip.js +2 -2
  131. package/dist/components/ic-chip.js.map +1 -1
  132. package/dist/components/ic-data-list.js +1 -1
  133. package/dist/components/ic-data-list.js.map +1 -1
  134. package/dist/components/ic-data-row.js +2 -2
  135. package/dist/components/ic-data-row.js.map +1 -1
  136. package/dist/components/ic-date-input2.js +4 -8
  137. package/dist/components/ic-date-input2.js.map +1 -1
  138. package/dist/components/ic-date-picker.js +13 -13
  139. package/dist/components/ic-date-picker.js.map +1 -1
  140. package/dist/components/ic-dialog.js +1 -1
  141. package/dist/components/ic-divider2.js +1 -1
  142. package/dist/components/ic-footer-link-group.js +1 -1
  143. package/dist/components/ic-footer-link.js +1 -1
  144. package/dist/components/ic-footer.js +1 -1
  145. package/dist/components/ic-hero.js +1 -1
  146. package/dist/components/ic-horizontal-scroll2.js +2 -2
  147. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  148. package/dist/components/ic-input-component-container2.js +1 -1
  149. package/dist/components/ic-input-label2.js +1 -1
  150. package/dist/components/ic-input-validation2.js +1 -1
  151. package/dist/components/ic-layout-grid-item.js +95 -0
  152. package/dist/components/ic-layout-grid-item.js.map +1 -0
  153. package/dist/components/ic-layout-grid.js +188 -0
  154. package/dist/components/ic-layout-grid.js.map +1 -0
  155. package/dist/components/ic-link2.js +1 -1
  156. package/dist/components/ic-link2.js.map +1 -1
  157. package/dist/components/ic-loading-indicator2.js +5 -5
  158. package/dist/components/ic-loading-indicator2.js.map +1 -1
  159. package/dist/components/ic-menu-group.js +2 -2
  160. package/dist/components/ic-menu-group.js.map +1 -1
  161. package/dist/components/ic-menu-item2.js +1 -1
  162. package/dist/components/ic-menu2.js +4 -4
  163. package/dist/components/ic-menu2.js.map +1 -1
  164. package/dist/components/ic-navigation-button.js +1 -1
  165. package/dist/components/ic-navigation-group.js +3 -3
  166. package/dist/components/ic-navigation-group.js.map +1 -1
  167. package/dist/components/ic-navigation-item.js +1 -1
  168. package/dist/components/ic-navigation-menu2.js +5 -5
  169. package/dist/components/ic-navigation-menu2.js.map +1 -1
  170. package/dist/components/ic-page-header.js +7 -7
  171. package/dist/components/ic-page-header.js.map +1 -1
  172. package/dist/components/ic-pagination-item2.js +2 -2
  173. package/dist/components/ic-pagination-item2.js.map +1 -1
  174. package/dist/components/ic-pagination2.js +4 -4
  175. package/dist/components/ic-pagination2.js.map +1 -1
  176. package/dist/components/ic-popover-menu.js +11 -6
  177. package/dist/components/ic-popover-menu.js.map +1 -1
  178. package/dist/components/ic-radio-group.js +1 -1
  179. package/dist/components/ic-radio-option.js +1 -1
  180. package/dist/components/ic-search-bar.js +1 -1
  181. package/dist/components/ic-section-container2.js +2 -2
  182. package/dist/components/ic-section-container2.js.map +1 -1
  183. package/dist/components/ic-select2.js +8 -7
  184. package/dist/components/ic-select2.js.map +1 -1
  185. package/dist/components/ic-side-navigation.js +5 -5
  186. package/dist/components/ic-side-navigation.js.map +1 -1
  187. package/dist/components/ic-skeleton.js +2 -2
  188. package/dist/components/ic-skeleton.js.map +1 -1
  189. package/dist/components/ic-skip-link.js +2 -2
  190. package/dist/components/ic-skip-link.js.map +1 -1
  191. package/dist/components/ic-status-tag.js +2 -2
  192. package/dist/components/ic-status-tag.js.map +1 -1
  193. package/dist/components/ic-step.js +14 -14
  194. package/dist/components/ic-step.js.map +1 -1
  195. package/dist/components/ic-stepper.js +2 -2
  196. package/dist/components/ic-stepper.js.map +1 -1
  197. package/dist/components/ic-switch.js +5 -5
  198. package/dist/components/ic-switch.js.map +1 -1
  199. package/dist/components/ic-tab-context.js +1 -1
  200. package/dist/components/ic-tab-context.js.map +1 -1
  201. package/dist/components/ic-tab-group.js +2 -2
  202. package/dist/components/ic-tab-group.js.map +1 -1
  203. package/dist/components/ic-tab-panel.js +2 -2
  204. package/dist/components/ic-tab-panel.js.map +1 -1
  205. package/dist/components/ic-text-field2.js +4 -4
  206. package/dist/components/ic-text-field2.js.map +1 -1
  207. package/dist/components/ic-theme.js +2 -2
  208. package/dist/components/ic-theme.js.map +1 -1
  209. package/dist/components/ic-toast-region.js +1 -1
  210. package/dist/components/ic-toast-region.js.map +1 -1
  211. package/dist/components/ic-toast.js +5 -5
  212. package/dist/components/ic-toast.js.map +1 -1
  213. package/dist/components/ic-toggle-button-group.js +2 -2
  214. package/dist/components/ic-toggle-button-group.js.map +1 -1
  215. package/dist/components/ic-toggle-button.js +2 -2
  216. package/dist/components/ic-toggle-button.js.map +1 -1
  217. package/dist/components/ic-tooltip2.js +8 -3
  218. package/dist/components/ic-tooltip2.js.map +1 -1
  219. package/dist/components/ic-top-navigation.js +1 -1
  220. package/dist/core/core.css +12 -12
  221. package/dist/core/core.esm.js +1 -1
  222. package/dist/core/core.esm.js.map +1 -1
  223. package/dist/core/{p-75f3038c.entry.js → p-0fad83d8.entry.js} +2 -2
  224. package/dist/core/{p-75f3038c.entry.js.map → p-0fad83d8.entry.js.map} +1 -1
  225. package/dist/core/{p-e75514f1.entry.js → p-145c0245.entry.js} +2 -2
  226. package/dist/core/{p-e75514f1.entry.js.map → p-145c0245.entry.js.map} +1 -1
  227. package/dist/core/{p-e4906394.entry.js → p-1a5efa3e.entry.js} +2 -2
  228. package/dist/core/p-20374e30.entry.js +2 -0
  229. package/dist/core/{p-80e43591.entry.js.map → p-20374e30.entry.js.map} +1 -1
  230. package/dist/core/{p-de43d375.entry.js → p-287e5c17.entry.js} +2 -2
  231. package/dist/core/{p-de43d375.entry.js.map → p-287e5c17.entry.js.map} +1 -1
  232. package/dist/core/{p-7892130d.entry.js → p-2f4f4aea.entry.js} +2 -2
  233. package/dist/core/{p-7892130d.entry.js.map → p-2f4f4aea.entry.js.map} +1 -1
  234. package/dist/core/p-2fe31f66.entry.js +2 -0
  235. package/dist/core/p-2fe31f66.entry.js.map +1 -0
  236. package/dist/core/{p-369f4536.entry.js → p-31d6d587.entry.js} +2 -2
  237. package/dist/core/{p-c6eabd53.entry.js → p-364cc350.entry.js} +2 -2
  238. package/dist/core/{p-7e5e94a9.entry.js → p-3a73a9b7.entry.js} +2 -2
  239. package/dist/core/p-3a73a9b7.entry.js.map +1 -0
  240. package/dist/core/{p-3a5da30c.entry.js → p-3f241d71.entry.js} +2 -2
  241. package/dist/core/{p-3a5da30c.entry.js.map → p-3f241d71.entry.js.map} +1 -1
  242. package/dist/core/{p-666a671b.entry.js → p-40743d97.entry.js} +2 -2
  243. package/dist/core/{p-fbd80981.entry.js → p-43285eeb.entry.js} +2 -2
  244. package/dist/core/{p-fbd80981.entry.js.map → p-43285eeb.entry.js.map} +1 -1
  245. package/dist/core/{p-f34eee68.entry.js → p-45dd12ee.entry.js} +2 -2
  246. package/dist/core/{p-f34eee68.entry.js.map → p-45dd12ee.entry.js.map} +1 -1
  247. package/dist/core/{p-fffb98c9.entry.js → p-4bddb866.entry.js} +2 -2
  248. package/dist/core/{p-fffb98c9.entry.js.map → p-4bddb866.entry.js.map} +1 -1
  249. package/dist/core/{p-8fa7085e.entry.js → p-518a8e87.entry.js} +2 -2
  250. package/dist/core/{p-8fa7085e.entry.js.map → p-518a8e87.entry.js.map} +1 -1
  251. package/dist/core/{p-9c8a98e8.entry.js → p-51e2de77.entry.js} +2 -2
  252. package/dist/core/{p-9c8a98e8.entry.js.map → p-51e2de77.entry.js.map} +1 -1
  253. package/dist/core/{p-22863d31.entry.js → p-588a331f.entry.js} +2 -2
  254. package/dist/core/{p-22863d31.entry.js.map → p-588a331f.entry.js.map} +1 -1
  255. package/dist/core/p-59048c2a.entry.js +2 -0
  256. package/dist/core/p-59048c2a.entry.js.map +1 -0
  257. package/dist/core/{p-593cc594.entry.js → p-5976d13e.entry.js} +2 -2
  258. package/dist/core/{p-593cc594.entry.js.map → p-5976d13e.entry.js.map} +1 -1
  259. package/dist/core/p-5ac30e1f.entry.js +2 -0
  260. package/dist/core/{p-de8081c6.entry.js.map → p-5ac30e1f.entry.js.map} +1 -1
  261. package/dist/core/p-5c7c7205.entry.js +2 -0
  262. package/dist/core/p-5c7c7205.entry.js.map +1 -0
  263. package/dist/core/{p-d47acbd4.entry.js → p-5fbc8e62.entry.js} +2 -2
  264. package/dist/core/{p-d47acbd4.entry.js.map → p-5fbc8e62.entry.js.map} +1 -1
  265. package/dist/core/{p-8bf1022e.entry.js → p-608a8a4d.entry.js} +2 -2
  266. package/dist/core/p-66ae9eb3.entry.js +2 -0
  267. package/dist/core/p-66ae9eb3.entry.js.map +1 -0
  268. package/dist/core/p-6796acff.entry.js +2 -0
  269. package/dist/core/p-6796acff.entry.js.map +1 -0
  270. package/dist/core/{p-b3ac38c5.entry.js → p-6e8ef73c.entry.js} +2 -2
  271. package/dist/core/{p-b3ac38c5.entry.js.map → p-6e8ef73c.entry.js.map} +1 -1
  272. package/dist/core/{p-e595bb87.entry.js → p-7d2d067f.entry.js} +2 -2
  273. package/dist/core/{p-153d3597.entry.js → p-8051e61b.entry.js} +2 -2
  274. package/dist/core/{p-48127d40.entry.js → p-812a0246.entry.js} +2 -2
  275. package/dist/core/p-816aae93.entry.js +2 -0
  276. package/dist/core/p-816aae93.entry.js.map +1 -0
  277. package/dist/core/{p-48db785a.entry.js → p-8b5022bc.entry.js} +2 -2
  278. package/dist/core/{p-48db785a.entry.js.map → p-8b5022bc.entry.js.map} +1 -1
  279. package/dist/core/{p-324862f7.entry.js → p-91646e38.entry.js} +2 -2
  280. package/dist/core/{p-3d10fa12.entry.js → p-9863a070.entry.js} +2 -2
  281. package/dist/core/{p-9f792a31.entry.js → p-999f0a5d.entry.js} +2 -2
  282. package/dist/core/{p-9f792a31.entry.js.map → p-999f0a5d.entry.js.map} +1 -1
  283. package/dist/core/{p-00a89919.entry.js → p-9fe5e2eb.entry.js} +2 -2
  284. package/dist/core/p-9fffb01e.entry.js +2 -0
  285. package/dist/core/p-9fffb01e.entry.js.map +1 -0
  286. package/dist/core/{p-30b3afb1.entry.js → p-aa94c4b0.entry.js} +2 -2
  287. package/dist/core/p-afece95e.entry.js +2 -0
  288. package/dist/core/p-afece95e.entry.js.map +1 -0
  289. package/dist/core/{p-97c437bb.entry.js → p-b87e4485.entry.js} +2 -2
  290. package/dist/core/{p-b7a0dc04.entry.js → p-b93e8ecb.entry.js} +2 -2
  291. package/dist/core/{p-c86ca475.js → p-bc441e4c.js} +2 -2
  292. package/dist/core/p-bc441e4c.js.map +1 -0
  293. package/dist/core/{p-74e0f41f.entry.js → p-bc7d730d.entry.js} +2 -2
  294. package/dist/core/{p-ca3c6653.entry.js → p-be5df6a9.entry.js} +2 -2
  295. package/dist/core/{p-ca3c6653.entry.js.map → p-be5df6a9.entry.js.map} +1 -1
  296. package/dist/core/{p-307c13a1.entry.js → p-c067e62c.entry.js} +2 -2
  297. package/dist/core/{p-8048c7da.entry.js → p-c3fe54ab.entry.js} +2 -2
  298. package/dist/core/{p-2d6a1b50.entry.js → p-cb4522ed.entry.js} +2 -2
  299. package/dist/core/{p-726144b4.entry.js → p-d13a066e.entry.js} +2 -2
  300. package/dist/core/{p-726144b4.entry.js.map → p-d13a066e.entry.js.map} +1 -1
  301. package/dist/core/p-d41b0da0.entry.js +2 -0
  302. package/dist/core/p-d41b0da0.entry.js.map +1 -0
  303. package/dist/core/{p-db6d0463.entry.js → p-d47e200c.entry.js} +2 -2
  304. package/dist/core/p-d7217588.entry.js +2 -0
  305. package/dist/core/p-d7217588.entry.js.map +1 -0
  306. package/dist/core/{p-ee6caf27.entry.js → p-df88ff5b.entry.js} +2 -2
  307. package/dist/core/{p-ee6caf27.entry.js.map → p-df88ff5b.entry.js.map} +1 -1
  308. package/dist/core/p-e543f2e7.entry.js +2 -0
  309. package/dist/core/p-e543f2e7.entry.js.map +1 -0
  310. package/dist/core/p-ea061ccf.entry.js +2 -0
  311. package/dist/core/p-ea061ccf.entry.js.map +1 -0
  312. package/dist/core/p-efa95979.js +2 -0
  313. package/dist/core/p-efa95979.js.map +1 -0
  314. package/dist/core/{p-4b212968.entry.js → p-efe2fbd7.entry.js} +2 -2
  315. package/dist/core/{p-b9d4c0db.entry.js → p-f3201a0b.entry.js} +2 -2
  316. package/dist/core/{p-86ff903d.entry.js → p-f517f412.entry.js} +2 -2
  317. package/dist/core/{p-fbb0a74d.entry.js → p-f7d746d7.entry.js} +2 -2
  318. package/dist/core/p-fb8c47ce.entry.js +2 -0
  319. package/dist/core/p-fb8c47ce.entry.js.map +1 -0
  320. package/dist/core/{p-abcc90f0.entry.js → p-fecef807.entry.js} +2 -2
  321. package/dist/core/p-ffac41d6.entry.js +2 -0
  322. package/dist/core/p-ffac41d6.entry.js.map +1 -0
  323. package/dist/esm/core.js +1 -1
  324. package/dist/esm/{date-helpers-3b8c39ab.js → date-helpers-2b531c8c.js} +5 -9
  325. package/dist/esm/date-helpers-2b531c8c.js.map +1 -0
  326. package/dist/esm/{helpers-dea3fd9b.js → helpers-f3928d01.js} +31 -7
  327. package/dist/esm/helpers-f3928d01.js.map +1 -0
  328. package/dist/esm/ic-accordion-group.entry.js +1 -1
  329. package/dist/esm/ic-accordion.entry.js +1 -1
  330. package/dist/esm/ic-action-chip.entry.js +2 -2
  331. package/dist/esm/ic-action-chip.entry.js.map +1 -1
  332. package/dist/esm/ic-alert.entry.js +2 -2
  333. package/dist/esm/ic-alert.entry.js.map +1 -1
  334. package/dist/esm/ic-back-to-top.entry.js +1 -1
  335. package/dist/esm/ic-badge.entry.js +2 -2
  336. package/dist/esm/ic-badge.entry.js.map +1 -1
  337. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  338. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  339. package/dist/esm/ic-button_3.entry.js +25 -20
  340. package/dist/esm/ic-button_3.entry.js.map +1 -1
  341. package/dist/esm/ic-card-vertical.entry.js +1 -1
  342. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  343. package/dist/esm/ic-checkbox_3.entry.js +2 -2
  344. package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
  345. package/dist/esm/ic-chip.entry.js +2 -2
  346. package/dist/esm/ic-chip.entry.js.map +1 -1
  347. package/dist/esm/ic-data-list.entry.js +1 -1
  348. package/dist/esm/ic-data-list.entry.js.map +1 -1
  349. package/dist/esm/ic-data-row.entry.js +2 -2
  350. package/dist/esm/ic-data-row.entry.js.map +1 -1
  351. package/dist/esm/ic-date-input.entry.js +1 -1
  352. package/dist/esm/ic-date-picker.entry.js +13 -13
  353. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  354. package/dist/esm/ic-dialog.entry.js +1 -1
  355. package/dist/esm/ic-divider.entry.js +1 -1
  356. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  357. package/dist/esm/ic-footer-link.entry.js +1 -1
  358. package/dist/esm/ic-footer.entry.js +1 -1
  359. package/dist/esm/ic-hero.entry.js +1 -1
  360. package/dist/esm/ic-horizontal-scroll.entry.js +2 -2
  361. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  362. package/dist/esm/ic-input-component-container_4.entry.js +1 -1
  363. package/dist/esm/ic-layout-grid-item.entry.js +66 -0
  364. package/dist/esm/ic-layout-grid-item.entry.js.map +1 -0
  365. package/dist/esm/ic-layout-grid.entry.js +152 -0
  366. package/dist/esm/ic-layout-grid.entry.js.map +1 -0
  367. package/dist/esm/ic-link.entry.js +2 -2
  368. package/dist/esm/ic-link.entry.js.map +1 -1
  369. package/dist/esm/ic-menu-group.entry.js +2 -2
  370. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  371. package/dist/esm/ic-menu-item.entry.js +1 -1
  372. package/dist/esm/ic-menu.entry.js +4 -4
  373. package/dist/esm/ic-menu.entry.js.map +1 -1
  374. package/dist/esm/ic-navigation-button.entry.js +1 -1
  375. package/dist/esm/ic-navigation-group.entry.js +3 -3
  376. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  377. package/dist/esm/ic-navigation-item.entry.js +1 -1
  378. package/dist/esm/ic-navigation-menu.entry.js +5 -5
  379. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  380. package/dist/esm/ic-page-header.entry.js +7 -7
  381. package/dist/esm/ic-page-header.entry.js.map +1 -1
  382. package/dist/esm/ic-pagination_4.entry.js +16 -15
  383. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  384. package/dist/esm/ic-popover-menu.entry.js +10 -6
  385. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  386. package/dist/esm/ic-radio-group.entry.js +1 -1
  387. package/dist/esm/ic-radio-option.entry.js +1 -1
  388. package/dist/esm/ic-search-bar.entry.js +1 -1
  389. package/dist/esm/ic-section-container.entry.js +2 -2
  390. package/dist/esm/ic-section-container.entry.js.map +1 -1
  391. package/dist/esm/ic-side-navigation.entry.js +5 -5
  392. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  393. package/dist/esm/ic-skeleton.entry.js +2 -2
  394. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  395. package/dist/esm/ic-skip-link.entry.js +2 -2
  396. package/dist/esm/ic-skip-link.entry.js.map +1 -1
  397. package/dist/esm/ic-status-tag.entry.js +3 -3
  398. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  399. package/dist/esm/ic-step.entry.js +14 -14
  400. package/dist/esm/ic-step.entry.js.map +1 -1
  401. package/dist/esm/ic-stepper.entry.js +3 -3
  402. package/dist/esm/ic-stepper.entry.js.map +1 -1
  403. package/dist/esm/ic-switch.entry.js +5 -5
  404. package/dist/esm/ic-switch.entry.js.map +1 -1
  405. package/dist/esm/ic-tab-context.entry.js +1 -1
  406. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  407. package/dist/esm/ic-tab-group.entry.js +3 -3
  408. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  409. package/dist/esm/ic-tab-panel.entry.js +2 -2
  410. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  411. package/dist/esm/ic-tab.entry.js +1 -1
  412. package/dist/esm/ic-theme.entry.js +2 -2
  413. package/dist/esm/ic-theme.entry.js.map +1 -1
  414. package/dist/esm/ic-toast-region.entry.js +1 -1
  415. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  416. package/dist/esm/ic-toast.entry.js +5 -5
  417. package/dist/esm/ic-toast.entry.js.map +1 -1
  418. package/dist/esm/ic-toggle-button-group.entry.js +3 -3
  419. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  420. package/dist/esm/ic-toggle-button.entry.js +3 -3
  421. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  422. package/dist/esm/ic-top-navigation.entry.js +1 -1
  423. package/dist/esm/ic-typography.entry.js +1 -1
  424. package/dist/esm/index-a7a720e7.js +8 -0
  425. package/dist/esm/loader.js +1 -1
  426. package/dist/types/components/ic-date-picker/ic-date-picker.stories.d.ts +8 -0
  427. package/dist/types/components/ic-date-picker/story-data.d.ts +1 -0
  428. package/dist/types/utils/date-helpers.d.ts +1 -1
  429. package/hydrate/index.js +409 -134
  430. package/hydrate/index.mjs +409 -134
  431. package/package.json +3 -3
  432. package/dist/cjs/date-helpers-6f70dd03.js.map +0 -1
  433. package/dist/cjs/helpers-74cf2649.js.map +0 -1
  434. package/dist/core/p-1521e96b.entry.js +0 -2
  435. package/dist/core/p-1521e96b.entry.js.map +0 -1
  436. package/dist/core/p-27207aa3.entry.js +0 -2
  437. package/dist/core/p-27207aa3.entry.js.map +0 -1
  438. package/dist/core/p-33927ee1.js +0 -2
  439. package/dist/core/p-33927ee1.js.map +0 -1
  440. package/dist/core/p-53d50d9e.entry.js +0 -2
  441. package/dist/core/p-53d50d9e.entry.js.map +0 -1
  442. package/dist/core/p-7e5e94a9.entry.js.map +0 -1
  443. package/dist/core/p-80e43591.entry.js +0 -2
  444. package/dist/core/p-b2680959.entry.js +0 -2
  445. package/dist/core/p-b2680959.entry.js.map +0 -1
  446. package/dist/core/p-b5ef2799.entry.js +0 -2
  447. package/dist/core/p-b5ef2799.entry.js.map +0 -1
  448. package/dist/core/p-c7ccc52a.entry.js +0 -2
  449. package/dist/core/p-c7ccc52a.entry.js.map +0 -1
  450. package/dist/core/p-c82a2e84.entry.js +0 -2
  451. package/dist/core/p-c82a2e84.entry.js.map +0 -1
  452. package/dist/core/p-c86ca475.js.map +0 -1
  453. package/dist/core/p-d5f8ef77.entry.js +0 -2
  454. package/dist/core/p-d5f8ef77.entry.js.map +0 -1
  455. package/dist/core/p-db3b0c0a.entry.js +0 -2
  456. package/dist/core/p-db3b0c0a.entry.js.map +0 -1
  457. package/dist/core/p-dbde45ff.entry.js +0 -2
  458. package/dist/core/p-dbde45ff.entry.js.map +0 -1
  459. package/dist/core/p-dc8eede2.entry.js +0 -2
  460. package/dist/core/p-dc8eede2.entry.js.map +0 -1
  461. package/dist/core/p-de8081c6.entry.js +0 -2
  462. package/dist/core/p-f33eae3c.entry.js +0 -2
  463. package/dist/core/p-f33eae3c.entry.js.map +0 -1
  464. package/dist/esm/date-helpers-3b8c39ab.js.map +0 -1
  465. package/dist/esm/helpers-dea3fd9b.js.map +0 -1
  466. /package/dist/core/{p-e4906394.entry.js.map → p-1a5efa3e.entry.js.map} +0 -0
  467. /package/dist/core/{p-369f4536.entry.js.map → p-31d6d587.entry.js.map} +0 -0
  468. /package/dist/core/{p-c6eabd53.entry.js.map → p-364cc350.entry.js.map} +0 -0
  469. /package/dist/core/{p-666a671b.entry.js.map → p-40743d97.entry.js.map} +0 -0
  470. /package/dist/core/{p-8bf1022e.entry.js.map → p-608a8a4d.entry.js.map} +0 -0
  471. /package/dist/core/{p-e595bb87.entry.js.map → p-7d2d067f.entry.js.map} +0 -0
  472. /package/dist/core/{p-153d3597.entry.js.map → p-8051e61b.entry.js.map} +0 -0
  473. /package/dist/core/{p-48127d40.entry.js.map → p-812a0246.entry.js.map} +0 -0
  474. /package/dist/core/{p-324862f7.entry.js.map → p-91646e38.entry.js.map} +0 -0
  475. /package/dist/core/{p-3d10fa12.entry.js.map → p-9863a070.entry.js.map} +0 -0
  476. /package/dist/core/{p-00a89919.entry.js.map → p-9fe5e2eb.entry.js.map} +0 -0
  477. /package/dist/core/{p-30b3afb1.entry.js.map → p-aa94c4b0.entry.js.map} +0 -0
  478. /package/dist/core/{p-97c437bb.entry.js.map → p-b87e4485.entry.js.map} +0 -0
  479. /package/dist/core/{p-b7a0dc04.entry.js.map → p-b93e8ecb.entry.js.map} +0 -0
  480. /package/dist/core/{p-74e0f41f.entry.js.map → p-bc7d730d.entry.js.map} +0 -0
  481. /package/dist/core/{p-307c13a1.entry.js.map → p-c067e62c.entry.js.map} +0 -0
  482. /package/dist/core/{p-8048c7da.entry.js.map → p-c3fe54ab.entry.js.map} +0 -0
  483. /package/dist/core/{p-2d6a1b50.entry.js.map → p-cb4522ed.entry.js.map} +0 -0
  484. /package/dist/core/{p-db6d0463.entry.js.map → p-d47e200c.entry.js.map} +0 -0
  485. /package/dist/core/{p-4b212968.entry.js.map → p-efe2fbd7.entry.js.map} +0 -0
  486. /package/dist/core/{p-b9d4c0db.entry.js.map → p-f3201a0b.entry.js.map} +0 -0
  487. /package/dist/core/{p-86ff903d.entry.js.map → p-f517f412.entry.js.map} +0 -0
  488. /package/dist/core/{p-fbb0a74d.entry.js.map → p-f7d746d7.entry.js.map} +0 -0
  489. /package/dist/core/{p-abcc90f0.entry.js.map → p-fecef807.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { Q as IC_DEVICE_SIZES, k as getBrandForegroundAppearance, n as getCurrentDeviceSize, c as checkResizeObserver, f as renderDynamicChildSlots, i as isSlotUsed, e as IcBrandForegroundEnum, R as hasClassificationBanner } from './helpers.js';
2
+ import { R as IC_DEVICE_SIZES, l as getBrandForegroundAppearance, q as getCurrentDeviceSize, c as checkResizeObserver, f as renderDynamicChildSlots, i as isSlotUsed, e as IcBrandForegroundEnum, S as hasClassificationBanner } from './helpers.js';
3
3
  import { d as defineCustomElement$3 } from './ic-section-container2.js';
4
4
  import { d as defineCustomElement$2 } from './ic-typography2.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { k as getBrandForegroundAppearance, E as slotHasContent, i as isSlotUsed, o as onComponentRequiredPropUndefined, f as renderDynamicChildSlots, e as IcBrandForegroundEnum, l as isPropDefined } from './helpers.js';
2
+ import { l as getBrandForegroundAppearance, F as slotHasContent, i as isSlotUsed, o as onComponentRequiredPropUndefined, f as renderDynamicChildSlots, e as IcBrandForegroundEnum, m as isPropDefined } from './helpers.js';
3
3
  import { d as defineCustomElement$3 } from './ic-section-container2.js';
4
4
  import { d as defineCustomElement$2 } from './ic-typography2.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { S as elementOverflowsX, m as getSlotElements, c as checkResizeObserver, e as IcBrandForegroundEnum } from './helpers.js';
2
+ import { T as elementOverflowsX, n as getSlotElements, c as checkResizeObserver, e as IcBrandForegroundEnum } from './helpers.js';
3
3
  import { d as defineCustomElement$4 } from './ic-button2.js';
4
4
  import { d as defineCustomElement$3 } from './ic-loading-indicator2.js';
5
5
  import { d as defineCustomElement$2 } from './ic-tooltip2.js';
@@ -13,7 +13,7 @@ const RightArrow = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="2
13
13
  <path d="M8.08748 5L6.91248 6.175L10.7291 10L6.91248 13.825L8.08748 15L13.0875 10L8.08748 5Z"/>
14
14
  </svg>`;
15
15
 
16
- const icHorizontalScrollCss = "/*! 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{--border-bottom-color:var(--ic-architectural-300);--splitter-color:var(--ic-architectural-100);display:flex;max-width:100%}:host(.ic-horizontal-scroll-light){--splitter-color:var(--ic-color-keyline-lighten)}:host(.ic-horizontal-scroll-dark){--splitter-color:var(--ic-color-keyline-darken)}::slotted(*){overflow-x:scroll;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;margin:calc(var(--ic-space-xs) * -1) !important;padding:var(--ic-space-xs) !important}:host(.ic-horizontal-scroll-visible) ::slotted(*){margin:calc(var(--ic-space-xs) * -1) 0 !important;padding:var(--ic-space-xs) !important}.tabs-container::-webkit-scrollbar{display:none}.scroll-container-left,.scroll-container-right{display:flex}.scroll-container-left{margin-left:var(--ic-space-xxs)}.scroll-container-right{margin-right:var(--ic-space-xxs)}.hidden{display:none}.scroll-arrow{margin:var(--ic-space-xxs) 0}.disabled .ic-tooltip-container{display:none !important}.scroll-splitter-left,.scroll-splitter-right{display:flex;height:var(--ic-space-lg);width:var(--ic-space-1px);margin-top:var(--ic-space-xs);border-radius:var(--ic-space-1px);background-color:var(--splitter-color)}.scroll-splitter-left{margin-left:calc(var(--ic-space-xxs) - var(--ic-space-1px))}.scroll-splitter-right{margin-right:calc(var(--ic-space-xxs) - var(--ic-space-1px))}.disabled .scroll-splitter-left,.disabled .scroll-splitter-right{background-color:transparent}:host(.ic-horizontal-scroll-dark) .disabled ic-button>svg,:host(.ic-horizontal-scroll-light) .disabled ic-button>svg{color:var(--splitter-color) !important}";
16
+ const icHorizontalScrollCss = "/*! 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{--border-bottom-color:var(--ic-architectural-300);--splitter-color:var(--ic-architectural-100);display:flex;max-width:100%}:host(.ic-horizontal-scroll-light){--splitter-color:var(--ic-color-keyline-lighten)}:host(.ic-horizontal-scroll-light) ic-button>svg{color:var(--ic-color-text-action-monochrome-dark)}:host(.ic-horizontal-scroll-dark){--splitter-color:var(--ic-color-keyline-darken)}:host(.ic-horizontal-scroll-dark) ic-button>svg{color:var(--ic-color-text-action-monochrome-light)}::slotted(*){overflow-x:scroll;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;margin:calc(var(--ic-space-xs) * -1) !important;padding:var(--ic-space-xs) !important}:host(.ic-horizontal-scroll-visible) ::slotted(*){margin:calc(var(--ic-space-xs) * -1) 0 !important;padding:var(--ic-space-xs) !important}.tabs-container::-webkit-scrollbar{display:none}.scroll-container-left,.scroll-container-right{display:flex}.scroll-container-left{margin-left:var(--ic-space-xxs)}.scroll-container-right{margin-right:var(--ic-space-xxs)}.hidden{display:none}.scroll-arrow{margin:var(--ic-space-xxs) 0}.disabled .ic-tooltip-container{display:none !important}.scroll-splitter-left,.scroll-splitter-right{display:flex;height:var(--ic-space-lg);width:var(--ic-space-1px);margin-top:var(--ic-space-xs);border-radius:var(--ic-space-1px);background-color:var(--splitter-color)}.scroll-splitter-left{margin-left:calc(var(--ic-space-xxs) - var(--ic-space-1px))}.scroll-splitter-right{margin-right:calc(var(--ic-space-xxs) - var(--ic-space-1px))}.disabled .scroll-splitter-left,.disabled .scroll-splitter-right{background-color:transparent}:host(.ic-horizontal-scroll-dark) .disabled ic-button>svg,:host(.ic-horizontal-scroll-light) .disabled ic-button>svg{color:var(--splitter-color) !important}";
17
17
  const IcHorizontalScrollStyle0 = icHorizontalScrollCss;
18
18
 
19
19
  const SCROLL_DELAY_MS = 200;
@@ -1 +1 @@
1
- {"file":"ic-horizontal-scroll2.js","mappings":";;;;;;;;;;;;;;;AAAA,MAAM,qBAAqB,GAAG,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AC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE;gBAC9a,CAAC,wBAAwB,GAAG,IAAI;gBAChC,CAAC,QAAQ,GAAG,CAAC,YAAY;gBACzB,CAAC,UAAU,GAAG,eAAe;aAChC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,uBAAuB,EAAE,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,KAAK,OAAO,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS;kBACtT,MAAM;kBACN,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,EAAE,IAAI,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC,EAAE;KACnM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css?tag=ic-horizontal-scroll&encapsulation=shadow","../web-components/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n --border-bottom-color: var(--ic-architectural-300);\n --splitter-color: var(--ic-architectural-100);\n\n display: flex;\n max-width: 100%;\n}\n\n:host(.ic-horizontal-scroll-light) {\n --splitter-color: var(--ic-color-keyline-lighten);\n}\n\n:host(.ic-horizontal-scroll-dark) {\n --splitter-color: var(--ic-color-keyline-darken);\n}\n\n/* Slotted items container element */\n::slotted(*) {\n overflow-x: scroll;\n overflow-y: hidden;\n scroll-behavior: smooth;\n scrollbar-width: none;\n -ms-overflow-style: none;\n margin: calc(var(--ic-space-xs) * -1) !important;\n padding: var(--ic-space-xs) !important;\n}\n\n:host(.ic-horizontal-scroll-visible) ::slotted(*) {\n margin: calc(var(--ic-space-xs) * -1) 0 !important;\n padding: var(--ic-space-xs) !important;\n}\n\n.tabs-container::-webkit-scrollbar {\n display: none;\n}\n\n.scroll-container-left,\n.scroll-container-right {\n display: flex;\n}\n\n.scroll-container-left {\n margin-left: var(--ic-space-xxs);\n}\n\n.scroll-container-right {\n margin-right: var(--ic-space-xxs);\n}\n\n.hidden {\n display: none;\n}\n\n.scroll-arrow {\n margin: var(--ic-space-xxs) 0;\n}\n\n.disabled .ic-tooltip-container {\n display: none !important;\n}\n\n.scroll-splitter-left,\n.scroll-splitter-right {\n display: flex;\n height: var(--ic-space-lg);\n width: var(--ic-space-1px);\n margin-top: var(--ic-space-xs);\n border-radius: var(--ic-space-1px);\n background-color: var(--splitter-color);\n}\n\n.scroll-splitter-left {\n margin-left: calc(var(--ic-space-xxs) - var(--ic-space-1px));\n}\n\n.scroll-splitter-right {\n margin-right: calc(var(--ic-space-xxs) - var(--ic-space-1px));\n}\n\n.disabled .scroll-splitter-left,\n.disabled .scroll-splitter-right {\n background-color: transparent;\n}\n\n:host(.ic-horizontal-scroll-dark) .disabled ic-button > svg,\n:host(.ic-horizontal-scroll-light) .disabled ic-button > svg {\n color: var(--splitter-color) !important;\n}\n","import { h, Host, } from \"@stencil/core\";\nimport LeftArrow from \"./assets/left-arrow.svg\";\nimport RightArrow from \"./assets/right-arrow.svg\";\nimport { getSlotElements } from \"../../utils/helpers\";\nimport { checkResizeObserver, elementOverflowsX } from \"../../utils/helpers\";\nimport { IcBrandForegroundEnum, } from \"../../utils/types\";\nconst SCROLL_DELAY_MS = 200;\nexport class HorizontalScroll {\n constructor() {\n this.buttonStateSet = false;\n this.firstItemVisible = true;\n this.itemOverflow = false;\n this.lastItemVisible = false;\n /**\n * The appearance of the horizontal scroll, e.g. dark, light or the default.\n */\n this.appearance = \"default\";\n /** @internal Determines whether black variant of the tabs should be displayed. */\n this.monochrome = false;\n /**\n * @internal Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n this.theme = \"inherit\";\n /**\n * @internal The name of the event that triggers focus handler logic.\n */\n this.focusTrigger = \"focus\";\n this.focusHandler = (event) => {\n this.itemFocusHandler(Array.from(this.items).indexOf(event.target));\n };\n this.resizeObserverCallback = () => {\n if (this.el.clientWidth >= this.itemsContainerEl.scrollWidth) {\n this.itemOverflow = false;\n }\n else {\n this.itemOverflow = elementOverflowsX(this.itemsContainerEl);\n }\n if (this.itemOverflow) {\n this.lastItemVisible =\n this.itemsContainerEl.offsetWidth + this.itemsContainerEl.scrollLeft >=\n this.itemsContainerEl.scrollWidth;\n }\n };\n this.runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.resizeObserverCallback();\n });\n this.resizeObserver.observe(this.itemsContainerEl);\n };\n this.scrollLeft = () => {\n this.scrollItemIntoView(this.getCurrentLeftItem() - 1);\n };\n this.scrollRight = () => {\n this.scrollItemIntoView(this.getCurrentLeftItem() + 1);\n };\n this.longScrollRight = () => {\n this.scrollRight();\n this.scrollDelay = window.setTimeout(this.longScrollRight, SCROLL_DELAY_MS);\n };\n this.longScrollLeft = () => {\n this.scrollLeft();\n this.scrollDelay = window.setTimeout(this.longScrollLeft, SCROLL_DELAY_MS);\n };\n this.leftArrowMouseDownHandler = (e) => {\n e.preventDefault();\n this.scrollDelay = window.setTimeout(this.longScrollLeft, SCROLL_DELAY_MS);\n };\n this.rightArrowMouseDownHandler = (e) => {\n e.preventDefault();\n this.scrollDelay = window.setTimeout(this.longScrollRight, SCROLL_DELAY_MS);\n };\n this.arrowMouseUpHandler = () => {\n window.clearTimeout(this.scrollDelay);\n };\n this.getCurrentLeftItem = () => {\n const index = this.itemOffsets.findIndex((el) => el > Math.round(this.itemsContainerEl.scrollLeft));\n return index < 0 ? 0 : index;\n };\n this.scrollHandler = () => {\n window.clearTimeout(this.isScrolling);\n // Set a timeout to run after scrolling ends\n this.isScrolling = window.setTimeout(this.scrollStopped, 50);\n };\n this.scrollStopped = () => {\n // If scrollItemIntoView has been called, the button states will already be set\n // Can't just handle it here as it causes strange jumping behaviour in positioning\n const scrollLeft = Math.round(this.itemsContainerEl.scrollLeft);\n if (this.buttonStateSet === false) {\n this.firstItemVisible = scrollLeft === 0;\n this.lastItemVisible =\n this.itemsContainerEl.offsetWidth + scrollLeft >=\n this.itemsContainerEl.scrollWidth;\n }\n this.buttonStateSet = false;\n };\n }\n componentWillLoad() {\n this.itemsContainerEl = this.el.children[0];\n this.itemsContainerEl.addEventListener(\"scroll\", this.scrollHandler);\n this.items = getSlotElements(this.itemsContainerEl);\n this.items.forEach((item) => {\n if (item.addEventListener) {\n item.addEventListener(this.focusTrigger, this.focusHandler);\n }\n });\n }\n componentDidLoad() {\n var _a;\n let runningTotal = 0;\n this.itemOffsets = this.items.map((item) => {\n runningTotal += item.offsetWidth;\n return runningTotal;\n });\n checkResizeObserver(this.runResizeObserver);\n // Add event listener to scroll containers as mouse events are not fired on disabled elements (ic-button's <button>)\n // 'mouseleave' needed in case the user moves their mouse while holding the arrow buttons\n // - 'mouseup' otherwise not detected and scrolling not stopped\n const scrollArrows = Array.from(((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(\"div\")) || []);\n [\"mouseup\", \"mouseleave\"].forEach((event) => {\n scrollArrows.forEach((arrow) => arrow.addEventListener(event, this.arrowMouseUpHandler));\n });\n }\n disconnectedCallback() {\n var _a, _b, _c;\n if (this.resizeObserver !== undefined) {\n this.resizeObserver.disconnect();\n }\n const scrollArrows = Array.from(((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(\"div\")) || []);\n [\"mouseup\", \"mouseleave\"].forEach((event) => {\n scrollArrows.forEach((arrow) => arrow.removeEventListener(event, this.arrowMouseUpHandler));\n });\n (_b = this.items) === null || _b === void 0 ? void 0 : _b.forEach((item) => {\n if (item.removeEventListener) {\n item.removeEventListener(this.focusTrigger, this.focusHandler);\n }\n });\n (_c = this.itemsContainerEl) === null || _c === void 0 ? void 0 : _c.removeEventListener(\"scroll\", this.scrollHandler);\n }\n /**\n * @internal if side scrolling enabled, scrolls the specified item into view.\n */\n async scrollItemIntoView(itemPosition) {\n this.firstItemVisible = itemPosition <= 0;\n const newScrollPos = itemPosition <= 0 ? 0 : this.itemOffsets[itemPosition - 1];\n this.lastItemVisible =\n this.itemsContainerEl.offsetWidth + newScrollPos >=\n this.itemsContainerEl.scrollWidth;\n this.buttonStateSet = true;\n this.itemsContainerEl.scrollLeft = newScrollPos;\n }\n itemFocusHandler(itemPosition) {\n if (this.itemOverflow) {\n this.scrollItemIntoView(itemPosition);\n }\n }\n render() {\n const { firstItemVisible, lastItemVisible, itemOverflow } = this;\n return (h(Host, { key: '5c313665e71e0abc91a19f204ccf08d7b017f46b', class: {\n [\"ic-horizontal-scroll-visible\"]: itemOverflow,\n [\"ic-horizontal-scroll-dark\"]: this.appearance === IcBrandForegroundEnum.Dark,\n [\"ic-horizontal-scroll-light\"]: this.appearance === IcBrandForegroundEnum.Light,\n [`ic-theme-${this.theme}`]: this.theme !== \"inherit\",\n } }, h(\"div\", { key: '7a65d56af26a6bfe660c3e923beaf7b512f77de8', \"aria-hidden\": \"true\", class: {\n [\"scroll-container-left\"]: true,\n [\"hidden\"]: !itemOverflow,\n [\"disabled\"]: firstItemVisible,\n }, role: \"tab\" }, h(\"ic-button\", { key: '0203d6acdde7444d03038b3ec86f3e318615030d', class: \"scroll-arrow\", variant: \"icon-tertiary\", \"aria-label\": \"Scroll left\", theme: this.theme === \"light\" || this.theme === \"inherit\"\n ? \"dark\"\n : \"light\", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: \"-1\", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), h(\"span\", { key: 'dffb5fee1c17005205216d0901141317e2dc4aa6', class: \"scroll-splitter-left\" })), h(\"slot\", { key: 'f637c15f3020e1572a61179c2132dece11d0699a' }), h(\"div\", { key: 'c563d5ca6d07a66f2111bea5aebe7d36ae481770', \"aria-hidden\": \"true\", class: {\n [\"scroll-container-right\"]: true,\n [\"hidden\"]: !itemOverflow,\n [\"disabled\"]: lastItemVisible,\n }, role: \"tab\" }, h(\"span\", { key: 'd8afe9aaf2304d13909815aeb8e60ac4f8952f7f', class: \"scroll-splitter-right\" }), h(\"ic-button\", { key: '4f3be747e736a50705793742b0a1e9fab44d56db', class: \"scroll-arrow\", variant: \"icon-tertiary\", \"aria-label\": \"Scroll right\", theme: this.theme === \"light\" || this.theme === \"inherit\"\n ? \"dark\"\n : \"light\", monochrome: this.monochrome, innerHTML: RightArrow, disabled: lastItemVisible, tabindex: \"-1\", onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler }))));\n }\n static get is() { return \"ic-horizontal-scroll\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"./ic-horizontal-scroll.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-horizontal-scroll.css\"]\n };\n }\n static get properties() {\n return {\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcBrandForeground\",\n \"resolved\": \"\\\"dark\\\" | \\\"default\\\" | \\\"light\\\" | undefined\",\n \"references\": {\n \"IcBrandForeground\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcBrandForeground\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The appearance of the horizontal scroll, e.g. dark, light or the default.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"appearance\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"default\\\"\"\n },\n \"monochrome\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Determines whether black variant of the tabs should be displayed.\"\n }],\n \"text\": \"\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"monochrome\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\" | undefined\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Sets the theme color to the dark or light theme color. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\"\n }],\n \"text\": \"\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n },\n \"focusTrigger\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"The name of the event that triggers focus handler logic.\"\n }],\n \"text\": \"\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"focus-trigger\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"focus\\\"\"\n }\n };\n }\n static get states() {\n return {\n \"firstItemVisible\": {},\n \"itemOverflow\": {},\n \"lastItemVisible\": {}\n };\n }\n static get methods() {\n return {\n \"scrollItemIntoView\": {\n \"complexType\": {\n \"signature\": \"(itemPosition: number) => Promise<void>\",\n \"parameters\": [{\n \"name\": \"itemPosition\",\n \"type\": \"number\",\n \"docs\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"if side scrolling enabled, scrolls the specified item into view.\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n//# sourceMappingURL=ic-horizontal-scroll.js.map\n"],"version":3}
1
+ {"file":"ic-horizontal-scroll2.js","mappings":";;;;;;;;;;;;;;;AAAA,MAAM,qBAAqB,GAAG,4oIAA4oI,CAAC;AAC3qI,iCAAe,qBAAqB;;ACKpC,MAAM,eAAe,GAAG,GAAG,CAAC;MACf,gBAAgB;IACzB;;;;QACI,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAC5B,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAC7B,IAAI,CAAC,YAA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Q,GAAG,CAAC,YAAY;gBACzB,CAAC,UAAU,GAAG,eAAe;aAChC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,uBAAuB,EAAE,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,KAAK,OAAO,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS;kBACtT,MAAM;kBACN,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,EAAE,IAAI,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC,EAAE;KACnM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css?tag=ic-horizontal-scroll&encapsulation=shadow","../web-components/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n --border-bottom-color: var(--ic-architectural-300);\n --splitter-color: var(--ic-architectural-100);\n\n display: flex;\n max-width: 100%;\n}\n\n:host(.ic-horizontal-scroll-light) {\n --splitter-color: var(--ic-color-keyline-lighten);\n}\n\n:host(.ic-horizontal-scroll-light) ic-button > svg {\n color: var(--ic-color-text-action-monochrome-dark);\n}\n\n:host(.ic-horizontal-scroll-dark) {\n --splitter-color: var(--ic-color-keyline-darken);\n}\n\n:host(.ic-horizontal-scroll-dark) ic-button > svg {\n color: var(--ic-color-text-action-monochrome-light);\n}\n\n/* Slotted items container element */\n::slotted(*) {\n overflow-x: scroll;\n overflow-y: hidden;\n scroll-behavior: smooth;\n scrollbar-width: none;\n -ms-overflow-style: none;\n margin: calc(var(--ic-space-xs) * -1) !important;\n padding: var(--ic-space-xs) !important;\n}\n\n:host(.ic-horizontal-scroll-visible) ::slotted(*) {\n margin: calc(var(--ic-space-xs) * -1) 0 !important;\n padding: var(--ic-space-xs) !important;\n}\n\n.tabs-container::-webkit-scrollbar {\n display: none;\n}\n\n.scroll-container-left,\n.scroll-container-right {\n display: flex;\n}\n\n.scroll-container-left {\n margin-left: var(--ic-space-xxs);\n}\n\n.scroll-container-right {\n margin-right: var(--ic-space-xxs);\n}\n\n.hidden {\n display: none;\n}\n\n.scroll-arrow {\n margin: var(--ic-space-xxs) 0;\n}\n\n.disabled .ic-tooltip-container {\n display: none !important;\n}\n\n.scroll-splitter-left,\n.scroll-splitter-right {\n display: flex;\n height: var(--ic-space-lg);\n width: var(--ic-space-1px);\n margin-top: var(--ic-space-xs);\n border-radius: var(--ic-space-1px);\n background-color: var(--splitter-color);\n}\n\n.scroll-splitter-left {\n margin-left: calc(var(--ic-space-xxs) - var(--ic-space-1px));\n}\n\n.scroll-splitter-right {\n margin-right: calc(var(--ic-space-xxs) - var(--ic-space-1px));\n}\n\n.disabled .scroll-splitter-left,\n.disabled .scroll-splitter-right {\n background-color: transparent;\n}\n\n:host(.ic-horizontal-scroll-dark) .disabled ic-button > svg,\n:host(.ic-horizontal-scroll-light) .disabled ic-button > svg {\n color: var(--splitter-color) !important;\n}\n","import { h, Host, } from \"@stencil/core\";\nimport LeftArrow from \"./assets/left-arrow.svg\";\nimport RightArrow from \"./assets/right-arrow.svg\";\nimport { getSlotElements } from \"../../utils/helpers\";\nimport { checkResizeObserver, elementOverflowsX } from \"../../utils/helpers\";\nimport { IcBrandForegroundEnum, } from \"../../utils/types\";\nconst SCROLL_DELAY_MS = 200;\nexport class HorizontalScroll {\n constructor() {\n this.buttonStateSet = false;\n this.firstItemVisible = true;\n this.itemOverflow = false;\n this.lastItemVisible = false;\n /**\n * The appearance of the horizontal scroll, e.g. dark, light or the default.\n */\n this.appearance = \"default\";\n /** @internal Determines whether black variant of the tabs should be displayed. */\n this.monochrome = false;\n /**\n * @internal Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n this.theme = \"inherit\";\n /**\n * @internal The name of the event that triggers focus handler logic.\n */\n this.focusTrigger = \"focus\";\n this.focusHandler = (event) => {\n this.itemFocusHandler(Array.from(this.items).indexOf(event.target));\n };\n this.resizeObserverCallback = () => {\n if (this.el.clientWidth >= this.itemsContainerEl.scrollWidth) {\n this.itemOverflow = false;\n }\n else {\n this.itemOverflow = elementOverflowsX(this.itemsContainerEl);\n }\n if (this.itemOverflow) {\n this.lastItemVisible =\n this.itemsContainerEl.offsetWidth + this.itemsContainerEl.scrollLeft >=\n this.itemsContainerEl.scrollWidth;\n }\n };\n this.runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.resizeObserverCallback();\n });\n this.resizeObserver.observe(this.itemsContainerEl);\n };\n this.scrollLeft = () => {\n this.scrollItemIntoView(this.getCurrentLeftItem() - 1);\n };\n this.scrollRight = () => {\n this.scrollItemIntoView(this.getCurrentLeftItem() + 1);\n };\n this.longScrollRight = () => {\n this.scrollRight();\n this.scrollDelay = window.setTimeout(this.longScrollRight, SCROLL_DELAY_MS);\n };\n this.longScrollLeft = () => {\n this.scrollLeft();\n this.scrollDelay = window.setTimeout(this.longScrollLeft, SCROLL_DELAY_MS);\n };\n this.leftArrowMouseDownHandler = (e) => {\n e.preventDefault();\n this.scrollDelay = window.setTimeout(this.longScrollLeft, SCROLL_DELAY_MS);\n };\n this.rightArrowMouseDownHandler = (e) => {\n e.preventDefault();\n this.scrollDelay = window.setTimeout(this.longScrollRight, SCROLL_DELAY_MS);\n };\n this.arrowMouseUpHandler = () => {\n window.clearTimeout(this.scrollDelay);\n };\n this.getCurrentLeftItem = () => {\n const index = this.itemOffsets.findIndex((el) => el > Math.round(this.itemsContainerEl.scrollLeft));\n return index < 0 ? 0 : index;\n };\n this.scrollHandler = () => {\n window.clearTimeout(this.isScrolling);\n // Set a timeout to run after scrolling ends\n this.isScrolling = window.setTimeout(this.scrollStopped, 50);\n };\n this.scrollStopped = () => {\n // If scrollItemIntoView has been called, the button states will already be set\n // Can't just handle it here as it causes strange jumping behaviour in positioning\n const scrollLeft = Math.round(this.itemsContainerEl.scrollLeft);\n if (this.buttonStateSet === false) {\n this.firstItemVisible = scrollLeft === 0;\n this.lastItemVisible =\n this.itemsContainerEl.offsetWidth + scrollLeft >=\n this.itemsContainerEl.scrollWidth;\n }\n this.buttonStateSet = false;\n };\n }\n componentWillLoad() {\n this.itemsContainerEl = this.el.children[0];\n this.itemsContainerEl.addEventListener(\"scroll\", this.scrollHandler);\n this.items = getSlotElements(this.itemsContainerEl);\n this.items.forEach((item) => {\n if (item.addEventListener) {\n item.addEventListener(this.focusTrigger, this.focusHandler);\n }\n });\n }\n componentDidLoad() {\n var _a;\n let runningTotal = 0;\n this.itemOffsets = this.items.map((item) => {\n runningTotal += item.offsetWidth;\n return runningTotal;\n });\n checkResizeObserver(this.runResizeObserver);\n // Add event listener to scroll containers as mouse events are not fired on disabled elements (ic-button's <button>)\n // 'mouseleave' needed in case the user moves their mouse while holding the arrow buttons\n // - 'mouseup' otherwise not detected and scrolling not stopped\n const scrollArrows = Array.from(((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(\"div\")) || []);\n [\"mouseup\", \"mouseleave\"].forEach((event) => {\n scrollArrows.forEach((arrow) => arrow.addEventListener(event, this.arrowMouseUpHandler));\n });\n }\n disconnectedCallback() {\n var _a, _b, _c;\n if (this.resizeObserver !== undefined) {\n this.resizeObserver.disconnect();\n }\n const scrollArrows = Array.from(((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(\"div\")) || []);\n [\"mouseup\", \"mouseleave\"].forEach((event) => {\n scrollArrows.forEach((arrow) => arrow.removeEventListener(event, this.arrowMouseUpHandler));\n });\n (_b = this.items) === null || _b === void 0 ? void 0 : _b.forEach((item) => {\n if (item.removeEventListener) {\n item.removeEventListener(this.focusTrigger, this.focusHandler);\n }\n });\n (_c = this.itemsContainerEl) === null || _c === void 0 ? void 0 : _c.removeEventListener(\"scroll\", this.scrollHandler);\n }\n /**\n * @internal if side scrolling enabled, scrolls the specified item into view.\n */\n async scrollItemIntoView(itemPosition) {\n this.firstItemVisible = itemPosition <= 0;\n const newScrollPos = itemPosition <= 0 ? 0 : this.itemOffsets[itemPosition - 1];\n this.lastItemVisible =\n this.itemsContainerEl.offsetWidth + newScrollPos >=\n this.itemsContainerEl.scrollWidth;\n this.buttonStateSet = true;\n this.itemsContainerEl.scrollLeft = newScrollPos;\n }\n itemFocusHandler(itemPosition) {\n if (this.itemOverflow) {\n this.scrollItemIntoView(itemPosition);\n }\n }\n render() {\n const { firstItemVisible, lastItemVisible, itemOverflow } = this;\n return (h(Host, { key: '5c313665e71e0abc91a19f204ccf08d7b017f46b', class: {\n [\"ic-horizontal-scroll-visible\"]: itemOverflow,\n [\"ic-horizontal-scroll-dark\"]: this.appearance === IcBrandForegroundEnum.Dark,\n [\"ic-horizontal-scroll-light\"]: this.appearance === IcBrandForegroundEnum.Light,\n [`ic-theme-${this.theme}`]: this.theme !== \"inherit\",\n } }, h(\"div\", { key: '7a65d56af26a6bfe660c3e923beaf7b512f77de8', \"aria-hidden\": \"true\", class: {\n [\"scroll-container-left\"]: true,\n [\"hidden\"]: !itemOverflow,\n [\"disabled\"]: firstItemVisible,\n }, role: \"tab\" }, h(\"ic-button\", { key: '0203d6acdde7444d03038b3ec86f3e318615030d', class: \"scroll-arrow\", variant: \"icon-tertiary\", \"aria-label\": \"Scroll left\", theme: this.theme === \"light\" || this.theme === \"inherit\"\n ? \"dark\"\n : \"light\", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: \"-1\", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), h(\"span\", { key: 'dffb5fee1c17005205216d0901141317e2dc4aa6', class: \"scroll-splitter-left\" })), h(\"slot\", { key: 'f637c15f3020e1572a61179c2132dece11d0699a' }), h(\"div\", { key: 'c563d5ca6d07a66f2111bea5aebe7d36ae481770', \"aria-hidden\": \"true\", class: {\n [\"scroll-container-right\"]: true,\n [\"hidden\"]: !itemOverflow,\n [\"disabled\"]: lastItemVisible,\n }, role: \"tab\" }, h(\"span\", { key: 'd8afe9aaf2304d13909815aeb8e60ac4f8952f7f', class: \"scroll-splitter-right\" }), h(\"ic-button\", { key: '4f3be747e736a50705793742b0a1e9fab44d56db', class: \"scroll-arrow\", variant: \"icon-tertiary\", \"aria-label\": \"Scroll right\", theme: this.theme === \"light\" || this.theme === \"inherit\"\n ? \"dark\"\n : \"light\", monochrome: this.monochrome, innerHTML: RightArrow, disabled: lastItemVisible, tabindex: \"-1\", onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler }))));\n }\n static get is() { return \"ic-horizontal-scroll\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"./ic-horizontal-scroll.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-horizontal-scroll.css\"]\n };\n }\n static get properties() {\n return {\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcBrandForeground\",\n \"resolved\": \"\\\"dark\\\" | \\\"default\\\" | \\\"light\\\" | undefined\",\n \"references\": {\n \"IcBrandForeground\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcBrandForeground\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The appearance of the horizontal scroll, e.g. dark, light or the default.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"appearance\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"default\\\"\"\n },\n \"monochrome\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Determines whether black variant of the tabs should be displayed.\"\n }],\n \"text\": \"\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"monochrome\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\" | undefined\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Sets the theme color to the dark or light theme color. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\"\n }],\n \"text\": \"\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n },\n \"focusTrigger\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"The name of the event that triggers focus handler logic.\"\n }],\n \"text\": \"\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"focus-trigger\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"focus\\\"\"\n }\n };\n }\n static get states() {\n return {\n \"firstItemVisible\": {},\n \"itemOverflow\": {},\n \"lastItemVisible\": {}\n };\n }\n static get methods() {\n return {\n \"scrollItemIntoView\": {\n \"complexType\": {\n \"signature\": \"(itemPosition: number) => Promise<void>\",\n \"parameters\": [{\n \"name\": \"itemPosition\",\n \"type\": \"number\",\n \"docs\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"if side scrolling enabled, scrolls the specified item into view.\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n//# sourceMappingURL=ic-horizontal-scroll.js.map\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { r as removeDisabledFalse, f as renderDynamicChildSlots, E as slotHasContent, z as IcInformationStatus, C as successIcon } from './helpers.js';
2
+ import { r as removeDisabledFalse, f as renderDynamicChildSlots, F as slotHasContent, A as IcInformationStatus, E as successIcon } from './helpers.js';
3
3
 
4
4
  const icInputComponentContainerCss = "ic-input-component-container{display:flex;border:var(--ic-border-width) solid\n var(--border-color, var(--ic-architectural-400));border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-slow);height:2.5rem;min-height:2.5rem;width:var(--input-width, 20rem);padding:var(--ic-space-1px);background-color:var(--input-bg-color, var(--ic-color-background-primary));box-sizing:border-box;fill:var(--ic-architectural-400);outline:none}ic-input-component-container.ic-input-component-container-full-width{width:100%}ic-input-component-container.ic-input-component-container-disabled,ic-input-component-container.ic-input-component-container-disabled:hover{border:var(--ic-border-width) dashed\n var(--border-color-disabled, var(--ic-color-border-neutral-disabled))}ic-input-component-container.ic-input-component-container-readonly,ic-input-component-container.ic-input-component-container-small.ic-input-component-container-readonly,ic-input-component-container.ic-input-component-container-large.ic-input-component-container-readonly{height:auto;background:transparent}ic-input-component-container.ic-input-component-container-readonly,ic-input-component-container.ic-input-component-container-readonly:hover{border:none;padding:0}ic-input-component-container.ic-input-component-container-error{border:var(--ic-space-xxxs) solid\n var(--border-color-error, var(--ic-color-border-error));padding:0}ic-input-component-container.ic-input-component-container-error:hover{border:var(--ic-space-xxxs) solid\n var(--border-color-error-hover, var(--ic-color-border-error-hover))}ic-input-component-container.ic-input-component-container-error:focus-within{border:var(--ic-space-xxxs) solid\n var(--border-color-error-pressed, var(--ic-color-border-error-pressed))}ic-input-component-container.ic-input-component-container-warning{border:var(--ic-space-xxxs) solid\n var(--border-color-warning, var(--ic-color-border-warning));padding:0}ic-input-component-container.ic-input-component-container-warning:hover{border:var(--ic-space-xxxs) solid\n var(--border-color-warning-hover, var(--ic-color-border-warning-hover))}ic-input-component-container.ic-input-component-container-warning:focus-within{border:var(--ic-space-xxxs) solid\n var(--border-color-warning-pressed, var(--ic-color-border-warning-pressed))}ic-input-component-container.ic-input-component-container-success{border:var(--ic-space-xxxs) solid\n var(--border-color-success, var(--ic-color-border-success));padding:0}ic-input-component-container.ic-input-component-container-success:hover{border:var(--ic-space-xxxs) solid\n var(--border-color-success-hover, var(--ic-color-border-success-hover))}ic-input-component-container.ic-input-component-container-success:focus-within{border:var(--ic-space-xxxs) solid\n var(--border-color-success-pressed, var(--ic-color-border-success-pressed))}ic-input-component-container.ic-input-component-container-small{height:var(--ic-space-xl);min-height:var(--ic-space-xl)}ic-input-component-container.ic-input-component-container-large{height:var(--ic-space-xxl);min-height:var(--ic-space-xxl)}ic-input-component-container.ic-input-component-container-multiline{height:auto}ic-input-component-container .icon-container{margin-top:var(--ic-space-xxs);margin-left:0.438rem;display:flex;align-items:center}ic-input-component-container.ic-input-component-container-multiline .icon-container,ic-input-component-container.ic-input-component-container-multiline.ic-input-component-container-small .icon-container{margin-top:0.375rem;display:block}ic-input-component-container.ic-input-component-container-readonly .icon-container{margin-left:-0.313rem}ic-input-component-container.ic-input-component-container-disabled ::-moz-placeholder{display:none}ic-input-component-container.ic-input-component-container-disabled ::placeholder{display:none}ic-input-component-container .inline-success{margin:var(--ic-space-xs) 0.375rem;display:flex;align-items:center}ic-input-component-container .inline-success>svg{fill:var(--ic-input-component-container-success-icon-inline-color);height:1.25rem;width:1.25rem}ic-input-component-container:hover{border:var(--ic-input-component-container-hover-border);border-color:var(--border-color-hover, var(--ic-color-border-neutral-hover));color:var(--ic-action-monochrome-hover-dark)}ic-input-component-container:focus{border:var(--ic-border-pressed);border-color:var(\n --border-color-pressed,\n var(--ic-color-border-neutral-pressed)\n )}.focus-indicator{display:flex;width:100%;margin:-0.125rem;padding:0.125rem;border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast)}.focus-indicator:focus-within,.focus-indicator-enabled{box-shadow:var(--ic-border-focus)}.focus-indicator.ic-input-component-container-dark:focus-within{box-shadow:var(--ic-border-focus)}@media (forced-colors: active){ic-input-component-container,.focus-indicator{transition:none}ic-input-component-container:focus-within{border:var(--ic-border-width) solid Highlight;outline:0.125rem solid Highlight}ic-input-component-container.ic-input-component-container-disabled,ic-input-component-container.ic-input-component-container-disabled:hover{border:var(--ic-border-width) dashed GrayText}}";
5
5
  const IcInputComponentContainerStyle0 = icInputComponentContainerCss;
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { o as onComponentRequiredPropUndefined, x as getInputHelperTextID } from './helpers.js';
2
+ import { o as onComponentRequiredPropUndefined, y as getInputHelperTextID } from './helpers.js';
3
3
  import { d as defineCustomElement$1 } from './ic-typography2.js';
4
4
 
5
5
  const icInputLabelCss = "ic-input-label{margin-bottom:var(--ic-space-xs);--ic-typography-color:var(\n --ic-input-label-text-color,\n var(--ic-color-text-primary)\n )}ic-input-label.with-helper{margin-bottom:0}ic-input-label.ic-input-label-readonly{--ic-typography-color:var(--ic-input-label-readonly-typography-color)}ic-input-label .helpertext,ic-input-label .helpertext ::slotted(*){margin-top:var(--ic-space-xxxs);padding-bottom:var(--ic-input-label-helpertext-padding, 0);--ic-typography-color:var(\n --ic-input-label-helper-text-color,\n var(--ic-color-text-secondary)\n )}ic-input-label .helpertext-normal{--ic-typography-color:var(\n --ic-input-label-helper-text-color,\n var(--ic-color-text-secondary)\n )}ic-input-label .helpertext-readonly{--ic-typography-color:var(--ic-input-label-readonly-helpertext-color)}ic-input-label .readonly-label{--ic-typography-color:var(--ic-input-label-readonly-label-color)}ic-input-label .error-label{--ic-typography-color:var(--ic-input-label-error-label-color)}";
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { o as onComponentRequiredPropUndefined, y as getInputValidationTextID, z as IcInformationStatus, A as warningIcon, B as errorIcon, C as successIcon } from './helpers.js';
2
+ import { o as onComponentRequiredPropUndefined, z as getInputValidationTextID, A as IcInformationStatus, B as warningIcon, C as errorIcon, E as successIcon } from './helpers.js';
3
3
  import { d as defineCustomElement$1 } from './ic-typography2.js';
4
4
 
5
5
  const icInputValidationCss = "ic-input-validation{width:var(--input-width, 20rem);margin-top:var(--ic-space-xs);display:flex}ic-input-validation.ic-input-validation-full-width{width:100%}ic-input-validation span.status-icon{padding-right:var(--ic-space-xxs)}ic-input-validation span.status-icon>svg{height:1.25rem;width:1.25rem}ic-input-validation span.icon-success>svg{fill:var(--ic-input-validation-success-icon-color)}ic-input-validation span.icon-error>svg{fill:var(--ic-input-validation-error, var(--ic-atoms-status-icon-error))}ic-input-validation span.icon-warning>svg{fill:var(--ic-input-validation-warning-icon-color)}ic-input-validation .statustext{flex-grow:1;color:var(\n --ic-input-validation-status-text-color,\n var(--ic-color-text-primary)\n );--ic-typography-color:var(\n --ic-input-validation-status-text-color,\n var(--ic-color-text-primary)\n )}";
@@ -0,0 +1,95 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const icLayoutGridItemCss = ":host{grid-column:var(--ic-grid-item-col-start, 1) / span\n var(--ic-grid-item-col-span, var(--ic-layout-grid-col-span, 1)) !important;grid-row:var(--ic-grid-item-row-start, 1) / span\n var(--ic-grid-item-row-span, var(--ic-layout-grid-row-span, 1)) !important}@media only screen and (max-width: 576px){:host(.ic-layout-grid-hide-in-mobile){display:none}}";
4
+ const IcLayoutGridItemStyle0 = icLayoutGridItemCss;
5
+
6
+ const LayoutGridItem = /*@__PURE__*/ proxyCustomElement(class LayoutGridItem extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ /**
12
+ * The number of columns the grid item should span.
13
+ */
14
+ this.colSpan = 1;
15
+ /**
16
+ * The column the grid item should start at.
17
+ */
18
+ this.colStart = 1;
19
+ /**
20
+ * If `true`, the grid item will be hidden on smaller screens.
21
+ */
22
+ this.hideInMobileMode = false;
23
+ /**
24
+ * The number of rows the grid item should span.
25
+ */
26
+ this.rowSpan = 1;
27
+ /**
28
+ * The row the grid item should start at.
29
+ */
30
+ this.rowStart = 1;
31
+ }
32
+ watchColSpan(newValue) {
33
+ this.el.style.setProperty("--ic-grid-item-col-span", `${newValue}`);
34
+ }
35
+ watchColStart(newValue) {
36
+ this.el.style.setProperty("--ic-grid-item-col-start", `${newValue}`);
37
+ }
38
+ watchRowSpan(newValue) {
39
+ this.el.style.setProperty("--ic-grid-item-row-span", `${newValue}`);
40
+ }
41
+ watchRowStart(newValue) {
42
+ this.el.style.setProperty("--ic-grid-item-row-start", `${newValue}`);
43
+ }
44
+ componentWillLoad() {
45
+ this.el.style.setProperty("--ic-grid-item-col-start", `${this.colStart}`);
46
+ this.el.style.setProperty("--ic-grid-item-col-span", `${this.colSpan}`);
47
+ this.el.style.setProperty("--ic-grid-item-row-start", `${this.rowStart}`);
48
+ this.el.style.setProperty("--ic-grid-item-row-span", `${this.rowSpan}`);
49
+ }
50
+ render() {
51
+ const { hideInMobileMode } = this;
52
+ return (h(Host, { key: '07cb3d39a4c3440a06df2f6c56ecdf3017e48f59', class: {
53
+ "ic-layout-grid-hide-in-mobile": !!hideInMobileMode,
54
+ } }, h("slot", { key: '53c7d5616494ad9fc7468d023b9a9ec520938916' })));
55
+ }
56
+ get el() { return this; }
57
+ static get watchers() { return {
58
+ "colSpan": ["watchColSpan"],
59
+ "colStart": ["watchColStart"],
60
+ "rowSpan": ["watchRowSpan"],
61
+ "rowStart": ["watchRowStart"]
62
+ }; }
63
+ static get style() { return IcLayoutGridItemStyle0; }
64
+ }, [1, "ic-layout-grid-item", {
65
+ "colSpan": [2, "col-span"],
66
+ "colStart": [2, "col-start"],
67
+ "hideInMobileMode": [4, "hide-in-mobile-mode"],
68
+ "rowSpan": [2, "row-span"],
69
+ "rowStart": [2, "row-start"]
70
+ }, undefined, {
71
+ "colSpan": ["watchColSpan"],
72
+ "colStart": ["watchColStart"],
73
+ "rowSpan": ["watchRowSpan"],
74
+ "rowStart": ["watchRowStart"]
75
+ }]);
76
+ function defineCustomElement$1() {
77
+ if (typeof customElements === "undefined") {
78
+ return;
79
+ }
80
+ const components = ["ic-layout-grid-item"];
81
+ components.forEach(tagName => { switch (tagName) {
82
+ case "ic-layout-grid-item":
83
+ if (!customElements.get(tagName)) {
84
+ customElements.define(tagName, LayoutGridItem);
85
+ }
86
+ break;
87
+ } });
88
+ }
89
+
90
+ const IcLayoutGridItem = LayoutGridItem;
91
+ const defineCustomElement = defineCustomElement$1;
92
+
93
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C,KAAK,CAAC,WAAW,CAAC,0BAA0B,EAAE,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC1E,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,yBAAyB,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;KAC3E;IACD,MAAM;QACF,MAAM,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAC;QAClC,QAAQ,CAAC,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE;gBAClE,+BAA+B,EAAE,CAAC,CAAC,gBAAgB;aACtD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,CAAC,CAAC,EAAE;KAC7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.css?tag=ic-layout-grid-item&encapsulation=shadow","../web-components/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js"],"sourcesContent":[":host {\n grid-column: var(--ic-grid-item-col-start, 1) / span\n var(--ic-grid-item-col-span, var(--ic-layout-grid-col-span, 1)) !important;\n grid-row: var(--ic-grid-item-row-start, 1) / span\n var(--ic-grid-item-row-span, var(--ic-layout-grid-row-span, 1)) !important;\n}\n\n@media only screen and (max-width: 576px) {\n :host(.ic-layout-grid-hide-in-mobile) {\n display: none;\n }\n}\n","import { Host, h } from \"@stencil/core\";\nexport class LayoutGridItem {\n constructor() {\n /**\n * The number of columns the grid item should span.\n */\n this.colSpan = 1;\n /**\n * The column the grid item should start at.\n */\n this.colStart = 1;\n /**\n * If `true`, the grid item will be hidden on smaller screens.\n */\n this.hideInMobileMode = false;\n /**\n * The number of rows the grid item should span.\n */\n this.rowSpan = 1;\n /**\n * The row the grid item should start at.\n */\n this.rowStart = 1;\n }\n watchColSpan(newValue) {\n this.el.style.setProperty(\"--ic-grid-item-col-span\", `${newValue}`);\n }\n watchColStart(newValue) {\n this.el.style.setProperty(\"--ic-grid-item-col-start\", `${newValue}`);\n }\n watchRowSpan(newValue) {\n this.el.style.setProperty(\"--ic-grid-item-row-span\", `${newValue}`);\n }\n watchRowStart(newValue) {\n this.el.style.setProperty(\"--ic-grid-item-row-start\", `${newValue}`);\n }\n componentWillLoad() {\n this.el.style.setProperty(\"--ic-grid-item-col-start\", `${this.colStart}`);\n this.el.style.setProperty(\"--ic-grid-item-col-span\", `${this.colSpan}`);\n this.el.style.setProperty(\"--ic-grid-item-row-start\", `${this.rowStart}`);\n this.el.style.setProperty(\"--ic-grid-item-row-span\", `${this.rowSpan}`);\n }\n render() {\n const { hideInMobileMode } = this;\n return (h(Host, { key: '07cb3d39a4c3440a06df2f6c56ecdf3017e48f59', class: {\n \"ic-layout-grid-hide-in-mobile\": !!hideInMobileMode,\n } }, h(\"slot\", { key: '53c7d5616494ad9fc7468d023b9a9ec520938916' })));\n }\n static get is() { return \"ic-layout-grid-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-layout-grid-item.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-layout-grid-item.css\"]\n };\n }\n static get properties() {\n return {\n \"colSpan\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The number of columns the grid item should span.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"col-span\",\n \"reflect\": false,\n \"defaultValue\": \"1\"\n },\n \"colStart\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The column the grid item should start at.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"col-start\",\n \"reflect\": false,\n \"defaultValue\": \"1\"\n },\n \"hideInMobileMode\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the grid item will be hidden on smaller screens.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"hide-in-mobile-mode\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"rowSpan\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The number of rows the grid item should span.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"row-span\",\n \"reflect\": false,\n \"defaultValue\": \"1\"\n },\n \"rowStart\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The row the grid item should start at.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"row-start\",\n \"reflect\": false,\n \"defaultValue\": \"1\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"colSpan\",\n \"methodName\": \"watchColSpan\"\n }, {\n \"propName\": \"colStart\",\n \"methodName\": \"watchColStart\"\n }, {\n \"propName\": \"rowSpan\",\n \"methodName\": \"watchRowSpan\"\n }, {\n \"propName\": \"rowStart\",\n \"methodName\": \"watchRowStart\"\n }];\n }\n}\n//# sourceMappingURL=ic-layout-grid-item.js.map\n"],"version":3}
@@ -0,0 +1,188 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const icLayoutGridCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:grid;width:-moz-fit-content;width:fit-content;grid-template-columns:repeat(\n var(--ic-layout-grid-columns),\n var(--ic-layout-grid-col-width, 1fr)\n );grid-template-rows:repeat(var(--ic-layout-grid-rows), 1fr);gap:var(--ic-layout-grid-spacing);padding-top:var(--ic-layout-grid-margin);padding-bottom:var(--ic-layout-grid-margin)}:host ::slotted(*){grid-column:span var(--ic-layout-grid-col-span, 1);grid-row:span var(--ic-layout-grid-row-span, 1)}:host(.ic-layout-grid-aligned-center){margin-left:auto;margin-right:auto;padding-left:var(--ic-layout-grid-margin);padding-right:var(--ic-layout-grid-margin)}:host(.ic-layout-grid-aligned-left){margin-left:var(--ic-layout-grid-margin);margin-right:auto;padding-right:var(--ic-layout-grid-margin)}:host(.ic-layout-grid-aligned-full-width){margin-left:var(--ic-layout-grid-margin);margin-right:var(--ic-layout-grid-margin);width:calc(100% - (var(--ic-layout-grid-margin) * 2))}:host(.ic-layout-grid-no-vertical-padding){padding-top:0;padding-bottom:0}@media only screen and (max-width: 576px){:host{--ic-layout-grid-margin:var(--ic-space-xs);--ic-layout-grid-columns:var(--ic-layout-grid-columns-xs)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-xs)}}@media only screen and (min-width: 577px){:host{--ic-layout-grid-margin:var(--ic-space-md);--ic-layout-grid-columns:var(--ic-layout-grid-columns-sm)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-sm)}}@media only screen and (min-width: 769px){:host{--ic-layout-grid-margin:var(--ic-space-md);--ic-layout-grid-columns:var(--ic-layout-grid-columns-md)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-md)}}@media only screen and (min-width: 993px){:host{--ic-layout-grid-margin:var(--ic-space-md);--ic-layout-grid-columns:var(--ic-layout-grid-columns-lg)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-lg)}}@media only screen and (min-width: 1201px){:host{--ic-layout-grid-margin:var(--ic-space-lg);--ic-layout-grid-columns:var(--ic-layout-grid-columns-xl)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-xl)}}";
4
+ const IcLayoutGridStyle0 = icLayoutGridCss;
5
+
6
+ const LayoutGrid = /*@__PURE__*/ proxyCustomElement(class LayoutGrid extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ this.COL_WIDTH_CSS_PROP = "--ic-layout-grid-col-width";
12
+ /**
13
+ * The alignment of the grid.
14
+ */
15
+ this.aligned = "left";
16
+ /**
17
+ * The default column span for grid items.
18
+ */
19
+ this.defaultColSpan = 1;
20
+ /**
21
+ * The default column width for grid items.
22
+ * This is used when the grid type is set to "fixed".
23
+ */
24
+ this.defaultColWidth = "64px";
25
+ /**
26
+ * The default row span for grid items.
27
+ */
28
+ this.defaultRowSpan = 1;
29
+ /**
30
+ * If `true`, the standard vertical padding from the grid will be removed.
31
+ */
32
+ this.fullHeight = false;
33
+ /**
34
+ * The space between grid items, in multiples of the base spacing unit (`var(--ic-space-xs)`).
35
+ */
36
+ this.gridSpacing = 2;
37
+ /**
38
+ * The number of rows in the grid.
39
+ */
40
+ this.rows = 1;
41
+ /**
42
+ * The layout type of the grid.
43
+ */
44
+ this.type = "fixed";
45
+ this.getColumns = () => {
46
+ if (typeof this.columns === "number") {
47
+ this.el.style.setProperty("--ic-layout-grid-columns", this.columns.toString());
48
+ }
49
+ else if (typeof this.columns === "object") {
50
+ Object.entries(this.columns).forEach(([breakpoint, value]) => {
51
+ if (value !== undefined) {
52
+ this.el.style.setProperty(`--ic-layout-grid-columns-${breakpoint}`, value.toString());
53
+ }
54
+ });
55
+ }
56
+ };
57
+ this.getColSpan = () => {
58
+ if (this.defaultColSpan !== undefined) {
59
+ if (typeof this.defaultColSpan === "number") {
60
+ Array.from(this.el.children).forEach((child) => {
61
+ child.style.setProperty("--ic-layout-grid-col-span", `${this.defaultColSpan}`);
62
+ });
63
+ }
64
+ else if (typeof this.defaultColSpan === "object") {
65
+ Object.entries(this.defaultColSpan).forEach(([breakpoint, value]) => {
66
+ if (value !== undefined) {
67
+ this.el.style.setProperty(`--ic-layout-grid-col-span-${breakpoint}`, value.toString());
68
+ }
69
+ });
70
+ }
71
+ }
72
+ };
73
+ this.getGridSpacing = () => {
74
+ this.el.style.setProperty("--ic-layout-grid-spacing", `calc(var(--ic-space-xs) * ${this.gridSpacing})`);
75
+ };
76
+ }
77
+ watchColumns() {
78
+ this.getColumns();
79
+ }
80
+ watchDefaultColSpan() {
81
+ this.getColSpan();
82
+ }
83
+ watchDefaultColWidth(newValue) {
84
+ if (this.type === "fixed") {
85
+ this.el.style.setProperty(this.COL_WIDTH_CSS_PROP, newValue);
86
+ }
87
+ }
88
+ watchDefaultRowSpan(newValue) {
89
+ this.el.style.setProperty("--ic-layout-grid-row-span", `${newValue}`);
90
+ }
91
+ watchGridSpacing() {
92
+ this.getGridSpacing();
93
+ }
94
+ watchRows(newValue) {
95
+ this.el.style.setProperty("--ic-layout-grid-rows", `${newValue}`);
96
+ }
97
+ watchType(newValue) {
98
+ this.getColumns();
99
+ if (newValue === "fixed" && this.defaultColWidth) {
100
+ this.el.style.setProperty(this.COL_WIDTH_CSS_PROP, this.defaultColWidth);
101
+ }
102
+ else {
103
+ this.el.style.removeProperty(this.COL_WIDTH_CSS_PROP);
104
+ }
105
+ }
106
+ componentWillLoad() {
107
+ if (this.columns === undefined) {
108
+ if (this.type === "fixed") {
109
+ this.columns = 12;
110
+ }
111
+ else if (this.type === "fluid") {
112
+ this.columns = {
113
+ xs: 2,
114
+ sm: 4,
115
+ md: 8,
116
+ lg: 12,
117
+ xl: 12,
118
+ };
119
+ }
120
+ }
121
+ this.getColumns();
122
+ this.getColSpan();
123
+ this.getGridSpacing();
124
+ if (this.type === "fixed" && this.defaultColWidth) {
125
+ this.el.style.setProperty(this.COL_WIDTH_CSS_PROP, this.defaultColWidth);
126
+ }
127
+ if (this.rows) {
128
+ this.el.style.setProperty("--ic-layout-grid-rows", `${this.rows}`);
129
+ this.el.style.setProperty("--ic-layout-grid-row-span", `${this.defaultRowSpan}`);
130
+ }
131
+ }
132
+ render() {
133
+ const { aligned, fullHeight } = this;
134
+ return (h(Host, { key: '95699906353df84f439ec7c7ed628f4ba9c80b4e', class: {
135
+ [`ic-layout-grid-aligned-${aligned}`]: true,
136
+ ["ic-layout-grid-no-vertical-padding"]: !!fullHeight,
137
+ } }, h("slot", { key: '5642340495e02e53b2e7248e0f254b32b95b3b3f' })));
138
+ }
139
+ get el() { return this; }
140
+ static get watchers() { return {
141
+ "columns": ["watchColumns"],
142
+ "defaultColSpan": ["watchDefaultColSpan"],
143
+ "defaultColWidth": ["watchDefaultColWidth"],
144
+ "defaultRowSpan": ["watchDefaultRowSpan"],
145
+ "gridSpacing": ["watchGridSpacing"],
146
+ "rows": ["watchRows"],
147
+ "type": ["watchType"]
148
+ }; }
149
+ static get style() { return IcLayoutGridStyle0; }
150
+ }, [1, "ic-layout-grid", {
151
+ "aligned": [1],
152
+ "columns": [2],
153
+ "defaultColSpan": [2, "default-col-span"],
154
+ "defaultColWidth": [1, "default-col-width"],
155
+ "defaultRowSpan": [2, "default-row-span"],
156
+ "fullHeight": [4, "full-height"],
157
+ "gridSpacing": [2, "grid-spacing"],
158
+ "rows": [2],
159
+ "type": [1]
160
+ }, undefined, {
161
+ "columns": ["watchColumns"],
162
+ "defaultColSpan": ["watchDefaultColSpan"],
163
+ "defaultColWidth": ["watchDefaultColWidth"],
164
+ "defaultRowSpan": ["watchDefaultRowSpan"],
165
+ "gridSpacing": ["watchGridSpacing"],
166
+ "rows": ["watchRows"],
167
+ "type": ["watchType"]
168
+ }]);
169
+ function defineCustomElement$1() {
170
+ if (typeof customElements === "undefined") {
171
+ return;
172
+ }
173
+ const components = ["ic-layout-grid"];
174
+ components.forEach(tagName => { switch (tagName) {
175
+ case "ic-layout-grid":
176
+ if (!customElements.get(tagName)) {
177
+ customElements.define(tagName, LayoutGrid);
178
+ }
179
+ break;
180
+ } });
181
+ }
182
+
183
+ const IcLayoutGrid = LayoutGrid;
184
+ const defineCustomElement = defineCustomElement$1;
185
+
186
+ export { IcLayoutGrid, defineCustomElement };
187
+
188
+ //# sourceMappingURL=ic-layout-grid.js.map