@esri/calcite-components 1.0.0-next.554 → 1.0.0-next.557

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 (964) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +2 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-952a0e45.js → p-01bbc68a.js} +2 -2
  5. package/dist/calcite/{p-03246ab8.js → p-0323edd5.js} +2 -2
  6. package/dist/calcite/p-03abc90c.system.entry.js +6 -0
  7. package/dist/calcite/p-050bccd2.system.entry.js +6 -0
  8. package/dist/calcite/{p-25609078.js → p-053d6f2d.js} +2 -2
  9. package/dist/calcite/p-089c4e7a.system.js +6 -0
  10. package/dist/calcite/p-08cd0042.js +6 -0
  11. package/dist/calcite/p-098e2929.system.entry.js +6 -0
  12. package/dist/calcite/p-09e36a8f.system.entry.js +6 -0
  13. package/dist/calcite/{p-22872d72.js → p-0b2dbf1f.js} +1 -1
  14. package/dist/calcite/p-0b6e742e.system.js +6 -0
  15. package/dist/calcite/p-0de90ca3.system.entry.js +6 -0
  16. package/dist/calcite/{p-6b97256e.js → p-0f719968.js} +1 -1
  17. package/dist/calcite/p-10837290.entry.js +6 -0
  18. package/dist/calcite/p-13d514c2.system.entry.js +6 -0
  19. package/dist/calcite/{p-046fcb0c.entry.js → p-1442423a.entry.js} +2 -2
  20. package/dist/calcite/p-14661dbd.system.entry.js +6 -0
  21. package/dist/calcite/{p-d9369914.entry.js → p-16755058.entry.js} +2 -2
  22. package/dist/calcite/p-179814ff.system.entry.js +6 -0
  23. package/dist/calcite/p-185bbebe.system.entry.js +6 -0
  24. package/dist/calcite/p-186e9072.entry.js +6 -0
  25. package/dist/calcite/{p-5bcc6e36.system.entry.js → p-18a217bd.system.entry.js} +2 -2
  26. package/dist/calcite/{p-7e022b1b.js → p-1bdc083e.js} +2 -2
  27. package/dist/calcite/p-1c6bc78e.entry.js +6 -0
  28. package/dist/calcite/p-1d8a659f.entry.js +6 -0
  29. package/dist/calcite/{p-43758c02.system.js → p-1f7bcb20.system.js} +1 -1
  30. package/dist/calcite/p-1fa0d6dc.system.entry.js +6 -0
  31. package/dist/calcite/{p-1abbbcc2.system.js → p-207b9ac8.system.js} +2 -2
  32. package/dist/calcite/p-2397e51c.system.entry.js +6 -0
  33. package/dist/calcite/{p-3ee2d78c.system.entry.js → p-259901ca.system.entry.js} +2 -2
  34. package/dist/calcite/{p-a9964dd8.js → p-267cfd6f.js} +1 -1
  35. package/dist/calcite/p-27292a37.entry.js +6 -0
  36. package/dist/calcite/{p-ed4d9df0.js → p-28eb7892.js} +1 -1
  37. package/dist/calcite/p-2bcbe086.system.entry.js +6 -0
  38. package/dist/calcite/p-2e486788.system.js +6 -0
  39. package/dist/calcite/p-2fa04db0.entry.js +6 -0
  40. package/dist/calcite/p-33798ba6.entry.js +6 -0
  41. package/dist/calcite/p-34c56af0.system.js +6 -0
  42. package/dist/calcite/p-34fc3044.system.js +6 -0
  43. package/dist/calcite/{p-37d12dd9.system.js → p-362017b2.system.js} +1 -1
  44. package/dist/calcite/p-36800b66.entry.js +6 -0
  45. package/dist/calcite/{p-7f2a8028.system.entry.js → p-38996036.system.entry.js} +2 -2
  46. package/dist/calcite/p-38f0718c.entry.js +6 -0
  47. package/dist/calcite/{p-1ea993fc.system.entry.js → p-3a0ac767.system.entry.js} +2 -2
  48. package/dist/calcite/p-3afee225.system.entry.js +6 -0
  49. package/dist/calcite/p-3b36d84f.system.entry.js +6 -0
  50. package/dist/calcite/p-3cb0bba0.system.entry.js +6 -0
  51. package/dist/calcite/p-3d2c9fb7.entry.js +6 -0
  52. package/dist/calcite/p-3e4cdc64.system.entry.js +6 -0
  53. package/dist/calcite/p-3f0a88a5.js +6 -0
  54. package/dist/calcite/{p-ea0927b7.system.js → p-430ddb64.system.js} +1 -1
  55. package/dist/calcite/p-43e54a04.entry.js +6 -0
  56. package/dist/calcite/{p-242c5e9a.entry.js → p-44e87d25.entry.js} +2 -2
  57. package/dist/calcite/p-473cdc07.js +6 -0
  58. package/dist/calcite/p-485002f2.system.entry.js +6 -0
  59. package/dist/calcite/p-489fa1b0.entry.js +6 -0
  60. package/dist/calcite/{p-6e82d8e3.system.js → p-4918e784.system.js} +2 -2
  61. package/dist/calcite/{p-88547c90.system.js → p-4ab1e412.system.js} +1 -1
  62. package/dist/calcite/{p-18ff9a7f.system.js → p-4b690d1f.system.js} +1 -1
  63. package/dist/calcite/{p-7d192d44.js → p-4d7092d7.js} +2 -2
  64. package/dist/calcite/{p-a93a9d60.js → p-500e5bfd.js} +2 -2
  65. package/dist/calcite/p-5276d2f5.system.entry.js +6 -0
  66. package/dist/calcite/p-5431b506.entry.js +6 -0
  67. package/dist/calcite/p-549fb66c.system.entry.js +6 -0
  68. package/dist/calcite/{p-8b2dc670.js → p-57e3ec6e.js} +1 -1
  69. package/dist/calcite/{p-5e65a668.js → p-57e5742a.js} +1 -1
  70. package/dist/calcite/p-58bfb933.entry.js +6 -0
  71. package/dist/calcite/p-5a80d1d7.entry.js +6 -0
  72. package/dist/calcite/{p-a7beca8b.system.entry.js → p-5bbc365f.system.entry.js} +2 -2
  73. package/dist/calcite/{p-9a62cc07.system.js → p-5ca05270.system.js} +3 -3
  74. package/dist/calcite/p-5e3d1c69.entry.js +6 -0
  75. package/dist/calcite/p-619fd20d.entry.js +6 -0
  76. package/dist/calcite/{p-d51e133d.system.js → p-662db081.system.js} +1 -1
  77. package/dist/calcite/{p-ddaf0771.system.entry.js → p-6707dfe7.system.entry.js} +2 -2
  78. package/dist/calcite/{p-cbad651b.system.entry.js → p-6862e6df.system.entry.js} +2 -2
  79. package/dist/calcite/{p-51b04300.system.js → p-69ae393b.system.js} +2 -2
  80. package/dist/calcite/p-6a495e2f.entry.js +6 -0
  81. package/dist/calcite/{p-432d465a.system.js → p-6e6c766d.system.js} +1 -1
  82. package/dist/calcite/{p-2022a888.system.js → p-6f4a290e.system.js} +1 -1
  83. package/dist/calcite/p-72ae6659.system.entry.js +6 -0
  84. package/dist/calcite/p-7505e5f2.entry.js +6 -0
  85. package/dist/calcite/p-75bdaf1d.entry.js +6 -0
  86. package/dist/calcite/p-7688a4d8.system.entry.js +6 -0
  87. package/dist/calcite/{p-39f470d6.system.js → p-7750cf69.system.js} +2 -2
  88. package/dist/calcite/p-77ba3a75.entry.js +6 -0
  89. package/dist/calcite/p-79819ce2.entry.js +6 -0
  90. package/dist/calcite/p-799d6510.entry.js +6 -0
  91. package/dist/calcite/p-7bd363bf.system.entry.js +6 -0
  92. package/dist/calcite/p-7e29926c.entry.js +6 -0
  93. package/dist/calcite/p-83b0e6fa.system.entry.js +6 -0
  94. package/dist/calcite/p-85b7d575.entry.js +6 -0
  95. package/dist/calcite/p-8d3fc4ee.entry.js +6 -0
  96. package/dist/calcite/{p-f0edee04.system.js → p-8de36feb.system.js} +2 -2
  97. package/dist/calcite/{p-6f028d65.system.js → p-8eeb2705.system.js} +1 -1
  98. package/dist/calcite/p-913c10d7.entry.js +6 -0
  99. package/dist/calcite/p-92882341.entry.js +6 -0
  100. package/dist/calcite/{p-4a7b0eeb.system.entry.js → p-9394f514.system.entry.js} +2 -2
  101. package/dist/calcite/p-967ab5ce.js +7 -0
  102. package/dist/calcite/p-9689d57a.system.entry.js +6 -0
  103. package/dist/calcite/p-986a7d1a.entry.js +6 -0
  104. package/dist/calcite/p-995ea165.system.js +6 -0
  105. package/dist/calcite/p-9e69eb69.entry.js +6 -0
  106. package/dist/calcite/p-9f078008.system.entry.js +6 -0
  107. package/dist/calcite/p-9ff5036d.system.entry.js +6 -0
  108. package/dist/calcite/p-a000afc0.system.entry.js +6 -0
  109. package/dist/calcite/{p-c5772a30.js → p-a0e5b18f.js} +1 -1
  110. package/dist/calcite/p-a1049719.system.entry.js +6 -0
  111. package/dist/calcite/p-a52a7b0a.system.entry.js +6 -0
  112. package/dist/calcite/p-a562f13f.js +6 -0
  113. package/dist/calcite/p-a6d0a409.system.entry.js +6 -0
  114. package/dist/calcite/p-a70ed6e7.entry.js +6 -0
  115. package/dist/calcite/p-a71d58b7.entry.js +6 -0
  116. package/dist/calcite/p-a96bd824.system.entry.js +6 -0
  117. package/dist/calcite/p-ad4f2930.system.entry.js +6 -0
  118. package/dist/calcite/p-ae9b373a.entry.js +6 -0
  119. package/dist/calcite/{p-db665163.system.js → p-b271e062.system.js} +1 -1
  120. package/dist/calcite/p-b3c760e0.system.entry.js +6 -0
  121. package/dist/calcite/{p-e81770d4.system.entry.js → p-b4b3b61e.entry.js} +3 -3
  122. package/dist/calcite/p-b4d9bf86.system.entry.js +6 -0
  123. package/dist/calcite/{p-f8346f59.entry.js → p-b60feb71.entry.js} +2 -2
  124. package/dist/calcite/p-b78f9b9f.entry.js +6 -0
  125. package/dist/calcite/{p-82034b70.js → p-bc9318f3.js} +1 -1
  126. package/dist/calcite/{p-e364f001.js → p-bd07abeb.js} +1 -1
  127. package/dist/calcite/p-bd29bacb.system.js +7 -0
  128. package/dist/calcite/p-be784116.entry.js +6 -0
  129. package/dist/calcite/p-bf1e9f67.entry.js +6 -0
  130. package/dist/calcite/p-c05c774d.system.entry.js +6 -0
  131. package/dist/calcite/{p-253816b8.entry.js → p-c0ca417e.entry.js} +2 -2
  132. package/dist/calcite/p-c14e1f09.system.entry.js +6 -0
  133. package/dist/calcite/p-c1dcd3cb.system.entry.js +6 -0
  134. package/dist/calcite/p-c3ce9178.entry.js +6 -0
  135. package/dist/calcite/p-c69f0a78.entry.js +6 -0
  136. package/dist/calcite/{p-8aba1b16.system.js → p-c80f7567.system.js} +1 -1
  137. package/dist/calcite/{p-0671663f.js → p-c8ba1f6a.js} +1 -1
  138. package/dist/calcite/p-c8c3e524.system.entry.js +6 -0
  139. package/dist/calcite/p-ca31a5e2.entry.js +6 -0
  140. package/dist/calcite/p-cf78df6d.system.entry.js +6 -0
  141. package/dist/calcite/p-d0047de8.system.entry.js +6 -0
  142. package/dist/calcite/p-d4cde041.entry.js +6 -0
  143. package/dist/calcite/p-d4f13b3d.entry.js +6 -0
  144. package/dist/calcite/{p-39f7c8c6.system.js → p-d5e345ee.system.js} +1 -1
  145. package/dist/calcite/p-d6ad752f.js +6 -0
  146. package/dist/calcite/{p-646b0c31.entry.js → p-d77e1a0d.entry.js} +2 -2
  147. package/dist/calcite/p-d7f6ea6f.system.entry.js +6 -0
  148. package/dist/calcite/p-da0db093.system.entry.js +6 -0
  149. package/dist/calcite/p-db473b43.system.entry.js +6 -0
  150. package/dist/calcite/p-dfb05eff.system.entry.js +6 -0
  151. package/dist/calcite/p-e0afa4c7.entry.js +6 -0
  152. package/dist/calcite/p-e12c0332.system.entry.js +6 -0
  153. package/dist/calcite/{p-a917f729.system.js → p-e307f02b.system.js} +2 -2
  154. package/dist/calcite/p-e3b5f2ef.entry.js +6 -0
  155. package/dist/calcite/{p-ed222b79.js → p-e5d86cd5.js} +1 -1
  156. package/dist/calcite/p-e664273e.js +6 -0
  157. package/dist/calcite/p-e880847f.entry.js +6 -0
  158. package/dist/calcite/{p-1671dfb1.js → p-ebe9283f.js} +2 -2
  159. package/dist/calcite/{p-edbae867.system.js → p-ec260be5.system.js} +2 -2
  160. package/dist/calcite/{p-4b0ecbf9.system.entry.js → p-ed3d5173.system.entry.js} +2 -2
  161. package/dist/calcite/p-ed77bad5.system.entry.js +6 -0
  162. package/dist/calcite/p-ed94b31e.entry.js +6 -0
  163. package/dist/calcite/p-f09b2cde.system.entry.js +6 -0
  164. package/dist/calcite/{p-7218723c.entry.js → p-f2f938ed.entry.js} +2 -2
  165. package/dist/calcite/p-f3570229.system.entry.js +6 -0
  166. package/dist/calcite/{p-a080a428.system.js → p-f505b966.system.js} +1 -1
  167. package/dist/calcite/{p-36fe38e0.entry.js → p-f585e174.entry.js} +2 -2
  168. package/dist/calcite/p-f5c4d4d1.system.entry.js +6 -0
  169. package/dist/calcite/{p-c1fc9977.js → p-f65ef845.js} +1 -1
  170. package/dist/calcite/{p-7e5a2e0c.entry.js → p-f7dbcbb8.entry.js} +2 -2
  171. package/dist/calcite/p-f8f14c87.entry.js +6 -0
  172. package/dist/calcite/{p-beb8dc08.js → p-f92ce833.js} +1 -1
  173. package/dist/calcite/p-f9f5fb51.entry.js +6 -0
  174. package/dist/calcite/{p-0b906eba.system.js → p-fb20f3c6.system.js} +1 -1
  175. package/dist/calcite/p-fb294b8e.entry.js +6 -0
  176. package/dist/calcite/p-fbf72dda.system.entry.js +6 -0
  177. package/dist/calcite/{p-310d558b.entry.js → p-fc817fa2.entry.js} +2 -2
  178. package/dist/cjs/{ExpandToggle-b628a6fb.js → ExpandToggle-c870fade.js} +5 -5
  179. package/dist/cjs/{Heading-ec59a634.js → Heading-17afc80c.js} +2 -2
  180. package/dist/cjs/app-globals-e1b88841.js +50 -0
  181. package/dist/cjs/{array-e882eb18.js → array-731bcbb2.js} +1 -1
  182. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -8
  183. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -10
  184. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -8
  185. package/dist/cjs/calcite-action-menu.cjs.entry.js +55 -42
  186. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -9
  187. package/dist/cjs/calcite-action.cjs.entry.js +7 -6
  188. package/dist/cjs/calcite-alert.cjs.entry.js +7 -6
  189. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -5
  190. package/dist/cjs/calcite-block_2.cjs.entry.js +11 -9
  191. package/dist/cjs/calcite-button.cjs.entry.js +9 -8
  192. package/dist/cjs/calcite-card.cjs.entry.js +7 -6
  193. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -8
  194. package/dist/cjs/calcite-chip.cjs.entry.js +7 -6
  195. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -13
  196. package/dist/cjs/calcite-combobox_3.cjs.entry.js +20 -14
  197. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -16
  198. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +16 -10
  199. package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
  200. package/dist/cjs/calcite-filter.cjs.entry.js +8 -7
  201. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  202. package/dist/cjs/calcite-graph_2.cjs.entry.js +21 -19
  203. package/dist/cjs/calcite-handle.cjs.entry.js +5 -4
  204. package/dist/cjs/calcite-icon.cjs.entry.js +6 -5
  205. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -7
  206. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -13
  207. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
  208. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -13
  209. package/dist/cjs/calcite-input-text.cjs.entry.js +11 -10
  210. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -18
  211. package/dist/cjs/calcite-input.cjs.entry.js +14 -13
  212. package/dist/cjs/calcite-label.cjs.entry.js +6 -5
  213. package/dist/cjs/calcite-link.cjs.entry.js +7 -6
  214. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -8
  215. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-modal.cjs.entry.js +8 -7
  217. package/dist/cjs/calcite-notice.cjs.entry.js +8 -7
  218. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -8
  219. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-panel.cjs.entry.js +10 -9
  221. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -11
  222. package/dist/cjs/calcite-popover_2.cjs.entry.js +17 -10
  223. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  224. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
  225. package/dist/cjs/calcite-radio-button.cjs.entry.js +17 -16
  226. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +19 -18
  227. package/dist/cjs/calcite-rating.cjs.entry.js +17 -16
  228. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -7
  230. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  231. package/dist/cjs/calcite-split-button.cjs.entry.js +9 -4
  232. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -5
  233. package/dist/cjs/calcite-switch.cjs.entry.js +11 -9
  234. package/dist/cjs/calcite-tab_4.cjs.entry.js +63 -21
  235. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  236. package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
  237. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
  238. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -6
  239. package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -10
  240. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -11
  241. package/dist/cjs/calcite.cjs.js +7 -4
  242. package/dist/cjs/{conditionalSlot-74bd80f2.js → conditionalSlot-dc6359e0.js} +3 -3
  243. package/dist/cjs/{debounce-b78e172c.js → debounce-7d685f39.js} +1 -1
  244. package/dist/cjs/{dom-e2fc17b1.js → dom-4efc4df7.js} +4 -18
  245. package/dist/cjs/{filter-1690cfee.js → filter-79a805e9.js} +2 -2
  246. package/dist/cjs/{floating-ui-dcd8a8ad.js → floating-ui-d1c220ca.js} +59 -10
  247. package/dist/cjs/{form-50cfa01d.js → form-3f0e0679.js} +3 -3
  248. package/dist/cjs/{guid-7f6810c7.js → guid-7ce1e44f.js} +1 -1
  249. package/dist/cjs/{index-7117bc67.js → index-e05dafb0.js} +10 -5
  250. package/dist/cjs/index.cjs.js +1 -1
  251. package/dist/cjs/{interactive-2f6429b5.js → interactive-dcbc4725.js} +1 -1
  252. package/dist/cjs/{interfaces-6fd77f95.js → interfaces-8778d49d.js} +1 -1
  253. package/dist/cjs/{key-a88e22b7.js → key-b77dd9e1.js} +1 -1
  254. package/dist/cjs/{label-7bac2db2.js → label-6297b9e1.js} +2 -2
  255. package/dist/cjs/loader.cjs.js +7 -4
  256. package/dist/cjs/{locale-5d369405.js → locale-8baef0cd.js} +2 -2
  257. package/dist/cjs/{math-36ae917d.js → math-e5bb2fa2.js} +1 -1
  258. package/dist/cjs/{observers-68700b83.js → observers-edab9098.js} +1 -1
  259. package/dist/cjs/{openCloseComponent-93e2a9f0.js → openCloseComponent-8b7f305e.js} +1 -1
  260. package/dist/cjs/{resources-15e23e3b.js → resources-01597c65.js} +1 -1
  261. package/dist/cjs/resources-198c6f21.js +24 -0
  262. package/dist/cjs/{resources-a2ec29a3.js → resources-b0217622.js} +3 -3
  263. package/dist/cjs/{resources-754908f1.js → resources-d70c9d00.js} +5 -5
  264. package/dist/cjs/{resources-e656d522.js → resources-ebab5fd6.js} +1 -1
  265. package/dist/cjs/{sortable.esm-0bc0f2ec.js → sortable.esm-7290c83b.js} +1 -1
  266. package/dist/cjs/{utils-7686a8b9.js → utils-ccab61d8.js} +1 -1
  267. package/dist/collection/collection-manifest.json +3 -2
  268. package/dist/collection/components/accordion/accordion.js +2 -2
  269. package/dist/collection/components/accordion/interfaces.js +1 -1
  270. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  271. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  272. package/dist/collection/components/accordion-item/resources.js +1 -1
  273. package/dist/collection/components/action/action.js +1 -1
  274. package/dist/collection/components/action/resources.js +1 -1
  275. package/dist/collection/components/action-bar/action-bar.js +1 -1
  276. package/dist/collection/components/action-bar/resources.js +1 -1
  277. package/dist/collection/components/action-bar/utils.js +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 +1 -1
  281. package/dist/collection/components/action-menu/action-menu.js +45 -32
  282. package/dist/collection/components/action-menu/resources.js +1 -1
  283. package/dist/collection/components/action-pad/action-pad.js +1 -1
  284. package/dist/collection/components/action-pad/resources.js +1 -1
  285. package/dist/collection/components/alert/alert.js +1 -1
  286. package/dist/collection/components/alert/interfaces.js +1 -1
  287. package/dist/collection/components/alert/resources.js +1 -1
  288. package/dist/collection/components/avatar/avatar.js +1 -1
  289. package/dist/collection/components/avatar/utils.js +1 -1
  290. package/dist/collection/components/block/block.js +1 -1
  291. package/dist/collection/components/block/resources.js +1 -1
  292. package/dist/collection/components/block-section/block-section.js +3 -2
  293. package/dist/collection/components/block-section/interfaces.js +1 -1
  294. package/dist/collection/components/block-section/resources.js +1 -1
  295. package/dist/collection/components/button/button.js +1 -1
  296. package/dist/collection/components/button/interfaces.js +1 -1
  297. package/dist/collection/components/button/resources.js +1 -1
  298. package/dist/collection/components/card/card.js +1 -1
  299. package/dist/collection/components/card/resources.js +1 -1
  300. package/dist/collection/components/checkbox/checkbox.js +3 -2
  301. package/dist/collection/components/chip/chip.js +1 -1
  302. package/dist/collection/components/chip/interfaces.js +1 -1
  303. package/dist/collection/components/chip/resources.js +1 -1
  304. package/dist/collection/components/color-picker/color-picker.js +6 -5
  305. package/dist/collection/components/color-picker/interfaces.js +1 -1
  306. package/dist/collection/components/color-picker/resources.js +1 -1
  307. package/dist/collection/components/color-picker/utils.js +1 -1
  308. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +2 -2
  309. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  310. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  311. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  312. package/dist/collection/components/combobox/combobox.js +8 -3
  313. package/dist/collection/components/combobox/interfaces.js +1 -1
  314. package/dist/collection/components/combobox/resources.js +1 -1
  315. package/dist/collection/components/combobox/utils.js +1 -1
  316. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  317. package/dist/collection/components/combobox-item/resources.js +1 -1
  318. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  319. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  320. package/dist/collection/components/date-picker/date-picker.js +1 -1
  321. package/dist/collection/components/date-picker/interfaces.js +1 -1
  322. package/dist/collection/components/date-picker/resources.js +1 -1
  323. package/dist/collection/components/date-picker/utils.js +1 -1
  324. package/dist/collection/components/date-picker-day/date-picker-day.js +4 -3
  325. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  326. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +6 -5
  327. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  328. package/dist/collection/components/dropdown/dropdown.js +9 -4
  329. package/dist/collection/components/dropdown/interfaces.js +1 -1
  330. package/dist/collection/components/dropdown/resources.js +1 -1
  331. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  332. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  333. package/dist/collection/components/dropdown-group/resources.js +1 -1
  334. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  335. package/dist/collection/components/dropdown-item/resources.js +1 -1
  336. package/dist/collection/components/fab/fab.js +1 -1
  337. package/dist/collection/components/fab/resources.js +1 -1
  338. package/dist/collection/components/filter/filter.js +1 -1
  339. package/dist/collection/components/filter/resources.js +1 -1
  340. package/dist/collection/components/flow/flow.js +1 -1
  341. package/dist/collection/components/flow/interfaces.js +1 -1
  342. package/dist/collection/components/flow/resources.js +1 -1
  343. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  344. package/dist/collection/components/functional/Heading.js +1 -1
  345. package/dist/collection/components/graph/graph.js +1 -1
  346. package/dist/collection/components/graph/interfaces.js +1 -1
  347. package/dist/collection/components/graph/util.js +1 -1
  348. package/dist/collection/components/handle/handle.js +1 -1
  349. package/dist/collection/components/handle/resources.js +1 -1
  350. package/dist/collection/components/icon/icon.js +1 -1
  351. package/dist/collection/components/icon/resources.js +1 -1
  352. package/dist/collection/components/icon/utils.js +1 -1
  353. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  354. package/dist/collection/components/inline-editable/resources.js +1 -1
  355. package/dist/collection/components/input/input.js +1 -1
  356. package/dist/collection/components/input/interfaces.js +1 -1
  357. package/dist/collection/components/input/resources.js +1 -1
  358. package/dist/collection/components/input-date-picker/input-date-picker.js +8 -3
  359. package/dist/collection/components/input-date-picker/resources.js +1 -1
  360. package/dist/collection/components/input-message/input-message.js +1 -1
  361. package/dist/collection/components/input-message/interfaces.js +1 -1
  362. package/dist/collection/components/input-number/input-number.js +1 -1
  363. package/dist/collection/components/input-number/interfaces.js +1 -1
  364. package/dist/collection/components/input-number/resources.js +1 -1
  365. package/dist/collection/components/input-text/input-text.js +1 -1
  366. package/dist/collection/components/input-text/resources.js +1 -1
  367. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  368. package/dist/collection/components/interfaces.js +1 -1
  369. package/dist/collection/components/label/label.js +1 -1
  370. package/dist/collection/components/label/resources.js +1 -1
  371. package/dist/collection/components/link/link.js +1 -1
  372. package/dist/collection/components/list/list.js +1 -1
  373. package/dist/collection/components/list/resources.js +1 -1
  374. package/dist/collection/components/list-item/list-item.js +1 -1
  375. package/dist/collection/components/list-item/resources.js +1 -1
  376. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  377. package/dist/collection/components/list-item-group/resources.js +1 -1
  378. package/dist/collection/components/loader/loader.js +1 -1
  379. package/dist/collection/components/modal/interfaces.js +1 -1
  380. package/dist/collection/components/modal/modal.js +1 -1
  381. package/dist/collection/components/modal/resources.js +1 -1
  382. package/dist/collection/components/notice/notice.js +1 -1
  383. package/dist/collection/components/notice/resources.js +1 -1
  384. package/dist/collection/components/option/option.js +1 -1
  385. package/dist/collection/components/option-group/option-group.js +1 -1
  386. package/dist/collection/components/pagination/pagination.js +1 -1
  387. package/dist/collection/components/pagination/resources.js +1 -1
  388. package/dist/collection/components/panel/panel.js +1 -1
  389. package/dist/collection/components/panel/resources.js +1 -1
  390. package/dist/collection/components/pick-list/pick-list.js +1 -1
  391. package/dist/collection/components/pick-list/resources.js +1 -1
  392. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  393. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  394. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  395. package/dist/collection/components/pick-list-group/resources.js +1 -1
  396. package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
  397. package/dist/collection/components/pick-list-item/resources.js +1 -1
  398. package/dist/collection/components/popover/PopoverManager.js +3 -2
  399. package/dist/collection/components/popover/popover.js +8 -3
  400. package/dist/collection/components/popover/resources.js +1 -1
  401. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  402. package/dist/collection/components/progress/progress.js +1 -1
  403. package/dist/collection/components/radio-button/radio-button.js +20 -20
  404. package/dist/collection/components/radio-button/resources.js +1 -1
  405. package/dist/collection/components/radio-button-group/radio-button-group.js +13 -13
  406. package/dist/collection/components/radio-group/interfaces.js +1 -1
  407. package/dist/collection/components/radio-group/radio-group.js +19 -19
  408. package/dist/collection/components/radio-group-item/radio-group-item.js +9 -9
  409. package/dist/collection/components/radio-group-item/resources.js +1 -1
  410. package/dist/collection/components/rating/rating.css +1 -1
  411. package/dist/collection/components/rating/rating.js +21 -21
  412. package/dist/collection/components/rating/resources.js +1 -1
  413. package/dist/collection/components/scrim/resources.js +1 -1
  414. package/dist/collection/components/scrim/scrim.js +1 -1
  415. package/dist/collection/components/select/resources.js +1 -1
  416. package/dist/collection/components/select/select.js +1 -1
  417. package/dist/collection/components/shell/resources.js +1 -1
  418. package/dist/collection/components/shell/shell.js +1 -1
  419. package/dist/collection/components/shell-center-row/resources.js +1 -1
  420. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  421. package/dist/collection/components/shell-panel/resources.js +1 -1
  422. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  423. package/dist/collection/components/slider/slider.js +4 -3
  424. package/dist/collection/components/sortable-list/resources.js +1 -1
  425. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  426. package/dist/collection/components/split-button/resources.js +1 -1
  427. package/dist/collection/components/split-button/split-button.js +8 -3
  428. package/dist/collection/components/stepper/interfaces.js +1 -1
  429. package/dist/collection/components/stepper/stepper.js +1 -1
  430. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  431. package/dist/collection/components/switch/switch.js +4 -3
  432. package/dist/collection/components/tab/interfaces.js +1 -1
  433. package/dist/collection/components/tab/tab.css +2 -2
  434. package/dist/collection/components/tab/tab.js +51 -6
  435. package/dist/collection/components/tab-nav/tab-nav.css +4 -0
  436. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  437. package/dist/collection/components/tab-title/tab-title.css +8 -8
  438. package/dist/collection/components/tab-title/tab-title.js +54 -11
  439. package/dist/collection/components/tabs/interfaces.js +1 -1
  440. package/dist/collection/components/tabs/resources.js +1 -1
  441. package/dist/collection/components/tabs/tabs.js +1 -1
  442. package/dist/collection/components/tile/resources.js +1 -1
  443. package/dist/collection/components/tile/tile.js +1 -1
  444. package/dist/collection/components/tile-select/interfaces.js +1 -1
  445. package/dist/collection/components/tile-select/resources.js +1 -1
  446. package/dist/collection/components/tile-select/tile-select.js +1 -1
  447. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  448. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  449. package/dist/collection/components/time-picker/resources.js +1 -1
  450. package/dist/collection/components/time-picker/time-picker.js +6 -10
  451. package/dist/collection/components/tip/resources.js +1 -1
  452. package/dist/collection/components/tip/tip.js +1 -1
  453. package/dist/collection/components/tip-group/tip-group.js +1 -1
  454. package/dist/collection/components/tip-manager/resources.js +1 -1
  455. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  456. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  457. package/dist/collection/components/tooltip/resources.js +1 -1
  458. package/dist/collection/components/tooltip/tooltip.js +8 -3
  459. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  460. package/dist/collection/components/tree/interfaces.js +1 -1
  461. package/dist/collection/components/tree/tree.js +1 -1
  462. package/dist/collection/components/tree-item/interfaces.js +1 -1
  463. package/dist/collection/components/tree-item/resources.js +1 -1
  464. package/dist/collection/components/tree-item/tree-item.js +1 -1
  465. package/dist/collection/components/value-list/interfaces.js +1 -1
  466. package/dist/collection/components/value-list/resources.js +1 -1
  467. package/dist/collection/components/value-list/utils.js +1 -1
  468. package/dist/collection/components/value-list/value-list.js +1 -1
  469. package/dist/collection/components/value-list-item/resources.js +1 -1
  470. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  471. package/dist/collection/utils/array.js +1 -1
  472. package/dist/collection/utils/conditionalSlot.js +1 -1
  473. package/dist/collection/utils/date.js +1 -1
  474. package/dist/collection/utils/dom.js +1 -1
  475. package/dist/collection/utils/filter.js +1 -1
  476. package/dist/collection/utils/floating-ui.js +1 -1
  477. package/dist/collection/utils/form.js +1 -1
  478. package/dist/collection/utils/globalAttributes.js +1 -1
  479. package/dist/collection/utils/globalScript.js +17 -0
  480. package/dist/collection/utils/guid.js +1 -1
  481. package/dist/collection/utils/interactive.js +1 -1
  482. package/dist/collection/utils/key.js +1 -1
  483. package/dist/collection/utils/label.js +1 -1
  484. package/dist/collection/utils/locale.js +1 -1
  485. package/dist/collection/utils/math.js +1 -1
  486. package/dist/collection/utils/number.js +1 -1
  487. package/dist/collection/utils/observers.js +1 -1
  488. package/dist/collection/utils/openCloseComponent.js +1 -1
  489. package/dist/collection/utils/resources.js +3 -3
  490. package/dist/collection/utils/theme.js +31 -0
  491. package/dist/collection/utils/time.js +1 -1
  492. package/dist/components/ExpandToggle.js +2 -2
  493. package/dist/components/Heading.js +1 -1
  494. package/dist/components/action-group.js +2 -2
  495. package/dist/components/action-menu.js +44 -31
  496. package/dist/components/action.js +1 -1
  497. package/dist/components/array.js +1 -1
  498. package/dist/components/button.js +3 -3
  499. package/dist/components/calcite-accordion-item.js +2 -2
  500. package/dist/components/calcite-accordion.js +2 -2
  501. package/dist/components/calcite-action-bar.js +2 -2
  502. package/dist/components/calcite-action-group.js +1 -1
  503. package/dist/components/calcite-action-menu.js +1 -1
  504. package/dist/components/calcite-action-pad.js +2 -2
  505. package/dist/components/calcite-action.js +1 -1
  506. package/dist/components/calcite-alert.js +2 -2
  507. package/dist/components/calcite-avatar.js +2 -2
  508. package/dist/components/calcite-block-section.js +4 -3
  509. package/dist/components/calcite-block.js +2 -2
  510. package/dist/components/calcite-button.js +1 -1
  511. package/dist/components/calcite-card.js +3 -3
  512. package/dist/components/calcite-checkbox.js +1 -1
  513. package/dist/components/calcite-chip.js +1 -1
  514. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  515. package/dist/components/calcite-color-picker-swatch.js +1 -1
  516. package/dist/components/calcite-color-picker.js +7 -6
  517. package/dist/components/calcite-combobox-item-group.js +1 -1
  518. package/dist/components/calcite-combobox-item.js +2 -2
  519. package/dist/components/calcite-combobox.js +10 -5
  520. package/dist/components/calcite-date-picker-day.js +1 -1
  521. package/dist/components/calcite-date-picker-month-header.js +1 -1
  522. package/dist/components/calcite-date-picker-month.js +1 -1
  523. package/dist/components/calcite-date-picker.js +1 -1
  524. package/dist/components/calcite-dropdown-group.js +1 -1
  525. package/dist/components/calcite-dropdown-item.js +1 -1
  526. package/dist/components/calcite-dropdown.js +1 -1
  527. package/dist/components/calcite-fab.js +1 -1
  528. package/dist/components/calcite-filter.js +2 -2
  529. package/dist/components/calcite-flow.js +1 -1
  530. package/dist/components/calcite-graph.js +1 -1
  531. package/dist/components/calcite-handle.js +1 -1
  532. package/dist/components/calcite-icon.js +1 -1
  533. package/dist/components/calcite-inline-editable.js +3 -3
  534. package/dist/components/calcite-input-date-picker.js +10 -5
  535. package/dist/components/calcite-input-message.js +1 -1
  536. package/dist/components/calcite-input-number.js +3 -3
  537. package/dist/components/calcite-input-text.js +3 -3
  538. package/dist/components/calcite-input-time-picker.js +2 -2
  539. package/dist/components/calcite-input.js +1 -1
  540. package/dist/components/calcite-label.js +2 -2
  541. package/dist/components/calcite-link.js +1 -1
  542. package/dist/components/calcite-list-item-group.js +1 -1
  543. package/dist/components/calcite-list-item.js +2 -2
  544. package/dist/components/calcite-list.js +1 -1
  545. package/dist/components/calcite-loader.js +1 -1
  546. package/dist/components/calcite-modal.js +2 -2
  547. package/dist/components/calcite-notice.js +2 -2
  548. package/dist/components/calcite-option-group.js +1 -1
  549. package/dist/components/calcite-option.js +1 -1
  550. package/dist/components/calcite-pagination.js +1 -1
  551. package/dist/components/calcite-panel.js +2 -2
  552. package/dist/components/calcite-pick-list-group.js +2 -2
  553. package/dist/components/calcite-pick-list-item.js +1 -1
  554. package/dist/components/calcite-pick-list.js +2 -2
  555. package/dist/components/calcite-popover-manager.js +1 -1
  556. package/dist/components/calcite-popover.js +1 -1
  557. package/dist/components/calcite-progress.js +1 -1
  558. package/dist/components/calcite-radio-button-group.js +6 -6
  559. package/dist/components/calcite-radio-button.js +11 -11
  560. package/dist/components/calcite-radio-group-item.js +4 -4
  561. package/dist/components/calcite-radio-group.js +11 -11
  562. package/dist/components/calcite-rating.js +10 -10
  563. package/dist/components/calcite-scrim.js +1 -1
  564. package/dist/components/calcite-select.js +2 -2
  565. package/dist/components/calcite-shell-center-row.js +2 -2
  566. package/dist/components/calcite-shell-panel.js +2 -2
  567. package/dist/components/calcite-shell.js +2 -2
  568. package/dist/components/calcite-slider.js +5 -4
  569. package/dist/components/calcite-sortable-list.js +1 -1
  570. package/dist/components/calcite-split-button.js +7 -2
  571. package/dist/components/calcite-stepper-item.js +1 -1
  572. package/dist/components/calcite-stepper.js +1 -1
  573. package/dist/components/calcite-switch.js +1 -1
  574. package/dist/components/calcite-tab-nav.js +1 -1
  575. package/dist/components/calcite-tab-title.js +1 -1
  576. package/dist/components/calcite-tab.js +1 -1
  577. package/dist/components/calcite-tabs.js +1 -1
  578. package/dist/components/calcite-tile-select-group.js +1 -1
  579. package/dist/components/calcite-tile-select.js +1 -1
  580. package/dist/components/calcite-tile.js +1 -1
  581. package/dist/components/calcite-time-picker.js +1 -1
  582. package/dist/components/calcite-tip-group.js +1 -1
  583. package/dist/components/calcite-tip-manager.js +2 -2
  584. package/dist/components/calcite-tip.js +2 -2
  585. package/dist/components/calcite-tooltip-manager.js +1 -1
  586. package/dist/components/calcite-tooltip.js +8 -3
  587. package/dist/components/calcite-tree-item.js +2 -2
  588. package/dist/components/calcite-tree.js +1 -1
  589. package/dist/components/calcite-value-list-item.js +2 -2
  590. package/dist/components/calcite-value-list.js +2 -2
  591. package/dist/components/checkbox.js +4 -3
  592. package/dist/components/chip.js +2 -2
  593. package/dist/components/color-picker-hex-input.js +2 -2
  594. package/dist/components/color-picker-swatch.js +2 -2
  595. package/dist/components/conditionalSlot.js +1 -1
  596. package/dist/components/date-picker-day.js +5 -4
  597. package/dist/components/date-picker-month-header.js +7 -6
  598. package/dist/components/date-picker-month.js +1 -1
  599. package/dist/components/date-picker.js +1 -1
  600. package/dist/components/date.js +2 -2
  601. package/dist/components/debounce.js +1 -1
  602. package/dist/components/dom.js +2 -2
  603. package/dist/components/dropdown.js +9 -4
  604. package/dist/components/filter.js +168 -741
  605. package/dist/components/filter2.js +741 -168
  606. package/dist/components/floating-ui.js +60 -11
  607. package/dist/components/form.js +2 -2
  608. package/dist/components/graph.js +1 -1
  609. package/dist/components/guid.js +1 -1
  610. package/dist/components/handle.js +1 -1
  611. package/dist/components/icon.js +2 -2
  612. package/dist/components/index.d.ts +92 -5
  613. package/dist/components/index.js +136 -1
  614. package/dist/components/input.js +3 -3
  615. package/dist/components/interactive.js +1 -1
  616. package/dist/components/interfaces.js +1 -1
  617. package/dist/components/interfaces2.js +1 -1
  618. package/dist/components/key.js +1 -1
  619. package/dist/components/label.js +87 -112
  620. package/dist/components/label2.js +112 -87
  621. package/dist/components/link.js +2 -2
  622. package/dist/components/loader.js +1 -1
  623. package/dist/components/locale.js +1 -1
  624. package/dist/components/math.js +1 -1
  625. package/dist/components/observers.js +1 -1
  626. package/dist/components/openCloseComponent.js +1 -1
  627. package/dist/components/pick-list-item.js +2 -2
  628. package/dist/components/popover.js +10 -4
  629. package/dist/components/progress.js +1 -1
  630. package/dist/components/resources.js +1 -1
  631. package/dist/components/resources2.js +1 -1
  632. package/dist/components/resources3.js +1 -1
  633. package/dist/components/scrim.js +1 -1
  634. package/dist/components/shared-list-render.js +2 -2
  635. package/dist/components/sortable.esm.js +1 -1
  636. package/dist/components/switch.js +5 -4
  637. package/dist/components/tab-nav.js +3 -3
  638. package/dist/components/tab-title.js +33 -12
  639. package/dist/components/tab.js +27 -5
  640. package/dist/components/tabs.js +1 -1
  641. package/dist/components/tile.js +2 -2
  642. package/dist/components/time-picker.js +6 -10
  643. package/dist/components/utils.js +1 -1
  644. package/dist/components/utils2.js +1 -1
  645. package/dist/custom-elements/index.js +306 -136
  646. package/dist/esm/{ExpandToggle-69ec09b9.js → ExpandToggle-f12a7145.js} +5 -5
  647. package/dist/esm/{Heading-1227633c.js → Heading-ca8012f3.js} +2 -2
  648. package/dist/esm/app-globals-0dea7c34.js +48 -0
  649. package/dist/esm/{array-513cf8c9.js → array-8f37a85a.js} +1 -1
  650. package/dist/esm/calcite-accordion_2.entry.js +8 -7
  651. package/dist/esm/calcite-action-bar.entry.js +11 -10
  652. package/dist/esm/calcite-action-group.entry.js +9 -8
  653. package/dist/esm/calcite-action-menu.entry.js +48 -35
  654. package/dist/esm/calcite-action-pad.entry.js +10 -9
  655. package/dist/esm/calcite-action.entry.js +7 -6
  656. package/dist/esm/calcite-alert.entry.js +7 -6
  657. package/dist/esm/calcite-avatar.entry.js +6 -5
  658. package/dist/esm/calcite-block_2.entry.js +11 -9
  659. package/dist/esm/calcite-button.entry.js +9 -8
  660. package/dist/esm/calcite-card.entry.js +7 -6
  661. package/dist/esm/calcite-checkbox.entry.js +10 -8
  662. package/dist/esm/calcite-chip.entry.js +7 -6
  663. package/dist/esm/calcite-color-picker_3.entry.js +15 -13
  664. package/dist/esm/calcite-combobox_3.entry.js +20 -14
  665. package/dist/esm/calcite-date-picker_4.entry.js +16 -15
  666. package/dist/esm/calcite-dropdown_3.entry.js +16 -10
  667. package/dist/esm/calcite-fab.entry.js +6 -5
  668. package/dist/esm/calcite-filter.entry.js +8 -7
  669. package/dist/esm/calcite-flow.entry.js +3 -3
  670. package/dist/esm/calcite-graph_2.entry.js +13 -11
  671. package/dist/esm/calcite-handle.entry.js +5 -4
  672. package/dist/esm/calcite-icon.entry.js +6 -5
  673. package/dist/esm/calcite-inline-editable.entry.js +8 -7
  674. package/dist/esm/calcite-input-date-picker.entry.js +19 -13
  675. package/dist/esm/calcite-input-message.entry.js +5 -4
  676. package/dist/esm/calcite-input-number.entry.js +12 -11
  677. package/dist/esm/calcite-input-text.entry.js +9 -8
  678. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -18
  679. package/dist/esm/calcite-input.entry.js +12 -11
  680. package/dist/esm/calcite-label.entry.js +6 -5
  681. package/dist/esm/calcite-link.entry.js +6 -5
  682. package/dist/esm/calcite-list_3.entry.js +9 -8
  683. package/dist/esm/calcite-loader.entry.js +3 -3
  684. package/dist/esm/calcite-modal.entry.js +8 -7
  685. package/dist/esm/calcite-notice.entry.js +8 -7
  686. package/dist/esm/calcite-option_3.entry.js +9 -8
  687. package/dist/esm/calcite-pagination.entry.js +5 -5
  688. package/dist/esm/calcite-panel.entry.js +10 -9
  689. package/dist/esm/calcite-pick-list_3.entry.js +12 -11
  690. package/dist/esm/calcite-popover_2.entry.js +17 -10
  691. package/dist/esm/calcite-progress.entry.js +2 -2
  692. package/dist/esm/calcite-radio-button-group.entry.js +8 -8
  693. package/dist/esm/calcite-radio-button.entry.js +17 -16
  694. package/dist/esm/calcite-radio-group_2.entry.js +19 -18
  695. package/dist/esm/calcite-rating.entry.js +17 -16
  696. package/dist/esm/calcite-scrim.entry.js +2 -2
  697. package/dist/esm/calcite-shell_3.entry.js +8 -7
  698. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  699. package/dist/esm/calcite-split-button.entry.js +9 -4
  700. package/dist/esm/calcite-stepper_2.entry.js +6 -5
  701. package/dist/esm/calcite-switch.entry.js +11 -9
  702. package/dist/esm/calcite-tab_4.entry.js +63 -21
  703. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  704. package/dist/esm/calcite-tile.entry.js +8 -7
  705. package/dist/esm/calcite-tip_3.entry.js +8 -7
  706. package/dist/esm/calcite-tooltip_2.entry.js +12 -6
  707. package/dist/esm/calcite-tree_2.entry.js +7 -6
  708. package/dist/esm/calcite-value-list_2.entry.js +12 -11
  709. package/dist/esm/calcite.js +7 -4
  710. package/dist/esm/{conditionalSlot-7cbccbec.js → conditionalSlot-a4c96c8d.js} +3 -3
  711. package/dist/esm/{debounce-db1af9ca.js → debounce-841521b1.js} +1 -1
  712. package/dist/esm/{dom-e671177c.js → dom-42491565.js} +4 -16
  713. package/dist/esm/{filter-345157e1.js → filter-099dc292.js} +2 -2
  714. package/dist/esm/{floating-ui-93554377.js → floating-ui-f2ddd7c3.js} +59 -10
  715. package/dist/esm/{form-71cefaff.js → form-ad1965a4.js} +3 -3
  716. package/dist/esm/{guid-8690cee7.js → guid-73322791.js} +1 -1
  717. package/dist/esm/{index-30e59418.js → index-06221bfb.js} +10 -5
  718. package/dist/esm/index.js +1 -1
  719. package/dist/esm/{interactive-80c1f202.js → interactive-ff1f7f87.js} +1 -1
  720. package/dist/esm/{interfaces-1256e256.js → interfaces-e7ff50ef.js} +1 -1
  721. package/dist/esm/{key-c2927cc5.js → key-22a0f143.js} +1 -1
  722. package/dist/esm/{label-a6c38d9a.js → label-1b193aff.js} +2 -2
  723. package/dist/esm/loader.js +7 -4
  724. package/dist/esm/{locale-3445a4ed.js → locale-88c03f90.js} +2 -2
  725. package/dist/esm/{math-5ab9a082.js → math-e44d4881.js} +1 -1
  726. package/dist/esm/{observers-47de4039.js → observers-9d4ab86b.js} +1 -1
  727. package/dist/esm/{openCloseComponent-e51af04e.js → openCloseComponent-56a35411.js} +1 -1
  728. package/dist/esm/{resources-243c15db.js → resources-414ad2dc.js} +5 -5
  729. package/dist/esm/{resources-1d2cd423.js → resources-4fe95540.js} +1 -1
  730. package/dist/esm/resources-8fc2f7f1.js +19 -0
  731. package/dist/esm/{resources-7ae7fcca.js → resources-ea033965.js} +1 -1
  732. package/dist/esm/{resources-e6150606.js → resources-f6b51a5c.js} +3 -3
  733. package/dist/esm/{sortable.esm-1a1f9c05.js → sortable.esm-3ef91fcd.js} +1 -1
  734. package/dist/esm/{utils-1f54b67d.js → utils-c26a2cd8.js} +1 -1
  735. package/dist/esm-es5/{ExpandToggle-69ec09b9.js → ExpandToggle-f12a7145.js} +2 -2
  736. package/dist/esm-es5/Heading-ca8012f3.js +6 -0
  737. package/dist/esm-es5/app-globals-0dea7c34.js +6 -0
  738. package/dist/esm-es5/{array-513cf8c9.js → array-8f37a85a.js} +1 -1
  739. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  740. package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
  741. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  742. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  743. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  744. package/dist/esm-es5/calcite-action.entry.js +2 -2
  745. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  746. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  747. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  748. package/dist/esm-es5/calcite-button.entry.js +2 -2
  749. package/dist/esm-es5/calcite-card.entry.js +2 -2
  750. package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
  751. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  752. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  753. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
  754. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  755. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  756. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  757. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  758. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  759. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  760. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  761. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  762. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  763. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  764. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  765. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  766. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  767. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  768. package/dist/esm-es5/calcite-input.entry.js +2 -2
  769. package/dist/esm-es5/calcite-label.entry.js +2 -2
  770. package/dist/esm-es5/calcite-link.entry.js +3 -3
  771. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  772. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  773. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  774. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  775. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  776. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  777. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  778. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  779. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  780. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  781. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  782. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  783. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  784. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  785. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  786. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  787. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  788. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  789. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  790. package/dist/esm-es5/calcite-switch.entry.js +3 -3
  791. package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
  792. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  793. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  794. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  795. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  796. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  797. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  798. package/dist/esm-es5/calcite.js +2 -2
  799. package/dist/esm-es5/{conditionalSlot-7cbccbec.js → conditionalSlot-a4c96c8d.js} +2 -2
  800. package/dist/esm-es5/{debounce-db1af9ca.js → debounce-841521b1.js} +1 -1
  801. package/dist/esm-es5/dom-42491565.js +6 -0
  802. package/dist/esm-es5/{filter-345157e1.js → filter-099dc292.js} +2 -2
  803. package/dist/esm-es5/floating-ui-f2ddd7c3.js +6 -0
  804. package/dist/esm-es5/{form-71cefaff.js → form-ad1965a4.js} +2 -2
  805. package/dist/esm-es5/{guid-8690cee7.js → guid-73322791.js} +1 -1
  806. package/dist/esm-es5/index-06221bfb.js +7 -0
  807. package/dist/esm-es5/index.js +1 -1
  808. package/dist/esm-es5/{interactive-80c1f202.js → interactive-ff1f7f87.js} +1 -1
  809. package/dist/esm-es5/{interfaces-1256e256.js → interfaces-e7ff50ef.js} +1 -1
  810. package/dist/esm-es5/{key-c2927cc5.js → key-22a0f143.js} +1 -1
  811. package/dist/esm-es5/{label-a6c38d9a.js → label-1b193aff.js} +2 -2
  812. package/dist/esm-es5/loader.js +2 -2
  813. package/dist/esm-es5/{locale-3445a4ed.js → locale-88c03f90.js} +2 -2
  814. package/dist/esm-es5/{math-5ab9a082.js → math-e44d4881.js} +1 -1
  815. package/dist/esm-es5/{observers-47de4039.js → observers-9d4ab86b.js} +1 -1
  816. package/dist/esm-es5/{openCloseComponent-e51af04e.js → openCloseComponent-56a35411.js} +1 -1
  817. package/dist/esm-es5/{resources-243c15db.js → resources-414ad2dc.js} +2 -2
  818. package/dist/esm-es5/{resources-1d2cd423.js → resources-4fe95540.js} +1 -1
  819. package/dist/esm-es5/resources-8fc2f7f1.js +6 -0
  820. package/dist/esm-es5/{resources-7ae7fcca.js → resources-ea033965.js} +1 -1
  821. package/dist/esm-es5/{resources-e6150606.js → resources-f6b51a5c.js} +2 -2
  822. package/dist/esm-es5/{sortable.esm-1a1f9c05.js → sortable.esm-3ef91fcd.js} +1 -1
  823. package/dist/esm-es5/{utils-1f54b67d.js → utils-c26a2cd8.js} +1 -1
  824. package/dist/extras/docs-json.json +97 -51
  825. package/dist/loader/cdn.js +1 -1
  826. package/dist/loader/index.cjs.js +1 -1
  827. package/dist/loader/index.es2017.js +1 -1
  828. package/dist/loader/index.js +1 -1
  829. package/dist/types/components/action-menu/action-menu.d.ts +10 -7
  830. package/dist/types/components/checkbox/checkbox.d.ts +2 -2
  831. package/dist/types/components/combobox/combobox.d.ts +6 -1
  832. package/dist/types/components/dropdown/dropdown.d.ts +6 -1
  833. package/dist/types/components/input-date-picker/input-date-picker.d.ts +6 -1
  834. package/dist/types/components/pick-list-item/pick-list-item.d.ts +1 -1
  835. package/dist/types/components/popover/popover.d.ts +6 -1
  836. package/dist/types/components/radio-button/radio-button.d.ts +13 -13
  837. package/dist/types/components/radio-button-group/radio-button-group.d.ts +7 -7
  838. package/dist/types/components/radio-group/radio-group.d.ts +10 -10
  839. package/dist/types/components/radio-group-item/radio-group-item.d.ts +5 -5
  840. package/dist/types/components/rating/rating.d.ts +12 -12
  841. package/dist/types/components/split-button/split-button.d.ts +6 -1
  842. package/dist/types/components/switch/switch.d.ts +2 -2
  843. package/dist/types/components/tab/tab.d.ts +8 -0
  844. package/dist/types/components/tab-title/tab-title.d.ts +11 -2
  845. package/dist/types/components/tooltip/tooltip.d.ts +6 -1
  846. package/dist/types/components.d.ts +116 -96
  847. package/dist/types/utils/form.d.ts +1 -1
  848. package/dist/types/utils/globalScript.d.ts +6 -0
  849. package/dist/types/utils/resources.d.ts +2 -0
  850. package/dist/types/utils/theme.d.ts +4 -0
  851. package/hydrate/index.js +486 -141
  852. package/package.json +17 -17
  853. package/dist/calcite/p-0005ef75.system.entry.js +0 -6
  854. package/dist/calcite/p-0660f9e4.system.entry.js +0 -6
  855. package/dist/calcite/p-08f047c5.entry.js +0 -6
  856. package/dist/calcite/p-0a4daa25.entry.js +0 -6
  857. package/dist/calcite/p-0d145563.entry.js +0 -6
  858. package/dist/calcite/p-0e84a8f0.system.js +0 -6
  859. package/dist/calcite/p-1214606c.entry.js +0 -6
  860. package/dist/calcite/p-147af54e.system.js +0 -6
  861. package/dist/calcite/p-15c02b4d.entry.js +0 -6
  862. package/dist/calcite/p-1a7614ea.entry.js +0 -6
  863. package/dist/calcite/p-1c2f82cb.system.entry.js +0 -6
  864. package/dist/calcite/p-1c8efb7e.system.entry.js +0 -6
  865. package/dist/calcite/p-1d3dd7f9.entry.js +0 -6
  866. package/dist/calcite/p-1dc4a191.entry.js +0 -6
  867. package/dist/calcite/p-1e5edb71.system.entry.js +0 -6
  868. package/dist/calcite/p-21ed952b.entry.js +0 -6
  869. package/dist/calcite/p-26bcb5b6.entry.js +0 -6
  870. package/dist/calcite/p-29e02d4a.system.entry.js +0 -6
  871. package/dist/calcite/p-2cf629e7.entry.js +0 -6
  872. package/dist/calcite/p-2d32c815.entry.js +0 -6
  873. package/dist/calcite/p-31c79261.js +0 -6
  874. package/dist/calcite/p-32bb6f34.system.entry.js +0 -6
  875. package/dist/calcite/p-34aa9639.entry.js +0 -6
  876. package/dist/calcite/p-380c33a8.system.entry.js +0 -6
  877. package/dist/calcite/p-3a3461b7.system.entry.js +0 -6
  878. package/dist/calcite/p-3cde140e.system.entry.js +0 -6
  879. package/dist/calcite/p-3eedb285.entry.js +0 -6
  880. package/dist/calcite/p-407b5ccd.entry.js +0 -6
  881. package/dist/calcite/p-413ac707.system.entry.js +0 -6
  882. package/dist/calcite/p-417a4876.entry.js +0 -6
  883. package/dist/calcite/p-41a8a85b.system.js +0 -7
  884. package/dist/calcite/p-432f25f1.system.entry.js +0 -6
  885. package/dist/calcite/p-43c45bf0.system.entry.js +0 -6
  886. package/dist/calcite/p-44a82107.system.entry.js +0 -6
  887. package/dist/calcite/p-44f5c854.system.entry.js +0 -6
  888. package/dist/calcite/p-48f46ccb.system.entry.js +0 -6
  889. package/dist/calcite/p-4a7c82fa.system.entry.js +0 -6
  890. package/dist/calcite/p-4d0581c7.system.entry.js +0 -6
  891. package/dist/calcite/p-4d23859c.entry.js +0 -6
  892. package/dist/calcite/p-530e2e09.entry.js +0 -6
  893. package/dist/calcite/p-5574819f.entry.js +0 -6
  894. package/dist/calcite/p-5e64560b.system.entry.js +0 -6
  895. package/dist/calcite/p-5e827954.system.entry.js +0 -6
  896. package/dist/calcite/p-6036d3be.entry.js +0 -6
  897. package/dist/calcite/p-60b9ce9d.entry.js +0 -6
  898. package/dist/calcite/p-612a9ce4.entry.js +0 -6
  899. package/dist/calcite/p-62a71d1c.entry.js +0 -6
  900. package/dist/calcite/p-64c25d69.system.entry.js +0 -6
  901. package/dist/calcite/p-6b4f2222.entry.js +0 -6
  902. package/dist/calcite/p-71b75c5c.entry.js +0 -6
  903. package/dist/calcite/p-79cf0dfb.system.entry.js +0 -6
  904. package/dist/calcite/p-7b666121.entry.js +0 -6
  905. package/dist/calcite/p-7d8724d2.entry.js +0 -6
  906. package/dist/calcite/p-7ee36106.entry.js +0 -6
  907. package/dist/calcite/p-7f065745.system.entry.js +0 -6
  908. package/dist/calcite/p-7fdc1018.js +0 -6
  909. package/dist/calcite/p-80111cee.system.entry.js +0 -6
  910. package/dist/calcite/p-86549598.system.entry.js +0 -6
  911. package/dist/calcite/p-88c3018d.system.entry.js +0 -6
  912. package/dist/calcite/p-8bc2165c.js +0 -6
  913. package/dist/calcite/p-8e5c70dd.system.entry.js +0 -6
  914. package/dist/calcite/p-9028a34c.system.entry.js +0 -6
  915. package/dist/calcite/p-908a4296.system.entry.js +0 -6
  916. package/dist/calcite/p-9090481c.entry.js +0 -6
  917. package/dist/calcite/p-90ce2019.entry.js +0 -6
  918. package/dist/calcite/p-999ee0c9.entry.js +0 -6
  919. package/dist/calcite/p-9b6f530b.system.entry.js +0 -6
  920. package/dist/calcite/p-a0c2ee47.entry.js +0 -6
  921. package/dist/calcite/p-a500313b.system.entry.js +0 -6
  922. package/dist/calcite/p-a51a91ac.entry.js +0 -6
  923. package/dist/calcite/p-a5300168.system.entry.js +0 -6
  924. package/dist/calcite/p-a608bf11.system.entry.js +0 -6
  925. package/dist/calcite/p-a65fc836.entry.js +0 -6
  926. package/dist/calcite/p-a75b930d.system.entry.js +0 -6
  927. package/dist/calcite/p-a9a7c01e.system.entry.js +0 -6
  928. package/dist/calcite/p-aa187882.system.entry.js +0 -6
  929. package/dist/calcite/p-ac51c9e7.entry.js +0 -6
  930. package/dist/calcite/p-acdf2913.system.entry.js +0 -6
  931. package/dist/calcite/p-af65ef38.system.entry.js +0 -6
  932. package/dist/calcite/p-bb0c30b9.entry.js +0 -6
  933. package/dist/calcite/p-bbb23458.entry.js +0 -6
  934. package/dist/calcite/p-c4c40ef4.system.entry.js +0 -6
  935. package/dist/calcite/p-c62b5a52.entry.js +0 -6
  936. package/dist/calcite/p-c6541f7b.system.entry.js +0 -6
  937. package/dist/calcite/p-c9d5f9f2.system.entry.js +0 -6
  938. package/dist/calcite/p-cc3377d6.entry.js +0 -6
  939. package/dist/calcite/p-cf295ecd.system.entry.js +0 -6
  940. package/dist/calcite/p-d1b5604c.system.entry.js +0 -6
  941. package/dist/calcite/p-d1fdb055.entry.js +0 -6
  942. package/dist/calcite/p-d32b1978.entry.js +0 -6
  943. package/dist/calcite/p-d35d0c1e.entry.js +0 -6
  944. package/dist/calcite/p-d368e9f4.entry.js +0 -6
  945. package/dist/calcite/p-dc8322e2.system.entry.js +0 -6
  946. package/dist/calcite/p-dd748fa3.system.entry.js +0 -6
  947. package/dist/calcite/p-df2b5d7b.system.entry.js +0 -6
  948. package/dist/calcite/p-e4c491ee.system.js +0 -6
  949. package/dist/calcite/p-e5d09c13.system.entry.js +0 -6
  950. package/dist/calcite/p-eb6a9bc3.entry.js +0 -6
  951. package/dist/calcite/p-ec9b83a4.entry.js +0 -6
  952. package/dist/calcite/p-f0035ea2.system.js +0 -6
  953. package/dist/calcite/p-f7caf374.entry.js +0 -6
  954. package/dist/calcite/p-f90993c0.system.entry.js +0 -6
  955. package/dist/calcite/p-f919e1cc.system.entry.js +0 -6
  956. package/dist/calcite/p-f932b94d.entry.js +0 -6
  957. package/dist/calcite/p-f9e2e124.js +0 -6
  958. package/dist/calcite/p-fbd55f14.entry.js +0 -6
  959. package/dist/calcite/p-fc403671.entry.js +0 -6
  960. package/dist/calcite/p-fd5e3207.js +0 -7
  961. package/dist/esm-es5/Heading-1227633c.js +0 -6
  962. package/dist/esm-es5/dom-e671177c.js +0 -6
  963. package/dist/esm-es5/floating-ui-93554377.js +0 -6
  964. package/dist/esm-es5/index-30e59418.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.554
4
+ * v1.0.0-next.557
5
5
  */
6
- import{r as registerInstance,h,F as Fragment,g as getElement,c as createEvent,f as forceUpdate}from"./index-30e59418.js";import{g as getSlotted,a as getElementDir}from"./dom-e671177c.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-7cbccbec.js";import{c as clamp}from"./math-5ab9a082.js";import"./guid-8690cee7.js";import"./observers-47de4039.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};
6
+ import{r as registerInstance,h,F as Fragment,g as getElement,c as createEvent,f as forceUpdate}from"./index-06221bfb.js";import{g as getSlotted,a as getElementDir}from"./dom-42491565.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-a4c96c8d.js";import{c as clamp}from"./math-e44d4881.js";import"./resources-8fc2f7f1.js";import"./guid-73322791.js";import"./observers-9d4ab86b.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 u=h==="rtl"&&f.includes(a)?-1:1;var w=a==="ArrowUp"||(d==="end"?a===f[0]:a===f[1]);if(w){var b=t.shiftKey?m:o;return c+u*b}var x=a==="ArrowDown"||(d==="end"?a===f[1]:a===f[0]);if(x){var b=t.shiftKey?m:o;return c-u*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 u=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 w=h("slot",{key:"action-bar",name:SLOTS.actionBar});var b=[w,f,u];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.554
4
+ * v1.0.0-next.557
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-30e59418.js";import{S as Sortable}from"./sortable.esm-1a1f9c05.js";import{c as createObserver}from"./observers-47de4039.js";import{u as updateHostInteraction}from"./interactive-80c1f202.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};
6
+ import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-06221bfb.js";import{S as Sortable}from"./sortable.esm-3ef91fcd.js";import{c as createObserver}from"./observers-9d4ab86b.js";import{u as updateHostInteraction}from"./interactive-ff1f7f87.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.554
4
+ * v1.0.0-next.557
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-30e59418.js";import{u as updateHostInteraction}from"./interactive-80c1f202.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};
6
+ import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-06221bfb.js";import{u as updateHostInteraction}from"./interactive-ff1f7f87.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.554
6
- */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-30e59418.js";import{f as focusElement,d as getElementProp,t as toAriaBoolean}from"./dom-e671177c.js";import{u as updateHostInteraction}from"./interactive-80c1f202.js";import"./guid-8690cee7.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};
5
+ * v1.0.0-next.557
6
+ */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-06221bfb.js";import{f as focusElement,d as getElementProp,t as toAriaBoolean}from"./dom-42491565.js";import{u as updateHostInteraction}from"./interactive-ff1f7f87.js";import"./resources-8fc2f7f1.js";import"./guid-73322791.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.554
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-30e59418.js";import{f as focusElement,t as toAriaBoolean}from"./dom-e671177c.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-a6c38d9a.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-71cefaff.js";import{u as updateHostInteraction}from"./interactive-80c1f202.js";import"./guid-8690cee7.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&&(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.557
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-06221bfb.js";import{f as focusElement,t as toAriaBoolean}from"./dom-42491565.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-1b193aff.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-ad1965a4.js";import{u as updateHostInteraction}from"./interactive-ff1f7f87.js";import{i as isActivationKey}from"./key-22a0f143.js";import"./resources-8fc2f7f1.js";import"./guid-73322791.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};