@esri/calcite-components 1.5.0-next.3 → 1.5.0-next.5

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 (923) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +2 -2
  3. package/dist/calcite/{p-e4d2aec5.js → p-000cd990.js} +2 -2
  4. package/dist/calcite/{p-cb6c8443.js → p-0173dd24.js} +2 -2
  5. package/dist/calcite/{p-37ef2c1e.entry.js → p-03dcb1c5.entry.js} +2 -2
  6. package/dist/calcite/{p-5e5cf331.entry.js → p-03ea1410.entry.js} +2 -2
  7. package/dist/calcite/{p-772dc41f.js → p-066c218a.js} +2 -2
  8. package/dist/calcite/{p-e815cafa.js → p-06ea03fc.js} +2 -2
  9. package/dist/calcite/{p-bd1a6997.js → p-074f85c7.js} +2 -2
  10. package/dist/calcite/p-0d8324b6.js +6 -0
  11. package/dist/calcite/{p-187b9f88.js → p-0f4544f3.js} +1 -1
  12. package/dist/calcite/{p-f96d4cd9.js → p-0f6fa0cc.js} +2 -2
  13. package/dist/calcite/{p-12b442a2.js → p-0f826d3d.js} +2 -2
  14. package/dist/calcite/{p-9466975b.js → p-12b567b9.js} +2 -2
  15. package/dist/calcite/{p-134963cf.entry.js → p-13c5d8c5.entry.js} +2 -2
  16. package/dist/calcite/{p-db6d31be.js → p-141924aa.js} +2 -2
  17. package/dist/calcite/{p-f5a5652c.js → p-14d9f732.js} +1 -1
  18. package/dist/calcite/{p-593adedd.entry.js → p-14fee275.entry.js} +2 -2
  19. package/dist/calcite/{p-22e5b579.js → p-18f22efc.js} +2 -2
  20. package/dist/calcite/{p-fe84ed6e.entry.js → p-1a785ff2.entry.js} +2 -2
  21. package/dist/calcite/{p-756da051.js → p-1c63c778.js} +2 -2
  22. package/dist/calcite/{p-cc086648.entry.js → p-1cc75ead.entry.js} +2 -2
  23. package/dist/calcite/{p-5213d3c2.entry.js → p-1d4aa0c1.entry.js} +2 -2
  24. package/dist/calcite/{p-fd99b31e.entry.js → p-1e119c2d.entry.js} +2 -2
  25. package/dist/calcite/p-1eb1ab2a.entry.js +6 -0
  26. package/dist/calcite/{p-9aff565b.entry.js → p-1eea59f9.entry.js} +2 -2
  27. package/dist/calcite/{p-b448b71e.js → p-211e3b42.js} +2 -2
  28. package/dist/calcite/{p-e649e313.js → p-2258251b.js} +2 -2
  29. package/dist/calcite/p-23897c29.entry.js +6 -0
  30. package/dist/calcite/{p-5d129fbc.entry.js → p-2413996b.entry.js} +2 -2
  31. package/dist/calcite/{p-10ac9980.js → p-25808bdd.js} +2 -2
  32. package/dist/calcite/{p-cc6d3680.js → p-25ac526a.js} +2 -2
  33. package/dist/calcite/{p-7873f1a4.entry.js → p-2791ed47.entry.js} +2 -2
  34. package/dist/calcite/{p-963ee9d6.js → p-285f109e.js} +2 -2
  35. package/dist/calcite/{p-3124550d.entry.js → p-2b511b14.entry.js} +2 -2
  36. package/dist/calcite/{p-9b86fb06.js → p-2f691e43.js} +2 -2
  37. package/dist/calcite/p-30a08b6a.js +6 -0
  38. package/dist/calcite/p-30bcdf79.entry.js +6 -0
  39. package/dist/calcite/{p-9ac1589d.entry.js → p-327c4f6b.entry.js} +2 -2
  40. package/dist/calcite/{p-121719fb.js → p-328495b5.js} +2 -2
  41. package/dist/calcite/{p-121495ce.entry.js → p-33d9aa1e.entry.js} +2 -2
  42. package/dist/calcite/{p-9c0d7cd4.js → p-36712ef1.js} +2 -2
  43. package/dist/calcite/{p-5a2116d2.entry.js → p-3c85a6c9.entry.js} +2 -2
  44. package/dist/calcite/{p-35caddf6.entry.js → p-3d27e6cb.entry.js} +2 -2
  45. package/dist/calcite/{p-b38ee013.js → p-3f126932.js} +1 -1
  46. package/dist/calcite/{p-d1496d1c.entry.js → p-3f1f2a6d.entry.js} +2 -2
  47. package/dist/calcite/{p-933af3c8.entry.js → p-43a35d5a.entry.js} +2 -2
  48. package/dist/calcite/{p-bbc4622f.entry.js → p-456ade2b.entry.js} +2 -2
  49. package/dist/calcite/{p-54b68720.entry.js → p-46c4bb67.entry.js} +2 -2
  50. package/dist/calcite/{p-4e8345b3.entry.js → p-48a05108.entry.js} +2 -2
  51. package/dist/calcite/{p-9d3a7da7.entry.js → p-48bd6160.entry.js} +2 -2
  52. package/dist/calcite/{p-468ed2b6.js → p-4929e834.js} +1 -1
  53. package/dist/calcite/{p-091fd402.js → p-4dcc9524.js} +2 -2
  54. package/dist/calcite/{p-3515e752.entry.js → p-4e373060.entry.js} +2 -2
  55. package/dist/calcite/{p-566ee4fb.entry.js → p-4f419ab6.entry.js} +2 -2
  56. package/dist/calcite/{p-faac1635.entry.js → p-4fe0d0ba.entry.js} +2 -2
  57. package/dist/calcite/{p-97c5fb74.entry.js → p-50a0e688.entry.js} +2 -2
  58. package/dist/calcite/{p-329ee5a1.entry.js → p-5114cef5.entry.js} +2 -2
  59. package/dist/calcite/p-51dd4406.entry.js +6 -0
  60. package/dist/calcite/{p-ebb84082.js → p-51fa67d7.js} +2 -2
  61. package/dist/calcite/{p-2ecaa811.entry.js → p-531c5aa2.entry.js} +2 -2
  62. package/dist/calcite/{p-c45c393a.entry.js → p-54255986.entry.js} +2 -2
  63. package/dist/calcite/{p-3ae8a203.js → p-55459b96.js} +2 -2
  64. package/dist/calcite/{p-c2b7024f.js → p-56e1cbc5.js} +2 -2
  65. package/dist/calcite/{p-d4470fa9.js → p-57b358a9.js} +2 -2
  66. package/dist/calcite/{p-83918ff1.entry.js → p-58ce6db3.entry.js} +2 -2
  67. package/dist/calcite/{p-bddc40f7.js → p-64c2457c.js} +2 -2
  68. package/dist/calcite/{p-7d70cba4.js → p-67ebb23a.js} +2 -2
  69. package/dist/calcite/{p-d4cf5746.entry.js → p-683a7057.entry.js} +2 -2
  70. package/dist/calcite/{p-b0abfc57.js → p-68f223ec.js} +2 -2
  71. package/dist/calcite/{p-e345755c.js → p-699dc380.js} +1 -1
  72. package/dist/calcite/{p-f4b6b83d.entry.js → p-6d0b3879.entry.js} +2 -2
  73. package/dist/calcite/{p-257d4e73.entry.js → p-6de9f1bb.entry.js} +2 -2
  74. package/dist/calcite/{p-7850b5bf.js → p-6fe1a7ee.js} +2 -2
  75. package/dist/calcite/{p-33c98b54.entry.js → p-724efff7.entry.js} +2 -2
  76. package/dist/calcite/{p-d4cadd8a.entry.js → p-737cdbee.entry.js} +2 -2
  77. package/dist/calcite/{p-cd0e0878.js → p-743ed09c.js} +2 -2
  78. package/dist/calcite/{p-d44dcbe2.js → p-75b896e6.js} +2 -2
  79. package/dist/calcite/{p-6dde09f4.js → p-75d8f6eb.js} +2 -2
  80. package/dist/calcite/{p-f70ea221.entry.js → p-772520f8.entry.js} +2 -2
  81. package/dist/calcite/{p-9a29eddd.entry.js → p-7b431e28.entry.js} +2 -2
  82. package/dist/calcite/{p-5836bd17.js → p-7cd2cd84.js} +2 -2
  83. package/dist/calcite/{p-85af2cc9.js → p-7fb6664e.js} +1 -1
  84. package/dist/calcite/{p-04278e22.js → p-81620376.js} +1 -1
  85. package/dist/calcite/{p-2de1bc72.js → p-84177a2d.js} +2 -2
  86. package/dist/calcite/{p-cf377921.js → p-8472e03b.js} +2 -2
  87. package/dist/calcite/{p-f2c3f053.js → p-84a4f4ca.js} +2 -2
  88. package/dist/calcite/{p-4c109220.js → p-84b28011.js} +2 -2
  89. package/dist/calcite/{p-b4860869.js → p-8789682d.js} +1 -1
  90. package/dist/calcite/{p-8c25733e.entry.js → p-87d3fda1.entry.js} +2 -2
  91. package/dist/calcite/{p-e7016464.entry.js → p-8fd7d045.entry.js} +2 -2
  92. package/dist/calcite/{p-11e156b7.js → p-9182344d.js} +2 -2
  93. package/dist/calcite/{p-2c60840f.js → p-9280476e.js} +1 -1
  94. package/dist/calcite/{p-abeff317.js → p-934fc37c.js} +2 -2
  95. package/dist/calcite/{p-463767e8.js → p-95a4c3dc.js} +2 -2
  96. package/dist/calcite/{p-c0d4ed5a.entry.js → p-95c9c4c0.entry.js} +2 -2
  97. package/dist/calcite/{p-67362b05.entry.js → p-98831965.entry.js} +2 -2
  98. package/dist/calcite/{p-101b234f.js → p-9cbcc2dd.js} +2 -2
  99. package/dist/calcite/{p-0a3314f8.js → p-9dd9a26d.js} +2 -2
  100. package/dist/calcite/{p-86f7bf8c.js → p-a1952e2f.js} +2 -2
  101. package/dist/calcite/{p-9f83c8ec.entry.js → p-a20c8f76.entry.js} +2 -2
  102. package/dist/calcite/{p-137edb31.js → p-a62cc31e.js} +2 -2
  103. package/dist/calcite/p-a8fe06ce.entry.js +6 -0
  104. package/dist/calcite/{p-51f2b056.js → p-b07cd406.js} +2 -2
  105. package/dist/calcite/{p-7daac611.js → p-b093ed6f.js} +2 -2
  106. package/dist/calcite/p-b5979a28.entry.js +6 -0
  107. package/dist/calcite/{p-e5485664.entry.js → p-b7293882.entry.js} +2 -2
  108. package/dist/calcite/{p-942cd7f8.js → p-b8c475d9.js} +1 -1
  109. package/dist/calcite/{p-cbce26d9.js → p-bb3d23ba.js} +2 -2
  110. package/dist/calcite/{p-2ec1f3ea.entry.js → p-bfc02340.entry.js} +2 -2
  111. package/dist/calcite/{p-a30b6d39.js → p-c4e3c141.js} +2 -2
  112. package/dist/calcite/{p-ce90c75b.entry.js → p-c7abf9f0.entry.js} +2 -2
  113. package/dist/calcite/{p-49f6cfe8.entry.js → p-c7d427eb.entry.js} +2 -2
  114. package/dist/calcite/{p-9cfcd91f.js → p-c8e46b02.js} +1 -1
  115. package/dist/calcite/{p-866a1b23.js → p-cc3a07ec.js} +2 -2
  116. package/dist/calcite/p-cd20d876.entry.js +6 -0
  117. package/dist/calcite/{p-416b5855.js → p-cd9266b9.js} +2 -2
  118. package/dist/calcite/p-ce102a61.js +6 -0
  119. package/dist/calcite/{p-18dbbb72.js → p-cf8ea66f.js} +1 -1
  120. package/dist/calcite/{p-54396627.js → p-d2aa9245.js} +1 -1
  121. package/dist/calcite/{p-b656fc7b.js → p-d511a532.js} +1 -1
  122. package/dist/calcite/{p-feee09f3.entry.js → p-d6dd586f.entry.js} +2 -2
  123. package/dist/calcite/{p-9a285cfc.js → p-da201947.js} +2 -2
  124. package/dist/calcite/{p-fd56f80c.js → p-dbe1849b.js} +2 -2
  125. package/dist/calcite/{p-1e9bf083.js → p-dcddc7b6.js} +2 -2
  126. package/dist/calcite/{p-e8c2f550.js → p-deebcc06.js} +1 -1
  127. package/dist/calcite/{p-008d578c.js → p-e698096d.js} +2 -2
  128. package/dist/calcite/{p-b6237f9b.js → p-e6c64082.js} +2 -2
  129. package/dist/calcite/{p-eb7d0b42.js → p-e6cec491.js} +1 -1
  130. package/dist/calcite/{p-78cbf703.entry.js → p-e912dedf.entry.js} +2 -2
  131. package/dist/calcite/{p-32306f3c.entry.js → p-e9fd9f39.entry.js} +2 -2
  132. package/dist/calcite/{p-164ef792.entry.js → p-eb6802bc.entry.js} +2 -2
  133. package/dist/calcite/{p-a886e972.js → p-ec8caa69.js} +2 -2
  134. package/dist/calcite/p-ecc7d0bf.js +6 -0
  135. package/dist/calcite/p-ee85b516.entry.js +6 -0
  136. package/dist/calcite/{p-38f81766.js → p-ee8d6404.js} +2 -2
  137. package/dist/calcite/{p-8a25a2ad.js → p-f0049b08.js} +2 -2
  138. package/dist/calcite/p-f0a5cfe9.entry.js +6 -0
  139. package/dist/calcite/{p-b9f343ba.entry.js → p-f19d9fe1.entry.js} +2 -2
  140. package/dist/calcite/{p-a50922d0.entry.js → p-f1e7024a.entry.js} +2 -2
  141. package/dist/calcite/{p-e522f7eb.js → p-f3145315.js} +2 -2
  142. package/dist/calcite/{p-1880b676.js → p-f4ce94a4.js} +2 -2
  143. package/dist/calcite/{p-bd0ca506.js → p-f6e90ced.js} +2 -2
  144. package/dist/calcite/{p-f985221b.entry.js → p-f8161ca1.entry.js} +2 -2
  145. package/dist/calcite/{p-e47153e7.entry.js → p-f84de205.entry.js} +2 -2
  146. package/dist/calcite/{p-9c2cde2b.js → p-f98aa079.js} +2 -2
  147. package/dist/calcite/{p-608cffa9.js → p-f9fa6fa8.js} +2 -2
  148. package/dist/calcite/{p-48b6506e.js → p-fb7d5871.js} +2 -2
  149. package/dist/calcite/{p-abec95ac.entry.js → p-fbf20359.entry.js} +2 -2
  150. package/dist/calcite/{p-a1e17623.entry.js → p-fc02a598.entry.js} +2 -2
  151. package/dist/calcite/{p-388d8657.js → p-fdd648e6.js} +2 -2
  152. package/dist/calcite/{p-8064cd9c.js → p-fdf58e9d.js} +2 -2
  153. package/dist/cjs/{ExpandToggle-8db548f6.js → ExpandToggle-7cbfc836.js} +5 -5
  154. package/dist/cjs/{FloatingArrow-22c0d1c3.js → FloatingArrow-eae44e77.js} +2 -2
  155. package/dist/cjs/{Heading-e9633d44.js → Heading-e1a3c7e4.js} +2 -2
  156. package/dist/cjs/{app-globals-cb698128.js → app-globals-0e899743.js} +2 -2
  157. package/dist/cjs/{ar-1706b8a8.js → ar-2289868b.js} +16 -16
  158. package/dist/cjs/{array-5b1bfeaf.js → array-056ac2a2.js} +1 -1
  159. package/dist/cjs/{bg-b63f7be7.js → bg-b08dd8f3.js} +16 -16
  160. package/dist/cjs/{browser-64394442.js → browser-28ea2ce1.js} +1 -1
  161. package/dist/cjs/{bs-04f3cd11.js → bs-e9791d9c.js} +16 -16
  162. package/dist/cjs/{ca-8f1e2d8a.js → ca-dfdbe040.js} +16 -16
  163. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  164. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  165. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  166. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  167. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  168. package/dist/cjs/calcite-action.cjs.entry.js +12 -12
  169. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  170. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  171. package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
  172. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  173. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  174. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  175. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
  177. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
  178. package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
  179. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
  180. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
  181. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  182. package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
  183. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  184. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  185. package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
  186. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  187. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  188. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
  189. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
  190. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  191. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  192. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
  193. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-535ff529.js → calcite-input-time-picker.calcite-time-picker-8dc8497d.js} +60 -60
  194. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -16
  195. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  196. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  197. package/dist/cjs/calcite-link.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-list_3.cjs.entry.js +18 -22
  199. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  200. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  201. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  202. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  203. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  204. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
  205. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  206. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  207. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
  208. package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
  209. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  210. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  211. package/dist/cjs/calcite-radio-button.cjs.entry.js +33 -14
  212. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  213. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  214. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -10
  215. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  216. package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
  217. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-stack.cjs.entry.js +5 -5
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
  220. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
  222. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  224. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  226. package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
  229. package/dist/cjs/calcite.cjs.js +4 -4
  230. package/dist/cjs/{composed-offset-position.esm-5eddd255.js → composed-offset-position.esm-c4e52c7d.js} +1 -1
  231. package/dist/cjs/{conditionalSlot-3d86b720.js → conditionalSlot-4472b3c1.js} +3 -3
  232. package/dist/cjs/{cs-8b285546.js → cs-2fef5628.js} +16 -16
  233. package/dist/cjs/{da-46cd75f5.js → da-3ebbf817.js} +16 -16
  234. package/dist/cjs/{de-18fbaa5f.js → de-08b4ba5c.js} +16 -16
  235. package/dist/cjs/{de-at-df2817ed.js → de-at-97957f64.js} +16 -16
  236. package/dist/cjs/{de-ch-bbf88b74.js → de-ch-e8718578.js} +16 -16
  237. package/dist/cjs/{debounce-e09471b5.js → debounce-492319d0.js} +1 -1
  238. package/dist/cjs/{dom-4f7774f5.js → dom-18ca68ff.js} +3 -3
  239. package/dist/cjs/{el-853e25d3.js → el-450199f8.js} +16 -16
  240. package/dist/cjs/{en-au-a03356d0.js → en-au-b26a1ded.js} +16 -16
  241. package/dist/cjs/{en-ca-25a7048a.js → en-ca-a1264f94.js} +16 -16
  242. package/dist/cjs/{en-gb-d50b971a.js → en-gb-809a4db2.js} +16 -16
  243. package/dist/cjs/{es-d13b5666.js → es-494ac985.js} +16 -16
  244. package/dist/cjs/{es-mx-56cbf823.js → es-mx-fbbf5320.js} +16 -16
  245. package/dist/cjs/{et-358e30b3.js → et-155e9580.js} +16 -16
  246. package/dist/cjs/{fi-b310fb67.js → fi-e939ea9d.js} +16 -16
  247. package/dist/cjs/{filter-f4c5783a.js → filter-84a21188.js} +2 -2
  248. package/dist/cjs/{floating-ui-427918f2.js → floating-ui-b6af0d52.js} +113 -102
  249. package/dist/cjs/{focusTrapComponent-35b117bd.js → focusTrapComponent-645b4a75.js} +2 -2
  250. package/dist/cjs/{form-ce32cfbf.js → form-f9d34433.js} +3 -3
  251. package/dist/cjs/{fr-a9841cc7.js → fr-2c7d9e30.js} +16 -16
  252. package/dist/cjs/{fr-ch-a7d04a56.js → fr-ch-76447f1b.js} +16 -16
  253. package/dist/cjs/{guid-6463d06f.js → guid-db20443e.js} +1 -1
  254. package/dist/cjs/{he-c6a4f14b.js → he-7bc7d996.js} +16 -16
  255. package/dist/cjs/{hi-7eb85ede.js → hi-4d59acf6.js} +16 -16
  256. package/dist/cjs/{hr-af7040b3.js → hr-a00f62a8.js} +16 -16
  257. package/dist/cjs/{hu-c0d32e2d.js → hu-937261d5.js} +16 -16
  258. package/dist/cjs/{id-0bdb21c3.js → id-69199b81.js} +16 -16
  259. package/dist/cjs/{index-faff3ea7.js → index-55f8a3b7.js} +1 -1
  260. package/dist/cjs/index.cjs.js +2 -2
  261. package/dist/cjs/{interactive-274d5a97.js → interactive-26294f2c.js} +2 -2
  262. package/dist/cjs/{it-7b33afef.js → it-45e3e844.js} +16 -16
  263. package/dist/cjs/{it-ch-b2e28928.js → it-ch-77bff418.js} +16 -16
  264. package/dist/cjs/{ja-04d8e3ea.js → ja-f10ef4d4.js} +16 -16
  265. package/dist/cjs/{key-b220b977.js → key-2ce02f02.js} +1 -1
  266. package/dist/cjs/{ko-4f4f01b5.js → ko-8687cb8b.js} +16 -16
  267. package/dist/cjs/{label-e4873c18.js → label-fb3080ea.js} +2 -2
  268. package/dist/cjs/{loadable-ef6d5cc8.js → loadable-53f729bb.js} +1 -1
  269. package/dist/cjs/loader.cjs.js +4 -4
  270. package/dist/cjs/{locale-5ac724e1.js → locale-fc347462.js} +4 -4
  271. package/dist/cjs/{lt-50a7db08.js → lt-17f00030.js} +16 -16
  272. package/dist/cjs/{lv-1155f3b9.js → lv-150c7a9b.js} +16 -16
  273. package/dist/cjs/{math-0a4032a3.js → math-202e427c.js} +1 -1
  274. package/dist/cjs/{mk-baad9b0b.js → mk-f28752fd.js} +16 -16
  275. package/dist/cjs/{nb-c83020cb.js → nb-958650ea.js} +16 -16
  276. package/dist/cjs/{nl-b92cf9ec.js → nl-e3033021.js} +16 -16
  277. package/dist/cjs/{observers-f5516ae9.js → observers-83b3999d.js} +1 -1
  278. package/dist/cjs/{openCloseComponent-baf5c8ce.js → openCloseComponent-6cd419dc.js} +2 -2
  279. package/dist/cjs/{pl-5855bec7.js → pl-60f08bd5.js} +16 -16
  280. package/dist/cjs/{pt-e96b9501.js → pt-1642d822.js} +16 -16
  281. package/dist/cjs/{pt-br-8ea8a02c.js → pt-br-a7d60174.js} +16 -16
  282. package/dist/cjs/{resources-be56c993.js → resources-23081b72.js} +1 -1
  283. package/dist/cjs/{resources-0b44176c.js → resources-2e69630c.js} +5 -5
  284. package/dist/cjs/{resources-a3ff1d21.js → resources-372c2745.js} +1 -1
  285. package/dist/cjs/{resources-23333a3d.js → resources-45d84c94.js} +1 -1
  286. package/dist/cjs/{resources-3a317e26.js → resources-5905a39c.js} +1 -1
  287. package/dist/cjs/{resources-1d5866d0.js → resources-92796e4d.js} +1 -1
  288. package/dist/cjs/{ro-e834f1f2.js → ro-c6e43008.js} +16 -16
  289. package/dist/cjs/{ru-7acd763a.js → ru-339ffe2f.js} +16 -16
  290. package/dist/cjs/{sk-607f65c5.js → sk-d4560630.js} +16 -16
  291. package/dist/cjs/{sl-9d818d00.js → sl-f8a2dfed.js} +16 -16
  292. package/dist/cjs/{sortableComponent-54dedb9a.js → sortableComponent-48a428a7.js} +2 -2
  293. package/dist/cjs/{sr-0d3e23b9.js → sr-b3fb3ad9.js} +16 -16
  294. package/dist/cjs/{sv-1ce46da3.js → sv-019f208c.js} +16 -16
  295. package/dist/cjs/{t9n-ad9ef1e8.js → t9n-14d528c4.js} +3 -3
  296. package/dist/cjs/{th-de330447.js → th-42ad9f21.js} +16 -16
  297. package/dist/cjs/{throttle-98d8e92d.js → throttle-c651269b.js} +2 -2
  298. package/dist/cjs/{tr-724049d6.js → tr-268cd169.js} +16 -16
  299. package/dist/cjs/{uk-dc518983.js → uk-33c7557b.js} +16 -16
  300. package/dist/cjs/{utils-a61da72c.js → utils-6ed114ba.js} +1 -1
  301. package/dist/cjs/{utils-d8837cb7.js → utils-75548d4a.js} +3 -3
  302. package/dist/cjs/{vi-2c4ded32.js → vi-74660052.js} +16 -16
  303. package/dist/cjs/{zh-cn-0045e3a2.js → zh-cn-c25e09b9.js} +16 -16
  304. package/dist/cjs/{zh-hk-208ed9df.js → zh-hk-2042e2b3.js} +16 -16
  305. package/dist/cjs/{zh-tw-3c4476e2.js → zh-tw-92fe6a60.js} +16 -16
  306. package/dist/collection/components/accordion/accordion.js +1 -1
  307. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  308. package/dist/collection/components/accordion-item/resources.js +1 -1
  309. package/dist/collection/components/action/action.js +1 -1
  310. package/dist/collection/components/action/resources.js +1 -1
  311. package/dist/collection/components/action-bar/action-bar.js +1 -1
  312. package/dist/collection/components/action-bar/resources.js +1 -1
  313. package/dist/collection/components/action-bar/utils.js +1 -1
  314. package/dist/collection/components/action-group/action-group.js +1 -1
  315. package/dist/collection/components/action-group/resources.js +1 -1
  316. package/dist/collection/components/action-menu/action-menu.js +1 -1
  317. package/dist/collection/components/action-menu/resources.js +1 -1
  318. package/dist/collection/components/action-pad/action-pad.js +1 -1
  319. package/dist/collection/components/action-pad/resources.js +1 -1
  320. package/dist/collection/components/alert/alert.js +1 -1
  321. package/dist/collection/components/alert/resources.js +1 -1
  322. package/dist/collection/components/avatar/avatar.js +1 -1
  323. package/dist/collection/components/avatar/utils.js +1 -1
  324. package/dist/collection/components/block/block.js +1 -1
  325. package/dist/collection/components/block/resources.js +1 -1
  326. package/dist/collection/components/block-section/block-section.js +1 -1
  327. package/dist/collection/components/block-section/resources.js +1 -1
  328. package/dist/collection/components/button/button.js +1 -1
  329. package/dist/collection/components/button/resources.js +1 -1
  330. package/dist/collection/components/card/card.js +1 -1
  331. package/dist/collection/components/card/resources.js +1 -1
  332. package/dist/collection/components/checkbox/checkbox.js +1 -1
  333. package/dist/collection/components/chip/chip.js +1 -1
  334. package/dist/collection/components/chip/resources.js +1 -1
  335. package/dist/collection/components/chip-group/chip-group.js +1 -1
  336. package/dist/collection/components/color-picker/color-picker.js +1 -1
  337. package/dist/collection/components/color-picker/resources.js +1 -1
  338. package/dist/collection/components/color-picker/utils.js +1 -1
  339. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  340. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  341. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  342. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  343. package/dist/collection/components/combobox/combobox.js +1 -1
  344. package/dist/collection/components/combobox/resources.js +1 -1
  345. package/dist/collection/components/combobox/utils.js +1 -1
  346. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  347. package/dist/collection/components/combobox-item/resources.js +1 -1
  348. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  349. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  350. package/dist/collection/components/date-picker/date-picker.js +1 -1
  351. package/dist/collection/components/date-picker/resources.js +1 -1
  352. package/dist/collection/components/date-picker/utils.js +1 -1
  353. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  354. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  355. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  356. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  357. package/dist/collection/components/dropdown/dropdown.js +1 -1
  358. package/dist/collection/components/dropdown/resources.js +1 -1
  359. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  360. package/dist/collection/components/dropdown-group/resources.js +1 -1
  361. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  362. package/dist/collection/components/dropdown-item/resources.js +1 -1
  363. package/dist/collection/components/fab/fab.js +1 -1
  364. package/dist/collection/components/fab/resources.js +1 -1
  365. package/dist/collection/components/filter/filter.js +1 -1
  366. package/dist/collection/components/filter/resources.js +1 -1
  367. package/dist/collection/components/flow/flow.js +1 -1
  368. package/dist/collection/components/flow/resources.js +1 -1
  369. package/dist/collection/components/flow-item/flow-item.js +1 -1
  370. package/dist/collection/components/flow-item/resources.js +1 -1
  371. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  372. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  373. package/dist/collection/components/functional/Heading.js +1 -1
  374. package/dist/collection/components/functional/XButton.js +1 -1
  375. package/dist/collection/components/graph/graph.js +1 -1
  376. package/dist/collection/components/graph/util.js +1 -1
  377. package/dist/collection/components/handle/handle.js +1 -1
  378. package/dist/collection/components/handle/resources.js +1 -1
  379. package/dist/collection/components/icon/icon.js +1 -1
  380. package/dist/collection/components/icon/resources.js +1 -1
  381. package/dist/collection/components/icon/utils.js +1 -1
  382. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  383. package/dist/collection/components/inline-editable/resources.js +1 -1
  384. package/dist/collection/components/input/input.js +1 -1
  385. package/dist/collection/components/input/resources.js +1 -1
  386. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  387. package/dist/collection/components/input-date-picker/resources.js +1 -1
  388. package/dist/collection/components/input-message/input-message.js +1 -1
  389. package/dist/collection/components/input-message/interfaces.js +1 -1
  390. package/dist/collection/components/input-number/input-number.js +1 -1
  391. package/dist/collection/components/input-number/resources.js +1 -1
  392. package/dist/collection/components/input-text/input-text.js +1 -1
  393. package/dist/collection/components/input-text/resources.js +1 -1
  394. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  395. package/dist/collection/components/input-time-picker/resources.js +1 -1
  396. package/dist/collection/components/label/label.js +1 -1
  397. package/dist/collection/components/label/resources.js +1 -1
  398. package/dist/collection/components/link/link.js +1 -1
  399. package/dist/collection/components/list/list.js +4 -6
  400. package/dist/collection/components/list/resources.js +1 -1
  401. package/dist/collection/components/list-item/list-item.js +3 -5
  402. package/dist/collection/components/list-item/resources.js +1 -1
  403. package/dist/collection/components/list-item/utils.js +1 -1
  404. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  405. package/dist/collection/components/list-item-group/resources.js +1 -1
  406. package/dist/collection/components/loader/loader.js +1 -1
  407. package/dist/collection/components/menu/menu.js +1 -1
  408. package/dist/collection/components/menu-item/menu-item.js +1 -1
  409. package/dist/collection/components/menu-item/resources.js +1 -1
  410. package/dist/collection/components/modal/modal.js +1 -1
  411. package/dist/collection/components/modal/resources.js +1 -1
  412. package/dist/collection/components/navigation/navigation.js +1 -1
  413. package/dist/collection/components/navigation/resources.js +1 -1
  414. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  415. package/dist/collection/components/navigation-logo/resources.js +1 -1
  416. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  417. package/dist/collection/components/navigation-user/resources.js +1 -1
  418. package/dist/collection/components/notice/notice.js +1 -1
  419. package/dist/collection/components/notice/resources.js +1 -1
  420. package/dist/collection/components/option/option.js +1 -1
  421. package/dist/collection/components/option-group/option-group.js +1 -1
  422. package/dist/collection/components/pagination/pagination.js +1 -1
  423. package/dist/collection/components/pagination/resources.js +1 -1
  424. package/dist/collection/components/panel/panel.js +1 -1
  425. package/dist/collection/components/panel/resources.js +1 -1
  426. package/dist/collection/components/pick-list/pick-list.js +1 -1
  427. package/dist/collection/components/pick-list/resources.js +1 -1
  428. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  429. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  430. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  431. package/dist/collection/components/pick-list-group/resources.js +1 -1
  432. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  433. package/dist/collection/components/pick-list-item/resources.js +1 -1
  434. package/dist/collection/components/popover/PopoverManager.js +1 -1
  435. package/dist/collection/components/popover/popover.js +1 -1
  436. package/dist/collection/components/popover/resources.js +1 -1
  437. package/dist/collection/components/progress/progress.js +1 -1
  438. package/dist/collection/components/radio-button/radio-button.js +28 -5
  439. package/dist/collection/components/radio-button/resources.js +1 -1
  440. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  441. package/dist/collection/components/rating/function/star.js +1 -1
  442. package/dist/collection/components/rating/rating.js +1 -1
  443. package/dist/collection/components/resources.js +1 -1
  444. package/dist/collection/components/scrim/resources.js +1 -1
  445. package/dist/collection/components/scrim/scrim.js +1 -1
  446. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  447. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  448. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  449. package/dist/collection/components/select/resources.js +1 -1
  450. package/dist/collection/components/select/select.js +1 -1
  451. package/dist/collection/components/shell/resources.js +1 -1
  452. package/dist/collection/components/shell/shell.js +1 -1
  453. package/dist/collection/components/shell-center-row/resources.js +1 -1
  454. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  455. package/dist/collection/components/shell-panel/resources.js +1 -1
  456. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  457. package/dist/collection/components/slider/resources.js +1 -1
  458. package/dist/collection/components/slider/slider.js +1 -1
  459. package/dist/collection/components/sortable-list/resources.js +1 -1
  460. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  461. package/dist/collection/components/split-button/resources.js +1 -1
  462. package/dist/collection/components/split-button/split-button.js +1 -1
  463. package/dist/collection/components/stack/resources.js +1 -1
  464. package/dist/collection/components/stack/stack.js +1 -1
  465. package/dist/collection/components/stepper/stepper.js +1 -1
  466. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  467. package/dist/collection/components/switch/switch.js +1 -1
  468. package/dist/collection/components/tab/tab.js +1 -1
  469. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  470. package/dist/collection/components/tab-title/resources.js +1 -1
  471. package/dist/collection/components/tab-title/tab-title.js +1 -1
  472. package/dist/collection/components/tabs/resources.js +1 -1
  473. package/dist/collection/components/tabs/tabs.js +1 -1
  474. package/dist/collection/components/text-area/resources.js +1 -1
  475. package/dist/collection/components/text-area/text-area.js +1 -1
  476. package/dist/collection/components/tile/resources.js +1 -1
  477. package/dist/collection/components/tile/tile.js +1 -1
  478. package/dist/collection/components/tile-select/resources.js +1 -1
  479. package/dist/collection/components/tile-select/tile-select.js +1 -1
  480. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  481. package/dist/collection/components/time-picker/resources.js +1 -1
  482. package/dist/collection/components/time-picker/time-picker.js +1 -1
  483. package/dist/collection/components/tip/resources.js +1 -1
  484. package/dist/collection/components/tip/tip.js +1 -1
  485. package/dist/collection/components/tip-group/tip-group.js +1 -1
  486. package/dist/collection/components/tip-manager/resources.js +1 -1
  487. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  488. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  489. package/dist/collection/components/tooltip/resources.js +1 -1
  490. package/dist/collection/components/tooltip/tooltip.js +1 -1
  491. package/dist/collection/components/tooltip/utils.js +1 -1
  492. package/dist/collection/components/tree/tree.js +1 -1
  493. package/dist/collection/components/tree/utils.js +1 -1
  494. package/dist/collection/components/tree-item/resources.js +1 -1
  495. package/dist/collection/components/tree-item/tree-item.js +1 -1
  496. package/dist/collection/components/value-list/resources.js +1 -1
  497. package/dist/collection/components/value-list/utils.js +1 -1
  498. package/dist/collection/components/value-list/value-list.js +1 -1
  499. package/dist/collection/components/value-list-item/resources.js +1 -1
  500. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  501. package/dist/collection/index.js +1 -1
  502. package/dist/collection/utils/array.js +1 -1
  503. package/dist/collection/utils/browser.js +1 -1
  504. package/dist/collection/utils/conditionalSlot.js +1 -1
  505. package/dist/collection/utils/config.js +1 -1
  506. package/dist/collection/utils/date.js +1 -1
  507. package/dist/collection/utils/dom.js +1 -1
  508. package/dist/collection/utils/filter.js +1 -1
  509. package/dist/collection/utils/floating-ui.js +110 -99
  510. package/dist/collection/utils/focusTrapComponent.js +1 -1
  511. package/dist/collection/utils/form.js +1 -1
  512. package/dist/collection/utils/globalAttributes.js +1 -1
  513. package/dist/collection/utils/globalScript.js +1 -1
  514. package/dist/collection/utils/guid.js +1 -1
  515. package/dist/collection/utils/interactive.js +1 -1
  516. package/dist/collection/utils/key.js +1 -1
  517. package/dist/collection/utils/label.js +1 -1
  518. package/dist/collection/utils/loadable.js +1 -1
  519. package/dist/collection/utils/locale.js +1 -1
  520. package/dist/collection/utils/math.js +1 -1
  521. package/dist/collection/utils/mode.js +1 -1
  522. package/dist/collection/utils/number.js +1 -1
  523. package/dist/collection/utils/observers.js +1 -1
  524. package/dist/collection/utils/openCloseComponent.js +1 -1
  525. package/dist/collection/utils/resources.js +1 -1
  526. package/dist/collection/utils/sortableComponent.js +1 -1
  527. package/dist/collection/utils/t9n.js +1 -1
  528. package/dist/collection/utils/time.js +1 -1
  529. package/dist/components/ExpandToggle.js +1 -1
  530. package/dist/components/FloatingArrow.js +1 -1
  531. package/dist/components/Heading.js +1 -1
  532. package/dist/components/action-group.js +1 -1
  533. package/dist/components/action-menu.js +1 -1
  534. package/dist/components/action.js +1 -1
  535. package/dist/components/ar.js +1 -1
  536. package/dist/components/array.js +1 -1
  537. package/dist/components/avatar.js +1 -1
  538. package/dist/components/bg.js +1 -1
  539. package/dist/components/browser.js +1 -1
  540. package/dist/components/bs.js +1 -1
  541. package/dist/components/button.js +1 -1
  542. package/dist/components/ca.js +1 -1
  543. package/dist/components/calcite-accordion-item.js +1 -1
  544. package/dist/components/calcite-accordion.js +1 -1
  545. package/dist/components/calcite-action-bar.js +3 -3
  546. package/dist/components/calcite-action-group.js +1 -1
  547. package/dist/components/calcite-action-menu.js +1 -1
  548. package/dist/components/calcite-action-pad.js +1 -1
  549. package/dist/components/calcite-action.js +1 -1
  550. package/dist/components/calcite-alert.js +1 -1
  551. package/dist/components/calcite-avatar.js +1 -1
  552. package/dist/components/calcite-block-section.js +1 -1
  553. package/dist/components/calcite-block.js +1 -1
  554. package/dist/components/calcite-button.js +1 -1
  555. package/dist/components/calcite-card.js +1 -1
  556. package/dist/components/calcite-checkbox.js +1 -1
  557. package/dist/components/calcite-chip-group.js +1 -1
  558. package/dist/components/calcite-chip.js +1 -1
  559. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  560. package/dist/components/calcite-color-picker-swatch.js +1 -1
  561. package/dist/components/calcite-color-picker.js +1 -1
  562. package/dist/components/calcite-combobox-item-group.js +1 -1
  563. package/dist/components/calcite-combobox-item.js +1 -1
  564. package/dist/components/calcite-combobox.js +2 -2
  565. package/dist/components/calcite-date-picker-day.js +1 -1
  566. package/dist/components/calcite-date-picker-month-header.js +1 -1
  567. package/dist/components/calcite-date-picker-month.js +1 -1
  568. package/dist/components/calcite-date-picker.js +1 -1
  569. package/dist/components/calcite-dropdown-group.js +1 -1
  570. package/dist/components/calcite-dropdown-item.js +1 -1
  571. package/dist/components/calcite-dropdown.js +1 -1
  572. package/dist/components/calcite-fab.js +1 -1
  573. package/dist/components/calcite-filter.js +1 -1
  574. package/dist/components/calcite-flow-item.js +1 -1
  575. package/dist/components/calcite-flow.js +1 -1
  576. package/dist/components/calcite-graph.js +1 -1
  577. package/dist/components/calcite-handle.js +1 -1
  578. package/dist/components/calcite-icon.js +1 -1
  579. package/dist/components/calcite-inline-editable.js +1 -1
  580. package/dist/components/calcite-input-date-picker.js +1 -1
  581. package/dist/components/calcite-input-message.js +1 -1
  582. package/dist/components/calcite-input-number.js +1 -1
  583. package/dist/components/calcite-input-text.js +1 -1
  584. package/dist/components/calcite-input-time-picker.js +1 -1
  585. package/dist/components/calcite-input.js +1 -1
  586. package/dist/components/calcite-label.js +1 -1
  587. package/dist/components/calcite-link.js +1 -1
  588. package/dist/components/calcite-list-item-group.js +1 -1
  589. package/dist/components/calcite-list-item.js +3 -5
  590. package/dist/components/calcite-list.js +4 -6
  591. package/dist/components/calcite-loader.js +1 -1
  592. package/dist/components/calcite-menu-item.js +1 -1
  593. package/dist/components/calcite-menu.js +1 -1
  594. package/dist/components/calcite-modal.js +1 -1
  595. package/dist/components/calcite-navigation-logo.js +1 -1
  596. package/dist/components/calcite-navigation-user.js +1 -1
  597. package/dist/components/calcite-navigation.js +1 -1
  598. package/dist/components/calcite-notice.js +1 -1
  599. package/dist/components/calcite-option-group.js +1 -1
  600. package/dist/components/calcite-option.js +1 -1
  601. package/dist/components/calcite-pagination.js +1 -1
  602. package/dist/components/calcite-panel.js +1 -1
  603. package/dist/components/calcite-pick-list-group.js +1 -1
  604. package/dist/components/calcite-pick-list-item.js +1 -1
  605. package/dist/components/calcite-pick-list.js +1 -1
  606. package/dist/components/calcite-popover.js +1 -1
  607. package/dist/components/calcite-progress.js +1 -1
  608. package/dist/components/calcite-radio-button-group.js +1 -1
  609. package/dist/components/calcite-radio-button.js +24 -5
  610. package/dist/components/calcite-rating.js +1 -1
  611. package/dist/components/calcite-scrim.js +1 -1
  612. package/dist/components/calcite-segmented-control-item.js +1 -1
  613. package/dist/components/calcite-segmented-control.js +1 -1
  614. package/dist/components/calcite-select.js +1 -1
  615. package/dist/components/calcite-shell-center-row.js +1 -1
  616. package/dist/components/calcite-shell-panel.js +1 -1
  617. package/dist/components/calcite-shell.js +1 -1
  618. package/dist/components/calcite-slider.js +1 -1
  619. package/dist/components/calcite-sortable-list.js +1 -1
  620. package/dist/components/calcite-split-button.js +1 -1
  621. package/dist/components/calcite-stack.js +1 -1
  622. package/dist/components/calcite-stepper-item.js +1 -1
  623. package/dist/components/calcite-stepper.js +1 -1
  624. package/dist/components/calcite-switch.js +1 -1
  625. package/dist/components/calcite-tab-nav.js +1 -1
  626. package/dist/components/calcite-tab-title.js +1 -1
  627. package/dist/components/calcite-tab.js +1 -1
  628. package/dist/components/calcite-tabs.js +1 -1
  629. package/dist/components/calcite-text-area.js +1 -1
  630. package/dist/components/calcite-tile-select-group.js +1 -1
  631. package/dist/components/calcite-tile-select.js +1 -1
  632. package/dist/components/calcite-tile.js +1 -1
  633. package/dist/components/calcite-time-picker.js +1 -1
  634. package/dist/components/calcite-tip-group.js +1 -1
  635. package/dist/components/calcite-tip-manager.js +1 -1
  636. package/dist/components/calcite-tip.js +1 -1
  637. package/dist/components/calcite-tooltip.js +1 -1
  638. package/dist/components/calcite-tree-item.js +1 -1
  639. package/dist/components/calcite-tree.js +1 -1
  640. package/dist/components/calcite-value-list-item.js +1 -1
  641. package/dist/components/calcite-value-list.js +1 -1
  642. package/dist/components/checkbox.js +1 -1
  643. package/dist/components/chip.js +1 -1
  644. package/dist/components/color-picker-hex-input.js +1 -1
  645. package/dist/components/color-picker-swatch.js +1 -1
  646. package/dist/components/composed-offset-position.esm.js +1 -1
  647. package/dist/components/conditionalSlot.js +1 -1
  648. package/dist/components/cs.js +1 -1
  649. package/dist/components/da.js +1 -1
  650. package/dist/components/date-picker-day.js +1 -1
  651. package/dist/components/date-picker-month-header.js +1 -1
  652. package/dist/components/date-picker-month.js +1 -1
  653. package/dist/components/date-picker.js +1 -1
  654. package/dist/components/date.js +1 -1
  655. package/dist/components/de-at.js +1 -1
  656. package/dist/components/de-ch.js +1 -1
  657. package/dist/components/de.js +1 -1
  658. package/dist/components/debounce.js +1 -1
  659. package/dist/components/dom.js +1 -1
  660. package/dist/components/dropdown.js +1 -1
  661. package/dist/components/el.js +1 -1
  662. package/dist/components/en-au.js +1 -1
  663. package/dist/components/en-ca.js +1 -1
  664. package/dist/components/en-gb.js +1 -1
  665. package/dist/components/es-mx.js +1 -1
  666. package/dist/components/es.js +1 -1
  667. package/dist/components/et.js +1 -1
  668. package/dist/components/fi.js +1 -1
  669. package/dist/components/filter.js +1 -1
  670. package/dist/components/filter2.js +1 -1
  671. package/dist/components/floating-ui.js +109 -98
  672. package/dist/components/focusTrapComponent.js +1 -1
  673. package/dist/components/form.js +1 -1
  674. package/dist/components/fr-ch.js +1 -1
  675. package/dist/components/fr.js +1 -1
  676. package/dist/components/graph.js +1 -1
  677. package/dist/components/guid.js +1 -1
  678. package/dist/components/handle.js +1 -1
  679. package/dist/components/he.js +1 -1
  680. package/dist/components/hi.js +1 -1
  681. package/dist/components/hr.js +1 -1
  682. package/dist/components/hu.js +1 -1
  683. package/dist/components/icon.js +1 -1
  684. package/dist/components/id.js +1 -1
  685. package/dist/components/index.js +1 -1
  686. package/dist/components/index2.js +1 -1
  687. package/dist/components/input-number.js +1 -1
  688. package/dist/components/input.js +1 -1
  689. package/dist/components/interactive.js +1 -1
  690. package/dist/components/it-ch.js +1 -1
  691. package/dist/components/it.js +1 -1
  692. package/dist/components/ja.js +1 -1
  693. package/dist/components/key.js +1 -1
  694. package/dist/components/ko.js +1 -1
  695. package/dist/components/label.js +1 -1
  696. package/dist/components/label2.js +1 -1
  697. package/dist/components/link.js +1 -1
  698. package/dist/components/loadable.js +1 -1
  699. package/dist/components/loader.js +1 -1
  700. package/dist/components/locale.js +1 -1
  701. package/dist/components/lt.js +1 -1
  702. package/dist/components/lv.js +1 -1
  703. package/dist/components/math.js +1 -1
  704. package/dist/components/menu.js +1 -1
  705. package/dist/components/mk.js +1 -1
  706. package/dist/components/nb.js +1 -1
  707. package/dist/components/nl.js +1 -1
  708. package/dist/components/observers.js +1 -1
  709. package/dist/components/openCloseComponent.js +1 -1
  710. package/dist/components/panel.js +1 -1
  711. package/dist/components/pick-list-item.js +1 -1
  712. package/dist/components/pl.js +1 -1
  713. package/dist/components/popover.js +1 -1
  714. package/dist/components/progress.js +1 -1
  715. package/dist/components/pt-br.js +1 -1
  716. package/dist/components/pt.js +1 -1
  717. package/dist/components/resources.js +1 -1
  718. package/dist/components/resources2.js +1 -1
  719. package/dist/components/resources3.js +1 -1
  720. package/dist/components/ro.js +1 -1
  721. package/dist/components/ru.js +1 -1
  722. package/dist/components/scrim.js +1 -1
  723. package/dist/components/shared-list-render.js +1 -1
  724. package/dist/components/sk.js +1 -1
  725. package/dist/components/sl.js +1 -1
  726. package/dist/components/sortableComponent.js +1 -1
  727. package/dist/components/sr.js +1 -1
  728. package/dist/components/sv.js +1 -1
  729. package/dist/components/switch.js +1 -1
  730. package/dist/components/t9n.js +1 -1
  731. package/dist/components/tab-nav.js +1 -1
  732. package/dist/components/tab-title.js +1 -1
  733. package/dist/components/tab.js +1 -1
  734. package/dist/components/tabs.js +1 -1
  735. package/dist/components/th.js +1 -1
  736. package/dist/components/throttle.js +1 -1
  737. package/dist/components/tile.js +1 -1
  738. package/dist/components/time-picker.js +1 -1
  739. package/dist/components/tooltip.js +1 -1
  740. package/dist/components/tr.js +1 -1
  741. package/dist/components/uk.js +1 -1
  742. package/dist/components/utils.js +1 -1
  743. package/dist/components/utils2.js +2 -2
  744. package/dist/components/utils3.js +1 -1
  745. package/dist/components/vi.js +1 -1
  746. package/dist/components/zh-cn.js +1 -1
  747. package/dist/components/zh-hk.js +1 -1
  748. package/dist/components/zh-tw.js +1 -1
  749. package/dist/esm/{ExpandToggle-ce05f4e5.js → ExpandToggle-41f271ad.js} +5 -5
  750. package/dist/esm/{FloatingArrow-85b77902.js → FloatingArrow-744a3206.js} +2 -2
  751. package/dist/esm/{Heading-b015d907.js → Heading-4ce5f5c4.js} +2 -2
  752. package/dist/esm/{app-globals-ac11969b.js → app-globals-36bd75d5.js} +2 -2
  753. package/dist/esm/{ar-45b68bba.js → ar-943aea6a.js} +16 -16
  754. package/dist/esm/{array-8e9c3bf7.js → array-c45ef254.js} +1 -1
  755. package/dist/esm/{bg-cfd74026.js → bg-86013018.js} +16 -16
  756. package/dist/esm/{browser-16f56395.js → browser-4be2add2.js} +1 -1
  757. package/dist/esm/{bs-712b6c51.js → bs-a2273953.js} +16 -16
  758. package/dist/esm/{ca-307a69ed.js → ca-1a403945.js} +16 -16
  759. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  760. package/dist/esm/calcite-action-bar.entry.js +15 -15
  761. package/dist/esm/calcite-action-group.entry.js +13 -13
  762. package/dist/esm/calcite-action-menu.entry.js +9 -9
  763. package/dist/esm/calcite-action-pad.entry.js +14 -14
  764. package/dist/esm/calcite-action.entry.js +12 -12
  765. package/dist/esm/calcite-alert.entry.js +12 -12
  766. package/dist/esm/calcite-avatar.entry.js +6 -6
  767. package/dist/esm/calcite-block_2.entry.js +13 -13
  768. package/dist/esm/calcite-button.entry.js +14 -14
  769. package/dist/esm/calcite-card.entry.js +10 -10
  770. package/dist/esm/calcite-checkbox.entry.js +11 -11
  771. package/dist/esm/calcite-chip-group.entry.js +9 -9
  772. package/dist/esm/calcite-chip.entry.js +13 -13
  773. package/dist/esm/calcite-color-picker_3.entry.js +16 -16
  774. package/dist/esm/calcite-combobox_3.entry.js +19 -19
  775. package/dist/esm/calcite-date-picker_4.entry.js +14 -14
  776. package/dist/esm/calcite-dropdown_3.entry.js +13 -13
  777. package/dist/esm/calcite-fab.entry.js +8 -8
  778. package/dist/esm/calcite-filter.entry.js +14 -14
  779. package/dist/esm/calcite-flow-item.entry.js +13 -13
  780. package/dist/esm/calcite-flow.entry.js +3 -3
  781. package/dist/esm/calcite-graph_2.entry.js +14 -14
  782. package/dist/esm/calcite-handle.entry.js +10 -10
  783. package/dist/esm/calcite-icon.entry.js +6 -6
  784. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  785. package/dist/esm/calcite-input-date-picker.entry.js +19 -19
  786. package/dist/esm/calcite-input-message.entry.js +5 -5
  787. package/dist/esm/calcite-input-number.entry.js +14 -14
  788. package/dist/esm/calcite-input-text.entry.js +14 -14
  789. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-34b7a5e4.js → calcite-input-time-picker.calcite-time-picker-18dbcba5.js} +60 -60
  790. package/dist/esm/calcite-input-time-picker_2.entry.js +16 -16
  791. package/dist/esm/calcite-input.entry.js +14 -14
  792. package/dist/esm/calcite-label.entry.js +6 -6
  793. package/dist/esm/calcite-link.entry.js +8 -8
  794. package/dist/esm/calcite-list_3.entry.js +18 -22
  795. package/dist/esm/calcite-loader.entry.js +3 -3
  796. package/dist/esm/calcite-menu_2.entry.js +10 -10
  797. package/dist/esm/calcite-modal.entry.js +13 -13
  798. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  799. package/dist/esm/calcite-notice.entry.js +12 -12
  800. package/dist/esm/calcite-option_3.entry.js +11 -11
  801. package/dist/esm/calcite-pagination.entry.js +10 -10
  802. package/dist/esm/calcite-panel.entry.js +15 -15
  803. package/dist/esm/calcite-pick-list_3.entry.js +17 -17
  804. package/dist/esm/calcite-popover.entry.js +17 -17
  805. package/dist/esm/calcite-progress.entry.js +2 -2
  806. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  807. package/dist/esm/calcite-radio-button.entry.js +33 -14
  808. package/dist/esm/calcite-rating.entry.js +14 -14
  809. package/dist/esm/calcite-scrim.entry.js +9 -9
  810. package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
  811. package/dist/esm/calcite-shell_3.entry.js +11 -11
  812. package/dist/esm/calcite-sortable-list.entry.js +9 -9
  813. package/dist/esm/calcite-split-button.entry.js +5 -5
  814. package/dist/esm/calcite-stack.entry.js +5 -5
  815. package/dist/esm/calcite-stepper_2.entry.js +11 -11
  816. package/dist/esm/calcite-switch.entry.js +11 -11
  817. package/dist/esm/calcite-tab_4.entry.js +11 -11
  818. package/dist/esm/calcite-text-area.entry.js +16 -16
  819. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  820. package/dist/esm/calcite-tile.entry.js +9 -9
  821. package/dist/esm/calcite-tip_3.entry.js +11 -11
  822. package/dist/esm/calcite-tooltip.entry.js +10 -10
  823. package/dist/esm/calcite-tree_2.entry.js +10 -10
  824. package/dist/esm/calcite-value-list_2.entry.js +17 -17
  825. package/dist/esm/calcite.js +5 -5
  826. package/dist/esm/{composed-offset-position.esm-28d2f177.js → composed-offset-position.esm-537e525c.js} +1 -1
  827. package/dist/esm/{conditionalSlot-304803d7.js → conditionalSlot-ed85dd9d.js} +3 -3
  828. package/dist/esm/{cs-f09f3a36.js → cs-067f3d61.js} +16 -16
  829. package/dist/esm/{da-4bbdc8a4.js → da-9746820c.js} +16 -16
  830. package/dist/esm/{de-39b09377.js → de-2ed0e143.js} +16 -16
  831. package/dist/esm/{de-at-5945098f.js → de-at-795c9dcf.js} +16 -16
  832. package/dist/esm/{de-ch-45402424.js → de-ch-9a323587.js} +16 -16
  833. package/dist/esm/{debounce-6c20945f.js → debounce-ca1bd093.js} +1 -1
  834. package/dist/esm/{dom-0ce209ee.js → dom-4f5d1224.js} +3 -3
  835. package/dist/esm/{el-65fd3967.js → el-d3c087bc.js} +16 -16
  836. package/dist/esm/{en-au-45ed6e13.js → en-au-1699ba59.js} +16 -16
  837. package/dist/esm/{en-ca-d011b76f.js → en-ca-7680c50c.js} +16 -16
  838. package/dist/esm/{en-gb-38624e8d.js → en-gb-4000cccd.js} +16 -16
  839. package/dist/esm/{es-6cd0ad6a.js → es-7a3133ea.js} +16 -16
  840. package/dist/esm/{es-mx-c90a1a76.js → es-mx-37bec869.js} +16 -16
  841. package/dist/esm/{et-9fd05f47.js → et-1993871d.js} +16 -16
  842. package/dist/esm/{fi-bd690ea1.js → fi-4945b510.js} +16 -16
  843. package/dist/esm/{filter-01913f2b.js → filter-66e9afc0.js} +2 -2
  844. package/dist/esm/{floating-ui-323f9e15.js → floating-ui-06f1d078.js} +113 -102
  845. package/dist/esm/{focusTrapComponent-cbba6c19.js → focusTrapComponent-84ac4141.js} +2 -2
  846. package/dist/esm/{form-553e2401.js → form-fba83720.js} +3 -3
  847. package/dist/esm/{fr-c3c42b2a.js → fr-57b6e33b.js} +16 -16
  848. package/dist/esm/{fr-ch-44ec0737.js → fr-ch-76d4b977.js} +16 -16
  849. package/dist/esm/{guid-eb322ca8.js → guid-bdb80778.js} +1 -1
  850. package/dist/esm/{he-82eeee85.js → he-e86c9fec.js} +16 -16
  851. package/dist/esm/{hi-ba6ff07c.js → hi-49e4d48e.js} +16 -16
  852. package/dist/esm/{hr-5e37e16a.js → hr-dce90ac5.js} +16 -16
  853. package/dist/esm/{hu-796d9665.js → hu-08e7cc32.js} +16 -16
  854. package/dist/esm/{id-be79b147.js → id-e4079f2a.js} +16 -16
  855. package/dist/esm/{index-c380df3d.js → index-c8875db5.js} +1 -1
  856. package/dist/esm/index.js +2 -2
  857. package/dist/esm/{interactive-0abc87c1.js → interactive-cff0a7ea.js} +2 -2
  858. package/dist/esm/{it-a4761158.js → it-782b597e.js} +16 -16
  859. package/dist/esm/{it-ch-8d76ac69.js → it-ch-8d7d3e18.js} +16 -16
  860. package/dist/esm/{ja-21ea3b6a.js → ja-6dc378a0.js} +16 -16
  861. package/dist/esm/{key-c189cfe7.js → key-582cee8f.js} +1 -1
  862. package/dist/esm/{ko-f359afee.js → ko-1ae1037f.js} +16 -16
  863. package/dist/esm/{label-4c68af4b.js → label-0948e0eb.js} +2 -2
  864. package/dist/esm/{loadable-8215a0e9.js → loadable-8d606217.js} +1 -1
  865. package/dist/esm/loader.js +5 -5
  866. package/dist/esm/{locale-5bb13642.js → locale-0c018cdb.js} +4 -4
  867. package/dist/esm/{lt-420506bc.js → lt-81e98ba1.js} +16 -16
  868. package/dist/esm/{lv-55e394aa.js → lv-a8be7091.js} +16 -16
  869. package/dist/esm/{math-65490645.js → math-bca052e1.js} +1 -1
  870. package/dist/esm/{mk-01a633aa.js → mk-a2bcd211.js} +16 -16
  871. package/dist/esm/{nb-5d7a0447.js → nb-f1ca1a63.js} +16 -16
  872. package/dist/esm/{nl-45f23786.js → nl-2402c31f.js} +16 -16
  873. package/dist/esm/{observers-d57467d9.js → observers-d19b0d93.js} +1 -1
  874. package/dist/esm/{openCloseComponent-35ce8be2.js → openCloseComponent-d4910bc4.js} +2 -2
  875. package/dist/esm/{pl-3b34626d.js → pl-5023fe32.js} +16 -16
  876. package/dist/esm/{pt-9f986d3e.js → pt-7e84a372.js} +16 -16
  877. package/dist/esm/{pt-br-dce2707b.js → pt-br-8da36d8d.js} +16 -16
  878. package/dist/esm/{resources-bda9d403.js → resources-0be06eee.js} +1 -1
  879. package/dist/esm/{resources-22b3f34e.js → resources-0bf6f42d.js} +1 -1
  880. package/dist/esm/{resources-450f79fd.js → resources-35f23920.js} +1 -1
  881. package/dist/esm/{resources-3e606688.js → resources-4c91211d.js} +1 -1
  882. package/dist/esm/{resources-00045b22.js → resources-71cc8780.js} +1 -1
  883. package/dist/esm/{resources-f99f0a95.js → resources-f20dbf1c.js} +5 -5
  884. package/dist/esm/{ro-73dac598.js → ro-991283a3.js} +16 -16
  885. package/dist/esm/{ru-d45ccef8.js → ru-76401526.js} +16 -16
  886. package/dist/esm/{sk-82dcbe44.js → sk-b938cbbb.js} +16 -16
  887. package/dist/esm/{sl-da3f4c6f.js → sl-2aa50b94.js} +16 -16
  888. package/dist/esm/{sortableComponent-71b24897.js → sortableComponent-5b95dae2.js} +2 -2
  889. package/dist/esm/{sr-9b07a9d4.js → sr-adbc4774.js} +16 -16
  890. package/dist/esm/{sv-f0a9e71e.js → sv-34d6977b.js} +16 -16
  891. package/dist/esm/{t9n-42b29350.js → t9n-f819e5a2.js} +3 -3
  892. package/dist/esm/{th-50d50762.js → th-b9acf531.js} +16 -16
  893. package/dist/esm/{throttle-5b1d09f8.js → throttle-d10f0934.js} +2 -2
  894. package/dist/esm/{tr-4c871d34.js → tr-9daaf770.js} +16 -16
  895. package/dist/esm/{uk-5535ee1c.js → uk-e050a7bf.js} +16 -16
  896. package/dist/esm/{utils-54e8f716.js → utils-94d40cd7.js} +1 -1
  897. package/dist/esm/{utils-a3f5f080.js → utils-e1ab1496.js} +3 -3
  898. package/dist/esm/{vi-b4fde93f.js → vi-af0f2863.js} +16 -16
  899. package/dist/esm/{zh-cn-2d8fecfd.js → zh-cn-5e6a7e98.js} +16 -16
  900. package/dist/esm/{zh-hk-f1ebc46c.js → zh-hk-3d9e5972.js} +16 -16
  901. package/dist/esm/{zh-tw-36641a05.js → zh-tw-9059a55e.js} +16 -16
  902. package/dist/loader/cdn.js +1 -1
  903. package/dist/loader/index.cjs.js +1 -1
  904. package/dist/loader/index.es2017.js +1 -1
  905. package/dist/loader/index.js +1 -1
  906. package/dist/types/components/list-item/list-item.d.ts +1 -1
  907. package/dist/types/components/radio-button/radio-button.d.ts +4 -1
  908. package/dist/types/utils/floating-ui.d.ts +50 -51
  909. package/hydrate/index.js +136 -110
  910. package/package.json +2 -2
  911. package/dist/calcite/p-21a7e201.js +0 -6
  912. package/dist/calcite/p-27c54e54.entry.js +0 -6
  913. package/dist/calcite/p-6caf8b90.entry.js +0 -6
  914. package/dist/calcite/p-72775fa5.entry.js +0 -6
  915. package/dist/calcite/p-73639fac.entry.js +0 -6
  916. package/dist/calcite/p-80b67c87.js +0 -6
  917. package/dist/calcite/p-9e8f66a9.entry.js +0 -6
  918. package/dist/calcite/p-ab57b0ce.js +0 -6
  919. package/dist/calcite/p-c4433d62.entry.js +0 -6
  920. package/dist/calcite/p-cefb9028.js +0 -6
  921. package/dist/calcite/p-e6c5231d.entry.js +0 -6
  922. package/dist/calcite/p-ee2b3bef.entry.js +0 -6
  923. package/dist/calcite/p-fb930c9f.entry.js +0 -6
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.2
4
+ * v1.5.0-next.4
5
5
  */
6
6
  'use strict';
7
7
 
@@ -18332,6 +18332,96 @@ const computePosition = (reference, floating, options) => {
18332
18332
  const floatingUIBrowserCheck = patchFloatingUiForNonChromiumBrowsers();
18333
18333
  async function patchFloatingUiForNonChromiumBrowsers() {
18334
18334
  }
18335
+ /**
18336
+ * Positions the floating element relative to the reference element.
18337
+ *
18338
+ * **Note:** exported for testing purposes only
18339
+ *
18340
+ * @param root0
18341
+ * @param root0.referenceEl
18342
+ * @param root0.floatingEl
18343
+ * @param root0.overlayPositioning
18344
+ * @param root0.placement
18345
+ * @param root0.flipDisabled
18346
+ * @param root0.flipPlacements
18347
+ * @param root0.offsetDistance
18348
+ * @param root0.offsetSkidding
18349
+ * @param root0.arrowEl
18350
+ * @param root0.type
18351
+ * @param component
18352
+ * @param root0.referenceEl.referenceEl
18353
+ * @param root0.referenceEl.floatingEl
18354
+ * @param root0.referenceEl.overlayPositioning
18355
+ * @param root0.referenceEl.placement
18356
+ * @param root0.referenceEl.flipDisabled
18357
+ * @param root0.referenceEl.flipPlacements
18358
+ * @param root0.referenceEl.offsetDistance
18359
+ * @param root0.referenceEl.offsetSkidding
18360
+ * @param root0.referenceEl.arrowEl
18361
+ * @param root0.referenceEl.type
18362
+ * @param component.referenceEl
18363
+ * @param component.floatingEl
18364
+ * @param component.overlayPositioning
18365
+ * @param component.placement
18366
+ * @param component.flipDisabled
18367
+ * @param component.flipPlacements
18368
+ * @param component.offsetDistance
18369
+ * @param component.offsetSkidding
18370
+ * @param component.arrowEl
18371
+ * @param component.type
18372
+ */
18373
+ const positionFloatingUI =
18374
+ /* we export arrow function to allow us to spy on it during testing */
18375
+ async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) => {
18376
+ if (!referenceEl || !floatingEl) {
18377
+ return null;
18378
+ }
18379
+ await floatingUIBrowserCheck;
18380
+ const { x, y, placement: effectivePlacement, strategy: position, middlewareData } = await computePosition(referenceEl, floatingEl, {
18381
+ strategy: overlayPositioning,
18382
+ placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
18383
+ ? undefined
18384
+ : getEffectivePlacement(floatingEl, placement),
18385
+ middleware: getMiddleware({
18386
+ placement,
18387
+ flipDisabled,
18388
+ flipPlacements,
18389
+ offsetDistance,
18390
+ offsetSkidding,
18391
+ arrowEl,
18392
+ type
18393
+ })
18394
+ });
18395
+ if (arrowEl && middlewareData.arrow) {
18396
+ const { x, y } = middlewareData.arrow;
18397
+ const side = effectivePlacement.split("-")[0];
18398
+ const alignment = x != null ? "left" : "top";
18399
+ const transform = ARROW_CSS_TRANSFORM[side];
18400
+ const reset = { left: "", top: "", bottom: "", right: "" };
18401
+ if ("floatingLayout" in component) {
18402
+ component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
18403
+ }
18404
+ Object.assign(arrowEl.style, {
18405
+ ...reset,
18406
+ [alignment]: `${alignment == "left" ? x : y}px`,
18407
+ [side]: "100%",
18408
+ transform
18409
+ });
18410
+ }
18411
+ const referenceHidden = middlewareData.hide?.referenceHidden;
18412
+ const visibility = referenceHidden ? "hidden" : null;
18413
+ const pointerEvents = visibility ? "none" : null;
18414
+ floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
18415
+ const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
18416
+ Object.assign(floatingEl.style, {
18417
+ visibility,
18418
+ pointerEvents,
18419
+ position,
18420
+ top: "0",
18421
+ left: "0",
18422
+ transform
18423
+ });
18424
+ };
18335
18425
  /**
18336
18426
  * Exported for testing purposes only
18337
18427
  */
@@ -18432,112 +18522,34 @@ async function reposition(component, options, delayed = false) {
18432
18522
  if (!component.open) {
18433
18523
  return;
18434
18524
  }
18435
- return delayed ? debouncedReposition(component, options) : positionFloatingUI(component, options);
18525
+ const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
18526
+ return positionFunction(component, options);
18527
+ }
18528
+ function getDebouncedReposition(component) {
18529
+ let debounced = componentToDebouncedRepositionMap.get(component);
18530
+ if (debounced) {
18531
+ return debounced;
18532
+ }
18533
+ debounced = debounce(positionFloatingUI, repositionDebounceTimeout, {
18534
+ leading: true,
18535
+ maxWait: repositionDebounceTimeout
18536
+ });
18537
+ componentToDebouncedRepositionMap.set(component, debounced);
18538
+ return debounced;
18436
18539
  }
18437
- const debouncedReposition = debounce(positionFloatingUI, repositionDebounceTimeout, {
18438
- leading: true,
18439
- maxWait: repositionDebounceTimeout
18440
- });
18441
18540
  const ARROW_CSS_TRANSFORM = {
18442
18541
  top: "",
18443
18542
  left: "rotate(-90deg)",
18444
18543
  bottom: "rotate(180deg)",
18445
18544
  right: "rotate(90deg)"
18446
18545
  };
18447
- /**
18448
- * Positions the floating element relative to the reference element.
18449
- *
18450
- * **Note:** exported for testing purposes only
18451
- *
18452
- * @param root0
18453
- * @param root0.referenceEl
18454
- * @param root0.floatingEl
18455
- * @param root0.overlayPositioning
18456
- * @param root0.placement
18457
- * @param root0.flipDisabled
18458
- * @param root0.flipPlacements
18459
- * @param root0.offsetDistance
18460
- * @param root0.offsetSkidding
18461
- * @param root0.arrowEl
18462
- * @param root0.type
18463
- * @param component
18464
- * @param root0.referenceEl.referenceEl
18465
- * @param root0.referenceEl.floatingEl
18466
- * @param root0.referenceEl.overlayPositioning
18467
- * @param root0.referenceEl.placement
18468
- * @param root0.referenceEl.flipDisabled
18469
- * @param root0.referenceEl.flipPlacements
18470
- * @param root0.referenceEl.offsetDistance
18471
- * @param root0.referenceEl.offsetSkidding
18472
- * @param root0.referenceEl.arrowEl
18473
- * @param root0.referenceEl.type
18474
- * @param component.referenceEl
18475
- * @param component.floatingEl
18476
- * @param component.overlayPositioning
18477
- * @param component.placement
18478
- * @param component.flipDisabled
18479
- * @param component.flipPlacements
18480
- * @param component.offsetDistance
18481
- * @param component.offsetSkidding
18482
- * @param component.arrowEl
18483
- * @param component.type
18484
- */
18485
- async function positionFloatingUI(component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) {
18486
- if (!referenceEl || !floatingEl) {
18487
- return null;
18488
- }
18489
- await floatingUIBrowserCheck;
18490
- const { x, y, placement: effectivePlacement, strategy: position, middlewareData } = await computePosition(referenceEl, floatingEl, {
18491
- strategy: overlayPositioning,
18492
- placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
18493
- ? undefined
18494
- : getEffectivePlacement(floatingEl, placement),
18495
- middleware: getMiddleware({
18496
- placement,
18497
- flipDisabled,
18498
- flipPlacements,
18499
- offsetDistance,
18500
- offsetSkidding,
18501
- arrowEl,
18502
- type
18503
- })
18504
- });
18505
- if (arrowEl && middlewareData.arrow) {
18506
- const { x, y } = middlewareData.arrow;
18507
- const side = effectivePlacement.split("-")[0];
18508
- const alignment = x != null ? "left" : "top";
18509
- const transform = ARROW_CSS_TRANSFORM[side];
18510
- const reset = { left: "", top: "", bottom: "", right: "" };
18511
- if ("floatingLayout" in component) {
18512
- component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
18513
- }
18514
- Object.assign(arrowEl.style, {
18515
- ...reset,
18516
- [alignment]: `${alignment == "left" ? x : y}px`,
18517
- [side]: "100%",
18518
- transform
18519
- });
18520
- }
18521
- const referenceHidden = middlewareData.hide?.referenceHidden;
18522
- const visibility = referenceHidden ? "hidden" : null;
18523
- const pointerEvents = visibility ? "none" : null;
18524
- floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
18525
- const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
18526
- Object.assign(floatingEl.style, {
18527
- visibility,
18528
- pointerEvents,
18529
- position,
18530
- top: "0",
18531
- left: "0",
18532
- transform
18533
- });
18534
- }
18535
18546
  /**
18536
18547
  * Exported for testing purposes only
18537
18548
  *
18538
18549
  * @internal
18539
18550
  */
18540
18551
  const cleanupMap = new WeakMap();
18552
+ const componentToDebouncedRepositionMap = new WeakMap();
18541
18553
  /**
18542
18554
  * Helper to set up floating element interactions on connectedCallback.
18543
18555
  *
@@ -18577,11 +18589,10 @@ function disconnectFloatingUI(component, referenceEl, floatingEl) {
18577
18589
  if (!floatingEl || !referenceEl) {
18578
18590
  return;
18579
18591
  }
18580
- const cleanup = cleanupMap.get(component);
18581
- if (cleanup) {
18582
- cleanup();
18583
- }
18592
+ cleanupMap.get(component)?.();
18584
18593
  cleanupMap.delete(component);
18594
+ componentToDebouncedRepositionMap.get(component)?.cancel();
18595
+ componentToDebouncedRepositionMap.delete(component);
18585
18596
  }
18586
18597
  const visiblePointerSize = 4;
18587
18598
  /**
@@ -28495,11 +28506,9 @@ class List$1 {
28495
28506
  handleCalciteInternalListItemSelect(event) {
28496
28507
  const target = event.target;
28497
28508
  const { listItems, selectionMode } = this;
28498
- listItems.forEach((listItem) => {
28499
- if (selectionMode === "single" || selectionMode === "single-persist") {
28500
- listItem.selected = listItem === target;
28501
- }
28502
- });
28509
+ if (target.selected && (selectionMode === "single" || selectionMode === "single-persist")) {
28510
+ listItems.forEach((listItem) => (listItem.selected = listItem === target));
28511
+ }
28503
28512
  this.updateSelectedItems();
28504
28513
  }
28505
28514
  handleCalciteListItemClose() {
@@ -28786,10 +28795,8 @@ class ListItem {
28786
28795
  this.focusCell(null, false);
28787
28796
  }
28788
28797
  }
28789
- handleSelectedChange(value) {
28790
- if (value) {
28791
- this.calciteInternalListItemSelect.emit();
28792
- }
28798
+ handleSelectedChange() {
28799
+ this.calciteInternalListItemSelect.emit();
28793
28800
  }
28794
28801
  onMessagesChange() {
28795
28802
  /* wired up by t9n util */
@@ -31586,9 +31593,11 @@ class RadioButton {
31586
31593
  this.queryButtons = () => {
31587
31594
  return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((radioButton) => radioButton.name === this.name);
31588
31595
  };
31589
- this.isDefaultSelectable = () => {
31596
+ this.isFocusable = () => {
31590
31597
  const radioButtons = this.queryButtons();
31591
- return !radioButtons.some((radioButton) => radioButton.checked) && radioButtons[0] === this.el;
31598
+ const firstFocusable = radioButtons.find((radioButton) => !radioButton.disabled);
31599
+ const checked = radioButtons.find((radioButton) => radioButton.checked);
31600
+ return firstFocusable === this.el && !checked;
31592
31601
  };
31593
31602
  this.check = () => {
31594
31603
  if (this.disabled) {
@@ -31686,6 +31695,12 @@ class RadioButton {
31686
31695
  }
31687
31696
  this.calciteInternalRadioButtonCheckedChange.emit();
31688
31697
  }
31698
+ disabledChanged() {
31699
+ this.updateTabIndexOfOtherRadioButtonsInGroup();
31700
+ }
31701
+ hiddenChanged() {
31702
+ this.updateTabIndexOfOtherRadioButtonsInGroup();
31703
+ }
31689
31704
  nameChanged() {
31690
31705
  this.checkLastRadioButton();
31691
31706
  }
@@ -31765,11 +31780,18 @@ class RadioButton {
31765
31780
  }
31766
31781
  });
31767
31782
  }
31783
+ updateTabIndexOfOtherRadioButtonsInGroup() {
31784
+ const radioButtons = this.queryButtons();
31785
+ const otherFocusableRadioButtons = radioButtons.filter((radioButton) => radioButton.guid !== this.guid && !radioButton.disabled);
31786
+ otherFocusableRadioButtons.forEach((radioButton) => {
31787
+ forceUpdate$1(radioButton);
31788
+ });
31789
+ }
31768
31790
  getTabIndex() {
31769
31791
  if (this.disabled) {
31770
31792
  return undefined;
31771
31793
  }
31772
- return this.checked || this.isDefaultSelectable() ? 0 : -1;
31794
+ return this.checked || this.isFocusable() ? 0 : -1;
31773
31795
  }
31774
31796
  //--------------------------------------------------------------------------
31775
31797
  //
@@ -31802,6 +31824,7 @@ class RadioButton {
31802
31824
  connectInteractive(this);
31803
31825
  connectLabel(this);
31804
31826
  connectForm(this);
31827
+ this.updateTabIndexOfOtherRadioButtonsInGroup();
31805
31828
  }
31806
31829
  componentWillLoad() {
31807
31830
  setUpLoadableComponent(this);
@@ -31816,6 +31839,7 @@ class RadioButton {
31816
31839
  disconnectInteractive(this);
31817
31840
  disconnectLabel(this);
31818
31841
  disconnectForm(this);
31842
+ this.updateTabIndexOfOtherRadioButtonsInGroup();
31819
31843
  }
31820
31844
  componentDidRender() {
31821
31845
  updateHostInteraction(this);
@@ -31834,6 +31858,8 @@ class RadioButton {
31834
31858
  get el() { return getElement(this); }
31835
31859
  static get watchers() { return {
31836
31860
  "checked": ["checkedChanged"],
31861
+ "disabled": ["disabledChanged"],
31862
+ "hidden": ["hiddenChanged"],
31837
31863
  "name": ["nameChanged"]
31838
31864
  }; }
31839
31865
  static get style() { return radioButtonCss; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.5.0-next.3",
3
+ "version": "1.5.0-next.5",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -83,5 +83,5 @@
83
83
  "volta": {
84
84
  "extends": "../../package.json"
85
85
  },
86
- "gitHead": "c2eb43ff3de88aaffb5ec659388c20938df04f07"
86
+ "gitHead": "3ec84a636c09bb56793da831eaa5df9d3e9e94c5"
87
87
  }
@@ -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.5.0-next.2
5
- */
6
- import{g as n}from"./p-85af2cc9.js";const t=/firefox/i.test(n()),i=t?new WeakMap:null;function o(){const{disabled:n}=this;n||HTMLElement.prototype.click.call(this)}function e(n){const o=n.target;if(t&&!i.get(o))return;const{disabled:e}=o;e&&n.preventDefault()}const c=["mousedown","mouseup","click"];function a(n){if(t&&!i.get(n.target))return;const{disabled:o}=n.target;o&&(n.stopImmediatePropagation(),n.preventDefault())}const u={capture:!0};function d(n,t=!1){if(n.disabled)return n.el.setAttribute("tabindex","-1"),n.el.setAttribute("aria-disabled","true"),n.el.contains(document.activeElement)&&document.activeElement.blur(),void s(n);f(n),"function"==typeof t?n.el.setAttribute("tabindex",t.call(n)?"0":"-1"):!0===t?n.el.setAttribute("tabindex","0"):!1===t&&n.el.removeAttribute("tabindex"),n.el.removeAttribute("aria-disabled")}function s(n){var i;n.el.click=o,(i=t?r(n):n.el)&&(i.addEventListener("pointerdown",e,u),c.forEach((n=>i.addEventListener(n,a,u))))}function r(n){return i.get(n.el)}function f(n){var i;delete n.el.click,(i=t?r(n):n.el)&&(i.removeEventListener("pointerdown",e,u),c.forEach((n=>i.removeEventListener(n,a,u))))}function l(n){n.disabled&&t&&(i.set(n.el,n.el.parentElement||n.el),s(n))}function b(n){t&&(i.delete(n.el),f(n))}export{l as c,b as d,d as u}
@@ -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.5.0-next.2
5
- */
6
- import{r as t,c as e,h as i,F as a,a as n}from"./p-b4860869.js";import{s as o,p as s,t as c}from"./p-b0abfc57.js";import{c as r,u as l,d}from"./p-21a7e201.js";import{s as h,a as m,c as p}from"./p-e8c2f550.js";import{c as f}from"./p-9cfcd91f.js";import{S as u}from"./p-f5a5652c.js";import{H as g}from"./p-9c0d7cd4.js";import{S as b,C as x,I as v}from"./p-b656fc7b.js";import{c as y,d as k}from"./p-cd0e0878.js";import{c as z,s as w,d as S,u as j}from"./p-0a3314f8.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-85af2cc9.js";import"./p-468ed2b6.js";const C=class{constructor(i){t(this,i),this.calcitePanelClose=e(this,"calcitePanelClose",6),this.calcitePanelScroll=e(this,"calcitePanelScroll",6),this.resizeObserver=f("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:t}=this;t&&"number"==typeof t.scrollHeight&&"number"==typeof t.offsetHeight&&(t.tabIndex=t.scrollHeight>t.offsetHeight?0:-1)},this.setContainerRef=t=>{this.containerEl=t},this.setCloseRef=t=>{this.closeButtonEl=t},this.setBackRef=t=>{this.backButtonEl=t},this.panelKeyDownHandler=t=>{this.closable&&"Escape"===t.key&&!t.defaultPrevented&&(this.close(),t.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasStartActions=!!e.length},this.handleHeaderActionsEndSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasEndActions=!!e.length},this.handleHeaderMenuActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasMenuItems=!!e.length},this.handleActionBarSlotChange=t=>{const e=o(t).filter((t=>t?.matches("calcite-action-bar")));e.forEach((t=>t.layout="horizontal")),this.hasActionBar=!!e.length},this.handleHeaderContentSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasHeaderContent=!!e.length},this.handleFooterSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterContent=!!e.length},this.handleFooterActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterActions=!!e.length},this.handleFabSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFab=!!e.length},this.setPanelScrollEl=t=>{this.panelScrollEl=t,this.resizeObserver?.disconnect(),t&&(this.resizeObserver?.observe(t),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){r(this),y(this),z(this)}async componentWillLoad(){h(this),await w(this)}componentDidLoad(){m(this)}componentDidRender(){l(this)}disconnectedCallback(){d(this),k(this),S(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){j(this,this.effectiveLocale)}async setFocus(){await p(this),s(this.containerEl)}async scrollContentTo(t){this.panelScrollEl?.scrollTo(t)}renderHeaderContent(){const{heading:t,headingLevel:e,description:a,hasHeaderContent:n}=this,o=t?i(g,{class:x.heading,level:e},t):null,s=a?i("span",{class:x.description},a):null;return n||!o&&!s?null:i("div",{class:x.headerContent,key:"header-content"},o,s)}renderActionBar(){return i("div",{class:x.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:b.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:x.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:b.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:t}=this;return i("div",{class:{[x.headerActionsStart]:!0,[x.headerActions]:!0},hidden:!t,key:"header-actions-start"},i("slot",{name:b.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:t,hasEndActions:e,messages:a,closable:n,hasMenuItems:o}=this,s=a.close,c=n?i("calcite-action",{"aria-label":s,"data-test":"close",icon:v.close,onClick:t,text:s,ref:this.setCloseRef}):null,r=i("slot",{name:b.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[x.headerActionsEnd]:!0,[x.headerActions]:!0},hidden:!(e||c||o),key:"header-actions-end"},r,this.renderMenu(),c)}renderMenu(){const{hasMenuItems:t,messages:e,menuOpen:a}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!t,key:"menu",label:e.options,open:a,placement:"bottom-end"},i("calcite-action",{icon:v.menu,slot:u.trigger,text:e.options}),i("slot",{name:b.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:t,hasStartActions:e,hasEndActions:a,closable:n,hasMenuItems:o}=this,s=this.renderHeaderContent();return i("header",{class:x.header,hidden:!(t||s||e||a||n||o)},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),s,this.renderHeaderActionsEnd())}renderFooterNode(){const{hasFooterContent:t,hasFooterActions:e}=this;return i("footer",{class:x.footer,hidden:!(t||e)},i("slot",{key:"footer-slot",name:b.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:b.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){const{hasFab:t}=this,e=i("slot",{key:"default-slot"}),a=t?i("section",{class:x.contentContainer},e):e;return i("div",{class:{[x.contentWrapper]:!0,[x.contentContainer]:!t,[x.contentHeight]:t},onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},a,this.renderFab())}renderFab(){return i("div",{class:x.fabContainer,hidden:!this.hasFab},i("slot",{name:b.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:t,panelKeyDownHandler:e,closed:n,closable:o}=this,s=i("article",{"aria-busy":c(t),class:x.container,hidden:n,onKeyDown:e,tabIndex:o?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderActionBar(),this.renderContent(),this.renderFooterNode());return i(a,null,t?i("calcite-scrim",{loading:t}):null,s)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};C.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{border-block-end:1px solid;z-index:var(--calcite-app-z-index-header);inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.action-bar-container{border-block-end:1px solid;z-index:var(--calcite-app-z-index-header);inline-size:100%;border-block-end-color:var(--calcite-ui-border-3)}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{border-block-start:1px solid;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;padding:var(--calcite-panel-footer-padding)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-app-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";export{C as calcite_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.5.0-next.2
5
- */
6
- import{r as t,c as i,h as a,H as e,a as o}from"./p-b4860869.js";import{g as s}from"./p-b38ee013.js";import{b as n,f as r,t as c}from"./p-b0abfc57.js";import{c as d,d as l,H as h}from"./p-ebb84082.js";import{g as m}from"./p-54396627.js";import{c as u,d as p,u as f}from"./p-21a7e201.js";import{c as b,d as v,g as k}from"./p-091fd402.js";import{c as x,s as g,a as y}from"./p-e8c2f550.js";import"./p-2c60840f.js";import"./p-85af2cc9.js";const w=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const c=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,s(Math.max(r-1,-1),c));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,s(r+1,c));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hidden=!1,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await x(this),this.disabled||r(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.hidden)return;const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.focused=!0,this.setFocus(),a.checked||(this.uncheckOtherRadioButtonsInGroup(),a.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if(t?.length>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${m()}`,this.name&&this.checkLastRadioButton(),u(this),b(this),d(this)}componentWillLoad(){g(this)}componentDidLoad(){y(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){p(this),v(this),l(this)}componentDidRender(){f(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":k(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"radio",tabIndex:t,ref:this.setContainerEl},a("div",{class:"radio"})),a(h,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};w.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{w as calcite_radio_button}
@@ -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.5.0-next.2
5
- */
6
- import{r as i,h as a,H as t,a as n}from"./p-b4860869.js";import{e}from"./p-b0abfc57.js";import"./p-54396627.js";import"./p-2c60840f.js";var c;!function(i){i.valid="check-circle",i.invalid="exclamation-mark-triangle",i.idle="information"}(c||(c={}));const s=class{constructor(a){i(this,a),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=e(c,this.icon,this.status)}connectedCallback(){this.requestedIcon=e(c,this.icon,this.status)}render(){return a(t,{"calcite-hydrated-hidden":this.el.hidden},this.renderIcon(this.requestedIcon),a("slot",null))}renderIcon(i){if(i)return a("calcite-icon",{class:"calcite-input-message-icon",flipRtl:this.iconFlipRtl,icon:i,scale:"s"})}get el(){return n(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};s.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([scale=m]),:host([scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;box-sizing:border-box;display:flex;block-size:0px;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);visibility:visible;block-size:auto;opacity:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([scale=m]),:host([scale=l]){margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status]){color:var(--calcite-ui-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){margin-block-start:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){margin-block-start:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";export{s as calcite_input_message}
@@ -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.5.0-next.2
5
- */
6
- import{r as i,c as t,h as a,a as n,H as c}from"./p-b4860869.js";import{c as e,d as o}from"./p-ab57b0ce.js";import{v as r,g as s,b as l,t as d,c as m}from"./p-b0abfc57.js";import{C as h}from"./p-2c60840f.js";import"./p-9cfcd91f.js";import"./p-54396627.js";const p=class{constructor(a){i(this,a),this.calciteInternalAccordionChange=t(this,"calciteInternalAccordionChange",6),this.items=[],this.sorted=!1,this.sortItems=i=>i.sort(((i,t)=>i.position-t.position)).map((i=>i.item)),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}componentDidLoad(){this.sorted||(this.items=this.sortItems(this.items),this.sorted=!0)}render(){const i="transparent"===this.appearance;return a("div",{class:{"accordion--transparent":i,accordion:!i}},a("slot",null))}registerCalciteAccordionItem(i){const t={item:i.target,parent:i.detail.parent,position:i.detail.position};this.el===t.parent&&this.items.push(t),i.stopPropagation()}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem}),i.stopPropagation()}get el(){return n(this)}};p.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";const u="actions-start",f="actions-end",g=class{constructor(a){i(this,a),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.calciteInternalAccordionItemRegister=t(this,"calciteInternalAccordionItemRegister",6),this.iconPosition="end",this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.scale="m",this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0}connectedCallback(){this.parent=this.el.parentElement,this.iconType=r(this.el,"icon-type","chevron"),this.iconPosition=r(this.el,"icon-position",this.iconPosition),this.scale=r(this.el,"scale",this.scale),e(this)}componentDidLoad(){this.itemPosition=this.getItemPosition(),this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})}disconnectedCallback(){o(this)}renderActionsStart(){const{el:i}=this;return s(i,u)?a("div",{class:"actions-start"},a("slot",{name:u})):null}renderActionsEnd(){const{el:i}=this;return s(i,f)?a("div",{class:"actions-end"},a("slot",{name:f})):null}render(){const{iconFlipRtl:i}=this,t=l(this.el),n=this.iconStart?a("calcite-icon",{class:"icon--start",flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:"l"===this.scale?"m":"s"}):null,e=this.iconEnd?a("calcite-icon",{class:"icon--end",flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:"l"===this.scale?"m":"s"}):null,{description:o}=this;return a(c,null,a("div",{class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},a("div",{class:{header:!0,[h.rtl]:"rtl"===t}},this.renderActionsStart(),a("div",{"aria-expanded":d(this.expanded),class:"header-content",onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},a("div",{class:"header-container"},n,a("div",{class:"header-text"},a("span",{class:"heading"},this.heading),o?a("span",{class:"description"},o):null),e),a("calcite-icon",{class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:"l"===this.scale?"m":"s"})),this.renderActionsEnd()),a("div",{class:"content"},a("slot",null))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.el.parentNode===this.requestedAccordionItem.parentNode&&(this.determineActiveItem(),i.stopPropagation())}determineActiveItem(){switch(this.selectionMode=r(this.el,"selection-mode","multiple"),this.selectionMode){case"multiple":this.el===this.requestedAccordionItem&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===this.requestedAccordionItem&&!this.expanded;break;case"single-persist":this.expanded=this.el===this.requestedAccordionItem}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}getItemPosition(){const{el:i}=this,t=m(i,"calcite-accordion")?.querySelectorAll("calcite-accordion-item");return t?Array.from(t).indexOf(i):-1}get el(){return n(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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-ui-text-3);text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:flex;align-items:stretch}:host .icon{position:relative;margin:0px;display:inline-flex;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}:host .content{display:none;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}:host .heading,:host .description{display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:flex;align-items:center}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";export{p as calcite_accordion,g as calcite_accordion_item}
@@ -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.5.0-next.2
5
- */
6
- import{d as i}from"./p-12b442a2.js";import"./p-b4860869.js";import"./p-ebb84082.js";import"./p-b0abfc57.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-21a7e201.js";import"./p-85af2cc9.js";import"./p-468ed2b6.js";import"./p-091fd402.js";import"./p-e8c2f550.js";import"./p-cd0e0878.js";import"./p-9cfcd91f.js";import"./p-b448b71e.js";import"./p-0a3314f8.js";function e(i){return i%10<5&&i%10>1&&~~(i/10)%10!=1}function r(i,r,t){var a=i+" ";switch(t){case"m":return r?"minuta":"minutę";case"mm":return a+(e(i)?"minuty":"minut");case"h":return r?"godzina":"godzinę";case"hh":return a+(e(i)?"godziny":"godzin");case"MM":return a+(e(i)?"miesiące":"miesięcy");case"yy":return a+(e(i)?"lata":"lat")}}var t="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),a="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),_=/D MMMM/,s=function(i,e){return _.test(e)?t[i.month()]:a[i.month()]};s.s=a,s.f=t;var m={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:s,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(i){return i+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};i.locale(m,null,!0);export default m;
@@ -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.5.0-next.2
5
- */
6
- import{r as t,c as i,h as e,a,H as n}from"./p-b4860869.js";import{t as s,d as c,b as o}from"./p-b0abfc57.js";import{c as l,d as r,u as d}from"./p-21a7e201.js";import{c as h}from"./p-9cfcd91f.js";import{s as m,a as p,c as f}from"./p-e8c2f550.js";import{d as u}from"./p-04278e22.js";import{c as b,d as g}from"./p-cd0e0878.js";import{u as y,c as v,s as w,d as x}from"./p-0a3314f8.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-85af2cc9.js";import"./p-468ed2b6.js";const k="open-container",C="calcite-list-item";function _(t){const i=t.target.assignedElements({flatten:!0});return[...i.filter((t=>t?.matches("calcite-list-item-group"))).map((t=>Array.from(t.querySelectorAll(C)))).reduce(((t,i)=>[...t,...i]),[]),...i.filter((t=>t?.matches(C)))]}function D(t){t.forEach((i=>{i.setPosition=t.indexOf(i)+1,i.setSize=t.length}))}function E(t,i=!1){return document.evaluate(i?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}const S="calcite-list-item",L=class{constructor(e){t(this,e),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.listItems=[],this.enabledListItems=[],this.mutationObserver=h("mutation",(()=>this.updateListItems())),this.handleDefaultSlotChange=t=>{D(_(t))},this.setActiveListItem=()=>{const{enabledListItems:t}=this;t.some((t=>t.active))||t[0]&&(t[0].active=!0)},this.updateSelectedItems=(t=!1)=>{this.selectedItems=this.enabledListItems.filter((t=>t.selected)),t&&this.calciteListChange.emit()},this.updateFilteredItems=(t=!1)=>{const{listItems:i,filteredData:e,filterText:a}=this,n=e.map((t=>t.value)),s=i?.filter((t=>i.every((i=>i===t||!t.contains(i))))),c=i.filter((t=>!a||n.includes(t.value)))||[],o=new WeakSet;s.forEach((t=>this.filterElements({el:t,filteredItems:c,visibleParents:o}))),this.filteredItems=c,t&&this.calciteListFilter.emit()},this.handleFilter=t=>{t.stopPropagation();const{filteredItems:i,value:e}=t.currentTarget;this.filteredData=i,this.filterText=e,this.updateListItems(!0)},this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value}))),this.updateListItems=u(((t=!1)=>{const{selectionAppearance:i,selectionMode:e}=this,a=this.queryListItems();a.forEach((t=>{t.selectionAppearance=i,t.selectionMode=e})),this.listItems=a,this.filterEnabled&&(this.dataForFilter=this.getItemData(),this.filterEl&&(this.filterEl.items=this.dataForFilter)),this.updateFilteredItems(t),this.enabledListItems=a.filter((t=>!t.disabled&&!t.closed)),this.setActiveListItem(),this.updateSelectedItems(t)}),0),this.queryListItems=()=>Array.from(this.el.querySelectorAll(S)),this.focusRow=t=>{const{enabledListItems:i}=this;t&&(i.forEach((i=>i.active=i===t)),t.setFocus())},this.isNavigable=t=>{const i=t.parentElement?.closest(S);return!i||i.open&&this.isNavigable(i)},this.handleListKeydown=t=>{if(t.defaultPrevented)return;const{key:i}=t,e=this.enabledListItems.filter((t=>this.isNavigable(t))),a=e.findIndex((t=>t.active));if("ArrowDown"===i){t.preventDefault();const i=a+1;e[i]&&this.focusRow(e[i])}else if("ArrowUp"===i){t.preventDefault();const i=a-1;e[i]&&this.focusRow(e[i])}else if("Home"===i){t.preventDefault();const i=e[0];i&&this.focusRow(i)}else if("End"===i){t.preventDefault();const i=e[e.length-1];i&&this.focusRow(i)}},this.disabled=!1,this.filterEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterPlaceholder=void 0,this.filterText=void 0,this.label=void 0,this.loading=!1,this.openable=!1,this.selectedItems=[],this.selectionMode="none",this.selectionAppearance="icon",this.dataForFilter=[]}handleFilterEnabledChange(){this.updateListItems()}handleSelectionAppearanceChange(){this.updateListItems()}handleCalciteInternalFocusPreviousItem(t){t.stopPropagation();const{enabledListItems:i}=this,e=i.findIndex((t=>t.active))-1;i[e]&&this.focusRow(i[e])}handleCalciteInternalListItemActive(t){const i=t.target,{listItems:e}=this;e.forEach((t=>{t.active=t===i}))}handleCalciteListItemSelect(){this.updateSelectedItems(!0)}handleCalciteInternalListItemSelect(t){const i=t.target,{listItems:e,selectionMode:a}=this;e.forEach((t=>{"single"!==a&&"single-persist"!==a||(t.selected=t===i)})),this.updateSelectedItems()}handleCalciteListItemClose(){this.updateListItems(!0)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateListItems(),l(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),r(this)}componentWillLoad(){m(this)}componentDidRender(){d(this)}componentDidLoad(){p(this);const{filterEl:t}=this,i=t?.filteredItems;i&&(this.filteredData=i),this.updateListItems()}async setFocus(){await f(this),this.enabledListItems.find((t=>t.active))?.setFocus()}render(){const{loading:t,label:i,disabled:a,dataForFilter:n,filterEnabled:c,filterPlaceholder:o,filterText:l}=this;return e("div",{class:"container"},t?e("calcite-scrim",{class:"scrim",loading:t}):null,e("table",{"aria-busy":s(t),"aria-label":i||"",class:"table",onKeyDown:this.handleListKeydown,role:"treegrid"},c?e("thead",null,e("tr",{class:{"sticky-pos":!0}},e("th",{colSpan:5},e("calcite-filter",{"aria-label":o,disabled:t||a,items:n,onCalciteFilterChange:this.handleFilter,placeholder:o,value:l,ref:t=>this.filterEl=t})))):null,e("tbody",{class:"table-container"},e("slot",{onSlotchange:this.handleDefaultSlotChange}))))}filterElements({el:t,filteredItems:i,visibleParents:e}){const a=!e.has(t)&&!i.includes(t);t.hidden=a;const n=t.parentElement.closest("calcite-list-item-group, calcite-list-item");n&&(a||e.add(n),this.filterElements({el:n,filteredItems:i,visibleParents:e}))}get el(){return a(this)}static get watchers(){return{filterEnabled:["handleFilterEnabledChange"],selectionMode:["handleSelectionAppearanceChange"],selectionAppearance:["handleSelectionAppearanceChange"]}}};L.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{position:relative}.table-container{position:relative;z-index:var(--calcite-app-z-index);box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%;border-collapse:collapse}::slotted(calcite-list-item){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky)}.sticky-pos th{padding:0px}calcite-filter{margin-block-end:1px}";const I=new Map,z=class{constructor(e){t(this,e),this.calciteListItemSelect=i(this,"calciteListItemSelect",6),this.calciteListItemClose=i(this,"calciteListItemClose",6),this.calciteInternalListItemSelect=i(this,"calciteInternalListItemSelect",6),this.calciteInternalListItemActive=i(this,"calciteInternalListItemActive",6),this.calciteInternalFocusPreviousItem=i(this,"calciteInternalFocusPreviousItem",6),this.closeClickHandler=()=>{this.closed=!0,this.calciteListItemClose.emit()},this.handleContentSlotChange=t=>{this.hasCustomContent=c(t)},this.handleActionsStartSlotChange=t=>{this.hasActionsStart=c(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=c(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=c(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=c(t)},this.handleDefaultSlotChange=t=>{const{parentListEl:i}=this,e=_(t);D(e);const a=!!e.length;a&&i&&!i.openable&&(i.openable=!0),this.openable=a,a||(this.open=!1)},this.toggleOpen=()=>{this.open=!this.open},this.itemClicked=t=>{t.defaultPrevented||(this.toggleSelected(),this.calciteInternalListItemActive.emit())},this.toggleSelected=()=>{const{selectionMode:t,selected:i}=this;this.disabled||("multiple"===t||"single"===t?this.selected=!i:"single-persist"===t&&(this.selected=!0),this.calciteListItemSelect.emit())},this.handleItemKeyDown=t=>{if(t.defaultPrevented)return;const{key:i}=t,e=t.composedPath(),{containerEl:a,contentEl:n,actionsStartEl:s,actionsEndEl:c,open:o,openable:l}=this,r=[s,n,c].filter(Boolean),d=r.findIndex((t=>e.includes(t)));if("Enter"===i)t.preventDefault(),this.toggleSelected();else if("ArrowRight"===i){t.preventDefault();const i=d+1;-1===d?!o&&l?(this.open=!0,this.focusCell(null)):r[0]&&this.focusCell(r[0]):r[d]&&r[i]&&this.focusCell(r[i])}else if("ArrowLeft"===i){t.preventDefault();const i=d-1;-1===d?(this.focusCell(null),o&&l?this.open=!1:this.calciteInternalFocusPreviousItem.emit()):0===d?(this.focusCell(null),a.focus()):r[d]&&r[i]&&this.focusCell(r[i])}},this.focusCellNull=()=>{this.focusCell(null)},this.focusCell=(t,i=!0)=>{const{contentEl:e,actionsStartEl:a,actionsEndEl:n,parentListEl:s}=this;i&&I.set(s,null),[a,e,n].filter(Boolean).forEach(((e,a)=>{const n="tabindex";e===t?(e.setAttribute(n,"0"),i&&I.set(s,a)):e.removeAttribute(n)})),t?.focus()},this.active=!1,this.closable=!1,this.closed=!1,this.description=void 0,this.disabled=!1,this.label=void 0,this.metadata=void 0,this.open=!1,this.setSize=null,this.setPosition=null,this.selected=!1,this.value=void 0,this.selectionMode=null,this.selectionAppearance=null,this.messageOverrides=void 0,this.messages=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.level=null,this.visualLevel=null,this.parentListEl=void 0,this.openable=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasCustomContent=!1,this.hasContentStart=!1,this.hasContentEnd=!1}activeHandler(t){t||this.focusCell(null,!1)}handleSelectedChange(t){t&&this.calciteInternalListItemSelect.emit()}onMessagesChange(){}effectiveLocaleChange(){y(this,this.effectiveLocale)}connectedCallback(){l(this),b(this),v(this);const{el:t}=this;this.parentListEl=t.closest("calcite-list"),this.level=E(t)+1,this.visualLevel=E(t,!0),this.setSelectionDefaults()}async componentWillLoad(){m(this),await w(this)}componentDidLoad(){p(this)}componentDidRender(){d(this,"managed")}disconnectedCallback(){r(this),g(this),x(this)}async setFocus(){await f(this);const{containerEl:t,contentEl:i,actionsStartEl:e,actionsEndEl:a,parentListEl:n}=this,s=I.get(n);if("number"!=typeof s)t?.focus();else{const n=[e,i,a].filter(Boolean);n[s]?this.focusCell(n[s]):t?.focus()}}renderSelected(){const{selected:t,selectionMode:i,selectionAppearance:a}=this;return"none"===i||"border"===a?null:e("td",{class:"selection-container",key:"selection-container",onClick:this.itemClicked},e("calcite-icon",{icon:t?"multiple"===i?"check-circle-f":"circle-f":"blank",scale:"s"}))}renderOpen(){const{el:t,open:i,openable:a,parentListEl:n}=this,s=o(t);return a?e("td",{class:k,key:"open-container",onClick:this.toggleOpen},e("calcite-icon",{icon:i?"caret-down":"rtl"===s?"caret-left":"caret-right",scale:"s"})):n?.openable?e("td",{class:k,key:"open-container",onClick:this.itemClicked},e("calcite-icon",{icon:"blank",scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:i}=this;return e("td",{"aria-label":t,class:"actions-start",hidden:!i,key:"actions-start-container",role:"gridcell",ref:t=>this.actionsStartEl=t},e("slot",{name:"actions-start",onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:i,closable:a,messages:n}=this;return e("td",{"aria-label":t,class:"actions-end",hidden:!(i||a),key:"actions-end-container",role:"gridcell",ref:t=>this.actionsEndEl=t},e("slot",{name:"actions-end",onSlotchange:this.handleActionsEndSlotChange}),a?e("calcite-action",{appearance:"transparent",icon:"x",key:"close-action",label:n.close,onClick:this.closeClickHandler,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return e("div",{class:"content-start",hidden:!t},e("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return e("div",{class:"custom-content",hidden:!t},e("slot",{name:"content",onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return e("div",{class:"content-end",hidden:!t},e("slot",{name:"content-end",onSlotchange:this.handleContentEndSlotChange}))}renderContentProperties(){const{label:t,description:i,hasCustomContent:a}=this;return a||!t&&!i?null:e("div",{class:"content",key:"content"},t?e("div",{class:"label",key:"label"},t):null,i?e("div",{class:"description",key:"description"},i):null)}renderContentContainer(){const{description:t,label:i,selectionMode:a,hasCustomContent:n}=this,s=n||!!i||!!t,c=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return e("td",{"aria-label":i,class:{"content-container":!0,"content-container--selectable":"none"!==a,"content-container--has-center-content":s},key:"content-container",onClick:this.itemClicked,role:"gridcell",ref:t=>this.contentEl=t},c)}render(){const{openable:t,open:i,level:a,setPosition:c,setSize:o,active:l,label:r,selected:d,selectionAppearance:h,selectionMode:m,closed:p}=this,f="none"!==m&&"border"===h,u=f&&d,b=f&&!d;return e(n,null,e("tr",{"aria-expanded":t?s(i):null,"aria-label":r,"aria-level":a,"aria-posinset":c,"aria-selected":s(d),"aria-setsize":o,class:{container:!0,"container--border-selected":u,"container--border-unselected":b},hidden:p,onFocus:this.focusCellNull,onKeyDown:this.handleItemKeyDown,role:"row",style:{"--calcite-list-item-spacing-indent-multiplier":`${this.visualLevel}`},tabIndex:l?0:-1,ref:t=>this.containerEl=t},this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),e("div",{class:{"nested-container":!0,"nested-container--hidden":t&&!i}},e("slot",{onSlotchange:this.handleDefaultSlotChange})))}setSelectionDefaults(){const{parentListEl:t,selectionMode:i,selectionAppearance:e}=this;t&&(i||(this.selectionMode=t.selectionMode),e||(this.selectionAppearance=t.selectionAppearance))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],selected:["handleSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};z.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.container *{box-sizing:border-box}.container:hover{cursor:pointer;background-color:var(--calcite-ui-foreground-2)}.container--border-selected{border-inline-start:4px solid var(--calcite-ui-brand)}.container--border-unselected{border-inline-start:4px solid transparent}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{z-index:var(--calcite-app-z-index-sticky);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}[hidden]{display:none}";const A=class{constructor(i){t(this,i),this.disabled=!1,this.heading=void 0,this.visualLevel=null}connectedCallback(){const{el:t}=this;this.visualLevel=E(t,!0),l(this)}componentDidRender(){d(this)}disconnectedCallback(){r(this)}render(){const{heading:t,visualLevel:i}=this;return e(n,null,e("tr",{class:"container",style:{"--calcite-list-item-spacing-indent-multiplier":`${i}`}},e("td",{class:"heading",colSpan:5},t)),e("slot",null))}get el(){return a(this)}};A.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.heading{padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}::slotted(calcite-list-item){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}[hidden]{display:none}";export{L as calcite_list,z as calcite_list_item,A as calcite_list_item_group}
@@ -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.5.0-next.2
5
- */
6
- import{f as t}from"./p-b4860869.js";import{c as o}from"./p-9cfcd91f.js";const c=new Set;let n;const f={childList:!0};function s(t){n||(n=o("mutation",r)),n.observe(t.el,f)}function i(t){c.delete(t.el),r(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,f)}function r(o){o.forEach((({target:o})=>{t(o)}))}export{s as c,i as d}
@@ -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.5.0-next.2
5
- */
6
- export{I as calcite_input_time_picker,T as calcite_time_picker}from"./p-12b442a2.js";import"./p-b4860869.js";import"./p-ebb84082.js";import"./p-b0abfc57.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-21a7e201.js";import"./p-85af2cc9.js";import"./p-468ed2b6.js";import"./p-091fd402.js";import"./p-e8c2f550.js";import"./p-cd0e0878.js";import"./p-9cfcd91f.js";import"./p-b448b71e.js";import"./p-0a3314f8.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.5.0-next.2
5
- */
6
- import{d as e}from"./p-12b442a2.js";import"./p-b4860869.js";import"./p-ebb84082.js";import"./p-b0abfc57.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-21a7e201.js";import"./p-85af2cc9.js";import"./p-468ed2b6.js";import"./p-091fd402.js";import"./p-e8c2f550.js";import"./p-cd0e0878.js";import"./p-9cfcd91f.js";import"./p-b448b71e.js";import"./p-0a3314f8.js";var a={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,a){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?a[0]:a[1]:a[2]},relativeTimeFormatter:function(e,d,t,r){var n=a.words[t];if(1===t.length)return"y"===t&&d?"jedna godina":r||d?n[0]:n[1];var m=a.correctGrammarCase(e,n);return"yy"===t&&d&&"%d godinu"===m?e+" godina":m.replace("%d",e)}},d={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};e.locale(d,null,!0);export default d;
@@ -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.5.0-next.2
5
- */
6
- import{r as t,h as a,F as i,a as n}from"./p-b4860869.js";import{c as e,d as o}from"./p-ab57b0ce.js";import{g as c}from"./p-b0abfc57.js";import{c as s,s as r,a as l}from"./p-e8c2f550.js";import{c as m,d as p}from"./p-cd0e0878.js";import{u as d,c as u,d as f,s as h}from"./p-0a3314f8.js";import{S as g}from"./p-f5a5652c.js";import{S as y,I as x}from"./p-e345755c.js";import"./p-9cfcd91f.js";import"./p-54396627.js";import"./p-2c60840f.js";import"./p-468ed2b6.js";const v=class{constructor(a){t(this,a),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.expanded=!1,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}async setFocus(){await s(this),this.el.focus()}connectedCallback(){m(this),u(this),e(this)}disconnectedCallback(){p(this),f(this),o(this)}async componentWillLoad(){r(this),await h(this)}componentDidLoad(){l(this)}renderTooltip(){const{el:t}=this;return c(t,y.menuTooltip)?a("slot",{name:y.menuTooltip,slot:g.tooltip}):null}renderMenu(){const{el:t,expanded:i,menuOpen:n,scale:e,layout:o,messages:s}=this;return c(t,y.menuActions)?a("calcite-action-menu",{expanded:i,flipPlacements:["left","right"],label:s.more,onCalciteActionMenuOpen:this.setMenuOpen,open:n,placement:"horizontal"===o?"bottom-start":"leading-start",scale:e},a("calcite-action",{icon:x.menu,scale:e,slot:g.trigger,text:s.more,textEnabled:i}),a("slot",{name:y.menuActions}),this.renderTooltip()):null}render(){return a(i,null,a("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]){flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';export{v as calcite_action_group}