@esri/calcite-components 1.0.0-next.637 → 1.0.0-next.638

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 (676) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +1 -1
  3. package/dist/calcite/{p-db472ba7.entry.js → p-02047954.entry.js} +2 -2
  4. package/dist/calcite/{p-4738d17a.js → p-038792c7.js} +1 -1
  5. package/dist/calcite/{p-5cb537f8.js → p-038a6fa4.js} +1 -1
  6. package/dist/calcite/{p-328ccb74.entry.js → p-06812611.entry.js} +2 -2
  7. package/dist/calcite/{p-64f29a35.entry.js → p-0729c007.entry.js} +2 -2
  8. package/dist/calcite/{p-ec00e383.entry.js → p-09a131a3.entry.js} +2 -2
  9. package/dist/calcite/{p-667100cb.entry.js → p-0deef856.entry.js} +2 -2
  10. package/dist/calcite/p-121c40d1.entry.js +6 -0
  11. package/dist/calcite/{p-eb228383.entry.js → p-1883d2c4.entry.js} +2 -2
  12. package/dist/calcite/{p-792fe721.js → p-1b727713.js} +2 -2
  13. package/dist/calcite/{p-eedef671.entry.js → p-1ef7d617.entry.js} +2 -2
  14. package/dist/calcite/{p-4db3011c.js → p-218a46f2.js} +2 -2
  15. package/dist/calcite/{p-ae11a94a.entry.js → p-2498c02c.entry.js} +2 -2
  16. package/dist/calcite/{p-1c780395.entry.js → p-2a3aa528.entry.js} +2 -2
  17. package/dist/calcite/{p-20d36062.js → p-2b541622.js} +2 -2
  18. package/dist/calcite/{p-b957b73a.entry.js → p-301d0592.entry.js} +2 -2
  19. package/dist/calcite/{p-659b5ca7.entry.js → p-39cb0f06.entry.js} +2 -2
  20. package/dist/calcite/{p-025d85df.entry.js → p-3a9117af.entry.js} +2 -2
  21. package/dist/calcite/p-41588a74.entry.js +6 -0
  22. package/dist/calcite/{p-4e64f48c.entry.js → p-4450921d.entry.js} +2 -2
  23. package/dist/calcite/{p-7da53d41.entry.js → p-49fcfa79.entry.js} +2 -2
  24. package/dist/calcite/{p-ecd20f2b.entry.js → p-5281740b.entry.js} +2 -2
  25. package/dist/calcite/{p-61e41028.entry.js → p-56487e7c.entry.js} +2 -2
  26. package/dist/calcite/{p-4dce8876.entry.js → p-5839e44e.entry.js} +2 -2
  27. package/dist/calcite/p-63de534f.entry.js +6 -0
  28. package/dist/calcite/{p-2d68251f.js → p-653bacd0.js} +1 -1
  29. package/dist/calcite/{p-fc11f7b6.js → p-65610a13.js} +1 -1
  30. package/dist/calcite/{p-4356b60d.entry.js → p-688afc51.entry.js} +2 -2
  31. package/dist/calcite/p-6ee73cef.entry.js +6 -0
  32. package/dist/calcite/{p-1ae491b7.entry.js → p-707acddc.entry.js} +2 -2
  33. package/dist/calcite/{p-2b468bdd.js → p-707b571f.js} +1 -1
  34. package/dist/calcite/{p-f7f8ab6b.js → p-72733b4b.js} +2 -2
  35. package/dist/calcite/{p-42ff80d2.entry.js → p-751d0d84.entry.js} +2 -2
  36. package/dist/calcite/{p-c471572c.entry.js → p-773c0aec.entry.js} +2 -2
  37. package/dist/calcite/{p-5775d359.entry.js → p-782710de.entry.js} +2 -2
  38. package/dist/calcite/{p-70d282be.js → p-7b26c461.js} +1 -1
  39. package/dist/calcite/{p-040e5beb.entry.js → p-7bb57ce6.entry.js} +2 -2
  40. package/dist/calcite/{p-98d79904.entry.js → p-7bdea57c.entry.js} +2 -2
  41. package/dist/calcite/p-7c01cc41.entry.js +6 -0
  42. package/dist/calcite/{p-f815558f.entry.js → p-7d4afae8.entry.js} +2 -2
  43. package/dist/calcite/{p-5f4bb38c.entry.js → p-84a41ede.entry.js} +2 -2
  44. package/dist/calcite/{p-58746ac5.js → p-85b95a93.js} +1 -1
  45. package/dist/calcite/{p-98874e9e.entry.js → p-8792c54d.entry.js} +2 -2
  46. package/dist/calcite/{p-a5232e1b.js → p-8acdb692.js} +2 -2
  47. package/dist/calcite/{p-fcf622df.js → p-8bfc8600.js} +2 -2
  48. package/dist/calcite/{p-1bc80d3a.entry.js → p-8f5b7ad7.entry.js} +2 -2
  49. package/dist/calcite/{p-7bf5837a.entry.js → p-90bf4991.entry.js} +2 -2
  50. package/dist/calcite/{p-04028b7b.js → p-91b6a760.js} +1 -1
  51. package/dist/calcite/{p-67b4683e.entry.js → p-92853c92.entry.js} +2 -2
  52. package/dist/calcite/{p-c9553ccf.entry.js → p-929dd822.entry.js} +2 -2
  53. package/dist/calcite/{p-b8eef93d.entry.js → p-97cddd85.entry.js} +2 -2
  54. package/dist/calcite/{p-321e8004.entry.js → p-9b807a5d.entry.js} +2 -2
  55. package/dist/calcite/{p-32ece351.entry.js → p-9c604442.entry.js} +2 -2
  56. package/dist/calcite/{p-f19fc0f6.js → p-9dcbec99.js} +2 -2
  57. package/dist/calcite/{p-d7dfae05.js → p-9e612ab9.js} +2 -2
  58. package/dist/calcite/{p-ecc4fef1.entry.js → p-a1f3fb5d.entry.js} +2 -2
  59. package/dist/calcite/{p-465ba348.js → p-a4b4702f.js} +2 -2
  60. package/dist/calcite/p-a50474ff.js +6 -0
  61. package/dist/calcite/{p-d635ec73.entry.js → p-afdc4ab2.entry.js} +2 -2
  62. package/dist/calcite/{p-442db22e.js → p-b0956c25.js} +1 -1
  63. package/dist/calcite/{p-195d4217.entry.js → p-b1cd14ff.entry.js} +2 -2
  64. package/dist/calcite/{p-75fbffb1.entry.js → p-b2652091.entry.js} +2 -2
  65. package/dist/calcite/{p-e5ca7061.entry.js → p-b5f23dca.entry.js} +2 -2
  66. package/dist/calcite/{p-d61871f9.js → p-b77440b4.js} +1 -1
  67. package/dist/calcite/{p-b071acd7.entry.js → p-bb2cc5fd.entry.js} +2 -2
  68. package/dist/calcite/p-bf65c472.entry.js +6 -0
  69. package/dist/calcite/{p-ae774301.js → p-c31e5366.js} +2 -2
  70. package/dist/calcite/{p-577182f4.js → p-c48a762f.js} +1 -1
  71. package/dist/calcite/{p-75a813f1.entry.js → p-c700cdb2.entry.js} +2 -2
  72. package/dist/calcite/{p-615129ed.entry.js → p-c719f831.entry.js} +2 -2
  73. package/dist/calcite/{p-1d2b0b09.js → p-c7317507.js} +2 -2
  74. package/dist/calcite/{p-9b96fe67.js → p-c95e2b62.js} +1 -1
  75. package/dist/calcite/{p-03327b67.entry.js → p-cb0ac55a.entry.js} +2 -2
  76. package/dist/calcite/{p-48d274d2.entry.js → p-d00d92a6.entry.js} +2 -2
  77. package/dist/calcite/{p-1f99e641.js → p-d1e4d33a.js} +1 -1
  78. package/dist/calcite/{p-5e2c8f0d.entry.js → p-d256868d.entry.js} +2 -2
  79. package/dist/calcite/{p-c2c44d8c.js → p-d374a27a.js} +1 -1
  80. package/dist/calcite/{p-9f9af36b.js → p-d3ebd2b4.js} +1 -1
  81. package/dist/calcite/p-de80cfeb.entry.js +6 -0
  82. package/dist/calcite/p-de8c0c8b.js +6 -0
  83. package/dist/calcite/{p-e8de77a2.js → p-dff92df6.js} +1 -1
  84. package/dist/calcite/{p-423d4559.js → p-e23682cb.js} +1 -1
  85. package/dist/calcite/{p-cd6da66f.entry.js → p-e2bf34d5.entry.js} +2 -2
  86. package/dist/calcite/{p-a3f95b2f.entry.js → p-e4cc239e.entry.js} +2 -2
  87. package/dist/calcite/{p-7fcc68e5.entry.js → p-e593ff8e.entry.js} +2 -2
  88. package/dist/calcite/{p-07cb3ec5.js → p-e8b253f8.js} +2 -2
  89. package/dist/calcite/{p-f93bfd47.entry.js → p-eb04cc68.entry.js} +2 -2
  90. package/dist/calcite/{p-75971376.entry.js → p-f0895d0c.entry.js} +2 -2
  91. package/dist/calcite/{p-015c1ffe.entry.js → p-f40b6e73.entry.js} +2 -2
  92. package/dist/calcite/{p-c159adc7.entry.js → p-f65834ce.entry.js} +2 -2
  93. package/dist/calcite/{p-141fea00.entry.js → p-fc2d386e.entry.js} +2 -2
  94. package/dist/cjs/{ExpandToggle-c3bd97d0.js → ExpandToggle-eec33090.js} +5 -5
  95. package/dist/cjs/{Heading-72043eb0.js → Heading-a5a05878.js} +2 -2
  96. package/dist/cjs/{app-globals-a9050f56.js → app-globals-27fd708a.js} +2 -2
  97. package/dist/cjs/{array-d1a3e571.js → array-45177d9d.js} +1 -1
  98. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  99. package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
  100. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  101. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  102. package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
  103. package/dist/cjs/calcite-action.cjs.entry.js +8 -8
  104. package/dist/cjs/calcite-alert.cjs.entry.js +24 -13
  105. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  106. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  107. package/dist/cjs/calcite-button.cjs.entry.js +10 -10
  108. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  109. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  110. package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
  111. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
  112. package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
  113. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -11
  114. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  115. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  116. package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
  117. package/dist/cjs/calcite-flow-item.cjs.entry.js +8 -8
  118. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  119. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  120. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  121. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  122. package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
  123. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
  124. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  125. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  126. package/dist/cjs/calcite-input-text.cjs.entry.js +10 -10
  127. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +12 -12
  128. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  129. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  130. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  131. package/dist/cjs/calcite-list_3.cjs.entry.js +601 -80
  132. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  133. package/dist/cjs/calcite-modal.cjs.entry.js +10 -10
  134. package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
  135. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  136. package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
  137. package/dist/cjs/calcite-panel.cjs.entry.js +11 -11
  138. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +13 -13
  139. package/dist/cjs/calcite-popover_2.cjs.entry.js +13 -13
  140. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  141. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  142. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  143. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
  144. package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
  145. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  146. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  147. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  148. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  149. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  150. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  151. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  152. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  153. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  154. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  155. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +8 -8
  156. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  157. package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
  158. package/dist/cjs/calcite.cjs.js +5 -5
  159. package/dist/cjs/{conditionalSlot-aaac3923.js → conditionalSlot-e88e2e59.js} +3 -3
  160. package/dist/cjs/{debounce-70be4d63.js → debounce-891f5371.js} +1 -1
  161. package/dist/cjs/{dom-0bdb3e4d.js → dom-174e4de3.js} +32 -3
  162. package/dist/cjs/{filter-dffe42ba.js → filter-00b1cc29.js} +2 -2
  163. package/dist/cjs/{floating-ui-94bee11e.js → floating-ui-92ee9a7e.js} +4 -4
  164. package/dist/cjs/{focusTrapComponent-bda38907.js → focusTrapComponent-230b759a.js} +2 -2
  165. package/dist/cjs/{form-d5c353af.js → form-d3d45193.js} +3 -3
  166. package/dist/cjs/{guid-140e20e0.js → guid-bb54b501.js} +1 -1
  167. package/dist/cjs/{index-f3b0bc03.js → index-e480dbe3.js} +1 -1
  168. package/dist/cjs/index.cjs.js +1 -1
  169. package/dist/cjs/{interactive-7ef912a7.js → interactive-04cf9beb.js} +1 -1
  170. package/dist/cjs/{interfaces-36163b36.js → interfaces-4b80f7e4.js} +1 -1
  171. package/dist/cjs/{key-f99aca0a.js → key-11cdfcbf.js} +1 -1
  172. package/dist/cjs/{label-17ebdfde.js → label-60971c84.js} +2 -2
  173. package/dist/cjs/{loadable-739e30f1.js → loadable-c843838f.js} +1 -1
  174. package/dist/cjs/loader.cjs.js +5 -5
  175. package/dist/cjs/{locale-3b95ea90.js → locale-5d4c39fc.js} +4 -4
  176. package/dist/cjs/{math-78af568b.js → math-d42026cc.js} +1 -1
  177. package/dist/cjs/{nonChromiumPlatformUtils-e765c9f0.js → nonChromiumPlatformUtils-162a5176.js} +6 -6
  178. package/dist/cjs/{observers-44b70579.js → observers-a2904f3c.js} +1 -1
  179. package/dist/cjs/{openCloseComponent-016fdd87.js → openCloseComponent-5a63ad6b.js} +1 -1
  180. package/dist/cjs/{resources-dbf9e229.js → resources-0bb3a950.js} +1 -1
  181. package/dist/cjs/{resources-db1785d0.js → resources-18fb09be.js} +5 -5
  182. package/dist/cjs/{resources-c40e93db.js → resources-68a19f27.js} +1 -1
  183. package/dist/cjs/{resources-2153bd78.js → resources-b26a603c.js} +3 -3
  184. package/dist/cjs/{resources-217a5db9.js → resources-b6e8bcc5.js} +1 -1
  185. package/dist/cjs/{resources-be59ba20.js → resources-eb7b7720.js} +1 -1
  186. package/dist/cjs/{sortable.esm-ba320d91.js → sortable.esm-918eeb0a.js} +1 -1
  187. package/dist/cjs/{utils-a2ea1b67.js → utils-810aac67.js} +1 -1
  188. package/dist/collection/components/accordion/accordion.js +1 -1
  189. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  190. package/dist/collection/components/accordion-item/resources.js +1 -1
  191. package/dist/collection/components/action/action.js +1 -1
  192. package/dist/collection/components/action/resources.js +1 -1
  193. package/dist/collection/components/action-bar/action-bar.js +1 -1
  194. package/dist/collection/components/action-bar/resources.js +1 -1
  195. package/dist/collection/components/action-bar/utils.js +1 -1
  196. package/dist/collection/components/action-group/action-group.js +1 -1
  197. package/dist/collection/components/action-group/resources.js +1 -1
  198. package/dist/collection/components/action-menu/action-menu.js +1 -1
  199. package/dist/collection/components/action-menu/resources.js +1 -1
  200. package/dist/collection/components/action-pad/action-pad.js +1 -1
  201. package/dist/collection/components/action-pad/resources.js +1 -1
  202. package/dist/collection/components/alert/alert.css +9 -0
  203. package/dist/collection/components/alert/alert.js +12 -4
  204. package/dist/collection/components/alert/interfaces.js +1 -1
  205. package/dist/collection/components/alert/resources.js +3 -1
  206. package/dist/collection/components/avatar/avatar.js +1 -1
  207. package/dist/collection/components/avatar/utils.js +1 -1
  208. package/dist/collection/components/block/block.js +1 -1
  209. package/dist/collection/components/block/resources.js +1 -1
  210. package/dist/collection/components/block-section/block-section.js +1 -1
  211. package/dist/collection/components/block-section/resources.js +1 -1
  212. package/dist/collection/components/button/button.js +1 -1
  213. package/dist/collection/components/button/resources.js +1 -1
  214. package/dist/collection/components/card/card.js +1 -1
  215. package/dist/collection/components/card/resources.js +1 -1
  216. package/dist/collection/components/checkbox/checkbox.js +1 -1
  217. package/dist/collection/components/chip/chip.js +1 -1
  218. package/dist/collection/components/chip/resources.js +1 -1
  219. package/dist/collection/components/color-picker/color-picker.js +1 -1
  220. package/dist/collection/components/color-picker/resources.js +1 -1
  221. package/dist/collection/components/color-picker/utils.js +1 -1
  222. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  223. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  224. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  225. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  226. package/dist/collection/components/combobox/combobox.js +1 -1
  227. package/dist/collection/components/combobox/resources.js +1 -1
  228. package/dist/collection/components/combobox/utils.js +1 -1
  229. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  230. package/dist/collection/components/combobox-item/resources.js +1 -1
  231. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  232. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  233. package/dist/collection/components/date-picker/date-picker.js +1 -1
  234. package/dist/collection/components/date-picker/resources.js +1 -1
  235. package/dist/collection/components/date-picker/utils.js +1 -1
  236. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  237. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  238. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  239. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  240. package/dist/collection/components/dropdown/dropdown.js +1 -1
  241. package/dist/collection/components/dropdown/resources.js +1 -1
  242. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  243. package/dist/collection/components/dropdown-group/resources.js +1 -1
  244. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  245. package/dist/collection/components/dropdown-item/resources.js +1 -1
  246. package/dist/collection/components/fab/fab.js +1 -1
  247. package/dist/collection/components/fab/resources.js +1 -1
  248. package/dist/collection/components/filter/filter.js +1 -1
  249. package/dist/collection/components/filter/resources.js +1 -1
  250. package/dist/collection/components/flow/flow.js +1 -1
  251. package/dist/collection/components/flow/resources.js +1 -1
  252. package/dist/collection/components/flow-item/flow-item.js +1 -1
  253. package/dist/collection/components/flow-item/resources.js +1 -1
  254. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  255. package/dist/collection/components/functional/Heading.js +1 -1
  256. package/dist/collection/components/graph/graph.js +1 -1
  257. package/dist/collection/components/graph/util.js +1 -1
  258. package/dist/collection/components/handle/handle.js +1 -1
  259. package/dist/collection/components/handle/resources.js +1 -1
  260. package/dist/collection/components/icon/icon.js +1 -1
  261. package/dist/collection/components/icon/resources.js +1 -1
  262. package/dist/collection/components/icon/utils.js +1 -1
  263. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  264. package/dist/collection/components/inline-editable/resources.js +1 -1
  265. package/dist/collection/components/input/input.js +1 -1
  266. package/dist/collection/components/input/resources.js +1 -1
  267. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  268. package/dist/collection/components/input-date-picker/resources.js +1 -1
  269. package/dist/collection/components/input-message/input-message.js +1 -1
  270. package/dist/collection/components/input-message/interfaces.js +1 -1
  271. package/dist/collection/components/input-number/input-number.js +1 -1
  272. package/dist/collection/components/input-number/resources.js +1 -1
  273. package/dist/collection/components/input-text/input-text.js +1 -1
  274. package/dist/collection/components/input-text/resources.js +1 -1
  275. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  276. package/dist/collection/components/label/label.js +1 -1
  277. package/dist/collection/components/label/resources.js +1 -1
  278. package/dist/collection/components/link/link.js +1 -1
  279. package/dist/collection/components/list/list.css +21 -1
  280. package/dist/collection/components/list/list.js +517 -13
  281. package/dist/collection/components/list/resources.js +7 -2
  282. package/dist/collection/components/list-item/list-item.css +48 -23
  283. package/dist/collection/components/list-item/list-item.js +531 -40
  284. package/dist/collection/components/list-item/resources.js +18 -3
  285. package/dist/collection/components/list-item/utils.js +32 -0
  286. package/dist/collection/components/list-item-group/list-item-group.css +30 -8
  287. package/dist/collection/components/list-item-group/list-item-group.js +57 -9
  288. package/dist/collection/components/list-item-group/resources.js +3 -3
  289. package/dist/collection/components/loader/loader.js +1 -1
  290. package/dist/collection/components/modal/modal.js +1 -1
  291. package/dist/collection/components/modal/resources.js +1 -1
  292. package/dist/collection/components/notice/notice.js +1 -1
  293. package/dist/collection/components/notice/resources.js +1 -1
  294. package/dist/collection/components/option/option.js +1 -1
  295. package/dist/collection/components/option-group/option-group.js +1 -1
  296. package/dist/collection/components/pagination/pagination.js +1 -1
  297. package/dist/collection/components/pagination/resources.js +1 -1
  298. package/dist/collection/components/panel/panel.js +1 -1
  299. package/dist/collection/components/panel/resources.js +1 -1
  300. package/dist/collection/components/pick-list/pick-list.js +1 -1
  301. package/dist/collection/components/pick-list/resources.js +1 -1
  302. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  303. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  304. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  305. package/dist/collection/components/pick-list-group/resources.js +1 -1
  306. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  307. package/dist/collection/components/pick-list-item/resources.js +1 -1
  308. package/dist/collection/components/popover/PopoverManager.js +1 -1
  309. package/dist/collection/components/popover/popover.js +1 -1
  310. package/dist/collection/components/popover/resources.js +1 -1
  311. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  312. package/dist/collection/components/progress/progress.js +1 -1
  313. package/dist/collection/components/radio-button/radio-button.js +1 -1
  314. package/dist/collection/components/radio-button/resources.js +1 -1
  315. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  316. package/dist/collection/components/radio-group/radio-group.js +1 -1
  317. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  318. package/dist/collection/components/radio-group-item/resources.js +1 -1
  319. package/dist/collection/components/rating/rating.js +1 -1
  320. package/dist/collection/components/rating/resources.js +1 -1
  321. package/dist/collection/components/scrim/resources.js +1 -1
  322. package/dist/collection/components/scrim/scrim.js +1 -1
  323. package/dist/collection/components/select/resources.js +1 -1
  324. package/dist/collection/components/select/select.js +1 -1
  325. package/dist/collection/components/shell/resources.js +1 -1
  326. package/dist/collection/components/shell/shell.js +1 -1
  327. package/dist/collection/components/shell-center-row/resources.js +1 -1
  328. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  329. package/dist/collection/components/shell-panel/resources.js +1 -1
  330. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  331. package/dist/collection/components/slider/resources.js +1 -1
  332. package/dist/collection/components/slider/slider.js +1 -1
  333. package/dist/collection/components/sortable-list/resources.js +1 -1
  334. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  335. package/dist/collection/components/split-button/resources.js +1 -1
  336. package/dist/collection/components/split-button/split-button.js +1 -1
  337. package/dist/collection/components/stepper/stepper.js +1 -1
  338. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  339. package/dist/collection/components/switch/switch.js +1 -1
  340. package/dist/collection/components/tab/tab.js +1 -1
  341. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  342. package/dist/collection/components/tab-title/tab-title.js +1 -1
  343. package/dist/collection/components/tabs/resources.js +1 -1
  344. package/dist/collection/components/tabs/tabs.js +1 -1
  345. package/dist/collection/components/tile/resources.js +1 -1
  346. package/dist/collection/components/tile/tile.js +1 -1
  347. package/dist/collection/components/tile-select/resources.js +1 -1
  348. package/dist/collection/components/tile-select/tile-select.js +1 -1
  349. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  350. package/dist/collection/components/time-picker/resources.js +1 -1
  351. package/dist/collection/components/time-picker/time-picker.js +1 -1
  352. package/dist/collection/components/tip/resources.js +1 -1
  353. package/dist/collection/components/tip/tip.js +1 -1
  354. package/dist/collection/components/tip-group/tip-group.js +1 -1
  355. package/dist/collection/components/tip-manager/resources.js +1 -1
  356. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  357. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  358. package/dist/collection/components/tooltip/resources.js +1 -1
  359. package/dist/collection/components/tooltip/tooltip.js +1 -1
  360. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  361. package/dist/collection/components/tree/interfaces.js +1 -1
  362. package/dist/collection/components/tree/tree.js +1 -1
  363. package/dist/collection/components/tree/utils.js +1 -1
  364. package/dist/collection/components/tree-item/resources.js +1 -1
  365. package/dist/collection/components/tree-item/tree-item.js +1 -1
  366. package/dist/collection/components/value-list/resources.js +1 -1
  367. package/dist/collection/components/value-list/utils.js +1 -1
  368. package/dist/collection/components/value-list/value-list.js +1 -1
  369. package/dist/collection/components/value-list-item/resources.js +1 -1
  370. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  371. package/dist/collection/utils/array.js +1 -1
  372. package/dist/collection/utils/conditionalSlot.js +1 -1
  373. package/dist/collection/utils/config.js +1 -1
  374. package/dist/collection/utils/date.js +1 -1
  375. package/dist/collection/utils/dom.js +1 -1
  376. package/dist/collection/utils/filter.js +1 -1
  377. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  378. package/dist/collection/utils/floating-ui.js +1 -1
  379. package/dist/collection/utils/focusTrapComponent.js +1 -1
  380. package/dist/collection/utils/form.js +1 -1
  381. package/dist/collection/utils/globalAttributes.js +1 -1
  382. package/dist/collection/utils/globalScript.js +1 -1
  383. package/dist/collection/utils/guid.js +1 -1
  384. package/dist/collection/utils/interactive.js +1 -1
  385. package/dist/collection/utils/key.js +1 -1
  386. package/dist/collection/utils/label.js +1 -1
  387. package/dist/collection/utils/loadable.js +1 -1
  388. package/dist/collection/utils/locale.js +1 -1
  389. package/dist/collection/utils/math.js +1 -1
  390. package/dist/collection/utils/number.js +1 -1
  391. package/dist/collection/utils/observers.js +1 -1
  392. package/dist/collection/utils/openCloseComponent.js +1 -1
  393. package/dist/collection/utils/resources.js +1 -1
  394. package/dist/collection/utils/t9n.js +1 -1
  395. package/dist/collection/utils/theme.js +1 -1
  396. package/dist/collection/utils/time.js +1 -1
  397. package/dist/components/ExpandToggle.js +1 -1
  398. package/dist/components/Heading.js +1 -1
  399. package/dist/components/action-group.js +1 -1
  400. package/dist/components/action-menu.js +1 -1
  401. package/dist/components/action.js +1 -1
  402. package/dist/components/array.js +1 -1
  403. package/dist/components/button.js +2 -2
  404. package/dist/components/calcite-accordion-item.js +1 -1
  405. package/dist/components/calcite-accordion.js +1 -1
  406. package/dist/components/calcite-action-bar.js +1 -1
  407. package/dist/components/calcite-action-group.js +1 -1
  408. package/dist/components/calcite-action-menu.js +1 -1
  409. package/dist/components/calcite-action-pad.js +1 -1
  410. package/dist/components/calcite-action.js +1 -1
  411. package/dist/components/calcite-alert.js +16 -4
  412. package/dist/components/calcite-avatar.js +2 -2
  413. package/dist/components/calcite-block-section.js +1 -1
  414. package/dist/components/calcite-block.js +1 -1
  415. package/dist/components/calcite-button.js +1 -1
  416. package/dist/components/calcite-card.js +1 -1
  417. package/dist/components/calcite-checkbox.js +1 -1
  418. package/dist/components/calcite-chip.js +1 -1
  419. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  420. package/dist/components/calcite-color-picker-swatch.js +1 -1
  421. package/dist/components/calcite-color-picker.js +1 -1
  422. package/dist/components/calcite-combobox-item-group.js +1 -1
  423. package/dist/components/calcite-combobox-item.js +1 -1
  424. package/dist/components/calcite-combobox.js +1 -1
  425. package/dist/components/calcite-date-picker-day.js +1 -1
  426. package/dist/components/calcite-date-picker-month-header.js +1 -1
  427. package/dist/components/calcite-date-picker-month.js +1 -1
  428. package/dist/components/calcite-date-picker.js +1 -1
  429. package/dist/components/calcite-dropdown-group.js +1 -1
  430. package/dist/components/calcite-dropdown-item.js +1 -1
  431. package/dist/components/calcite-dropdown.js +1 -1
  432. package/dist/components/calcite-fab.js +1 -1
  433. package/dist/components/calcite-filter.js +1 -1
  434. package/dist/components/calcite-flow-item.js +1 -1
  435. package/dist/components/calcite-flow.js +1 -1
  436. package/dist/components/calcite-graph.js +1 -1
  437. package/dist/components/calcite-handle.js +1 -1
  438. package/dist/components/calcite-icon.js +1 -1
  439. package/dist/components/calcite-inline-editable.js +1 -1
  440. package/dist/components/calcite-input-date-picker.js +1 -1
  441. package/dist/components/calcite-input-message.js +2 -2
  442. package/dist/components/calcite-input-number.js +2 -2
  443. package/dist/components/calcite-input-text.js +2 -2
  444. package/dist/components/calcite-input-time-picker.js +1 -1
  445. package/dist/components/calcite-input.js +1 -1
  446. package/dist/components/calcite-label.js +1 -1
  447. package/dist/components/calcite-link.js +1 -1
  448. package/dist/components/calcite-list-item-group.js +33 -12
  449. package/dist/components/calcite-list-item.js +294 -59
  450. package/dist/components/calcite-list.js +296 -12
  451. package/dist/components/calcite-loader.js +1 -1
  452. package/dist/components/calcite-modal.js +2 -2
  453. package/dist/components/calcite-notice.js +2 -2
  454. package/dist/components/calcite-option-group.js +1 -1
  455. package/dist/components/calcite-option.js +1 -1
  456. package/dist/components/calcite-pagination.js +1 -1
  457. package/dist/components/calcite-panel.js +1 -1
  458. package/dist/components/calcite-pick-list-group.js +2 -2
  459. package/dist/components/calcite-pick-list-item.js +1 -1
  460. package/dist/components/calcite-pick-list.js +2 -2
  461. package/dist/components/calcite-popover-manager.js +1 -1
  462. package/dist/components/calcite-popover.js +1 -1
  463. package/dist/components/calcite-progress.js +1 -1
  464. package/dist/components/calcite-radio-button-group.js +1 -1
  465. package/dist/components/calcite-radio-button.js +1 -1
  466. package/dist/components/calcite-radio-group-item.js +1 -1
  467. package/dist/components/calcite-radio-group.js +1 -1
  468. package/dist/components/calcite-rating.js +1 -1
  469. package/dist/components/calcite-scrim.js +1 -1
  470. package/dist/components/calcite-select.js +1 -1
  471. package/dist/components/calcite-shell-center-row.js +1 -1
  472. package/dist/components/calcite-shell-panel.js +1 -1
  473. package/dist/components/calcite-shell.js +1 -1
  474. package/dist/components/calcite-slider.js +2 -2
  475. package/dist/components/calcite-sortable-list.js +1 -1
  476. package/dist/components/calcite-split-button.js +1 -1
  477. package/dist/components/calcite-stepper-item.js +1 -1
  478. package/dist/components/calcite-stepper.js +1 -1
  479. package/dist/components/calcite-switch.js +1 -1
  480. package/dist/components/calcite-tab-nav.js +1 -1
  481. package/dist/components/calcite-tab-title.js +1 -1
  482. package/dist/components/calcite-tab.js +1 -1
  483. package/dist/components/calcite-tabs.js +1 -1
  484. package/dist/components/calcite-tile-select-group.js +1 -1
  485. package/dist/components/calcite-tile-select.js +1 -1
  486. package/dist/components/calcite-tile.js +1 -1
  487. package/dist/components/calcite-time-picker.js +1 -1
  488. package/dist/components/calcite-tip-group.js +1 -1
  489. package/dist/components/calcite-tip-manager.js +1 -1
  490. package/dist/components/calcite-tip.js +1 -1
  491. package/dist/components/calcite-tooltip-manager.js +1 -1
  492. package/dist/components/calcite-tooltip.js +1 -1
  493. package/dist/components/calcite-tree-item.js +2 -2
  494. package/dist/components/calcite-tree.js +2 -2
  495. package/dist/components/calcite-value-list-item.js +2 -2
  496. package/dist/components/calcite-value-list.js +1 -1
  497. package/dist/components/checkbox.js +1 -1
  498. package/dist/components/chip.js +1 -1
  499. package/dist/components/color-picker-hex-input.js +1 -1
  500. package/dist/components/color-picker-swatch.js +2 -2
  501. package/dist/components/conditionalSlot.js +1 -1
  502. package/dist/components/date-picker-day.js +2 -2
  503. package/dist/components/date-picker-month-header.js +2 -2
  504. package/dist/components/date-picker-month.js +1 -1
  505. package/dist/components/date-picker.js +1 -1
  506. package/dist/components/date.js +1 -1
  507. package/dist/components/debounce.js +1 -1
  508. package/dist/components/dom.js +30 -2
  509. package/dist/components/dropdown.js +1 -1
  510. package/dist/components/filter.js +1 -1
  511. package/dist/components/filter2.js +1 -1
  512. package/dist/components/floating-ui.js +2 -2
  513. package/dist/components/focusTrapComponent.js +1 -1
  514. package/dist/components/form.js +2 -2
  515. package/dist/components/graph.js +1 -1
  516. package/dist/components/guid.js +1 -1
  517. package/dist/components/handle.js +1 -1
  518. package/dist/components/icon.js +1 -1
  519. package/dist/components/index.js +1 -1
  520. package/dist/components/input.js +2 -2
  521. package/dist/components/interactive.js +1 -1
  522. package/dist/components/interfaces.js +1 -1
  523. package/dist/components/interfaces2.js +1 -1
  524. package/dist/components/key.js +1 -1
  525. package/dist/components/label.js +1 -1
  526. package/dist/components/label2.js +2 -2
  527. package/dist/components/link.js +1 -1
  528. package/dist/components/loadable.js +1 -1
  529. package/dist/components/loader.js +1 -1
  530. package/dist/components/locale.js +2 -2
  531. package/dist/components/math.js +1 -1
  532. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  533. package/dist/components/observers.js +1 -1
  534. package/dist/components/openCloseComponent.js +1 -1
  535. package/dist/components/panel.js +1 -1
  536. package/dist/components/pick-list-item.js +2 -2
  537. package/dist/components/popover.js +1 -1
  538. package/dist/components/progress.js +1 -1
  539. package/dist/components/resources.js +62 -10
  540. package/dist/components/resources2.js +10 -6
  541. package/dist/components/resources3.js +15 -0
  542. package/dist/components/scrim.js +1 -1
  543. package/dist/components/shared-list-render.js +3 -3
  544. package/dist/components/sortable.esm.js +1 -1
  545. package/dist/components/switch.js +1 -1
  546. package/dist/components/tab-nav.js +2 -2
  547. package/dist/components/tab-title.js +1 -1
  548. package/dist/components/tab.js +1 -1
  549. package/dist/components/tabs.js +1 -1
  550. package/dist/components/tile.js +1 -1
  551. package/dist/components/time-picker.js +1 -1
  552. package/dist/components/tooltip.js +1 -1
  553. package/dist/components/utils.js +1 -1
  554. package/dist/components/utils2.js +1 -1
  555. package/dist/esm/{ExpandToggle-5ed2286c.js → ExpandToggle-4fca7d3d.js} +5 -5
  556. package/dist/esm/{Heading-ed3e48f1.js → Heading-94ce749d.js} +2 -2
  557. package/dist/esm/{app-globals-a0f5995b.js → app-globals-4523c4bb.js} +2 -2
  558. package/dist/esm/{array-f73c9d05.js → array-9d104dff.js} +1 -1
  559. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  560. package/dist/esm/calcite-action-bar.entry.js +12 -12
  561. package/dist/esm/calcite-action-group.entry.js +9 -9
  562. package/dist/esm/calcite-action-menu.entry.js +9 -9
  563. package/dist/esm/calcite-action-pad.entry.js +11 -11
  564. package/dist/esm/calcite-action.entry.js +8 -8
  565. package/dist/esm/calcite-alert.entry.js +24 -13
  566. package/dist/esm/calcite-avatar.entry.js +6 -6
  567. package/dist/esm/calcite-block_2.entry.js +10 -10
  568. package/dist/esm/calcite-button.entry.js +10 -10
  569. package/dist/esm/calcite-card.entry.js +7 -7
  570. package/dist/esm/calcite-checkbox.entry.js +10 -10
  571. package/dist/esm/calcite-chip.entry.js +8 -8
  572. package/dist/esm/calcite-color-picker_3.entry.js +11 -11
  573. package/dist/esm/calcite-combobox_3.entry.js +15 -15
  574. package/dist/esm/calcite-date-picker_4.entry.js +11 -11
  575. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  576. package/dist/esm/calcite-fab.entry.js +7 -7
  577. package/dist/esm/calcite-filter.entry.js +9 -9
  578. package/dist/esm/calcite-flow-item.entry.js +8 -8
  579. package/dist/esm/calcite-flow.entry.js +3 -3
  580. package/dist/esm/calcite-graph_2.entry.js +13 -13
  581. package/dist/esm/calcite-handle.entry.js +6 -6
  582. package/dist/esm/calcite-icon.entry.js +6 -6
  583. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  584. package/dist/esm/calcite-input-date-picker.entry.js +16 -16
  585. package/dist/esm/calcite-input-message.entry.js +5 -5
  586. package/dist/esm/calcite-input-number.entry.js +13 -13
  587. package/dist/esm/calcite-input-text.entry.js +10 -10
  588. package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
  589. package/dist/esm/calcite-input.entry.js +13 -13
  590. package/dist/esm/calcite-label.entry.js +6 -6
  591. package/dist/esm/calcite-link.entry.js +7 -7
  592. package/dist/esm/calcite-list_3.entry.js +601 -80
  593. package/dist/esm/calcite-loader.entry.js +3 -3
  594. package/dist/esm/calcite-modal.entry.js +10 -10
  595. package/dist/esm/calcite-notice.entry.js +9 -9
  596. package/dist/esm/calcite-option_3.entry.js +10 -10
  597. package/dist/esm/calcite-pagination.entry.js +8 -8
  598. package/dist/esm/calcite-panel.entry.js +11 -11
  599. package/dist/esm/calcite-pick-list_3.entry.js +13 -13
  600. package/dist/esm/calcite-popover_2.entry.js +13 -13
  601. package/dist/esm/calcite-progress.entry.js +2 -2
  602. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  603. package/dist/esm/calcite-radio-button.entry.js +10 -10
  604. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  605. package/dist/esm/calcite-rating.entry.js +10 -10
  606. package/dist/esm/calcite-scrim.entry.js +2 -2
  607. package/dist/esm/calcite-shell_3.entry.js +8 -8
  608. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  609. package/dist/esm/calcite-split-button.entry.js +3 -3
  610. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  611. package/dist/esm/calcite-switch.entry.js +10 -10
  612. package/dist/esm/calcite-tab_4.entry.js +7 -7
  613. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  614. package/dist/esm/calcite-tile.entry.js +8 -8
  615. package/dist/esm/calcite-tip_3.entry.js +8 -8
  616. package/dist/esm/calcite-tooltip_2.entry.js +8 -8
  617. package/dist/esm/calcite-tree_2.entry.js +8 -8
  618. package/dist/esm/calcite-value-list_2.entry.js +13 -13
  619. package/dist/esm/calcite.js +5 -5
  620. package/dist/esm/{conditionalSlot-52dde7ea.js → conditionalSlot-1620f1ad.js} +3 -3
  621. package/dist/esm/{debounce-1a5c2d9a.js → debounce-0686d9a1.js} +1 -1
  622. package/dist/esm/{dom-cae739a6.js → dom-af8fc88b.js} +32 -4
  623. package/dist/esm/{filter-c6219662.js → filter-cbb2b874.js} +2 -2
  624. package/dist/esm/{floating-ui-83cc4818.js → floating-ui-5919ed56.js} +4 -4
  625. package/dist/esm/{focusTrapComponent-a9aedfc3.js → focusTrapComponent-8f434148.js} +2 -2
  626. package/dist/esm/{form-d48c01db.js → form-2aa6c9e9.js} +3 -3
  627. package/dist/esm/{guid-12deee22.js → guid-a32bfc37.js} +1 -1
  628. package/dist/esm/{index-8b570e4c.js → index-f5307217.js} +1 -1
  629. package/dist/esm/index.js +1 -1
  630. package/dist/esm/{interactive-00f14d53.js → interactive-408a778e.js} +1 -1
  631. package/dist/esm/{interfaces-5332a67e.js → interfaces-25274bad.js} +1 -1
  632. package/dist/esm/{key-da605893.js → key-ff94e2df.js} +1 -1
  633. package/dist/esm/{label-b347a097.js → label-c38a7e62.js} +2 -2
  634. package/dist/esm/{loadable-a678deac.js → loadable-8dc52efb.js} +1 -1
  635. package/dist/esm/loader.js +5 -5
  636. package/dist/esm/{locale-659d541f.js → locale-d8acb890.js} +4 -4
  637. package/dist/esm/{math-1258cc43.js → math-06af2d12.js} +1 -1
  638. package/dist/esm/{nonChromiumPlatformUtils-c798a816.js → nonChromiumPlatformUtils-3c8e691e.js} +6 -6
  639. package/dist/esm/{observers-87f2f521.js → observers-c4a710f2.js} +1 -1
  640. package/dist/esm/{openCloseComponent-23945bf3.js → openCloseComponent-10ccb926.js} +1 -1
  641. package/dist/esm/{resources-e1b43a72.js → resources-295cd6ac.js} +5 -5
  642. package/dist/esm/{resources-aef18e74.js → resources-2cf72e16.js} +1 -1
  643. package/dist/esm/{resources-aaffa7f6.js → resources-56be8d83.js} +1 -1
  644. package/dist/esm/{resources-fa9d92ce.js → resources-a79f35f7.js} +1 -1
  645. package/dist/esm/{resources-188b007b.js → resources-b5550e9c.js} +3 -3
  646. package/dist/esm/{resources-724217d1.js → resources-f669fefd.js} +1 -1
  647. package/dist/esm/{sortable.esm-8d317af8.js → sortable.esm-0eb8bd97.js} +1 -1
  648. package/dist/esm/{utils-5e28be3d.js → utils-6c7a0dc5.js} +1 -1
  649. package/dist/extras/docs-json.json +375 -10
  650. package/dist/loader/cdn.js +1 -1
  651. package/dist/loader/index.cjs.js +1 -1
  652. package/dist/loader/index.es2017.js +1 -1
  653. package/dist/loader/index.js +1 -1
  654. package/dist/types/components/alert/alert.d.ts +3 -0
  655. package/dist/types/components/alert/resources.d.ts +2 -0
  656. package/dist/types/components/list/list.d.ts +85 -3
  657. package/dist/types/components/list/resources.d.ts +7 -0
  658. package/dist/types/components/list-item/interfaces.d.ts +6 -0
  659. package/dist/types/components/list-item/list-item.d.ts +95 -8
  660. package/dist/types/components/list-item/resources.d.ts +17 -2
  661. package/dist/types/components/list-item/utils.d.ts +3 -0
  662. package/dist/types/components/list-item-group/list-item-group.d.ts +11 -1
  663. package/dist/types/components/list-item-group/resources.d.ts +1 -1
  664. package/dist/types/components.d.ts +179 -5
  665. package/dist/types/preact.d.ts +8 -2
  666. package/hydrate/index.js +725 -133
  667. package/package.json +1 -1
  668. package/dist/calcite/p-3f5afcbc.entry.js +0 -6
  669. package/dist/calcite/p-415c4953.entry.js +0 -6
  670. package/dist/calcite/p-53c9d293.entry.js +0 -6
  671. package/dist/calcite/p-6821875b.entry.js +0 -6
  672. package/dist/calcite/p-90642735.js +0 -6
  673. package/dist/calcite/p-9d08001b.entry.js +0 -6
  674. package/dist/calcite/p-d0b34fdc.entry.js +0 -6
  675. package/dist/calcite/p-de61caee.js +0 -6
  676. package/dist/calcite/p-e1f78eee.entry.js +0 -6
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.637
4
+ * v1.0.0-next.638
5
5
  */
6
6
  'use strict';
7
7
 
@@ -6152,6 +6152,34 @@ function intersects(rect1, rect2) {
6152
6152
  function toAriaBoolean(value) {
6153
6153
  return Boolean(value).toString();
6154
6154
  }
6155
+ /**
6156
+ * This helper returns `true` if the target `slot` element from the `onSlotchange` event has an assigned element.
6157
+ *
6158
+ * ```
6159
+ * <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
6160
+ * ```
6161
+ *
6162
+ * @param event
6163
+ * @returns {boolean} Whether the slot has any assigned elements.
6164
+ */
6165
+ function slotChangeHasAssignedElement(event) {
6166
+ return !!slotChangeGetAssignedElements(event).length;
6167
+ }
6168
+ /**
6169
+ * This helper returns the assigned elements on a `slot` element from the `onSlotchange` event.
6170
+ *
6171
+ * ```
6172
+ * <slot onSlotchange={(event) => this.mySlotElements = slotChangeGetAssignedElements(event)} />}
6173
+ * ```
6174
+ *
6175
+ * @param event
6176
+ * @returns {boolean} Whether the slot has any assigned elements.
6177
+ */
6178
+ function slotChangeGetAssignedElements(event) {
6179
+ return event.target.assignedElements({
6180
+ flatten: true
6181
+ });
6182
+ }
6155
6183
  /**
6156
6184
  * This helper returns true if the pointer event fired from the primary button of the device.
6157
6185
  *
@@ -6227,7 +6255,7 @@ const SLOTS$u = {
6227
6255
  actionsStart: "actions-start",
6228
6256
  actionsEnd: "actions-end"
6229
6257
  };
6230
- const CSS$U = {
6258
+ const CSS$V = {
6231
6259
  icon: "icon",
6232
6260
  header: "header",
6233
6261
  headerContent: "header-content",
@@ -6325,27 +6353,27 @@ class AccordionItem {
6325
6353
  // --------------------------------------------------------------------------
6326
6354
  renderActionsStart() {
6327
6355
  const { el } = this;
6328
- return getSlotted(el, SLOTS$u.actionsStart) ? (hAsync("div", { class: CSS$U.actionsStart }, hAsync("slot", { name: SLOTS$u.actionsStart }))) : null;
6356
+ return getSlotted(el, SLOTS$u.actionsStart) ? (hAsync("div", { class: CSS$V.actionsStart }, hAsync("slot", { name: SLOTS$u.actionsStart }))) : null;
6329
6357
  }
6330
6358
  renderActionsEnd() {
6331
6359
  const { el } = this;
6332
- return getSlotted(el, SLOTS$u.actionsEnd) ? (hAsync("div", { class: CSS$U.actionsEnd }, hAsync("slot", { name: SLOTS$u.actionsEnd }))) : null;
6360
+ return getSlotted(el, SLOTS$u.actionsEnd) ? (hAsync("div", { class: CSS$V.actionsEnd }, hAsync("slot", { name: SLOTS$u.actionsEnd }))) : null;
6333
6361
  }
6334
6362
  render() {
6335
6363
  const dir = getElementDir(this.el);
6336
- const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$U.iconStart, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
6337
- const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$U.iconEnd, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
6364
+ const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$V.iconStart, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
6365
+ const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$V.iconEnd, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
6338
6366
  const description = this.description || this.itemSubtitle;
6339
6367
  return (hAsync(Host, null, hAsync("div", { class: {
6340
6368
  [`icon-position--${this.iconPosition}`]: true,
6341
6369
  [`icon-type--${this.iconType}`]: true
6342
- } }, hAsync("div", { class: { [CSS$U.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.active || this.expanded), class: CSS$U.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$U.headerContainer }, iconStartEl, hAsync("div", { class: CSS$U.headerText }, hAsync("span", { class: CSS$U.heading }, this.heading || this.itemTitle), description ? hAsync("span", { class: CSS$U.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$U.expandIcon, icon: this.iconType === "chevron"
6370
+ } }, hAsync("div", { class: { [CSS$V.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.active || this.expanded), class: CSS$V.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$V.headerContainer }, iconStartEl, hAsync("div", { class: CSS$V.headerText }, hAsync("span", { class: CSS$V.heading }, this.heading || this.itemTitle), description ? hAsync("span", { class: CSS$V.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$V.expandIcon, icon: this.iconType === "chevron"
6343
6371
  ? "chevronDown"
6344
6372
  : this.iconType === "caret"
6345
6373
  ? "caretDown"
6346
6374
  : this.expanded || this.active
6347
6375
  ? "minus"
6348
- : "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$U.content }, hAsync("slot", null)))));
6376
+ : "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$V.content }, hAsync("slot", null)))));
6349
6377
  }
6350
6378
  //--------------------------------------------------------------------------
6351
6379
  //
@@ -6439,7 +6467,7 @@ class AccordionItem {
6439
6467
  }; }
6440
6468
  }
6441
6469
 
6442
- const CSS$T = {
6470
+ const CSS$U = {
6443
6471
  button: "button",
6444
6472
  buttonTextVisible: "button--text-visible",
6445
6473
  buttonCompact: "button--compact",
@@ -6664,8 +6692,8 @@ class Action {
6664
6692
  renderTextContainer() {
6665
6693
  const { text, textEnabled } = this;
6666
6694
  const textContainerClasses = {
6667
- [CSS$T.textContainer]: true,
6668
- [CSS$T.textContainerVisible]: textEnabled
6695
+ [CSS$U.textContainer]: true,
6696
+ [CSS$U.textContainerVisible]: textEnabled
6669
6697
  };
6670
6698
  return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
6671
6699
  }
@@ -6679,18 +6707,18 @@ class Action {
6679
6707
  const iconNode = calciteLoaderNode || calciteIconNode;
6680
6708
  const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
6681
6709
  const slotContainerNode = (hAsync("div", { class: {
6682
- [CSS$T.slotContainer]: true,
6683
- [CSS$T.slotContainerHidden]: loading
6710
+ [CSS$U.slotContainer]: true,
6711
+ [CSS$U.slotContainerHidden]: loading
6684
6712
  } }, hAsync("slot", null)));
6685
- return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$T.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
6713
+ return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$U.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
6686
6714
  }
6687
6715
  render() {
6688
6716
  const { compact, disabled, loading, textEnabled, label, text } = this;
6689
6717
  const ariaLabel = label || text;
6690
6718
  const buttonClasses = {
6691
- [CSS$T.button]: true,
6692
- [CSS$T.buttonTextVisible]: textEnabled,
6693
- [CSS$T.buttonCompact]: compact
6719
+ [CSS$U.button]: true,
6720
+ [CSS$U.buttonTextVisible]: textEnabled,
6721
+ [CSS$U.buttonCompact]: compact
6694
6722
  };
6695
6723
  return (hAsync(Host, { onClick: this.calciteActionClickHandler }, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer()), hAsync("slot", { name: SLOTS$t.tooltip, onSlotchange: this.handleTooltipSlotChange })));
6696
6724
  }
@@ -6721,7 +6749,7 @@ class Action {
6721
6749
  }; }
6722
6750
  }
6723
6751
 
6724
- const CSS$S = {
6752
+ const CSS$T = {
6725
6753
  menu: "menu",
6726
6754
  defaultTrigger: "default-trigger"
6727
6755
  };
@@ -6729,7 +6757,7 @@ const SLOTS$s = {
6729
6757
  tooltip: "tooltip",
6730
6758
  trigger: "trigger"
6731
6759
  };
6732
- const ICONS$g = {
6760
+ const ICONS$h = {
6733
6761
  menu: "ellipsis"
6734
6762
  };
6735
6763
 
@@ -6740,7 +6768,7 @@ const SLOTS$r = {
6740
6768
  const TEXT$t = {
6741
6769
  more: "More"
6742
6770
  };
6743
- const ICONS$f = {
6771
+ const ICONS$g = {
6744
6772
  menu: "ellipsis"
6745
6773
  };
6746
6774
 
@@ -6794,7 +6822,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
6794
6822
  });
6795
6823
  };
6796
6824
 
6797
- const ICONS$e = {
6825
+ const ICONS$f = {
6798
6826
  chevronsLeft: "chevrons-left",
6799
6827
  chevronsRight: "chevrons-right"
6800
6828
  };
@@ -6822,7 +6850,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
6822
6850
  const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
6823
6851
  const rtl = getElementDir(el) === "rtl";
6824
6852
  const expandText = expanded ? intlCollapse : intlExpand;
6825
- const icons = [ICONS$e.chevronsLeft, ICONS$e.chevronsRight];
6853
+ const icons = [ICONS$f.chevronsLeft, ICONS$f.chevronsRight];
6826
6854
  if (rtl) {
6827
6855
  icons.reverse();
6828
6856
  }
@@ -6833,7 +6861,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
6833
6861
  return actionNode;
6834
6862
  };
6835
6863
 
6836
- const CSS$R = {
6864
+ const CSS$S = {
6837
6865
  actionGroupBottom: "action-group--bottom"
6838
6866
  };
6839
6867
  const SLOTS$q = {
@@ -8283,7 +8311,7 @@ class ActionBar {
8283
8311
  const expandLabel = intlExpand || TEXT$s.expand;
8284
8312
  const collapseLabel = intlCollapse || TEXT$s.collapse;
8285
8313
  const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
8286
- return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$R.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.bottomActions }), hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
8314
+ return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$S.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.bottomActions }), hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
8287
8315
  }
8288
8316
  render() {
8289
8317
  return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
@@ -8379,7 +8407,7 @@ class ActionGroup {
8379
8407
  renderMenu() {
8380
8408
  const { el, expanded, intlMore, menuOpen, scale, layout } = this;
8381
8409
  const hasMenuItems = getSlotted(el, SLOTS$r.menuActions);
8382
- return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$t.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-leading" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$f.menu, scale: scale, slot: SLOTS$s.trigger, text: intlMore || TEXT$t.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$r.menuActions }), this.renderTooltip())) : null;
8410
+ return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$t.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-leading" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$g.menu, scale: scale, slot: SLOTS$s.trigger, text: intlMore || TEXT$t.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$r.menuActions }), this.renderTooltip())) : null;
8383
8411
  }
8384
8412
  render() {
8385
8413
  return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
@@ -8679,14 +8707,14 @@ class ActionMenu {
8679
8707
  }
8680
8708
  renderMenuButton() {
8681
8709
  const { label, scale, expanded } = this;
8682
- const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$S.defaultTrigger, icon: ICONS$g.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
8710
+ const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$T.defaultTrigger, icon: ICONS$h.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
8683
8711
  return menuButtonSlot;
8684
8712
  }
8685
8713
  renderMenuItems() {
8686
8714
  const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
8687
8715
  const activeAction = actionElements[activeMenuItemIndex];
8688
8716
  const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
8689
- return (hAsync("calcite-popover", { disableFocusTrap: true, disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$S.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
8717
+ return (hAsync("calcite-popover", { disableFocusTrap: true, disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$T.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
8690
8718
  }
8691
8719
  render() {
8692
8720
  return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
@@ -8722,7 +8750,7 @@ class ActionMenu {
8722
8750
  }; }
8723
8751
  }
8724
8752
 
8725
- const CSS$Q = {
8753
+ const CSS$R = {
8726
8754
  actionGroupBottom: "action-group--bottom",
8727
8755
  container: "container"
8728
8756
  };
@@ -8836,10 +8864,10 @@ class ActionPad {
8836
8864
  const expandLabel = intlExpand || TEXT$r.expand;
8837
8865
  const collapseLabel = intlCollapse || TEXT$r.collapse;
8838
8866
  const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
8839
- return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$Q.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
8867
+ return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$R.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
8840
8868
  }
8841
8869
  render() {
8842
- return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$Q.container }, hAsync("slot", null), this.renderBottomActionGroup())));
8870
+ return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$R.container }, hAsync("slot", null), this.renderBottomActionGroup())));
8843
8871
  }
8844
8872
  get el() { return getElement(this); }
8845
8873
  static get watchers() { return {
@@ -8874,10 +8902,15 @@ const DURATIONS = {
8874
8902
  fast: 6000
8875
8903
  };
8876
8904
  const SLOTS$o = {
8905
+ actionsEnd: "actions-end",
8877
8906
  title: "title",
8878
8907
  message: "message",
8879
8908
  link: "link"
8880
8909
  };
8910
+ const CSS$Q = {
8911
+ actionsEnd: "actions-end",
8912
+ container: "container"
8913
+ };
8881
8914
 
8882
8915
  var StatusIcons;
8883
8916
  (function (StatusIcons) {
@@ -9293,7 +9326,7 @@ class NumberStringFormat {
9293
9326
  }
9294
9327
  const numberStringFormatter = new NumberStringFormat();
9295
9328
 
9296
- const alertCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-alert:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-alert{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-alert{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-alert{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-alert{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-alert{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-alert:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-alert:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-alert-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-alert-h{--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}/*!@:host([scale=s]) slot[name=title]::slotted(*),\n:host([scale=s]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=s] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=s]) slot[name=message]::slotted(*),\n:host([scale=s]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=s] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) slot[name=link]::slotted(*),\n:host([scale=s]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=s] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) .alert-queue-count*/[scale=s].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.5rem}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:3.5rem}/*!@:host([scale=s]) .alert-close*/[scale=s].sc-calcite-alert-h .alert-close.sc-calcite-alert{padding:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-alert-h{--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}/*!@:host([scale=m]) slot[name=title]::slotted(*),\n:host([scale=m]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=m] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=m]) slot[name=message]::slotted(*),\n:host([scale=m]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=m] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) slot[name=link]::slotted(*),\n:host([scale=m]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=m] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) .alert-queue-count*/[scale=m].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.75rem}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:4.1875rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-alert-h{--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}/*!@:host([scale=l]) slot[name=title]::slotted(*),\n:host([scale=l]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=l] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=title]{margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}/*!@:host([scale=l]) slot[name=message]::slotted(*),\n:host([scale=l]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=l] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) slot[name=link]::slotted(*),\n:host([scale=l]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=l] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) .alert-queue-count*/[scale=l].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:5.625rem}/*!@:host*/.sc-calcite-alert-h{--calcite-alert-edge-distance:2rem;display:block}/*!@:host .container*/.sc-calcite-alert-h .container.sc-calcite-alert{pointer-events:none;position:fixed;z-index:500;margin-block:0px;margin-inline:auto;display:flex;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@:host .container.bottom, :host .container.top*/.sc-calcite-alert-h .container.bottom.sc-calcite-alert,.sc-calcite-alert-h .container.top.sc-calcite-alert{inset-inline-end:0;inset-inline-start:0}/*!@:host .container[class*=bottom]*/.sc-calcite-alert-h .container[class*=bottom].sc-calcite-alert{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=top]*/.sc-calcite-alert-h .container[class*=top].sc-calcite-alert{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=-start]*/.sc-calcite-alert-h .container[class*=-start].sc-calcite-alert{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}/*!@:host .container[class*=-end]*/.sc-calcite-alert-h .container[class*=-end].sc-calcite-alert{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-alert-h{visibility:hidden !important;pointer-events:none}/*!@.container*/.container.sc-calcite-alert{display:flex;inline-size:100%;align-items:center;justify-content:center}/*!@.alert-close*/.alert-close.sc-calcite-alert{outline-color:transparent}/*!@.alert-close:focus*/.alert-close.sc-calcite-alert:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([open]) .container:not(.queued)*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}/*!@:host([open]) .container:not(.queued)[class*=bottom]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}/*!@:host([open]) .container:not(.queued)[class*=top]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}/*!@slot[name=title]::slotted(*),\n*::slotted([slot=title])*/slot[name=title].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@slot[name=message]::slotted(*),\n*::slotted([slot=message])*/slot[name=message].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=message]{margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:0.5rem}/*!@slot[name=link]::slotted(*),\n*::slotted([slot=link])*/slot[name=link].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=link]{display:inline-flex;color:var(--calcite-ui-text-link)}/*!@.alert-content*/.alert-content.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);flex:1 1 auto;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}/*!@.alert-content:first-of-type:not(:only-child)*/.alert-content.sc-calcite-alert:first-of-type:not(:only-child){padding-inline-start:var(--calcite-alert-spacing-token-large)}/*!@.alert-content:only-child*/.alert-content.sc-calcite-alert:only-child{padding:var(--calcite-alert-spacing-token-small)}/*!@.alert-icon*/.alert-icon.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;align-items:center;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}/*!@.alert-close*/.alert-close.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;cursor:pointer;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}/*!@.alert-close:hover, .alert-close:focus*/.alert-close.sc-calcite-alert:hover,.alert-close.sc-calcite-alert:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.alert-close:open*/.alert-close.sc-calcite-alert:open{background-color:var(--calcite-ui-foreground-3)}/*!@.alert-queue-count*/.alert-queue-count.sc-calcite-alert{visibility:hidden;display:flex;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}/*!@.alert-queue-count.active*/.alert-queue-count.active.sc-calcite-alert{visibility:visible;opacity:1}/*!@:host([auto-dismiss]) > .alert-queue-count*/[auto-dismiss].sc-calcite-alert-h>.alert-queue-count.sc-calcite-alert{border-inline-end:0px solid transparent}/*!@.alert-dismiss-progress*/.alert-dismiss-progress.sc-calcite-alert{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@.alert-dismiss-progress:after*/.alert-dismiss-progress.sc-calcite-alert:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}/*!@:host([color=blue]) .container*/[color=blue].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-info)}/*!@:host([color=blue]) .container .alert-icon*/[color=blue].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-info)}/*!@:host([color=red]) .container*/[color=red].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-danger)}/*!@:host([color=red]) .container .alert-icon*/[color=red].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-danger)}/*!@:host([color=yellow]) .container*/[color=yellow].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-warning)}/*!@:host([color=yellow]) .container .alert-icon*/[color=yellow].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-warning)}/*!@:host([color=green]) .container*/[color=green].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-success)}/*!@:host([color=green]) .container .alert-icon*/[color=green].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-success)}/*!@:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after*/[auto-dismiss-duration=fast].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 6000ms ease-out}/*!@:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after*/[auto-dismiss-duration=medium].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 10000ms ease-out}/*!@:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after*/[auto-dismiss-duration=slow].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 14000ms ease-out}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}";
9329
+ const alertCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-alert:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-alert{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-alert{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-alert{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-alert{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-alert{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-alert:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-alert:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-alert-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-alert-h{--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}/*!@:host([scale=s]) slot[name=title]::slotted(*),\n:host([scale=s]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=s] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=s]) slot[name=message]::slotted(*),\n:host([scale=s]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=s] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) slot[name=link]::slotted(*),\n:host([scale=s]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=s] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) .alert-queue-count*/[scale=s].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.5rem}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:3.5rem}/*!@:host([scale=s]) .alert-close*/[scale=s].sc-calcite-alert-h .alert-close.sc-calcite-alert{padding:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-alert-h{--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}/*!@:host([scale=m]) slot[name=title]::slotted(*),\n:host([scale=m]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=m] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=m]) slot[name=message]::slotted(*),\n:host([scale=m]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=m] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) slot[name=link]::slotted(*),\n:host([scale=m]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=m] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) .alert-queue-count*/[scale=m].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.75rem}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:4.1875rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-alert-h{--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}/*!@:host([scale=l]) slot[name=title]::slotted(*),\n:host([scale=l]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=l] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=title]{margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}/*!@:host([scale=l]) slot[name=message]::slotted(*),\n:host([scale=l]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=l] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) slot[name=link]::slotted(*),\n:host([scale=l]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=l] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) .alert-queue-count*/[scale=l].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:5.625rem}/*!@:host*/.sc-calcite-alert-h{--calcite-alert-edge-distance:2rem;display:block}/*!@:host .container*/.sc-calcite-alert-h .container.sc-calcite-alert{pointer-events:none;position:fixed;z-index:500;margin-block:0px;margin-inline:auto;display:flex;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@:host .container.bottom, :host .container.top*/.sc-calcite-alert-h .container.bottom.sc-calcite-alert,.sc-calcite-alert-h .container.top.sc-calcite-alert{inset-inline-end:0;inset-inline-start:0}/*!@:host .container[class*=bottom]*/.sc-calcite-alert-h .container[class*=bottom].sc-calcite-alert{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=top]*/.sc-calcite-alert-h .container[class*=top].sc-calcite-alert{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=-start]*/.sc-calcite-alert-h .container[class*=-start].sc-calcite-alert{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}/*!@:host .container[class*=-end]*/.sc-calcite-alert-h .container[class*=-end].sc-calcite-alert{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-alert-h{visibility:hidden !important;pointer-events:none}/*!@[hidden]*/[hidden].sc-calcite-alert{display:none}/*!@.container*/.container.sc-calcite-alert{display:flex;inline-size:100%;align-items:center;justify-content:center}/*!@.alert-close*/.alert-close.sc-calcite-alert{outline-color:transparent}/*!@.alert-close:focus*/.alert-close.sc-calcite-alert:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([open]) .container:not(.queued)*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}/*!@:host([open]) .container:not(.queued)[class*=bottom]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}/*!@:host([open]) .container:not(.queued)[class*=top]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}/*!@slot[name=title]::slotted(*),\n*::slotted([slot=title])*/slot[name=title].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@slot[name=message]::slotted(*),\n*::slotted([slot=message])*/slot[name=message].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=message]{margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:0.5rem}/*!@slot[name=link]::slotted(*),\n*::slotted([slot=link])*/slot[name=link].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=link]{display:inline-flex;color:var(--calcite-ui-text-link)}/*!@.alert-content*/.alert-content.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);flex:1 1 auto;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}/*!@.alert-content:first-of-type:not(:only-child)*/.alert-content.sc-calcite-alert:first-of-type:not(:only-child){padding-inline-start:var(--calcite-alert-spacing-token-large)}/*!@.alert-content:only-child*/.alert-content.sc-calcite-alert:only-child{padding:var(--calcite-alert-spacing-token-small)}/*!@.alert-icon*/.alert-icon.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;align-items:center;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}/*!@.alert-close*/.alert-close.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;cursor:pointer;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}/*!@.alert-close:hover, .alert-close:focus*/.alert-close.sc-calcite-alert:hover,.alert-close.sc-calcite-alert:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.alert-close:open*/.alert-close.sc-calcite-alert:open{background-color:var(--calcite-ui-foreground-3)}/*!@.alert-queue-count*/.alert-queue-count.sc-calcite-alert{visibility:hidden;display:flex;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}/*!@.alert-queue-count.active*/.alert-queue-count.active.sc-calcite-alert{visibility:visible;opacity:1}/*!@:host([auto-dismiss]) > .alert-queue-count*/[auto-dismiss].sc-calcite-alert-h>.alert-queue-count.sc-calcite-alert{border-inline-end:0px solid transparent}/*!@.alert-dismiss-progress*/.alert-dismiss-progress.sc-calcite-alert{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@.alert-dismiss-progress:after*/.alert-dismiss-progress.sc-calcite-alert:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}/*!@.actions-end*/.actions-end.sc-calcite-alert{display:flex;align-self:stretch}/*!@:host([color=blue]) .container*/[color=blue].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-info)}/*!@:host([color=blue]) .container .alert-icon*/[color=blue].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-info)}/*!@:host([color=red]) .container*/[color=red].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-danger)}/*!@:host([color=red]) .container .alert-icon*/[color=red].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-danger)}/*!@:host([color=yellow]) .container*/[color=yellow].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-warning)}/*!@:host([color=yellow]) .container .alert-icon*/[color=yellow].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-warning)}/*!@:host([color=green]) .container*/[color=green].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-success)}/*!@:host([color=green]) .container .alert-icon*/[color=green].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-success)}/*!@:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after*/[auto-dismiss-duration=fast].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 6000ms ease-out}/*!@:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after*/[auto-dismiss-duration=medium].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 10000ms ease-out}/*!@:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after*/[auto-dismiss-duration=slow].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 14000ms ease-out}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}";
9297
9330
 
9298
9331
  /**
9299
9332
  * Alerts are meant to provide a way to communicate urgent or important information to users, frequently as a result of an action they took in your app. Alerts are positioned
@@ -9303,6 +9336,7 @@ const alertCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{
9303
9336
  * @slot title - A slot for optionally adding a title to the component.
9304
9337
  * @slot message - A slot for adding main text to the component.
9305
9338
  * @slot link - A slot for optionally adding an action to take from the alert (undo, try again, link to page, etc.)
9339
+ * @slot actions-end - A slot for adding actions to the end of the component. It is recommended to use two or fewer actions.
9306
9340
  */
9307
9341
  class Alert {
9308
9342
  constructor(hostRef) {
@@ -9348,6 +9382,7 @@ class Alert {
9348
9382
  //
9349
9383
  //--------------------------------------------------------------------------
9350
9384
  this.effectiveLocale = "";
9385
+ this.hasEndActions = false;
9351
9386
  /** the list of queued alerts */
9352
9387
  this.queue = [];
9353
9388
  /** the count of queued alerts */
@@ -9375,6 +9410,9 @@ class Alert {
9375
9410
  this.determineActiveAlert();
9376
9411
  this.calciteInternalAlertSync.emit({ queue: this.queue });
9377
9412
  };
9413
+ this.actionsEndSlotChangeHandler = (event) => {
9414
+ this.hasEndActions = slotChangeHasAssignedElement(event);
9415
+ };
9378
9416
  }
9379
9417
  activeHandler(value) {
9380
9418
  this.open = value;
@@ -9427,6 +9465,7 @@ class Alert {
9427
9465
  disconnectLocalized(this);
9428
9466
  }
9429
9467
  render() {
9468
+ const { hasEndActions } = this;
9430
9469
  const closeButton = (hAsync("button", { "aria-label": this.intlClose, class: "alert-close", onClick: this.closeAlert, ref: (el) => (this.closeButton = el), type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
9431
9470
  numberStringFormatter.numberFormatOptions = {
9432
9471
  locale: this.effectiveLocale,
@@ -9439,11 +9478,12 @@ class Alert {
9439
9478
  const { active, autoDismiss, label, placement, queued, requestedIcon } = this;
9440
9479
  const role = autoDismiss ? "alert" : "alertdialog";
9441
9480
  const hidden = !active;
9481
+ const slotNode = (hAsync("slot", { key: "actionsEndSlot", name: SLOTS$o.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler }));
9442
9482
  return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, hAsync("div", { class: {
9443
9483
  container: true,
9444
9484
  queued,
9445
9485
  [placement]: true
9446
- }, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.message }), hAsync("slot", { name: SLOTS$o.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
9486
+ }, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.message }), hAsync("slot", { name: SLOTS$o.link })), hAsync("div", { class: CSS$Q.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
9447
9487
  }
9448
9488
  // when an alert is opened or closed, update queue and determine active alert
9449
9489
  alertSync(event) {
@@ -9538,6 +9578,7 @@ class Alert {
9538
9578
  "placement": [513],
9539
9579
  "scale": [513],
9540
9580
  "effectiveLocale": [32],
9581
+ "hasEndActions": [32],
9541
9582
  "queue": [32],
9542
9583
  "queueLength": [32],
9543
9584
  "queued": [32],
@@ -9839,7 +9880,7 @@ const SLOTS$n = {
9839
9880
  control: "control",
9840
9881
  headerMenuActions: "header-menu-actions"
9841
9882
  };
9842
- const ICONS$d = {
9883
+ const ICONS$e = {
9843
9884
  opened: "chevron-up",
9844
9885
  closed: "chevron-down",
9845
9886
  valid: "check-circle",
@@ -9966,7 +10007,7 @@ class Block {
9966
10007
  renderIcon() {
9967
10008
  const { el, status } = this;
9968
10009
  const showingLoadingStatus = this.loading && !this.open;
9969
- const statusIcon = showingLoadingStatus ? ICONS$d.refresh : ICONS$d[status];
10010
+ const statusIcon = showingLoadingStatus ? ICONS$e.refresh : ICONS$e[status];
9970
10011
  const hasIcon = getSlotted(el, SLOTS$n.icon) || statusIcon;
9971
10012
  const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$n.icon })) : (hAsync("calcite-icon", { class: {
9972
10013
  [CSS$P.statusIcon]: true,
@@ -9986,7 +10027,7 @@ class Block {
9986
10027
  const headerContent = (hAsync("header", { class: CSS$P.header }, this.renderIcon(), this.renderTitle()));
9987
10028
  const hasControl = !!getSlotted(el, SLOTS$n.control);
9988
10029
  const hasMenuActions = !!getSlotted(el, SLOTS$n.headerMenuActions);
9989
- const collapseIcon = open ? ICONS$d.opened : ICONS$d.closed;
10030
+ const collapseIcon = open ? ICONS$e.opened : ICONS$e.closed;
9990
10031
  const { guid } = this;
9991
10032
  const regionId = `${guid}-region`;
9992
10033
  const buttonId = `${guid}-button`;
@@ -10042,7 +10083,7 @@ const TEXT$o = {
10042
10083
  collapse: "Collapse",
10043
10084
  expand: "Expand"
10044
10085
  };
10045
- const ICONS$c = {
10086
+ const ICONS$d = {
10046
10087
  menuOpen: "chevron-down",
10047
10088
  menuClosedLeft: "chevron-left",
10048
10089
  menuClosedRight: "chevron-right",
@@ -10097,7 +10138,7 @@ class BlockSection {
10097
10138
  renderStatusIcon() {
10098
10139
  var _a;
10099
10140
  const { status } = this;
10100
- const statusIcon = (_a = ICONS$c[status]) !== null && _a !== void 0 ? _a : false;
10141
+ const statusIcon = (_a = ICONS$d[status]) !== null && _a !== void 0 ? _a : false;
10101
10142
  const statusIconClasses = {
10102
10143
  [CSS$O.statusIcon]: true,
10103
10144
  [CSS$O.valid]: status == "valid",
@@ -10109,10 +10150,10 @@ class BlockSection {
10109
10150
  const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
10110
10151
  const dir = getElementDir(el);
10111
10152
  const arrowIcon = open
10112
- ? ICONS$c.menuOpen
10153
+ ? ICONS$d.menuOpen
10113
10154
  : dir === "rtl"
10114
- ? ICONS$c.menuClosedLeft
10115
- : ICONS$c.menuClosedRight;
10155
+ ? ICONS$d.menuClosedLeft
10156
+ : ICONS$d.menuClosedRight;
10116
10157
  const toggleLabel = open ? intlCollapse || TEXT$o.collapse : intlExpand || TEXT$o.expand;
10117
10158
  const { guid } = this;
10118
10159
  const regionId = `${guid}-region`;
@@ -11030,7 +11071,7 @@ const TEXT$l = {
11030
11071
  const SLOTS$l = {
11031
11072
  image: "image"
11032
11073
  };
11033
- const ICONS$b = {
11074
+ const ICONS$c = {
11034
11075
  close: "x"
11035
11076
  };
11036
11077
 
@@ -11137,7 +11178,7 @@ class Chip {
11137
11178
  }
11138
11179
  render() {
11139
11180
  const iconEl = (hAsync("calcite-icon", { class: CSS$L.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
11140
- const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$L.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$L.closeIcon, icon: ICONS$b.close, scale: "s" })));
11181
+ const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$L.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$L.closeIcon, icon: ICONS$c.close, scale: "s" })));
11141
11182
  return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$L.title, id: this.guid }, hAsync("slot", null)), this.closable ? closeButton : null));
11142
11183
  }
11143
11184
  get el() { return getElement(this); }
@@ -16282,7 +16323,7 @@ function hasActiveChildren(node) {
16282
16323
  const items = nodeListToArray(node.querySelectorAll("calcite-combobox-item"));
16283
16324
  return items.filter((item) => item.selected).length > 0;
16284
16325
  }
16285
- function getDepth(element) {
16326
+ function getDepth$1(element) {
16286
16327
  {
16287
16328
  return 0;
16288
16329
  }
@@ -17290,7 +17331,7 @@ class ComboboxItem {
17290
17331
  [CSS$H.active]: this.active,
17291
17332
  [CSS$H.single]: isSingleSelect
17292
17333
  };
17293
- const depth = getDepth();
17334
+ const depth = getDepth$1();
17294
17335
  return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$H.title }, this.textLabel)), this.renderChildren())));
17295
17336
  }
17296
17337
  get el() { return getElement(this); }
@@ -17353,7 +17394,7 @@ class ComboboxItemGroup {
17353
17394
  // --------------------------------------------------------------------------
17354
17395
  render() {
17355
17396
  const { el, scale } = this;
17356
- const indent = `${CSS$G.label}--indent-${getDepth()}`;
17397
+ const indent = `${CSS$G.label}--indent-${getDepth$1()}`;
17357
17398
  return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$G.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$G.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$G.title }, this.label)), hAsync("slot", null)));
17358
17399
  }
17359
17400
  get el() { return getElement(this); }
@@ -19451,7 +19492,7 @@ class DropdownItem {
19451
19492
  const CSS$D = {
19452
19493
  button: "button"
19453
19494
  };
19454
- const ICONS$a = {
19495
+ const ICONS$b = {
19455
19496
  plus: "plus"
19456
19497
  };
19457
19498
 
@@ -19482,7 +19523,7 @@ class Fab {
19482
19523
  *
19483
19524
  * @default "plus"
19484
19525
  */
19485
- this.icon = ICONS$a.plus;
19526
+ this.icon = ICONS$b.plus;
19486
19527
  /**
19487
19528
  * When true, content is waiting to be loaded. This state shows a busy indicator.
19488
19529
  */
@@ -19563,7 +19604,7 @@ const TEXT$h = {
19563
19604
  filterLabel: "Filter",
19564
19605
  clear: "Clear filter"
19565
19606
  };
19566
- const ICONS$9 = {
19607
+ const ICONS$a = {
19567
19608
  search: "search",
19568
19609
  close: "x"
19569
19610
  };
@@ -19674,7 +19715,7 @@ class Filter {
19674
19715
  // --------------------------------------------------------------------------
19675
19716
  render() {
19676
19717
  const { disabled, scale } = this;
19677
- return (hAsync(Fragment, null, hAsync("div", { class: CSS$C.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.intlLabel || TEXT$h.filterLabel, clearable: true, disabled: disabled, icon: ICONS$9.search, intlClear: this.intlClear || TEXT$h.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
19718
+ return (hAsync(Fragment, null, hAsync("div", { class: CSS$C.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.intlLabel || TEXT$h.filterLabel, clearable: true, disabled: disabled, icon: ICONS$a.search, intlClear: this.intlClear || TEXT$h.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
19678
19719
  this.textInput = el;
19679
19720
  }, scale: scale, type: "text", value: this.value })))));
19680
19721
  }
@@ -19832,7 +19873,7 @@ class Flow {
19832
19873
  const CSS$A = {
19833
19874
  backButton: "back-button"
19834
19875
  };
19835
- const ICONS$8 = {
19876
+ const ICONS$9 = {
19836
19877
  backLeft: "chevron-left",
19837
19878
  backRight: "chevron-right"
19838
19879
  };
@@ -19866,7 +19907,7 @@ const CSS$z = {
19866
19907
  fabContainer: "fab-container",
19867
19908
  footer: "footer"
19868
19909
  };
19869
- const ICONS$7 = {
19910
+ const ICONS$8 = {
19870
19911
  close: "x",
19871
19912
  menu: "ellipsis",
19872
19913
  backLeft: "chevron-left",
@@ -20015,7 +20056,7 @@ class FlowItem {
20015
20056
  const rtl = getElementDir(el) === "rtl";
20016
20057
  const { showBackButton, backButtonClick } = this;
20017
20058
  const label = this.getBackLabel();
20018
- const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
20059
+ const icon = rtl ? ICONS$9.backRight : ICONS$9.backLeft;
20019
20060
  return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$A.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: "header-actions-start", text: label })) : null;
20020
20061
  }
20021
20062
  render() {
@@ -20289,7 +20330,7 @@ const CSS$y = {
20289
20330
  handle: "handle",
20290
20331
  handleActivated: "handle--activated"
20291
20332
  };
20292
- const ICONS$6 = {
20333
+ const ICONS$7 = {
20293
20334
  drag: "drag"
20294
20335
  };
20295
20336
 
@@ -20370,7 +20411,7 @@ class Handle {
20370
20411
  // Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
20371
20412
  hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$y.handle]: true, [CSS$y.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
20372
20413
  this.handleButton = el;
20373
- }, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$6.drag, scale: "s" })));
20414
+ }, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$7.drag, scale: "s" })));
20374
20415
  }
20375
20416
  get el() { return getElement(this); }
20376
20417
  static get style() { return handleCss; }
@@ -23907,11 +23948,75 @@ class Link {
23907
23948
  }
23908
23949
 
23909
23950
  const CSS$q = {
23910
- container: "container"
23951
+ container: "container",
23952
+ table: "table",
23953
+ scrim: "scrim",
23954
+ tableContainer: "table-container",
23955
+ sticky: "sticky-pos"
23956
+ };
23957
+ const debounceTimeout = 100;
23958
+
23959
+ const listItemGroupSelector = "calcite-list-item-group";
23960
+ const listItemSelector$1 = "calcite-list-item";
23961
+ function getListItemChildren(event) {
23962
+ const assignedElements = event.target.assignedElements({ flatten: true });
23963
+ const listItemGroupChildren = assignedElements.filter((el) => el === null || el === void 0 ? void 0 : el.matches(listItemGroupSelector))
23964
+ .map((group) => Array.from(group.querySelectorAll(listItemSelector$1)))
23965
+ .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
23966
+ const listItemChildren = assignedElements.filter((el) => el === null || el === void 0 ? void 0 : el.matches(listItemSelector$1));
23967
+ return [...listItemGroupChildren, ...listItemChildren];
23968
+ }
23969
+ function updateListItemChildren(listItemChildren) {
23970
+ listItemChildren.forEach((listItem) => {
23971
+ listItem.setPosition = listItemChildren.indexOf(listItem) + 1;
23972
+ listItem.setSize = listItemChildren.length;
23973
+ });
23974
+ }
23975
+ function getDepth(element, includeGroup = false) {
23976
+ {
23977
+ return 0;
23978
+ }
23979
+ }
23980
+
23981
+ const CSS$p = {
23982
+ container: "container",
23983
+ containerBorderSelected: "container--border-selected",
23984
+ containerBorderUnselected: "container--border-unselected",
23985
+ contentContainer: "content-container",
23986
+ contentContainerSelectable: "content-container--selectable",
23987
+ contentContainerHasCenterContent: "content-container--has-center-content",
23988
+ nestedContainer: "nested-container",
23989
+ nestedContainerHidden: "nested-container--hidden",
23990
+ content: "content",
23991
+ actionsStart: "actions-start",
23992
+ contentStart: "content-start",
23993
+ label: "label",
23994
+ description: "description",
23995
+ contentEnd: "content-end",
23996
+ actionsEnd: "actions-end",
23997
+ selectionContainer: "selection-container",
23998
+ openContainer: "open-container"
23999
+ };
24000
+ const SLOTS$e = {
24001
+ actionsStart: "actions-start",
24002
+ contentStart: "content-start",
24003
+ contentEnd: "content-end",
24004
+ actionsEnd: "actions-end"
24005
+ };
24006
+ const MAX_COLUMNS = 5;
24007
+ const ICONS$6 = {
24008
+ selectedMultiple: "check-circle-f",
24009
+ selectedSingle: "circle-f",
24010
+ unselected: "blank",
24011
+ closedLTR: "caret-right",
24012
+ closedRTL: "caret-left",
24013
+ open: "caret-down",
24014
+ blank: "blank"
23911
24015
  };
23912
24016
 
23913
- const listCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-list:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-list{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-list:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-list-h{display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-h[disabled] .sc-calcite-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-h [calcite-hydrated][disabled].sc-calcite-list{opacity:1}/*!@.container*/.container.sc-calcite-list{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}/*!@.container **/.container.sc-calcite-list *.sc-calcite-list{box-sizing:border-box}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-s>calcite-list-item{margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@::slotted(calcite-list-item:last-child)*/.sc-calcite-list-s>calcite-list-item:last-child{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";
24017
+ const listCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-list:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-list{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-list:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-list-h{display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-h[disabled] .sc-calcite-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-h [calcite-hydrated][disabled].sc-calcite-list{opacity:1}/*!@.container*/.container.sc-calcite-list{position:relative}/*!@.table-container*/.table-container.sc-calcite-list{position:relative;z-index:1;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}/*!@.table-container **/.table-container.sc-calcite-list *.sc-calcite-list{box-sizing:border-box}/*!@.table*/.table.sc-calcite-list{inline-size:100%}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-s>calcite-list-item{margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@::slotted(calcite-list-item:last-child)*/.sc-calcite-list-s>calcite-list-item:last-child{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.sticky-pos*/.sticky-pos.sc-calcite-list{position:sticky;inset-block-start:0px;z-index:300}/*!@calcite-filter*/calcite-filter.sc-calcite-list{margin-block-end:1px}";
23914
24018
 
24019
+ const listItemSelector = "calcite-list-item";
23915
24020
  /**
23916
24021
  * A general purpose list that enables users to construct list items that conform to Calcite styling.
23917
24022
  *
@@ -23920,6 +24025,7 @@ const listCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0
23920
24025
  class List$1 {
23921
24026
  constructor(hostRef) {
23922
24027
  registerInstance(this, hostRef);
24028
+ this.calciteListFilter = createEvent(this, "calciteListFilter", 6);
23923
24029
  // --------------------------------------------------------------------------
23924
24030
  //
23925
24031
  // Properties
@@ -23929,21 +24035,240 @@ class List$1 {
23929
24035
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
23930
24036
  */
23931
24037
  this.disabled = false;
24038
+ /**
24039
+ * When true, an input appears at the top of the list that can be used by end users to filter items in the list.
24040
+ */
24041
+ this.filterEnabled = false;
24042
+ /**
24043
+ * **read-only** The currently filtered items
24044
+ *
24045
+ * @readonly
24046
+ */
24047
+ this.filteredItems = [];
24048
+ /**
24049
+ * **read-only** The currently filtered items
24050
+ *
24051
+ * @readonly
24052
+ */
24053
+ this.filteredData = [];
24054
+ /**
24055
+ * When true, content is waiting to be loaded. This state shows a busy indicator.
24056
+ */
24057
+ this.loading = false;
24058
+ /**
24059
+ * One of the items within the list can be opened.
24060
+ *
24061
+ * @internal
24062
+ */
24063
+ this.openable = false;
24064
+ /**
24065
+ * **read-only** The currently selected items
24066
+ *
24067
+ * @readonly
24068
+ */
24069
+ this.selectedItems = [];
24070
+ /**
24071
+ * specify the selection mode - multiple (allow any number of (or no) selected items), single (allow and require one selected item), none (no selected items), defaults to single
24072
+ */
24073
+ this.selectionMode = "none";
24074
+ /**
24075
+ * specify the selection appearance - icon (displays a checkmark or dot), border (displays a border), defaults to icon
24076
+ */
24077
+ this.selectionAppearance = "icon";
24078
+ this.listItems = [];
24079
+ this.enabledListItems = [];
24080
+ this.mutationObserver = createObserver();
24081
+ this.dataForFilter = [];
24082
+ // --------------------------------------------------------------------------
24083
+ //
24084
+ // Private Methods
24085
+ //
24086
+ // --------------------------------------------------------------------------
24087
+ this.handleDefaultSlotChange = (event) => {
24088
+ updateListItemChildren(getListItemChildren(event));
24089
+ };
24090
+ this.setActiveListItem = () => {
24091
+ const { enabledListItems } = this;
24092
+ if (!enabledListItems.some((item) => item.active)) {
24093
+ if (enabledListItems[0]) {
24094
+ enabledListItems[0].active = true;
24095
+ }
24096
+ }
24097
+ };
24098
+ this.updateSelectedItems = debounce(() => {
24099
+ this.selectedItems = this.enabledListItems.filter((item) => item.selected);
24100
+ }, debounceTimeout);
24101
+ this.updateFilteredItems = debounce(() => {
24102
+ const { listItems, filteredData, filterText } = this;
24103
+ const values = filteredData.map((item) => item.value);
24104
+ const groups = new Set();
24105
+ const filteredItems = (listItems === null || listItems === void 0 ? void 0 : listItems.filter((item) => {
24106
+ const parent = item.parentElement;
24107
+ const grouped = parent.matches("calcite-list-item-group");
24108
+ if (grouped) {
24109
+ groups.add(parent);
24110
+ }
24111
+ const matches = filterText ? values.includes(item.value) : true;
24112
+ item.hidden = !matches;
24113
+ return matches;
24114
+ })) || [];
24115
+ this.filteredItems = filteredItems;
24116
+ groups.forEach((group) => {
24117
+ const hasAtLeastOneMatch = filteredItems.some((item) => group.contains(item));
24118
+ group.hidden = !hasAtLeastOneMatch;
24119
+ if (!hasAtLeastOneMatch) {
24120
+ return;
24121
+ }
24122
+ const parentItem = group.closest("calcite-list-item");
24123
+ if (parentItem) {
24124
+ parentItem.hidden = false;
24125
+ if (filteredItems.includes(parentItem)) {
24126
+ Array.from(group.querySelectorAll("calcite-list-item")).forEach((child) => (child.hidden = false));
24127
+ }
24128
+ }
24129
+ });
24130
+ groups.clear();
24131
+ });
24132
+ this.handleFilter = (event) => {
24133
+ event.stopPropagation();
24134
+ const { filteredItems, value } = event.currentTarget;
24135
+ this.filteredData = filteredItems;
24136
+ this.filterText = value;
24137
+ this.updateFilteredItems();
24138
+ this.calciteListFilter.emit();
24139
+ };
24140
+ this.getItemData = () => {
24141
+ return this.listItems.map((item) => ({
24142
+ label: item.label,
24143
+ description: item.description,
24144
+ metadata: item.metadata,
24145
+ value: item.value
24146
+ }));
24147
+ };
24148
+ this.updateListItems = debounce(() => {
24149
+ const { selectionAppearance, selectionMode } = this;
24150
+ const items = this.queryListItems();
24151
+ items.forEach((item) => {
24152
+ item.selectionAppearance = selectionAppearance;
24153
+ item.selectionMode = selectionMode;
24154
+ });
24155
+ this.listItems = items;
24156
+ this.enabledListItems = items.filter((item) => !item.disabled);
24157
+ if (this.filterEnabled) {
24158
+ this.dataForFilter = this.getItemData();
24159
+ }
24160
+ this.setActiveListItem();
24161
+ this.updateSelectedItems();
24162
+ this.updateFilteredItems();
24163
+ }, debounceTimeout);
24164
+ this.queryListItems = () => {
24165
+ return Array.from(this.el.querySelectorAll(listItemSelector));
24166
+ };
24167
+ this.focusRow = (focusEl) => {
24168
+ const { enabledListItems } = this;
24169
+ if (!focusEl) {
24170
+ return;
24171
+ }
24172
+ enabledListItems.forEach((listItem) => (listItem.active = listItem === focusEl));
24173
+ focusEl.setFocus();
24174
+ };
24175
+ this.isNavigable = (listItem) => {
24176
+ var _a;
24177
+ const parentListItemEl = (_a = listItem.parentElement) === null || _a === void 0 ? void 0 : _a.closest(listItemSelector);
24178
+ if (!parentListItemEl) {
24179
+ return true;
24180
+ }
24181
+ return parentListItemEl.open && this.isNavigable(parentListItemEl);
24182
+ };
24183
+ this.handleListKeydown = (event) => {
24184
+ const { key } = event;
24185
+ const filteredItems = this.enabledListItems.filter((listItem) => this.isNavigable(listItem));
24186
+ const currentIndex = filteredItems.findIndex((listItem) => listItem.active);
24187
+ if (key === "ArrowDown") {
24188
+ event.preventDefault();
24189
+ const nextIndex = currentIndex + 1;
24190
+ if (filteredItems[nextIndex]) {
24191
+ this.focusRow(filteredItems[nextIndex]);
24192
+ }
24193
+ }
24194
+ else if (key === "ArrowUp") {
24195
+ event.preventDefault();
24196
+ const prevIndex = currentIndex - 1;
24197
+ if (filteredItems[prevIndex]) {
24198
+ this.focusRow(filteredItems[prevIndex]);
24199
+ }
24200
+ }
24201
+ else if (key === "Home") {
24202
+ event.preventDefault();
24203
+ const homeItem = filteredItems[0];
24204
+ if (homeItem) {
24205
+ this.focusRow(homeItem);
24206
+ }
24207
+ }
24208
+ else if (key === "End") {
24209
+ event.preventDefault();
24210
+ const endItem = filteredItems[filteredItems.length - 1];
24211
+ if (endItem) {
24212
+ this.focusRow(endItem);
24213
+ }
24214
+ }
24215
+ };
24216
+ }
24217
+ handleFilterEnabledChange() {
24218
+ this.updateListItems();
24219
+ }
24220
+ handleSelectionAppearanceChange() {
24221
+ this.updateListItems();
24222
+ }
24223
+ handleCalciteInternalFocusPreviousItem(event) {
24224
+ event.stopPropagation();
24225
+ const { enabledListItems } = this;
24226
+ const currentIndex = enabledListItems.findIndex((listItem) => listItem.active);
24227
+ const prevIndex = currentIndex - 1;
24228
+ if (enabledListItems[prevIndex]) {
24229
+ this.focusRow(enabledListItems[prevIndex]);
24230
+ }
24231
+ }
24232
+ handleCalciteListItemSelect(event) {
24233
+ const target = event.target;
24234
+ const { listItems, selectionMode } = this;
24235
+ listItems.forEach((listItem) => {
24236
+ listItem.active = listItem === target;
24237
+ if (selectionMode === "single") {
24238
+ listItem.selected = listItem === target;
24239
+ }
24240
+ });
24241
+ this.updateSelectedItems();
23932
24242
  }
23933
24243
  //--------------------------------------------------------------------------
23934
24244
  //
23935
24245
  // Lifecycle
23936
24246
  //
23937
24247
  //--------------------------------------------------------------------------
24248
+ connectedCallback() {
24249
+ var _a;
24250
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
24251
+ this.updateListItems();
24252
+ }
24253
+ disconnectedCallback() {
24254
+ var _a;
24255
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
24256
+ }
23938
24257
  componentWillLoad() {
23939
24258
  setUpLoadableComponent(this);
23940
24259
  }
23941
- componentDidLoad() {
23942
- setComponentLoaded(this);
23943
- }
23944
24260
  componentDidRender() {
23945
24261
  updateHostInteraction(this);
23946
24262
  }
24263
+ componentDidLoad() {
24264
+ setComponentLoaded(this);
24265
+ const { filterEl } = this;
24266
+ const filteredItems = filterEl === null || filterEl === void 0 ? void 0 : filterEl.filteredItems;
24267
+ if (filteredItems) {
24268
+ this.filteredData = filteredItems;
24269
+ }
24270
+ this.updateFilteredItems();
24271
+ }
23947
24272
  // --------------------------------------------------------------------------
23948
24273
  //
23949
24274
  // Public Methods
@@ -23951,9 +24276,9 @@ class List$1 {
23951
24276
  // --------------------------------------------------------------------------
23952
24277
  /** Sets focus on the component. */
23953
24278
  async setFocus() {
24279
+ var _a;
23954
24280
  await componentLoaded(this);
23955
- const firstListItem = this.el.querySelector(`calcite-list-item:not([non-interactive])`);
23956
- firstListItem === null || firstListItem === void 0 ? void 0 : firstListItem.setFocus();
24281
+ (_a = this.enabledListItems.find((listItem) => listItem.active)) === null || _a === void 0 ? void 0 : _a.setFocus();
23957
24282
  }
23958
24283
  // --------------------------------------------------------------------------
23959
24284
  //
@@ -23961,47 +24286,46 @@ class List$1 {
23961
24286
  //
23962
24287
  // --------------------------------------------------------------------------
23963
24288
  render() {
23964
- return (hAsync(Host, { role: "list" }, hAsync("div", { class: CSS$q.container }, hAsync("slot", null))));
24289
+ const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
24290
+ return (hAsync("div", { class: CSS$q.container }, loading ? hAsync("calcite-scrim", { class: CSS$q.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$q.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$q.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilter, placeholder: filterPlaceholder, ref: (el) => (this.filterEl = el), value: filterText }))))) : null, hAsync("tbody", { class: CSS$q.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
23965
24291
  }
23966
24292
  get el() { return getElement(this); }
24293
+ static get watchers() { return {
24294
+ "filterEnabled": ["handleFilterEnabledChange"],
24295
+ "selectionMode": ["handleSelectionAppearanceChange"],
24296
+ "selectionAppearance": ["handleSelectionAppearanceChange"]
24297
+ }; }
23967
24298
  static get style() { return listCss; }
23968
24299
  static get cmpMeta() { return {
23969
24300
  "$flags$": 9,
23970
24301
  "$tagName$": "calcite-list",
23971
24302
  "$members$": {
23972
24303
  "disabled": [516],
24304
+ "filterEnabled": [516, "filter-enabled"],
24305
+ "filteredItems": [1040],
24306
+ "filteredData": [1040],
24307
+ "filterPlaceholder": [513, "filter-placeholder"],
24308
+ "filterText": [1537, "filter-text"],
23973
24309
  "headingLevel": [514, "heading-level"],
24310
+ "label": [1],
24311
+ "loading": [516],
24312
+ "openable": [4],
24313
+ "selectedItems": [1040],
24314
+ "selectionMode": [513, "selection-mode"],
24315
+ "selectionAppearance": [513, "selection-appearance"],
24316
+ "dataForFilter": [32],
23974
24317
  "setFocus": [64]
23975
24318
  },
23976
- "$listeners$": undefined,
24319
+ "$listeners$": [[0, "calciteInternalFocusPreviousItem", "handleCalciteInternalFocusPreviousItem"], [0, "calciteInternalListItemSelect", "handleCalciteListItemSelect"]],
23977
24320
  "$lazyBundleId$": "-",
23978
- "$attrsToReflect$": [["disabled", "disabled"], ["headingLevel", "heading-level"]]
24321
+ "$attrsToReflect$": [["disabled", "disabled"], ["filterEnabled", "filter-enabled"], ["filterPlaceholder", "filter-placeholder"], ["filterText", "filter-text"], ["headingLevel", "heading-level"], ["loading", "loading"], ["selectionMode", "selection-mode"], ["selectionAppearance", "selection-appearance"]]
23979
24322
  }; }
23980
24323
  }
23981
24324
 
23982
- const CSS$p = {
23983
- container: "container",
23984
- contentContainer: "content-container",
23985
- nestedContainer: "nested-container",
23986
- contentContainerButton: "content-container--button",
23987
- content: "content",
23988
- actionsStart: "actions-start",
23989
- contentStart: "content-start",
23990
- label: "label",
23991
- description: "description",
23992
- contentEnd: "content-end",
23993
- actionsEnd: "actions-end",
23994
- hasCenterContent: "has-center-content"
23995
- };
23996
- const SLOTS$e = {
23997
- actionsStart: "actions-start",
23998
- contentStart: "content-start",
23999
- contentEnd: "content-end",
24000
- actionsEnd: "actions-end"
24001
- };
24002
-
24003
- const listItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-list-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-list-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list-item:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-list-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-list-item-h{display:flex;flex-direction:column}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-item-h[disabled] .sc-calcite-list-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-item-h [calcite-hydrated][disabled].sc-calcite-list-item{opacity:1}/*!@.container*/.container.sc-calcite-list-item{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}/*!@.container **/.container.sc-calcite-list-item *.sc-calcite-list-item{box-sizing:border-box}/*!@.nested-container*/.nested-container.sc-calcite-list-item{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}/*!@.content-container*/.content-container.sc-calcite-list-item{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-color:transparent}/*!@.content-container--button*/.content-container--button.sc-calcite-list-item{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}/*!@.content-container--button:hover*/.content-container--button.sc-calcite-list-item:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.content-container--button:hover .label,\n.content-container--button:hover .description*/.content-container--button.sc-calcite-list-item:hover .label.sc-calcite-list-item,.content-container--button.sc-calcite-list-item:hover .description.sc-calcite-list-item{color:var(--calcite-ui-text-1)}/*!@.content-container--button:focus*/.content-container--button.sc-calcite-list-item:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.content-container--button .content-start,\n.content-container--button .content-end*/.content-container--button.sc-calcite-list-item .content-start.sc-calcite-list-item,.content-container--button.sc-calcite-list-item .content-end.sc-calcite-list-item{pointer-events:none}/*!@.content*/.content.sc-calcite-list-item{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@.label,\n.description*/.label.sc-calcite-list-item,.description.sc-calcite-list-item{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}/*!@.label:only-child,\n.description:only-child*/.label.sc-calcite-list-item:only-child,.description.sc-calcite-list-item:only-child{margin:0px;padding-block:0.25rem}/*!@.label*/.label.sc-calcite-list-item{color:var(--calcite-ui-text-1)}/*!@.description*/.description.sc-calcite-list-item{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}/*!@.content-start*/.content-start.sc-calcite-list-item{justify-content:flex-start}/*!@.content-end*/.content-end.sc-calcite-list-item{justify-content:flex-end}/*!@.content-start,\n.content-end*/.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item{flex:1 1 auto}/*!@.has-center-content .content-start,\n.has-center-content .content-end*/.has-center-content.sc-calcite-list-item .content-start.sc-calcite-list-item,.has-center-content.sc-calcite-list-item .content-end.sc-calcite-list-item{flex:0 1 auto}/*!@.actions-start,\n.actions-end,\n.content-start,\n.content-end*/.actions-start.sc-calcite-list-item,.actions-end.sc-calcite-list-item,.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item{display:flex;align-items:center}/*!@.content-start ::slotted(calcite-icon),\n.content-end ::slotted(calcite-icon)*/.content-start .sc-calcite-list-item-s>calcite-icon,.content-end .sc-calcite-list-item-s>calcite-icon{margin-inline:0.75rem;align-self:center}/*!@.actions-start ::slotted(calcite-action),\n.actions-end ::slotted(calcite-action)*/.actions-start .sc-calcite-list-item-s>calcite-action,.actions-end .sc-calcite-list-item-s>calcite-action{align-self:stretch;color:inherit}/*!@::slotted(calcite-list-item-group),\n::slotted(calcite-list-item)*/.sc-calcite-list-item-s>calcite-list-item-group,.sc-calcite-list-item-s>calcite-list-item{padding-inline-start:0.5rem}";
24325
+ const listItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-list-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-list-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list-item:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-list-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-list-item-h{display:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-item-h[disabled] .sc-calcite-list-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-item-h [calcite-hydrated][disabled].sc-calcite-list-item{opacity:1}/*!@.container*/.container.sc-calcite-list-item{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}/*!@.container **/.container.sc-calcite-list-item *.sc-calcite-list-item{box-sizing:border-box}/*!@.container--border-selected*/.container--border-selected.sc-calcite-list-item{border-inline-start:4px solid var(--calcite-ui-brand)}/*!@.container--border-unselected*/.container--border-unselected.sc-calcite-list-item{border-inline-start:4px solid transparent}/*!@.nested-container*/.nested-container.sc-calcite-list-item{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}/*!@.nested-container--hidden*/.nested-container--hidden.sc-calcite-list-item{display:none}/*!@.content-container*/.content-container.sc-calcite-list-item{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}/*!@.content-container--selectable*/.content-container--selectable.sc-calcite-list-item{cursor:pointer}/*!@tr,\ntd*/tr.sc-calcite-list-item,td.sc-calcite-list-item{outline-color:transparent}/*!@tr:focus,\ntd:focus*/tr.sc-calcite-list-item:focus,td.sc-calcite-list-item:focus{z-index:300;outline:2px solid var(--calcite-ui-brand)}/*!@.content*/.content.sc-calcite-list-item{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@.label,\n.description*/.label.sc-calcite-list-item,.description.sc-calcite-list-item{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}/*!@.label:only-child,\n.description:only-child*/.label.sc-calcite-list-item:only-child,.description.sc-calcite-list-item:only-child{margin:0px;padding-block:0.25rem}/*!@.label*/.label.sc-calcite-list-item{color:var(--calcite-ui-text-1)}/*!@.description*/.description.sc-calcite-list-item{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}/*!@.content-start*/.content-start.sc-calcite-list-item{justify-content:flex-start}/*!@.content-end*/.content-end.sc-calcite-list-item{justify-content:flex-end}/*!@.content-start,\n.content-end*/.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item{flex:1 1 auto}/*!@.content-container--has-center-content .content-start,\n.content-container--has-center-content .content-end*/.content-container--has-center-content.sc-calcite-list-item .content-start.sc-calcite-list-item,.content-container--has-center-content.sc-calcite-list-item .content-end.sc-calcite-list-item{flex:0 1 auto}/*!@.selection-container*/.selection-container.sc-calcite-list-item{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}/*!@.actions-start,\n.actions-end,\n.content-start,\n.content-end,\n.selection-container,\n.open-container*/.actions-start.sc-calcite-list-item,.actions-end.sc-calcite-list-item,.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item,.selection-container.sc-calcite-list-item,.open-container.sc-calcite-list-item{display:flex;align-items:center}/*!@.open-container,\n.selection-container*/.open-container.sc-calcite-list-item,.selection-container.sc-calcite-list-item{cursor:pointer}/*!@.content-start ::slotted(calcite-icon),\n.content-end ::slotted(calcite-icon)*/.content-start .sc-calcite-list-item-s>calcite-icon,.content-end .sc-calcite-list-item-s>calcite-icon{margin-inline:0.75rem;align-self:center}/*!@.actions-start ::slotted(calcite-action),\n.actions-end ::slotted(calcite-action)*/.actions-start .sc-calcite-list-item-s>calcite-action,.actions-end .sc-calcite-list-item-s>calcite-action{align-self:stretch;color:inherit}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-item-s>calcite-list-item{border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@[hidden]*/[hidden].sc-calcite-list-item{display:none}";
24004
24326
 
24327
+ const focusMap = new Map();
24328
+ const listSelector = "calcite-list";
24005
24329
  /**
24006
24330
  * @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
24007
24331
  * @slot actions-start - A slot for adding actionable `calcite-action` elements before the content of the component.
@@ -24012,25 +24336,208 @@ const listItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-do
24012
24336
  class ListItem {
24013
24337
  constructor(hostRef) {
24014
24338
  registerInstance(this, hostRef);
24339
+ this.calciteListItemSelect = createEvent(this, "calciteListItemSelect", 6);
24340
+ this.calciteInternalListItemSelect = createEvent(this, "calciteInternalListItemSelect", 6);
24341
+ this.calciteInternalFocusPreviousItem = createEvent(this, "calciteInternalFocusPreviousItem", 6);
24015
24342
  // --------------------------------------------------------------------------
24016
24343
  //
24017
24344
  // Properties
24018
24345
  //
24019
24346
  // --------------------------------------------------------------------------
24020
24347
  /**
24021
- * When `true`, prevents the content of the component from user interaction.
24348
+ * Sets the item as focusable. Only one item should be focusable within a list.
24349
+ *
24350
+ * @internal
24022
24351
  */
24023
- this.nonInteractive = false;
24352
+ this.active = false;
24024
24353
  /**
24025
24354
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
24026
24355
  */
24027
24356
  this.disabled = false;
24357
+ /**
24358
+ * When `true`, prevents the content of the component from user interaction.
24359
+ *
24360
+ * @deprecated no longer necessary.
24361
+ */
24362
+ this.nonInteractive = false;
24363
+ /**
24364
+ * When true, item is open to show child components.
24365
+ */
24366
+ this.open = false;
24367
+ /**
24368
+ * Used to specify the aria-setsize attribute to define the number of items in the current set of list for accessibility.
24369
+ *
24370
+ * @internal
24371
+ */
24372
+ this.setSize = null;
24373
+ /**
24374
+ * Used to specify the aria-posinset attribute to define the number or position in the current set of list items for accessibility.
24375
+ *
24376
+ * @internal
24377
+ */
24378
+ this.setPosition = null;
24379
+ /**
24380
+ * When true, the component is selected.
24381
+ */
24382
+ this.selected = false;
24383
+ /**
24384
+ * specify the selection mode - multiple (allow any number of (or no) selected items), single (allow and require one selected item), none (no selected items), defaults to single
24385
+ *
24386
+ * @internal
24387
+ */
24388
+ this.selectionMode = null;
24389
+ /**
24390
+ * specify the selection appearance - icon (displays a checkmark or dot), border (displays a border), defaults to icon
24391
+ *
24392
+ * @internal
24393
+ */
24394
+ this.selectionAppearance = null;
24395
+ this.level = null;
24396
+ this.visualLevel = null;
24397
+ this.openable = false;
24398
+ this.hasActionsStart = false;
24399
+ this.hasActionsEnd = false;
24400
+ this.hasContentStart = false;
24401
+ this.hasContentEnd = false;
24402
+ // --------------------------------------------------------------------------
24403
+ //
24404
+ // Private Methods
24405
+ //
24406
+ // --------------------------------------------------------------------------
24407
+ this.handleActionsStartSlotChange = (event) => {
24408
+ const elements = event.target.assignedElements({
24409
+ flatten: true
24410
+ });
24411
+ this.hasActionsStart = !!elements.length;
24412
+ };
24413
+ this.handleActionsEndSlotChange = (event) => {
24414
+ const elements = event.target.assignedElements({
24415
+ flatten: true
24416
+ });
24417
+ this.hasActionsEnd = !!elements.length;
24418
+ };
24419
+ this.handleContentStartSlotChange = (event) => {
24420
+ const elements = event.target.assignedElements({
24421
+ flatten: true
24422
+ });
24423
+ this.hasContentStart = !!elements.length;
24424
+ };
24425
+ this.handleContentEndSlotChange = (event) => {
24426
+ const elements = event.target.assignedElements({
24427
+ flatten: true
24428
+ });
24429
+ this.hasContentEnd = !!elements.length;
24430
+ };
24431
+ this.handleDefaultSlotChange = (event) => {
24432
+ const { parentListEl } = this;
24433
+ const listItemChildren = getListItemChildren(event);
24434
+ updateListItemChildren(listItemChildren);
24435
+ const openable = !!listItemChildren.length;
24436
+ if (openable && parentListEl && !parentListEl.openable) {
24437
+ parentListEl.openable = true;
24438
+ }
24439
+ this.openable = openable;
24440
+ if (!openable) {
24441
+ this.open = false;
24442
+ }
24443
+ };
24444
+ this.toggleOpen = () => {
24445
+ this.open = !this.open;
24446
+ };
24447
+ this.toggleSelected = () => {
24448
+ if (this.disabled) {
24449
+ return;
24450
+ }
24451
+ if (this.selectionMode !== "none") {
24452
+ this.selected = !this.selected;
24453
+ }
24454
+ this.calciteListItemSelect.emit();
24455
+ };
24456
+ this.handleItemKeyDown = (event) => {
24457
+ const { key } = event;
24458
+ const composedPath = event.composedPath();
24459
+ const { containerEl, contentEl, actionsStartEl, actionsEndEl, open, openable } = this;
24460
+ const cells = [actionsStartEl, contentEl, actionsEndEl].filter(Boolean);
24461
+ const currentIndex = cells.findIndex((cell) => composedPath.includes(cell));
24462
+ if (key === " ") {
24463
+ event.preventDefault();
24464
+ this.toggleSelected();
24465
+ }
24466
+ else if (key === "ArrowRight") {
24467
+ event.preventDefault();
24468
+ const nextIndex = currentIndex + 1;
24469
+ if (currentIndex === -1) {
24470
+ if (!open && openable) {
24471
+ this.open = true;
24472
+ this.focusCell(null);
24473
+ }
24474
+ else if (cells[0]) {
24475
+ this.focusCell(cells[0]);
24476
+ }
24477
+ }
24478
+ else if (cells[currentIndex] && cells[nextIndex]) {
24479
+ this.focusCell(cells[nextIndex]);
24480
+ }
24481
+ }
24482
+ else if (key === "ArrowLeft") {
24483
+ event.preventDefault();
24484
+ const prevIndex = currentIndex - 1;
24485
+ if (currentIndex === -1) {
24486
+ this.focusCell(null);
24487
+ if (open && openable) {
24488
+ this.open = false;
24489
+ }
24490
+ else {
24491
+ this.calciteInternalFocusPreviousItem.emit();
24492
+ }
24493
+ }
24494
+ else if (currentIndex === 0) {
24495
+ this.focusCell(null);
24496
+ containerEl.focus();
24497
+ }
24498
+ else if (cells[currentIndex] && cells[prevIndex]) {
24499
+ this.focusCell(cells[prevIndex]);
24500
+ }
24501
+ }
24502
+ };
24503
+ this.focusCellNull = () => {
24504
+ this.focusCell(null);
24505
+ };
24506
+ this.focusCell = (focusEl, saveFocusIndex = true) => {
24507
+ const { contentEl, actionsStartEl, actionsEndEl, parentListEl } = this;
24508
+ if (saveFocusIndex) {
24509
+ focusMap.set(parentListEl, null);
24510
+ }
24511
+ [actionsStartEl, contentEl, actionsEndEl].filter(Boolean).forEach((tableCell, cellIndex) => {
24512
+ const tabIndexAttr = "tabindex";
24513
+ if (tableCell === focusEl) {
24514
+ tableCell.setAttribute(tabIndexAttr, "0");
24515
+ saveFocusIndex && focusMap.set(parentListEl, cellIndex);
24516
+ }
24517
+ else {
24518
+ tableCell.removeAttribute(tabIndexAttr);
24519
+ }
24520
+ });
24521
+ focusEl === null || focusEl === void 0 ? void 0 : focusEl.focus();
24522
+ };
24523
+ }
24524
+ activeHandler(active) {
24525
+ if (!active) {
24526
+ this.focusCell(null, false);
24527
+ }
24528
+ }
24529
+ handleSelectedChange(value) {
24530
+ if (value) {
24531
+ this.calciteInternalListItemSelect.emit();
24532
+ }
24533
+ }
24534
+ connectedCallback() {
24535
+ const { el } = this;
24536
+ this.parentListEl = el.closest(listSelector);
24537
+ this.level = getDepth() + 1;
24538
+ this.visualLevel = getDepth(el, true);
24539
+ this.setSelectionDefaults();
24028
24540
  }
24029
- //--------------------------------------------------------------------------
24030
- //
24031
- // Lifecycle
24032
- //
24033
- //--------------------------------------------------------------------------
24034
24541
  componentWillLoad() {
24035
24542
  setUpLoadableComponent(this);
24036
24543
  }
@@ -24038,13 +24545,7 @@ class ListItem {
24038
24545
  setComponentLoaded(this);
24039
24546
  }
24040
24547
  componentDidRender() {
24041
- updateHostInteraction(this);
24042
- }
24043
- connectedCallback() {
24044
- connectConditionalSlotComponent(this);
24045
- }
24046
- disconnectedCallback() {
24047
- disconnectConditionalSlotComponent(this);
24548
+ updateHostInteraction(this, "managed");
24048
24549
  }
24049
24550
  // --------------------------------------------------------------------------
24050
24551
  //
@@ -24053,72 +24554,143 @@ class ListItem {
24053
24554
  // --------------------------------------------------------------------------
24054
24555
  /** Sets focus on the component. */
24055
24556
  async setFocus() {
24056
- var _a;
24057
24557
  await componentLoaded(this);
24058
- (_a = this.focusEl) === null || _a === void 0 ? void 0 : _a.focus();
24558
+ const { containerEl, contentEl, actionsStartEl, actionsEndEl, parentListEl } = this;
24559
+ const focusIndex = focusMap.get(parentListEl);
24560
+ if (typeof focusIndex === "number") {
24561
+ const cells = [actionsStartEl, contentEl, actionsEndEl].filter(Boolean);
24562
+ if (cells[focusIndex]) {
24563
+ this.focusCell(cells[focusIndex]);
24564
+ }
24565
+ else {
24566
+ containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
24567
+ }
24568
+ return;
24569
+ }
24570
+ containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
24059
24571
  }
24060
24572
  // --------------------------------------------------------------------------
24061
24573
  //
24062
24574
  // Render Methods
24063
24575
  //
24064
24576
  // --------------------------------------------------------------------------
24577
+ renderSelected() {
24578
+ const { selected, selectionMode, selectionAppearance } = this;
24579
+ if (selectionMode === "none" || selectionAppearance === "border") {
24580
+ return null;
24581
+ }
24582
+ return (hAsync("td", { class: CSS$p.selectionContainer, key: "selection-container", onClick: this.toggleSelected }, hAsync("calcite-icon", { icon: selected
24583
+ ? selectionMode === "multiple"
24584
+ ? ICONS$6.selectedMultiple
24585
+ : ICONS$6.selectedSingle
24586
+ : ICONS$6.unselected, scale: "s" })));
24587
+ }
24588
+ renderOpen() {
24589
+ const { el, open, openable, parentListEl } = this;
24590
+ const dir = getElementDir(el);
24591
+ return openable ? (hAsync("td", { class: CSS$p.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$6.open : dir === "rtl" ? ICONS$6.closedRTL : ICONS$6.closedLTR, scale: "s" }))) : (parentListEl === null || parentListEl === void 0 ? void 0 : parentListEl.openable) ? (hAsync("td", { class: CSS$p.openContainer, key: "open-container", onClick: this.toggleSelected }, hAsync("calcite-icon", { icon: ICONS$6.blank, scale: "s" }))) : null;
24592
+ }
24065
24593
  renderActionsStart() {
24066
- const { el } = this;
24067
- return getSlotted(el, SLOTS$e.actionsStart) ? (hAsync("div", { class: CSS$p.actionsStart }, hAsync("slot", { name: SLOTS$e.actionsStart }))) : null;
24594
+ const { label, hasActionsStart } = this;
24595
+ return (hAsync("td", { "aria-label": label, class: CSS$p.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", ref: (el) => (this.actionsStartEl = el), role: "gridcell" }, hAsync("slot", { name: SLOTS$e.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
24068
24596
  }
24069
24597
  renderActionsEnd() {
24070
- const { el } = this;
24071
- return getSlotted(el, SLOTS$e.actionsEnd) ? (hAsync("div", { class: CSS$p.actionsEnd }, hAsync("slot", { name: SLOTS$e.actionsEnd }))) : null;
24598
+ const { label, hasActionsEnd } = this;
24599
+ return (hAsync("td", { "aria-label": label, class: CSS$p.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container", ref: (el) => (this.actionsEndEl = el), role: "gridcell" }, hAsync("slot", { name: SLOTS$e.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
24072
24600
  }
24073
24601
  renderContentStart() {
24074
- const { el } = this;
24075
- return getSlotted(el, SLOTS$e.contentStart) ? (hAsync("div", { class: CSS$p.contentStart }, hAsync("slot", { name: SLOTS$e.contentStart }))) : null;
24602
+ const { hasContentStart } = this;
24603
+ return (hAsync("div", { class: CSS$p.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$e.contentStart, onSlotchange: this.handleContentStartSlotChange })));
24076
24604
  }
24077
24605
  renderContentEnd() {
24078
- const { el } = this;
24079
- return getSlotted(el, SLOTS$e.contentEnd) ? (hAsync("div", { class: CSS$p.contentEnd }, hAsync("slot", { name: SLOTS$e.contentEnd }))) : null;
24606
+ const { hasContentEnd } = this;
24607
+ return (hAsync("div", { class: CSS$p.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$e.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
24080
24608
  }
24081
24609
  renderContent() {
24082
24610
  const { label, description } = this;
24083
- return !!label || !!description ? (hAsync("div", { class: CSS$p.content }, label ? hAsync("div", { class: CSS$p.label }, label) : null, description ? hAsync("div", { class: CSS$p.description }, description) : null)) : null;
24611
+ return !!label || !!description ? (hAsync("div", { class: CSS$p.content, key: "content" }, label ? (hAsync("div", { class: CSS$p.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$p.description, key: "description" }, description)) : null)) : null;
24084
24612
  }
24085
24613
  renderContentContainer() {
24086
- const { description, disabled, label, nonInteractive } = this;
24614
+ const { description, label, selectionMode } = this;
24087
24615
  const hasCenterContent = !!label || !!description;
24088
24616
  const content = [this.renderContentStart(), this.renderContent(), this.renderContentEnd()];
24089
- return !nonInteractive ? (hAsync("button", { class: {
24617
+ return (hAsync("td", { "aria-label": label, class: {
24090
24618
  [CSS$p.contentContainer]: true,
24091
- [CSS$p.contentContainerButton]: true,
24092
- [CSS$p.hasCenterContent]: hasCenterContent
24093
- }, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (hAsync("div", { class: { [CSS$p.contentContainer]: true, [CSS$p.hasCenterContent]: hasCenterContent }, ref: () => (this.focusEl = null) }, content));
24619
+ [CSS$p.contentContainerSelectable]: selectionMode !== "none",
24620
+ [CSS$p.contentContainerHasCenterContent]: hasCenterContent
24621
+ }, key: "content-container", onClick: this.toggleSelected, ref: (el) => (this.contentEl = el), role: "gridcell" }, content));
24094
24622
  }
24095
24623
  render() {
24096
- return (hAsync(Host, { role: "listitem" }, hAsync("div", { class: CSS$p.container }, this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: CSS$p.nestedContainer }, hAsync("slot", null))));
24624
+ const { openable, open, level, setPosition, setSize, active, label, selected, selectionAppearance, selectionMode } = this;
24625
+ const showBorder = selectionMode !== "none" && selectionAppearance === "border";
24626
+ const borderSelected = showBorder && selected;
24627
+ const borderUnselected = showBorder && !selected;
24628
+ return (hAsync(Host, null, hAsync("tr", { "aria-expanded": openable ? toAriaBoolean(open) : null, "aria-label": label, "aria-level": level, "aria-posinset": setPosition, "aria-selected": toAriaBoolean(selected), "aria-setsize": setSize, class: {
24629
+ [CSS$p.container]: true,
24630
+ [CSS$p.containerBorderSelected]: borderSelected,
24631
+ [CSS$p.containerBorderUnselected]: borderUnselected
24632
+ }, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, ref: (el) => (this.containerEl = el), role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1 }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
24633
+ [CSS$p.nestedContainer]: true,
24634
+ [CSS$p.nestedContainerHidden]: openable && !open
24635
+ } }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
24636
+ }
24637
+ setSelectionDefaults() {
24638
+ const { parentListEl, selectionMode, selectionAppearance } = this;
24639
+ if (!parentListEl) {
24640
+ return;
24641
+ }
24642
+ if (!selectionMode) {
24643
+ this.selectionMode = parentListEl.selectionMode;
24644
+ }
24645
+ if (!selectionAppearance) {
24646
+ this.selectionAppearance = parentListEl.selectionAppearance;
24647
+ }
24097
24648
  }
24098
24649
  get el() { return getElement(this); }
24650
+ static get watchers() { return {
24651
+ "active": ["activeHandler"],
24652
+ "selected": ["handleSelectedChange"]
24653
+ }; }
24099
24654
  static get style() { return listItemCss; }
24100
24655
  static get cmpMeta() { return {
24101
24656
  "$flags$": 9,
24102
24657
  "$tagName$": "calcite-list-item",
24103
24658
  "$members$": {
24104
- "nonInteractive": [516, "non-interactive"],
24659
+ "active": [4],
24105
24660
  "description": [1],
24106
24661
  "disabled": [516],
24107
24662
  "label": [1],
24663
+ "metadata": [16],
24664
+ "nonInteractive": [516, "non-interactive"],
24665
+ "open": [1540],
24666
+ "setSize": [2, "set-size"],
24667
+ "setPosition": [2, "set-position"],
24668
+ "selected": [1540],
24669
+ "value": [8],
24670
+ "selectionMode": [1025, "selection-mode"],
24671
+ "selectionAppearance": [1025, "selection-appearance"],
24672
+ "level": [32],
24673
+ "visualLevel": [32],
24674
+ "parentListEl": [32],
24675
+ "openable": [32],
24676
+ "hasActionsStart": [32],
24677
+ "hasActionsEnd": [32],
24678
+ "hasContentStart": [32],
24679
+ "hasContentEnd": [32],
24108
24680
  "setFocus": [64]
24109
24681
  },
24110
24682
  "$listeners$": undefined,
24111
24683
  "$lazyBundleId$": "-",
24112
- "$attrsToReflect$": [["nonInteractive", "non-interactive"], ["disabled", "disabled"]]
24684
+ "$attrsToReflect$": [["disabled", "disabled"], ["nonInteractive", "non-interactive"], ["open", "open"], ["selected", "selected"]]
24113
24685
  }; }
24114
24686
  }
24115
24687
 
24116
24688
  const CSS$o = {
24117
- heading: "heading",
24118
- container: "container"
24689
+ container: "container",
24690
+ heading: "heading"
24119
24691
  };
24120
24692
 
24121
- const listItemGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-list-item-group:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-list-item-group{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list-item-group{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item-group{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item-group{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item-group{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list-item-group:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-list-item-group:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-group-h{display:none}/*!@:host*/.sc-calcite-list-item-group-h{display:flex;flex-direction:column}/*!@.heading*/.heading.sc-calcite-list-item-group{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.container*/.container.sc-calcite-list-item-group{display:flex;inline-size:100%;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}/*!@::slotted(calcite-list-item-group)*/.sc-calcite-list-item-group-s>calcite-list-item-group{padding-inline-start:0.5rem}";
24693
+ const listItemGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-list-item-group:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-list-item-group{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list-item-group{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item-group{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item-group{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item-group{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list-item-group:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-list-item-group:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-group-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-item-group-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-list-item-group-h{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);--calcite-list-item-spacing-indent:1rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-item-group-h[disabled] .sc-calcite-list-item-group-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-item-group-h [calcite-hydrated][disabled].sc-calcite-list-item-group{opacity:1}/*!@.container*/.container.sc-calcite-list-item-group{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-list-item-group{padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-item-group-s>calcite-list-item{margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@::slotted(calcite-list-item:last-child)*/.sc-calcite-list-item-group-s>calcite-list-item:last-child{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";
24122
24694
 
24123
24695
  /**
24124
24696
  * @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
@@ -24126,6 +24698,28 @@ const listItemGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes
24126
24698
  class ListItemGroup {
24127
24699
  constructor(hostRef) {
24128
24700
  registerInstance(this, hostRef);
24701
+ // --------------------------------------------------------------------------
24702
+ //
24703
+ // Properties
24704
+ //
24705
+ // --------------------------------------------------------------------------
24706
+ /**
24707
+ * When true, interaction is prevented and the component is displayed with lower opacity.
24708
+ */
24709
+ this.disabled = false;
24710
+ this.visualLevel = null;
24711
+ }
24712
+ // --------------------------------------------------------------------------
24713
+ //
24714
+ // Lifecycle
24715
+ //
24716
+ // --------------------------------------------------------------------------
24717
+ connectedCallback() {
24718
+ const { el } = this;
24719
+ this.visualLevel = getDepth(el, true);
24720
+ }
24721
+ componentDidRender() {
24722
+ updateHostInteraction(this);
24129
24723
  }
24130
24724
  // --------------------------------------------------------------------------
24131
24725
  //
@@ -24133,12 +24727,8 @@ class ListItemGroup {
24133
24727
  //
24134
24728
  // --------------------------------------------------------------------------
24135
24729
  render() {
24136
- var _a;
24137
- const { el, heading, headingLevel } = this;
24138
- const parentLevel = (_a = el.closest("calcite-list, calcite-list-item-group")) === null || _a === void 0 ? void 0 : _a.headingLevel;
24139
- const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
24140
- const level = headingLevel || relativeLevel;
24141
- return (hAsync(Host, null, heading ? (hAsync(Heading, { class: CSS$o.heading, level: level }, heading)) : null, hAsync("div", { class: CSS$o.container, role: "group" }, hAsync("slot", null))));
24730
+ const { heading, visualLevel } = this;
24731
+ return (hAsync(Host, null, hAsync("tr", { class: CSS$o.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$o.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", null)));
24142
24732
  }
24143
24733
  get el() { return getElement(this); }
24144
24734
  static get style() { return listItemGroupCss; }
@@ -24146,12 +24736,14 @@ class ListItemGroup {
24146
24736
  "$flags$": 9,
24147
24737
  "$tagName$": "calcite-list-item-group",
24148
24738
  "$members$": {
24739
+ "disabled": [516],
24149
24740
  "heading": [513],
24150
- "headingLevel": [514, "heading-level"]
24741
+ "headingLevel": [514, "heading-level"],
24742
+ "visualLevel": [32]
24151
24743
  },
24152
24744
  "$listeners$": undefined,
24153
24745
  "$lazyBundleId$": "-",
24154
- "$attrsToReflect$": [["heading", "heading"], ["headingLevel", "heading-level"]]
24746
+ "$attrsToReflect$": [["disabled", "disabled"], ["heading", "heading"], ["headingLevel", "heading-level"]]
24155
24747
  }; }
24156
24748
  }
24157
24749
 
@@ -26676,7 +27268,7 @@ class Panel {
26676
27268
  const rtl = getElementDir(el) === "rtl";
26677
27269
  const { showBackButton, intlBack, backButtonClick } = this;
26678
27270
  const label = intlBack || TEXT$f.back;
26679
- const icon = rtl ? ICONS$7.backRight : ICONS$7.backLeft;
27271
+ const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
26680
27272
  return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$z.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: SLOTS$i.headerActionsStart, text: label })) : null;
26681
27273
  }
26682
27274
  renderHeaderContent() {
@@ -26698,14 +27290,14 @@ class Panel {
26698
27290
  renderHeaderActionsEnd() {
26699
27291
  const { close, hasEndActions, intlClose, closable } = this;
26700
27292
  const text = intlClose || TEXT$f.close;
26701
- const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$7.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
27293
+ const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$8.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
26702
27294
  const slotNode = (hAsync("slot", { name: SLOTS$i.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
26703
27295
  const showContainer = hasEndActions || closableNode;
26704
27296
  return (hAsync("div", { class: { [CSS$z.headerActionsEnd]: true, [CSS$z.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
26705
27297
  }
26706
27298
  renderMenu() {
26707
27299
  const { hasMenuItems, intlOptions, menuOpen } = this;
26708
- return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: intlOptions || TEXT$f.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$7.menu, slot: SLOTS$s.trigger, text: intlOptions || TEXT$f.options }), hAsync("slot", { name: SLOTS$i.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
27300
+ return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: intlOptions || TEXT$f.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$8.menu, slot: SLOTS$s.trigger, text: intlOptions || TEXT$f.options }), hAsync("slot", { name: SLOTS$i.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
26709
27301
  }
26710
27302
  renderHeaderNode() {
26711
27303
  const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;