@esri/calcite-components 1.0.0-next.553 → 1.0.0-next.556

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 (1005) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +2 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/{p-e5b87ead.js → p-05fe3ea5.js} +2 -2
  6. package/dist/calcite/p-0865b1c4.system.entry.js +6 -0
  7. package/dist/calcite/p-09b4c5d6.system.entry.js +6 -0
  8. package/dist/calcite/{p-8bd3098a.system.js → p-0a755cdf.system.js} +1 -1
  9. package/dist/calcite/{p-2349df84.js → p-0ad78e61.js} +1 -1
  10. package/dist/calcite/p-0d82783f.system.entry.js +6 -0
  11. package/dist/calcite/{p-cf281bf9.system.entry.js → p-0e9102ac.system.entry.js} +2 -2
  12. package/dist/calcite/{p-c0017007.js → p-1238a41c.js} +2 -2
  13. package/dist/calcite/p-16e5f591.entry.js +6 -0
  14. package/dist/calcite/{p-2892c024.entry.js → p-1886398f.entry.js} +2 -2
  15. package/dist/calcite/p-18fb7ebc.system.entry.js +6 -0
  16. package/dist/calcite/{p-0cb347dc.js → p-19248611.js} +1 -1
  17. package/dist/calcite/{p-509f961d.entry.js → p-19ef2670.entry.js} +2 -2
  18. package/dist/calcite/{p-7a3cef05.system.entry.js → p-1a4731f1.system.entry.js} +2 -2
  19. package/dist/calcite/{p-9a57a198.entry.js → p-1b0db26c.entry.js} +2 -2
  20. package/dist/calcite/p-1b916f76.system.entry.js +6 -0
  21. package/dist/calcite/p-1c2e0daa.system.entry.js +6 -0
  22. package/dist/calcite/p-1d699c3b.system.entry.js +6 -0
  23. package/dist/calcite/{p-205081da.system.entry.js → p-1e259c2b.system.entry.js} +2 -2
  24. package/dist/calcite/p-237f6388.entry.js +6 -0
  25. package/dist/calcite/{p-8c776245.entry.js → p-24b189a7.entry.js} +2 -2
  26. package/dist/calcite/p-272a7973.system.entry.js +6 -0
  27. package/dist/calcite/{p-513467bd.entry.js → p-27f691c6.entry.js} +2 -2
  28. package/dist/calcite/p-28aec55e.entry.js +6 -0
  29. package/dist/calcite/p-2a13ccd7.system.entry.js +6 -0
  30. package/dist/calcite/{p-5213feab.entry.js → p-2a7bd887.entry.js} +2 -2
  31. package/dist/calcite/p-2e449f8b.js +6 -0
  32. package/dist/calcite/p-2f28e6c6.entry.js +6 -0
  33. package/dist/calcite/{p-cf1a2443.system.js → p-3116eb16.system.js} +3 -3
  34. package/dist/calcite/p-318d4e47.system.entry.js +6 -0
  35. package/dist/calcite/p-31b57443.system.entry.js +6 -0
  36. package/dist/calcite/{p-95df5d73.system.js → p-326d61e7.system.js} +1 -1
  37. package/dist/calcite/p-337de307.system.entry.js +6 -0
  38. package/dist/calcite/{p-d8d52063.system.js → p-33a3bf9f.system.js} +1 -1
  39. package/dist/calcite/p-35736b65.entry.js +6 -0
  40. package/dist/calcite/p-374a14fa.entry.js +6 -0
  41. package/dist/calcite/p-3cd92e8b.js +7 -0
  42. package/dist/calcite/p-3d1a3386.system.entry.js +6 -0
  43. package/dist/calcite/{p-5d9b52c5.js → p-3e4fc663.js} +2 -2
  44. package/dist/calcite/p-41f603c6.entry.js +6 -0
  45. package/dist/calcite/{p-ab295b8d.js → p-443e7cd5.js} +2 -2
  46. package/dist/calcite/p-452dc9cd.entry.js +6 -0
  47. package/dist/calcite/{p-becfb21f.system.js → p-48f5a675.system.js} +1 -1
  48. package/dist/calcite/p-499b4d7f.system.entry.js +6 -0
  49. package/dist/calcite/{p-33cf9146.entry.js → p-4b1acc25.entry.js} +2 -2
  50. package/dist/calcite/p-4c59c464.system.entry.js +6 -0
  51. package/dist/calcite/{p-4c7ba15c.system.js → p-4e299082.system.js} +2 -2
  52. package/dist/calcite/p-4f381b22.entry.js +6 -0
  53. package/dist/calcite/p-4fef9785.system.entry.js +6 -0
  54. package/dist/calcite/{p-f90a876d.js → p-5002689a.js} +1 -1
  55. package/dist/calcite/{p-f45b61b6.system.entry.js → p-50a678e9.system.entry.js} +2 -2
  56. package/dist/calcite/p-51686f87.entry.js +6 -0
  57. package/dist/calcite/{p-a6169aa1.system.js → p-51e58ac3.system.js} +1 -1
  58. package/dist/calcite/{p-a70e9795.entry.js → p-5277787a.entry.js} +2 -2
  59. package/dist/calcite/{p-4c6ab89b.system.entry.js → p-54f1b900.system.entry.js} +2 -2
  60. package/dist/calcite/p-558eb439.entry.js +6 -0
  61. package/dist/calcite/p-573b7727.entry.js +6 -0
  62. package/dist/calcite/{p-c0e21624.js → p-576a68ad.js} +1 -1
  63. package/dist/calcite/p-593dd378.system.entry.js +6 -0
  64. package/dist/calcite/{p-ad9efce2.system.js → p-5d6bb522.system.js} +2 -2
  65. package/dist/calcite/{p-3c0ceb9b.js → p-5e728d5f.js} +1 -1
  66. package/dist/calcite/p-5f4e9358.system.entry.js +6 -0
  67. package/dist/calcite/{p-5b78a41a.entry.js → p-60e29c28.entry.js} +2 -2
  68. package/dist/calcite/{p-997451ee.entry.js → p-6124422d.entry.js} +2 -2
  69. package/dist/calcite/p-614577b3.entry.js +6 -0
  70. package/dist/calcite/p-63e68260.entry.js +6 -0
  71. package/dist/calcite/p-66b8488f.system.js +7 -0
  72. package/dist/calcite/{p-aca0612f.entry.js → p-6daf675b.entry.js} +2 -2
  73. package/dist/calcite/p-6eced7b5.system.entry.js +6 -0
  74. package/dist/calcite/{p-846af46f.system.js → p-70152b55.system.js} +1 -1
  75. package/dist/calcite/p-709f45ca.system.entry.js +6 -0
  76. package/dist/calcite/{p-1d315eed.js → p-7369776f.js} +2 -2
  77. package/dist/calcite/p-7560b5cb.entry.js +6 -0
  78. package/dist/calcite/{p-29385287.system.js → p-7766ddc2.system.js} +1 -1
  79. package/dist/calcite/{p-46630dcf.entry.js → p-78773123.entry.js} +2 -2
  80. package/dist/calcite/p-787df3d9.entry.js +6 -0
  81. package/dist/calcite/{p-ab77328e.system.js → p-79359620.system.js} +1 -1
  82. package/dist/calcite/p-7a8dc196.system.entry.js +6 -0
  83. package/dist/calcite/{p-3d741271.entry.js → p-7d0ab794.entry.js} +2 -2
  84. package/dist/calcite/p-807dbeff.entry.js +6 -0
  85. package/dist/calcite/p-85f55348.system.entry.js +6 -0
  86. package/dist/calcite/p-8726c076.system.entry.js +6 -0
  87. package/dist/calcite/p-899506b7.entry.js +6 -0
  88. package/dist/calcite/{p-5f79ab7c.system.js → p-8afb9e1c.system.js} +1 -1
  89. package/dist/calcite/{p-15cbab0e.system.entry.js → p-8b09e41f.system.entry.js} +2 -2
  90. package/dist/calcite/{p-4a48f1eb.system.js → p-8b5a056d.system.js} +1 -1
  91. package/dist/calcite/{p-6d6ee407.entry.js → p-8c074397.entry.js} +2 -2
  92. package/dist/calcite/{p-d7ba2fbb.entry.js → p-8cca323e.entry.js} +2 -2
  93. package/dist/calcite/p-8dd41a41.system.entry.js +6 -0
  94. package/dist/calcite/p-8e4bc86a.system.entry.js +6 -0
  95. package/dist/calcite/p-8f9cd7c2.system.entry.js +6 -0
  96. package/dist/calcite/p-923cc8f7.entry.js +6 -0
  97. package/dist/calcite/p-9404368d.entry.js +6 -0
  98. package/dist/calcite/{p-459af1bf.js → p-993dc453.js} +2 -2
  99. package/dist/calcite/{p-24eef188.js → p-997a3daa.js} +1 -1
  100. package/dist/calcite/{p-9de988f4.system.js → p-9b3f7af5.system.js} +2 -2
  101. package/dist/calcite/p-9ec5ed46.entry.js +6 -0
  102. package/dist/calcite/p-9ff0ebb3.system.entry.js +6 -0
  103. package/dist/calcite/{p-df1f85b2.js → p-a0cad5d7.js} +1 -1
  104. package/dist/calcite/{p-051a201c.entry.js → p-a20caf86.entry.js} +2 -2
  105. package/dist/calcite/{p-7b094e63.entry.js → p-a27c7171.entry.js} +2 -2
  106. package/dist/calcite/p-a2e892e5.entry.js +6 -0
  107. package/dist/calcite/{p-2000ec57.system.js → p-a530e53f.system.js} +1 -1
  108. package/dist/calcite/p-a5ef90f9.system.js +6 -0
  109. package/dist/calcite/{p-a5020306.js → p-a683a9bb.js} +2 -2
  110. package/dist/calcite/p-a6ad3821.entry.js +6 -0
  111. package/dist/calcite/{p-b1cb7e2b.system.js → p-a86406ed.system.js} +2 -2
  112. package/dist/calcite/{p-355aa1c7.js → p-aacb2155.js} +2 -2
  113. package/dist/calcite/{p-dd111700.js → p-af62631d.js} +1 -1
  114. package/dist/calcite/p-b08b2ad9.system.entry.js +6 -0
  115. package/dist/calcite/{p-6964497f.system.entry.js → p-b0a6c09b.system.entry.js} +2 -2
  116. package/dist/calcite/{p-688f7f8d.system.js → p-b19f561c.system.js} +1 -1
  117. package/dist/calcite/{p-5152768e.entry.js → p-b1a0f06b.entry.js} +2 -2
  118. package/dist/calcite/p-b25dd020.system.entry.js +6 -0
  119. package/dist/calcite/{p-713149a4.system.js → p-b5103bd6.system.js} +2 -2
  120. package/dist/calcite/p-b8fb2780.entry.js +6 -0
  121. package/dist/calcite/p-ba9601c8.system.entry.js +6 -0
  122. package/dist/calcite/{p-727c3410.system.js → p-bbaad92f.system.js} +2 -2
  123. package/dist/calcite/{p-1c4d7c50.entry.js → p-bbc42dac.entry.js} +2 -2
  124. package/dist/calcite/p-bc2dc6af.system.entry.js +6 -0
  125. package/dist/calcite/{p-e9564762.js → p-be74a343.js} +2 -2
  126. package/dist/calcite/p-bebb3777.system.entry.js +6 -0
  127. package/dist/calcite/p-bfb4cbdc.entry.js +6 -0
  128. package/dist/calcite/{p-fc47ca03.system.entry.js → p-c26f3841.system.entry.js} +2 -2
  129. package/dist/calcite/p-c5166dab.system.entry.js +6 -0
  130. package/dist/calcite/p-c8a07e77.system.entry.js +6 -0
  131. package/dist/calcite/p-cb4235cd.system.entry.js +6 -0
  132. package/dist/calcite/p-cd5c0d53.system.entry.js +6 -0
  133. package/dist/calcite/p-cd76ddd3.system.entry.js +6 -0
  134. package/dist/calcite/p-cdaa1968.entry.js +6 -0
  135. package/dist/calcite/p-cdd2f5f3.system.entry.js +6 -0
  136. package/dist/calcite/{p-b502f028.system.js → p-cef9685e.system.js} +2 -2
  137. package/dist/calcite/{p-06d36e24.system.js → p-d2102cf0.system.js} +1 -1
  138. package/dist/calcite/p-d3126106.entry.js +6 -0
  139. package/dist/calcite/{p-de987956.entry.js → p-d3bd8e42.entry.js} +2 -2
  140. package/dist/calcite/{p-ed8b6626.system.js → p-d579af0f.system.js} +2 -2
  141. package/dist/calcite/p-d64ad5b8.entry.js +6 -0
  142. package/dist/calcite/{p-de11212c.system.entry.js → p-d7ac85d7.system.entry.js} +2 -2
  143. package/dist/calcite/{p-80c12268.entry.js → p-da0d407c.entry.js} +2 -2
  144. package/dist/calcite/p-da190323.system.entry.js +6 -0
  145. package/dist/calcite/p-da602e55.entry.js +6 -0
  146. package/dist/calcite/{p-791cb3dd.js → p-da9458eb.js} +1 -1
  147. package/dist/calcite/p-dafa6b14.system.entry.js +6 -0
  148. package/dist/calcite/p-db716c4d.entry.js +6 -0
  149. package/dist/calcite/{p-a36dff6d.entry.js → p-dce7bd73.entry.js} +2 -2
  150. package/dist/calcite/{p-65e75b00.system.js → p-dd371621.system.js} +2 -2
  151. package/dist/calcite/{p-5cfb2ec5.js → p-dd735a43.js} +1 -1
  152. package/dist/calcite/p-de18336c.system.entry.js +6 -0
  153. package/dist/calcite/{p-54fc8121.js → p-e0f120b1.js} +1 -1
  154. package/dist/calcite/p-e17fe6f2.system.entry.js +6 -0
  155. package/dist/calcite/p-e31a759f.system.entry.js +6 -0
  156. package/dist/calcite/{p-99aaf1bb.js → p-e35ac74b.js} +2 -2
  157. package/dist/calcite/p-e37d3fd0.system.entry.js +6 -0
  158. package/dist/calcite/p-e629fa5b.system.entry.js +6 -0
  159. package/dist/calcite/{p-c66d9aac.entry.js → p-e89b1604.entry.js} +2 -2
  160. package/dist/calcite/p-eb1fa8a7.system.entry.js +6 -0
  161. package/dist/calcite/p-ee43e34c.system.entry.js +6 -0
  162. package/dist/calcite/{p-9b694d3f.js → p-eea677b9.js} +1 -1
  163. package/dist/calcite/{p-c9c27665.entry.js → p-eedbbe06.entry.js} +2 -2
  164. package/dist/calcite/p-eef36edb.entry.js +6 -0
  165. package/dist/calcite/p-f0ff8d83.entry.js +6 -0
  166. package/dist/calcite/p-f285278c.system.entry.js +6 -0
  167. package/dist/calcite/p-f37111f3.entry.js +6 -0
  168. package/dist/calcite/p-f540b806.system.js +6 -0
  169. package/dist/calcite/p-f5d88620.system.entry.js +6 -0
  170. package/dist/calcite/p-f6fae0da.entry.js +6 -0
  171. package/dist/calcite/{p-b7d47f97.entry.js → p-f79661f0.entry.js} +2 -2
  172. package/dist/calcite/p-f8995cf2.system.entry.js +6 -0
  173. package/dist/calcite/{p-c94be15c.js → p-fc12f99e.js} +1 -1
  174. package/dist/calcite/{p-6874299d.system.js → p-fd4f16b4.system.js} +1 -1
  175. package/dist/cjs/{ExpandToggle-4e26dcdc.js → ExpandToggle-b50957be.js} +5 -5
  176. package/dist/cjs/{Heading-9cb060de.js → Heading-1b066533.js} +2 -2
  177. package/dist/cjs/{array-c4804730.js → array-5ca2f088.js} +1 -1
  178. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
  179. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  180. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  181. package/dist/cjs/calcite-action-menu.cjs.entry.js +48 -41
  182. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  183. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  184. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  185. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  186. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -11
  187. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  188. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  189. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -9
  190. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  191. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -16
  192. package/dist/cjs/calcite-combobox_3.cjs.entry.js +16 -16
  193. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -19
  194. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  195. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  196. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  197. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  198. package/dist/cjs/calcite-graph_2.cjs.entry.js +22 -21
  199. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  201. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
  203. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  205. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  206. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -20
  207. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  208. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  209. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
  211. package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
  212. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  214. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
  215. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  216. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  217. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +14 -14
  218. package/dist/cjs/calcite-popover_2.cjs.entry.js +12 -11
  219. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  220. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +9 -9
  221. package/dist/cjs/calcite-radio-button.cjs.entry.js +17 -17
  222. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +20 -20
  223. package/dist/cjs/calcite-rating.cjs.entry.js +17 -17
  224. package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
  225. package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -10
  226. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  228. package/dist/cjs/calcite-stepper_2.cjs.entry.js +7 -7
  229. package/dist/cjs/calcite-switch.cjs.entry.js +11 -10
  230. package/dist/cjs/calcite-tab_4.cjs.entry.js +63 -22
  231. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  232. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  233. package/dist/cjs/calcite-tip_3.cjs.entry.js +10 -10
  234. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
  235. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  236. package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
  237. package/dist/cjs/calcite.cjs.js +4 -4
  238. package/dist/cjs/{conditionalSlot-71ef794e.js → conditionalSlot-c9e8a19a.js} +3 -3
  239. package/dist/cjs/{debounce-d57e6bd7.js → debounce-f9c5fb44.js} +1 -1
  240. package/dist/cjs/{dom-00d1fdaf.js → dom-70b983a2.js} +2 -2
  241. package/dist/cjs/{filter-bb3591b5.js → filter-328c7b8b.js} +2 -2
  242. package/dist/cjs/{floating-ui-ef3ace1f.js → floating-ui-8a544187.js} +2 -2
  243. package/dist/cjs/{form-1a481420.js → form-7e91825a.js} +3 -3
  244. package/dist/cjs/{guid-ab461194.js → guid-bb58e051.js} +1 -1
  245. package/dist/cjs/{index-011f7c70.js → index-fd388681.js} +10 -5
  246. package/dist/cjs/index.cjs.js +1 -1
  247. package/dist/cjs/{interactive-e200ca7f.js → interactive-93b0bea2.js} +1 -1
  248. package/dist/cjs/{interfaces-b62ac352.js → interfaces-8051a72f.js} +1 -1
  249. package/dist/cjs/{key-7f5ccc73.js → key-a8b30c50.js} +1 -1
  250. package/dist/cjs/{label-982cddaa.js → label-4c18233e.js} +2 -2
  251. package/dist/cjs/loader.cjs.js +4 -4
  252. package/dist/cjs/{locale-1fd1df7a.js → locale-b7df0b1f.js} +2 -2
  253. package/dist/cjs/{math-467ade0a.js → math-a3254e0c.js} +1 -1
  254. package/dist/cjs/{observers-fbaed34a.js → observers-ec5cb025.js} +1 -1
  255. package/dist/cjs/{openCloseComponent-0b643895.js → openCloseComponent-03671cb7.js} +1 -1
  256. package/dist/cjs/{resources-70939103.js → resources-0fa70b4c.js} +5 -5
  257. package/dist/cjs/{resources-c70910a3.js → resources-5c096e0b.js} +3 -3
  258. package/dist/cjs/{resources-b7ff2fec.js → resources-de0d48aa.js} +1 -1
  259. package/dist/cjs/{resources-b84dc5a6.js → resources-efcf402f.js} +1 -1
  260. package/dist/cjs/{sortable.esm-d8475f64.js → sortable.esm-00e9d640.js} +1 -1
  261. package/dist/cjs/{utils-398799c2.js → utils-e1a09f13.js} +1 -1
  262. package/dist/collection/collection-manifest.json +1 -1
  263. package/dist/collection/components/accordion/accordion.css +1 -1
  264. package/dist/collection/components/accordion/accordion.js +2 -2
  265. package/dist/collection/components/accordion/interfaces.js +1 -1
  266. package/dist/collection/components/accordion-item/accordion-item.css +1 -1
  267. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  268. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  269. package/dist/collection/components/accordion-item/resources.js +1 -1
  270. package/dist/collection/components/action/action.css +1 -1
  271. package/dist/collection/components/action/action.js +1 -1
  272. package/dist/collection/components/action/resources.js +1 -1
  273. package/dist/collection/components/action-bar/action-bar.css +1 -1
  274. package/dist/collection/components/action-bar/action-bar.js +1 -1
  275. package/dist/collection/components/action-bar/resources.js +1 -1
  276. package/dist/collection/components/action-bar/utils.js +1 -1
  277. package/dist/collection/components/action-group/action-group.css +1 -1
  278. package/dist/collection/components/action-group/action-group.js +1 -1
  279. package/dist/collection/components/action-group/resources.js +1 -1
  280. package/dist/collection/components/action-menu/action-menu.css +2 -2
  281. package/dist/collection/components/action-menu/action-menu.js +38 -30
  282. package/dist/collection/components/action-menu/resources.js +1 -1
  283. package/dist/collection/components/action-pad/action-pad.css +1 -1
  284. package/dist/collection/components/action-pad/action-pad.js +1 -1
  285. package/dist/collection/components/action-pad/resources.js +1 -1
  286. package/dist/collection/components/alert/alert.css +1 -1
  287. package/dist/collection/components/alert/alert.js +1 -1
  288. package/dist/collection/components/alert/interfaces.js +1 -1
  289. package/dist/collection/components/alert/resources.js +1 -1
  290. package/dist/collection/components/avatar/avatar.css +1 -1
  291. package/dist/collection/components/avatar/avatar.js +1 -1
  292. package/dist/collection/components/avatar/utils.js +1 -1
  293. package/dist/collection/components/block/block.css +1 -1
  294. package/dist/collection/components/block/block.js +1 -1
  295. package/dist/collection/components/block/resources.js +1 -1
  296. package/dist/collection/components/block-section/block-section.css +1 -1
  297. package/dist/collection/components/block-section/block-section.js +3 -2
  298. package/dist/collection/components/block-section/interfaces.js +1 -1
  299. package/dist/collection/components/block-section/resources.js +1 -1
  300. package/dist/collection/components/button/button.css +1 -1
  301. package/dist/collection/components/button/button.js +1 -1
  302. package/dist/collection/components/button/interfaces.js +1 -1
  303. package/dist/collection/components/button/resources.js +1 -1
  304. package/dist/collection/components/card/card.css +1 -1
  305. package/dist/collection/components/card/card.js +1 -1
  306. package/dist/collection/components/card/resources.js +1 -1
  307. package/dist/collection/components/checkbox/checkbox.css +1 -1
  308. package/dist/collection/components/checkbox/checkbox.js +3 -2
  309. package/dist/collection/components/chip/chip.css +1 -1
  310. package/dist/collection/components/chip/chip.js +1 -1
  311. package/dist/collection/components/chip/interfaces.js +1 -1
  312. package/dist/collection/components/chip/resources.js +1 -1
  313. package/dist/collection/components/color-picker/color-picker.css +1 -1
  314. package/dist/collection/components/color-picker/color-picker.js +6 -5
  315. package/dist/collection/components/color-picker/interfaces.js +1 -1
  316. package/dist/collection/components/color-picker/resources.js +1 -1
  317. package/dist/collection/components/color-picker/utils.js +1 -1
  318. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +1 -1
  319. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +2 -2
  320. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  321. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -1
  322. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  323. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  324. package/dist/collection/components/combobox/combobox.css +1 -1
  325. package/dist/collection/components/combobox/combobox.js +1 -1
  326. package/dist/collection/components/combobox/interfaces.js +1 -1
  327. package/dist/collection/components/combobox/resources.js +1 -1
  328. package/dist/collection/components/combobox/utils.js +1 -1
  329. package/dist/collection/components/combobox-item/combobox-item.css +1 -1
  330. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  331. package/dist/collection/components/combobox-item/resources.js +1 -1
  332. package/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -1
  333. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  334. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  335. package/dist/collection/components/date-picker/date-picker.css +1 -1
  336. package/dist/collection/components/date-picker/date-picker.js +1 -1
  337. package/dist/collection/components/date-picker/interfaces.js +1 -1
  338. package/dist/collection/components/date-picker/resources.js +1 -1
  339. package/dist/collection/components/date-picker/utils.js +1 -1
  340. package/dist/collection/components/date-picker-day/date-picker-day.css +1 -1
  341. package/dist/collection/components/date-picker-day/date-picker-day.js +4 -3
  342. package/dist/collection/components/date-picker-month/date-picker-month.css +1 -1
  343. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  344. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
  345. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +6 -5
  346. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  347. package/dist/collection/components/dropdown/dropdown.css +1 -1
  348. package/dist/collection/components/dropdown/dropdown.js +2 -2
  349. package/dist/collection/components/dropdown/interfaces.js +1 -1
  350. package/dist/collection/components/dropdown/resources.js +1 -1
  351. package/dist/collection/components/dropdown-group/dropdown-group.css +1 -1
  352. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  353. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  354. package/dist/collection/components/dropdown-group/resources.js +1 -1
  355. package/dist/collection/components/dropdown-item/dropdown-item.css +1 -1
  356. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  357. package/dist/collection/components/dropdown-item/resources.js +1 -1
  358. package/dist/collection/components/fab/fab.css +1 -1
  359. package/dist/collection/components/fab/fab.js +1 -1
  360. package/dist/collection/components/fab/resources.js +1 -1
  361. package/dist/collection/components/filter/filter.css +1 -1
  362. package/dist/collection/components/filter/filter.js +1 -1
  363. package/dist/collection/components/filter/resources.js +1 -1
  364. package/dist/collection/components/flow/flow.css +1 -1
  365. package/dist/collection/components/flow/flow.js +1 -1
  366. package/dist/collection/components/flow/interfaces.js +1 -1
  367. package/dist/collection/components/flow/resources.js +1 -1
  368. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  369. package/dist/collection/components/functional/Heading.js +1 -1
  370. package/dist/collection/components/graph/graph.css +1 -1
  371. package/dist/collection/components/graph/graph.js +1 -1
  372. package/dist/collection/components/graph/interfaces.js +1 -1
  373. package/dist/collection/components/graph/util.js +1 -1
  374. package/dist/collection/components/handle/handle.css +1 -1
  375. package/dist/collection/components/handle/handle.js +1 -1
  376. package/dist/collection/components/handle/resources.js +1 -1
  377. package/dist/collection/components/icon/icon.css +1 -1
  378. package/dist/collection/components/icon/icon.js +1 -1
  379. package/dist/collection/components/icon/resources.js +1 -1
  380. package/dist/collection/components/icon/utils.js +1 -1
  381. package/dist/collection/components/inline-editable/inline-editable.css +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.css +1 -1
  385. package/dist/collection/components/input/input.js +1 -1
  386. package/dist/collection/components/input/interfaces.js +1 -1
  387. package/dist/collection/components/input/resources.js +1 -1
  388. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
  389. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  390. package/dist/collection/components/input-date-picker/resources.js +1 -1
  391. package/dist/collection/components/input-message/input-message.css +1 -1
  392. package/dist/collection/components/input-message/input-message.js +1 -1
  393. package/dist/collection/components/input-message/interfaces.js +1 -1
  394. package/dist/collection/components/input-number/input-number.css +1 -1
  395. package/dist/collection/components/input-number/input-number.js +1 -1
  396. package/dist/collection/components/input-number/interfaces.js +1 -1
  397. package/dist/collection/components/input-number/resources.js +1 -1
  398. package/dist/collection/components/input-text/input-text.css +1 -1
  399. package/dist/collection/components/input-text/input-text.js +1 -1
  400. package/dist/collection/components/input-text/resources.js +1 -1
  401. package/dist/collection/components/input-time-picker/input-time-picker.css +1 -1
  402. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  403. package/dist/collection/components/interfaces.js +1 -1
  404. package/dist/collection/components/label/label.css +1 -1
  405. package/dist/collection/components/label/label.js +1 -1
  406. package/dist/collection/components/label/resources.js +1 -1
  407. package/dist/collection/components/link/link.css +1 -1
  408. package/dist/collection/components/link/link.js +1 -1
  409. package/dist/collection/components/list/list.css +1 -1
  410. package/dist/collection/components/list/list.js +1 -1
  411. package/dist/collection/components/list/resources.js +1 -1
  412. package/dist/collection/components/list-item/list-item.css +1 -1
  413. package/dist/collection/components/list-item/list-item.js +1 -1
  414. package/dist/collection/components/list-item/resources.js +1 -1
  415. package/dist/collection/components/list-item-group/list-item-group.css +1 -1
  416. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  417. package/dist/collection/components/list-item-group/resources.js +1 -1
  418. package/dist/collection/components/loader/loader.css +1 -1
  419. package/dist/collection/components/loader/loader.js +1 -1
  420. package/dist/collection/components/modal/interfaces.js +1 -1
  421. package/dist/collection/components/modal/modal.css +1 -1
  422. package/dist/collection/components/modal/modal.js +1 -1
  423. package/dist/collection/components/modal/resources.js +1 -1
  424. package/dist/collection/components/notice/notice.css +1 -1
  425. package/dist/collection/components/notice/notice.js +1 -1
  426. package/dist/collection/components/notice/resources.js +1 -1
  427. package/dist/collection/components/option/option.css +1 -1
  428. package/dist/collection/components/option/option.js +1 -1
  429. package/dist/collection/components/option-group/option-group.css +1 -1
  430. package/dist/collection/components/option-group/option-group.js +1 -1
  431. package/dist/collection/components/pagination/pagination.css +1 -1
  432. package/dist/collection/components/pagination/pagination.js +1 -1
  433. package/dist/collection/components/pagination/resources.js +1 -1
  434. package/dist/collection/components/panel/panel.css +1 -1
  435. package/dist/collection/components/panel/panel.js +1 -1
  436. package/dist/collection/components/panel/resources.js +1 -1
  437. package/dist/collection/components/pick-list/pick-list.css +1 -1
  438. package/dist/collection/components/pick-list/pick-list.js +1 -1
  439. package/dist/collection/components/pick-list/resources.js +1 -1
  440. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  441. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  442. package/dist/collection/components/pick-list-group/pick-list-group.css +1 -1
  443. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  444. package/dist/collection/components/pick-list-group/resources.js +1 -1
  445. package/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
  446. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  447. package/dist/collection/components/pick-list-item/resources.js +1 -1
  448. package/dist/collection/components/popover/PopoverManager.js +3 -2
  449. package/dist/collection/components/popover/popover.css +1 -1
  450. package/dist/collection/components/popover/popover.js +1 -1
  451. package/dist/collection/components/popover/resources.js +1 -1
  452. package/dist/collection/components/popover-manager/popover-manager.css +1 -1
  453. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  454. package/dist/collection/components/progress/progress.css +1 -1
  455. package/dist/collection/components/progress/progress.js +1 -1
  456. package/dist/collection/components/radio-button/radio-button.css +1 -1
  457. package/dist/collection/components/radio-button/radio-button.js +20 -20
  458. package/dist/collection/components/radio-button/resources.js +1 -1
  459. package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
  460. package/dist/collection/components/radio-button-group/radio-button-group.js +13 -13
  461. package/dist/collection/components/radio-group/interfaces.js +1 -1
  462. package/dist/collection/components/radio-group/radio-group.css +1 -1
  463. package/dist/collection/components/radio-group/radio-group.js +19 -19
  464. package/dist/collection/components/radio-group-item/radio-group-item.css +1 -1
  465. package/dist/collection/components/radio-group-item/radio-group-item.js +9 -9
  466. package/dist/collection/components/radio-group-item/resources.js +1 -1
  467. package/dist/collection/components/rating/rating.css +2 -2
  468. package/dist/collection/components/rating/rating.js +21 -21
  469. package/dist/collection/components/rating/resources.js +1 -1
  470. package/dist/collection/components/scrim/resources.js +1 -1
  471. package/dist/collection/components/scrim/scrim.css +1 -1
  472. package/dist/collection/components/scrim/scrim.js +1 -1
  473. package/dist/collection/components/select/resources.js +1 -1
  474. package/dist/collection/components/select/select.css +1 -1
  475. package/dist/collection/components/select/select.js +1 -1
  476. package/dist/collection/components/shell/resources.js +1 -1
  477. package/dist/collection/components/shell/shell.css +1 -1
  478. package/dist/collection/components/shell/shell.js +1 -1
  479. package/dist/collection/components/shell-center-row/resources.js +1 -1
  480. package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
  481. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  482. package/dist/collection/components/shell-panel/resources.js +1 -1
  483. package/dist/collection/components/shell-panel/shell-panel.css +1 -1
  484. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  485. package/dist/collection/components/slider/slider.css +1 -1
  486. package/dist/collection/components/slider/slider.js +4 -3
  487. package/dist/collection/components/sortable-list/resources.js +1 -1
  488. package/dist/collection/components/sortable-list/sortable-list.css +1 -1
  489. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  490. package/dist/collection/components/split-button/resources.js +1 -1
  491. package/dist/collection/components/split-button/split-button.css +1 -1
  492. package/dist/collection/components/split-button/split-button.js +1 -1
  493. package/dist/collection/components/stepper/interfaces.js +1 -1
  494. package/dist/collection/components/stepper/stepper.css +1 -1
  495. package/dist/collection/components/stepper/stepper.js +1 -1
  496. package/dist/collection/components/stepper-item/stepper-item.css +1 -1
  497. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  498. package/dist/collection/components/switch/switch.css +1 -1
  499. package/dist/collection/components/switch/switch.js +4 -3
  500. package/dist/collection/components/tab/interfaces.js +1 -1
  501. package/dist/collection/components/tab/tab.css +3 -3
  502. package/dist/collection/components/tab/tab.js +51 -6
  503. package/dist/collection/components/tab-nav/tab-nav.css +5 -1
  504. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  505. package/dist/collection/components/tab-title/tab-title.css +9 -9
  506. package/dist/collection/components/tab-title/tab-title.js +54 -11
  507. package/dist/collection/components/tabs/interfaces.js +1 -1
  508. package/dist/collection/components/tabs/resources.js +1 -1
  509. package/dist/collection/components/tabs/tabs.css +1 -1
  510. package/dist/collection/components/tabs/tabs.js +1 -1
  511. package/dist/collection/components/tile/resources.js +1 -1
  512. package/dist/collection/components/tile/tile.css +1 -1
  513. package/dist/collection/components/tile/tile.js +1 -1
  514. package/dist/collection/components/tile-select/interfaces.js +1 -1
  515. package/dist/collection/components/tile-select/resources.js +1 -1
  516. package/dist/collection/components/tile-select/tile-select.css +1 -1
  517. package/dist/collection/components/tile-select/tile-select.js +1 -1
  518. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  519. package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
  520. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  521. package/dist/collection/components/time-picker/resources.js +1 -1
  522. package/dist/collection/components/time-picker/time-picker.css +1 -1
  523. package/dist/collection/components/time-picker/time-picker.js +6 -10
  524. package/dist/collection/components/tip/resources.js +1 -1
  525. package/dist/collection/components/tip/tip.css +1 -1
  526. package/dist/collection/components/tip/tip.js +1 -1
  527. package/dist/collection/components/tip-group/tip-group.css +1 -1
  528. package/dist/collection/components/tip-group/tip-group.js +1 -1
  529. package/dist/collection/components/tip-manager/resources.js +1 -1
  530. package/dist/collection/components/tip-manager/tip-manager.css +1 -1
  531. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  532. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  533. package/dist/collection/components/tooltip/resources.js +1 -1
  534. package/dist/collection/components/tooltip/tooltip.css +1 -1
  535. package/dist/collection/components/tooltip/tooltip.js +1 -1
  536. package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -1
  537. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  538. package/dist/collection/components/tree/interfaces.js +1 -1
  539. package/dist/collection/components/tree/tree.css +1 -1
  540. package/dist/collection/components/tree/tree.js +1 -1
  541. package/dist/collection/components/tree-item/interfaces.js +1 -1
  542. package/dist/collection/components/tree-item/resources.js +1 -1
  543. package/dist/collection/components/tree-item/tree-item.css +1 -1
  544. package/dist/collection/components/tree-item/tree-item.js +1 -1
  545. package/dist/collection/components/value-list/interfaces.js +1 -1
  546. package/dist/collection/components/value-list/resources.js +1 -1
  547. package/dist/collection/components/value-list/utils.js +1 -1
  548. package/dist/collection/components/value-list/value-list.css +1 -1
  549. package/dist/collection/components/value-list/value-list.js +1 -1
  550. package/dist/collection/components/value-list-item/resources.js +1 -1
  551. package/dist/collection/components/value-list-item/value-list-item.css +1 -1
  552. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  553. package/dist/collection/utils/array.js +1 -1
  554. package/dist/collection/utils/conditionalSlot.js +1 -1
  555. package/dist/collection/utils/date.js +1 -1
  556. package/dist/collection/utils/dom.js +1 -1
  557. package/dist/collection/utils/filter.js +1 -1
  558. package/dist/collection/utils/floating-ui.js +1 -1
  559. package/dist/collection/utils/form.js +1 -1
  560. package/dist/collection/utils/globalAttributes.js +1 -1
  561. package/dist/collection/utils/guid.js +1 -1
  562. package/dist/collection/utils/interactive.js +1 -1
  563. package/dist/collection/utils/key.js +1 -1
  564. package/dist/collection/utils/label.js +1 -1
  565. package/dist/collection/utils/locale.js +1 -1
  566. package/dist/collection/utils/math.js +1 -1
  567. package/dist/collection/utils/number.js +1 -1
  568. package/dist/collection/utils/observers.js +1 -1
  569. package/dist/collection/utils/openCloseComponent.js +1 -1
  570. package/dist/collection/utils/resources.js +1 -1
  571. package/dist/collection/utils/time.js +1 -1
  572. package/dist/components/ExpandToggle.js +1 -1
  573. package/dist/components/Heading.js +1 -1
  574. package/dist/components/action-group.js +2 -2
  575. package/dist/components/action-menu.js +38 -30
  576. package/dist/components/action.js +2 -2
  577. package/dist/components/array.js +1 -1
  578. package/dist/components/button.js +4 -4
  579. package/dist/components/calcite-accordion-item.js +2 -2
  580. package/dist/components/calcite-accordion.js +3 -3
  581. package/dist/components/calcite-action-bar.js +2 -2
  582. package/dist/components/calcite-action-group.js +1 -1
  583. package/dist/components/calcite-action-menu.js +1 -1
  584. package/dist/components/calcite-action-pad.js +2 -2
  585. package/dist/components/calcite-action.js +1 -1
  586. package/dist/components/calcite-alert.js +2 -2
  587. package/dist/components/calcite-avatar.js +2 -2
  588. package/dist/components/calcite-block-section.js +4 -3
  589. package/dist/components/calcite-block.js +2 -2
  590. package/dist/components/calcite-button.js +1 -1
  591. package/dist/components/calcite-card.js +3 -3
  592. package/dist/components/calcite-checkbox.js +1 -1
  593. package/dist/components/calcite-chip.js +1 -1
  594. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  595. package/dist/components/calcite-color-picker-swatch.js +1 -1
  596. package/dist/components/calcite-color-picker.js +7 -6
  597. package/dist/components/calcite-combobox-item-group.js +2 -2
  598. package/dist/components/calcite-combobox-item.js +2 -2
  599. package/dist/components/calcite-combobox.js +5 -5
  600. package/dist/components/calcite-date-picker-day.js +1 -1
  601. package/dist/components/calcite-date-picker-month-header.js +1 -1
  602. package/dist/components/calcite-date-picker-month.js +1 -1
  603. package/dist/components/calcite-date-picker.js +1 -1
  604. package/dist/components/calcite-dropdown-group.js +2 -2
  605. package/dist/components/calcite-dropdown-item.js +2 -2
  606. package/dist/components/calcite-dropdown.js +1 -1
  607. package/dist/components/calcite-fab.js +2 -2
  608. package/dist/components/calcite-filter.js +2 -2
  609. package/dist/components/calcite-flow.js +2 -2
  610. package/dist/components/calcite-graph.js +1 -1
  611. package/dist/components/calcite-handle.js +1 -1
  612. package/dist/components/calcite-icon.js +1 -1
  613. package/dist/components/calcite-inline-editable.js +3 -3
  614. package/dist/components/calcite-input-date-picker.js +5 -5
  615. package/dist/components/calcite-input-message.js +2 -2
  616. package/dist/components/calcite-input-number.js +3 -3
  617. package/dist/components/calcite-input-text.js +3 -3
  618. package/dist/components/calcite-input-time-picker.js +3 -3
  619. package/dist/components/calcite-input.js +1 -1
  620. package/dist/components/calcite-label.js +2 -2
  621. package/dist/components/calcite-link.js +1 -1
  622. package/dist/components/calcite-list-item-group.js +2 -2
  623. package/dist/components/calcite-list-item.js +2 -2
  624. package/dist/components/calcite-list.js +2 -2
  625. package/dist/components/calcite-loader.js +1 -1
  626. package/dist/components/calcite-modal.js +3 -3
  627. package/dist/components/calcite-notice.js +2 -2
  628. package/dist/components/calcite-option-group.js +2 -2
  629. package/dist/components/calcite-option.js +2 -2
  630. package/dist/components/calcite-pagination.js +2 -2
  631. package/dist/components/calcite-panel.js +2 -2
  632. package/dist/components/calcite-pick-list-group.js +2 -2
  633. package/dist/components/calcite-pick-list-item.js +1 -1
  634. package/dist/components/calcite-pick-list.js +3 -3
  635. package/dist/components/calcite-popover-manager.js +2 -2
  636. package/dist/components/calcite-popover.js +1 -1
  637. package/dist/components/calcite-progress.js +1 -1
  638. package/dist/components/calcite-radio-button-group.js +7 -7
  639. package/dist/components/calcite-radio-button.js +11 -11
  640. package/dist/components/calcite-radio-group-item.js +5 -5
  641. package/dist/components/calcite-radio-group.js +11 -11
  642. package/dist/components/calcite-rating.js +11 -11
  643. package/dist/components/calcite-scrim.js +1 -1
  644. package/dist/components/calcite-select.js +3 -3
  645. package/dist/components/calcite-shell-center-row.js +2 -2
  646. package/dist/components/calcite-shell-panel.js +2 -2
  647. package/dist/components/calcite-shell.js +2 -2
  648. package/dist/components/calcite-slider.js +7 -6
  649. package/dist/components/calcite-sortable-list.js +2 -2
  650. package/dist/components/calcite-split-button.js +2 -2
  651. package/dist/components/calcite-stepper-item.js +2 -2
  652. package/dist/components/calcite-stepper.js +2 -2
  653. package/dist/components/calcite-switch.js +1 -1
  654. package/dist/components/calcite-tab-nav.js +1 -1
  655. package/dist/components/calcite-tab-title.js +1 -1
  656. package/dist/components/calcite-tab.js +1 -1
  657. package/dist/components/calcite-tabs.js +1 -1
  658. package/dist/components/calcite-tile-select-group.js +2 -2
  659. package/dist/components/calcite-tile-select.js +2 -2
  660. package/dist/components/calcite-tile.js +1 -1
  661. package/dist/components/calcite-time-picker.js +1 -1
  662. package/dist/components/calcite-tip-group.js +2 -2
  663. package/dist/components/calcite-tip-manager.js +2 -2
  664. package/dist/components/calcite-tip.js +2 -2
  665. package/dist/components/calcite-tooltip-manager.js +2 -2
  666. package/dist/components/calcite-tooltip.js +3 -3
  667. package/dist/components/calcite-tree-item.js +3 -3
  668. package/dist/components/calcite-tree.js +3 -3
  669. package/dist/components/calcite-value-list-item.js +2 -2
  670. package/dist/components/calcite-value-list.js +3 -3
  671. package/dist/components/checkbox.js +5 -4
  672. package/dist/components/chip.js +2 -2
  673. package/dist/components/color-picker-hex-input.js +3 -3
  674. package/dist/components/color-picker-swatch.js +2 -2
  675. package/dist/components/conditionalSlot.js +1 -1
  676. package/dist/components/date-picker-day.js +5 -4
  677. package/dist/components/date-picker-month-header.js +8 -7
  678. package/dist/components/date-picker-month.js +2 -2
  679. package/dist/components/date-picker.js +2 -2
  680. package/dist/components/date.js +2 -2
  681. package/dist/components/debounce.js +1 -1
  682. package/dist/components/dom.js +2 -2
  683. package/dist/components/dropdown.js +4 -4
  684. package/dist/components/filter.js +168 -741
  685. package/dist/components/filter2.js +741 -168
  686. package/dist/components/floating-ui.js +2 -2
  687. package/dist/components/form.js +2 -2
  688. package/dist/components/graph.js +2 -2
  689. package/dist/components/guid.js +1 -1
  690. package/dist/components/handle.js +2 -2
  691. package/dist/components/icon.js +2 -2
  692. package/dist/components/index.d.ts +92 -5
  693. package/dist/components/index.js +93 -1
  694. package/dist/components/input.js +3 -3
  695. package/dist/components/interactive.js +1 -1
  696. package/dist/components/interfaces.js +1 -1
  697. package/dist/components/interfaces2.js +1 -1
  698. package/dist/components/key.js +1 -1
  699. package/dist/components/label.js +87 -112
  700. package/dist/components/label2.js +112 -87
  701. package/dist/components/link.js +2 -2
  702. package/dist/components/loader.js +2 -2
  703. package/dist/components/locale.js +1 -1
  704. package/dist/components/math.js +1 -1
  705. package/dist/components/observers.js +1 -1
  706. package/dist/components/openCloseComponent.js +1 -1
  707. package/dist/components/pick-list-item.js +2 -2
  708. package/dist/components/popover.js +5 -4
  709. package/dist/components/progress.js +2 -2
  710. package/dist/components/resources.js +1 -1
  711. package/dist/components/resources2.js +1 -1
  712. package/dist/components/resources3.js +1 -1
  713. package/dist/components/scrim.js +2 -2
  714. package/dist/components/shared-list-render.js +1 -1
  715. package/dist/components/sortable.esm.js +1 -1
  716. package/dist/components/switch.js +6 -5
  717. package/dist/components/tab-nav.js +3 -3
  718. package/dist/components/tab-title.js +32 -11
  719. package/dist/components/tab.js +27 -5
  720. package/dist/components/tabs.js +2 -2
  721. package/dist/components/tile.js +2 -2
  722. package/dist/components/time-picker.js +7 -11
  723. package/dist/components/utils.js +1 -1
  724. package/dist/components/utils2.js +1 -1
  725. package/dist/custom-elements/index.js +244 -199
  726. package/dist/esm/{ExpandToggle-a67fabeb.js → ExpandToggle-dd6a0dd8.js} +5 -5
  727. package/dist/esm/{Heading-692647f4.js → Heading-4c268816.js} +2 -2
  728. package/dist/esm/{array-4805dbfa.js → array-68e32723.js} +1 -1
  729. package/dist/esm/calcite-accordion_2.entry.js +9 -9
  730. package/dist/esm/calcite-action-bar.entry.js +11 -11
  731. package/dist/esm/calcite-action-group.entry.js +9 -9
  732. package/dist/esm/calcite-action-menu.entry.js +41 -34
  733. package/dist/esm/calcite-action-pad.entry.js +10 -10
  734. package/dist/esm/calcite-action.entry.js +7 -7
  735. package/dist/esm/calcite-alert.entry.js +7 -7
  736. package/dist/esm/calcite-avatar.entry.js +6 -6
  737. package/dist/esm/calcite-block_2.entry.js +12 -11
  738. package/dist/esm/calcite-button.entry.js +9 -9
  739. package/dist/esm/calcite-card.entry.js +7 -7
  740. package/dist/esm/calcite-checkbox.entry.js +10 -9
  741. package/dist/esm/calcite-chip.entry.js +7 -7
  742. package/dist/esm/calcite-color-picker_3.entry.js +17 -16
  743. package/dist/esm/calcite-combobox_3.entry.js +16 -16
  744. package/dist/esm/calcite-date-picker_4.entry.js +19 -19
  745. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  746. package/dist/esm/calcite-fab.entry.js +6 -6
  747. package/dist/esm/calcite-filter.entry.js +8 -8
  748. package/dist/esm/calcite-flow.entry.js +4 -4
  749. package/dist/esm/calcite-graph_2.entry.js +14 -13
  750. package/dist/esm/calcite-handle.entry.js +5 -5
  751. package/dist/esm/calcite-icon.entry.js +6 -6
  752. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  753. package/dist/esm/calcite-input-date-picker.entry.js +13 -13
  754. package/dist/esm/calcite-input-message.entry.js +5 -5
  755. package/dist/esm/calcite-input-number.entry.js +12 -12
  756. package/dist/esm/calcite-input-text.entry.js +9 -9
  757. package/dist/esm/calcite-input-time-picker_2.entry.js +16 -20
  758. package/dist/esm/calcite-input.entry.js +12 -12
  759. package/dist/esm/calcite-label.entry.js +6 -6
  760. package/dist/esm/calcite-link.entry.js +6 -6
  761. package/dist/esm/calcite-list_3.entry.js +11 -11
  762. package/dist/esm/calcite-loader.entry.js +4 -4
  763. package/dist/esm/calcite-modal.entry.js +8 -8
  764. package/dist/esm/calcite-notice.entry.js +8 -8
  765. package/dist/esm/calcite-option_3.entry.js +11 -11
  766. package/dist/esm/calcite-pagination.entry.js +6 -6
  767. package/dist/esm/calcite-panel.entry.js +10 -10
  768. package/dist/esm/calcite-pick-list_3.entry.js +14 -14
  769. package/dist/esm/calcite-popover_2.entry.js +12 -11
  770. package/dist/esm/calcite-progress.entry.js +3 -3
  771. package/dist/esm/calcite-radio-button-group.entry.js +9 -9
  772. package/dist/esm/calcite-radio-button.entry.js +17 -17
  773. package/dist/esm/calcite-radio-group_2.entry.js +20 -20
  774. package/dist/esm/calcite-rating.entry.js +17 -17
  775. package/dist/esm/calcite-scrim.entry.js +3 -3
  776. package/dist/esm/calcite-shell_3.entry.js +10 -10
  777. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  778. package/dist/esm/calcite-split-button.entry.js +4 -4
  779. package/dist/esm/calcite-stepper_2.entry.js +7 -7
  780. package/dist/esm/calcite-switch.entry.js +11 -10
  781. package/dist/esm/calcite-tab_4.entry.js +63 -22
  782. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  783. package/dist/esm/calcite-tile.entry.js +8 -8
  784. package/dist/esm/calcite-tip_3.entry.js +10 -10
  785. package/dist/esm/calcite-tooltip_2.entry.js +7 -7
  786. package/dist/esm/calcite-tree_2.entry.js +8 -8
  787. package/dist/esm/calcite-value-list_2.entry.js +13 -13
  788. package/dist/esm/calcite.js +4 -4
  789. package/dist/esm/{conditionalSlot-83556c3d.js → conditionalSlot-40a54fd0.js} +3 -3
  790. package/dist/esm/{debounce-d3f03530.js → debounce-b0f31c11.js} +1 -1
  791. package/dist/esm/{dom-e401991e.js → dom-1f4b2c5c.js} +2 -2
  792. package/dist/esm/{filter-512fb2c8.js → filter-e37bac63.js} +2 -2
  793. package/dist/esm/{floating-ui-4c093794.js → floating-ui-0c89f0e1.js} +2 -2
  794. package/dist/esm/{form-c16b71ed.js → form-def7282e.js} +3 -3
  795. package/dist/esm/{guid-c021fc98.js → guid-43243f0d.js} +1 -1
  796. package/dist/esm/{index-dfdd97c6.js → index-5a5db037.js} +10 -5
  797. package/dist/esm/index.js +1 -1
  798. package/dist/esm/{interactive-c2b99cbe.js → interactive-0304df8e.js} +1 -1
  799. package/dist/esm/{interfaces-6732d775.js → interfaces-2d8b2aa3.js} +1 -1
  800. package/dist/esm/{key-6e1c0352.js → key-8d8e902e.js} +1 -1
  801. package/dist/esm/{label-130704db.js → label-d68e7f0f.js} +2 -2
  802. package/dist/esm/loader.js +4 -4
  803. package/dist/esm/{locale-25506773.js → locale-93a2218c.js} +2 -2
  804. package/dist/esm/{math-e7881633.js → math-23d942ef.js} +1 -1
  805. package/dist/esm/{observers-2d7d2323.js → observers-64f4a7e9.js} +1 -1
  806. package/dist/esm/{openCloseComponent-125cbe92.js → openCloseComponent-fbf6ad68.js} +1 -1
  807. package/dist/esm/{resources-3d10b413.js → resources-05894aef.js} +1 -1
  808. package/dist/esm/{resources-16fca094.js → resources-10717072.js} +5 -5
  809. package/dist/esm/{resources-f435ce90.js → resources-9c6ccc78.js} +1 -1
  810. package/dist/esm/{resources-ed277d64.js → resources-a67dcc05.js} +3 -3
  811. package/dist/esm/{sortable.esm-d52467fa.js → sortable.esm-5a040bf9.js} +1 -1
  812. package/dist/esm/{utils-6c96695f.js → utils-fa55d6c6.js} +1 -1
  813. package/dist/esm-es5/{ExpandToggle-a67fabeb.js → ExpandToggle-dd6a0dd8.js} +2 -2
  814. package/dist/esm-es5/{Heading-692647f4.js → Heading-4c268816.js} +2 -2
  815. package/dist/esm-es5/{array-4805dbfa.js → array-68e32723.js} +1 -1
  816. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  817. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  818. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  819. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  820. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  821. package/dist/esm-es5/calcite-action.entry.js +2 -2
  822. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  823. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  824. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  825. package/dist/esm-es5/calcite-button.entry.js +2 -2
  826. package/dist/esm-es5/calcite-card.entry.js +2 -2
  827. package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
  828. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  829. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  830. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
  831. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  832. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  833. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  834. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  835. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  836. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  837. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  838. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  839. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  840. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  841. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  842. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  843. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  844. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  845. package/dist/esm-es5/calcite-input.entry.js +2 -2
  846. package/dist/esm-es5/calcite-label.entry.js +2 -2
  847. package/dist/esm-es5/calcite-link.entry.js +2 -2
  848. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  849. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  850. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  851. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  852. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  853. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  854. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  855. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  856. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  857. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  858. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  859. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  860. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  861. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  862. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  863. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  864. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  865. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  866. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  867. package/dist/esm-es5/calcite-switch.entry.js +3 -3
  868. package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
  869. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  870. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  871. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  872. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  873. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  874. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  875. package/dist/esm-es5/calcite.js +2 -2
  876. package/dist/esm-es5/{conditionalSlot-83556c3d.js → conditionalSlot-40a54fd0.js} +2 -2
  877. package/dist/esm-es5/{debounce-d3f03530.js → debounce-b0f31c11.js} +1 -1
  878. package/dist/esm-es5/{dom-e401991e.js → dom-1f4b2c5c.js} +2 -2
  879. package/dist/esm-es5/{filter-512fb2c8.js → filter-e37bac63.js} +2 -2
  880. package/dist/esm-es5/{floating-ui-4c093794.js → floating-ui-0c89f0e1.js} +2 -2
  881. package/dist/esm-es5/{form-c16b71ed.js → form-def7282e.js} +2 -2
  882. package/dist/esm-es5/{guid-c021fc98.js → guid-43243f0d.js} +1 -1
  883. package/dist/esm-es5/index-5a5db037.js +7 -0
  884. package/dist/esm-es5/index.js +1 -1
  885. package/dist/esm-es5/{interactive-c2b99cbe.js → interactive-0304df8e.js} +1 -1
  886. package/dist/esm-es5/{interfaces-6732d775.js → interfaces-2d8b2aa3.js} +1 -1
  887. package/dist/esm-es5/{key-6e1c0352.js → key-8d8e902e.js} +1 -1
  888. package/dist/esm-es5/{label-130704db.js → label-d68e7f0f.js} +2 -2
  889. package/dist/esm-es5/loader.js +2 -2
  890. package/dist/esm-es5/{locale-25506773.js → locale-93a2218c.js} +2 -2
  891. package/dist/esm-es5/{math-e7881633.js → math-23d942ef.js} +1 -1
  892. package/dist/esm-es5/{observers-2d7d2323.js → observers-64f4a7e9.js} +1 -1
  893. package/dist/esm-es5/{openCloseComponent-125cbe92.js → openCloseComponent-fbf6ad68.js} +1 -1
  894. package/dist/esm-es5/{resources-3d10b413.js → resources-05894aef.js} +1 -1
  895. package/dist/esm-es5/{resources-16fca094.js → resources-10717072.js} +2 -2
  896. package/dist/esm-es5/{resources-f435ce90.js → resources-9c6ccc78.js} +1 -1
  897. package/dist/esm-es5/{resources-ed277d64.js → resources-a67dcc05.js} +2 -2
  898. package/dist/esm-es5/{sortable.esm-d52467fa.js → sortable.esm-5a040bf9.js} +1 -1
  899. package/dist/esm-es5/{utils-6c96695f.js → utils-fa55d6c6.js} +1 -1
  900. package/dist/extras/docs-json.json +90 -44
  901. package/dist/loader/cdn.js +1 -1
  902. package/dist/loader/index.cjs.js +1 -1
  903. package/dist/loader/index.es2017.js +1 -1
  904. package/dist/loader/index.js +1 -1
  905. package/dist/types/components/action-menu/action-menu.d.ts +4 -6
  906. package/dist/types/components/radio-button/radio-button.d.ts +11 -11
  907. package/dist/types/components/radio-button-group/radio-button-group.d.ts +7 -7
  908. package/dist/types/components/radio-group/radio-group.d.ts +10 -10
  909. package/dist/types/components/radio-group-item/radio-group-item.d.ts +5 -5
  910. package/dist/types/components/rating/rating.d.ts +12 -12
  911. package/dist/types/components/tab/tab.d.ts +8 -0
  912. package/dist/types/components/tab-title/tab-title.d.ts +11 -2
  913. package/dist/types/components.d.ts +102 -82
  914. package/hydrate/index.js +424 -203
  915. package/package.json +14 -14
  916. package/dist/calcite/p-082b1cb0.entry.js +0 -6
  917. package/dist/calcite/p-0b6bb8a5.entry.js +0 -6
  918. package/dist/calcite/p-0c5f1d3f.system.entry.js +0 -6
  919. package/dist/calcite/p-0ef6ef56.system.entry.js +0 -6
  920. package/dist/calcite/p-0ff319fb.system.entry.js +0 -6
  921. package/dist/calcite/p-1075bedb.system.entry.js +0 -6
  922. package/dist/calcite/p-1191c9e7.entry.js +0 -6
  923. package/dist/calcite/p-133caf4c.system.entry.js +0 -6
  924. package/dist/calcite/p-18b4fabd.system.entry.js +0 -6
  925. package/dist/calcite/p-1a29dfb9.system.entry.js +0 -6
  926. package/dist/calcite/p-1cf9983d.entry.js +0 -6
  927. package/dist/calcite/p-1d024c60.js +0 -6
  928. package/dist/calcite/p-1d2447b5.system.entry.js +0 -6
  929. package/dist/calcite/p-204d52ed.entry.js +0 -6
  930. package/dist/calcite/p-21233c73.system.entry.js +0 -6
  931. package/dist/calcite/p-23ebdb05.system.entry.js +0 -6
  932. package/dist/calcite/p-245140de.system.entry.js +0 -6
  933. package/dist/calcite/p-258df7ee.system.entry.js +0 -6
  934. package/dist/calcite/p-26dc1c62.system.entry.js +0 -6
  935. package/dist/calcite/p-2e6d3dbf.system.entry.js +0 -6
  936. package/dist/calcite/p-32a8e259.system.entry.js +0 -6
  937. package/dist/calcite/p-32e5223c.system.entry.js +0 -6
  938. package/dist/calcite/p-35ac49c3.system.entry.js +0 -6
  939. package/dist/calcite/p-36165a35.entry.js +0 -6
  940. package/dist/calcite/p-44d04bb7.entry.js +0 -6
  941. package/dist/calcite/p-4500f4df.system.entry.js +0 -6
  942. package/dist/calcite/p-461d6b1b.system.js +0 -6
  943. package/dist/calcite/p-4b26cbbe.system.js +0 -7
  944. package/dist/calcite/p-4e149487.system.entry.js +0 -6
  945. package/dist/calcite/p-51275610.entry.js +0 -6
  946. package/dist/calcite/p-517e9baf.entry.js +0 -6
  947. package/dist/calcite/p-585ccaae.system.entry.js +0 -6
  948. package/dist/calcite/p-5b13ba30.entry.js +0 -6
  949. package/dist/calcite/p-5b453460.entry.js +0 -6
  950. package/dist/calcite/p-5d69443c.entry.js +0 -6
  951. package/dist/calcite/p-5d8c9e94.entry.js +0 -6
  952. package/dist/calcite/p-5f51364c.system.entry.js +0 -6
  953. package/dist/calcite/p-6bde105f.entry.js +0 -6
  954. package/dist/calcite/p-6cfebfbb.system.entry.js +0 -6
  955. package/dist/calcite/p-6d3b79e9.system.entry.js +0 -6
  956. package/dist/calcite/p-6ead1e91.system.entry.js +0 -6
  957. package/dist/calcite/p-71fd9b6d.entry.js +0 -6
  958. package/dist/calcite/p-72209d8f.entry.js +0 -6
  959. package/dist/calcite/p-744e4bf0.system.entry.js +0 -6
  960. package/dist/calcite/p-7e51a91c.system.entry.js +0 -6
  961. package/dist/calcite/p-8467fa93.system.entry.js +0 -6
  962. package/dist/calcite/p-8973f053.entry.js +0 -6
  963. package/dist/calcite/p-8ee2e9cd.entry.js +0 -6
  964. package/dist/calcite/p-8f2873fa.system.entry.js +0 -6
  965. package/dist/calcite/p-8ff2323b.entry.js +0 -6
  966. package/dist/calcite/p-91f00681.system.entry.js +0 -6
  967. package/dist/calcite/p-9635caa0.system.js +0 -6
  968. package/dist/calcite/p-97444e13.entry.js +0 -6
  969. package/dist/calcite/p-98223411.system.entry.js +0 -6
  970. package/dist/calcite/p-9cffd2c5.system.entry.js +0 -6
  971. package/dist/calcite/p-9f330111.system.entry.js +0 -6
  972. package/dist/calcite/p-a0e17fba.system.entry.js +0 -6
  973. package/dist/calcite/p-a216e1cf.system.entry.js +0 -6
  974. package/dist/calcite/p-a2c9d29e.system.entry.js +0 -6
  975. package/dist/calcite/p-a2cf630a.system.entry.js +0 -6
  976. package/dist/calcite/p-a7bf649f.entry.js +0 -6
  977. package/dist/calcite/p-ac7a61ef.entry.js +0 -6
  978. package/dist/calcite/p-acda4247.entry.js +0 -6
  979. package/dist/calcite/p-ad1be866.system.entry.js +0 -6
  980. package/dist/calcite/p-ae5959d9.system.entry.js +0 -6
  981. package/dist/calcite/p-b22e4e6d.system.entry.js +0 -6
  982. package/dist/calcite/p-b3c7f2b3.system.entry.js +0 -6
  983. package/dist/calcite/p-b436bd7c.entry.js +0 -6
  984. package/dist/calcite/p-b452e170.system.entry.js +0 -6
  985. package/dist/calcite/p-ba1085c9.system.entry.js +0 -6
  986. package/dist/calcite/p-c03d6e2f.system.entry.js +0 -6
  987. package/dist/calcite/p-c1b931f6.entry.js +0 -6
  988. package/dist/calcite/p-c29efe45.entry.js +0 -6
  989. package/dist/calcite/p-c310d5e2.js +0 -7
  990. package/dist/calcite/p-c60f84ea.entry.js +0 -6
  991. package/dist/calcite/p-cc1f82a3.entry.js +0 -6
  992. package/dist/calcite/p-cdb9455f.entry.js +0 -6
  993. package/dist/calcite/p-d2ee0fa5.entry.js +0 -6
  994. package/dist/calcite/p-d47fa560.system.entry.js +0 -6
  995. package/dist/calcite/p-d5669d09.system.entry.js +0 -6
  996. package/dist/calcite/p-d86835fd.system.entry.js +0 -6
  997. package/dist/calcite/p-d914fce8.entry.js +0 -6
  998. package/dist/calcite/p-dc13cb3c.system.entry.js +0 -6
  999. package/dist/calcite/p-dc6563a7.entry.js +0 -6
  1000. package/dist/calcite/p-e8e7869d.system.entry.js +0 -6
  1001. package/dist/calcite/p-eb58c409.entry.js +0 -6
  1002. package/dist/calcite/p-ec0b2fa2.system.entry.js +0 -6
  1003. package/dist/calcite/p-ee7078e2.system.entry.js +0 -6
  1004. package/dist/calcite/p-fba8e5c7.entry.js +0 -6
  1005. package/dist/esm-es5/index-dfdd97c6.js +0 -7
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.553
4
+ * v1.0.0-next.556
5
5
  */
6
- import{r as registerInstance,h,F as Fragment,g as getElement,c as createEvent,f as forceUpdate}from"./index-dfdd97c6.js";import{g as getSlotted,a as getElementDir}from"./dom-e401991e.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-83556c3d.js";import{c as clamp}from"./math-e7881633.js";import"./guid-c021fc98.js";import"./observers-2d7d2323.js";var CSS$2={main:"main",mainReversed:"main--reversed",content:"content",contentBehind:"content--behind",footer:"footer"};var SLOTS$2={centerRow:"center-row",primaryPanel:"primary-panel",contextualPanel:"contextual-panel",panelStart:"panel-start",panelEnd:"panel-end",header:"header",footer:"footer"};var shellCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;z-index:1;border-width:0px;display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;-webkit-box-sizing:border-box;box-sizing:border-box}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";var Shell=function(){function t(t){registerInstance(this,t);this.contentBehind=false}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderHeader=function(){var t=!!getSlotted(this.el,SLOTS$2.header);return t?h("slot",{key:"header",name:SLOTS$2.header}):null};t.prototype.renderContent=function(){var t;var e=h("slot",{key:"default-slot"});var a=h("slot",{key:"center-row-slot",name:SLOTS$2.centerRow});var n="content-container";var i=!!this.contentBehind?[h("div",{class:(t={},t[CSS$2.content]=true,t[CSS$2.contentBehind]=true,t),key:n},e),a]:[h("div",{class:CSS$2.content,key:n},e,a)];return i};t.prototype.renderFooter=function(){var t=!!getSlotted(this.el,SLOTS$2.footer);return t?h("div",{class:CSS$2.footer,key:"footer"},h("slot",{name:SLOTS$2.footer})):null};t.prototype.renderMain=function(){var t;var e=getSlotted(this.el,SLOTS$2.primaryPanel);var a=(t={},t[CSS$2.main]=true,t[CSS$2.mainReversed]=(e===null||e===void 0?void 0:e.position)==="end",t);return h("div",{class:a},h("slot",{name:SLOTS$2.primaryPanel}),h("slot",{name:SLOTS$2.panelStart}),this.renderContent(),h("slot",{name:SLOTS$2.panelEnd}),h("slot",{name:SLOTS$2.contextualPanel}))};t.prototype.render=function(){return h(Fragment,null,this.renderHeader(),this.renderMain(),this.renderFooter())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Shell.style=shellCss;var CSS$1={actionBarContainer:"action-bar-container",content:"content"};var SLOTS$1={actionBar:"action-bar"};var shellCenterRowCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}:host([detached]){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){-ms-flex-item-align:end;align-self:flex-end}:host([position=start]){-ms-flex-item-align:start;align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";var ShellCenterRow=function(){function t(t){registerInstance(this,t);this.detached=false;this.heightScale="s";this.position="end"}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.render=function(){var t=this.el;var e=h("div",{class:CSS$1.content},h("slot",null));var a=getSlotted(t,SLOTS$1.actionBar);var n=a?h("div",{class:CSS$1.actionBarContainer,key:"action-bar"},h("slot",{name:SLOTS$1.actionBar})):null;var i=[n,e];if((a===null||a===void 0?void 0:a.position)==="end"){i.reverse()}return h(Fragment,null,i)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();ShellCenterRow.style=shellCenterRowCss;var CSS={container:"container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentDetached:"content--detached",separator:"separator"};var SLOTS={actionBar:"action-bar",header:"header"};var TEXT={resize:"Resize"};var shellPanelCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";var ShellPanel=function(){function t(t){var e=this;registerInstance(this,t);this.calciteShellPanelToggle=createEvent(this,"calciteShellPanelToggle",6);this.collapsed=false;this.detached=false;this.detachedHeightScale="l";this.widthScale="m";this.intlResize=TEXT.resize;this.resizable=false;this.contentWidth=null;this.initialContentWidth=null;this.initialClientX=null;this.contentWidthMax=null;this.contentWidthMin=null;this.step=1;this.stepMultiplier=10;this.storeContentEl=function(t){e.contentEl=t};this.getKeyAdjustedWidth=function(t){var a=t.key;var n=e,i=n.el,o=n.step,r=n.stepMultiplier,l=n.contentWidthMin,s=n.contentWidthMax,c=n.initialContentWidth,d=n.position;var m=o*r;var p=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"];if(p.indexOf(a)>-1){t.preventDefault()}var h=getElementDir(i);var f=["ArrowLeft","ArrowRight"];var w=h==="rtl"&&f.includes(a)?-1:1;var u=a==="ArrowUp"||(d==="end"?a===f[0]:a===f[1]);if(u){var b=t.shiftKey?m:o;return c+w*b}var x=a==="ArrowDown"||(d==="end"?a===f[1]:a===f[0]);if(x){var b=t.shiftKey?m:o;return c-w*b}if(typeof l==="number"&&a==="Home"){return l}if(typeof s==="number"&&a==="End"){return s}if(a==="PageDown"){return c-m}if(a==="PageUp"){return c+m}return null};this.separatorKeyDown=function(t){e.setInitialContentWidth();var a=e.getKeyAdjustedWidth(t);if(typeof a==="number"){e.setContentWidth(a)}};this.separatorPointerMove=function(t){t.preventDefault();var a=e,n=a.el,i=a.initialContentWidth,o=a.position,r=a.initialClientX;var l=t.clientX-r;var s=getElementDir(n);var c=s==="rtl"?-1:1;var d=o==="end"?-c*l:c*l;var m=i+d;e.setContentWidth(m)};this.separatorPointerUp=function(t){t.preventDefault();document.removeEventListener("pointerup",e.separatorPointerUp);document.removeEventListener("pointermove",e.separatorPointerMove)};this.setInitialContentWidth=function(){var t;e.initialContentWidth=(t=e.contentEl)===null||t===void 0?void 0:t.getBoundingClientRect().width};this.separatorPointerDown=function(t){t.preventDefault();var a=e.separatorEl;a&&document.activeElement!==a&&a.focus();e.setInitialContentWidth();e.initialClientX=t.clientX;document.addEventListener("pointerup",e.separatorPointerUp);document.addEventListener("pointermove",e.separatorPointerMove)};this.connectSeparator=function(t){e.disconnectSeparator();e.separatorEl=t;t.addEventListener("pointerdown",e.separatorPointerDown)};this.disconnectSeparator=function(){var t;(t=e.separatorEl)===null||t===void 0?void 0:t.removeEventListener("pointerdown",e.separatorPointerDown)}}t.prototype.watchHandler=function(){this.calciteShellPanelToggle.emit()};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this);this.disconnectSeparator()};t.prototype.componentDidLoad=function(){this.updateAriaValues()};t.prototype.renderHeader=function(){var t=this.el;var e=getSlotted(t,SLOTS.header);return e?h("div",{class:CSS.contentHeader,key:"header"},h("slot",{name:SLOTS.header})):null};t.prototype.render=function(){var t,e;var a=this,n=a.collapsed,i=a.detached,o=a.position,r=a.initialContentWidth,l=a.contentWidth,s=a.contentWidthMax,c=a.contentWidthMin,d=a.intlResize,m=a.resizable;var p=!i&&m;var f=h("div",{class:(t={},t[CSS.content]=true,t[CSS.contentDetached]=i,t),hidden:n,key:"content",ref:this.storeContentEl,style:p&&l?{width:"".concat(l,"px")}:null},this.renderHeader(),h("div",{class:CSS.contentBody},h("slot",null)));var w=p?h("div",{"aria-label":d,"aria-orientation":"horizontal","aria-valuemax":s,"aria-valuemin":c,"aria-valuenow":l!==null&&l!==void 0?l:r,class:CSS.separator,key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null;var u=h("slot",{key:"action-bar",name:SLOTS.actionBar});var b=[u,f,w];if(o==="end"){b.reverse()}return h("div",{class:(e={},e[CSS.container]=true,e)},b)};t.prototype.setContentWidth=function(t){var e=this,a=e.contentWidthMax,n=e.contentWidthMin;var i=Math.round(t);this.contentWidth=typeof a==="number"&&typeof n==="number"?clamp(i,n,a):i};t.prototype.updateAriaValues=function(){var t=this.contentEl;var e=t&&getComputedStyle(t);if(!e){return}var a=parseInt(e.getPropertyValue("max-width"),10);var n=parseInt(e.getPropertyValue("min-width"),10);var i=parseInt(e.getPropertyValue("width"),10);if(typeof i==="number"&&!isNaN(i)){this.initialContentWidth=i}if(typeof a==="number"&&!isNaN(a)){this.contentWidthMax=a}if(typeof n==="number"&&!isNaN(n)){this.contentWidthMin=n}forceUpdate(this)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{collapsed:["watchHandler"]}},enumerable:false,configurable:true});return t}();ShellPanel.style=shellPanelCss;export{Shell as calcite_shell,ShellCenterRow as calcite_shell_center_row,ShellPanel as calcite_shell_panel};
6
+ import{r as registerInstance,h,F as Fragment,g as getElement,c as createEvent,f as forceUpdate}from"./index-5a5db037.js";import{g as getSlotted,a as getElementDir}from"./dom-1f4b2c5c.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-40a54fd0.js";import{c as clamp}from"./math-23d942ef.js";import"./guid-43243f0d.js";import"./observers-64f4a7e9.js";var CSS$2={main:"main",mainReversed:"main--reversed",content:"content",contentBehind:"content--behind",footer:"footer"};var SLOTS$2={centerRow:"center-row",primaryPanel:"primary-panel",contextualPanel:"contextual-panel",panelStart:"panel-start",panelEnd:"panel-end",header:"header",footer:"footer"};var shellCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;z-index:1;border-width:0px;display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;-webkit-box-sizing:border-box;box-sizing:border-box}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";var Shell=function(){function t(t){registerInstance(this,t);this.contentBehind=false}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderHeader=function(){var t=!!getSlotted(this.el,SLOTS$2.header);return t?h("slot",{key:"header",name:SLOTS$2.header}):null};t.prototype.renderContent=function(){var t;var e=h("slot",{key:"default-slot"});var a=h("slot",{key:"center-row-slot",name:SLOTS$2.centerRow});var n="content-container";var i=!!this.contentBehind?[h("div",{class:(t={},t[CSS$2.content]=true,t[CSS$2.contentBehind]=true,t),key:n},e),a]:[h("div",{class:CSS$2.content,key:n},e,a)];return i};t.prototype.renderFooter=function(){var t=!!getSlotted(this.el,SLOTS$2.footer);return t?h("div",{class:CSS$2.footer,key:"footer"},h("slot",{name:SLOTS$2.footer})):null};t.prototype.renderMain=function(){var t;var e=getSlotted(this.el,SLOTS$2.primaryPanel);var a=(t={},t[CSS$2.main]=true,t[CSS$2.mainReversed]=(e===null||e===void 0?void 0:e.position)==="end",t);return h("div",{class:a},h("slot",{name:SLOTS$2.primaryPanel}),h("slot",{name:SLOTS$2.panelStart}),this.renderContent(),h("slot",{name:SLOTS$2.panelEnd}),h("slot",{name:SLOTS$2.contextualPanel}))};t.prototype.render=function(){return h(Fragment,null,this.renderHeader(),this.renderMain(),this.renderFooter())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Shell.style=shellCss;var CSS$1={actionBarContainer:"action-bar-container",content:"content"};var SLOTS$1={actionBar:"action-bar"};var shellCenterRowCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}:host([detached]){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){-ms-flex-item-align:end;align-self:flex-end}:host([position=start]){-ms-flex-item-align:start;align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";var ShellCenterRow=function(){function t(t){registerInstance(this,t);this.detached=false;this.heightScale="s";this.position="end"}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.render=function(){var t=this.el;var e=h("div",{class:CSS$1.content},h("slot",null));var a=getSlotted(t,SLOTS$1.actionBar);var n=a?h("div",{class:CSS$1.actionBarContainer,key:"action-bar"},h("slot",{name:SLOTS$1.actionBar})):null;var i=[n,e];if((a===null||a===void 0?void 0:a.position)==="end"){i.reverse()}return h(Fragment,null,i)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();ShellCenterRow.style=shellCenterRowCss;var CSS={container:"container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentDetached:"content--detached",separator:"separator"};var SLOTS={actionBar:"action-bar",header:"header"};var TEXT={resize:"Resize"};var shellPanelCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";var ShellPanel=function(){function t(t){var e=this;registerInstance(this,t);this.calciteShellPanelToggle=createEvent(this,"calciteShellPanelToggle",6);this.collapsed=false;this.detached=false;this.detachedHeightScale="l";this.widthScale="m";this.intlResize=TEXT.resize;this.resizable=false;this.contentWidth=null;this.initialContentWidth=null;this.initialClientX=null;this.contentWidthMax=null;this.contentWidthMin=null;this.step=1;this.stepMultiplier=10;this.storeContentEl=function(t){e.contentEl=t};this.getKeyAdjustedWidth=function(t){var a=t.key;var n=e,i=n.el,o=n.step,r=n.stepMultiplier,l=n.contentWidthMin,s=n.contentWidthMax,c=n.initialContentWidth,d=n.position;var m=o*r;var p=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"];if(p.indexOf(a)>-1){t.preventDefault()}var h=getElementDir(i);var f=["ArrowLeft","ArrowRight"];var w=h==="rtl"&&f.includes(a)?-1:1;var u=a==="ArrowUp"||(d==="end"?a===f[0]:a===f[1]);if(u){var b=t.shiftKey?m:o;return c+w*b}var x=a==="ArrowDown"||(d==="end"?a===f[1]:a===f[0]);if(x){var b=t.shiftKey?m:o;return c-w*b}if(typeof l==="number"&&a==="Home"){return l}if(typeof s==="number"&&a==="End"){return s}if(a==="PageDown"){return c-m}if(a==="PageUp"){return c+m}return null};this.separatorKeyDown=function(t){e.setInitialContentWidth();var a=e.getKeyAdjustedWidth(t);if(typeof a==="number"){e.setContentWidth(a)}};this.separatorPointerMove=function(t){t.preventDefault();var a=e,n=a.el,i=a.initialContentWidth,o=a.position,r=a.initialClientX;var l=t.clientX-r;var s=getElementDir(n);var c=s==="rtl"?-1:1;var d=o==="end"?-c*l:c*l;var m=i+d;e.setContentWidth(m)};this.separatorPointerUp=function(t){t.preventDefault();document.removeEventListener("pointerup",e.separatorPointerUp);document.removeEventListener("pointermove",e.separatorPointerMove)};this.setInitialContentWidth=function(){var t;e.initialContentWidth=(t=e.contentEl)===null||t===void 0?void 0:t.getBoundingClientRect().width};this.separatorPointerDown=function(t){t.preventDefault();var a=e.separatorEl;a&&document.activeElement!==a&&a.focus();e.setInitialContentWidth();e.initialClientX=t.clientX;document.addEventListener("pointerup",e.separatorPointerUp);document.addEventListener("pointermove",e.separatorPointerMove)};this.connectSeparator=function(t){e.disconnectSeparator();e.separatorEl=t;t.addEventListener("pointerdown",e.separatorPointerDown)};this.disconnectSeparator=function(){var t;(t=e.separatorEl)===null||t===void 0?void 0:t.removeEventListener("pointerdown",e.separatorPointerDown)}}t.prototype.watchHandler=function(){this.calciteShellPanelToggle.emit()};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this);this.disconnectSeparator()};t.prototype.componentDidLoad=function(){this.updateAriaValues()};t.prototype.renderHeader=function(){var t=this.el;var e=getSlotted(t,SLOTS.header);return e?h("div",{class:CSS.contentHeader,key:"header"},h("slot",{name:SLOTS.header})):null};t.prototype.render=function(){var t,e;var a=this,n=a.collapsed,i=a.detached,o=a.position,r=a.initialContentWidth,l=a.contentWidth,s=a.contentWidthMax,c=a.contentWidthMin,d=a.intlResize,m=a.resizable;var p=!i&&m;var f=h("div",{class:(t={},t[CSS.content]=true,t[CSS.contentDetached]=i,t),hidden:n,key:"content",ref:this.storeContentEl,style:p&&l?{width:"".concat(l,"px")}:null},this.renderHeader(),h("div",{class:CSS.contentBody},h("slot",null)));var w=p?h("div",{"aria-label":d,"aria-orientation":"horizontal","aria-valuemax":s,"aria-valuemin":c,"aria-valuenow":l!==null&&l!==void 0?l:r,class:CSS.separator,key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null;var u=h("slot",{key:"action-bar",name:SLOTS.actionBar});var b=[u,f,w];if(o==="end"){b.reverse()}return h("div",{class:(e={},e[CSS.container]=true,e)},b)};t.prototype.setContentWidth=function(t){var e=this,a=e.contentWidthMax,n=e.contentWidthMin;var i=Math.round(t);this.contentWidth=typeof a==="number"&&typeof n==="number"?clamp(i,n,a):i};t.prototype.updateAriaValues=function(){var t=this.contentEl;var e=t&&getComputedStyle(t);if(!e){return}var a=parseInt(e.getPropertyValue("max-width"),10);var n=parseInt(e.getPropertyValue("min-width"),10);var i=parseInt(e.getPropertyValue("width"),10);if(typeof i==="number"&&!isNaN(i)){this.initialContentWidth=i}if(typeof a==="number"&&!isNaN(a)){this.contentWidthMax=a}if(typeof n==="number"&&!isNaN(n)){this.contentWidthMin=n}forceUpdate(this)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{collapsed:["watchHandler"]}},enumerable:false,configurable:true});return t}();ShellPanel.style=shellPanelCss;export{Shell as calcite_shell,ShellCenterRow as calcite_shell_center_row,ShellPanel as calcite_shell_panel};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.553
4
+ * v1.0.0-next.556
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-dfdd97c6.js";import{S as Sortable}from"./sortable.esm-d52467fa.js";import{c as createObserver}from"./observers-2d7d2323.js";import{u as updateHostInteraction}from"./interactive-c2b99cbe.js";var CSS={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"};var sortableListCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}.container--vertical{-ms-flex-direction:column;flex-direction:column}.container--horizontal{-ms-flex-direction:row;flex-direction:row}";var SortableList=function(){function t(t){var e=this;registerInstance(this,t);this.calciteListOrderChange=createEvent(this,"calciteListOrderChange",6);this.handleSelector="calcite-handle";this.layout="vertical";this.disabled=false;this.loading=false;this.handleActivated=false;this.items=[];this.mutationObserver=createObserver("mutation",(function(){e.cleanUpDragAndDrop();e.items=Array.from(e.el.children);e.setUpDragAndDrop()}))}t.prototype.connectedCallback=function(){this.items=Array.from(this.el.children);this.setUpDragAndDrop();this.beginObserving()};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.cleanUpDragAndDrop()};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.calciteHandleNudgeHandler=function(t){var e;var a=this.items.find((function(e){return e.contains(t.detail.handle)||t.composedPath().includes(e)}));var i=this.items.length-1;var n=this.items.indexOf(a);var r=false;var o;switch(t.detail.direction){case"up":t.preventDefault();if(n===0){r=true}else{o=n-1}break;case"down":t.preventDefault();if(n===i){o=0}else if(n===i-1){r=true}else{o=n+2}break;default:return}(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();if(r){a.parentElement.appendChild(a)}else{a.parentElement.insertBefore(a,this.items[o])}this.items=Array.from(this.el.children);t.detail.handle.activated=true;t.detail.handle.setFocus();this.beginObserving()};t.prototype.setUpDragAndDrop=function(){var t=this;this.cleanUpDragAndDrop();var e={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:function(){t.items=Array.from(t.el.children);t.calciteListOrderChange.emit()},onStart:function(){var e;(e=t.mutationObserver)===null||e===void 0?void 0:e.disconnect()},onEnd:function(){t.beginObserving()}};if(this.dragSelector){e.draggable=this.dragSelector}this.sortable=Sortable.create(this.el,e)};t.prototype.cleanUpDragAndDrop=function(){var t;(t=this.sortable)===null||t===void 0?void 0:t.destroy();this.sortable=null};t.prototype.beginObserving=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.render=function(){var t;var e=this.layout;var a=e==="horizontal"||false;return h("div",{class:(t={},t[CSS.container]=true,t[CSS.containerVertical]=!a,t[CSS.containerHorizontal]=a,t)},h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();SortableList.style=sortableListCss;export{SortableList as calcite_sortable_list};
6
+ import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-5a5db037.js";import{S as Sortable}from"./sortable.esm-5a040bf9.js";import{c as createObserver}from"./observers-64f4a7e9.js";import{u as updateHostInteraction}from"./interactive-0304df8e.js";var CSS={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"};var sortableListCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}.container--vertical{-ms-flex-direction:column;flex-direction:column}.container--horizontal{-ms-flex-direction:row;flex-direction:row}";var SortableList=function(){function t(t){var e=this;registerInstance(this,t);this.calciteListOrderChange=createEvent(this,"calciteListOrderChange",6);this.handleSelector="calcite-handle";this.layout="vertical";this.disabled=false;this.loading=false;this.handleActivated=false;this.items=[];this.mutationObserver=createObserver("mutation",(function(){e.cleanUpDragAndDrop();e.items=Array.from(e.el.children);e.setUpDragAndDrop()}))}t.prototype.connectedCallback=function(){this.items=Array.from(this.el.children);this.setUpDragAndDrop();this.beginObserving()};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.cleanUpDragAndDrop()};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.calciteHandleNudgeHandler=function(t){var e;var a=this.items.find((function(e){return e.contains(t.detail.handle)||t.composedPath().includes(e)}));var i=this.items.length-1;var n=this.items.indexOf(a);var r=false;var o;switch(t.detail.direction){case"up":t.preventDefault();if(n===0){r=true}else{o=n-1}break;case"down":t.preventDefault();if(n===i){o=0}else if(n===i-1){r=true}else{o=n+2}break;default:return}(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();if(r){a.parentElement.appendChild(a)}else{a.parentElement.insertBefore(a,this.items[o])}this.items=Array.from(this.el.children);t.detail.handle.activated=true;t.detail.handle.setFocus();this.beginObserving()};t.prototype.setUpDragAndDrop=function(){var t=this;this.cleanUpDragAndDrop();var e={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:function(){t.items=Array.from(t.el.children);t.calciteListOrderChange.emit()},onStart:function(){var e;(e=t.mutationObserver)===null||e===void 0?void 0:e.disconnect()},onEnd:function(){t.beginObserving()}};if(this.dragSelector){e.draggable=this.dragSelector}this.sortable=Sortable.create(this.el,e)};t.prototype.cleanUpDragAndDrop=function(){var t;(t=this.sortable)===null||t===void 0?void 0:t.destroy();this.sortable=null};t.prototype.beginObserving=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.render=function(){var t;var e=this.layout;var a=e==="horizontal"||false;return h("div",{class:(t={},t[CSS.container]=true,t[CSS.containerVertical]=!a,t[CSS.containerHorizontal]=a,t)},h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();SortableList.style=sortableListCss;export{SortableList as calcite_sortable_list};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.553
4
+ * v1.0.0-next.556
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-dfdd97c6.js";import{u as updateHostInteraction}from"./interactive-c2b99cbe.js";var CSS={container:"split-button__container",dividerContainer:"split-button__divider-container",divider:"split-button__divider",widthAuto:"width-auto",widthHalf:"width-half",widthFull:"width-full"};var splitButtonCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var SplitButton=function(){function t(t){var i=this;registerInstance(this,t);this.calciteSplitButtonPrimaryClick=createEvent(this,"calciteSplitButtonPrimaryClick",6);this.calciteSplitButtonSecondaryClick=createEvent(this,"calciteSplitButtonSecondaryClick",6);this.appearance="solid";this.color="blue";this.disabled=false;this.active=false;this.dropdownIconType="chevron";this.loading=false;this.overlayPositioning="absolute";this.scale="m";this.width="auto";this.calciteSplitButtonPrimaryClickHandler=function(t){return i.calciteSplitButtonPrimaryClick.emit(t)};this.calciteSplitButtonSecondaryClickHandler=function(t){return i.calciteSplitButtonSecondaryClick.emit(t)}}t.prototype.handleDisabledChange=function(t){if(!t){this.active=false}};t.prototype.activeHandler=function(){if(this.disabled){this.active=false}};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){var t;var i=(t={},t[CSS.container]=true,t[CSS.widthAuto]=this.width==="auto",t[CSS.widthHalf]=this.width==="half",t[CSS.widthFull]=this.width==="full",t);var a=this.width==="auto"?"auto":"full";return h("div",{class:i},h("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:a},this.primaryText),h("div",{class:CSS.dividerContainer},h("div",{class:CSS.divider})),h("calcite-dropdown",{active:this.active,disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},h("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary",type:"button"}),h("slot",null)))};Object.defineProperty(t.prototype,"dropdownIcon",{get:function(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}},enumerable:false,configurable:true});return t}();SplitButton.style=splitButtonCss;export{SplitButton as calcite_split_button};
6
+ import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-5a5db037.js";import{u as updateHostInteraction}from"./interactive-0304df8e.js";var CSS={container:"split-button__container",dividerContainer:"split-button__divider-container",divider:"split-button__divider",widthAuto:"width-auto",widthHalf:"width-half",widthFull:"width-full"};var splitButtonCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var SplitButton=function(){function t(t){var i=this;registerInstance(this,t);this.calciteSplitButtonPrimaryClick=createEvent(this,"calciteSplitButtonPrimaryClick",6);this.calciteSplitButtonSecondaryClick=createEvent(this,"calciteSplitButtonSecondaryClick",6);this.appearance="solid";this.color="blue";this.disabled=false;this.active=false;this.dropdownIconType="chevron";this.loading=false;this.overlayPositioning="absolute";this.scale="m";this.width="auto";this.calciteSplitButtonPrimaryClickHandler=function(t){return i.calciteSplitButtonPrimaryClick.emit(t)};this.calciteSplitButtonSecondaryClickHandler=function(t){return i.calciteSplitButtonSecondaryClick.emit(t)}}t.prototype.handleDisabledChange=function(t){if(!t){this.active=false}};t.prototype.activeHandler=function(){if(this.disabled){this.active=false}};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){var t;var i=(t={},t[CSS.container]=true,t[CSS.widthAuto]=this.width==="auto",t[CSS.widthHalf]=this.width==="half",t[CSS.widthFull]=this.width==="full",t);var a=this.width==="auto"?"auto":"full";return h("div",{class:i},h("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:a},this.primaryText),h("div",{class:CSS.dividerContainer},h("div",{class:CSS.divider})),h("calcite-dropdown",{active:this.active,disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},h("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary",type:"button"}),h("slot",null)))};Object.defineProperty(t.prototype,"dropdownIcon",{get:function(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}},enumerable:false,configurable:true});return t}();SplitButton.style=splitButtonCss;export{SplitButton as calcite_split_button};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.553
6
- */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-dfdd97c6.js";import{f as focusElement,d as getElementProp,t as toAriaBoolean}from"./dom-e401991e.js";import{u as updateHostInteraction}from"./interactive-c2b99cbe.js";import"./guid-c021fc98.js";var stepperCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:-webkit-fit-content;min-inline-size:fit-content;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';var Stepper=function(){function t(t){registerInstance(this,t);this.calciteStepperItemChange=createEvent(this,"calciteStepperItemChange",6);this.calciteInternalStepperItemChange=createEvent(this,"calciteInternalStepperItemChange",6);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.itemMap=new Map;this.items=[];this.enabledItems=[]}t.prototype.componentDidLoad=function(){if(typeof this.currentPosition!=="number"){this.calciteInternalStepperItemChange.emit({position:0})}};t.prototype.render=function(){var t=this;return h("slot",{onSlotchange:function(e){var i=e.currentTarget.assignedElements().filter((function(t){return(t===null||t===void 0?void 0:t.tagName)==="CALCITE-STEPPER-ITEM"}));var n=Array(i.length).fill("1fr").join(" ");t.el.style.gridTemplateAreas=n;t.el.style.gridTemplateColumns=n}})};t.prototype.calciteInternalStepperItemKeyEvent=function(t){var e=t.detail.item;var i=t.target;var n=this.itemIndex(i)===0;var a=this.itemIndex(i)===this.enabledItems.length-1;switch(e.key){case"ArrowDown":case"ArrowRight":if(a){this.focusFirstItem()}else{this.focusNextItem(i)}break;case"ArrowUp":case"ArrowLeft":if(n){this.focusLastItem()}else{this.focusPrevItem(i)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}t.stopPropagation()};t.prototype.registerItem=function(t){var e=t.target;var i=t.detail,n=i.content,a=i.position;this.itemMap.set(e,{position:a,content:n});this.items=this.sortItems();this.enabledItems=this.filterItems();t.stopPropagation()};t.prototype.updateItem=function(t){var e=t.detail.position;if(typeof e==="number"){this.currentPosition=e}this.calciteInternalStepperItemChange.emit({position:e})};t.prototype.handleUserRequestedStepperItemSelect=function(t){var e=t.detail.position;this.calciteStepperItemChange.emit({position:e})};t.prototype.nextStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.currentPosition+1,"next");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.prevStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.currentPosition-1,"previous");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.goToStep=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=t-1;if(this.currentPosition!==e){this.updateStep(e)}return[2]}))}))};t.prototype.startStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(0,"next");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.endStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.getEnabledStepIndex=function(t,e){if(e===void 0){e="next"}var i;var n=this,a=n.items,r=n.currentPosition;var o=t;while((i=a[o])===null||i===void 0?void 0:i.disabled){o=o+(e==="previous"?-1:1)}return o!==r&&o<a.length&&o>=0?o:null};t.prototype.updateStep=function(t){this.currentPosition=t;this.calciteInternalStepperItemChange.emit({position:t})};t.prototype.focusFirstItem=function(){var t=this.enabledItems[0];focusElement(t)};t.prototype.focusLastItem=function(){var t=this.enabledItems[this.enabledItems.length-1];focusElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e+1]||this.enabledItems[0];focusElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e-1]||this.enabledItems[this.enabledItems.length-1];focusElement(i)};t.prototype.itemIndex=function(t){return this.enabledItems.indexOf(t)};t.prototype.sortItems=function(){var t=this.itemMap;return Array.from(t.keys()).sort((function(e,i){return t.get(e).position-t.get(i).position}))};t.prototype.filterItems=function(){return this.items.filter((function(t){return!t.disabled}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Stepper.style=stepperCss;var stepperItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:-ms-inline-flexbox;display:inline-flex;block-size:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([active])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-description,:host(:focus:not([disabled]):not([active])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][active]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][active]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([active]) .container{border-block-start-color:highlight}:host([active]) .container .stepper-item-number{color:highlight}:host([active]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][active]) .container{border-color:highlight}}";var StepperItem=function(){function t(t){var e=this;registerInstance(this,t);this.calciteInternalStepperItemKeyEvent=createEvent(this,"calciteInternalStepperItemKeyEvent",6);this.calciteInternalStepperItemSelect=createEvent(this,"calciteInternalStepperItemSelect",6);this.calciteInternalUserRequestedStepperItemSelect=createEvent(this,"calciteInternalUserRequestedStepperItemSelect",6);this.calciteInternalStepperItemRegister=createEvent(this,"calciteInternalStepperItemRegister",6);this.active=false;this.complete=false;this.error=false;this.disabled=false;this.layout="horizontal";this.icon=false;this.numbered=false;this.scale="m";this.keyDownHandler=function(t){if(!e.disabled&&t.target===e.el){switch(t.key){case" ":case"Enter":e.emitUserRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":e.calciteInternalStepperItemKeyEvent.emit({item:t});t.preventDefault();break}}};this.emitUserRequestedItem=function(){e.emitRequestedItem();if(!e.disabled){var t=e.itemPosition;e.calciteInternalUserRequestedStepperItemSelect.emit({position:t})}};this.emitRequestedItem=function(){if(!e.disabled){var t=e.itemPosition;e.calciteInternalStepperItemSelect.emit({position:t})}}}t.prototype.disabledWatcher=function(){this.registerStepperItem()};t.prototype.activeWatcher=function(t){if(t){this.emitRequestedItem()}};t.prototype.componentWillLoad=function(){this.icon=getElementProp(this.el,"icon",false);this.numbered=getElementProp(this.el,"numbered",false);this.layout=getElementProp(this.el,"layout",false);this.scale=getElementProp(this.el,"scale","m");this.parentStepperEl=this.el.parentElement;this.itemPosition=this.getItemPosition();this.registerStepperItem();if(this.active){this.emitRequestedItem()}};t.prototype.componentDidRender=function(){updateHostInteraction(this,true)};t.prototype.render=function(){var t=this;return h(Host,{"aria-expanded":toAriaBoolean(this.active),onClick:this.emitUserRequestedItem,onKeyDown:this.keyDownHandler},h("div",{class:"container"},h("div",{class:"stepper-item-header",ref:function(e){return t.headerEl=e},tabIndex:this.layout==="horizontal"&&!this.disabled?0:null},this.icon?this.renderIcon():null,this.numbered?h("div",{class:"stepper-item-number"},this.itemPosition+1,"."):null,h("div",{class:"stepper-item-header-text"},h("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),h("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),h("div",{class:"stepper-item-content"},h("slot",null))))};t.prototype.updateActiveItemOnChange=function(t){if(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl)){this.activePosition=t.detail.position;this.determineActiveItem()}};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.layout==="vertical"?this.el:this.headerEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderIcon=function(){var t=this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle";return h("calcite-icon",{class:"stepper-item-icon",icon:t,scale:"s"})};t.prototype.determineActiveItem=function(){this.active=!this.disabled&&this.itemPosition===this.activePosition};t.prototype.registerStepperItem=function(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})};t.prototype.getItemPosition=function(){var t;return Array.from((t=this.parentStepperEl)===null||t===void 0?void 0:t.querySelectorAll("calcite-stepper-item")).indexOf(this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledWatcher"],active:["activeWatcher"]}},enumerable:false,configurable:true});return t}();StepperItem.style=stepperItemCss;export{Stepper as calcite_stepper,StepperItem as calcite_stepper_item};
5
+ * v1.0.0-next.556
6
+ */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-5a5db037.js";import{f as focusElement,d as getElementProp,t as toAriaBoolean}from"./dom-1f4b2c5c.js";import{u as updateHostInteraction}from"./interactive-0304df8e.js";import"./guid-43243f0d.js";var stepperCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:-webkit-fit-content;min-inline-size:fit-content;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';var Stepper=function(){function t(t){registerInstance(this,t);this.calciteStepperItemChange=createEvent(this,"calciteStepperItemChange",6);this.calciteInternalStepperItemChange=createEvent(this,"calciteInternalStepperItemChange",6);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.itemMap=new Map;this.items=[];this.enabledItems=[]}t.prototype.componentDidLoad=function(){if(typeof this.currentPosition!=="number"){this.calciteInternalStepperItemChange.emit({position:0})}};t.prototype.render=function(){var t=this;return h("slot",{onSlotchange:function(e){var i=e.currentTarget.assignedElements().filter((function(t){return(t===null||t===void 0?void 0:t.tagName)==="CALCITE-STEPPER-ITEM"}));var n=Array(i.length).fill("1fr").join(" ");t.el.style.gridTemplateAreas=n;t.el.style.gridTemplateColumns=n}})};t.prototype.calciteInternalStepperItemKeyEvent=function(t){var e=t.detail.item;var i=t.target;var n=this.itemIndex(i)===0;var a=this.itemIndex(i)===this.enabledItems.length-1;switch(e.key){case"ArrowDown":case"ArrowRight":if(a){this.focusFirstItem()}else{this.focusNextItem(i)}break;case"ArrowUp":case"ArrowLeft":if(n){this.focusLastItem()}else{this.focusPrevItem(i)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}t.stopPropagation()};t.prototype.registerItem=function(t){var e=t.target;var i=t.detail,n=i.content,a=i.position;this.itemMap.set(e,{position:a,content:n});this.items=this.sortItems();this.enabledItems=this.filterItems();t.stopPropagation()};t.prototype.updateItem=function(t){var e=t.detail.position;if(typeof e==="number"){this.currentPosition=e}this.calciteInternalStepperItemChange.emit({position:e})};t.prototype.handleUserRequestedStepperItemSelect=function(t){var e=t.detail.position;this.calciteStepperItemChange.emit({position:e})};t.prototype.nextStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.currentPosition+1,"next");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.prevStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.currentPosition-1,"previous");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.goToStep=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=t-1;if(this.currentPosition!==e){this.updateStep(e)}return[2]}))}))};t.prototype.startStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(0,"next");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.endStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.getEnabledStepIndex=function(t,e){if(e===void 0){e="next"}var i;var n=this,a=n.items,r=n.currentPosition;var o=t;while((i=a[o])===null||i===void 0?void 0:i.disabled){o=o+(e==="previous"?-1:1)}return o!==r&&o<a.length&&o>=0?o:null};t.prototype.updateStep=function(t){this.currentPosition=t;this.calciteInternalStepperItemChange.emit({position:t})};t.prototype.focusFirstItem=function(){var t=this.enabledItems[0];focusElement(t)};t.prototype.focusLastItem=function(){var t=this.enabledItems[this.enabledItems.length-1];focusElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e+1]||this.enabledItems[0];focusElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e-1]||this.enabledItems[this.enabledItems.length-1];focusElement(i)};t.prototype.itemIndex=function(t){return this.enabledItems.indexOf(t)};t.prototype.sortItems=function(){var t=this.itemMap;return Array.from(t.keys()).sort((function(e,i){return t.get(e).position-t.get(i).position}))};t.prototype.filterItems=function(){return this.items.filter((function(t){return!t.disabled}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Stepper.style=stepperCss;var stepperItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:-ms-inline-flexbox;display:inline-flex;block-size:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([active])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-description,:host(:focus:not([disabled]):not([active])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][active]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][active]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([active]) .container{border-block-start-color:highlight}:host([active]) .container .stepper-item-number{color:highlight}:host([active]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][active]) .container{border-color:highlight}}";var StepperItem=function(){function t(t){var e=this;registerInstance(this,t);this.calciteInternalStepperItemKeyEvent=createEvent(this,"calciteInternalStepperItemKeyEvent",6);this.calciteInternalStepperItemSelect=createEvent(this,"calciteInternalStepperItemSelect",6);this.calciteInternalUserRequestedStepperItemSelect=createEvent(this,"calciteInternalUserRequestedStepperItemSelect",6);this.calciteInternalStepperItemRegister=createEvent(this,"calciteInternalStepperItemRegister",6);this.active=false;this.complete=false;this.error=false;this.disabled=false;this.layout="horizontal";this.icon=false;this.numbered=false;this.scale="m";this.keyDownHandler=function(t){if(!e.disabled&&t.target===e.el){switch(t.key){case" ":case"Enter":e.emitUserRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":e.calciteInternalStepperItemKeyEvent.emit({item:t});t.preventDefault();break}}};this.emitUserRequestedItem=function(){e.emitRequestedItem();if(!e.disabled){var t=e.itemPosition;e.calciteInternalUserRequestedStepperItemSelect.emit({position:t})}};this.emitRequestedItem=function(){if(!e.disabled){var t=e.itemPosition;e.calciteInternalStepperItemSelect.emit({position:t})}}}t.prototype.disabledWatcher=function(){this.registerStepperItem()};t.prototype.activeWatcher=function(t){if(t){this.emitRequestedItem()}};t.prototype.componentWillLoad=function(){this.icon=getElementProp(this.el,"icon",false);this.numbered=getElementProp(this.el,"numbered",false);this.layout=getElementProp(this.el,"layout",false);this.scale=getElementProp(this.el,"scale","m");this.parentStepperEl=this.el.parentElement;this.itemPosition=this.getItemPosition();this.registerStepperItem();if(this.active){this.emitRequestedItem()}};t.prototype.componentDidRender=function(){updateHostInteraction(this,true)};t.prototype.render=function(){var t=this;return h(Host,{"aria-expanded":toAriaBoolean(this.active),onClick:this.emitUserRequestedItem,onKeyDown:this.keyDownHandler},h("div",{class:"container"},h("div",{class:"stepper-item-header",ref:function(e){return t.headerEl=e},tabIndex:this.layout==="horizontal"&&!this.disabled?0:null},this.icon?this.renderIcon():null,this.numbered?h("div",{class:"stepper-item-number"},this.itemPosition+1,"."):null,h("div",{class:"stepper-item-header-text"},h("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),h("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),h("div",{class:"stepper-item-content"},h("slot",null))))};t.prototype.updateActiveItemOnChange=function(t){if(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl)){this.activePosition=t.detail.position;this.determineActiveItem()}};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.layout==="vertical"?this.el:this.headerEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderIcon=function(){var t=this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle";return h("calcite-icon",{class:"stepper-item-icon",icon:t,scale:"s"})};t.prototype.determineActiveItem=function(){this.active=!this.disabled&&this.itemPosition===this.activePosition};t.prototype.registerStepperItem=function(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})};t.prototype.getItemPosition=function(){var t;return Array.from((t=this.parentStepperEl)===null||t===void 0?void 0:t.querySelectorAll("calcite-stepper-item")).indexOf(this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledWatcher"],active:["activeWatcher"]}},enumerable:false,configurable:true});return t}();StepperItem.style=stepperItemCss;export{Stepper as calcite_stepper,StepperItem as calcite_stepper_item};
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{s(n.next(t))}catch(t){r(t)}}function c(t){try{s(n["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):a(t.value).then(o,c)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(e){return s([t,e])}}function s(o){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];a=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{s(n.next(t))}catch(t){o(t)}}function c(t){try{s(n["throw"](t))}catch(t){o(t)}}function s(t){t.done?i(t.value):a(t.value).then(r,c)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return s([t,e])}}function s(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];a=0}finally{n=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.553
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-dfdd97c6.js";import{f as focusElement,t as toAriaBoolean}from"./dom-e401991e.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-130704db.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-c16b71ed.js";import{u as updateHostInteraction}from"./interactive-c2b99cbe.js";import"./guid-c021fc98.js";var switchCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{inline-size:auto;outline-color:transparent}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var Switch=function(){function t(t){var e=this;registerInstance(this,t);this.calciteSwitchChange=createEvent(this,"calciteSwitchChange",6);this.disabled=false;this.scale="m";this.switched=false;this.checked=false;this.keyDownHandler=function(t){var i=t.key;if(!e.disabled&&(i===" "||i==="Enter")){e.toggle();t.preventDefault()}};this.clickHandler=function(){e.toggle()};this.setSwitchEl=function(t){e.switchEl=t}}t.prototype.switchedWatcher=function(t){this.checked=t};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.switchEl);return[2]}))}))};t.prototype.onLabelClick=function(){if(!this.disabled){this.toggle();this.setFocus()}};t.prototype.toggle=function(){this.checked=!this.checked;this.calciteSwitchChange.emit({switched:this.checked})};t.prototype.connectedCallback=function(){var t=this.checked||this.switched;if(t){this.switched=this.checked=t}connectLabel(this);connectForm(this)};t.prototype.disconnectedCallback=function(){disconnectLabel(this);disconnectForm(this)};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){return h(Host,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},h("div",{"aria-checked":toAriaBoolean(this.checked),"aria-label":getLabelText(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},h("div",{class:"track"},h("div",{class:"handle"})),h(HiddenFormInputSlot,{component:this})))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{switched:["switchedWatcher"]}},enumerable:false,configurable:true});return t}();Switch.style=switchCss;export{Switch as calcite_switch};
5
+ * v1.0.0-next.556
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-5a5db037.js";import{f as focusElement,t as toAriaBoolean}from"./dom-1f4b2c5c.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-d68e7f0f.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-def7282e.js";import{u as updateHostInteraction}from"./interactive-0304df8e.js";import{i as isActivationKey}from"./key-8d8e902e.js";import"./guid-43243f0d.js";var switchCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{inline-size:auto;outline-color:transparent}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var Switch=function(){function t(t){var e=this;registerInstance(this,t);this.calciteSwitchChange=createEvent(this,"calciteSwitchChange",6);this.disabled=false;this.scale="m";this.switched=false;this.checked=false;this.keyDownHandler=function(t){var i=t.key;if(!e.disabled&&isActivationKey(i)){e.toggle();t.preventDefault()}};this.clickHandler=function(){e.toggle()};this.setSwitchEl=function(t){e.switchEl=t}}t.prototype.switchedWatcher=function(t){this.checked=t};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.switchEl);return[2]}))}))};t.prototype.onLabelClick=function(){if(!this.disabled){this.toggle();this.setFocus()}};t.prototype.toggle=function(){this.checked=!this.checked;this.calciteSwitchChange.emit({switched:this.checked})};t.prototype.connectedCallback=function(){var t=this.checked||this.switched;if(t){this.switched=this.checked=t}connectLabel(this);connectForm(this)};t.prototype.disconnectedCallback=function(){disconnectLabel(this);disconnectForm(this)};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){return h(Host,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},h("div",{"aria-checked":toAriaBoolean(this.checked),"aria-label":getLabelText(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},h("div",{class:"track"},h("div",{class:"handle"})),h(HiddenFormInputSlot,{component:this})))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{switched:["switchedWatcher"]}},enumerable:false,configurable:true});return t}();Switch.style=switchCss;export{Switch as calcite_switch};