@ukic/web-components 3.8.0 → 3.10.0

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 (503) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-8217daf4.js → helpers-a0e78e2e.js} +31 -7
  3. package/dist/cjs/helpers-a0e78e2e.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  5. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  6. package/dist/cjs/ic-action-chip.cjs.entry.js +2 -2
  7. package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-alert.cjs.entry.js +2 -2
  9. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-badge.cjs.entry.js +2 -2
  12. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-button_3.cjs.entry.js +25 -20
  16. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-card-vertical.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-checkbox.cjs.entry.js +2 -2
  20. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-chip.cjs.entry.js +2 -2
  22. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-data-list.cjs.entry.js +1 -1
  24. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
  26. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +2 -2
  35. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +4 -4
  37. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-layout-grid-item.cjs.entry.js +70 -0
  40. package/dist/cjs/ic-layout-grid-item.cjs.entry.js.map +1 -0
  41. package/dist/cjs/ic-layout-grid.cjs.entry.js +156 -0
  42. package/dist/cjs/ic-layout-grid.cjs.entry.js.map +1 -0
  43. package/dist/cjs/ic-link.cjs.entry.js +2 -2
  44. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
  45. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-navigation-group.cjs.entry.js +3 -3
  48. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  50. package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
  51. package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
  52. package/dist/cjs/ic-pagination-item.cjs.entry.js +2 -2
  53. package/dist/cjs/ic-pagination.cjs.entry.js +5 -5
  54. package/dist/cjs/ic-popover-menu.cjs.entry.js +10 -6
  55. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  57. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  58. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  60. package/dist/cjs/ic-select.cjs.entry.js +8 -7
  61. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-side-navigation.cjs.entry.js +5 -5
  63. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  64. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  65. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  66. package/dist/cjs/ic-step.cjs.entry.js +14 -14
  67. package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
  68. package/dist/cjs/ic-switch.cjs.entry.js +5 -5
  69. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  70. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  71. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  72. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  73. package/dist/cjs/ic-text-field.cjs.entry.js +4 -4
  74. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  76. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  77. package/dist/cjs/ic-toast.cjs.entry.js +5 -5
  78. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
  80. package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
  81. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  82. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  83. package/dist/cjs/index-d337cd8a.js +8 -0
  84. package/dist/cjs/loader.cjs.js +1 -1
  85. package/dist/collection/assets/ai-icon.svg +11 -0
  86. package/dist/collection/collection-manifest.json +2 -0
  87. package/dist/collection/components/ic-action-chip/ic-action-chip.css +3 -3
  88. package/dist/collection/components/ic-alert/ic-alert.css +13 -0
  89. package/dist/collection/components/ic-alert/ic-alert.js +1 -1
  90. package/dist/collection/components/ic-alert/ic-alert.stories.js +7 -2
  91. package/dist/collection/components/ic-back-to-top/ic-back-to-top.stories.js +179 -0
  92. package/dist/collection/components/ic-badge/ic-badge.css +4 -0
  93. package/dist/collection/components/ic-badge/ic-badge.js +1 -1
  94. package/dist/collection/components/ic-badge/ic-badge.stories.js +98 -0
  95. package/dist/collection/components/ic-button/ic-button.js +33 -12
  96. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  97. package/dist/collection/components/ic-button/ic-button.stories.js +181 -2
  98. package/dist/collection/components/ic-checkbox/ic-checkbox.css +1 -0
  99. package/dist/collection/components/ic-chip/ic-chip.css +3 -3
  100. package/dist/collection/components/ic-data-list/ic-data-list.css +5 -0
  101. package/dist/collection/components/ic-data-list/ic-data-list.stories.js +50 -0
  102. package/dist/collection/components/ic-data-row/ic-data-row.css +3 -1
  103. package/dist/collection/components/ic-footer/ic-footer.stories.js +72 -0
  104. package/dist/collection/components/ic-hero/ic-hero.stories.js +72 -0
  105. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +8 -0
  106. package/dist/collection/components/ic-layout-grid/ic-layout-grid.css +540 -0
  107. package/dist/collection/components/ic-layout-grid/ic-layout-grid.js +377 -0
  108. package/dist/collection/components/ic-layout-grid/ic-layout-grid.js.map +1 -0
  109. package/dist/collection/components/ic-layout-grid/ic-layout-grid.stories.js +429 -0
  110. package/dist/collection/components/ic-layout-grid/ic-layout-grid.types.js +2 -0
  111. package/dist/collection/components/ic-layout-grid/ic-layout-grid.types.js.map +1 -0
  112. package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.css +12 -0
  113. package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js +182 -0
  114. package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js.map +1 -0
  115. package/dist/collection/components/ic-link/ic-link.js +1 -1
  116. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +5 -5
  117. package/dist/collection/components/ic-menu/ic-menu.js +3 -3
  118. package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
  119. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +2 -0
  120. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
  121. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
  122. package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
  123. package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
  124. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
  125. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +29 -5
  126. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  127. package/dist/collection/components/ic-popover-menu/ic-popover-menu.stories.js +94 -0
  128. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  129. package/dist/collection/components/ic-section-container/ic-section-container.stories.js +39 -0
  130. package/dist/collection/components/ic-select/ic-select.js +7 -6
  131. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  132. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -4
  133. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  134. package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
  135. package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
  136. package/dist/collection/components/ic-step/ic-step.js +13 -13
  137. package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
  138. package/dist/collection/components/ic-switch/ic-switch.js +4 -4
  139. package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
  140. package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
  141. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  142. package/dist/collection/components/ic-text-field/ic-text-field.js +3 -3
  143. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  144. package/dist/collection/components/ic-theme/ic-theme.js +1 -1
  145. package/dist/collection/components/ic-toast/ic-toast.css +8 -0
  146. package/dist/collection/components/ic-toast/ic-toast.js +4 -4
  147. package/dist/collection/components/ic-toast/ic-toast.stories.js +2 -2
  148. package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
  149. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
  150. package/dist/collection/components/ic-toggle-button/ic-toggle-button.stories.js +236 -0
  151. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
  152. package/dist/collection/components/ic-tooltip/ic-tooltip.js +27 -3
  153. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  154. package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +38 -0
  155. package/dist/collection/utils/constants.js +5 -0
  156. package/dist/collection/utils/constants.js.map +1 -1
  157. package/dist/collection/utils/helpers.js +14 -6
  158. package/dist/collection/utils/helpers.js.map +1 -1
  159. package/dist/collection/utils/types.js.map +1 -1
  160. package/dist/components/helpers.js +31 -7
  161. package/dist/components/helpers.js.map +1 -1
  162. package/dist/components/ic-action-chip.js +1 -1
  163. package/dist/components/ic-action-chip.js.map +1 -1
  164. package/dist/components/ic-alert.js +1 -1
  165. package/dist/components/ic-alert.js.map +1 -1
  166. package/dist/components/ic-back-to-top.js +1 -1
  167. package/dist/components/ic-badge.js +2 -2
  168. package/dist/components/ic-badge.js.map +1 -1
  169. package/dist/components/ic-breadcrumb-group.js +1 -1
  170. package/dist/components/ic-breadcrumb2.js +1 -1
  171. package/dist/components/ic-button2.js +14 -12
  172. package/dist/components/ic-button2.js.map +1 -1
  173. package/dist/components/ic-checkbox-group.js +1 -1
  174. package/dist/components/ic-checkbox.js +2 -2
  175. package/dist/components/ic-checkbox.js.map +1 -1
  176. package/dist/components/ic-chip.js +2 -2
  177. package/dist/components/ic-chip.js.map +1 -1
  178. package/dist/components/ic-data-list.js +1 -1
  179. package/dist/components/ic-data-list.js.map +1 -1
  180. package/dist/components/ic-data-row.js +2 -2
  181. package/dist/components/ic-data-row.js.map +1 -1
  182. package/dist/components/ic-dialog.js +1 -1
  183. package/dist/components/ic-divider2.js +1 -1
  184. package/dist/components/ic-footer-link-group.js +1 -1
  185. package/dist/components/ic-footer-link.js +1 -1
  186. package/dist/components/ic-footer.js +1 -1
  187. package/dist/components/ic-hero.js +1 -1
  188. package/dist/components/ic-horizontal-scroll2.js +2 -2
  189. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  190. package/dist/components/ic-input-component-container2.js +1 -1
  191. package/dist/components/ic-input-label2.js +1 -1
  192. package/dist/components/ic-input-validation2.js +1 -1
  193. package/dist/components/ic-layout-grid-item.d.ts +11 -0
  194. package/dist/components/ic-layout-grid-item.js +95 -0
  195. package/dist/components/ic-layout-grid-item.js.map +1 -0
  196. package/dist/components/ic-layout-grid.d.ts +11 -0
  197. package/dist/components/ic-layout-grid.js +188 -0
  198. package/dist/components/ic-layout-grid.js.map +1 -0
  199. package/dist/components/ic-link2.js +1 -1
  200. package/dist/components/ic-loading-indicator2.js +5 -5
  201. package/dist/components/ic-menu-group.js +2 -2
  202. package/dist/components/ic-menu-item2.js +1 -1
  203. package/dist/components/ic-menu2.js +4 -4
  204. package/dist/components/ic-navigation-button.js +1 -1
  205. package/dist/components/ic-navigation-group.js +3 -3
  206. package/dist/components/ic-navigation-group.js.map +1 -1
  207. package/dist/components/ic-navigation-item.js +1 -1
  208. package/dist/components/ic-navigation-menu2.js +5 -5
  209. package/dist/components/ic-page-header.js +7 -7
  210. package/dist/components/ic-pagination-item2.js +2 -2
  211. package/dist/components/ic-pagination.js +4 -4
  212. package/dist/components/ic-popover-menu.js +11 -6
  213. package/dist/components/ic-popover-menu.js.map +1 -1
  214. package/dist/components/ic-radio-group.js +1 -1
  215. package/dist/components/ic-radio-group.js.map +1 -1
  216. package/dist/components/ic-radio-option.js +1 -1
  217. package/dist/components/ic-radio-option.js.map +1 -1
  218. package/dist/components/ic-search-bar.js +1 -1
  219. package/dist/components/ic-search-bar.js.map +1 -1
  220. package/dist/components/ic-section-container2.js +2 -2
  221. package/dist/components/ic-select.js +8 -7
  222. package/dist/components/ic-select.js.map +1 -1
  223. package/dist/components/ic-side-navigation.js +5 -5
  224. package/dist/components/ic-skeleton.js +2 -2
  225. package/dist/components/ic-skip-link.js +2 -2
  226. package/dist/components/ic-status-tag.js +2 -2
  227. package/dist/components/ic-step.js +14 -14
  228. package/dist/components/ic-step.js.map +1 -1
  229. package/dist/components/ic-stepper.js +2 -2
  230. package/dist/components/ic-switch.js +5 -5
  231. package/dist/components/ic-tab-context.js +1 -1
  232. package/dist/components/ic-tab-group.js +2 -2
  233. package/dist/components/ic-tab-panel.js +2 -2
  234. package/dist/components/ic-tab-panel.js.map +1 -1
  235. package/dist/components/ic-tab.js.map +1 -1
  236. package/dist/components/ic-text-field.js +4 -4
  237. package/dist/components/ic-text-field.js.map +1 -1
  238. package/dist/components/ic-theme.js +2 -2
  239. package/dist/components/ic-toast-region.js +1 -1
  240. package/dist/components/ic-toast.js +5 -5
  241. package/dist/components/ic-toast.js.map +1 -1
  242. package/dist/components/ic-toggle-button-group.js +2 -2
  243. package/dist/components/ic-toggle-button.js +2 -2
  244. package/dist/components/ic-tooltip2.js +8 -3
  245. package/dist/components/ic-tooltip2.js.map +1 -1
  246. package/dist/components/ic-top-navigation.js +1 -1
  247. package/dist/core/core.css +12 -12
  248. package/dist/core/core.esm.js +1 -1
  249. package/dist/core/core.esm.js.map +1 -1
  250. package/dist/core/p-0c0c6a9e.entry.js +2 -0
  251. package/dist/core/p-0c0c6a9e.entry.js.map +1 -0
  252. package/dist/core/p-0d680d19.entry.js +2 -0
  253. package/dist/core/p-0d680d19.entry.js.map +1 -0
  254. package/dist/core/{p-ef357622.entry.js → p-15dbccc2.entry.js} +2 -2
  255. package/dist/core/{p-bf5653c0.entry.js → p-19cf2327.entry.js} +2 -2
  256. package/dist/core/p-1d37ac1c.entry.js +2 -0
  257. package/dist/core/p-1d37ac1c.entry.js.map +1 -0
  258. package/dist/core/{p-19680887.entry.js → p-1e2f40b0.entry.js} +2 -2
  259. package/dist/core/{p-fc933fc3.entry.js → p-21cf2beb.entry.js} +2 -2
  260. package/dist/core/p-25007ec9.js +2 -0
  261. package/dist/core/p-25007ec9.js.map +1 -0
  262. package/dist/core/{p-de43d375.entry.js → p-287e5c17.entry.js} +2 -2
  263. package/dist/core/{p-3f9ff1cb.entry.js → p-28efe829.entry.js} +2 -2
  264. package/dist/core/p-28efe829.entry.js.map +1 -0
  265. package/dist/core/{p-c63ae7d0.entry.js → p-2f4f392f.entry.js} +2 -2
  266. package/dist/core/{p-d2f1beb6.entry.js → p-313a8a2f.entry.js} +2 -2
  267. package/dist/core/{p-7cd6487e.entry.js → p-317e005f.entry.js} +2 -2
  268. package/dist/core/{p-0c095f5b.entry.js → p-3dc54847.entry.js} +2 -2
  269. package/dist/core/{p-2394346c.entry.js → p-3e5d7a3d.entry.js} +2 -2
  270. package/dist/core/p-41ef74a7.entry.js +2 -0
  271. package/dist/core/p-41ef74a7.entry.js.map +1 -0
  272. package/dist/core/{p-9e177686.entry.js → p-41f92698.entry.js} +2 -2
  273. package/dist/core/p-43324339.entry.js +2 -0
  274. package/dist/core/p-43324339.entry.js.map +1 -0
  275. package/dist/core/{p-f34eee68.entry.js → p-45dd12ee.entry.js} +2 -2
  276. package/dist/core/{p-1f913ba3.entry.js → p-47f6dac2.entry.js} +2 -2
  277. package/dist/core/{p-1f913ba3.entry.js.map → p-47f6dac2.entry.js.map} +1 -1
  278. package/dist/core/{p-0a8140ef.entry.js → p-493eaabb.entry.js} +2 -2
  279. package/dist/core/{p-c9c6d63b.entry.js → p-4ca782eb.entry.js} +2 -2
  280. package/dist/core/{p-8557fa1e.entry.js → p-4d1a3036.entry.js} +2 -2
  281. package/dist/core/p-52748d5c.entry.js +2 -0
  282. package/dist/core/p-52748d5c.entry.js.map +1 -0
  283. package/dist/core/p-595a4d06.entry.js +2 -0
  284. package/dist/core/p-595a4d06.entry.js.map +1 -0
  285. package/dist/core/{p-88b516d6.entry.js → p-5f68f62b.entry.js} +2 -2
  286. package/dist/core/{p-d47acbd4.entry.js → p-5fbc8e62.entry.js} +2 -2
  287. package/dist/core/p-6014ab64.entry.js +2 -0
  288. package/dist/core/{p-3aa7f724.entry.js → p-661ae402.entry.js} +2 -2
  289. package/dist/core/{p-998dfae0.entry.js → p-6a576a8b.entry.js} +2 -2
  290. package/dist/core/{p-b3ac38c5.entry.js → p-6e8ef73c.entry.js} +2 -2
  291. package/dist/core/{p-fbaf0301.entry.js → p-6ed0ac48.entry.js} +2 -2
  292. package/dist/core/p-711bfeed.entry.js +2 -0
  293. package/dist/core/p-711bfeed.entry.js.map +1 -0
  294. package/dist/core/{p-60ff225d.entry.js → p-72a9909c.entry.js} +2 -2
  295. package/dist/core/{p-f643ae2b.entry.js → p-742a9181.entry.js} +2 -2
  296. package/dist/core/{p-b94d404b.entry.js → p-7cd4f6a6.entry.js} +2 -2
  297. package/dist/core/{p-a082d978.entry.js → p-8a4b12e4.entry.js} +2 -2
  298. package/dist/core/{p-48db785a.entry.js → p-8b5022bc.entry.js} +2 -2
  299. package/dist/core/{p-d1b7b839.entry.js → p-9323c234.entry.js} +2 -2
  300. package/dist/core/p-97b93ddf.entry.js +2 -0
  301. package/dist/core/p-97b93ddf.entry.js.map +1 -0
  302. package/dist/core/{p-9f792a31.entry.js → p-999f0a5d.entry.js} +2 -2
  303. package/dist/core/p-999f0a5d.entry.js.map +1 -0
  304. package/dist/core/{p-04c36b23.entry.js → p-9c013333.entry.js} +2 -2
  305. package/dist/core/{p-3eef02dd.entry.js → p-9eeb5e85.entry.js} +2 -2
  306. package/dist/core/{p-682a9365.entry.js → p-9f36791b.entry.js} +2 -2
  307. package/dist/core/{p-9d78ef89.entry.js → p-a602a8e1.entry.js} +2 -2
  308. package/dist/core/{p-51bff253.entry.js → p-a77364f5.entry.js} +2 -2
  309. package/dist/core/{p-1829c1a9.entry.js → p-af9c391d.entry.js} +2 -2
  310. package/dist/core/{p-2c2c752d.entry.js → p-b0d488d0.entry.js} +2 -2
  311. package/dist/core/{p-fee854f5.entry.js → p-b52000d9.entry.js} +2 -2
  312. package/dist/core/{p-57644340.entry.js → p-bb4ce810.entry.js} +2 -2
  313. package/dist/core/{p-57644340.entry.js.map → p-bb4ce810.entry.js.map} +1 -1
  314. package/dist/core/{p-4345907a.entry.js → p-cbe0d1bb.entry.js} +2 -2
  315. package/dist/core/p-ceea1712.entry.js +2 -0
  316. package/dist/core/p-ceea1712.entry.js.map +1 -0
  317. package/dist/core/p-cf631191.entry.js +2 -0
  318. package/dist/core/{p-ee6caf27.entry.js → p-df88ff5b.entry.js} +2 -2
  319. package/dist/core/{p-918af357.entry.js → p-e652ab09.entry.js} +2 -2
  320. package/dist/core/{p-4c336217.entry.js → p-e876e47c.entry.js} +2 -2
  321. package/dist/core/p-ea061ccf.entry.js +2 -0
  322. package/dist/core/p-ea061ccf.entry.js.map +1 -0
  323. package/dist/core/{p-b3d3ee50.entry.js → p-ea778379.entry.js} +2 -2
  324. package/dist/core/{p-f46fd0e7.entry.js → p-ef4b5469.entry.js} +2 -2
  325. package/dist/core/{p-fd421f11.entry.js → p-f309d3af.entry.js} +2 -2
  326. package/dist/core/{p-32c030b1.entry.js → p-f6a02202.entry.js} +2 -2
  327. package/dist/core/p-fc3b1155.entry.js +2 -0
  328. package/dist/core/p-fc3b1155.entry.js.map +1 -0
  329. package/dist/core/p-ffac41d6.entry.js +2 -0
  330. package/dist/core/p-ffac41d6.entry.js.map +1 -0
  331. package/dist/esm/core.js +1 -1
  332. package/dist/esm/{helpers-2e75abf4.js → helpers-56631aa0.js} +31 -7
  333. package/dist/esm/helpers-56631aa0.js.map +1 -0
  334. package/dist/esm/ic-accordion-group.entry.js +1 -1
  335. package/dist/esm/ic-accordion.entry.js +1 -1
  336. package/dist/esm/ic-action-chip.entry.js +2 -2
  337. package/dist/esm/ic-action-chip.entry.js.map +1 -1
  338. package/dist/esm/ic-alert.entry.js +2 -2
  339. package/dist/esm/ic-alert.entry.js.map +1 -1
  340. package/dist/esm/ic-back-to-top.entry.js +1 -1
  341. package/dist/esm/ic-badge.entry.js +2 -2
  342. package/dist/esm/ic-badge.entry.js.map +1 -1
  343. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  344. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  345. package/dist/esm/ic-button_3.entry.js +25 -20
  346. package/dist/esm/ic-button_3.entry.js.map +1 -1
  347. package/dist/esm/ic-card-vertical.entry.js +1 -1
  348. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  349. package/dist/esm/ic-checkbox.entry.js +2 -2
  350. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  351. package/dist/esm/ic-chip.entry.js +2 -2
  352. package/dist/esm/ic-chip.entry.js.map +1 -1
  353. package/dist/esm/ic-data-list.entry.js +1 -1
  354. package/dist/esm/ic-data-list.entry.js.map +1 -1
  355. package/dist/esm/ic-data-row.entry.js +2 -2
  356. package/dist/esm/ic-data-row.entry.js.map +1 -1
  357. package/dist/esm/ic-dialog.entry.js +1 -1
  358. package/dist/esm/ic-divider.entry.js +1 -1
  359. package/dist/esm/ic-empty-state.entry.js +1 -1
  360. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  361. package/dist/esm/ic-footer-link.entry.js +1 -1
  362. package/dist/esm/ic-footer.entry.js +1 -1
  363. package/dist/esm/ic-hero.entry.js +1 -1
  364. package/dist/esm/ic-horizontal-scroll.entry.js +2 -2
  365. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  366. package/dist/esm/ic-input-component-container_3.entry.js +4 -4
  367. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  368. package/dist/esm/ic-input-label_2.entry.js +1 -1
  369. package/dist/esm/ic-layout-grid-item.entry.js +66 -0
  370. package/dist/esm/ic-layout-grid-item.entry.js.map +1 -0
  371. package/dist/esm/ic-layout-grid.entry.js +152 -0
  372. package/dist/esm/ic-layout-grid.entry.js.map +1 -0
  373. package/dist/esm/ic-link.entry.js +2 -2
  374. package/dist/esm/ic-menu-group.entry.js +2 -2
  375. package/dist/esm/ic-menu-item.entry.js +1 -1
  376. package/dist/esm/ic-navigation-button.entry.js +1 -1
  377. package/dist/esm/ic-navigation-group.entry.js +3 -3
  378. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  379. package/dist/esm/ic-navigation-item.entry.js +1 -1
  380. package/dist/esm/ic-navigation-menu.entry.js +5 -5
  381. package/dist/esm/ic-page-header.entry.js +7 -7
  382. package/dist/esm/ic-pagination-item.entry.js +2 -2
  383. package/dist/esm/ic-pagination.entry.js +5 -5
  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-select.entry.js +8 -7
  391. package/dist/esm/ic-select.entry.js.map +1 -1
  392. package/dist/esm/ic-side-navigation.entry.js +5 -5
  393. package/dist/esm/ic-skeleton.entry.js +2 -2
  394. package/dist/esm/ic-skip-link.entry.js +2 -2
  395. package/dist/esm/ic-status-tag.entry.js +3 -3
  396. package/dist/esm/ic-step.entry.js +14 -14
  397. package/dist/esm/ic-stepper.entry.js +3 -3
  398. package/dist/esm/ic-switch.entry.js +5 -5
  399. package/dist/esm/ic-tab-context.entry.js +1 -1
  400. package/dist/esm/ic-tab-group.entry.js +3 -3
  401. package/dist/esm/ic-tab-panel.entry.js +2 -2
  402. package/dist/esm/ic-tab.entry.js +1 -1
  403. package/dist/esm/ic-text-field.entry.js +4 -4
  404. package/dist/esm/ic-text-field.entry.js.map +1 -1
  405. package/dist/esm/ic-theme.entry.js +2 -2
  406. package/dist/esm/ic-toast-region.entry.js +1 -1
  407. package/dist/esm/ic-toast.entry.js +5 -5
  408. package/dist/esm/ic-toast.entry.js.map +1 -1
  409. package/dist/esm/ic-toggle-button-group.entry.js +3 -3
  410. package/dist/esm/ic-toggle-button.entry.js +3 -3
  411. package/dist/esm/ic-top-navigation.entry.js +1 -1
  412. package/dist/esm/ic-typography.entry.js +1 -1
  413. package/dist/esm/index-a7a720e7.js +8 -0
  414. package/dist/esm/loader.js +1 -1
  415. package/dist/types/components/ic-button/ic-button.d.ts +4 -0
  416. package/dist/types/components/ic-layout-grid/ic-layout-grid.d.ts +56 -0
  417. package/dist/types/components/ic-layout-grid/ic-layout-grid.types.d.ts +8 -0
  418. package/dist/types/components/ic-layout-grid-item/ic-layout-grid-item.d.ts +29 -0
  419. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +4 -0
  420. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +4 -0
  421. package/dist/types/components.d.ts +164 -0
  422. package/dist/types/utils/constants.d.ts +4 -0
  423. package/dist/types/utils/helpers.d.ts +3 -3
  424. package/dist/types/utils/types.d.ts +1 -1
  425. package/hydrate/index.js +394 -115
  426. package/hydrate/index.mjs +394 -115
  427. package/package.json +2 -2
  428. package/vscode-data.json +114 -0
  429. package/dist/cjs/helpers-8217daf4.js.map +0 -1
  430. package/dist/core/p-03a2fa83.entry.js +0 -2
  431. package/dist/core/p-03a2fa83.entry.js.map +0 -1
  432. package/dist/core/p-0eaa2904.entry.js +0 -2
  433. package/dist/core/p-0eaa2904.entry.js.map +0 -1
  434. package/dist/core/p-280e7874.entry.js +0 -2
  435. package/dist/core/p-280e7874.entry.js.map +0 -1
  436. package/dist/core/p-3f9ff1cb.entry.js.map +0 -1
  437. package/dist/core/p-46a0a40b.entry.js +0 -2
  438. package/dist/core/p-46a0a40b.entry.js.map +0 -1
  439. package/dist/core/p-68f55187.entry.js +0 -2
  440. package/dist/core/p-68f55187.entry.js.map +0 -1
  441. package/dist/core/p-69aad690.entry.js +0 -2
  442. package/dist/core/p-69aad690.entry.js.map +0 -1
  443. package/dist/core/p-750d5536.entry.js +0 -2
  444. package/dist/core/p-750d5536.entry.js.map +0 -1
  445. package/dist/core/p-7ac5a271.entry.js +0 -2
  446. package/dist/core/p-7ac5a271.entry.js.map +0 -1
  447. package/dist/core/p-874f7e8d.entry.js +0 -2
  448. package/dist/core/p-874f7e8d.entry.js.map +0 -1
  449. package/dist/core/p-903f9c7f.entry.js +0 -2
  450. package/dist/core/p-903f9c7f.entry.js.map +0 -1
  451. package/dist/core/p-9f792a31.entry.js.map +0 -1
  452. package/dist/core/p-9f8acb5f.js +0 -2
  453. package/dist/core/p-9f8acb5f.js.map +0 -1
  454. package/dist/core/p-b5c72b06.entry.js +0 -2
  455. package/dist/core/p-b5c72b06.entry.js.map +0 -1
  456. package/dist/core/p-e0485462.entry.js +0 -2
  457. package/dist/core/p-e9b6b600.entry.js +0 -2
  458. package/dist/esm/helpers-2e75abf4.js.map +0 -1
  459. /package/dist/core/{p-ef357622.entry.js.map → p-15dbccc2.entry.js.map} +0 -0
  460. /package/dist/core/{p-bf5653c0.entry.js.map → p-19cf2327.entry.js.map} +0 -0
  461. /package/dist/core/{p-19680887.entry.js.map → p-1e2f40b0.entry.js.map} +0 -0
  462. /package/dist/core/{p-fc933fc3.entry.js.map → p-21cf2beb.entry.js.map} +0 -0
  463. /package/dist/core/{p-de43d375.entry.js.map → p-287e5c17.entry.js.map} +0 -0
  464. /package/dist/core/{p-c63ae7d0.entry.js.map → p-2f4f392f.entry.js.map} +0 -0
  465. /package/dist/core/{p-d2f1beb6.entry.js.map → p-313a8a2f.entry.js.map} +0 -0
  466. /package/dist/core/{p-7cd6487e.entry.js.map → p-317e005f.entry.js.map} +0 -0
  467. /package/dist/core/{p-0c095f5b.entry.js.map → p-3dc54847.entry.js.map} +0 -0
  468. /package/dist/core/{p-2394346c.entry.js.map → p-3e5d7a3d.entry.js.map} +0 -0
  469. /package/dist/core/{p-9e177686.entry.js.map → p-41f92698.entry.js.map} +0 -0
  470. /package/dist/core/{p-f34eee68.entry.js.map → p-45dd12ee.entry.js.map} +0 -0
  471. /package/dist/core/{p-0a8140ef.entry.js.map → p-493eaabb.entry.js.map} +0 -0
  472. /package/dist/core/{p-c9c6d63b.entry.js.map → p-4ca782eb.entry.js.map} +0 -0
  473. /package/dist/core/{p-8557fa1e.entry.js.map → p-4d1a3036.entry.js.map} +0 -0
  474. /package/dist/core/{p-88b516d6.entry.js.map → p-5f68f62b.entry.js.map} +0 -0
  475. /package/dist/core/{p-d47acbd4.entry.js.map → p-5fbc8e62.entry.js.map} +0 -0
  476. /package/dist/core/{p-e9b6b600.entry.js.map → p-6014ab64.entry.js.map} +0 -0
  477. /package/dist/core/{p-3aa7f724.entry.js.map → p-661ae402.entry.js.map} +0 -0
  478. /package/dist/core/{p-998dfae0.entry.js.map → p-6a576a8b.entry.js.map} +0 -0
  479. /package/dist/core/{p-b3ac38c5.entry.js.map → p-6e8ef73c.entry.js.map} +0 -0
  480. /package/dist/core/{p-fbaf0301.entry.js.map → p-6ed0ac48.entry.js.map} +0 -0
  481. /package/dist/core/{p-60ff225d.entry.js.map → p-72a9909c.entry.js.map} +0 -0
  482. /package/dist/core/{p-f643ae2b.entry.js.map → p-742a9181.entry.js.map} +0 -0
  483. /package/dist/core/{p-b94d404b.entry.js.map → p-7cd4f6a6.entry.js.map} +0 -0
  484. /package/dist/core/{p-a082d978.entry.js.map → p-8a4b12e4.entry.js.map} +0 -0
  485. /package/dist/core/{p-48db785a.entry.js.map → p-8b5022bc.entry.js.map} +0 -0
  486. /package/dist/core/{p-d1b7b839.entry.js.map → p-9323c234.entry.js.map} +0 -0
  487. /package/dist/core/{p-04c36b23.entry.js.map → p-9c013333.entry.js.map} +0 -0
  488. /package/dist/core/{p-3eef02dd.entry.js.map → p-9eeb5e85.entry.js.map} +0 -0
  489. /package/dist/core/{p-682a9365.entry.js.map → p-9f36791b.entry.js.map} +0 -0
  490. /package/dist/core/{p-9d78ef89.entry.js.map → p-a602a8e1.entry.js.map} +0 -0
  491. /package/dist/core/{p-51bff253.entry.js.map → p-a77364f5.entry.js.map} +0 -0
  492. /package/dist/core/{p-1829c1a9.entry.js.map → p-af9c391d.entry.js.map} +0 -0
  493. /package/dist/core/{p-2c2c752d.entry.js.map → p-b0d488d0.entry.js.map} +0 -0
  494. /package/dist/core/{p-fee854f5.entry.js.map → p-b52000d9.entry.js.map} +0 -0
  495. /package/dist/core/{p-4345907a.entry.js.map → p-cbe0d1bb.entry.js.map} +0 -0
  496. /package/dist/core/{p-e0485462.entry.js.map → p-cf631191.entry.js.map} +0 -0
  497. /package/dist/core/{p-ee6caf27.entry.js.map → p-df88ff5b.entry.js.map} +0 -0
  498. /package/dist/core/{p-918af357.entry.js.map → p-e652ab09.entry.js.map} +0 -0
  499. /package/dist/core/{p-4c336217.entry.js.map → p-e876e47c.entry.js.map} +0 -0
  500. /package/dist/core/{p-b3d3ee50.entry.js.map → p-ea778379.entry.js.map} +0 -0
  501. /package/dist/core/{p-f46fd0e7.entry.js.map → p-ef4b5469.entry.js.map} +0 -0
  502. /package/dist/core/{p-fd421f11.entry.js.map → p-f309d3af.entry.js.map} +0 -0
  503. /package/dist/core/{p-32c030b1.entry.js.map → p-f6a02202.entry.js.map} +0 -0
@@ -0,0 +1,429 @@
1
+ import { html } from "lit-html";
2
+
3
+ export default {
4
+ title: "Web Components/Layout grid",
5
+ component: "ic-layout-grid",
6
+ };
7
+
8
+ export const Default = {
9
+ render: () => html`
10
+ <ic-layout-grid>
11
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
12
+ Grid item 1
13
+ </div>
14
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
15
+ Grid item 2
16
+ </div>
17
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
18
+ Grid item 3
19
+ </div>
20
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
21
+ Grid item 4
22
+ </div>
23
+ </ic-layout-grid>
24
+ `,
25
+
26
+ name: "Default",
27
+
28
+ parameters: {
29
+ layout: "fullscreen",
30
+ },
31
+ };
32
+
33
+ export const Fluid = {
34
+ render: () => html`
35
+ <ic-layout-grid type="fluid">
36
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
37
+ Grid item 1
38
+ </div>
39
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
40
+ Grid item 2
41
+ </div>
42
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
43
+ Grid item 3
44
+ </div>
45
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
46
+ Grid item 4
47
+ </div>
48
+ </ic-layout-grid>
49
+ `,
50
+
51
+ name: "Fluid",
52
+
53
+ parameters: {
54
+ layout: "fullscreen",
55
+ },
56
+ };
57
+
58
+ export const Columns = {
59
+ render: () => html`
60
+ <ic-layout-grid columns="4">
61
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
62
+ Grid item 1
63
+ </div>
64
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
65
+ Grid item 2
66
+ </div>
67
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
68
+ Grid item 3
69
+ </div>
70
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
71
+ Grid item 4
72
+ </div>
73
+ </ic-layout-grid>
74
+ `,
75
+
76
+ name: "Columns",
77
+
78
+ parameters: {
79
+ layout: "fullscreen",
80
+ },
81
+ };
82
+
83
+ export const Rows = {
84
+ render: () => html`
85
+ <ic-layout-grid columns="3" rows="2">
86
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
87
+ Grid item 1
88
+ </div>
89
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
90
+ Grid item 2
91
+ </div>
92
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
93
+ Grid item 3
94
+ </div>
95
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
96
+ Grid item 4
97
+ </div>
98
+ </ic-layout-grid>
99
+ `,
100
+
101
+ name: "Rows",
102
+
103
+ parameters: {
104
+ layout: "fullscreen",
105
+ },
106
+ };
107
+
108
+ export const AlignedCenter = {
109
+ render: () => html`
110
+ <ic-layout-grid columns="4" aligned="center">
111
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
112
+ Grid item 1
113
+ </div>
114
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
115
+ Grid item 2
116
+ </div>
117
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
118
+ Grid item 3
119
+ </div>
120
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
121
+ Grid item 4
122
+ </div>
123
+ </ic-layout-grid>
124
+ `,
125
+
126
+ name: "Aligned center",
127
+
128
+ parameters: {
129
+ layout: "fullscreen",
130
+ },
131
+ };
132
+
133
+ export const FullWidth = {
134
+ render: () => html`
135
+ <ic-layout-grid columns="4" aligned="full-width">
136
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
137
+ Grid item 1
138
+ </div>
139
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
140
+ Grid item 2
141
+ </div>
142
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
143
+ Grid item 3
144
+ </div>
145
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
146
+ Grid item 4
147
+ </div>
148
+ </ic-layout-grid>
149
+ `,
150
+
151
+ name: "Aligned full width",
152
+
153
+ parameters: {
154
+ layout: "fullscreen",
155
+ },
156
+ };
157
+
158
+ export const FullHeight = {
159
+ render: () => html`
160
+ <ic-layout-grid full-height="true" columns="4">
161
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
162
+ Grid item 1
163
+ </div>
164
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
165
+ Grid item 2
166
+ </div>
167
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
168
+ Grid item 3
169
+ </div>
170
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
171
+ Grid item 4
172
+ </div>
173
+ </ic-layout-grid>
174
+ `,
175
+
176
+ name: "Full height",
177
+
178
+ parameters: {
179
+ layout: "fullscreen",
180
+ },
181
+ };
182
+
183
+ export const ColumnObject = {
184
+ render: () => html`
185
+ <ic-layout-grid>
186
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
187
+ Grid item 1
188
+ </div>
189
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
190
+ Grid item 2
191
+ </div>
192
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
193
+ Grid item 3
194
+ </div>
195
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
196
+ Grid item 4
197
+ </div>
198
+ </ic-layout-grid>
199
+ <script>
200
+ const grid = document.querySelector("ic-layout-grid");
201
+ grid.columns = { xs: 1, sm: 2, md: 4, lg: 8, xl: 12 };
202
+ </script>
203
+ `,
204
+
205
+ name: "Column object",
206
+
207
+ parameters: {
208
+ layout: "fullscreen",
209
+ },
210
+ };
211
+
212
+ export const DefaultColWidth = {
213
+ render: () => html`
214
+ <ic-layout-grid columns="4" default-col-width="150px">
215
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
216
+ Grid item 1
217
+ </div>
218
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
219
+ Grid item 2
220
+ </div>
221
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
222
+ Grid item 3
223
+ </div>
224
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
225
+ Grid item 4
226
+ </div>
227
+ </ic-layout-grid>
228
+ `,
229
+
230
+ name: "Default col width",
231
+
232
+ parameters: {
233
+ layout: "fullscreen",
234
+ },
235
+ };
236
+
237
+ export const DefaultColSpan = {
238
+ render: () => html`
239
+ <ic-layout-grid default-col-span="2">
240
+ <div style="width: 100px; height: 50px; background-color: lightblue;">
241
+ Grid item 1
242
+ </div>
243
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
244
+ Grid item 2
245
+ </div>
246
+ <div style="width: 80px; height: 50px; background-color: lightblue;">
247
+ Grid item 3
248
+ </div>
249
+ <div style="width: 80px; height: 50px; background-color: lightblue;">
250
+ Grid item 4
251
+ </div>
252
+ </ic-layout-grid>
253
+ `,
254
+
255
+ name: "Default col span",
256
+
257
+ parameters: {
258
+ layout: "fullscreen",
259
+ },
260
+ };
261
+
262
+ export const DefaultColSpanObject = {
263
+ render: () => html`
264
+ <ic-layout-grid default-col-span="2">
265
+ <div style="width: 100px; height: 50px; background-color: lightblue;">
266
+ Grid item 1
267
+ </div>
268
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
269
+ Grid item 2
270
+ </div>
271
+ <div style="width: 80px; height: 50px; background-color: lightblue;">
272
+ Grid item 3
273
+ </div>
274
+ <div style="width: 80px; height: 50px; background-color: lightblue;">
275
+ Grid item 4
276
+ </div>
277
+ </ic-layout-grid>
278
+ <script>
279
+ const grid = document.querySelector("ic-layout-grid");
280
+ grid.defaultColSpan = { xs: 1, sm: 2, md: 2, lg: 4, xl: 4 };
281
+ </script>
282
+ `,
283
+
284
+ name: "Default col span object",
285
+
286
+ parameters: {
287
+ layout: "fullscreen",
288
+ },
289
+ };
290
+
291
+ export const DefaultRowSpan = {
292
+ render: () => html`
293
+ <ic-layout-grid default-row-span="2" rows="2">
294
+ <div style="width: 50px; height: 100px; background-color: lightblue;">
295
+ Grid item 1
296
+ </div>
297
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
298
+ Grid item 2
299
+ </div>
300
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
301
+ Grid item 3
302
+ </div>
303
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
304
+ Grid item 4
305
+ </div>
306
+ </ic-layout-grid>
307
+ `,
308
+
309
+ name: "Default row span",
310
+
311
+ parameters: {
312
+ layout: "fullscreen",
313
+ },
314
+ };
315
+
316
+ export const GridItem = {
317
+ render: () => html`
318
+ <ic-layout-grid columns="4">
319
+ <ic-layout-grid-item
320
+ col-start="2"
321
+ col-span="2"
322
+ row-start="1"
323
+ row-span="2"
324
+ >
325
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
326
+ Grid item 1
327
+ </div>
328
+ </ic-layout-grid-item>
329
+ <ic-layout-grid-item hide-in-mobile-mode="true">
330
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
331
+ Grid item 2
332
+ </div>
333
+ </ic-layout-grid-item>
334
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
335
+ Grid item 3
336
+ </div>
337
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
338
+ Grid item 4
339
+ </div>
340
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
341
+ Grid item 5
342
+ </div>
343
+ </ic-layout-grid>
344
+ `,
345
+
346
+ name: "Grid item",
347
+
348
+ parameters: {
349
+ layout: "fullscreen",
350
+ },
351
+ };
352
+
353
+ const defaultArgs = {
354
+ aligned: null,
355
+ fullHeight: false,
356
+ columns: 4,
357
+ defaultColSpan: 1,
358
+ defaultColWidth: "64px",
359
+ defaultRowSpan: 1,
360
+ gridSpacing: 2,
361
+ rows: 1,
362
+ type: "fixed",
363
+ gridItemColSpan: 1,
364
+ gridItemColStart: 1,
365
+ gridItemRowSpan: 1,
366
+ gridItemRowStart: 1,
367
+ gridItemHideInMobileMode: false,
368
+ };
369
+
370
+ export const Playground = {
371
+ render: (args) =>
372
+ html`<ic-layout-grid
373
+ style="border: 1px solid black;"
374
+ columns=${args.columns}
375
+ aligned=${args.aligned}
376
+ full-height=${args.fullHeight}
377
+ default-col-span=${args.defaultColSpan}
378
+ default-col-width=${args.defaultColWidth}
379
+ default-row-span=${args.defaultRowSpan}
380
+ grid-spacing=${args.gridSpacing}
381
+ rows=${args.rows}
382
+ type=${args.type}
383
+ >
384
+ <ic-layout-grid-item
385
+ col-span=${args.gridItemColSpan}
386
+ col-start=${args.gridItemColStart}
387
+ row-span=${args.gridItemRowSpan}
388
+ row-start=${args.gridItemRowStart}
389
+ hide-in-mobile-mode=${args.gridItemHideInMobileMode}
390
+ >
391
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
392
+ Grid item 1
393
+ </div>
394
+ </ic-layout-grid-item>
395
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
396
+ Grid item 2
397
+ </div>
398
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
399
+ Grid item 3
400
+ </div>
401
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
402
+ Grid item 4
403
+ </div>
404
+ <div style="width: 50px; height: 50px; background-color: lightblue;">
405
+ Grid item 5
406
+ </div>
407
+ </ic-layout-grid>`,
408
+
409
+ name: "Playground",
410
+ args: defaultArgs,
411
+
412
+ argTypes: {
413
+ aligned: {
414
+ options: [null, "left", "center", "full-width"],
415
+
416
+ control: {
417
+ type: "inline-radio",
418
+ },
419
+ },
420
+
421
+ type: {
422
+ options: ["fixed", "fluid"],
423
+
424
+ control: {
425
+ type: "inline-radio",
426
+ },
427
+ },
428
+ },
429
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ic-layout-grid.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-layout-grid.types.js","sourceRoot":"","sources":["../../../src/components/ic-layout-grid/ic-layout-grid.types.ts"],"names":[],"mappings":"","sourcesContent":["export type IcGridBreakpoints =\n | number\n | {\n xs?: number;\n sm?: number;\n md?: number;\n lg?: number;\n xl?: number;\n };\n\nexport type IcGridType = \"fluid\" | \"fixed\";\n"]}
@@ -0,0 +1,12 @@
1
+ :host {
2
+ grid-column: var(--ic-grid-item-col-start, 1) / span
3
+ var(--ic-grid-item-col-span, var(--ic-layout-grid-col-span, 1)) !important;
4
+ grid-row: var(--ic-grid-item-row-start, 1) / span
5
+ var(--ic-grid-item-row-span, var(--ic-layout-grid-row-span, 1)) !important;
6
+ }
7
+
8
+ @media only screen and (max-width: 576px) {
9
+ :host(.ic-layout-grid-hide-in-mobile) {
10
+ display: none;
11
+ }
12
+ }
@@ -0,0 +1,182 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class LayoutGridItem {
3
+ constructor() {
4
+ /**
5
+ * The number of columns the grid item should span.
6
+ */
7
+ this.colSpan = 1;
8
+ /**
9
+ * The column the grid item should start at.
10
+ */
11
+ this.colStart = 1;
12
+ /**
13
+ * If `true`, the grid item will be hidden on smaller screens.
14
+ */
15
+ this.hideInMobileMode = false;
16
+ /**
17
+ * The number of rows the grid item should span.
18
+ */
19
+ this.rowSpan = 1;
20
+ /**
21
+ * The row the grid item should start at.
22
+ */
23
+ this.rowStart = 1;
24
+ }
25
+ watchColSpan(newValue) {
26
+ this.el.style.setProperty("--ic-grid-item-col-span", `${newValue}`);
27
+ }
28
+ watchColStart(newValue) {
29
+ this.el.style.setProperty("--ic-grid-item-col-start", `${newValue}`);
30
+ }
31
+ watchRowSpan(newValue) {
32
+ this.el.style.setProperty("--ic-grid-item-row-span", `${newValue}`);
33
+ }
34
+ watchRowStart(newValue) {
35
+ this.el.style.setProperty("--ic-grid-item-row-start", `${newValue}`);
36
+ }
37
+ componentWillLoad() {
38
+ this.el.style.setProperty("--ic-grid-item-col-start", `${this.colStart}`);
39
+ this.el.style.setProperty("--ic-grid-item-col-span", `${this.colSpan}`);
40
+ this.el.style.setProperty("--ic-grid-item-row-start", `${this.rowStart}`);
41
+ this.el.style.setProperty("--ic-grid-item-row-span", `${this.rowSpan}`);
42
+ }
43
+ render() {
44
+ const { hideInMobileMode } = this;
45
+ return (h(Host, { key: '07cb3d39a4c3440a06df2f6c56ecdf3017e48f59', class: {
46
+ "ic-layout-grid-hide-in-mobile": !!hideInMobileMode,
47
+ } }, h("slot", { key: '53c7d5616494ad9fc7468d023b9a9ec520938916' })));
48
+ }
49
+ static get is() { return "ic-layout-grid-item"; }
50
+ static get encapsulation() { return "shadow"; }
51
+ static get originalStyleUrls() {
52
+ return {
53
+ "$": ["ic-layout-grid-item.css"]
54
+ };
55
+ }
56
+ static get styleUrls() {
57
+ return {
58
+ "$": ["ic-layout-grid-item.css"]
59
+ };
60
+ }
61
+ static get properties() {
62
+ return {
63
+ "colSpan": {
64
+ "type": "number",
65
+ "mutable": false,
66
+ "complexType": {
67
+ "original": "number",
68
+ "resolved": "number | undefined",
69
+ "references": {}
70
+ },
71
+ "required": false,
72
+ "optional": true,
73
+ "docs": {
74
+ "tags": [],
75
+ "text": "The number of columns the grid item should span."
76
+ },
77
+ "getter": false,
78
+ "setter": false,
79
+ "attribute": "col-span",
80
+ "reflect": false,
81
+ "defaultValue": "1"
82
+ },
83
+ "colStart": {
84
+ "type": "number",
85
+ "mutable": false,
86
+ "complexType": {
87
+ "original": "number",
88
+ "resolved": "number | undefined",
89
+ "references": {}
90
+ },
91
+ "required": false,
92
+ "optional": true,
93
+ "docs": {
94
+ "tags": [],
95
+ "text": "The column the grid item should start at."
96
+ },
97
+ "getter": false,
98
+ "setter": false,
99
+ "attribute": "col-start",
100
+ "reflect": false,
101
+ "defaultValue": "1"
102
+ },
103
+ "hideInMobileMode": {
104
+ "type": "boolean",
105
+ "mutable": false,
106
+ "complexType": {
107
+ "original": "boolean",
108
+ "resolved": "boolean | undefined",
109
+ "references": {}
110
+ },
111
+ "required": false,
112
+ "optional": true,
113
+ "docs": {
114
+ "tags": [],
115
+ "text": "If `true`, the grid item will be hidden on smaller screens."
116
+ },
117
+ "getter": false,
118
+ "setter": false,
119
+ "attribute": "hide-in-mobile-mode",
120
+ "reflect": false,
121
+ "defaultValue": "false"
122
+ },
123
+ "rowSpan": {
124
+ "type": "number",
125
+ "mutable": false,
126
+ "complexType": {
127
+ "original": "number",
128
+ "resolved": "number | undefined",
129
+ "references": {}
130
+ },
131
+ "required": false,
132
+ "optional": true,
133
+ "docs": {
134
+ "tags": [],
135
+ "text": "The number of rows the grid item should span."
136
+ },
137
+ "getter": false,
138
+ "setter": false,
139
+ "attribute": "row-span",
140
+ "reflect": false,
141
+ "defaultValue": "1"
142
+ },
143
+ "rowStart": {
144
+ "type": "number",
145
+ "mutable": false,
146
+ "complexType": {
147
+ "original": "number",
148
+ "resolved": "number | undefined",
149
+ "references": {}
150
+ },
151
+ "required": false,
152
+ "optional": true,
153
+ "docs": {
154
+ "tags": [],
155
+ "text": "The row the grid item should start at."
156
+ },
157
+ "getter": false,
158
+ "setter": false,
159
+ "attribute": "row-start",
160
+ "reflect": false,
161
+ "defaultValue": "1"
162
+ }
163
+ };
164
+ }
165
+ static get elementRef() { return "el"; }
166
+ static get watchers() {
167
+ return [{
168
+ "propName": "colSpan",
169
+ "methodName": "watchColSpan"
170
+ }, {
171
+ "propName": "colStart",
172
+ "methodName": "watchColStart"
173
+ }, {
174
+ "propName": "rowSpan",
175
+ "methodName": "watchRowSpan"
176
+ }, {
177
+ "propName": "rowStart",
178
+ "methodName": "watchRowStart"
179
+ }];
180
+ }
181
+ }
182
+ //# sourceMappingURL=ic-layout-grid-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ic-layout-grid-item.js","sourceRoot":"","sources":["../../../src/components/ic-layout-grid-item/ic-layout-grid-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAOzE,MAAM,OAAO,cAAc;IAL3B;QAQE;;WAEG;QACK,YAAO,GAAY,CAAC,CAAC;QAM7B;;WAEG;QACK,aAAQ,GAAY,CAAC,CAAC;QAM9B;;WAEG;QACK,qBAAgB,GAAa,KAAK,CAAC;QAE3C;;WAEG;QACK,YAAO,GAAY,CAAC,CAAC;QAM7B;;WAEG;QACK,aAAQ,GAAY,CAAC,CAAC;KAyB/B;IAvDC,YAAY,CAAC,QAAgB;QAC3B,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,yBAAyB,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC;IACtE,CAAC;IAOD,aAAa,CAAC,QAAgB;QAC5B,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,0BAA0B,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC;IACvE,CAAC;IAYD,YAAY,CAAC,QAAgB;QAC3B,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,yBAAyB,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC;IACtE,CAAC;IAOD,aAAa,CAAC,QAAgB;QAC5B,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,0BAA0B,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC;IACvE,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,EAAE,CAAC,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;QACxE,IAAI,CAAC,EAAE,CAAC,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;IAC1E,CAAC;IAED,MAAM;QACJ,MAAM,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAC;QAClC,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE;gBACL,+BAA+B,EAAE,CAAC,CAAC,gBAAgB;aACpD;YAED,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, Host, h, Element, Watch } from \"@stencil/core\";\n\n@Component({\n tag: \"ic-layout-grid-item\",\n styleUrl: \"ic-layout-grid-item.css\",\n shadow: true,\n})\nexport class LayoutGridItem {\n @Element() el: HTMLIcLayoutGridItemElement;\n\n /**\n * The number of columns the grid item should span.\n */\n @Prop() colSpan?: number = 1;\n @Watch(\"colSpan\")\n watchColSpan(newValue: number) {\n this.el.style.setProperty(\"--ic-grid-item-col-span\", `${newValue}`);\n }\n\n /**\n * The column the grid item should start at.\n */\n @Prop() colStart?: number = 1;\n @Watch(\"colStart\")\n watchColStart(newValue: number) {\n this.el.style.setProperty(\"--ic-grid-item-col-start\", `${newValue}`);\n }\n\n /**\n * If `true`, the grid item will be hidden on smaller screens.\n */\n @Prop() hideInMobileMode?: boolean = false;\n\n /**\n * The number of rows the grid item should span.\n */\n @Prop() rowSpan?: number = 1;\n @Watch(\"rowSpan\")\n watchRowSpan(newValue: number) {\n this.el.style.setProperty(\"--ic-grid-item-row-span\", `${newValue}`);\n }\n\n /**\n * The row the grid item should start at.\n */\n @Prop() rowStart?: number = 1;\n @Watch(\"rowStart\")\n watchRowStart(newValue: number) {\n this.el.style.setProperty(\"--ic-grid-item-row-start\", `${newValue}`);\n }\n\n componentWillLoad(): void {\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\n render() {\n const { hideInMobileMode } = this;\n return (\n <Host\n class={{\n \"ic-layout-grid-hide-in-mobile\": !!hideInMobileMode,\n }}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -91,7 +91,7 @@ export class Link {
91
91
  }
92
92
  render() {
93
93
  const { download, href, hreflang, referrerpolicy, rel, target, monochrome, theme, } = this;
94
- return (h(Host, { key: 'bc07dfd2d7467391a9c121f1263df5d053f7a59c', class: {
94
+ return (h(Host, { key: '21143018ec29344c665ecc6ffdc7ca033eb6fd18', class: {
95
95
  ["ic-link"]: true,
96
96
  [`ic-theme-${theme}`]: theme !== "inherit",
97
97
  ["ic-link-monochrome"]: !!monochrome,
@@ -179,23 +179,23 @@ export class LoadingIndicator {
179
179
  }
180
180
  render() {
181
181
  const { circularDiameter, circularDimensions: { x, y, r, dashArray, dashOffset }, description, fullWidth, indicatorLabel, innerLabel, label, max, min, monochrome, progress, size, theme, type, } = this;
182
- return (h(Host, { key: 'a56bc4f2265b8697fb78fe0cb021df4f7c84b34d', class: {
182
+ return (h(Host, { key: '413c553dc741429027e834c352171bc538bad4e5', class: {
183
183
  [`ic-theme-${theme}`]: theme !== "inherit",
184
184
  "ic-loading-indicator-full-width": fullWidth,
185
185
  "ic-loading-indicator-label": !!label,
186
186
  "ic-loading-indicator-monochrome": monochrome,
187
- } }, h("div", { key: '8da5f575ce68a85df03c23e256125ed968d55496', class: "ic-loading-container", part: "ic-loading-container" }, h("div", { key: '1a32acb1ce270a95b88a77d13591151d8a280fe8', ref: (el) => (this.outerElement = el), class: {
187
+ } }, h("div", { key: '988482262c2ce8269f8e10706f2455ee94fbed4c', class: "ic-loading-container", part: "ic-loading-container" }, h("div", { key: '93e2878a03795a8e5fd65e85cc586f8de22ec764', ref: (el) => (this.outerElement = el), class: {
188
188
  [`ic-loading-${type}-outer`]: true,
189
189
  [progress === undefined ? "indeterminate" : "determinate"]: true,
190
- }, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, h("div", { key: '0189f89d2f2f5a9f7530e1bbef1874fd52a00f87', ref: (el) => (this.innerElement = el), class: {
190
+ }, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, h("div", { key: '1d4f9ebc1ee51844d0357c5629a9dc69aac0f16c', ref: (el) => (this.innerElement = el), class: {
191
191
  [`ic-loading-${type}-inner`]: true,
192
192
  "inner-label": !!innerLabel,
193
- } }, innerLabel && size === "small" && (h("ic-typography", { key: '83c67de5d281dca4c293f3d06b278eabe63ccee3', variant: "subtitle-small", class: "inner-text" }, innerLabel)), type === "circular" && (h("svg", { key: 'e2449654d4dcb904c56ba47f6f72cfda5bcee7f0', class: "ic-loading-circular-svg", viewBox: `0 0 ${circularDiameter} ${circularDiameter}` }, h("circle", { key: '6436f697d6e7d7e030178fc3653ec86a509c2965', cx: x, cy: y, r: r }), h("circle", { key: '19da0a067ffdd864a08a630eabff268e9bfd1c33', style: {
193
+ } }, innerLabel && size === "small" && (h("ic-typography", { key: '85269ef476f8ee423e4a14383445cfa4b0256556', variant: "subtitle-small", class: "inner-text" }, innerLabel)), type === "circular" && (h("svg", { key: 'd3f423cd9659b735184d6657127c8626cc9cf4a3', class: "ic-loading-circular-svg", viewBox: `0 0 ${circularDiameter} ${circularDiameter}` }, h("circle", { key: '060c4d530c2e27309fbe6513eb2497ae91bcdb6a', cx: x, cy: y, r: r }), h("circle", { key: 'e4b17ca2492a92fe99561193250bb9fb4a8cf960', style: {
194
194
  "--circular-steps-max": progress ? `${max}` : undefined,
195
195
  "--progress-value": progress !== undefined ? `${progress}` : undefined,
196
196
  "--stroke-dasharray": dashArray,
197
197
  "--stroke-dashoffset": dashOffset,
198
- }, cx: x, cy: y, r: r }))))), label && size !== "icon" && (h("ic-typography", { key: 'e4d24f7e59633400c36e0e380e52ea1714c7f88f', id: "ic-loading-label", class: "ic-loading-label", role: "alert", variant: this.getLabelVariant() }, h("p", { key: 'e89f399cb0c43c4cc7dd743a201789cf50a73ed9' }, indicatorLabel))))));
198
+ }, cx: x, cy: y, r: r }))))), label && size !== "icon" && (h("ic-typography", { key: '22f1b492ebc832a2ea60ffbefd9790c1f85b2c90', id: "ic-loading-label", class: "ic-loading-label", role: "alert", variant: this.getLabelVariant() }, h("p", { key: 'e513e1965e25987826a872c991faec17c17db505' }, indicatorLabel))))));
199
199
  }
200
200
  static get is() { return "ic-loading-indicator"; }
201
201
  static get encapsulation() { return "shadow"; }