@esri/calcite-components 1.3.0-next.6 → 1.3.0-next.8

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 (764) hide show
  1. package/dist/calcite/assets/list-item/t9n/index.d.ts +3 -0
  2. package/dist/calcite/assets/list-item/t9n/messages.json +3 -0
  3. package/dist/calcite/assets/list-item/t9n/messages_ar.json +3 -0
  4. package/dist/calcite/assets/list-item/t9n/messages_bg.json +3 -0
  5. package/dist/calcite/assets/list-item/t9n/messages_bs.json +3 -0
  6. package/dist/calcite/assets/list-item/t9n/messages_ca.json +3 -0
  7. package/dist/calcite/assets/list-item/t9n/messages_cs.json +3 -0
  8. package/dist/calcite/assets/list-item/t9n/messages_da.json +3 -0
  9. package/dist/calcite/assets/list-item/t9n/messages_de.json +3 -0
  10. package/dist/calcite/assets/list-item/t9n/messages_el.json +3 -0
  11. package/dist/calcite/assets/list-item/t9n/messages_en.json +3 -0
  12. package/dist/calcite/assets/list-item/t9n/messages_es.json +3 -0
  13. package/dist/calcite/assets/list-item/t9n/messages_et.json +3 -0
  14. package/dist/calcite/assets/list-item/t9n/messages_fi.json +3 -0
  15. package/dist/calcite/assets/list-item/t9n/messages_fr.json +3 -0
  16. package/dist/calcite/assets/list-item/t9n/messages_he.json +3 -0
  17. package/dist/calcite/assets/list-item/t9n/messages_hr.json +3 -0
  18. package/dist/calcite/assets/list-item/t9n/messages_hu.json +3 -0
  19. package/dist/calcite/assets/list-item/t9n/messages_id.json +3 -0
  20. package/dist/calcite/assets/list-item/t9n/messages_it.json +3 -0
  21. package/dist/calcite/assets/list-item/t9n/messages_ja.json +3 -0
  22. package/dist/calcite/assets/list-item/t9n/messages_ko.json +3 -0
  23. package/dist/calcite/assets/list-item/t9n/messages_lt.json +3 -0
  24. package/dist/calcite/assets/list-item/t9n/messages_lv.json +3 -0
  25. package/dist/calcite/assets/list-item/t9n/messages_nl.json +3 -0
  26. package/dist/calcite/assets/list-item/t9n/messages_no.json +3 -0
  27. package/dist/calcite/assets/list-item/t9n/messages_pl.json +3 -0
  28. package/dist/calcite/assets/list-item/t9n/messages_pt-BR.json +3 -0
  29. package/dist/calcite/assets/list-item/t9n/messages_pt-PT.json +3 -0
  30. package/dist/calcite/assets/list-item/t9n/messages_ro.json +3 -0
  31. package/dist/calcite/assets/list-item/t9n/messages_ru.json +3 -0
  32. package/dist/calcite/assets/list-item/t9n/messages_sk.json +3 -0
  33. package/dist/calcite/assets/list-item/t9n/messages_sl.json +3 -0
  34. package/dist/calcite/assets/list-item/t9n/messages_sr.json +3 -0
  35. package/dist/calcite/assets/list-item/t9n/messages_sv.json +3 -0
  36. package/dist/calcite/assets/list-item/t9n/messages_th.json +3 -0
  37. package/dist/calcite/assets/list-item/t9n/messages_tr.json +3 -0
  38. package/dist/calcite/assets/list-item/t9n/messages_uk.json +3 -0
  39. package/dist/calcite/assets/list-item/t9n/messages_vi.json +3 -0
  40. package/dist/calcite/assets/list-item/t9n/messages_zh-CN.json +3 -0
  41. package/dist/calcite/assets/list-item/t9n/messages_zh-HK.json +3 -0
  42. package/dist/calcite/assets/list-item/t9n/messages_zh-TW.json +3 -0
  43. package/dist/calcite/calcite.esm.js +2 -2
  44. package/dist/calcite/index.esm.js +2 -2
  45. package/dist/calcite/{p-6d34458b.js → p-02cc29e0.js} +2 -2
  46. package/dist/calcite/{p-5314d81a.entry.js → p-04a84ee8.entry.js} +2 -2
  47. package/dist/calcite/{p-a839b13e.js → p-075d84ef.js} +2 -2
  48. package/dist/calcite/{p-47b94666.entry.js → p-082ff42f.entry.js} +2 -2
  49. package/dist/calcite/{p-e2351972.entry.js → p-0cc91a2e.entry.js} +2 -2
  50. package/dist/calcite/{p-7d608fac.entry.js → p-0ea47f40.entry.js} +2 -2
  51. package/dist/calcite/p-0f68795e.entry.js +6 -0
  52. package/dist/calcite/{p-2916d835.entry.js → p-17e01bcb.entry.js} +2 -2
  53. package/dist/calcite/{p-af30f5c0.js → p-19725036.js} +2 -2
  54. package/dist/calcite/{p-23ba9a9a.js → p-1a4a092e.js} +1 -1
  55. package/dist/calcite/{p-75b13580.entry.js → p-1d6b2c94.entry.js} +2 -2
  56. package/dist/calcite/{p-ddc200a9.entry.js → p-1eb5009e.entry.js} +2 -2
  57. package/dist/calcite/{p-aa141481.entry.js → p-214d226b.entry.js} +2 -2
  58. package/dist/calcite/{p-9ca592ed.entry.js → p-2b212ee2.entry.js} +2 -2
  59. package/dist/calcite/{p-2baefca4.js → p-2b5e0667.js} +2 -2
  60. package/dist/calcite/{p-40340a3e.js → p-2d21e692.js} +3 -3
  61. package/dist/calcite/{p-2a8fb823.js → p-2efc2840.js} +2 -2
  62. package/dist/calcite/{p-983131cf.js → p-340a4bca.js} +1 -1
  63. package/dist/calcite/{p-2f20408c.entry.js → p-39f2d546.entry.js} +2 -2
  64. package/dist/calcite/{p-2d82e156.entry.js → p-3d3cceda.entry.js} +2 -2
  65. package/dist/calcite/{p-91038624.entry.js → p-3e4f6c5f.entry.js} +2 -2
  66. package/dist/calcite/{p-5765b626.js → p-4237ec74.js} +2 -2
  67. package/dist/calcite/p-4729e87c.js +6 -0
  68. package/dist/calcite/{p-86816ca3.entry.js → p-48f7b737.entry.js} +2 -2
  69. package/dist/calcite/{p-c3f6c26c.entry.js → p-4defba2f.entry.js} +2 -2
  70. package/dist/calcite/{p-63168a45.entry.js → p-50266ec7.entry.js} +2 -2
  71. package/dist/calcite/{p-b573b86e.entry.js → p-5173e576.entry.js} +2 -2
  72. package/dist/calcite/{p-c89629a7.entry.js → p-57088007.entry.js} +2 -2
  73. package/dist/calcite/{p-83555555.entry.js → p-591325e4.entry.js} +2 -2
  74. package/dist/calcite/{p-0e3fa332.js → p-5c9f4121.js} +1 -1
  75. package/dist/calcite/{p-c3ce505e.js → p-61a60b6f.js} +1 -1
  76. package/dist/calcite/{p-a83ad02f.entry.js → p-622d071d.entry.js} +2 -2
  77. package/dist/calcite/{p-0b2fb42c.js → p-643cdae0.js} +1 -1
  78. package/dist/calcite/{p-b69aefcf.js → p-6c9c7e32.js} +1 -1
  79. package/dist/calcite/{p-b990dc39.entry.js → p-6e39aed4.entry.js} +2 -2
  80. package/dist/calcite/{p-bc002e46.entry.js → p-70e74660.entry.js} +2 -2
  81. package/dist/calcite/{p-2ce03e4d.js → p-73c298f0.js} +1 -1
  82. package/dist/calcite/p-7a0970dc.entry.js +6 -0
  83. package/dist/calcite/{p-d4546054.entry.js → p-7d8a1122.entry.js} +2 -2
  84. package/dist/calcite/{p-c8a8b040.entry.js → p-7d922ff1.entry.js} +2 -2
  85. package/dist/calcite/{p-91a668ae.js → p-82102e91.js} +1 -1
  86. package/dist/calcite/{p-308fcdad.entry.js → p-82d4e7d3.entry.js} +2 -2
  87. package/dist/calcite/{p-87973558.entry.js → p-857dea3f.entry.js} +2 -2
  88. package/dist/calcite/p-8849cd89.js +6 -0
  89. package/dist/calcite/{p-7f5490ea.entry.js → p-8914c807.entry.js} +2 -2
  90. package/dist/calcite/{p-2615e1d8.entry.js → p-89bae976.entry.js} +2 -2
  91. package/dist/calcite/{p-be2d38f0.entry.js → p-8e54a861.entry.js} +2 -2
  92. package/dist/calcite/{p-f8f28a4d.entry.js → p-8e556090.entry.js} +2 -2
  93. package/dist/calcite/{p-5bb0b9c3.js → p-921f1ae4.js} +2 -2
  94. package/dist/calcite/p-9236cff0.entry.js +6 -0
  95. package/dist/calcite/{p-81e50d13.entry.js → p-923be262.entry.js} +2 -2
  96. package/dist/calcite/{p-0096c18c.entry.js → p-98cb6c0d.entry.js} +2 -2
  97. package/dist/calcite/{p-14505a38.entry.js → p-992d770b.entry.js} +2 -2
  98. package/dist/calcite/{p-8aea6efe.js → p-9a047468.js} +1 -1
  99. package/dist/calcite/{p-da81ba5a.js → p-9cfbc732.js} +1 -1
  100. package/dist/calcite/{p-9b8fe634.entry.js → p-a2644ec8.entry.js} +2 -2
  101. package/dist/calcite/p-a319b5b2.js +6 -0
  102. package/dist/calcite/{p-faa8b5f9.entry.js → p-aa1fc406.entry.js} +2 -2
  103. package/dist/calcite/{p-a808cbc9.entry.js → p-aa7f6dd8.entry.js} +2 -2
  104. package/dist/calcite/{p-91bfe44c.entry.js → p-abbc14e4.entry.js} +2 -2
  105. package/dist/calcite/{p-c3698cac.entry.js → p-b2a931c4.entry.js} +2 -2
  106. package/dist/calcite/p-b72fd6d0.js +6 -0
  107. package/dist/calcite/{p-ee3f7d66.entry.js → p-b7467694.entry.js} +2 -2
  108. package/dist/calcite/{p-18591b6d.entry.js → p-b7d1254d.entry.js} +2 -2
  109. package/dist/calcite/{p-a440f948.js → p-b99b051e.js} +1 -1
  110. package/dist/calcite/{p-76a89e70.js → p-bc3eb770.js} +1 -1
  111. package/dist/calcite/{p-50ff5c81.entry.js → p-c059ad62.entry.js} +2 -2
  112. package/dist/calcite/p-c58cfed4.js +6 -0
  113. package/dist/calcite/{p-88214199.js → p-c6ae152e.js} +1 -1
  114. package/dist/calcite/{p-6f7911a9.js → p-cabc3f8d.js} +1 -1
  115. package/dist/calcite/{p-f8186050.entry.js → p-ccc91ac5.entry.js} +2 -2
  116. package/dist/calcite/{p-e8be07ae.js → p-ce1bb029.js} +2 -2
  117. package/dist/calcite/{p-693a44e7.entry.js → p-d2bcd9b0.entry.js} +2 -2
  118. package/dist/calcite/{p-69b20d6b.entry.js → p-d4894ad9.entry.js} +2 -2
  119. package/dist/calcite/{p-a9c93c28.entry.js → p-d68288be.entry.js} +2 -2
  120. package/dist/calcite/{p-fd0c9445.entry.js → p-d97b5fa6.entry.js} +2 -2
  121. package/dist/calcite/{p-d28a2a52.entry.js → p-dbcc7c82.entry.js} +2 -2
  122. package/dist/calcite/{p-10b20094.entry.js → p-de1b9017.entry.js} +2 -2
  123. package/dist/calcite/{p-9beb695e.entry.js → p-df506c66.entry.js} +2 -2
  124. package/dist/calcite/{p-844d962f.js → p-dfeb184d.js} +2 -2
  125. package/dist/calcite/{p-926362a1.js → p-e59ca12f.js} +1 -1
  126. package/dist/calcite/{p-c888dd14.entry.js → p-ed104f05.entry.js} +2 -2
  127. package/dist/calcite/p-ed3095e6.entry.js +6 -0
  128. package/dist/calcite/{p-0d028610.js → p-edea2eb5.js} +1 -1
  129. package/dist/calcite/{p-df92e2d3.entry.js → p-ef1df68b.entry.js} +2 -2
  130. package/dist/calcite/{p-2777e721.entry.js → p-f0f4380a.entry.js} +2 -2
  131. package/dist/calcite/{p-e233eecc.entry.js → p-f124fd1b.entry.js} +2 -2
  132. package/dist/calcite/{p-9c967222.js → p-f148be32.js} +2 -2
  133. package/dist/calcite/{p-589274bd.entry.js → p-f1a937e0.entry.js} +2 -2
  134. package/dist/calcite/{p-0fa2db95.entry.js → p-f44764ed.entry.js} +2 -2
  135. package/dist/calcite/p-f5850702.entry.js +6 -0
  136. package/dist/calcite/{p-cbf739ac.js → p-f65fbbf4.js} +1 -1
  137. package/dist/calcite/{p-57a212d9.entry.js → p-fa64b1f6.entry.js} +2 -2
  138. package/dist/calcite/{p-8914e2a9.entry.js → p-fcb8a76b.entry.js} +2 -2
  139. package/dist/cjs/{ExpandToggle-c814e5c6.js → ExpandToggle-d9bae9aa.js} +5 -5
  140. package/dist/cjs/{Heading-25487113.js → Heading-e644e845.js} +2 -2
  141. package/dist/cjs/{app-globals-a27e1704.js → app-globals-45193971.js} +2 -2
  142. package/dist/cjs/{array-961116a2.js → array-ab9d7c24.js} +1 -1
  143. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  144. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  145. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  146. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  147. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  148. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  149. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  150. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  151. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  152. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  153. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  154. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  155. package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
  156. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
  157. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  158. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  159. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  160. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  161. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  162. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  163. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  164. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  165. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  166. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  167. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  168. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
  169. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  170. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  171. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  172. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
  173. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  174. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  175. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  176. package/dist/cjs/calcite-list_3.cjs.entry.js +52 -18
  177. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  178. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  179. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  180. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  181. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  182. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  183. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  184. package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
  185. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  186. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  187. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  188. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  189. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  190. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  191. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  192. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  193. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  194. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  195. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  196. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  197. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  198. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  199. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  200. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  201. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-tree_2.cjs.entry.js +38 -22
  203. package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -16
  204. package/dist/cjs/calcite.cjs.js +5 -5
  205. package/dist/cjs/{composed-offset-position.esm-3278b510.js → composed-offset-position.esm-1bed4d03.js} +1 -1
  206. package/dist/cjs/{conditionalSlot-b61d3e5b.js → conditionalSlot-be9bba3c.js} +3 -3
  207. package/dist/cjs/{debounce-b5dcc40c.js → debounce-b1fd4a91.js} +1 -1
  208. package/dist/cjs/{dom-b74b4c56.js → dom-6e5b80d7.js} +3 -3
  209. package/dist/cjs/{filter-a5d9a893.js → filter-18a59b99.js} +2 -2
  210. package/dist/cjs/{floating-ui-5e2345ed.js → floating-ui-f027f717.js} +4 -4
  211. package/dist/cjs/{focusTrapComponent-dae92832.js → focusTrapComponent-fc32da3f.js} +2 -2
  212. package/dist/cjs/{form-b6c6caba.js → form-77e65905.js} +3 -3
  213. package/dist/cjs/{guid-90b7233d.js → guid-87bae386.js} +1 -1
  214. package/dist/cjs/{index-c9b3d139.js → index-d9f91d27.js} +1 -1
  215. package/dist/cjs/index.cjs.js +2 -2
  216. package/dist/cjs/{interactive-dafbc2b5.js → interactive-b3c5800a.js} +1 -1
  217. package/dist/cjs/{key-24105a8f.js → key-e2645805.js} +1 -1
  218. package/dist/cjs/{label-a2024a43.js → label-73bd6853.js} +2 -2
  219. package/dist/cjs/{loadable-c451b428.js → loadable-cd7912e8.js} +1 -1
  220. package/dist/cjs/loader.cjs.js +5 -5
  221. package/dist/cjs/{locale-701f9045.js → locale-19aed2c2.js} +4 -4
  222. package/dist/cjs/{math-7d9bd532.js → math-4f3a510a.js} +1 -1
  223. package/dist/cjs/{observers-70a2828a.js → observers-6481db7e.js} +1 -1
  224. package/dist/cjs/{openCloseComponent-6fe5da96.js → openCloseComponent-99f70822.js} +2 -2
  225. package/dist/cjs/{resources-31a80732.js → resources-09fa9baa.js} +1 -1
  226. package/dist/cjs/{resources-7fa6dd35.js → resources-4981ce14.js} +5 -5
  227. package/dist/cjs/{resources-4de92242.js → resources-5cd44f0f.js} +1 -1
  228. package/dist/cjs/{resources-9f5a1d86.js → resources-613f24ac.js} +1 -1
  229. package/dist/cjs/{resources-fc0f3f04.js → resources-64bacfe7.js} +1 -1
  230. package/dist/cjs/{resources-fe806005.js → resources-e6098fe3.js} +1 -1
  231. package/dist/cjs/{sortable.esm-b901e028.js → sortable.esm-040c6f0d.js} +1 -1
  232. package/dist/cjs/{t9n-c1f42400.js → t9n-28ea027e.js} +3 -3
  233. package/dist/cjs/{throttle-ef440544.js → throttle-18a53bc7.js} +2 -2
  234. package/dist/cjs/{utils-69c9108a.js → utils-04935531.js} +3 -3
  235. package/dist/cjs/{utils-14020ab5.js → utils-0aba8316.js} +1 -1
  236. package/dist/collection/components/accordion/accordion.js +1 -1
  237. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  238. package/dist/collection/components/accordion-item/resources.js +1 -1
  239. package/dist/collection/components/action/action.js +1 -1
  240. package/dist/collection/components/action/resources.js +1 -1
  241. package/dist/collection/components/action-bar/action-bar.js +1 -1
  242. package/dist/collection/components/action-bar/resources.js +1 -1
  243. package/dist/collection/components/action-bar/utils.js +1 -1
  244. package/dist/collection/components/action-group/action-group.js +1 -1
  245. package/dist/collection/components/action-group/resources.js +1 -1
  246. package/dist/collection/components/action-menu/action-menu.js +1 -1
  247. package/dist/collection/components/action-menu/resources.js +1 -1
  248. package/dist/collection/components/action-pad/action-pad.js +1 -1
  249. package/dist/collection/components/action-pad/resources.js +1 -1
  250. package/dist/collection/components/alert/alert.js +1 -1
  251. package/dist/collection/components/alert/resources.js +1 -1
  252. package/dist/collection/components/avatar/avatar.js +1 -1
  253. package/dist/collection/components/avatar/utils.js +1 -1
  254. package/dist/collection/components/block/block.js +1 -1
  255. package/dist/collection/components/block/resources.js +1 -1
  256. package/dist/collection/components/block-section/block-section.js +1 -1
  257. package/dist/collection/components/block-section/resources.js +1 -1
  258. package/dist/collection/components/button/button.js +1 -1
  259. package/dist/collection/components/button/resources.js +1 -1
  260. package/dist/collection/components/card/card.js +1 -1
  261. package/dist/collection/components/card/resources.js +1 -1
  262. package/dist/collection/components/checkbox/checkbox.js +1 -1
  263. package/dist/collection/components/chip/chip.js +1 -1
  264. package/dist/collection/components/chip/resources.js +1 -1
  265. package/dist/collection/components/color-picker/color-picker.js +1 -1
  266. package/dist/collection/components/color-picker/resources.js +1 -1
  267. package/dist/collection/components/color-picker/utils.js +1 -1
  268. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  269. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  270. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  271. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  272. package/dist/collection/components/combobox/combobox.js +1 -1
  273. package/dist/collection/components/combobox/resources.js +1 -1
  274. package/dist/collection/components/combobox/utils.js +1 -1
  275. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  276. package/dist/collection/components/combobox-item/resources.js +1 -1
  277. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  278. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  279. package/dist/collection/components/date-picker/date-picker.js +1 -1
  280. package/dist/collection/components/date-picker/resources.js +1 -1
  281. package/dist/collection/components/date-picker/utils.js +1 -1
  282. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  283. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  284. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  285. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  286. package/dist/collection/components/dropdown/dropdown.js +1 -1
  287. package/dist/collection/components/dropdown/resources.js +1 -1
  288. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  289. package/dist/collection/components/dropdown-group/resources.js +1 -1
  290. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  291. package/dist/collection/components/dropdown-item/resources.js +1 -1
  292. package/dist/collection/components/fab/fab.js +1 -1
  293. package/dist/collection/components/fab/resources.js +1 -1
  294. package/dist/collection/components/filter/filter.js +1 -1
  295. package/dist/collection/components/filter/resources.js +1 -1
  296. package/dist/collection/components/flow/flow.js +1 -1
  297. package/dist/collection/components/flow/resources.js +1 -1
  298. package/dist/collection/components/flow-item/flow-item.js +1 -1
  299. package/dist/collection/components/flow-item/resources.js +1 -1
  300. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  301. package/dist/collection/components/functional/Heading.js +1 -1
  302. package/dist/collection/components/graph/graph.js +1 -1
  303. package/dist/collection/components/graph/util.js +1 -1
  304. package/dist/collection/components/handle/handle.js +1 -1
  305. package/dist/collection/components/handle/resources.js +1 -1
  306. package/dist/collection/components/icon/icon.js +1 -1
  307. package/dist/collection/components/icon/resources.js +1 -1
  308. package/dist/collection/components/icon/utils.js +1 -1
  309. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  310. package/dist/collection/components/inline-editable/resources.js +1 -1
  311. package/dist/collection/components/input/input.js +1 -1
  312. package/dist/collection/components/input/resources.js +1 -1
  313. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  314. package/dist/collection/components/input-date-picker/resources.js +1 -1
  315. package/dist/collection/components/input-message/input-message.js +1 -1
  316. package/dist/collection/components/input-message/interfaces.js +1 -1
  317. package/dist/collection/components/input-number/input-number.js +1 -1
  318. package/dist/collection/components/input-number/resources.js +1 -1
  319. package/dist/collection/components/input-text/input-text.js +1 -1
  320. package/dist/collection/components/input-text/resources.js +1 -1
  321. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  322. package/dist/collection/components/label/label.js +1 -1
  323. package/dist/collection/components/label/resources.js +1 -1
  324. package/dist/collection/components/link/link.js +1 -1
  325. package/dist/collection/components/list/list.js +11 -2
  326. package/dist/collection/components/list/resources.js +1 -1
  327. package/dist/collection/components/list-item/assets/list-item/t9n/index.d.ts +3 -0
  328. package/dist/collection/components/list-item/assets/list-item/t9n/messages.json +3 -0
  329. package/dist/collection/components/list-item/assets/list-item/t9n/messages_ar.json +3 -0
  330. package/dist/collection/components/list-item/assets/list-item/t9n/messages_bg.json +3 -0
  331. package/dist/collection/components/list-item/assets/list-item/t9n/messages_bs.json +3 -0
  332. package/dist/collection/components/list-item/assets/list-item/t9n/messages_ca.json +3 -0
  333. package/dist/collection/components/list-item/assets/list-item/t9n/messages_cs.json +3 -0
  334. package/dist/collection/components/list-item/assets/list-item/t9n/messages_da.json +3 -0
  335. package/dist/collection/components/list-item/assets/list-item/t9n/messages_de.json +3 -0
  336. package/dist/collection/components/list-item/assets/list-item/t9n/messages_el.json +3 -0
  337. package/dist/collection/components/list-item/assets/list-item/t9n/messages_en.json +3 -0
  338. package/dist/collection/components/list-item/assets/list-item/t9n/messages_es.json +3 -0
  339. package/dist/collection/components/list-item/assets/list-item/t9n/messages_et.json +3 -0
  340. package/dist/collection/components/list-item/assets/list-item/t9n/messages_fi.json +3 -0
  341. package/dist/collection/components/list-item/assets/list-item/t9n/messages_fr.json +3 -0
  342. package/dist/collection/components/list-item/assets/list-item/t9n/messages_he.json +3 -0
  343. package/dist/collection/components/list-item/assets/list-item/t9n/messages_hr.json +3 -0
  344. package/dist/collection/components/list-item/assets/list-item/t9n/messages_hu.json +3 -0
  345. package/dist/collection/components/list-item/assets/list-item/t9n/messages_id.json +3 -0
  346. package/dist/collection/components/list-item/assets/list-item/t9n/messages_it.json +3 -0
  347. package/dist/collection/components/list-item/assets/list-item/t9n/messages_ja.json +3 -0
  348. package/dist/collection/components/list-item/assets/list-item/t9n/messages_ko.json +3 -0
  349. package/dist/collection/components/list-item/assets/list-item/t9n/messages_lt.json +3 -0
  350. package/dist/collection/components/list-item/assets/list-item/t9n/messages_lv.json +3 -0
  351. package/dist/collection/components/list-item/assets/list-item/t9n/messages_nl.json +3 -0
  352. package/dist/collection/components/list-item/assets/list-item/t9n/messages_no.json +3 -0
  353. package/dist/collection/components/list-item/assets/list-item/t9n/messages_pl.json +3 -0
  354. package/dist/collection/components/list-item/assets/list-item/t9n/messages_pt-BR.json +3 -0
  355. package/dist/collection/components/list-item/assets/list-item/t9n/messages_pt-PT.json +3 -0
  356. package/dist/collection/components/list-item/assets/list-item/t9n/messages_ro.json +3 -0
  357. package/dist/collection/components/list-item/assets/list-item/t9n/messages_ru.json +3 -0
  358. package/dist/collection/components/list-item/assets/list-item/t9n/messages_sk.json +3 -0
  359. package/dist/collection/components/list-item/assets/list-item/t9n/messages_sl.json +3 -0
  360. package/dist/collection/components/list-item/assets/list-item/t9n/messages_sr.json +3 -0
  361. package/dist/collection/components/list-item/assets/list-item/t9n/messages_sv.json +3 -0
  362. package/dist/collection/components/list-item/assets/list-item/t9n/messages_th.json +3 -0
  363. package/dist/collection/components/list-item/assets/list-item/t9n/messages_tr.json +3 -0
  364. package/dist/collection/components/list-item/assets/list-item/t9n/messages_uk.json +3 -0
  365. package/dist/collection/components/list-item/assets/list-item/t9n/messages_vi.json +3 -0
  366. package/dist/collection/components/list-item/assets/list-item/t9n/messages_zh-CN.json +3 -0
  367. package/dist/collection/components/list-item/assets/list-item/t9n/messages_zh-HK.json +3 -0
  368. package/dist/collection/components/list-item/assets/list-item/t9n/messages_zh-TW.json +3 -0
  369. package/dist/collection/components/list-item/list-item.js +138 -7
  370. package/dist/collection/components/list-item/resources.js +3 -2
  371. package/dist/collection/components/list-item/utils.js +1 -1
  372. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  373. package/dist/collection/components/list-item-group/resources.js +1 -1
  374. package/dist/collection/components/loader/loader.js +1 -1
  375. package/dist/collection/components/modal/modal.js +1 -1
  376. package/dist/collection/components/modal/resources.js +1 -1
  377. package/dist/collection/components/notice/notice.js +1 -1
  378. package/dist/collection/components/notice/resources.js +1 -1
  379. package/dist/collection/components/option/option.js +1 -1
  380. package/dist/collection/components/option-group/option-group.js +1 -1
  381. package/dist/collection/components/pagination/pagination.js +1 -1
  382. package/dist/collection/components/pagination/resources.js +1 -1
  383. package/dist/collection/components/panel/panel.js +1 -1
  384. package/dist/collection/components/panel/resources.js +1 -1
  385. package/dist/collection/components/pick-list/pick-list.js +1 -1
  386. package/dist/collection/components/pick-list/resources.js +1 -1
  387. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  388. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  389. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  390. package/dist/collection/components/pick-list-group/resources.js +1 -1
  391. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  392. package/dist/collection/components/pick-list-item/resources.js +1 -1
  393. package/dist/collection/components/popover/PopoverManager.js +1 -1
  394. package/dist/collection/components/popover/popover.js +1 -1
  395. package/dist/collection/components/popover/resources.js +1 -1
  396. package/dist/collection/components/progress/progress.js +1 -1
  397. package/dist/collection/components/radio-button/radio-button.js +1 -1
  398. package/dist/collection/components/radio-button/resources.js +1 -1
  399. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  400. package/dist/collection/components/rating/function/star.js +1 -1
  401. package/dist/collection/components/rating/rating.js +1 -1
  402. package/dist/collection/components/resources.js +1 -1
  403. package/dist/collection/components/scrim/resources.js +1 -1
  404. package/dist/collection/components/scrim/scrim.js +1 -1
  405. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  406. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  407. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  408. package/dist/collection/components/select/resources.js +1 -1
  409. package/dist/collection/components/select/select.js +1 -1
  410. package/dist/collection/components/shell/resources.js +1 -1
  411. package/dist/collection/components/shell/shell.js +1 -1
  412. package/dist/collection/components/shell-center-row/resources.js +1 -1
  413. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  414. package/dist/collection/components/shell-panel/resources.js +1 -1
  415. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  416. package/dist/collection/components/slider/resources.js +1 -1
  417. package/dist/collection/components/slider/slider.js +1 -1
  418. package/dist/collection/components/sortable-list/resources.js +1 -1
  419. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  420. package/dist/collection/components/split-button/resources.js +1 -1
  421. package/dist/collection/components/split-button/split-button.js +1 -1
  422. package/dist/collection/components/stepper/stepper.js +1 -1
  423. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  424. package/dist/collection/components/switch/switch.js +1 -1
  425. package/dist/collection/components/tab/tab.js +1 -1
  426. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  427. package/dist/collection/components/tab-title/resources.js +1 -1
  428. package/dist/collection/components/tab-title/tab-title.js +1 -1
  429. package/dist/collection/components/tabs/resources.js +1 -1
  430. package/dist/collection/components/tabs/tabs.js +1 -1
  431. package/dist/collection/components/text-area/resources.js +1 -1
  432. package/dist/collection/components/text-area/text-area.js +1 -1
  433. package/dist/collection/components/tile/resources.js +1 -1
  434. package/dist/collection/components/tile/tile.js +1 -1
  435. package/dist/collection/components/tile-select/resources.js +1 -1
  436. package/dist/collection/components/tile-select/tile-select.js +1 -1
  437. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  438. package/dist/collection/components/time-picker/resources.js +1 -1
  439. package/dist/collection/components/time-picker/time-picker.js +1 -1
  440. package/dist/collection/components/tip/resources.js +1 -1
  441. package/dist/collection/components/tip/tip.js +1 -1
  442. package/dist/collection/components/tip-group/tip-group.js +1 -1
  443. package/dist/collection/components/tip-manager/resources.js +1 -1
  444. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  445. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  446. package/dist/collection/components/tooltip/resources.js +1 -1
  447. package/dist/collection/components/tooltip/tooltip.js +1 -1
  448. package/dist/collection/components/tooltip/utils.js +1 -1
  449. package/dist/collection/components/tree/tree.js +1 -1
  450. package/dist/collection/components/tree/utils.js +1 -1
  451. package/dist/collection/components/tree-item/resources.js +1 -1
  452. package/dist/collection/components/tree-item/tree-item.js +32 -15
  453. package/dist/collection/components/value-list/resources.js +1 -1
  454. package/dist/collection/components/value-list/utils.js +1 -1
  455. package/dist/collection/components/value-list/value-list.js +1 -1
  456. package/dist/collection/components/value-list-item/resources.js +1 -1
  457. package/dist/collection/components/value-list-item/value-list-item.js +20 -1
  458. package/dist/collection/index.js +1 -1
  459. package/dist/collection/utils/array.js +1 -1
  460. package/dist/collection/utils/conditionalSlot.js +1 -1
  461. package/dist/collection/utils/config.js +1 -1
  462. package/dist/collection/utils/date.js +1 -1
  463. package/dist/collection/utils/dom.js +1 -1
  464. package/dist/collection/utils/filter.js +1 -1
  465. package/dist/collection/utils/floating-ui.js +1 -1
  466. package/dist/collection/utils/focusTrapComponent.js +1 -1
  467. package/dist/collection/utils/form.js +1 -1
  468. package/dist/collection/utils/globalAttributes.js +1 -1
  469. package/dist/collection/utils/globalScript.js +1 -1
  470. package/dist/collection/utils/guid.js +1 -1
  471. package/dist/collection/utils/interactive.js +1 -1
  472. package/dist/collection/utils/key.js +1 -1
  473. package/dist/collection/utils/label.js +1 -1
  474. package/dist/collection/utils/loadable.js +1 -1
  475. package/dist/collection/utils/locale.js +1 -1
  476. package/dist/collection/utils/math.js +1 -1
  477. package/dist/collection/utils/mode.js +1 -1
  478. package/dist/collection/utils/number.js +1 -1
  479. package/dist/collection/utils/observers.js +1 -1
  480. package/dist/collection/utils/openCloseComponent.js +1 -1
  481. package/dist/collection/utils/resources.js +1 -1
  482. package/dist/collection/utils/t9n.js +1 -1
  483. package/dist/collection/utils/time.js +1 -1
  484. package/dist/components/ExpandToggle.js +1 -1
  485. package/dist/components/Heading.js +1 -1
  486. package/dist/components/action-group.js +1 -1
  487. package/dist/components/action-menu.js +1 -1
  488. package/dist/components/action.js +1 -1
  489. package/dist/components/array.js +1 -1
  490. package/dist/components/button.js +1 -1
  491. package/dist/components/calcite-accordion-item.js +1 -1
  492. package/dist/components/calcite-accordion.js +1 -1
  493. package/dist/components/calcite-action-bar.js +1 -1
  494. package/dist/components/calcite-action-group.js +1 -1
  495. package/dist/components/calcite-action-menu.js +1 -1
  496. package/dist/components/calcite-action-pad.js +1 -1
  497. package/dist/components/calcite-action.js +1 -1
  498. package/dist/components/calcite-alert.js +1 -1
  499. package/dist/components/calcite-avatar.js +1 -1
  500. package/dist/components/calcite-block-section.js +1 -1
  501. package/dist/components/calcite-block.js +1 -1
  502. package/dist/components/calcite-button.js +1 -1
  503. package/dist/components/calcite-card.js +1 -1
  504. package/dist/components/calcite-checkbox.js +1 -1
  505. package/dist/components/calcite-chip.js +1 -1
  506. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  507. package/dist/components/calcite-color-picker-swatch.js +1 -1
  508. package/dist/components/calcite-color-picker.js +1 -1
  509. package/dist/components/calcite-combobox-item-group.js +1 -1
  510. package/dist/components/calcite-combobox-item.js +1 -1
  511. package/dist/components/calcite-combobox.js +1 -1
  512. package/dist/components/calcite-date-picker-day.js +1 -1
  513. package/dist/components/calcite-date-picker-month-header.js +1 -1
  514. package/dist/components/calcite-date-picker-month.js +1 -1
  515. package/dist/components/calcite-date-picker.js +1 -1
  516. package/dist/components/calcite-dropdown-group.js +1 -1
  517. package/dist/components/calcite-dropdown-item.js +1 -1
  518. package/dist/components/calcite-dropdown.js +1 -1
  519. package/dist/components/calcite-fab.js +1 -1
  520. package/dist/components/calcite-filter.js +1 -1
  521. package/dist/components/calcite-flow-item.js +1 -1
  522. package/dist/components/calcite-flow.js +1 -1
  523. package/dist/components/calcite-graph.js +1 -1
  524. package/dist/components/calcite-handle.js +1 -1
  525. package/dist/components/calcite-icon.js +1 -1
  526. package/dist/components/calcite-inline-editable.js +1 -1
  527. package/dist/components/calcite-input-date-picker.js +1 -1
  528. package/dist/components/calcite-input-message.js +1 -1
  529. package/dist/components/calcite-input-number.js +1 -1
  530. package/dist/components/calcite-input-text.js +1 -1
  531. package/dist/components/calcite-input-time-picker.js +1 -1
  532. package/dist/components/calcite-input.js +1 -1
  533. package/dist/components/calcite-label.js +1 -1
  534. package/dist/components/calcite-link.js +1 -1
  535. package/dist/components/calcite-list-item-group.js +1 -1
  536. package/dist/components/calcite-list-item.js +57 -10
  537. package/dist/components/calcite-list.js +6 -3
  538. package/dist/components/calcite-loader.js +1 -1
  539. package/dist/components/calcite-modal.js +1 -1
  540. package/dist/components/calcite-notice.js +1 -1
  541. package/dist/components/calcite-option-group.js +1 -1
  542. package/dist/components/calcite-option.js +1 -1
  543. package/dist/components/calcite-pagination.js +1 -1
  544. package/dist/components/calcite-panel.js +1 -1
  545. package/dist/components/calcite-pick-list-group.js +1 -1
  546. package/dist/components/calcite-pick-list-item.js +1 -1
  547. package/dist/components/calcite-pick-list.js +1 -1
  548. package/dist/components/calcite-popover.js +1 -1
  549. package/dist/components/calcite-progress.js +1 -1
  550. package/dist/components/calcite-radio-button-group.js +1 -1
  551. package/dist/components/calcite-radio-button.js +1 -1
  552. package/dist/components/calcite-rating.js +1 -1
  553. package/dist/components/calcite-scrim.js +1 -1
  554. package/dist/components/calcite-segmented-control-item.js +1 -1
  555. package/dist/components/calcite-segmented-control.js +1 -1
  556. package/dist/components/calcite-select.js +1 -1
  557. package/dist/components/calcite-shell-center-row.js +1 -1
  558. package/dist/components/calcite-shell-panel.js +1 -1
  559. package/dist/components/calcite-shell.js +1 -1
  560. package/dist/components/calcite-slider.js +1 -1
  561. package/dist/components/calcite-sortable-list.js +1 -1
  562. package/dist/components/calcite-split-button.js +1 -1
  563. package/dist/components/calcite-stepper-item.js +1 -1
  564. package/dist/components/calcite-stepper.js +1 -1
  565. package/dist/components/calcite-switch.js +1 -1
  566. package/dist/components/calcite-tab-nav.js +1 -1
  567. package/dist/components/calcite-tab-title.js +1 -1
  568. package/dist/components/calcite-tab.js +1 -1
  569. package/dist/components/calcite-tabs.js +1 -1
  570. package/dist/components/calcite-text-area.js +1 -1
  571. package/dist/components/calcite-tile-select-group.js +1 -1
  572. package/dist/components/calcite-tile-select.js +1 -1
  573. package/dist/components/calcite-tile.js +1 -1
  574. package/dist/components/calcite-time-picker.js +1 -1
  575. package/dist/components/calcite-tip-group.js +1 -1
  576. package/dist/components/calcite-tip-manager.js +1 -1
  577. package/dist/components/calcite-tip.js +1 -1
  578. package/dist/components/calcite-tooltip.js +1 -1
  579. package/dist/components/calcite-tree-item.js +30 -14
  580. package/dist/components/calcite-tree.js +1 -1
  581. package/dist/components/calcite-value-list-item.js +2 -1
  582. package/dist/components/calcite-value-list.js +1 -1
  583. package/dist/components/checkbox.js +1 -1
  584. package/dist/components/chip.js +1 -1
  585. package/dist/components/color-picker-hex-input.js +1 -1
  586. package/dist/components/color-picker-swatch.js +1 -1
  587. package/dist/components/composed-offset-position.esm.js +1 -1
  588. package/dist/components/conditionalSlot.js +1 -1
  589. package/dist/components/date-picker-day.js +1 -1
  590. package/dist/components/date-picker-month-header.js +1 -1
  591. package/dist/components/date-picker-month.js +1 -1
  592. package/dist/components/date-picker.js +1 -1
  593. package/dist/components/date.js +1 -1
  594. package/dist/components/debounce.js +1 -1
  595. package/dist/components/dom.js +1 -1
  596. package/dist/components/dropdown.js +1 -1
  597. package/dist/components/filter.js +1 -1
  598. package/dist/components/filter2.js +1 -1
  599. package/dist/components/floating-ui.js +1 -1
  600. package/dist/components/focusTrapComponent.js +1 -1
  601. package/dist/components/form.js +1 -1
  602. package/dist/components/graph.js +1 -1
  603. package/dist/components/guid.js +1 -1
  604. package/dist/components/handle.js +1 -1
  605. package/dist/components/icon.js +1 -1
  606. package/dist/components/index.js +1 -1
  607. package/dist/components/input.js +1 -1
  608. package/dist/components/interactive.js +1 -1
  609. package/dist/components/key.js +1 -1
  610. package/dist/components/label.js +1 -1
  611. package/dist/components/label2.js +1 -1
  612. package/dist/components/link.js +1 -1
  613. package/dist/components/loadable.js +1 -1
  614. package/dist/components/loader.js +1 -1
  615. package/dist/components/locale.js +1 -1
  616. package/dist/components/math.js +1 -1
  617. package/dist/components/observers.js +1 -1
  618. package/dist/components/openCloseComponent.js +1 -1
  619. package/dist/components/panel.js +1 -1
  620. package/dist/components/pick-list-item.js +1 -1
  621. package/dist/components/popover.js +1 -1
  622. package/dist/components/progress.js +1 -1
  623. package/dist/components/resources.js +1 -1
  624. package/dist/components/resources2.js +1 -1
  625. package/dist/components/resources3.js +1 -1
  626. package/dist/components/scrim.js +1 -1
  627. package/dist/components/shared-list-render.js +1 -1
  628. package/dist/components/sortable.esm.js +1 -1
  629. package/dist/components/switch.js +1 -1
  630. package/dist/components/t9n.js +1 -1
  631. package/dist/components/tab-nav.js +1 -1
  632. package/dist/components/tab-title.js +1 -1
  633. package/dist/components/tab.js +1 -1
  634. package/dist/components/tabs.js +1 -1
  635. package/dist/components/throttle.js +1 -1
  636. package/dist/components/tile.js +1 -1
  637. package/dist/components/time-picker.js +1 -1
  638. package/dist/components/tooltip.js +1 -1
  639. package/dist/components/utils.js +1 -1
  640. package/dist/components/utils2.js +1 -1
  641. package/dist/components/utils3.js +3 -2
  642. package/dist/esm/{ExpandToggle-98474948.js → ExpandToggle-c2474257.js} +5 -5
  643. package/dist/esm/{Heading-956b4b4a.js → Heading-8c0aa1c6.js} +2 -2
  644. package/dist/esm/{app-globals-8f0a8f20.js → app-globals-8a9b127a.js} +2 -2
  645. package/dist/esm/{array-a0bb0578.js → array-6829b9c5.js} +1 -1
  646. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  647. package/dist/esm/calcite-action-bar.entry.js +15 -15
  648. package/dist/esm/calcite-action-group.entry.js +13 -13
  649. package/dist/esm/calcite-action-menu.entry.js +9 -9
  650. package/dist/esm/calcite-action-pad.entry.js +14 -14
  651. package/dist/esm/calcite-action.entry.js +11 -11
  652. package/dist/esm/calcite-alert.entry.js +12 -12
  653. package/dist/esm/calcite-avatar.entry.js +6 -6
  654. package/dist/esm/calcite-block_2.entry.js +12 -12
  655. package/dist/esm/calcite-button.entry.js +13 -13
  656. package/dist/esm/calcite-card.entry.js +10 -10
  657. package/dist/esm/calcite-checkbox.entry.js +10 -10
  658. package/dist/esm/calcite-chip.entry.js +11 -11
  659. package/dist/esm/calcite-color-picker_3.entry.js +15 -15
  660. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  661. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  662. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  663. package/dist/esm/calcite-fab.entry.js +7 -7
  664. package/dist/esm/calcite-filter.entry.js +13 -13
  665. package/dist/esm/calcite-flow-item.entry.js +12 -12
  666. package/dist/esm/calcite-flow.entry.js +3 -3
  667. package/dist/esm/calcite-graph_2.entry.js +13 -13
  668. package/dist/esm/calcite-handle.entry.js +10 -10
  669. package/dist/esm/calcite-icon.entry.js +6 -6
  670. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  671. package/dist/esm/calcite-input-date-picker.entry.js +16 -16
  672. package/dist/esm/calcite-input-message.entry.js +5 -5
  673. package/dist/esm/calcite-input-number.entry.js +13 -13
  674. package/dist/esm/calcite-input-text.entry.js +13 -13
  675. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
  676. package/dist/esm/calcite-input.entry.js +13 -13
  677. package/dist/esm/calcite-label.entry.js +6 -6
  678. package/dist/esm/calcite-link.entry.js +7 -7
  679. package/dist/esm/calcite-list_3.entry.js +52 -18
  680. package/dist/esm/calcite-loader.entry.js +3 -3
  681. package/dist/esm/calcite-modal.entry.js +13 -13
  682. package/dist/esm/calcite-notice.entry.js +12 -12
  683. package/dist/esm/calcite-option_3.entry.js +10 -10
  684. package/dist/esm/calcite-pagination.entry.js +10 -10
  685. package/dist/esm/calcite-panel.entry.js +14 -14
  686. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  687. package/dist/esm/calcite-popover.entry.js +15 -15
  688. package/dist/esm/calcite-progress.entry.js +2 -2
  689. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  690. package/dist/esm/calcite-radio-button.entry.js +10 -10
  691. package/dist/esm/calcite-rating.entry.js +13 -13
  692. package/dist/esm/calcite-scrim.entry.js +9 -9
  693. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  694. package/dist/esm/calcite-shell_3.entry.js +11 -11
  695. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  696. package/dist/esm/calcite-split-button.entry.js +4 -4
  697. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  698. package/dist/esm/calcite-switch.entry.js +10 -10
  699. package/dist/esm/calcite-tab_4.entry.js +7 -7
  700. package/dist/esm/calcite-text-area.entry.js +15 -15
  701. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  702. package/dist/esm/calcite-tile.entry.js +8 -8
  703. package/dist/esm/calcite-tip_3.entry.js +11 -11
  704. package/dist/esm/calcite-tooltip.entry.js +8 -8
  705. package/dist/esm/calcite-tree_2.entry.js +38 -22
  706. package/dist/esm/calcite-value-list_2.entry.js +17 -16
  707. package/dist/esm/calcite.js +6 -6
  708. package/dist/esm/{composed-offset-position.esm-8bd35eb4.js → composed-offset-position.esm-3a983ad1.js} +1 -1
  709. package/dist/esm/{conditionalSlot-7727db01.js → conditionalSlot-a8b3d4be.js} +3 -3
  710. package/dist/esm/{debounce-e490b4cb.js → debounce-b123ee7b.js} +1 -1
  711. package/dist/esm/{dom-242967ab.js → dom-3c1dbb15.js} +3 -3
  712. package/dist/esm/{filter-a50792e6.js → filter-6b0ae433.js} +2 -2
  713. package/dist/esm/{floating-ui-e3d3396b.js → floating-ui-3ad56d35.js} +4 -4
  714. package/dist/esm/{focusTrapComponent-df1738fb.js → focusTrapComponent-96af5e1d.js} +2 -2
  715. package/dist/esm/{form-c29d69e8.js → form-3d0cf488.js} +3 -3
  716. package/dist/esm/{guid-7e47fa57.js → guid-211dabb2.js} +1 -1
  717. package/dist/esm/{index-162d50fa.js → index-51c127fb.js} +1 -1
  718. package/dist/esm/index.js +2 -2
  719. package/dist/esm/{interactive-3958436f.js → interactive-59e684de.js} +1 -1
  720. package/dist/esm/{key-493df3e7.js → key-851960a3.js} +1 -1
  721. package/dist/esm/{label-d0f14425.js → label-d49edb41.js} +2 -2
  722. package/dist/esm/{loadable-ca2f4335.js → loadable-d16d5666.js} +1 -1
  723. package/dist/esm/loader.js +6 -6
  724. package/dist/esm/{locale-4902de6b.js → locale-120f9275.js} +4 -4
  725. package/dist/esm/{math-2fbd760e.js → math-1794699d.js} +1 -1
  726. package/dist/esm/{observers-6c002815.js → observers-84660705.js} +1 -1
  727. package/dist/esm/{openCloseComponent-2170d6c1.js → openCloseComponent-ce1c749f.js} +2 -2
  728. package/dist/esm/{resources-b23b6108.js → resources-02fd1678.js} +1 -1
  729. package/dist/esm/{resources-48e01105.js → resources-065aba7d.js} +5 -5
  730. package/dist/esm/{resources-13d9de36.js → resources-8e766954.js} +1 -1
  731. package/dist/esm/{resources-16d277ab.js → resources-a51cf9c7.js} +1 -1
  732. package/dist/esm/{resources-46339b67.js → resources-a73144c6.js} +1 -1
  733. package/dist/esm/{resources-0c933148.js → resources-bf90115c.js} +1 -1
  734. package/dist/esm/{sortable.esm-50b08cab.js → sortable.esm-e621ad9c.js} +1 -1
  735. package/dist/esm/{t9n-a6f9e214.js → t9n-6f29ee20.js} +3 -3
  736. package/dist/esm/{throttle-e460319b.js → throttle-9ea489a0.js} +2 -2
  737. package/dist/esm/{utils-4e213aac.js → utils-2278cb9a.js} +1 -1
  738. package/dist/esm/{utils-65dc4af8.js → utils-a6442f33.js} +3 -3
  739. package/dist/extras/docs-json.json +84 -2
  740. package/dist/extras/vscode-data.json +8 -0
  741. package/dist/loader/cdn.js +1 -1
  742. package/dist/loader/index.cjs.js +1 -1
  743. package/dist/loader/index.es2017.js +1 -1
  744. package/dist/loader/index.js +1 -1
  745. package/dist/types/components/list/list.d.ts +1 -0
  746. package/dist/types/components/list-item/assets/list-item/t9n/index.d.ts +3 -0
  747. package/dist/types/components/list-item/list-item.d.ts +29 -2
  748. package/dist/types/components/list-item/resources.d.ts +1 -0
  749. package/dist/types/components/tree-item/tree-item.d.ts +6 -0
  750. package/dist/types/components/value-list-item/value-list-item.d.ts +9 -0
  751. package/dist/types/components.d.ts +42 -0
  752. package/dist/types/preact.d.ts +4 -2
  753. package/hydrate/index.js +79 -25
  754. package/package.json +1 -1
  755. package/dist/calcite/p-2420ba36.entry.js +0 -6
  756. package/dist/calcite/p-4c0b5a65.entry.js +0 -6
  757. package/dist/calcite/p-65557cf4.js +0 -6
  758. package/dist/calcite/p-750465e1.entry.js +0 -6
  759. package/dist/calcite/p-77228298.entry.js +0 -6
  760. package/dist/calcite/p-8cf3084f.entry.js +0 -6
  761. package/dist/calcite/p-8feb7736.js +0 -6
  762. package/dist/calcite/p-ae7054a5.js +0 -6
  763. package/dist/calcite/p-d01f13ab.js +0 -6
  764. package/dist/calcite/p-d62ee476.js +0 -6
@@ -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.3.0-next.6
4
+ * v1.3.0-next.8
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -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.3.0-next.6
4
+ * v1.3.0-next.8
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -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.3.0-next.6
4
+ * v1.3.0-next.8
5
5
  */
6
6
  export * from '../esm/polyfills/index.js';
7
7
  export * from '../esm/loader.js';
@@ -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.3.0-next.6
4
+ * v1.3.0-next.8
5
5
  */
6
6
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
7
7
  export * from '../esm/polyfills/index.js';
@@ -75,6 +75,7 @@ export declare class List implements InteractiveComponent, LoadableComponent {
75
75
  handleCalciteInternalFocusPreviousItem(event: CustomEvent): void;
76
76
  handleCalciteListItemActive(event: CustomEvent): void;
77
77
  handleCalciteListItemSelect(event: CustomEvent): void;
78
+ handleCalciteListItemClose(): void;
78
79
  connectedCallback(): void;
79
80
  disconnectedCallback(): void;
80
81
  componentWillLoad(): void;
@@ -0,0 +1,3 @@
1
+ export type ListItemMessages = {
2
+ close: string;
3
+ };
@@ -2,6 +2,9 @@ import { Event, EventEmitter, VNode } from "../../stencil-public-runtime";
2
2
  import { InteractiveComponent } from "../../utils/interactive";
3
3
  import { SelectionMode } from "../interfaces";
4
4
  import { SelectionAppearance } from "../list/resources";
5
+ import { LocalizedComponent } from "../../utils/locale";
6
+ import { T9nComponent } from "../../utils/t9n";
7
+ import { ListItemMessages } from "./assets/list-item/t9n";
5
8
  import { LoadableComponent } from "../../utils/loadable";
6
9
  /**
7
10
  * @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
@@ -11,7 +14,7 @@ import { LoadableComponent } from "../../utils/loadable";
11
14
  * @slot content-end - A slot for adding non-actionable elements after the label and description of the component.
12
15
  * @slot actions-end - A slot for adding actionable `calcite-action` elements after the content of the component.
13
16
  */
14
- export declare class ListItem implements InteractiveComponent, LoadableComponent {
17
+ export declare class ListItem implements InteractiveComponent, LoadableComponent, LocalizedComponent, T9nComponent {
15
18
  /**
16
19
  * Sets the item as focusable. Only one item should be focusable within a list.
17
20
  *
@@ -19,6 +22,10 @@ export declare class ListItem implements InteractiveComponent, LoadableComponent
19
22
  */
20
23
  active: boolean;
21
24
  activeHandler(active: boolean): void;
25
+ /** When `true`, a close button is added to the component. */
26
+ closable: boolean;
27
+ /** When `true`, hides the component. */
28
+ closed: boolean;
22
29
  /**
23
30
  * A description for the component. Displays below the label text.
24
31
  */
@@ -72,10 +79,25 @@ export declare class ListItem implements InteractiveComponent, LoadableComponent
72
79
  * @internal
73
80
  */
74
81
  selectionAppearance: SelectionAppearance;
82
+ /**
83
+ * Use this property to override individual strings used by the component.
84
+ */
85
+ messageOverrides: Partial<ListItemMessages>;
86
+ /**
87
+ * Made into a prop for testing purposes only
88
+ *
89
+ * @internal
90
+ */
91
+ messages: ListItemMessages;
92
+ onMessagesChange(): void;
75
93
  /**
76
94
  * Emits when the item's content is selected.
77
95
  */
78
96
  calciteListItemSelect: EventEmitter<void>;
97
+ /**
98
+ * Fires when the close button is clicked.
99
+ */
100
+ calciteListItemClose: EventEmitter<void>;
79
101
  /**
80
102
  *
81
103
  * @internal
@@ -92,6 +114,9 @@ export declare class ListItem implements InteractiveComponent, LoadableComponent
92
114
  */
93
115
  calciteInternalFocusPreviousItem: EventEmitter<void>;
94
116
  el: HTMLCalciteListItemElement;
117
+ effectiveLocale: string;
118
+ effectiveLocaleChange(): void;
119
+ defaultMessages: ListItemMessages;
95
120
  level: number;
96
121
  visualLevel: number;
97
122
  parentListEl: HTMLCalciteListElement;
@@ -106,9 +131,10 @@ export declare class ListItem implements InteractiveComponent, LoadableComponent
106
131
  actionsStartEl: HTMLTableCellElement;
107
132
  actionsEndEl: HTMLTableCellElement;
108
133
  connectedCallback(): void;
109
- componentWillLoad(): void;
134
+ componentWillLoad(): Promise<void>;
110
135
  componentDidLoad(): void;
111
136
  componentDidRender(): void;
137
+ disconnectedCallback(): void;
112
138
  /** Sets focus on the component. */
113
139
  setFocus(): Promise<void>;
114
140
  renderSelected(): VNode;
@@ -121,6 +147,7 @@ export declare class ListItem implements InteractiveComponent, LoadableComponent
121
147
  renderContentProperties(): VNode;
122
148
  renderContentContainer(): VNode;
123
149
  render(): VNode;
150
+ closeClickHandler: () => void;
124
151
  handleContentSlotChange: (event: Event) => void;
125
152
  handleActionsStartSlotChange: (event: Event) => void;
126
153
  handleActionsEndSlotChange: (event: Event) => void;
@@ -34,4 +34,5 @@ export declare const ICONS: {
34
34
  closedRTL: string;
35
35
  open: string;
36
36
  blank: string;
37
+ close: string;
37
38
  };
@@ -106,6 +106,12 @@ export declare class TreeItem implements ConditionalSlotComponent, InteractiveCo
106
106
  private parentTreeItem?;
107
107
  hasEndActions: boolean;
108
108
  private updateParentIsExpanded;
109
+ /**
110
+ * This is meant to be called in `componentDidLoad` in order to take advantage of the hierarchical component lifecycle
111
+ * and help check for item selection as items are initialized
112
+ *
113
+ * @private
114
+ */
109
115
  private updateAncestorTree;
110
116
  private actionsEndSlotChangeHandler;
111
117
  }
@@ -76,6 +76,15 @@ export declare class ValueListItem implements ConditionalSlotComponent, Interact
76
76
  toggleSelected(coerce?: boolean): Promise<void>;
77
77
  /** Set focus on the component. */
78
78
  setFocus(): Promise<void>;
79
+ /**
80
+ * Fires when the component is selected or unselected.
81
+ */
82
+ calciteListItemChange: EventEmitter<{
83
+ item: HTMLCalciteValueListItemElement;
84
+ value: any;
85
+ selected: boolean;
86
+ shiftPressed: boolean;
87
+ }>;
79
88
  /**
80
89
  * Fires when the remove button is pressed.
81
90
  */
@@ -47,6 +47,7 @@ import { InputTextMessages } from "./components/input-text/assets/input-text/t9n
47
47
  import { TimePickerMessages } from "./components/time-picker/assets/time-picker/t9n";
48
48
  import { ItemData } from "./components/list-item/interfaces";
49
49
  import { SelectionAppearance } from "./components/list/resources";
50
+ import { ListItemMessages } from "./components/list-item/assets/list-item/t9n";
50
51
  import { ModalMessages } from "./components/modal/assets/modal/t9n";
51
52
  import { NoticeMessages } from "./components/notice/assets/notice/t9n";
52
53
  import { PaginationMessages } from "./components/pagination/assets/pagination/t9n";
@@ -2303,6 +2304,14 @@ export namespace Components {
2303
2304
  * Sets the item as focusable. Only one item should be focusable within a list.
2304
2305
  */
2305
2306
  "active": boolean;
2307
+ /**
2308
+ * When `true`, a close button is added to the component.
2309
+ */
2310
+ "closable": boolean;
2311
+ /**
2312
+ * When `true`, hides the component.
2313
+ */
2314
+ "closed": boolean;
2306
2315
  /**
2307
2316
  * A description for the component. Displays below the label text.
2308
2317
  */
@@ -2315,6 +2324,14 @@ export namespace Components {
2315
2324
  * The label text of the component. Displays above the description text.
2316
2325
  */
2317
2326
  "label": string;
2327
+ /**
2328
+ * Use this property to override individual strings used by the component.
2329
+ */
2330
+ "messageOverrides": Partial<ListItemMessages>;
2331
+ /**
2332
+ * Made into a prop for testing purposes only
2333
+ */
2334
+ "messages": ListItemMessages;
2318
2335
  /**
2319
2336
  * Provides additional metadata to the component. Primary use is for a filter on the parent `calcite-list`.
2320
2337
  */
@@ -7209,6 +7226,14 @@ declare namespace LocalJSX {
7209
7226
  "selectionMode"?: Extract<"none" | "multiple" | "single", SelectionMode>;
7210
7227
  }
7211
7228
  interface CalciteListItem {
7229
+ /**
7230
+ * When `true`, a close button is added to the component.
7231
+ */
7232
+ "closable"?: boolean;
7233
+ /**
7234
+ * When `true`, hides the component.
7235
+ */
7236
+ "closed"?: boolean;
7212
7237
  /**
7213
7238
  * A description for the component. Displays below the label text.
7214
7239
  */
@@ -7221,10 +7246,18 @@ declare namespace LocalJSX {
7221
7246
  * The label text of the component. Displays above the description text.
7222
7247
  */
7223
7248
  "label"?: string;
7249
+ /**
7250
+ * Use this property to override individual strings used by the component.
7251
+ */
7252
+ "messageOverrides"?: Partial<ListItemMessages>;
7224
7253
  /**
7225
7254
  * Provides additional metadata to the component. Primary use is for a filter on the parent `calcite-list`.
7226
7255
  */
7227
7256
  "metadata"?: Record<string, unknown>;
7257
+ /**
7258
+ * Fires when the close button is clicked.
7259
+ */
7260
+ "onCalciteListItemClose"?: (event: CalciteListItemCustomEvent<void>) => void;
7228
7261
  /**
7229
7262
  * Emits when the item's content is selected.
7230
7263
  */
@@ -8882,6 +8915,15 @@ declare namespace LocalJSX {
8882
8915
  * When `true`, prevents the content of the component from user interaction.
8883
8916
  */
8884
8917
  "nonInteractive"?: boolean;
8918
+ /**
8919
+ * Fires when the component is selected or unselected.
8920
+ */
8921
+ "onCalciteListItemChange"?: (event: CalciteValueListItemCustomEvent<{
8922
+ item: HTMLCalciteValueListItemElement;
8923
+ value: any;
8924
+ selected: boolean;
8925
+ shiftPressed: boolean;
8926
+ }>) => void;
8885
8927
  /**
8886
8928
  * Fires when the remove button is pressed.
8887
8929
  */
@@ -207,8 +207,9 @@ declare module "preact/src/jsx" {
207
207
  "oncalciteListFilter"?: (event: CustomEvent<any>) => void;
208
208
  }
209
209
 
210
- "calcite-list-item": Omit<JSX.CalciteListItem, "onCalciteListItemSelect" | "onCalciteInternalListItemSelect" | "onCalciteInternalListItemActive" | "onCalciteInternalFocusPreviousItem"> & JSXInternal.HTMLAttributes<HTMLCalciteListItemElement> & {
210
+ "calcite-list-item": Omit<JSX.CalciteListItem, "onCalciteListItemSelect" | "onCalciteListItemClose" | "onCalciteInternalListItemSelect" | "onCalciteInternalListItemActive" | "onCalciteInternalFocusPreviousItem"> & JSXInternal.HTMLAttributes<HTMLCalciteListItemElement> & {
211
211
  "oncalciteListItemSelect"?: (event: CustomEvent<any>) => void;
212
+ "oncalciteListItemClose"?: (event: CustomEvent<any>) => void;
212
213
  "oncalciteInternalListItemSelect"?: (event: CustomEvent<any>) => void;
213
214
  "oncalciteInternalListItemActive"?: (event: CustomEvent<any>) => void;
214
215
  "oncalciteInternalFocusPreviousItem"?: (event: CustomEvent<any>) => void;
@@ -407,7 +408,8 @@ declare module "preact/src/jsx" {
407
408
  "oncalciteListFilter"?: (event: CustomEvent<any>) => void;
408
409
  }
409
410
 
410
- "calcite-value-list-item": Omit<JSX.CalciteValueListItem, "onCalciteListItemRemove" | "onCalciteValueListItemDragHandleBlur"> & JSXInternal.HTMLAttributes<HTMLCalciteValueListItemElement> & {
411
+ "calcite-value-list-item": Omit<JSX.CalciteValueListItem, "onCalciteListItemChange" | "onCalciteListItemRemove" | "onCalciteValueListItemDragHandleBlur"> & JSXInternal.HTMLAttributes<HTMLCalciteValueListItemElement> & {
412
+ "oncalciteListItemChange"?: (event: CustomEvent<any>) => void;
411
413
  "oncalciteListItemRemove"?: (event: CustomEvent<any>) => void;
412
414
  "oncalciteValueListItemDragHandleBlur"?: (event: CustomEvent<any>) => void;
413
415
  };
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.3.0-next.6
4
+ * v1.3.0-next.8
5
5
  */
6
6
  'use strict';
7
7
 
@@ -24170,7 +24170,8 @@ const ICONS$6 = {
24170
24170
  closedLTR: "caret-right",
24171
24171
  closedRTL: "caret-left",
24172
24172
  open: "caret-down",
24173
- blank: "blank"
24173
+ blank: "blank",
24174
+ close: "x"
24174
24175
  };
24175
24176
 
24176
24177
  const listItemGroupSelector = "calcite-list-item-group";
@@ -24382,6 +24383,9 @@ class List$1 {
24382
24383
  });
24383
24384
  this.updateSelectedItems();
24384
24385
  }
24386
+ handleCalciteListItemClose() {
24387
+ this.updateListItems();
24388
+ }
24385
24389
  //--------------------------------------------------------------------------
24386
24390
  //
24387
24391
  // Lifecycle
@@ -24438,7 +24442,7 @@ class List$1 {
24438
24442
  item.selectionMode = selectionMode;
24439
24443
  });
24440
24444
  this.listItems = items;
24441
- this.enabledListItems = items.filter((item) => !item.disabled);
24445
+ this.enabledListItems = items.filter((item) => !item.disabled && !item.closed);
24442
24446
  if (this.filterEnabled) {
24443
24447
  this.dataForFilter = this.getItemData();
24444
24448
  }
@@ -24472,7 +24476,7 @@ class List$1 {
24472
24476
  "dataForFilter": [32],
24473
24477
  "setFocus": [64]
24474
24478
  },
24475
- "$listeners$": [[0, "calciteInternalFocusPreviousItem", "handleCalciteInternalFocusPreviousItem"], [0, "calciteInternalListItemActive", "handleCalciteListItemActive"], [0, "calciteInternalListItemSelect", "handleCalciteListItemSelect"]],
24479
+ "$listeners$": [[0, "calciteInternalFocusPreviousItem", "handleCalciteInternalFocusPreviousItem"], [0, "calciteInternalListItemActive", "handleCalciteListItemActive"], [0, "calciteInternalListItemSelect", "handleCalciteListItemSelect"], [0, "calciteListItemClose", "handleCalciteListItemClose"]],
24476
24480
  "$lazyBundleId$": "-",
24477
24481
  "$attrsToReflect$": [["disabled", "disabled"], ["filterEnabled", "filter-enabled"], ["filterPlaceholder", "filter-placeholder"], ["filterText", "filter-text"], ["loading", "loading"], ["selectionMode", "selection-mode"], ["selectionAppearance", "selection-appearance"]]
24478
24482
  }; }
@@ -24494,6 +24498,7 @@ class ListItem {
24494
24498
  constructor(hostRef) {
24495
24499
  registerInstance(this, hostRef);
24496
24500
  this.calciteListItemSelect = createEvent(this, "calciteListItemSelect", 6);
24501
+ this.calciteListItemClose = createEvent(this, "calciteListItemClose", 6);
24497
24502
  this.calciteInternalListItemSelect = createEvent(this, "calciteInternalListItemSelect", 6);
24498
24503
  this.calciteInternalListItemActive = createEvent(this, "calciteInternalListItemActive", 6);
24499
24504
  this.calciteInternalFocusPreviousItem = createEvent(this, "calciteInternalFocusPreviousItem", 6);
@@ -24502,6 +24507,10 @@ class ListItem {
24502
24507
  // Private Methods
24503
24508
  //
24504
24509
  // --------------------------------------------------------------------------
24510
+ this.closeClickHandler = () => {
24511
+ this.closed = true;
24512
+ this.calciteListItemClose.emit();
24513
+ };
24505
24514
  this.handleContentSlotChange = (event) => {
24506
24515
  this.hasCustomContent = slotChangeHasAssignedElement(event);
24507
24516
  };
@@ -24614,6 +24623,8 @@ class ListItem {
24614
24623
  focusEl?.focus();
24615
24624
  };
24616
24625
  this.active = false;
24626
+ this.closable = false;
24627
+ this.closed = false;
24617
24628
  this.description = undefined;
24618
24629
  this.disabled = false;
24619
24630
  this.label = undefined;
@@ -24625,6 +24636,10 @@ class ListItem {
24625
24636
  this.value = undefined;
24626
24637
  this.selectionMode = null;
24627
24638
  this.selectionAppearance = null;
24639
+ this.messageOverrides = undefined;
24640
+ this.messages = undefined;
24641
+ this.effectiveLocale = "";
24642
+ this.defaultMessages = undefined;
24628
24643
  this.level = null;
24629
24644
  this.visualLevel = null;
24630
24645
  this.parentListEl = undefined;
@@ -24645,15 +24660,24 @@ class ListItem {
24645
24660
  this.calciteInternalListItemSelect.emit();
24646
24661
  }
24647
24662
  }
24663
+ onMessagesChange() {
24664
+ /* wired up by t9n util */
24665
+ }
24666
+ effectiveLocaleChange() {
24667
+ updateMessages(this, this.effectiveLocale);
24668
+ }
24648
24669
  connectedCallback() {
24670
+ connectLocalized(this);
24671
+ connectMessages(this);
24649
24672
  const { el } = this;
24650
24673
  this.parentListEl = el.closest(listSelector);
24651
24674
  this.level = getDepth() + 1;
24652
24675
  this.visualLevel = getDepth(el, true);
24653
24676
  this.setSelectionDefaults();
24654
24677
  }
24655
- componentWillLoad() {
24678
+ async componentWillLoad() {
24656
24679
  setUpLoadableComponent(this);
24680
+ await setUpMessages(this);
24657
24681
  }
24658
24682
  componentDidLoad() {
24659
24683
  setComponentLoaded(this);
@@ -24661,6 +24685,10 @@ class ListItem {
24661
24685
  componentDidRender() {
24662
24686
  updateHostInteraction(this, "managed");
24663
24687
  }
24688
+ disconnectedCallback() {
24689
+ disconnectLocalized(this);
24690
+ disconnectMessages(this);
24691
+ }
24664
24692
  // --------------------------------------------------------------------------
24665
24693
  //
24666
24694
  // Public Methods
@@ -24711,10 +24739,10 @@ class ListItem {
24711
24739
  ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$f.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
24712
24740
  }
24713
24741
  renderActionsEnd() {
24714
- const { label, hasActionsEnd } = this;
24715
- return (hAsync("td", { "aria-label": label, class: CSS$s.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container", role: "gridcell",
24742
+ const { label, hasActionsEnd, closable, messages } = this;
24743
+ return (hAsync("td", { "aria-label": label, class: CSS$s.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
24716
24744
  // eslint-disable-next-line react/jsx-sort-props
24717
- ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$f.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
24745
+ ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$f.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$6.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
24718
24746
  }
24719
24747
  renderContentStart() {
24720
24748
  const { hasContentStart } = this;
@@ -24750,7 +24778,7 @@ class ListItem {
24750
24778
  ref: (el) => (this.contentEl = el) }, content));
24751
24779
  }
24752
24780
  render() {
24753
- const { openable, open, level, setPosition, setSize, active, label, selected, selectionAppearance, selectionMode } = this;
24781
+ const { openable, open, level, setPosition, setSize, active, label, selected, selectionAppearance, selectionMode, closed } = this;
24754
24782
  const showBorder = selectionMode !== "none" && selectionAppearance === "border";
24755
24783
  const borderSelected = showBorder && selected;
24756
24784
  const borderUnselected = showBorder && !selected;
@@ -24758,7 +24786,7 @@ class ListItem {
24758
24786
  [CSS$s.container]: true,
24759
24787
  [CSS$s.containerBorderSelected]: borderSelected,
24760
24788
  [CSS$s.containerBorderUnselected]: borderUnselected
24761
- }, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
24789
+ }, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
24762
24790
  // eslint-disable-next-line react/jsx-sort-props
24763
24791
  ref: (el) => (this.containerEl = el) }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
24764
24792
  [CSS$s.nestedContainer]: true,
@@ -24777,10 +24805,13 @@ class ListItem {
24777
24805
  this.selectionAppearance = parentListEl.selectionAppearance;
24778
24806
  }
24779
24807
  }
24808
+ static get assetsDirs() { return ["assets"]; }
24780
24809
  get el() { return getElement(this); }
24781
24810
  static get watchers() { return {
24782
24811
  "active": ["activeHandler"],
24783
- "selected": ["handleSelectedChange"]
24812
+ "selected": ["handleSelectedChange"],
24813
+ "messageOverrides": ["onMessagesChange"],
24814
+ "effectiveLocale": ["effectiveLocaleChange"]
24784
24815
  }; }
24785
24816
  static get style() { return listItemCss; }
24786
24817
  static get cmpMeta() { return {
@@ -24788,6 +24819,8 @@ class ListItem {
24788
24819
  "$tagName$": "calcite-list-item",
24789
24820
  "$members$": {
24790
24821
  "active": [4],
24822
+ "closable": [516],
24823
+ "closed": [1540],
24791
24824
  "description": [1],
24792
24825
  "disabled": [516],
24793
24826
  "label": [1],
@@ -24799,6 +24832,10 @@ class ListItem {
24799
24832
  "value": [8],
24800
24833
  "selectionMode": [1025, "selection-mode"],
24801
24834
  "selectionAppearance": [1025, "selection-appearance"],
24835
+ "messageOverrides": [1040],
24836
+ "messages": [1040],
24837
+ "effectiveLocale": [32],
24838
+ "defaultMessages": [32],
24802
24839
  "level": [32],
24803
24840
  "visualLevel": [32],
24804
24841
  "parentListEl": [32],
@@ -24812,7 +24849,7 @@ class ListItem {
24812
24849
  },
24813
24850
  "$listeners$": undefined,
24814
24851
  "$lazyBundleId$": "-",
24815
- "$attrsToReflect$": [["disabled", "disabled"], ["open", "open"], ["selected", "selected"]]
24852
+ "$attrsToReflect$": [["closable", "closable"], ["closed", "closed"], ["disabled", "disabled"], ["open", "open"], ["selected", "selected"]]
24816
24853
  }; }
24817
24854
  }
24818
24855
 
@@ -37512,18 +37549,6 @@ class TreeItem {
37512
37549
  });
37513
37550
  items.forEach((item) => (item.parentExpanded = expanded));
37514
37551
  };
37515
- this.updateAncestorTree = () => {
37516
- if (this.selected && this.selectionMode === "ancestors") {
37517
- const ancestors = [];
37518
- let parent = this.parentTreeItem;
37519
- while (parent) {
37520
- ancestors.push(parent);
37521
- parent = parent.parentElement?.closest("calcite-tree-item");
37522
- }
37523
- ancestors.forEach((item) => (item.indeterminate = true));
37524
- return;
37525
- }
37526
- };
37527
37552
  this.actionsEndSlotChangeHandler = (event) => {
37528
37553
  this.hasEndActions = slotChangeHasAssignedElement(event);
37529
37554
  };
@@ -37537,7 +37562,7 @@ class TreeItem {
37537
37562
  this.hasChildren = null;
37538
37563
  this.lines = undefined;
37539
37564
  this.scale = undefined;
37540
- this.indeterminate = undefined;
37565
+ this.indeterminate = false;
37541
37566
  this.selectionMode = undefined;
37542
37567
  this.updateAfterInitialRender = false;
37543
37568
  this.hasEndActions = false;
@@ -37733,6 +37758,34 @@ class TreeItem {
37733
37758
  break;
37734
37759
  }
37735
37760
  }
37761
+ /**
37762
+ * This is meant to be called in `componentDidLoad` in order to take advantage of the hierarchical component lifecycle
37763
+ * and help check for item selection as items are initialized
37764
+ *
37765
+ * @private
37766
+ */
37767
+ updateAncestorTree() {
37768
+ const parentItem = this.parentTreeItem;
37769
+ if (this.selectionMode !== "ancestors" || !parentItem) {
37770
+ return;
37771
+ }
37772
+ if (this.selected) {
37773
+ const parentTree = this.el.parentElement;
37774
+ const siblings = Array.from(parentTree?.children);
37775
+ const selectedSiblings = siblings.filter((child) => child.selected);
37776
+ if (siblings.length === selectedSiblings.length) {
37777
+ parentItem.selected = true;
37778
+ parentItem.indeterminate = false;
37779
+ }
37780
+ else if (selectedSiblings.length > 0) {
37781
+ parentItem.indeterminate = true;
37782
+ }
37783
+ }
37784
+ else if (this.indeterminate) {
37785
+ const parentItem = this.parentTreeItem;
37786
+ parentItem.indeterminate = true;
37787
+ }
37788
+ }
37736
37789
  get el() { return getElement(this); }
37737
37790
  static get watchers() { return {
37738
37791
  "expanded": ["expandedHandler"],
@@ -38088,6 +38141,7 @@ const valueListItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes
38088
38141
  class ValueListItem {
38089
38142
  constructor(hostRef) {
38090
38143
  registerInstance(this, hostRef);
38144
+ this.calciteListItemChange = createEvent(this, "calciteListItemChange", 6);
38091
38145
  this.calciteListItemRemove = createEvent(this, "calciteListItemRemove", 7);
38092
38146
  this.calciteValueListItemDragHandleBlur = createEvent(this, "calciteValueListItemDragHandleBlur", 6);
38093
38147
  this.pickListItem = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.3.0-next.6",
3
+ "version": "1.3.0-next.8",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.6
5
- */
6
- import{r as t,h as e,F as i,a,f as n}from"./p-0e3fa332.js";import{c as o,d as l}from"./p-d62ee476.js";import{d as s,s as c,g as r,b as d,i as h}from"./p-a839b13e.js";import{c as p,d as m}from"./p-6d34458b.js";import{c as f}from"./p-6f7911a9.js";import{c as u,s as w,d as x,u as b}from"./p-65557cf4.js";import"./p-cbf739ac.js";import"./p-926362a1.js";import"./p-8aea6efe.js";import"./p-76a89e70.js";const v="content",g=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!s(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!s(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!s(t),c(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!s(t),c(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){o(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),i=e("slot",{key:"center-row-slot",name:"center-row"}),a=e("slot",{key:"panel-top-slot",name:"panel-bottom"}),n=e("slot",{key:"panel-bottom-slot",name:"panel-top"}),o="content-container";return this.contentBehind?[e("div",{class:{[v]:!0,"content--behind":!0},key:o},t),e("div",{class:"center-content"},n,a,i)]:[e("div",{class:v,key:o},n,t,a,i)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return e(i,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return a(this)}};g.style="@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}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:500;box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--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);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}";const y="action-bar",k=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){o(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,a=e("div",{class:"content"},e("slot",null)),n=r(t,y);n&&(n.layout="horizontal");const o=[n?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:y})):null,a];return"end"===n?.position&&o.reverse(),e(i,null,o)}get el(){return a(this)}};k.style="@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}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";const z="header",_=class{constructor(e){t(this,e),this.initialContentWidth=null,this.initialClientX=null,this.contentWidthMax=null,this.contentWidthMin=null,this.step=1,this.stepMultiplier=10,this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedWidth=t=>{const{key:e}=t,{el:i,step:a,stepMultiplier:n,contentWidthMin:o,contentWidthMax:l,initialContentWidth:s,position:c}=this,r=a*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const h=["ArrowLeft","ArrowRight"],p="rtl"===d(i)&&h.includes(e)?-1:1;return"ArrowUp"===e||("end"===c?e===h[0]:e===h[1])?s+p*(t.shiftKey?r:a):"ArrowDown"===e||("end"===c?e===h[1]:e===h[0])?s-p*(t.shiftKey?r:a):"number"==typeof o&&"Home"===e?o:"number"==typeof l&&"End"===e?l:"PageDown"===e?s-r:"PageUp"===e?s+r:null},this.separatorKeyDown=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedWidth(t);"number"==typeof e&&this.setContentWidth(e)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,initialContentWidth:i,position:a,initialClientX:n}=this,o=t.clientX-n,l="rtl"===d(e)?-1:1;this.setContentWidth(i+("end"===a?-l*o:l*o))},this.separatorPointerUp=t=>{h(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!h(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),this.setInitialContentWidth(),this.initialClientX=t.clientX,document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.handleActionBarSlotChange=t=>{c(t).filter((t=>t?.matches("calcite-action-bar"))).forEach((t=>t.layout="vertical"))},this.collapsed=!1,this.detached=!1,this.detachedHeightScale="l",this.widthScale="m",this.position=void 0,this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){o(this),p(this),u(this)}async componentWillLoad(){await w(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),m(this),x(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){b(this,this.effectiveLocale)}renderHeader(){const{el:t}=this;return r(t,z)?e("div",{class:"content__header",key:"header"},e("slot",{name:z})):null}render(){const{collapsed:t,detached:i,position:a,initialContentWidth:n,contentWidth:o,contentWidthMax:l,contentWidthMin:s,resizable:c}=this,r=!i&&c,d=e("div",{class:{content:!0,"content--detached":i},hidden:t,key:"content",style:r&&o?{width:`${o}px`}:null,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null))),h=r?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal","aria-valuemax":l,"aria-valuemin":s,"aria-valuenow":o??n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,p=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),d,h];return"end"===a&&p.reverse(),e("div",{class:{container:!0}},p)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,a=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?f(a,i,e):a}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);if(!e)return;const i=parseInt(e.getPropertyValue("max-width"),10),a=parseInt(e.getPropertyValue("min-width"),10),o=parseInt(e.getPropertyValue("width"),10);"number"!=typeof o||isNaN(o)||(this.initialContentWidth=o),"number"!=typeof i||isNaN(i)||(this.contentWidthMax=i),"number"!=typeof a||isNaN(a)||(this.contentWidthMin=a),n(this)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};_.style="@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);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{pointer-events:none;display:flex;flex:0 1 auto;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}:host([width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 40vh)}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 60vh)}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 80vh)}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height-internal)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}";export{g as calcite_shell,k as calcite_shell_center_row,_ as calcite_shell_panel}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.6
5
- */
6
- import{r as t,c as a,h as i,H as o,a as e}from"./p-0e3fa332.js";import{c as n,d as r}from"./p-d62ee476.js";import{s,g as c}from"./p-a839b13e.js";import{s as l,a as d,c as p}from"./p-0d028610.js";import{c as m,d as h}from"./p-6d34458b.js";import{u,c as f,d as g,s as x}from"./p-65557cf4.js";import{t as b,E as y}from"./p-8feb7736.js";import{c as w}from"./p-cbf739ac.js";import"./p-926362a1.js";import"./p-8aea6efe.js";import"./p-76a89e70.js";import"./p-2ce03e4d.js";import"./p-b69aefcf.js";const v="expand-tooltip",k=class{constructor(i){t(this,i),this.calciteActionPadToggle=a(this,"calciteActionPadToggle",6),this.mutationObserver=w("mutation",(()=>this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group"))))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const a=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{a.includes(t)||(t.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const a=s(t).filter((t=>t?.matches("calcite-action-group")));this.setGroupLayout(a)},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(t){b({parent:this.el,expanded:t})}layoutHandler(){this.updateGroups()}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){n(this),m(this),f(this)}disconnectedCallback(){h(this),g(this),r(this)}async componentWillLoad(){l(this);const{el:t,expanded:a}=this;b({parent:t,expanded:a}),await x(this)}componentDidLoad(){d(this)}async setFocus(){await p(this),this.el?.focus()}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:a,messages:o,el:e,position:n,toggleExpand:r,scale:s,layout:l}=this,d=c(e,v),p=a?null:i(y,{el:e,expanded:t,intlCollapse:o.collapse,intlExpand:o.expand,position:n,scale:s,toggle:r,tooltip:d,ref:this.setExpandToggleRef});return p?i("calcite-action-group",{class:"action-group--bottom",layout:l,scale:s},i("slot",{name:v}),p):null}render(){return i(o,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("div",{class:"container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup()))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style="@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}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--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)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";export{k as calcite_action_pad}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.6
5
- */
6
- import{g as n}from"./p-0e3fa332.js";import{g as t}from"./p-6d34458b.js";const s={};function o(){throw new Error("could not fetch component message bundle")}function c(n){n.messages={...n.defaultMessages,...n.messageOverrides}}async function a(n){n.defaultMessages=await e(n,n.effectiveLocale),c(n)}async function e(c,a){const{el:e}=c,i=e.tagName.toLowerCase().replace("calcite-","");return async function(t,c){const a=`${c}_${t}`;return s[a]||(s[a]=fetch(n(`./assets/${c}/t9n/messages_${t}.json`)).then((n=>(n.ok||o(),n.json()))).catch((()=>o()))),s[a]}(t(a,"t9n"),i)}async function i(n,t){n.defaultMessages=await e(n,t),c(n)}function f(n){n.onMessagesChange=r}function u(n){n.onMessagesChange=void 0}function r(){c(this)}export{f as c,u as d,a as s,i as u}