@esri/calcite-components 1.0.0-next.636 → 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-f1c98c3e.entry.js → p-02047954.entry.js} +2 -2
  4. package/dist/calcite/{p-2437f9d8.js → p-038792c7.js} +1 -1
  5. package/dist/calcite/{p-67e64dc2.js → p-038a6fa4.js} +1 -1
  6. package/dist/calcite/{p-ea8f42de.entry.js → p-06812611.entry.js} +2 -2
  7. package/dist/calcite/{p-baf10b3e.entry.js → p-0729c007.entry.js} +2 -2
  8. package/dist/calcite/{p-cb623fb2.entry.js → p-09a131a3.entry.js} +2 -2
  9. package/dist/calcite/{p-86791119.entry.js → p-0deef856.entry.js} +2 -2
  10. package/dist/calcite/p-121c40d1.entry.js +6 -0
  11. package/dist/calcite/{p-e5a1b041.entry.js → p-1883d2c4.entry.js} +2 -2
  12. package/dist/calcite/{p-ac05b6c0.js → p-1b727713.js} +2 -2
  13. package/dist/calcite/{p-a994432e.entry.js → p-1ef7d617.entry.js} +2 -2
  14. package/dist/calcite/{p-fb990403.js → p-218a46f2.js} +2 -2
  15. package/dist/calcite/{p-b44544d1.entry.js → p-2498c02c.entry.js} +2 -2
  16. package/dist/calcite/{p-e7f64668.entry.js → p-2a3aa528.entry.js} +2 -2
  17. package/dist/calcite/{p-a3fe057c.js → p-2b541622.js} +2 -2
  18. package/dist/calcite/{p-5a614bb5.entry.js → p-301d0592.entry.js} +2 -2
  19. package/dist/calcite/{p-ff739aac.entry.js → p-39cb0f06.entry.js} +2 -2
  20. package/dist/calcite/p-3a9117af.entry.js +6 -0
  21. package/dist/calcite/p-41588a74.entry.js +6 -0
  22. package/dist/calcite/{p-57562b21.entry.js → p-4450921d.entry.js} +2 -2
  23. package/dist/calcite/{p-d34b3464.entry.js → p-49fcfa79.entry.js} +2 -2
  24. package/dist/calcite/{p-7cc61e30.entry.js → p-5281740b.entry.js} +2 -2
  25. package/dist/calcite/{p-769b7383.entry.js → p-56487e7c.entry.js} +2 -2
  26. package/dist/calcite/{p-33f5b8e6.entry.js → p-5839e44e.entry.js} +2 -2
  27. package/dist/calcite/{p-61cd280f.entry.js → p-63de534f.entry.js} +2 -2
  28. package/dist/calcite/{p-a8bb1274.js → p-653bacd0.js} +1 -1
  29. package/dist/calcite/{p-86d3b233.js → p-65610a13.js} +1 -1
  30. package/dist/calcite/{p-e87dcb61.entry.js → p-688afc51.entry.js} +2 -2
  31. package/dist/calcite/p-6ee73cef.entry.js +6 -0
  32. package/dist/calcite/{p-06e408e6.entry.js → p-707acddc.entry.js} +2 -2
  33. package/dist/calcite/{p-19966f31.js → p-707b571f.js} +1 -1
  34. package/dist/calcite/{p-771abcbf.js → p-72733b4b.js} +2 -2
  35. package/dist/calcite/{p-7a3df001.entry.js → p-751d0d84.entry.js} +2 -2
  36. package/dist/calcite/{p-ee221109.entry.js → p-773c0aec.entry.js} +2 -2
  37. package/dist/calcite/{p-968cfb07.entry.js → p-782710de.entry.js} +2 -2
  38. package/dist/calcite/{p-9ccc1023.js → p-7b26c461.js} +1 -1
  39. package/dist/calcite/{p-6936c2d5.entry.js → p-7bb57ce6.entry.js} +2 -2
  40. package/dist/calcite/{p-fe73616f.entry.js → p-7bdea57c.entry.js} +2 -2
  41. package/dist/calcite/p-7c01cc41.entry.js +6 -0
  42. package/dist/calcite/{p-dea1b58f.entry.js → p-7d4afae8.entry.js} +2 -2
  43. package/dist/calcite/{p-da8dd4c2.entry.js → p-84a41ede.entry.js} +2 -2
  44. package/dist/calcite/{p-ad8429bc.js → p-85b95a93.js} +1 -1
  45. package/dist/calcite/{p-71ad5676.entry.js → p-8792c54d.entry.js} +2 -2
  46. package/dist/calcite/{p-70b4e4ec.js → p-8acdb692.js} +2 -2
  47. package/dist/calcite/{p-57c084d2.js → p-8bfc8600.js} +2 -2
  48. package/dist/calcite/{p-60dd0565.entry.js → p-8f5b7ad7.entry.js} +2 -2
  49. package/dist/calcite/{p-98f019e1.entry.js → p-90bf4991.entry.js} +2 -2
  50. package/dist/calcite/{p-eeeee029.js → p-91b6a760.js} +1 -1
  51. package/dist/calcite/{p-a983d04b.entry.js → p-92853c92.entry.js} +2 -2
  52. package/dist/calcite/{p-333aa3fe.entry.js → p-929dd822.entry.js} +2 -2
  53. package/dist/calcite/{p-8a5f0d75.entry.js → p-97cddd85.entry.js} +2 -2
  54. package/dist/calcite/{p-3bcd7786.entry.js → p-9b807a5d.entry.js} +2 -2
  55. package/dist/calcite/{p-5a12a68e.entry.js → p-9c604442.entry.js} +2 -2
  56. package/dist/calcite/{p-0acb8cbe.js → p-9dcbec99.js} +2 -2
  57. package/dist/calcite/{p-ac445235.js → p-9e612ab9.js} +2 -2
  58. package/dist/calcite/{p-67ab44c2.entry.js → p-a1f3fb5d.entry.js} +2 -2
  59. package/dist/calcite/{p-edd4fc77.js → p-a4b4702f.js} +2 -2
  60. package/dist/calcite/p-a50474ff.js +6 -0
  61. package/dist/calcite/{p-ac7f4630.entry.js → p-afdc4ab2.entry.js} +2 -2
  62. package/dist/calcite/{p-0fc28e03.js → p-b0956c25.js} +1 -1
  63. package/dist/calcite/{p-2036d2fc.entry.js → p-b1cd14ff.entry.js} +2 -2
  64. package/dist/calcite/{p-5e5a9beb.entry.js → p-b2652091.entry.js} +2 -2
  65. package/dist/calcite/{p-514a00d8.entry.js → p-b5f23dca.entry.js} +2 -2
  66. package/dist/calcite/{p-b41e7e3a.js → p-b77440b4.js} +1 -1
  67. package/dist/calcite/{p-1bb7c568.entry.js → p-bb2cc5fd.entry.js} +2 -2
  68. package/dist/calcite/{p-859b6e39.entry.js → p-bf65c472.entry.js} +2 -2
  69. package/dist/calcite/{p-cac51a71.js → p-c31e5366.js} +2 -2
  70. package/dist/calcite/{p-4aced9e8.js → p-c48a762f.js} +1 -1
  71. package/dist/calcite/{p-00a97531.entry.js → p-c700cdb2.entry.js} +2 -2
  72. package/dist/calcite/{p-cfc1f51e.entry.js → p-c719f831.entry.js} +2 -2
  73. package/dist/calcite/{p-c87ae805.js → p-c7317507.js} +2 -2
  74. package/dist/calcite/{p-6ae0e5f3.js → p-c95e2b62.js} +1 -1
  75. package/dist/calcite/{p-a9d52a09.entry.js → p-cb0ac55a.entry.js} +2 -2
  76. package/dist/calcite/{p-13847681.entry.js → p-d00d92a6.entry.js} +2 -2
  77. package/dist/calcite/{p-753870d8.js → p-d1e4d33a.js} +1 -1
  78. package/dist/calcite/{p-f378eddf.entry.js → p-d256868d.entry.js} +2 -2
  79. package/dist/calcite/{p-5473e287.js → p-d374a27a.js} +1 -1
  80. package/dist/calcite/{p-de57d2c2.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-e5e9ccfe.js → p-dff92df6.js} +1 -1
  84. package/dist/calcite/{p-366980c1.js → p-e23682cb.js} +1 -1
  85. package/dist/calcite/{p-bf88462c.entry.js → p-e2bf34d5.entry.js} +2 -2
  86. package/dist/calcite/{p-02b1cbd1.entry.js → p-e4cc239e.entry.js} +2 -2
  87. package/dist/calcite/{p-8f02f472.entry.js → p-e593ff8e.entry.js} +2 -2
  88. package/dist/calcite/{p-26102edc.js → p-e8b253f8.js} +2 -2
  89. package/dist/calcite/{p-4c679a22.entry.js → p-eb04cc68.entry.js} +2 -2
  90. package/dist/calcite/{p-44006b68.entry.js → p-f0895d0c.entry.js} +2 -2
  91. package/dist/calcite/{p-53a19ef1.entry.js → p-f40b6e73.entry.js} +2 -2
  92. package/dist/calcite/{p-3cce5c8b.entry.js → p-f65834ce.entry.js} +2 -2
  93. package/dist/calcite/{p-8c770d77.entry.js → p-fc2d386e.entry.js} +2 -2
  94. package/dist/cjs/{ExpandToggle-54255b81.js → ExpandToggle-eec33090.js} +5 -5
  95. package/dist/cjs/{Heading-b526ff45.js → Heading-a5a05878.js} +2 -2
  96. package/dist/cjs/{app-globals-fba1cf21.js → app-globals-27fd708a.js} +2 -2
  97. package/dist/cjs/{array-dd1b7450.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 +11 -11
  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-8e686586.js → conditionalSlot-e88e2e59.js} +3 -3
  160. package/dist/cjs/{debounce-5d63b0c7.js → debounce-891f5371.js} +1 -1
  161. package/dist/cjs/{dom-43e4f26f.js → dom-174e4de3.js} +32 -3
  162. package/dist/cjs/{filter-2dbf260f.js → filter-00b1cc29.js} +2 -2
  163. package/dist/cjs/{floating-ui-336cfe0f.js → floating-ui-92ee9a7e.js} +4 -4
  164. package/dist/cjs/{focusTrapComponent-cb5f94cb.js → focusTrapComponent-230b759a.js} +2 -2
  165. package/dist/cjs/{form-daaa94a8.js → form-d3d45193.js} +3 -3
  166. package/dist/cjs/{guid-00fb951d.js → guid-bb54b501.js} +1 -1
  167. package/dist/cjs/{index-06711fd4.js → index-e480dbe3.js} +1 -1
  168. package/dist/cjs/index.cjs.js +1 -1
  169. package/dist/cjs/{interactive-251a436b.js → interactive-04cf9beb.js} +1 -1
  170. package/dist/cjs/{interfaces-742bf539.js → interfaces-4b80f7e4.js} +1 -1
  171. package/dist/cjs/{key-24715b4c.js → key-11cdfcbf.js} +1 -1
  172. package/dist/cjs/{label-2d0404d3.js → label-60971c84.js} +2 -2
  173. package/dist/cjs/{loadable-93fa1819.js → loadable-c843838f.js} +1 -1
  174. package/dist/cjs/loader.cjs.js +5 -5
  175. package/dist/cjs/{locale-f1bc7145.js → locale-5d4c39fc.js} +4 -4
  176. package/dist/cjs/{math-d33c1733.js → math-d42026cc.js} +1 -1
  177. package/dist/cjs/{nonChromiumPlatformUtils-f8e45f33.js → nonChromiumPlatformUtils-162a5176.js} +6 -6
  178. package/dist/cjs/{observers-9985d188.js → observers-a2904f3c.js} +1 -1
  179. package/dist/cjs/{openCloseComponent-6000b95b.js → openCloseComponent-5a63ad6b.js} +1 -1
  180. package/dist/cjs/{resources-ac53ff3b.js → resources-0bb3a950.js} +1 -1
  181. package/dist/cjs/{resources-00983dc5.js → resources-18fb09be.js} +5 -5
  182. package/dist/cjs/{resources-fd8df720.js → resources-68a19f27.js} +1 -1
  183. package/dist/cjs/{resources-69981161.js → resources-b26a603c.js} +3 -3
  184. package/dist/cjs/{resources-496495ef.js → resources-b6e8bcc5.js} +1 -1
  185. package/dist/cjs/{resources-40a41e6b.js → resources-eb7b7720.js} +1 -1
  186. package/dist/cjs/{sortable.esm-15bf7700.js → sortable.esm-918eeb0a.js} +1 -1
  187. package/dist/cjs/{utils-c9f37d0d.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.css +1 -1
  209. package/dist/collection/components/block/block.js +1 -1
  210. package/dist/collection/components/block/resources.js +1 -1
  211. package/dist/collection/components/block-section/block-section.js +1 -1
  212. package/dist/collection/components/block-section/resources.js +1 -1
  213. package/dist/collection/components/button/button.js +1 -1
  214. package/dist/collection/components/button/resources.js +1 -1
  215. package/dist/collection/components/card/card.js +1 -1
  216. package/dist/collection/components/card/resources.js +1 -1
  217. package/dist/collection/components/checkbox/checkbox.js +1 -1
  218. package/dist/collection/components/chip/chip.js +1 -1
  219. package/dist/collection/components/chip/resources.js +1 -1
  220. package/dist/collection/components/color-picker/color-picker.js +1 -1
  221. package/dist/collection/components/color-picker/resources.js +1 -1
  222. package/dist/collection/components/color-picker/utils.js +1 -1
  223. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  224. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  225. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  226. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  227. package/dist/collection/components/combobox/combobox.js +1 -1
  228. package/dist/collection/components/combobox/resources.js +1 -1
  229. package/dist/collection/components/combobox/utils.js +1 -1
  230. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  231. package/dist/collection/components/combobox-item/resources.js +1 -1
  232. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  233. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  234. package/dist/collection/components/date-picker/date-picker.js +1 -1
  235. package/dist/collection/components/date-picker/resources.js +1 -1
  236. package/dist/collection/components/date-picker/utils.js +1 -1
  237. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  238. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  239. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  240. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  241. package/dist/collection/components/dropdown/dropdown.js +1 -1
  242. package/dist/collection/components/dropdown/resources.js +1 -1
  243. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  244. package/dist/collection/components/dropdown-group/resources.js +1 -1
  245. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  246. package/dist/collection/components/dropdown-item/resources.js +1 -1
  247. package/dist/collection/components/fab/fab.js +1 -1
  248. package/dist/collection/components/fab/resources.js +1 -1
  249. package/dist/collection/components/filter/filter.js +1 -1
  250. package/dist/collection/components/filter/resources.js +1 -1
  251. package/dist/collection/components/flow/flow.js +1 -1
  252. package/dist/collection/components/flow/resources.js +1 -1
  253. package/dist/collection/components/flow-item/flow-item.js +1 -1
  254. package/dist/collection/components/flow-item/resources.js +1 -1
  255. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  256. package/dist/collection/components/functional/Heading.js +1 -1
  257. package/dist/collection/components/graph/graph.js +1 -1
  258. package/dist/collection/components/graph/util.js +1 -1
  259. package/dist/collection/components/handle/handle.js +1 -1
  260. package/dist/collection/components/handle/resources.js +1 -1
  261. package/dist/collection/components/icon/icon.js +1 -1
  262. package/dist/collection/components/icon/resources.js +1 -1
  263. package/dist/collection/components/icon/utils.js +1 -1
  264. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  265. package/dist/collection/components/inline-editable/resources.js +1 -1
  266. package/dist/collection/components/input/input.js +1 -1
  267. package/dist/collection/components/input/resources.js +1 -1
  268. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  269. package/dist/collection/components/input-date-picker/resources.js +1 -1
  270. package/dist/collection/components/input-message/input-message.js +1 -1
  271. package/dist/collection/components/input-message/interfaces.js +1 -1
  272. package/dist/collection/components/input-number/input-number.js +1 -1
  273. package/dist/collection/components/input-number/resources.js +1 -1
  274. package/dist/collection/components/input-text/input-text.js +1 -1
  275. package/dist/collection/components/input-text/resources.js +1 -1
  276. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  277. package/dist/collection/components/label/label.js +1 -1
  278. package/dist/collection/components/label/resources.js +1 -1
  279. package/dist/collection/components/link/link.js +1 -1
  280. package/dist/collection/components/list/list.css +21 -1
  281. package/dist/collection/components/list/list.js +517 -13
  282. package/dist/collection/components/list/resources.js +7 -2
  283. package/dist/collection/components/list-item/list-item.css +48 -23
  284. package/dist/collection/components/list-item/list-item.js +531 -40
  285. package/dist/collection/components/list-item/resources.js +18 -3
  286. package/dist/collection/components/list-item/utils.js +32 -0
  287. package/dist/collection/components/list-item-group/list-item-group.css +30 -8
  288. package/dist/collection/components/list-item-group/list-item-group.js +57 -9
  289. package/dist/collection/components/list-item-group/resources.js +3 -3
  290. package/dist/collection/components/loader/loader.js +1 -1
  291. package/dist/collection/components/modal/modal.js +1 -1
  292. package/dist/collection/components/modal/resources.js +1 -1
  293. package/dist/collection/components/notice/notice.js +1 -1
  294. package/dist/collection/components/notice/resources.js +1 -1
  295. package/dist/collection/components/option/option.js +1 -1
  296. package/dist/collection/components/option-group/option-group.js +1 -1
  297. package/dist/collection/components/pagination/pagination.js +1 -1
  298. package/dist/collection/components/pagination/resources.js +1 -1
  299. package/dist/collection/components/panel/panel.js +1 -1
  300. package/dist/collection/components/panel/resources.js +1 -1
  301. package/dist/collection/components/pick-list/pick-list.js +1 -1
  302. package/dist/collection/components/pick-list/resources.js +1 -1
  303. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  304. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  305. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  306. package/dist/collection/components/pick-list-group/resources.js +1 -1
  307. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  308. package/dist/collection/components/pick-list-item/resources.js +1 -1
  309. package/dist/collection/components/popover/PopoverManager.js +1 -1
  310. package/dist/collection/components/popover/popover.js +1 -1
  311. package/dist/collection/components/popover/resources.js +1 -1
  312. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  313. package/dist/collection/components/progress/progress.js +1 -1
  314. package/dist/collection/components/radio-button/radio-button.js +1 -1
  315. package/dist/collection/components/radio-button/resources.js +1 -1
  316. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  317. package/dist/collection/components/radio-group/radio-group.js +1 -1
  318. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  319. package/dist/collection/components/radio-group-item/resources.js +1 -1
  320. package/dist/collection/components/rating/rating.js +1 -1
  321. package/dist/collection/components/rating/resources.js +1 -1
  322. package/dist/collection/components/scrim/resources.js +1 -1
  323. package/dist/collection/components/scrim/scrim.js +1 -1
  324. package/dist/collection/components/select/resources.js +1 -1
  325. package/dist/collection/components/select/select.js +1 -1
  326. package/dist/collection/components/shell/resources.js +1 -1
  327. package/dist/collection/components/shell/shell.js +1 -1
  328. package/dist/collection/components/shell-center-row/resources.js +1 -1
  329. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  330. package/dist/collection/components/shell-panel/resources.js +1 -1
  331. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  332. package/dist/collection/components/slider/resources.js +1 -1
  333. package/dist/collection/components/slider/slider.js +1 -1
  334. package/dist/collection/components/sortable-list/resources.js +1 -1
  335. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  336. package/dist/collection/components/split-button/resources.js +1 -1
  337. package/dist/collection/components/split-button/split-button.js +1 -1
  338. package/dist/collection/components/stepper/stepper.js +1 -1
  339. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  340. package/dist/collection/components/switch/switch.js +1 -1
  341. package/dist/collection/components/tab/tab.js +1 -1
  342. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  343. package/dist/collection/components/tab-title/tab-title.js +1 -1
  344. package/dist/collection/components/tabs/resources.js +1 -1
  345. package/dist/collection/components/tabs/tabs.js +1 -1
  346. package/dist/collection/components/tile/resources.js +1 -1
  347. package/dist/collection/components/tile/tile.js +1 -1
  348. package/dist/collection/components/tile-select/resources.js +1 -1
  349. package/dist/collection/components/tile-select/tile-select.js +1 -1
  350. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  351. package/dist/collection/components/time-picker/resources.js +1 -1
  352. package/dist/collection/components/time-picker/time-picker.js +1 -1
  353. package/dist/collection/components/tip/resources.js +1 -1
  354. package/dist/collection/components/tip/tip.js +1 -1
  355. package/dist/collection/components/tip-group/tip-group.js +1 -1
  356. package/dist/collection/components/tip-manager/resources.js +1 -1
  357. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  358. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  359. package/dist/collection/components/tooltip/resources.js +1 -1
  360. package/dist/collection/components/tooltip/tooltip.js +1 -1
  361. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  362. package/dist/collection/components/tree/interfaces.js +1 -1
  363. package/dist/collection/components/tree/tree.js +1 -1
  364. package/dist/collection/components/tree/utils.js +1 -1
  365. package/dist/collection/components/tree-item/resources.js +1 -1
  366. package/dist/collection/components/tree-item/tree-item.js +1 -1
  367. package/dist/collection/components/value-list/resources.js +1 -1
  368. package/dist/collection/components/value-list/utils.js +1 -1
  369. package/dist/collection/components/value-list/value-list.js +1 -1
  370. package/dist/collection/components/value-list-item/resources.js +1 -1
  371. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  372. package/dist/collection/utils/array.js +1 -1
  373. package/dist/collection/utils/conditionalSlot.js +1 -1
  374. package/dist/collection/utils/config.js +1 -1
  375. package/dist/collection/utils/date.js +1 -1
  376. package/dist/collection/utils/dom.js +1 -1
  377. package/dist/collection/utils/filter.js +1 -1
  378. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  379. package/dist/collection/utils/floating-ui.js +1 -1
  380. package/dist/collection/utils/focusTrapComponent.js +1 -1
  381. package/dist/collection/utils/form.js +1 -1
  382. package/dist/collection/utils/globalAttributes.js +1 -1
  383. package/dist/collection/utils/globalScript.js +1 -1
  384. package/dist/collection/utils/guid.js +1 -1
  385. package/dist/collection/utils/interactive.js +1 -1
  386. package/dist/collection/utils/key.js +1 -1
  387. package/dist/collection/utils/label.js +1 -1
  388. package/dist/collection/utils/loadable.js +1 -1
  389. package/dist/collection/utils/locale.js +1 -1
  390. package/dist/collection/utils/math.js +1 -1
  391. package/dist/collection/utils/number.js +1 -1
  392. package/dist/collection/utils/observers.js +1 -1
  393. package/dist/collection/utils/openCloseComponent.js +1 -1
  394. package/dist/collection/utils/resources.js +1 -1
  395. package/dist/collection/utils/t9n.js +1 -1
  396. package/dist/collection/utils/theme.js +1 -1
  397. package/dist/collection/utils/time.js +1 -1
  398. package/dist/components/ExpandToggle.js +1 -1
  399. package/dist/components/Heading.js +1 -1
  400. package/dist/components/action-group.js +1 -1
  401. package/dist/components/action-menu.js +1 -1
  402. package/dist/components/action.js +1 -1
  403. package/dist/components/array.js +1 -1
  404. package/dist/components/button.js +2 -2
  405. package/dist/components/calcite-accordion-item.js +1 -1
  406. package/dist/components/calcite-accordion.js +1 -1
  407. package/dist/components/calcite-action-bar.js +1 -1
  408. package/dist/components/calcite-action-group.js +1 -1
  409. package/dist/components/calcite-action-menu.js +1 -1
  410. package/dist/components/calcite-action-pad.js +1 -1
  411. package/dist/components/calcite-action.js +1 -1
  412. package/dist/components/calcite-alert.js +16 -4
  413. package/dist/components/calcite-avatar.js +2 -2
  414. package/dist/components/calcite-block-section.js +1 -1
  415. package/dist/components/calcite-block.js +2 -2
  416. package/dist/components/calcite-button.js +1 -1
  417. package/dist/components/calcite-card.js +1 -1
  418. package/dist/components/calcite-checkbox.js +1 -1
  419. package/dist/components/calcite-chip.js +1 -1
  420. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  421. package/dist/components/calcite-color-picker-swatch.js +1 -1
  422. package/dist/components/calcite-color-picker.js +1 -1
  423. package/dist/components/calcite-combobox-item-group.js +1 -1
  424. package/dist/components/calcite-combobox-item.js +1 -1
  425. package/dist/components/calcite-combobox.js +1 -1
  426. package/dist/components/calcite-date-picker-day.js +1 -1
  427. package/dist/components/calcite-date-picker-month-header.js +1 -1
  428. package/dist/components/calcite-date-picker-month.js +1 -1
  429. package/dist/components/calcite-date-picker.js +1 -1
  430. package/dist/components/calcite-dropdown-group.js +1 -1
  431. package/dist/components/calcite-dropdown-item.js +1 -1
  432. package/dist/components/calcite-dropdown.js +1 -1
  433. package/dist/components/calcite-fab.js +1 -1
  434. package/dist/components/calcite-filter.js +1 -1
  435. package/dist/components/calcite-flow-item.js +1 -1
  436. package/dist/components/calcite-flow.js +1 -1
  437. package/dist/components/calcite-graph.js +1 -1
  438. package/dist/components/calcite-handle.js +1 -1
  439. package/dist/components/calcite-icon.js +1 -1
  440. package/dist/components/calcite-inline-editable.js +1 -1
  441. package/dist/components/calcite-input-date-picker.js +1 -1
  442. package/dist/components/calcite-input-message.js +2 -2
  443. package/dist/components/calcite-input-number.js +2 -2
  444. package/dist/components/calcite-input-text.js +2 -2
  445. package/dist/components/calcite-input-time-picker.js +1 -1
  446. package/dist/components/calcite-input.js +1 -1
  447. package/dist/components/calcite-label.js +1 -1
  448. package/dist/components/calcite-link.js +1 -1
  449. package/dist/components/calcite-list-item-group.js +33 -12
  450. package/dist/components/calcite-list-item.js +294 -59
  451. package/dist/components/calcite-list.js +296 -12
  452. package/dist/components/calcite-loader.js +1 -1
  453. package/dist/components/calcite-modal.js +2 -2
  454. package/dist/components/calcite-notice.js +2 -2
  455. package/dist/components/calcite-option-group.js +1 -1
  456. package/dist/components/calcite-option.js +1 -1
  457. package/dist/components/calcite-pagination.js +1 -1
  458. package/dist/components/calcite-panel.js +1 -1
  459. package/dist/components/calcite-pick-list-group.js +2 -2
  460. package/dist/components/calcite-pick-list-item.js +1 -1
  461. package/dist/components/calcite-pick-list.js +2 -2
  462. package/dist/components/calcite-popover-manager.js +1 -1
  463. package/dist/components/calcite-popover.js +1 -1
  464. package/dist/components/calcite-progress.js +1 -1
  465. package/dist/components/calcite-radio-button-group.js +1 -1
  466. package/dist/components/calcite-radio-button.js +1 -1
  467. package/dist/components/calcite-radio-group-item.js +1 -1
  468. package/dist/components/calcite-radio-group.js +1 -1
  469. package/dist/components/calcite-rating.js +1 -1
  470. package/dist/components/calcite-scrim.js +1 -1
  471. package/dist/components/calcite-select.js +1 -1
  472. package/dist/components/calcite-shell-center-row.js +1 -1
  473. package/dist/components/calcite-shell-panel.js +1 -1
  474. package/dist/components/calcite-shell.js +1 -1
  475. package/dist/components/calcite-slider.js +2 -2
  476. package/dist/components/calcite-sortable-list.js +1 -1
  477. package/dist/components/calcite-split-button.js +1 -1
  478. package/dist/components/calcite-stepper-item.js +1 -1
  479. package/dist/components/calcite-stepper.js +1 -1
  480. package/dist/components/calcite-switch.js +1 -1
  481. package/dist/components/calcite-tab-nav.js +1 -1
  482. package/dist/components/calcite-tab-title.js +1 -1
  483. package/dist/components/calcite-tab.js +1 -1
  484. package/dist/components/calcite-tabs.js +1 -1
  485. package/dist/components/calcite-tile-select-group.js +1 -1
  486. package/dist/components/calcite-tile-select.js +1 -1
  487. package/dist/components/calcite-tile.js +1 -1
  488. package/dist/components/calcite-time-picker.js +1 -1
  489. package/dist/components/calcite-tip-group.js +1 -1
  490. package/dist/components/calcite-tip-manager.js +1 -1
  491. package/dist/components/calcite-tip.js +1 -1
  492. package/dist/components/calcite-tooltip-manager.js +1 -1
  493. package/dist/components/calcite-tooltip.js +1 -1
  494. package/dist/components/calcite-tree-item.js +2 -2
  495. package/dist/components/calcite-tree.js +2 -2
  496. package/dist/components/calcite-value-list-item.js +2 -2
  497. package/dist/components/calcite-value-list.js +1 -1
  498. package/dist/components/checkbox.js +1 -1
  499. package/dist/components/chip.js +1 -1
  500. package/dist/components/color-picker-hex-input.js +1 -1
  501. package/dist/components/color-picker-swatch.js +2 -2
  502. package/dist/components/conditionalSlot.js +1 -1
  503. package/dist/components/date-picker-day.js +2 -2
  504. package/dist/components/date-picker-month-header.js +2 -2
  505. package/dist/components/date-picker-month.js +1 -1
  506. package/dist/components/date-picker.js +1 -1
  507. package/dist/components/date.js +1 -1
  508. package/dist/components/debounce.js +1 -1
  509. package/dist/components/dom.js +30 -2
  510. package/dist/components/dropdown.js +1 -1
  511. package/dist/components/filter.js +1 -1
  512. package/dist/components/filter2.js +1 -1
  513. package/dist/components/floating-ui.js +2 -2
  514. package/dist/components/focusTrapComponent.js +1 -1
  515. package/dist/components/form.js +2 -2
  516. package/dist/components/graph.js +1 -1
  517. package/dist/components/guid.js +1 -1
  518. package/dist/components/handle.js +1 -1
  519. package/dist/components/icon.js +1 -1
  520. package/dist/components/index.js +1 -1
  521. package/dist/components/input.js +2 -2
  522. package/dist/components/interactive.js +1 -1
  523. package/dist/components/interfaces.js +1 -1
  524. package/dist/components/interfaces2.js +1 -1
  525. package/dist/components/key.js +1 -1
  526. package/dist/components/label.js +1 -1
  527. package/dist/components/label2.js +2 -2
  528. package/dist/components/link.js +1 -1
  529. package/dist/components/loadable.js +1 -1
  530. package/dist/components/loader.js +1 -1
  531. package/dist/components/locale.js +2 -2
  532. package/dist/components/math.js +1 -1
  533. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  534. package/dist/components/observers.js +1 -1
  535. package/dist/components/openCloseComponent.js +1 -1
  536. package/dist/components/panel.js +1 -1
  537. package/dist/components/pick-list-item.js +2 -2
  538. package/dist/components/popover.js +1 -1
  539. package/dist/components/progress.js +1 -1
  540. package/dist/components/resources.js +62 -10
  541. package/dist/components/resources2.js +10 -6
  542. package/dist/components/resources3.js +15 -0
  543. package/dist/components/scrim.js +1 -1
  544. package/dist/components/shared-list-render.js +3 -3
  545. package/dist/components/sortable.esm.js +1 -1
  546. package/dist/components/switch.js +1 -1
  547. package/dist/components/tab-nav.js +2 -2
  548. package/dist/components/tab-title.js +1 -1
  549. package/dist/components/tab.js +1 -1
  550. package/dist/components/tabs.js +1 -1
  551. package/dist/components/tile.js +1 -1
  552. package/dist/components/time-picker.js +1 -1
  553. package/dist/components/tooltip.js +1 -1
  554. package/dist/components/utils.js +1 -1
  555. package/dist/components/utils2.js +1 -1
  556. package/dist/esm/{ExpandToggle-0d0a6dad.js → ExpandToggle-4fca7d3d.js} +5 -5
  557. package/dist/esm/{Heading-5e76b2b4.js → Heading-94ce749d.js} +2 -2
  558. package/dist/esm/{app-globals-bdafe203.js → app-globals-4523c4bb.js} +2 -2
  559. package/dist/esm/{array-a4e3b4cc.js → array-9d104dff.js} +1 -1
  560. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  561. package/dist/esm/calcite-action-bar.entry.js +12 -12
  562. package/dist/esm/calcite-action-group.entry.js +9 -9
  563. package/dist/esm/calcite-action-menu.entry.js +9 -9
  564. package/dist/esm/calcite-action-pad.entry.js +11 -11
  565. package/dist/esm/calcite-action.entry.js +8 -8
  566. package/dist/esm/calcite-alert.entry.js +24 -13
  567. package/dist/esm/calcite-avatar.entry.js +6 -6
  568. package/dist/esm/calcite-block_2.entry.js +11 -11
  569. package/dist/esm/calcite-button.entry.js +10 -10
  570. package/dist/esm/calcite-card.entry.js +7 -7
  571. package/dist/esm/calcite-checkbox.entry.js +10 -10
  572. package/dist/esm/calcite-chip.entry.js +8 -8
  573. package/dist/esm/calcite-color-picker_3.entry.js +11 -11
  574. package/dist/esm/calcite-combobox_3.entry.js +15 -15
  575. package/dist/esm/calcite-date-picker_4.entry.js +11 -11
  576. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  577. package/dist/esm/calcite-fab.entry.js +7 -7
  578. package/dist/esm/calcite-filter.entry.js +9 -9
  579. package/dist/esm/calcite-flow-item.entry.js +8 -8
  580. package/dist/esm/calcite-flow.entry.js +3 -3
  581. package/dist/esm/calcite-graph_2.entry.js +13 -13
  582. package/dist/esm/calcite-handle.entry.js +6 -6
  583. package/dist/esm/calcite-icon.entry.js +6 -6
  584. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  585. package/dist/esm/calcite-input-date-picker.entry.js +16 -16
  586. package/dist/esm/calcite-input-message.entry.js +5 -5
  587. package/dist/esm/calcite-input-number.entry.js +13 -13
  588. package/dist/esm/calcite-input-text.entry.js +10 -10
  589. package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
  590. package/dist/esm/calcite-input.entry.js +13 -13
  591. package/dist/esm/calcite-label.entry.js +6 -6
  592. package/dist/esm/calcite-link.entry.js +7 -7
  593. package/dist/esm/calcite-list_3.entry.js +601 -80
  594. package/dist/esm/calcite-loader.entry.js +3 -3
  595. package/dist/esm/calcite-modal.entry.js +10 -10
  596. package/dist/esm/calcite-notice.entry.js +9 -9
  597. package/dist/esm/calcite-option_3.entry.js +10 -10
  598. package/dist/esm/calcite-pagination.entry.js +8 -8
  599. package/dist/esm/calcite-panel.entry.js +11 -11
  600. package/dist/esm/calcite-pick-list_3.entry.js +13 -13
  601. package/dist/esm/calcite-popover_2.entry.js +13 -13
  602. package/dist/esm/calcite-progress.entry.js +2 -2
  603. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  604. package/dist/esm/calcite-radio-button.entry.js +10 -10
  605. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  606. package/dist/esm/calcite-rating.entry.js +10 -10
  607. package/dist/esm/calcite-scrim.entry.js +2 -2
  608. package/dist/esm/calcite-shell_3.entry.js +8 -8
  609. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  610. package/dist/esm/calcite-split-button.entry.js +3 -3
  611. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  612. package/dist/esm/calcite-switch.entry.js +10 -10
  613. package/dist/esm/calcite-tab_4.entry.js +7 -7
  614. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  615. package/dist/esm/calcite-tile.entry.js +8 -8
  616. package/dist/esm/calcite-tip_3.entry.js +8 -8
  617. package/dist/esm/calcite-tooltip_2.entry.js +8 -8
  618. package/dist/esm/calcite-tree_2.entry.js +8 -8
  619. package/dist/esm/calcite-value-list_2.entry.js +13 -13
  620. package/dist/esm/calcite.js +5 -5
  621. package/dist/esm/{conditionalSlot-d7042454.js → conditionalSlot-1620f1ad.js} +3 -3
  622. package/dist/esm/{debounce-5b813e28.js → debounce-0686d9a1.js} +1 -1
  623. package/dist/esm/{dom-1e25772a.js → dom-af8fc88b.js} +32 -4
  624. package/dist/esm/{filter-9f8f8154.js → filter-cbb2b874.js} +2 -2
  625. package/dist/esm/{floating-ui-133bb551.js → floating-ui-5919ed56.js} +4 -4
  626. package/dist/esm/{focusTrapComponent-579bde12.js → focusTrapComponent-8f434148.js} +2 -2
  627. package/dist/esm/{form-9a041e68.js → form-2aa6c9e9.js} +3 -3
  628. package/dist/esm/{guid-c42adc0b.js → guid-a32bfc37.js} +1 -1
  629. package/dist/esm/{index-43905a28.js → index-f5307217.js} +1 -1
  630. package/dist/esm/index.js +1 -1
  631. package/dist/esm/{interactive-dc49c49b.js → interactive-408a778e.js} +1 -1
  632. package/dist/esm/{interfaces-86bb76d1.js → interfaces-25274bad.js} +1 -1
  633. package/dist/esm/{key-a3cbc709.js → key-ff94e2df.js} +1 -1
  634. package/dist/esm/{label-7ab2f78b.js → label-c38a7e62.js} +2 -2
  635. package/dist/esm/{loadable-f9ca5c20.js → loadable-8dc52efb.js} +1 -1
  636. package/dist/esm/loader.js +5 -5
  637. package/dist/esm/{locale-a47c2f83.js → locale-d8acb890.js} +4 -4
  638. package/dist/esm/{math-75a0848f.js → math-06af2d12.js} +1 -1
  639. package/dist/esm/{nonChromiumPlatformUtils-50b180f8.js → nonChromiumPlatformUtils-3c8e691e.js} +6 -6
  640. package/dist/esm/{observers-10b6d9bf.js → observers-c4a710f2.js} +1 -1
  641. package/dist/esm/{openCloseComponent-90c0bc0f.js → openCloseComponent-10ccb926.js} +1 -1
  642. package/dist/esm/{resources-1d29b1a4.js → resources-295cd6ac.js} +5 -5
  643. package/dist/esm/{resources-10b5a81c.js → resources-2cf72e16.js} +1 -1
  644. package/dist/esm/{resources-12be96e6.js → resources-56be8d83.js} +1 -1
  645. package/dist/esm/{resources-9cfc185a.js → resources-a79f35f7.js} +1 -1
  646. package/dist/esm/{resources-30d36ead.js → resources-b5550e9c.js} +3 -3
  647. package/dist/esm/{resources-49545055.js → resources-f669fefd.js} +1 -1
  648. package/dist/esm/{sortable.esm-381fb2a0.js → sortable.esm-0eb8bd97.js} +1 -1
  649. package/dist/esm/{utils-42067c6f.js → utils-6c7a0dc5.js} +1 -1
  650. package/dist/extras/docs-json.json +375 -10
  651. package/dist/loader/cdn.js +1 -1
  652. package/dist/loader/index.cjs.js +1 -1
  653. package/dist/loader/index.es2017.js +1 -1
  654. package/dist/loader/index.js +1 -1
  655. package/dist/types/components/alert/alert.d.ts +3 -0
  656. package/dist/types/components/alert/resources.d.ts +2 -0
  657. package/dist/types/components/list/list.d.ts +85 -3
  658. package/dist/types/components/list/resources.d.ts +7 -0
  659. package/dist/types/components/list-item/interfaces.d.ts +6 -0
  660. package/dist/types/components/list-item/list-item.d.ts +95 -8
  661. package/dist/types/components/list-item/resources.d.ts +17 -2
  662. package/dist/types/components/list-item/utils.d.ts +3 -0
  663. package/dist/types/components/list-item-group/list-item-group.d.ts +11 -1
  664. package/dist/types/components/list-item-group/resources.d.ts +1 -1
  665. package/dist/types/components.d.ts +179 -5
  666. package/dist/types/preact.d.ts +8 -2
  667. package/hydrate/index.js +726 -134
  668. package/package.json +1 -1
  669. package/dist/calcite/p-33625802.entry.js +0 -6
  670. package/dist/calcite/p-46fb198b.entry.js +0 -6
  671. package/dist/calcite/p-578ba695.entry.js +0 -6
  672. package/dist/calcite/p-57b194ca.js +0 -6
  673. package/dist/calcite/p-75a3f683.entry.js +0 -6
  674. package/dist/calcite/p-ac9d8c2c.js +0 -6
  675. package/dist/calcite/p-b46a2676.entry.js +0 -6
  676. package/dist/calcite/p-ce88bc2d.entry.js +0 -6
@@ -1,61 +1,226 @@
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.636
4
+ * v1.0.0-next.638
5
5
  */
6
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client/index.js';
7
- import { b as getSlotted } from './dom.js';
8
- import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
6
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
+ import { g as getListItemChildren, u as updateListItemChildren, a as getDepth, C as CSS, I as ICONS, S as SLOTS } from './resources.js';
8
+ import { c as getElementDir, t as toAriaBoolean } from './dom.js';
9
9
  import { u as updateHostInteraction } from './interactive.js';
10
10
  import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable.js';
11
+ import { d as defineCustomElement$2 } from './icon.js';
11
12
 
12
- const CSS = {
13
- container: "container",
14
- contentContainer: "content-container",
15
- nestedContainer: "nested-container",
16
- contentContainerButton: "content-container--button",
17
- content: "content",
18
- actionsStart: "actions-start",
19
- contentStart: "content-start",
20
- label: "label",
21
- description: "description",
22
- contentEnd: "content-end",
23
- actionsEnd: "actions-end",
24
- hasCenterContent: "has-center-content"
25
- };
26
- const SLOTS = {
27
- actionsStart: "actions-start",
28
- contentStart: "content-start",
29
- contentEnd: "content-end",
30
- actionsEnd: "actions-end"
31
- };
32
-
33
- 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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{box-sizing:border-box}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{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{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content-container--button .content-start,.content-container--button .content-end{pointer-events:none}.content{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,.description{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,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.has-center-content .content-start,.has-center-content .content-end{flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item-group),::slotted(calcite-list-item){padding-inline-start:0.5rem}";
13
+ 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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{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]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{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 *{box-sizing:border-box}.container--border-selected{border-inline-start:4px solid var(--calcite-ui-brand)}.container--border-unselected{border-inline-start:4px solid transparent}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.nested-container--hidden{display:none}.content-container{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{cursor:pointer}tr,td{outline-color:transparent}tr:focus,td:focus{z-index:300;outline:2px solid var(--calcite-ui-brand)}.content{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,.description{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,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}[hidden]{display:none}";
34
14
 
15
+ const focusMap = new Map();
16
+ const listSelector = "calcite-list";
35
17
  const ListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
36
18
  constructor() {
37
19
  super();
38
20
  this.__registerHost();
39
21
  this.__attachShadow();
22
+ this.calciteListItemSelect = createEvent(this, "calciteListItemSelect", 6);
23
+ this.calciteInternalListItemSelect = createEvent(this, "calciteInternalListItemSelect", 6);
24
+ this.calciteInternalFocusPreviousItem = createEvent(this, "calciteInternalFocusPreviousItem", 6);
40
25
  // --------------------------------------------------------------------------
41
26
  //
42
27
  // Properties
43
28
  //
44
29
  // --------------------------------------------------------------------------
45
30
  /**
46
- * When `true`, prevents the content of the component from user interaction.
31
+ * Sets the item as focusable. Only one item should be focusable within a list.
32
+ *
33
+ * @internal
47
34
  */
48
- this.nonInteractive = false;
35
+ this.active = false;
49
36
  /**
50
37
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
51
38
  */
52
39
  this.disabled = false;
40
+ /**
41
+ * When `true`, prevents the content of the component from user interaction.
42
+ *
43
+ * @deprecated no longer necessary.
44
+ */
45
+ this.nonInteractive = false;
46
+ /**
47
+ * When true, item is open to show child components.
48
+ */
49
+ this.open = false;
50
+ /**
51
+ * Used to specify the aria-setsize attribute to define the number of items in the current set of list for accessibility.
52
+ *
53
+ * @internal
54
+ */
55
+ this.setSize = null;
56
+ /**
57
+ * Used to specify the aria-posinset attribute to define the number or position in the current set of list items for accessibility.
58
+ *
59
+ * @internal
60
+ */
61
+ this.setPosition = null;
62
+ /**
63
+ * When true, the component is selected.
64
+ */
65
+ this.selected = false;
66
+ /**
67
+ * 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
68
+ *
69
+ * @internal
70
+ */
71
+ this.selectionMode = null;
72
+ /**
73
+ * specify the selection appearance - icon (displays a checkmark or dot), border (displays a border), defaults to icon
74
+ *
75
+ * @internal
76
+ */
77
+ this.selectionAppearance = null;
78
+ this.level = null;
79
+ this.visualLevel = null;
80
+ this.openable = false;
81
+ this.hasActionsStart = false;
82
+ this.hasActionsEnd = false;
83
+ this.hasContentStart = false;
84
+ this.hasContentEnd = false;
85
+ // --------------------------------------------------------------------------
86
+ //
87
+ // Private Methods
88
+ //
89
+ // --------------------------------------------------------------------------
90
+ this.handleActionsStartSlotChange = (event) => {
91
+ const elements = event.target.assignedElements({
92
+ flatten: true
93
+ });
94
+ this.hasActionsStart = !!elements.length;
95
+ };
96
+ this.handleActionsEndSlotChange = (event) => {
97
+ const elements = event.target.assignedElements({
98
+ flatten: true
99
+ });
100
+ this.hasActionsEnd = !!elements.length;
101
+ };
102
+ this.handleContentStartSlotChange = (event) => {
103
+ const elements = event.target.assignedElements({
104
+ flatten: true
105
+ });
106
+ this.hasContentStart = !!elements.length;
107
+ };
108
+ this.handleContentEndSlotChange = (event) => {
109
+ const elements = event.target.assignedElements({
110
+ flatten: true
111
+ });
112
+ this.hasContentEnd = !!elements.length;
113
+ };
114
+ this.handleDefaultSlotChange = (event) => {
115
+ const { parentListEl } = this;
116
+ const listItemChildren = getListItemChildren(event);
117
+ updateListItemChildren(listItemChildren);
118
+ const openable = !!listItemChildren.length;
119
+ if (openable && parentListEl && !parentListEl.openable) {
120
+ parentListEl.openable = true;
121
+ }
122
+ this.openable = openable;
123
+ if (!openable) {
124
+ this.open = false;
125
+ }
126
+ };
127
+ this.toggleOpen = () => {
128
+ this.open = !this.open;
129
+ };
130
+ this.toggleSelected = () => {
131
+ if (this.disabled) {
132
+ return;
133
+ }
134
+ if (this.selectionMode !== "none") {
135
+ this.selected = !this.selected;
136
+ }
137
+ this.calciteListItemSelect.emit();
138
+ };
139
+ this.handleItemKeyDown = (event) => {
140
+ const { key } = event;
141
+ const composedPath = event.composedPath();
142
+ const { containerEl, contentEl, actionsStartEl, actionsEndEl, open, openable } = this;
143
+ const cells = [actionsStartEl, contentEl, actionsEndEl].filter(Boolean);
144
+ const currentIndex = cells.findIndex((cell) => composedPath.includes(cell));
145
+ if (key === " ") {
146
+ event.preventDefault();
147
+ this.toggleSelected();
148
+ }
149
+ else if (key === "ArrowRight") {
150
+ event.preventDefault();
151
+ const nextIndex = currentIndex + 1;
152
+ if (currentIndex === -1) {
153
+ if (!open && openable) {
154
+ this.open = true;
155
+ this.focusCell(null);
156
+ }
157
+ else if (cells[0]) {
158
+ this.focusCell(cells[0]);
159
+ }
160
+ }
161
+ else if (cells[currentIndex] && cells[nextIndex]) {
162
+ this.focusCell(cells[nextIndex]);
163
+ }
164
+ }
165
+ else if (key === "ArrowLeft") {
166
+ event.preventDefault();
167
+ const prevIndex = currentIndex - 1;
168
+ if (currentIndex === -1) {
169
+ this.focusCell(null);
170
+ if (open && openable) {
171
+ this.open = false;
172
+ }
173
+ else {
174
+ this.calciteInternalFocusPreviousItem.emit();
175
+ }
176
+ }
177
+ else if (currentIndex === 0) {
178
+ this.focusCell(null);
179
+ containerEl.focus();
180
+ }
181
+ else if (cells[currentIndex] && cells[prevIndex]) {
182
+ this.focusCell(cells[prevIndex]);
183
+ }
184
+ }
185
+ };
186
+ this.focusCellNull = () => {
187
+ this.focusCell(null);
188
+ };
189
+ this.focusCell = (focusEl, saveFocusIndex = true) => {
190
+ const { contentEl, actionsStartEl, actionsEndEl, parentListEl } = this;
191
+ if (saveFocusIndex) {
192
+ focusMap.set(parentListEl, null);
193
+ }
194
+ [actionsStartEl, contentEl, actionsEndEl].filter(Boolean).forEach((tableCell, cellIndex) => {
195
+ const tabIndexAttr = "tabindex";
196
+ if (tableCell === focusEl) {
197
+ tableCell.setAttribute(tabIndexAttr, "0");
198
+ saveFocusIndex && focusMap.set(parentListEl, cellIndex);
199
+ }
200
+ else {
201
+ tableCell.removeAttribute(tabIndexAttr);
202
+ }
203
+ });
204
+ focusEl === null || focusEl === void 0 ? void 0 : focusEl.focus();
205
+ };
206
+ }
207
+ activeHandler(active) {
208
+ if (!active) {
209
+ this.focusCell(null, false);
210
+ }
211
+ }
212
+ handleSelectedChange(value) {
213
+ if (value) {
214
+ this.calciteInternalListItemSelect.emit();
215
+ }
216
+ }
217
+ connectedCallback() {
218
+ const { el } = this;
219
+ this.parentListEl = el.closest(listSelector);
220
+ this.level = getDepth(el) + 1;
221
+ this.visualLevel = getDepth(el, true);
222
+ this.setSelectionDefaults();
53
223
  }
54
- //--------------------------------------------------------------------------
55
- //
56
- // Lifecycle
57
- //
58
- //--------------------------------------------------------------------------
59
224
  componentWillLoad() {
60
225
  setUpLoadableComponent(this);
61
226
  }
@@ -63,13 +228,7 @@ const ListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
63
228
  setComponentLoaded(this);
64
229
  }
65
230
  componentDidRender() {
66
- updateHostInteraction(this);
67
- }
68
- connectedCallback() {
69
- connectConditionalSlotComponent(this);
70
- }
71
- disconnectedCallback() {
72
- disconnectConditionalSlotComponent(this);
231
+ updateHostInteraction(this, "managed");
73
232
  }
74
233
  // --------------------------------------------------------------------------
75
234
  //
@@ -78,68 +237,144 @@ const ListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
78
237
  // --------------------------------------------------------------------------
79
238
  /** Sets focus on the component. */
80
239
  async setFocus() {
81
- var _a;
82
240
  await componentLoaded(this);
83
- (_a = this.focusEl) === null || _a === void 0 ? void 0 : _a.focus();
241
+ const { containerEl, contentEl, actionsStartEl, actionsEndEl, parentListEl } = this;
242
+ const focusIndex = focusMap.get(parentListEl);
243
+ if (typeof focusIndex === "number") {
244
+ const cells = [actionsStartEl, contentEl, actionsEndEl].filter(Boolean);
245
+ if (cells[focusIndex]) {
246
+ this.focusCell(cells[focusIndex]);
247
+ }
248
+ else {
249
+ containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
250
+ }
251
+ return;
252
+ }
253
+ containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
84
254
  }
85
255
  // --------------------------------------------------------------------------
86
256
  //
87
257
  // Render Methods
88
258
  //
89
259
  // --------------------------------------------------------------------------
260
+ renderSelected() {
261
+ const { selected, selectionMode, selectionAppearance } = this;
262
+ if (selectionMode === "none" || selectionAppearance === "border") {
263
+ return null;
264
+ }
265
+ return (h("td", { class: CSS.selectionContainer, key: "selection-container", onClick: this.toggleSelected }, h("calcite-icon", { icon: selected
266
+ ? selectionMode === "multiple"
267
+ ? ICONS.selectedMultiple
268
+ : ICONS.selectedSingle
269
+ : ICONS.unselected, scale: "s" })));
270
+ }
271
+ renderOpen() {
272
+ const { el, open, openable, parentListEl } = this;
273
+ const dir = getElementDir(el);
274
+ return openable ? (h("td", { class: CSS.openContainer, key: "open-container", onClick: this.toggleOpen }, h("calcite-icon", { icon: open ? ICONS.open : dir === "rtl" ? ICONS.closedRTL : ICONS.closedLTR, scale: "s" }))) : (parentListEl === null || parentListEl === void 0 ? void 0 : parentListEl.openable) ? (h("td", { class: CSS.openContainer, key: "open-container", onClick: this.toggleSelected }, h("calcite-icon", { icon: ICONS.blank, scale: "s" }))) : null;
275
+ }
90
276
  renderActionsStart() {
91
- const { el } = this;
92
- return getSlotted(el, SLOTS.actionsStart) ? (h("div", { class: CSS.actionsStart }, h("slot", { name: SLOTS.actionsStart }))) : null;
277
+ const { label, hasActionsStart } = this;
278
+ return (h("td", { "aria-label": label, class: CSS.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", ref: (el) => (this.actionsStartEl = el), role: "gridcell" }, h("slot", { name: SLOTS.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
93
279
  }
94
280
  renderActionsEnd() {
95
- const { el } = this;
96
- return getSlotted(el, SLOTS.actionsEnd) ? (h("div", { class: CSS.actionsEnd }, h("slot", { name: SLOTS.actionsEnd }))) : null;
281
+ const { label, hasActionsEnd } = this;
282
+ return (h("td", { "aria-label": label, class: CSS.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container", ref: (el) => (this.actionsEndEl = el), role: "gridcell" }, h("slot", { name: SLOTS.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
97
283
  }
98
284
  renderContentStart() {
99
- const { el } = this;
100
- return getSlotted(el, SLOTS.contentStart) ? (h("div", { class: CSS.contentStart }, h("slot", { name: SLOTS.contentStart }))) : null;
285
+ const { hasContentStart } = this;
286
+ return (h("div", { class: CSS.contentStart, hidden: !hasContentStart }, h("slot", { name: SLOTS.contentStart, onSlotchange: this.handleContentStartSlotChange })));
101
287
  }
102
288
  renderContentEnd() {
103
- const { el } = this;
104
- return getSlotted(el, SLOTS.contentEnd) ? (h("div", { class: CSS.contentEnd }, h("slot", { name: SLOTS.contentEnd }))) : null;
289
+ const { hasContentEnd } = this;
290
+ return (h("div", { class: CSS.contentEnd, hidden: !hasContentEnd }, h("slot", { name: SLOTS.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
105
291
  }
106
292
  renderContent() {
107
293
  const { label, description } = this;
108
- return !!label || !!description ? (h("div", { class: CSS.content }, label ? h("div", { class: CSS.label }, label) : null, description ? h("div", { class: CSS.description }, description) : null)) : null;
294
+ return !!label || !!description ? (h("div", { class: CSS.content, key: "content" }, label ? (h("div", { class: CSS.label, key: "label" }, label)) : null, description ? (h("div", { class: CSS.description, key: "description" }, description)) : null)) : null;
109
295
  }
110
296
  renderContentContainer() {
111
- const { description, disabled, label, nonInteractive } = this;
297
+ const { description, label, selectionMode } = this;
112
298
  const hasCenterContent = !!label || !!description;
113
299
  const content = [this.renderContentStart(), this.renderContent(), this.renderContentEnd()];
114
- return !nonInteractive ? (h("button", { class: {
300
+ return (h("td", { "aria-label": label, class: {
115
301
  [CSS.contentContainer]: true,
116
- [CSS.contentContainerButton]: true,
117
- [CSS.hasCenterContent]: hasCenterContent
118
- }, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (h("div", { class: { [CSS.contentContainer]: true, [CSS.hasCenterContent]: hasCenterContent }, ref: () => (this.focusEl = null) }, content));
302
+ [CSS.contentContainerSelectable]: selectionMode !== "none",
303
+ [CSS.contentContainerHasCenterContent]: hasCenterContent
304
+ }, key: "content-container", onClick: this.toggleSelected, ref: (el) => (this.contentEl = el), role: "gridcell" }, content));
119
305
  }
120
306
  render() {
121
- return (h(Host, { role: "listitem" }, h("div", { class: CSS.container }, this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), h("div", { class: CSS.nestedContainer }, h("slot", null))));
307
+ const { openable, open, level, setPosition, setSize, active, label, selected, selectionAppearance, selectionMode } = this;
308
+ const showBorder = selectionMode !== "none" && selectionAppearance === "border";
309
+ const borderSelected = showBorder && selected;
310
+ const borderUnselected = showBorder && !selected;
311
+ return (h(Host, null, h("tr", { "aria-expanded": openable ? toAriaBoolean(open) : null, "aria-label": label, "aria-level": level, "aria-posinset": setPosition, "aria-selected": toAriaBoolean(selected), "aria-setsize": setSize, class: {
312
+ [CSS.container]: true,
313
+ [CSS.containerBorderSelected]: borderSelected,
314
+ [CSS.containerBorderUnselected]: borderUnselected
315
+ }, 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()), h("div", { class: {
316
+ [CSS.nestedContainer]: true,
317
+ [CSS.nestedContainerHidden]: openable && !open
318
+ } }, h("slot", { onSlotchange: this.handleDefaultSlotChange }))));
319
+ }
320
+ setSelectionDefaults() {
321
+ const { parentListEl, selectionMode, selectionAppearance } = this;
322
+ if (!parentListEl) {
323
+ return;
324
+ }
325
+ if (!selectionMode) {
326
+ this.selectionMode = parentListEl.selectionMode;
327
+ }
328
+ if (!selectionAppearance) {
329
+ this.selectionAppearance = parentListEl.selectionAppearance;
330
+ }
122
331
  }
123
332
  get el() { return this; }
333
+ static get watchers() { return {
334
+ "active": ["activeHandler"],
335
+ "selected": ["handleSelectedChange"]
336
+ }; }
124
337
  static get style() { return listItemCss; }
125
338
  }, [1, "calcite-list-item", {
126
- "nonInteractive": [516, "non-interactive"],
339
+ "active": [4],
127
340
  "description": [1],
128
341
  "disabled": [516],
129
342
  "label": [1],
343
+ "metadata": [16],
344
+ "nonInteractive": [516, "non-interactive"],
345
+ "open": [1540],
346
+ "setSize": [2, "set-size"],
347
+ "setPosition": [2, "set-position"],
348
+ "selected": [1540],
349
+ "value": [8],
350
+ "selectionMode": [1025, "selection-mode"],
351
+ "selectionAppearance": [1025, "selection-appearance"],
352
+ "level": [32],
353
+ "visualLevel": [32],
354
+ "parentListEl": [32],
355
+ "openable": [32],
356
+ "hasActionsStart": [32],
357
+ "hasActionsEnd": [32],
358
+ "hasContentStart": [32],
359
+ "hasContentEnd": [32],
130
360
  "setFocus": [64]
131
361
  }]);
132
362
  function defineCustomElement$1() {
133
363
  if (typeof customElements === "undefined") {
134
364
  return;
135
365
  }
136
- const components = ["calcite-list-item"];
366
+ const components = ["calcite-list-item", "calcite-icon"];
137
367
  components.forEach(tagName => { switch (tagName) {
138
368
  case "calcite-list-item":
139
369
  if (!customElements.get(tagName)) {
140
370
  customElements.define(tagName, ListItem);
141
371
  }
142
372
  break;
373
+ case "calcite-icon":
374
+ if (!customElements.get(tagName)) {
375
+ defineCustomElement$2();
376
+ }
377
+ break;
143
378
  } });
144
379
  }
145
380
  defineCustomElement$1();