@esri/calcite-components 1.0.0-next.445 → 1.0.0-next.448

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 (800) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-d4f2f493.system.js → p-01b1cc17.system.js} +2 -2
  5. package/dist/calcite/{p-090880ec.entry.js → p-026da492.entry.js} +2 -2
  6. package/dist/calcite/{p-fe25dd66.js → p-02bec8a3.js} +1 -1
  7. package/dist/calcite/{p-4cff6ed2.system.entry.js → p-02e07e7c.system.entry.js} +2 -2
  8. package/dist/calcite/{p-be653c75.js → p-030c631e.js} +1 -1
  9. package/dist/calcite/{p-d0dd920e.system.js → p-03699d0f.system.js} +2 -2
  10. package/dist/calcite/{p-8491b37f.entry.js → p-041225fa.entry.js} +2 -2
  11. package/dist/calcite/{p-041b61cd.js → p-04c221b0.js} +2 -2
  12. package/dist/calcite/{p-df191ce8.system.entry.js → p-05909457.system.entry.js} +2 -2
  13. package/dist/calcite/{p-e455cf93.system.entry.js → p-06161665.system.entry.js} +2 -2
  14. package/dist/calcite/{p-ae1dd9d3.entry.js → p-063676a9.entry.js} +2 -2
  15. package/dist/calcite/{p-8f061a44.entry.js → p-06547a6f.entry.js} +2 -2
  16. package/dist/calcite/p-07a74ef2.system.entry.js +6 -0
  17. package/dist/calcite/{p-311f6ae3.system.js → p-08c914b0.system.js} +2 -2
  18. package/dist/calcite/{p-319fca0a.system.entry.js → p-0953c811.system.entry.js} +2 -2
  19. package/dist/calcite/{p-9500d5a1.entry.js → p-0a816f05.entry.js} +2 -2
  20. package/dist/calcite/{p-b0a06984.entry.js → p-0ac85d35.entry.js} +2 -2
  21. package/dist/calcite/{p-99b56a57.system.js → p-0c7b39db.system.js} +1 -1
  22. package/dist/calcite/{p-31197ab6.system.js → p-12d4a5f1.system.js} +1 -1
  23. package/dist/calcite/{p-258de3b5.system.js → p-12da5100.system.js} +1 -1
  24. package/dist/calcite/{p-a01d5702.system.js → p-12deb8e2.system.js} +1 -1
  25. package/dist/calcite/{p-27627646.entry.js → p-13c3a48a.entry.js} +2 -2
  26. package/dist/calcite/{p-3b2f0536.js → p-141d280a.js} +2 -2
  27. package/dist/calcite/{p-27d2b999.entry.js → p-1607bfb6.entry.js} +2 -2
  28. package/dist/calcite/{p-29ffb1a4.system.entry.js → p-169ed046.system.entry.js} +2 -2
  29. package/dist/calcite/{p-25ee06e8.entry.js → p-16fc66a8.entry.js} +2 -2
  30. package/dist/calcite/{p-dcd66dbe.entry.js → p-175c4971.entry.js} +2 -2
  31. package/dist/calcite/{p-28ab1bdc.system.entry.js → p-1d9d9727.system.entry.js} +2 -2
  32. package/dist/calcite/{p-ea01de75.js → p-20eee135.js} +2 -2
  33. package/dist/calcite/{p-569ab61c.entry.js → p-210e2fbe.entry.js} +2 -2
  34. package/dist/calcite/{p-fbcdf49c.system.js → p-229d4c7d.system.js} +1 -1
  35. package/dist/calcite/{p-dd2433b8.js → p-243dcc84.js} +1 -1
  36. package/dist/calcite/{p-3dba8986.entry.js → p-25dc7a3b.entry.js} +2 -2
  37. package/dist/calcite/{p-e5c97b3c.system.entry.js → p-282cefae.system.entry.js} +2 -2
  38. package/dist/calcite/{p-1d36af45.system.js → p-28b5b7e7.system.js} +1 -1
  39. package/dist/calcite/{p-74c3913a.entry.js → p-2b9bf6e4.entry.js} +2 -2
  40. package/dist/calcite/{p-de88a90d.system.entry.js → p-2bce172a.system.entry.js} +2 -2
  41. package/dist/calcite/{p-dac748b6.entry.js → p-2cc1c3b2.entry.js} +2 -2
  42. package/dist/calcite/{p-b02dac57.entry.js → p-2cc4a38c.entry.js} +2 -2
  43. package/dist/calcite/{p-d9639ef6.system.entry.js → p-2fd9db65.system.entry.js} +2 -2
  44. package/dist/calcite/{p-cbed5ee5.entry.js → p-314ee74c.entry.js} +2 -2
  45. package/dist/calcite/{p-4a910e1a.system.entry.js → p-3185fbb1.system.entry.js} +2 -2
  46. package/dist/calcite/{p-2e5debed.system.js → p-32fc7d08.system.js} +1 -1
  47. package/dist/calcite/{p-14ec9332.system.entry.js → p-335ca82c.system.entry.js} +2 -2
  48. package/dist/calcite/{p-5500906f.entry.js → p-35edae18.entry.js} +2 -2
  49. package/dist/calcite/p-3a3cfe0d.entry.js +6 -0
  50. package/dist/calcite/{p-fecc0290.entry.js → p-3b40988a.entry.js} +2 -2
  51. package/dist/calcite/p-3c2079c1.system.js +6 -0
  52. package/dist/calcite/p-3d7a9888.system.entry.js +6 -0
  53. package/dist/calcite/{p-f7d5923a.system.entry.js → p-3f938b8c.system.entry.js} +2 -2
  54. package/dist/calcite/{p-355798dd.js → p-429681dc.js} +1 -1
  55. package/dist/calcite/{p-ad7a67c5.js → p-4309bd5a.js} +1 -1
  56. package/dist/calcite/{p-2d00654f.entry.js → p-43a0d015.entry.js} +2 -2
  57. package/dist/calcite/{p-6723c6d8.entry.js → p-4686d0bb.entry.js} +2 -2
  58. package/dist/calcite/{p-a7793b59.system.js → p-490b2b57.system.js} +1 -1
  59. package/dist/calcite/p-4a7097c5.js +6 -0
  60. package/dist/calcite/{p-0f89e70c.entry.js → p-4af3700a.entry.js} +2 -2
  61. package/dist/calcite/{p-99b389a4.system.entry.js → p-4d1db9b7.system.entry.js} +2 -2
  62. package/dist/calcite/p-4d7a082a.js +6 -0
  63. package/dist/calcite/{p-dd148aa5.entry.js → p-5659eb52.entry.js} +2 -2
  64. package/dist/calcite/{p-ff6ac4c3.system.entry.js → p-57ff3d4e.system.entry.js} +2 -2
  65. package/dist/calcite/{p-26a03754.system.entry.js → p-597831a9.system.entry.js} +3 -3
  66. package/dist/calcite/{p-8b8402ab.entry.js → p-5dc52feb.entry.js} +2 -2
  67. package/dist/calcite/{p-f984a8fb.system.entry.js → p-6093c924.system.entry.js} +2 -2
  68. package/dist/calcite/{p-ff8e5fb9.system.entry.js → p-62b4fac5.system.entry.js} +2 -2
  69. package/dist/calcite/{p-28383893.system.entry.js → p-65a8a4ab.system.entry.js} +2 -2
  70. package/dist/calcite/{p-8eb729b2.entry.js → p-66cca937.entry.js} +2 -2
  71. package/dist/calcite/{p-57d67d2d.js → p-680fc7a5.js} +1 -1
  72. package/dist/calcite/{p-e5147246.entry.js → p-6956c26a.entry.js} +2 -2
  73. package/dist/calcite/{p-381ae536.system.entry.js → p-695a157a.system.entry.js} +2 -2
  74. package/dist/calcite/{p-02fd2883.system.entry.js → p-6a396bbd.system.entry.js} +2 -2
  75. package/dist/calcite/{p-2ffe62e7.entry.js → p-6be8d5fa.entry.js} +2 -2
  76. package/dist/calcite/{p-f713dcde.system.js → p-6dd02e3f.system.js} +2 -2
  77. package/dist/calcite/p-709fd531.entry.js +6 -0
  78. package/dist/calcite/{p-97dd099f.system.entry.js → p-71887235.system.entry.js} +2 -2
  79. package/dist/calcite/{p-a6c8b4f4.system.entry.js → p-71caddce.system.entry.js} +2 -2
  80. package/dist/calcite/{p-47872617.entry.js → p-721bb711.entry.js} +2 -2
  81. package/dist/calcite/{p-37d36485.system.entry.js → p-72c0bfd4.system.entry.js} +2 -2
  82. package/dist/calcite/{p-b8d7f7c8.system.entry.js → p-738e1327.system.entry.js} +2 -2
  83. package/dist/calcite/{p-ced91d61.entry.js → p-74982f54.entry.js} +2 -2
  84. package/dist/calcite/{p-a39a6120.entry.js → p-75d566f8.entry.js} +2 -2
  85. package/dist/calcite/{p-204cff7c.system.entry.js → p-76865cbe.system.entry.js} +2 -2
  86. package/dist/calcite/p-77cb1549.js +6 -0
  87. package/dist/calcite/{p-4393b27e.system.entry.js → p-7c27f0fe.system.entry.js} +2 -2
  88. package/dist/calcite/{p-4039990d.system.entry.js → p-7c5b4fa8.system.entry.js} +2 -2
  89. package/dist/calcite/{p-16dde710.system.js → p-7d69e4d7.system.js} +1 -1
  90. package/dist/calcite/{p-d57599f3.system.js → p-7ea54b66.system.js} +1 -1
  91. package/dist/calcite/{p-bf8a1a90.entry.js → p-8118a198.entry.js} +2 -2
  92. package/dist/calcite/{p-d647b605.js → p-81cd3e3f.js} +2 -2
  93. package/dist/calcite/{p-0f5a49ed.system.entry.js → p-81f00229.system.entry.js} +2 -2
  94. package/dist/calcite/{p-a39652a8.entry.js → p-83389696.entry.js} +2 -2
  95. package/dist/calcite/{p-886b7bfa.system.entry.js → p-84900e91.system.entry.js} +2 -2
  96. package/dist/calcite/{p-d6ef83f2.system.js → p-8644e8cf.system.js} +1 -1
  97. package/dist/calcite/{p-6bef1081.system.entry.js → p-87199b41.system.entry.js} +2 -2
  98. package/dist/calcite/{p-5a60f994.system.entry.js → p-8bf8ac39.system.entry.js} +2 -2
  99. package/dist/calcite/{p-9988579e.entry.js → p-8d481287.entry.js} +2 -2
  100. package/dist/calcite/{p-b4d3d3e3.js → p-8dee96c2.js} +2 -2
  101. package/dist/calcite/p-8f8353ca.js +6 -0
  102. package/dist/calcite/{p-bcbdb44e.entry.js → p-919d27cd.entry.js} +2 -2
  103. package/dist/calcite/{p-abc466c1.system.entry.js → p-95044c27.system.entry.js} +2 -2
  104. package/dist/calcite/{p-266d8bf5.entry.js → p-95869087.entry.js} +2 -2
  105. package/dist/calcite/{p-34e35997.system.js → p-963fabd6.system.js} +2 -2
  106. package/dist/calcite/{p-ff299c31.entry.js → p-96481f10.entry.js} +2 -2
  107. package/dist/calcite/{p-11ba757d.system.entry.js → p-9730f87a.system.entry.js} +2 -2
  108. package/dist/calcite/{p-161c0fe3.system.entry.js → p-97c04c2d.system.entry.js} +2 -2
  109. package/dist/calcite/{p-42dc5adc.entry.js → p-98228fcf.entry.js} +2 -2
  110. package/dist/calcite/{p-0b025cd8.system.entry.js → p-98c991e1.system.entry.js} +2 -2
  111. package/dist/calcite/{p-7ebc43e6.entry.js → p-991a6773.entry.js} +2 -2
  112. package/dist/calcite/{p-01713417.entry.js → p-995451f8.entry.js} +2 -2
  113. package/dist/calcite/{p-8b3108fe.system.entry.js → p-9c624a2a.system.entry.js} +2 -2
  114. package/dist/calcite/{p-50b46f23.system.entry.js → p-9c8e8d30.system.entry.js} +2 -2
  115. package/dist/calcite/{p-b0f109f2.entry.js → p-9d349f44.entry.js} +2 -2
  116. package/dist/calcite/p-9d359a87.entry.js +6 -0
  117. package/dist/calcite/{p-b2caaa6b.js → p-9d367557.js} +2 -2
  118. package/dist/calcite/{p-7c2843ca.system.entry.js → p-a0a91dac.system.entry.js} +2 -2
  119. package/dist/calcite/{p-f53b0e25.js → p-a2466d63.js} +1 -1
  120. package/dist/calcite/{p-ec8f422f.js → p-a31ac638.js} +1 -1
  121. package/dist/calcite/{p-d49affe7.system.entry.js → p-a5b32e80.system.entry.js} +2 -2
  122. package/dist/calcite/p-a8f6fe18.entry.js +6 -0
  123. package/dist/calcite/{p-108d9717.system.entry.js → p-a9de795d.system.entry.js} +2 -2
  124. package/dist/calcite/{p-4a13b25d.system.js → p-aa337bbd.system.js} +1 -1
  125. package/dist/calcite/{p-bbb08025.entry.js → p-ace78842.entry.js} +2 -2
  126. package/dist/calcite/{p-2daf552b.entry.js → p-b4e61614.entry.js} +2 -2
  127. package/dist/calcite/{p-1f2f75cb.entry.js → p-b69c2739.entry.js} +2 -2
  128. package/dist/calcite/{p-be089f07.entry.js → p-b9d0bc5b.entry.js} +2 -2
  129. package/dist/calcite/{p-3fea8ac9.system.js → p-b9ddd8af.system.js} +1 -1
  130. package/dist/calcite/{p-d3a24a92.system.entry.js → p-bd984030.system.entry.js} +2 -2
  131. package/dist/calcite/{p-b9a581df.entry.js → p-bfc096ee.entry.js} +2 -2
  132. package/dist/calcite/{p-84d89c27.system.entry.js → p-c2f271da.system.entry.js} +3 -3
  133. package/dist/calcite/{p-253921ef.js → p-c5d3f1cd.js} +1 -1
  134. package/dist/calcite/{p-dcd26c5b.system.js → p-c68c113c.system.js} +2 -2
  135. package/dist/calcite/{p-58a52a1c.system.js → p-c7f94a9c.system.js} +1 -1
  136. package/dist/calcite/{p-7d21684c.system.entry.js → p-ca32d999.system.entry.js} +2 -2
  137. package/dist/calcite/{p-6aa710a4.js → p-cd84fe71.js} +1 -1
  138. package/dist/calcite/{p-97fd0700.js → p-cf7a47e5.js} +2 -2
  139. package/dist/calcite/{p-336577c6.js → p-d12c0f1f.js} +1 -1
  140. package/dist/calcite/{p-e798397b.system.entry.js → p-d26e4ae7.system.entry.js} +2 -2
  141. package/dist/calcite/{p-0ccf95ca.system.entry.js → p-d2715db0.system.entry.js} +2 -2
  142. package/dist/calcite/{p-39bc7480.entry.js → p-d2ff035d.entry.js} +2 -2
  143. package/dist/calcite/{p-05751f2e.entry.js → p-d3a57c13.entry.js} +2 -2
  144. package/dist/calcite/{p-a284f057.entry.js → p-d55ee299.entry.js} +2 -2
  145. package/dist/calcite/{p-cc496db8.entry.js → p-d684b6e5.entry.js} +2 -2
  146. package/dist/calcite/{p-9ffb0f8e.system.entry.js → p-d98e128e.system.entry.js} +2 -2
  147. package/dist/calcite/{p-8b808b4a.system.entry.js → p-db5ae93e.system.entry.js} +2 -2
  148. package/dist/calcite/{p-4b259c5a.entry.js → p-df8037b4.entry.js} +2 -2
  149. package/dist/calcite/{p-fa493d09.js → p-dfcd2444.js} +1 -1
  150. package/dist/calcite/{p-133372fd.system.entry.js → p-e0837c38.system.entry.js} +2 -2
  151. package/dist/calcite/{p-f6795331.entry.js → p-e0937b3c.entry.js} +2 -2
  152. package/dist/calcite/{p-926b60ef.entry.js → p-e328cc0c.entry.js} +2 -2
  153. package/dist/calcite/{p-cb4a4c11.js → p-e4810e15.js} +1 -1
  154. package/dist/calcite/{p-95bfbf7e.system.entry.js → p-e5e1ddee.system.entry.js} +2 -2
  155. package/dist/calcite/{p-5e296f6a.system.js → p-e6ff5a02.system.js} +2 -2
  156. package/dist/calcite/{p-aa8cd021.system.entry.js → p-eaaf7f44.system.entry.js} +2 -2
  157. package/dist/calcite/{p-548dfc90.system.entry.js → p-eb0fa7fb.system.entry.js} +2 -2
  158. package/dist/calcite/p-ed925721.system.js +6 -0
  159. package/dist/calcite/{p-a4be4ad7.entry.js → p-ee52bbcf.entry.js} +2 -2
  160. package/dist/calcite/{p-5bf8f6e9.system.js → p-f0c1fe5e.system.js} +2 -2
  161. package/dist/calcite/{p-a544af14.entry.js → p-f1b7283a.entry.js} +2 -2
  162. package/dist/calcite/{p-cc06ca0e.system.entry.js → p-f2a3837b.system.entry.js} +2 -2
  163. package/dist/calcite/{p-2ef6c164.system.entry.js → p-f638b86d.system.entry.js} +2 -2
  164. package/dist/calcite/{p-e7b32606.system.entry.js → p-f89ad05b.system.entry.js} +2 -2
  165. package/dist/calcite/{p-f3465688.system.entry.js → p-fa3fb40b.system.entry.js} +2 -2
  166. package/dist/calcite/{p-b31c76ec.system.js → p-fbe7b8eb.system.js} +2 -2
  167. package/dist/calcite/{p-390993de.system.js → p-fed7917d.system.js} +3 -3
  168. package/dist/cjs/{ExpandToggle-1d84a30f.js → ExpandToggle-d8601baf.js} +5 -5
  169. package/dist/cjs/{Heading-6c577985.js → Heading-1b55f276.js} +2 -2
  170. package/dist/cjs/{array-ad1d1402.js → array-5d2f2ad9.js} +1 -1
  171. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  172. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  173. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  176. package/dist/cjs/calcite-action.cjs.entry.js +4 -4
  177. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  178. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  180. package/dist/cjs/calcite-button.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -15
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  189. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  190. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  193. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  199. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  207. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  209. package/dist/cjs/calcite-popover_2.cjs.entry.js +100 -43
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  223. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  228. package/dist/cjs/calcite.cjs.js +3 -3
  229. package/dist/cjs/{conditionalSlot-df594efd.js → conditionalSlot-23675e58.js} +3 -3
  230. package/dist/cjs/{debounce-24461fe6.js → debounce-9b409752.js} +1 -1
  231. package/dist/cjs/{dom-9a2cf963.js → dom-a22a0ff0.js} +2 -2
  232. package/dist/cjs/{forIn-90fffb54.js → forIn-9b55cd39.js} +2 -2
  233. package/dist/cjs/{form-9e6d03ef.js → form-41e3772f.js} +3 -3
  234. package/dist/cjs/{guid-618238ed.js → guid-12c9f767.js} +1 -1
  235. package/dist/cjs/{index-2e55547d.js → index-4f75564a.js} +1 -1
  236. package/dist/cjs/index.cjs.js +1 -1
  237. package/dist/cjs/{interactive-1f751ab7.js → interactive-245a7f6f.js} +1 -1
  238. package/dist/cjs/{interfaces-c964aaab.js → interfaces-bd0c7f81.js} +1 -1
  239. package/dist/cjs/{label-1069d8bd.js → label-ce7cd434.js} +2 -2
  240. package/dist/cjs/loader.cjs.js +3 -3
  241. package/dist/cjs/{locale-8fe40b14.js → locale-b1b2d07e.js} +2 -2
  242. package/dist/cjs/{math-d3124585.js → math-706c6110.js} +1 -1
  243. package/dist/cjs/{number-80fc2025.js → number-fd8196bb.js} +1 -1
  244. package/dist/cjs/{observers-c763e03a.js → observers-1247a401.js} +1 -1
  245. package/dist/cjs/{popper-8e628970.js → popper-43afcfd4.js} +2 -2
  246. package/dist/cjs/{resources-cc8ca6f0.js → resources-055962ae.js} +3 -3
  247. package/dist/cjs/{resources-7d180442.js → resources-22166421.js} +1 -1
  248. package/dist/cjs/{resources-245a82b3.js → resources-967b3887.js} +1 -1
  249. package/dist/cjs/{resources-1233bb3e.js → resources-e9b73c1e.js} +5 -5
  250. package/dist/cjs/{sortable.esm-42e8dec9.js → sortable.esm-4a512e06.js} +1 -1
  251. package/dist/cjs/{utils-0d52eee6.js → utils-3d83d34c.js} +1 -1
  252. package/dist/collection/components/accordion/accordion.js +1 -1
  253. package/dist/collection/components/accordion/interfaces.js +1 -1
  254. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  255. package/dist/collection/components/action/action.js +1 -1
  256. package/dist/collection/components/action/resources.js +1 -1
  257. package/dist/collection/components/action-bar/action-bar.js +2 -2
  258. package/dist/collection/components/action-bar/resources.js +1 -1
  259. package/dist/collection/components/action-bar/utils.js +1 -1
  260. package/dist/collection/components/action-group/action-group.js +1 -1
  261. package/dist/collection/components/action-group/resources.js +1 -1
  262. package/dist/collection/components/action-menu/action-menu.js +1 -1
  263. package/dist/collection/components/action-menu/resources.js +1 -1
  264. package/dist/collection/components/action-pad/action-pad.js +2 -2
  265. package/dist/collection/components/action-pad/resources.js +1 -1
  266. package/dist/collection/components/alert/alert.js +1 -1
  267. package/dist/collection/components/alert/interfaces.js +1 -1
  268. package/dist/collection/components/alert/resources.js +1 -1
  269. package/dist/collection/components/avatar/avatar.js +1 -1
  270. package/dist/collection/components/avatar/utils.js +1 -1
  271. package/dist/collection/components/block/block.js +1 -1
  272. package/dist/collection/components/block/resources.js +1 -1
  273. package/dist/collection/components/block-section/block-section.js +1 -1
  274. package/dist/collection/components/block-section/interfaces.js +1 -1
  275. package/dist/collection/components/block-section/resources.js +1 -1
  276. package/dist/collection/components/button/button.js +1 -1
  277. package/dist/collection/components/button/interfaces.js +1 -1
  278. package/dist/collection/components/button/resources.js +1 -1
  279. package/dist/collection/components/card/card.js +1 -1
  280. package/dist/collection/components/card/resources.js +1 -1
  281. package/dist/collection/components/checkbox/checkbox.js +1 -1
  282. package/dist/collection/components/chip/chip.js +1 -1
  283. package/dist/collection/components/chip/interfaces.js +1 -1
  284. package/dist/collection/components/chip/resources.js +1 -1
  285. package/dist/collection/components/color-picker/color-picker.js +1 -1
  286. package/dist/collection/components/color-picker/interfaces.js +1 -1
  287. package/dist/collection/components/color-picker/resources.js +1 -1
  288. package/dist/collection/components/color-picker/utils.js +1 -1
  289. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  290. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  291. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  292. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  293. package/dist/collection/components/combobox/combobox.js +3 -4
  294. package/dist/collection/components/combobox/interfaces.js +1 -1
  295. package/dist/collection/components/combobox/resources.js +1 -1
  296. package/dist/collection/components/combobox/utils.js +1 -1
  297. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  298. package/dist/collection/components/combobox-item/resources.js +1 -1
  299. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  300. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  301. package/dist/collection/components/date-picker/date-picker.js +1 -1
  302. package/dist/collection/components/date-picker/interfaces.js +1 -1
  303. package/dist/collection/components/date-picker/resources.js +1 -1
  304. package/dist/collection/components/date-picker/utils.js +1 -1
  305. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  306. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  307. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  308. package/dist/collection/components/dropdown/dropdown.js +1 -1
  309. package/dist/collection/components/dropdown/interfaces.js +1 -1
  310. package/dist/collection/components/dropdown/resources.js +1 -1
  311. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  312. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  313. package/dist/collection/components/dropdown-group/resources.js +1 -1
  314. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  315. package/dist/collection/components/dropdown-item/resources.js +1 -1
  316. package/dist/collection/components/fab/fab.js +1 -1
  317. package/dist/collection/components/fab/resources.js +1 -1
  318. package/dist/collection/components/filter/filter.js +1 -1
  319. package/dist/collection/components/filter/resources.js +1 -1
  320. package/dist/collection/components/flow/flow.js +1 -1
  321. package/dist/collection/components/flow/interfaces.js +1 -1
  322. package/dist/collection/components/flow/resources.js +1 -1
  323. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  324. package/dist/collection/components/functional/Heading.js +1 -1
  325. package/dist/collection/components/graph/graph.js +1 -1
  326. package/dist/collection/components/graph/interfaces.js +1 -1
  327. package/dist/collection/components/graph/util.js +1 -1
  328. package/dist/collection/components/handle/handle.js +1 -1
  329. package/dist/collection/components/handle/resources.js +1 -1
  330. package/dist/collection/components/icon/icon.js +1 -1
  331. package/dist/collection/components/icon/resources.js +1 -1
  332. package/dist/collection/components/icon/utils.js +1 -1
  333. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  334. package/dist/collection/components/inline-editable/resources.js +1 -1
  335. package/dist/collection/components/input/input.js +1 -1
  336. package/dist/collection/components/input/interfaces.js +1 -1
  337. package/dist/collection/components/input/resources.js +1 -1
  338. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  339. package/dist/collection/components/input-message/input-message.js +1 -1
  340. package/dist/collection/components/input-message/interfaces.js +1 -1
  341. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  342. package/dist/collection/components/interfaces.js +1 -1
  343. package/dist/collection/components/label/label.js +1 -1
  344. package/dist/collection/components/label/resources.js +1 -1
  345. package/dist/collection/components/link/link.js +1 -1
  346. package/dist/collection/components/list/list.js +1 -1
  347. package/dist/collection/components/list/resources.js +1 -1
  348. package/dist/collection/components/list-item/list-item.js +1 -1
  349. package/dist/collection/components/list-item/resources.js +1 -1
  350. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  351. package/dist/collection/components/list-item-group/resources.js +1 -1
  352. package/dist/collection/components/loader/loader.js +1 -1
  353. package/dist/collection/components/modal/interfaces.js +1 -1
  354. package/dist/collection/components/modal/modal.js +1 -1
  355. package/dist/collection/components/modal/resources.js +1 -1
  356. package/dist/collection/components/notice/notice.js +1 -1
  357. package/dist/collection/components/notice/resources.js +1 -1
  358. package/dist/collection/components/option/option.js +1 -1
  359. package/dist/collection/components/option-group/option-group.js +1 -1
  360. package/dist/collection/components/pagination/pagination.js +1 -1
  361. package/dist/collection/components/pagination/resources.js +1 -1
  362. package/dist/collection/components/panel/panel.js +1 -1
  363. package/dist/collection/components/panel/resources.js +1 -1
  364. package/dist/collection/components/pick-list/pick-list.js +1 -1
  365. package/dist/collection/components/pick-list/resources.js +1 -1
  366. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  367. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  368. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  369. package/dist/collection/components/pick-list-group/resources.js +1 -1
  370. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  371. package/dist/collection/components/pick-list-item/resources.js +1 -1
  372. package/dist/collection/components/popover/PopoverManager.js +64 -0
  373. package/dist/collection/components/popover/popover.js +28 -4
  374. package/dist/collection/components/popover/resources.js +1 -2
  375. package/dist/collection/components/popover-manager/popover-manager.js +32 -45
  376. package/dist/collection/components/progress/progress.js +1 -1
  377. package/dist/collection/components/radio-button/radio-button.js +1 -1
  378. package/dist/collection/components/radio-button/resources.js +1 -1
  379. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  380. package/dist/collection/components/radio-group/interfaces.js +1 -1
  381. package/dist/collection/components/radio-group/radio-group.js +1 -1
  382. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  383. package/dist/collection/components/radio-group-item/resources.js +1 -1
  384. package/dist/collection/components/rating/rating.js +1 -1
  385. package/dist/collection/components/rating/resources.js +1 -1
  386. package/dist/collection/components/scrim/resources.js +1 -1
  387. package/dist/collection/components/scrim/scrim.js +1 -1
  388. package/dist/collection/components/select/resources.js +1 -1
  389. package/dist/collection/components/select/select.js +1 -1
  390. package/dist/collection/components/shell/resources.js +1 -1
  391. package/dist/collection/components/shell/shell.js +1 -1
  392. package/dist/collection/components/shell-center-row/resources.js +1 -1
  393. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  394. package/dist/collection/components/shell-panel/resources.js +1 -1
  395. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  396. package/dist/collection/components/slider/slider.js +1 -1
  397. package/dist/collection/components/sortable-list/resources.js +1 -1
  398. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  399. package/dist/collection/components/split-button/resources.js +1 -1
  400. package/dist/collection/components/split-button/split-button.js +1 -1
  401. package/dist/collection/components/stepper/stepper.js +1 -1
  402. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  403. package/dist/collection/components/switch/switch.js +1 -1
  404. package/dist/collection/components/tab/interfaces.js +1 -1
  405. package/dist/collection/components/tab/tab.js +1 -1
  406. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  407. package/dist/collection/components/tab-title/tab-title.js +1 -1
  408. package/dist/collection/components/tabs/interfaces.js +1 -1
  409. package/dist/collection/components/tabs/resources.js +1 -1
  410. package/dist/collection/components/tabs/tabs.js +1 -1
  411. package/dist/collection/components/tile/resources.js +1 -1
  412. package/dist/collection/components/tile/tile.css +1 -0
  413. package/dist/collection/components/tile/tile.js +1 -1
  414. package/dist/collection/components/tile-select/interfaces.js +1 -1
  415. package/dist/collection/components/tile-select/resources.js +1 -1
  416. package/dist/collection/components/tile-select/tile-select.js +1 -1
  417. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  418. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  419. package/dist/collection/components/time-picker/resources.js +1 -1
  420. package/dist/collection/components/time-picker/time-picker.js +1 -1
  421. package/dist/collection/components/tip/resources.js +1 -1
  422. package/dist/collection/components/tip/tip.js +1 -1
  423. package/dist/collection/components/tip-group/tip-group.js +1 -1
  424. package/dist/collection/components/tip-manager/resources.js +1 -1
  425. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  426. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  427. package/dist/collection/components/tooltip/resources.js +1 -1
  428. package/dist/collection/components/tooltip/tooltip.js +1 -1
  429. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  430. package/dist/collection/components/tree/interfaces.js +1 -1
  431. package/dist/collection/components/tree/tree.js +1 -1
  432. package/dist/collection/components/tree-item/interfaces.js +1 -1
  433. package/dist/collection/components/tree-item/resources.js +1 -1
  434. package/dist/collection/components/tree-item/tree-item.js +1 -1
  435. package/dist/collection/components/value-list/resources.js +1 -1
  436. package/dist/collection/components/value-list/value-list.js +1 -1
  437. package/dist/collection/components/value-list-item/resources.js +1 -1
  438. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  439. package/dist/collection/utils/array.js +1 -1
  440. package/dist/collection/utils/conditionalSlot.js +1 -1
  441. package/dist/collection/utils/date.js +1 -1
  442. package/dist/collection/utils/dom.js +1 -1
  443. package/dist/collection/utils/filter.js +1 -1
  444. package/dist/collection/utils/form.js +1 -1
  445. package/dist/collection/utils/globalAttributes.js +1 -1
  446. package/dist/collection/utils/guid.js +1 -1
  447. package/dist/collection/utils/interactive.js +1 -1
  448. package/dist/collection/utils/key.js +1 -1
  449. package/dist/collection/utils/label.js +1 -1
  450. package/dist/collection/utils/locale.js +1 -1
  451. package/dist/collection/utils/math.js +1 -1
  452. package/dist/collection/utils/number.js +1 -1
  453. package/dist/collection/utils/observers.js +1 -1
  454. package/dist/collection/utils/popper.js +1 -1
  455. package/dist/collection/utils/resources.js +1 -1
  456. package/dist/collection/utils/time.js +1 -1
  457. package/dist/components/ExpandToggle.js +1 -1
  458. package/dist/components/Heading.js +1 -1
  459. package/dist/components/action-group.js +1 -1
  460. package/dist/components/action-menu.js +1 -1
  461. package/dist/components/action.js +1 -1
  462. package/dist/components/array.js +1 -1
  463. package/dist/components/button.js +2 -2
  464. package/dist/components/calcite-accordion-item.js +1 -1
  465. package/dist/components/calcite-accordion.js +1 -1
  466. package/dist/components/calcite-action-bar.js +2 -2
  467. package/dist/components/calcite-action-group.js +1 -1
  468. package/dist/components/calcite-action-menu.js +1 -1
  469. package/dist/components/calcite-action-pad.js +2 -2
  470. package/dist/components/calcite-action.js +1 -1
  471. package/dist/components/calcite-alert.js +1 -1
  472. package/dist/components/calcite-avatar.js +2 -2
  473. package/dist/components/calcite-block-section.js +1 -1
  474. package/dist/components/calcite-block.js +1 -1
  475. package/dist/components/calcite-button.js +1 -1
  476. package/dist/components/calcite-card.js +1 -1
  477. package/dist/components/calcite-checkbox.js +1 -1
  478. package/dist/components/calcite-chip.js +1 -1
  479. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  480. package/dist/components/calcite-color-picker-swatch.js +1 -1
  481. package/dist/components/calcite-color-picker.js +1 -1
  482. package/dist/components/calcite-combobox-item-group.js +1 -1
  483. package/dist/components/calcite-combobox-item.js +1 -1
  484. package/dist/components/calcite-combobox.js +3 -4
  485. package/dist/components/calcite-date-picker-day.js +1 -1
  486. package/dist/components/calcite-date-picker-month-header.js +1 -1
  487. package/dist/components/calcite-date-picker-month.js +1 -1
  488. package/dist/components/calcite-date-picker.js +1 -1
  489. package/dist/components/calcite-dropdown-group.js +1 -1
  490. package/dist/components/calcite-dropdown-item.js +1 -1
  491. package/dist/components/calcite-dropdown.js +1 -1
  492. package/dist/components/calcite-fab.js +1 -1
  493. package/dist/components/calcite-filter.js +1 -1
  494. package/dist/components/calcite-flow.js +1 -1
  495. package/dist/components/calcite-graph.js +1 -1
  496. package/dist/components/calcite-handle.js +1 -1
  497. package/dist/components/calcite-icon.js +1 -1
  498. package/dist/components/calcite-inline-editable.js +1 -1
  499. package/dist/components/calcite-input-date-picker.js +1 -1
  500. package/dist/components/calcite-input-message.js +1 -1
  501. package/dist/components/calcite-input-time-picker.js +1 -1
  502. package/dist/components/calcite-input.js +1 -1
  503. package/dist/components/calcite-label.js +1 -1
  504. package/dist/components/calcite-link.js +1 -1
  505. package/dist/components/calcite-list-item-group.js +1 -1
  506. package/dist/components/calcite-list-item.js +1 -1
  507. package/dist/components/calcite-list.js +1 -1
  508. package/dist/components/calcite-loader.js +1 -1
  509. package/dist/components/calcite-modal.js +2 -2
  510. package/dist/components/calcite-notice.js +1 -1
  511. package/dist/components/calcite-option-group.js +1 -1
  512. package/dist/components/calcite-option.js +1 -1
  513. package/dist/components/calcite-pagination.js +1 -1
  514. package/dist/components/calcite-panel.js +1 -1
  515. package/dist/components/calcite-pick-list-group.js +2 -2
  516. package/dist/components/calcite-pick-list-item.js +1 -1
  517. package/dist/components/calcite-pick-list.js +2 -2
  518. package/dist/components/calcite-popover-manager.js +30 -38
  519. package/dist/components/calcite-popover.js +1 -1
  520. package/dist/components/calcite-progress.js +1 -1
  521. package/dist/components/calcite-radio-button-group.js +1 -1
  522. package/dist/components/calcite-radio-button.js +1 -1
  523. package/dist/components/calcite-radio-group-item.js +1 -1
  524. package/dist/components/calcite-radio-group.js +1 -1
  525. package/dist/components/calcite-rating.js +1 -1
  526. package/dist/components/calcite-scrim.js +1 -1
  527. package/dist/components/calcite-select.js +1 -1
  528. package/dist/components/calcite-shell-center-row.js +1 -1
  529. package/dist/components/calcite-shell-panel.js +1 -1
  530. package/dist/components/calcite-shell.js +1 -1
  531. package/dist/components/calcite-slider.js +1 -1
  532. package/dist/components/calcite-sortable-list.js +1 -1
  533. package/dist/components/calcite-split-button.js +1 -1
  534. package/dist/components/calcite-stepper-item.js +1 -1
  535. package/dist/components/calcite-stepper.js +1 -1
  536. package/dist/components/calcite-switch.js +1 -1
  537. package/dist/components/calcite-tab-nav.js +1 -1
  538. package/dist/components/calcite-tab-title.js +1 -1
  539. package/dist/components/calcite-tab.js +1 -1
  540. package/dist/components/calcite-tabs.js +1 -1
  541. package/dist/components/calcite-tile-select-group.js +1 -1
  542. package/dist/components/calcite-tile-select.js +1 -1
  543. package/dist/components/calcite-tile.js +1 -1
  544. package/dist/components/calcite-time-picker.js +1 -1
  545. package/dist/components/calcite-tip-group.js +1 -1
  546. package/dist/components/calcite-tip-manager.js +2 -2
  547. package/dist/components/calcite-tip.js +2 -2
  548. package/dist/components/calcite-tooltip-manager.js +1 -1
  549. package/dist/components/calcite-tooltip.js +2 -2
  550. package/dist/components/calcite-tree-item.js +2 -2
  551. package/dist/components/calcite-tree.js +1 -1
  552. package/dist/components/calcite-value-list-item.js +2 -2
  553. package/dist/components/calcite-value-list.js +1 -1
  554. package/dist/components/checkbox.js +1 -1
  555. package/dist/components/chip.js +1 -1
  556. package/dist/components/color-picker-hex-input.js +1 -1
  557. package/dist/components/color-picker-swatch.js +2 -2
  558. package/dist/components/conditionalSlot.js +1 -1
  559. package/dist/components/date-picker-day.js +1 -1
  560. package/dist/components/date-picker-month-header.js +1 -1
  561. package/dist/components/date-picker-month.js +1 -1
  562. package/dist/components/date-picker.js +1 -1
  563. package/dist/components/date.js +1 -1
  564. package/dist/components/debounce.js +1 -1
  565. package/dist/components/dom.js +2 -2
  566. package/dist/components/dropdown.js +1 -1
  567. package/dist/components/filter.js +1 -1
  568. package/dist/components/forIn.js +1 -1
  569. package/dist/components/form.js +2 -2
  570. package/dist/components/graph.js +1 -1
  571. package/dist/components/guid.js +1 -1
  572. package/dist/components/handle.js +1 -1
  573. package/dist/components/icon.js +1 -1
  574. package/dist/components/index.js +1 -1
  575. package/dist/components/input.js +1 -1
  576. package/dist/components/interactive.js +1 -1
  577. package/dist/components/interfaces.js +1 -1
  578. package/dist/components/interfaces2.js +1 -1
  579. package/dist/components/label.js +2 -2
  580. package/dist/components/label2.js +1 -1
  581. package/dist/components/link.js +1 -1
  582. package/dist/components/loader.js +1 -1
  583. package/dist/components/locale.js +1 -1
  584. package/dist/components/math.js +1 -1
  585. package/dist/components/number.js +1 -1
  586. package/dist/components/observers.js +1 -1
  587. package/dist/components/pick-list-item.js +2 -2
  588. package/dist/components/popover.js +89 -5
  589. package/dist/components/popper.js +1 -1
  590. package/dist/components/progress.js +1 -1
  591. package/dist/components/resources.js +11 -19
  592. package/dist/components/resources2.js +7 -10
  593. package/dist/components/resources3.js +23 -6
  594. package/dist/components/scrim.js +1 -1
  595. package/dist/components/shared-list-render.js +3 -3
  596. package/dist/components/sortable.esm.js +1 -1
  597. package/dist/components/switch.js +1 -1
  598. package/dist/components/tab-nav.js +2 -2
  599. package/dist/components/tab-title.js +1 -1
  600. package/dist/components/tab.js +1 -1
  601. package/dist/components/tabs.js +1 -1
  602. package/dist/components/tile.js +2 -2
  603. package/dist/components/time-picker.js +1 -1
  604. package/dist/components/utils.js +1 -1
  605. package/dist/components/utils2.js +1 -1
  606. package/dist/custom-elements/index.js +101 -46
  607. package/dist/esm/{ExpandToggle-2718b8f6.js → ExpandToggle-3f2e2529.js} +5 -5
  608. package/dist/esm/{Heading-0e4aea69.js → Heading-91ae0a64.js} +2 -2
  609. package/dist/esm/{array-9f67c25d.js → array-ac015b27.js} +1 -1
  610. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  611. package/dist/esm/calcite-action-bar.entry.js +11 -11
  612. package/dist/esm/calcite-action-group.entry.js +8 -8
  613. package/dist/esm/calcite-action-menu.entry.js +8 -8
  614. package/dist/esm/calcite-action-pad.entry.js +10 -10
  615. package/dist/esm/calcite-action.entry.js +4 -4
  616. package/dist/esm/calcite-alert.entry.js +5 -5
  617. package/dist/esm/calcite-avatar.entry.js +5 -5
  618. package/dist/esm/calcite-block_2.entry.js +8 -8
  619. package/dist/esm/calcite-button.entry.js +7 -7
  620. package/dist/esm/calcite-card.entry.js +6 -6
  621. package/dist/esm/calcite-checkbox.entry.js +7 -7
  622. package/dist/esm/calcite-chip.entry.js +6 -6
  623. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  624. package/dist/esm/calcite-combobox_3.entry.js +14 -15
  625. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  626. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  627. package/dist/esm/calcite-fab.entry.js +5 -5
  628. package/dist/esm/calcite-filter.entry.js +7 -7
  629. package/dist/esm/calcite-flow.entry.js +3 -3
  630. package/dist/esm/calcite-graph_2.entry.js +9 -9
  631. package/dist/esm/calcite-handle.entry.js +2 -2
  632. package/dist/esm/calcite-icon.entry.js +5 -5
  633. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  634. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  635. package/dist/esm/calcite-input-message.entry.js +4 -4
  636. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  637. package/dist/esm/calcite-input.entry.js +11 -11
  638. package/dist/esm/calcite-label.entry.js +5 -5
  639. package/dist/esm/calcite-link.entry.js +5 -5
  640. package/dist/esm/calcite-list_3.entry.js +8 -8
  641. package/dist/esm/calcite-loader.entry.js +3 -3
  642. package/dist/esm/calcite-modal.entry.js +6 -6
  643. package/dist/esm/calcite-notice.entry.js +7 -7
  644. package/dist/esm/calcite-option_3.entry.js +8 -8
  645. package/dist/esm/calcite-pagination.entry.js +2 -2
  646. package/dist/esm/calcite-panel.entry.js +9 -9
  647. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  648. package/dist/esm/calcite-popover_2.entry.js +100 -43
  649. package/dist/esm/calcite-progress.entry.js +2 -2
  650. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  651. package/dist/esm/calcite-radio-button.entry.js +8 -8
  652. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  653. package/dist/esm/calcite-rating.entry.js +7 -7
  654. package/dist/esm/calcite-scrim.entry.js +2 -2
  655. package/dist/esm/calcite-shell_3.entry.js +7 -7
  656. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  657. package/dist/esm/calcite-split-button.entry.js +3 -3
  658. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  659. package/dist/esm/calcite-switch.entry.js +7 -7
  660. package/dist/esm/calcite-tab_4.entry.js +6 -6
  661. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  662. package/dist/esm/calcite-tile.entry.js +8 -8
  663. package/dist/esm/calcite-tip_3.entry.js +7 -7
  664. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  665. package/dist/esm/calcite-tree_2.entry.js +6 -6
  666. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  667. package/dist/esm/calcite.js +3 -3
  668. package/dist/esm/{conditionalSlot-2522e30f.js → conditionalSlot-691ce9ca.js} +3 -3
  669. package/dist/esm/{debounce-1b741867.js → debounce-fa1e1647.js} +1 -1
  670. package/dist/esm/{dom-db598077.js → dom-290f3af6.js} +2 -2
  671. package/dist/esm/{forIn-c5b795e6.js → forIn-f20d0141.js} +2 -2
  672. package/dist/esm/{form-61a289f0.js → form-528f73bb.js} +3 -3
  673. package/dist/esm/{guid-9fa375f5.js → guid-7933b2cc.js} +1 -1
  674. package/dist/esm/{index-894dfc81.js → index-92504161.js} +1 -1
  675. package/dist/esm/index.js +1 -1
  676. package/dist/esm/{interactive-09f3618d.js → interactive-c059baa1.js} +1 -1
  677. package/dist/esm/{interfaces-a5204d8f.js → interfaces-bba5f5dd.js} +1 -1
  678. package/dist/esm/{label-6c0e1ae1.js → label-42ce112b.js} +2 -2
  679. package/dist/esm/loader.js +3 -3
  680. package/dist/esm/{locale-3981cfde.js → locale-d17235f3.js} +2 -2
  681. package/dist/esm/{math-acdc37ac.js → math-7afc6cf5.js} +1 -1
  682. package/dist/esm/{number-84278938.js → number-181c4550.js} +1 -1
  683. package/dist/esm/{observers-9608d2fa.js → observers-a4f027a4.js} +1 -1
  684. package/dist/esm/{popper-7f6cf197.js → popper-0c675fb8.js} +2 -2
  685. package/dist/esm/{resources-2275dd9a.js → resources-39f0680b.js} +3 -3
  686. package/dist/esm/{resources-b0ef8228.js → resources-5cec7a36.js} +1 -1
  687. package/dist/esm/{resources-b064c016.js → resources-99fb266f.js} +1 -1
  688. package/dist/esm/{resources-7941421d.js → resources-b18ac0da.js} +5 -5
  689. package/dist/esm/{sortable.esm-a9eb30f8.js → sortable.esm-b8bcf719.js} +1 -1
  690. package/dist/esm/{utils-442279d6.js → utils-4739b1d9.js} +1 -1
  691. package/dist/esm-es5/{ExpandToggle-2718b8f6.js → ExpandToggle-3f2e2529.js} +2 -2
  692. package/dist/esm-es5/{Heading-0e4aea69.js → Heading-91ae0a64.js} +2 -2
  693. package/dist/esm-es5/{array-9f67c25d.js → array-ac015b27.js} +1 -1
  694. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  695. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  696. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  697. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  698. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  699. package/dist/esm-es5/calcite-action.entry.js +2 -2
  700. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  701. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  702. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  703. package/dist/esm-es5/calcite-button.entry.js +2 -2
  704. package/dist/esm-es5/calcite-card.entry.js +2 -2
  705. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  706. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  707. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  708. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  709. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  710. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  711. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  712. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  713. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  714. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  715. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  716. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  717. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  718. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  719. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  720. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  721. package/dist/esm-es5/calcite-input.entry.js +2 -2
  722. package/dist/esm-es5/calcite-label.entry.js +2 -2
  723. package/dist/esm-es5/calcite-link.entry.js +2 -2
  724. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  725. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  726. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  727. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  728. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  729. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  730. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  731. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  732. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  733. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  734. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  735. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  736. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  737. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  738. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  739. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  740. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  741. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  742. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  743. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  744. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  745. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  747. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  748. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  749. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  751. package/dist/esm-es5/calcite.js +2 -2
  752. package/dist/esm-es5/{conditionalSlot-2522e30f.js → conditionalSlot-691ce9ca.js} +2 -2
  753. package/dist/esm-es5/{debounce-1b741867.js → debounce-fa1e1647.js} +1 -1
  754. package/dist/esm-es5/{dom-db598077.js → dom-290f3af6.js} +2 -2
  755. package/dist/esm-es5/{forIn-c5b795e6.js → forIn-f20d0141.js} +2 -2
  756. package/dist/esm-es5/{form-61a289f0.js → form-528f73bb.js} +2 -2
  757. package/dist/esm-es5/{guid-9fa375f5.js → guid-7933b2cc.js} +1 -1
  758. package/dist/esm-es5/{index-894dfc81.js → index-92504161.js} +1 -1
  759. package/dist/esm-es5/index.js +1 -1
  760. package/dist/esm-es5/{interactive-09f3618d.js → interactive-c059baa1.js} +1 -1
  761. package/dist/esm-es5/{interfaces-a5204d8f.js → interfaces-bba5f5dd.js} +1 -1
  762. package/dist/esm-es5/{label-6c0e1ae1.js → label-42ce112b.js} +2 -2
  763. package/dist/esm-es5/loader.js +2 -2
  764. package/dist/esm-es5/{locale-3981cfde.js → locale-d17235f3.js} +2 -2
  765. package/dist/esm-es5/{math-acdc37ac.js → math-7afc6cf5.js} +1 -1
  766. package/dist/esm-es5/{number-84278938.js → number-181c4550.js} +1 -1
  767. package/dist/esm-es5/{observers-9608d2fa.js → observers-a4f027a4.js} +1 -1
  768. package/dist/esm-es5/{popper-7f6cf197.js → popper-0c675fb8.js} +2 -2
  769. package/dist/esm-es5/{resources-2275dd9a.js → resources-39f0680b.js} +2 -2
  770. package/dist/esm-es5/{resources-b0ef8228.js → resources-5cec7a36.js} +1 -1
  771. package/dist/esm-es5/{resources-b064c016.js → resources-99fb266f.js} +1 -1
  772. package/dist/esm-es5/{resources-7941421d.js → resources-b18ac0da.js} +2 -2
  773. package/dist/esm-es5/{sortable.esm-a9eb30f8.js → sortable.esm-b8bcf719.js} +1 -1
  774. package/dist/esm-es5/{utils-442279d6.js → utils-4739b1d9.js} +1 -1
  775. package/dist/extras/docs-json.json +26 -11
  776. package/dist/loader/cdn.js +1 -1
  777. package/dist/loader/index.cjs.js +1 -1
  778. package/dist/loader/index.es2017.js +1 -1
  779. package/dist/loader/index.js +1 -1
  780. package/dist/types/components/popover/PopoverManager.d.ts +10 -0
  781. package/dist/types/components/popover/popover.d.ts +4 -0
  782. package/dist/types/components/popover/resources.d.ts +0 -1
  783. package/dist/types/components/popover-manager/popover-manager.d.ts +6 -2
  784. package/dist/types/components.d.ts +8 -0
  785. package/hydrate/index.js +103 -46
  786. package/package.json +3 -3
  787. package/readme.md +2 -2
  788. package/dist/calcite/p-07e641ba.js +0 -6
  789. package/dist/calcite/p-0e9766c8.entry.js +0 -6
  790. package/dist/calcite/p-1deaa010.entry.js +0 -6
  791. package/dist/calcite/p-27bf89cf.system.js +0 -6
  792. package/dist/calcite/p-3746cde8.entry.js +0 -6
  793. package/dist/calcite/p-4985c997.entry.js +0 -6
  794. package/dist/calcite/p-4bbc21ae.system.entry.js +0 -6
  795. package/dist/calcite/p-80e9f473.system.entry.js +0 -6
  796. package/dist/calcite/p-b17f15dc.js +0 -6
  797. package/dist/calcite/p-b1b979a8.system.js +0 -6
  798. package/dist/calcite/p-d1b2d2c5.js +0 -6
  799. package/dist/calcite/p-f37cb564.js +0 -6
  800. package/dist/components/resources4.js +0 -33
@@ -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.445
4
+ * v1.0.0-next.448
5
5
  */
6
- import{r as registerInstance,h,F as Fragment,g as getElement,c as createEvent,f as forceUpdate}from"./index-894dfc81.js";import{g as getSlotted,a as getElementDir}from"./dom-db598077.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-2522e30f.js";import{c as clamp}from"./math-acdc37ac.js";import"./guid-9fa375f5.js";import"./observers-9608d2fa.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",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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;height:100%;width: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;height:100%;width: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-height:unset}.content--behind{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:0;border-width:0px;display:initial}::slotted(calcite-shell-center-row){width:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-left-width:1px;border-right-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;-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);bottom:0.5rem;left:var(--calcite-shell-tip-spacing);right:var(--calcite-shell-tip-spacing);z-index:2}";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}),this.renderContent(),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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;height:100%;width:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-left:0.5rem;margin-right:0.5rem;margin-top:0.5rem;margin-bottom: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]){height:33.333333%}:host([height-scale=m]){height:70%}:host([height-scale=l]){height:100%}:host([height-scale=l][detached]){height:calc(100% - 2rem)}::slotted(calcite-panel){height:100%;width: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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;bottom:0px;top:0px;z-index:10;display:-ms-flexbox;display:flex;height:100%;width:0.125rem;background-color:transparent;opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay: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){height:100%;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset;max-width: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;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height var(--calcite-animation-timing), max-width var(--calcite-animation-timing);transition:max-height var(--calcite-animation-timing), max-width 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-left:0.5rem;margin-right:0.5rem;margin-top:0.5rem;margin-bottom:auto;height: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-height:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-height: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){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",7);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-92504161.js";import{g as getSlotted,a as getElementDir}from"./dom-290f3af6.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-691ce9ca.js";import{c as clamp}from"./math-7afc6cf5.js";import"./guid-7933b2cc.js";import"./observers-a4f027a4.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",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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;height:100%;width: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;height:100%;width: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-height:unset}.content--behind{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:0;border-width:0px;display:initial}::slotted(calcite-shell-center-row){width:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-left-width:1px;border-right-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;-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);bottom:0.5rem;left:var(--calcite-shell-tip-spacing);right:var(--calcite-shell-tip-spacing);z-index:2}";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}),this.renderContent(),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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;height:100%;width:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-left:0.5rem;margin-right:0.5rem;margin-top:0.5rem;margin-bottom: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]){height:33.333333%}:host([height-scale=m]){height:70%}:host([height-scale=l]){height:100%}:host([height-scale=l][detached]){height:calc(100% - 2rem)}::slotted(calcite-panel){height:100%;width: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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;bottom:0px;top:0px;z-index:10;display:-ms-flexbox;display:flex;height:100%;width:0.125rem;background-color:transparent;opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay: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){height:100%;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset;max-width: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;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height var(--calcite-animation-timing), max-width var(--calcite-animation-timing);transition:max-height var(--calcite-animation-timing), max-width 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-left:0.5rem;margin-right:0.5rem;margin-top:0.5rem;margin-bottom:auto;height: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-height:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-height: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){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",7);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,c=n.contentWidthMax,s=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 s+w*b}var x=a==="ArrowDown"||(d==="end"?a===f[1]:a===f[0]);if(x){var b=t.shiftKey?m:o;return s-w*b}if(typeof l==="number"&&a==="Home"){return l}if(typeof c==="number"&&a==="End"){return c}if(a==="PageDown"){return s-m}if(a==="PageUp"){return s+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 c=getElementDir(n);var s=c==="rtl"?-1:1;var d=o==="end"?-s*l:s*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,c=a.contentWidthMax,s=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":c,"aria-valuemin":s,"aria-valuenow":l!==null&&l!==void 0?l:r,class:CSS.separator,key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null;var u=h("slot",{key:"action-bar",name:SLOTS.actionBar});var b=[u,f,w];if(o==="end"){b.reverse()}return h("div",{class:(e={},e[CSS.container]=true,e)},b)};t.prototype.setContentWidth=function(t){var e=this,a=e.contentWidthMax,n=e.contentWidthMin;var i=Math.round(t);this.contentWidth=typeof a==="number"&&typeof n==="number"?clamp(i,n,a):i};t.prototype.updateAriaValues=function(){var t=this.contentEl;var e=t&&getComputedStyle(t);if(!e){return}var a=parseInt(e.getPropertyValue("max-width"),10);var n=parseInt(e.getPropertyValue("min-width"),10);var i=parseInt(e.getPropertyValue("width"),10);if(typeof i==="number"&&!isNaN(i)){this.initialContentWidth=i}if(typeof a==="number"&&!isNaN(a)){this.contentWidthMax=a}if(typeof n==="number"&&!isNaN(n)){this.contentWidthMin=n}forceUpdate(this)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{collapsed:["watchHandler"]}},enumerable:false,configurable:true});return t}();ShellPanel.style=shellPanelCss;export{Shell as calcite_shell,ShellCenterRow as calcite_shell_center_row,ShellPanel as calcite_shell_panel};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.445
4
+ * v1.0.0-next.448
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-894dfc81.js";import{S as Sortable}from"./sortable.esm-a9eb30f8.js";import{c as createObserver}from"./observers-9608d2fa.js";import{u as updateHostInteraction}from"./interactive-09f3618d.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex}: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([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",7);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-92504161.js";import{S as Sortable}from"./sortable.esm-b8bcf719.js";import{c as createObserver}from"./observers-a4f027a4.js";import{u as updateHostInteraction}from"./interactive-c059baa1.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex}: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([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",7);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.445
4
+ * v1.0.0-next.448
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-894dfc81.js";import{u as updateHostInteraction}from"./interactive-09f3618d.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}: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{height: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{width:auto}.width-half{width:50%}.width-full{width:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;width:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-top:0.25rem;margin-bottom:0.25rem;display:inline-block;width:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-top:1px solid var(--calcite-split-button-divider);border-bottom: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]){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([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",7);this.calciteSplitButtonSecondaryClick=createEvent(this,"calciteSplitButtonSecondaryClick",7);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-trailing",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-92504161.js";import{u as updateHostInteraction}from"./interactive-c059baa1.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}: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{height: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{width:auto}.width-half{width:50%}.width-full{width:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;width:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-top:0.25rem;margin-bottom:0.25rem;display:inline-block;width:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-top:1px solid var(--calcite-split-button-divider);border-bottom: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]){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([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",7);this.calciteSplitButtonSecondaryClick=createEvent(this,"calciteSplitButtonSecondaryClick",7);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-trailing",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 r(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.445
6
- */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-894dfc81.js";import{d as getElementProp}from"./dom-db598077.js";import{u as updateHostInteraction}from"./interactive-09f3618d.js";import"./guid-9fa375f5.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;width:100%;min-width:100%;-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 ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap}";var Stepper=function(){function t(t){registerInstance(this,t);this.calciteStepperItemChange=createEvent(this,"calciteStepperItemChange",7);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.items=[];this.sortedItems=[]}t.prototype.contentWatcher=function(){if(this.layout==="horizontal"){if(!this.stepperContentContainer&&this.requestedContent){this.addHorizontalContentContainer()}this.updateContent(this.requestedContent)}};t.prototype.componentDidLoad=function(){if(!this.currentPosition){this.calciteStepperItemChange.emit({position:0})}};t.prototype.componentWillLoad=function(){if(this.layout==="horizontal"&&!this.stepperContentContainer){this.addHorizontalContentContainer()}};t.prototype.render=function(){return h("slot",null)};t.prototype.calciteStepperItemKeyEvent=function(t){var e=t.detail.item;var i=t.target;var n=this.itemIndex(i)===0;var r=this.itemIndex(i)===this.sortedItems.length-1;switch(e.key){case"ArrowDown":case"ArrowRight":if(r){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.prototype.registerItem=function(t){var e={item:t.target,position:t.detail.position,content:t.detail.content};if(e.content&&e.item.active){this.requestedContent=e.content}if(!this.items.includes(e)){this.items.push(e)}this.sortedItems=this.sortItems()};t.prototype.updateItem=function(t){if(t.detail.content){this.requestedContent=t.detail.content}this.currentPosition=t.detail.position;this.calciteStepperItemChange.emit({position:this.currentPosition})};t.prototype.nextStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=this.currentPosition+1<this.items.length?this.currentPosition+1:this.currentPosition;this.emitChangedItem();return[2]}))}))};t.prototype.prevStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=this.currentPosition-1>=0?this.currentPosition-1:this.currentPosition;this.emitChangedItem();return[2]}))}))};t.prototype.goToStep=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.currentPosition=t-1;this.emitChangedItem();return[2]}))}))};t.prototype.startStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=0;this.emitChangedItem();return[2]}))}))};t.prototype.endStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=this.items.length-1;this.emitChangedItem();return[2]}))}))};t.prototype.addHorizontalContentContainer=function(){this.stepperContentContainer=document.createElement("div");this.stepperContentContainer.classList.add("calcite-stepper-content");this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)};t.prototype.emitChangedItem=function(){this.calciteStepperItemChange.emit({position:this.currentPosition})};t.prototype.focusFirstItem=function(){var t=this.sortedItems[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.sortedItems[this.sortedItems.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.sortedItems[e+1]||this.sortedItems[0];this.focusElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.sortedItems[e-1]||this.sortedItems[this.sortedItems.length-1];this.focusElement(i)};t.prototype.itemIndex=function(t){return this.sortedItems.indexOf(t)};t.prototype.focusElement=function(t){var e=t;e.focus()};t.prototype.sortItems=function(){var t=Array.from(this.items).filter((function(t){return!t.item.disabled})).sort((function(t,e){return t.position-e.position})).map((function(t){return t.item}));return __spreadArray([],Array.from(new Set(t)),true)};t.prototype.updateContent=function(t){var e;this.stepperContentContainer.innerHTML="";(e=this.stepperContentContainer).append.apply(e,t)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{requestedContent:["contentWatcher"]}},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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}: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-subtitle{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-subtitle{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-subtitle{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;margin-bottom: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-top-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-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}: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;width: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);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height: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-title,:host .stepper-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-title{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-subtitle{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]){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([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-top-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-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-title,:host(:focus:not([disabled]):not([active])) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-subtitle,:host(:focus:not([disabled]):not([active])) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-subtitle{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([layout=vertical]) .container{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom: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-top:1px;margin-bottom: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][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}: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]: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)}";var StepperItem=function(){function t(t){registerInstance(this,t);this.calciteStepperItemKeyEvent=createEvent(this,"calciteStepperItemKeyEvent",7);this.calciteStepperItemSelect=createEvent(this,"calciteStepperItemSelect",7);this.calciteStepperItemRegister=createEvent(this,"calciteStepperItemRegister",7);this.active=false;this.complete=false;this.error=false;this.disabled=false;this.icon=false;this.numbered=false;this.scale="m"}t.prototype.disabledWatcher=function(){this.registerStepperItem()};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};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.itemContent=this.getItemContent();this.registerStepperItem();if(this.active){this.emitRequestedItem()}};t.prototype.componentDidUpdate=function(){if(this.active){this.emitRequestedItem()}};t.prototype.componentDidRender=function(){updateHostInteraction(this,true)};t.prototype.render=function(){var t=this;return h(Host,{"aria-expanded":this.active.toString(),onClick:function(){return t.emitRequestedItem()}},h("div",{class:"container"},h("div",{class:"stepper-item-header"},this.icon?this.renderIcon():null,this.numbered?h("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,h("div",{class:"stepper-item-header-text"},h("span",{class:"stepper-item-title"},this.itemTitle),h("span",{class:"stepper-item-subtitle"},this.itemSubtitle))),h("div",{class:"stepper-item-content"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(!this.disabled&&t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteStepperItemKeyEvent.emit({item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){if(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl)){this.activePosition=t.detail.position;this.determineActiveItem()}};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.calciteStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})};t.prototype.emitRequestedItem=function(){if(!this.disabled){this.calciteStepperItemSelect.emit({position:this.itemPosition,content:this.itemContent})}};t.prototype.getItemContent=function(){var t;return((t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelector("slot"))?this.el.shadowRoot.querySelector("slot").assignedNodes({flatten:true}):this.el.querySelector(".stepper-item-content")?this.el.querySelector(".stepper-item-content").childNodes:null};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),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"]}},enumerable:false,configurable:true});return t}();StepperItem.style=stepperItemCss;export{Stepper as calcite_stepper,StepperItem as calcite_stepper_item};
5
+ * v1.0.0-next.448
6
+ */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-92504161.js";import{d as getElementProp}from"./dom-290f3af6.js";import{u as updateHostInteraction}from"./interactive-c059baa1.js";import"./guid-7933b2cc.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;width:100%;min-width:100%;-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 ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap}";var Stepper=function(){function t(t){registerInstance(this,t);this.calciteStepperItemChange=createEvent(this,"calciteStepperItemChange",7);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.items=[];this.sortedItems=[]}t.prototype.contentWatcher=function(){if(this.layout==="horizontal"){if(!this.stepperContentContainer&&this.requestedContent){this.addHorizontalContentContainer()}this.updateContent(this.requestedContent)}};t.prototype.componentDidLoad=function(){if(!this.currentPosition){this.calciteStepperItemChange.emit({position:0})}};t.prototype.componentWillLoad=function(){if(this.layout==="horizontal"&&!this.stepperContentContainer){this.addHorizontalContentContainer()}};t.prototype.render=function(){return h("slot",null)};t.prototype.calciteStepperItemKeyEvent=function(t){var e=t.detail.item;var i=t.target;var n=this.itemIndex(i)===0;var r=this.itemIndex(i)===this.sortedItems.length-1;switch(e.key){case"ArrowDown":case"ArrowRight":if(r){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.prototype.registerItem=function(t){var e={item:t.target,position:t.detail.position,content:t.detail.content};if(e.content&&e.item.active){this.requestedContent=e.content}if(!this.items.includes(e)){this.items.push(e)}this.sortedItems=this.sortItems()};t.prototype.updateItem=function(t){if(t.detail.content){this.requestedContent=t.detail.content}this.currentPosition=t.detail.position;this.calciteStepperItemChange.emit({position:this.currentPosition})};t.prototype.nextStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=this.currentPosition+1<this.items.length?this.currentPosition+1:this.currentPosition;this.emitChangedItem();return[2]}))}))};t.prototype.prevStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=this.currentPosition-1>=0?this.currentPosition-1:this.currentPosition;this.emitChangedItem();return[2]}))}))};t.prototype.goToStep=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.currentPosition=t-1;this.emitChangedItem();return[2]}))}))};t.prototype.startStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=0;this.emitChangedItem();return[2]}))}))};t.prototype.endStep=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentPosition=this.items.length-1;this.emitChangedItem();return[2]}))}))};t.prototype.addHorizontalContentContainer=function(){this.stepperContentContainer=document.createElement("div");this.stepperContentContainer.classList.add("calcite-stepper-content");this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)};t.prototype.emitChangedItem=function(){this.calciteStepperItemChange.emit({position:this.currentPosition})};t.prototype.focusFirstItem=function(){var t=this.sortedItems[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.sortedItems[this.sortedItems.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.sortedItems[e+1]||this.sortedItems[0];this.focusElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.sortedItems[e-1]||this.sortedItems[this.sortedItems.length-1];this.focusElement(i)};t.prototype.itemIndex=function(t){return this.sortedItems.indexOf(t)};t.prototype.focusElement=function(t){var e=t;e.focus()};t.prototype.sortItems=function(){var t=Array.from(this.items).filter((function(t){return!t.item.disabled})).sort((function(t,e){return t.position-e.position})).map((function(t){return t.item}));return __spreadArray([],Array.from(new Set(t)),true)};t.prototype.updateContent=function(t){var e;this.stepperContentContainer.innerHTML="";(e=this.stepperContentContainer).append.apply(e,t)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{requestedContent:["contentWatcher"]}},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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}: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-subtitle{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-subtitle{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-subtitle{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;margin-bottom: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-top-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-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}: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;width: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);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height: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-title,:host .stepper-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-title{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-subtitle{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]){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([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-top-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-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-title,:host(:focus:not([disabled]):not([active])) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-subtitle,:host(:focus:not([disabled]):not([active])) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-subtitle{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([layout=vertical]) .container{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom: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-top:1px;margin-bottom: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][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}: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]: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)}";var StepperItem=function(){function t(t){registerInstance(this,t);this.calciteStepperItemKeyEvent=createEvent(this,"calciteStepperItemKeyEvent",7);this.calciteStepperItemSelect=createEvent(this,"calciteStepperItemSelect",7);this.calciteStepperItemRegister=createEvent(this,"calciteStepperItemRegister",7);this.active=false;this.complete=false;this.error=false;this.disabled=false;this.icon=false;this.numbered=false;this.scale="m"}t.prototype.disabledWatcher=function(){this.registerStepperItem()};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};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.itemContent=this.getItemContent();this.registerStepperItem();if(this.active){this.emitRequestedItem()}};t.prototype.componentDidUpdate=function(){if(this.active){this.emitRequestedItem()}};t.prototype.componentDidRender=function(){updateHostInteraction(this,true)};t.prototype.render=function(){var t=this;return h(Host,{"aria-expanded":this.active.toString(),onClick:function(){return t.emitRequestedItem()}},h("div",{class:"container"},h("div",{class:"stepper-item-header"},this.icon?this.renderIcon():null,this.numbered?h("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,h("div",{class:"stepper-item-header-text"},h("span",{class:"stepper-item-title"},this.itemTitle),h("span",{class:"stepper-item-subtitle"},this.itemSubtitle))),h("div",{class:"stepper-item-content"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(!this.disabled&&t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteStepperItemKeyEvent.emit({item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){if(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl)){this.activePosition=t.detail.position;this.determineActiveItem()}};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.calciteStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})};t.prototype.emitRequestedItem=function(){if(!this.disabled){this.calciteStepperItemSelect.emit({position:this.itemPosition,content:this.itemContent})}};t.prototype.getItemContent=function(){var t;return((t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelector("slot"))?this.el.shadowRoot.querySelector("slot").assignedNodes({flatten:true}):this.el.querySelector(".stepper-item-content")?this.el.querySelector(".stepper-item-content").childNodes:null};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),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"]}},enumerable:false,configurable:true});return t}();StepperItem.style=stepperItemCss;export{Stepper as calcite_stepper,StepperItem as calcite_stepper_item};
@@ -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.445
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-894dfc81.js";import{f as focusElement}from"./dom-db598077.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-6c0e1ae1.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-61a289f0.js";import{u as updateHostInteraction}from"./interactive-09f3618d.js";import"./guid-9fa375f5.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]) .container{height:0.75rem}:host([scale=s]) .track{height:0.75rem;width:1.5rem}:host([scale=s]) .handle{height:0.5rem;width:0.5rem}:host([scale=m]) .container{height:1rem}:host([scale=m]) .track{height:1rem;width:2rem}:host([scale=m]) .handle{height:0.75rem;width:0.75rem}:host([scale=l]) .container{height:1.5rem}:host([scale=l]) .track{height:1.5rem;width:3rem}:host([scale=l]) .handle{height:1.25rem;width:1.25rem}:host{position:relative;display:inline-block;width: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]){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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{width:auto;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.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);top:-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]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top: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",7);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":this.checked.toString(),"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.448
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-92504161.js";import{f as focusElement}from"./dom-290f3af6.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-42ce112b.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-528f73bb.js";import{u as updateHostInteraction}from"./interactive-c059baa1.js";import"./guid-7933b2cc.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]) .container{height:0.75rem}:host([scale=s]) .track{height:0.75rem;width:1.5rem}:host([scale=s]) .handle{height:0.5rem;width:0.5rem}:host([scale=m]) .container{height:1rem}:host([scale=m]) .track{height:1rem;width:2rem}:host([scale=m]) .handle{height:0.75rem;width:0.75rem}:host([scale=l]) .container{height:1.5rem}:host([scale=l]) .track{height:1.5rem;width:3rem}:host([scale=l]) .handle{height:1.25rem;width:1.25rem}:host{position:relative;display:inline-block;width: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]){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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{width:auto;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.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);top:-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]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top: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",7);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":this.checked.toString(),"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};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(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.445
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement,F as Fragment}from"./index-894dfc81.js";import{g as guid}from"./guid-9fa375f5.js";import{n as nodeListToArray,a as getElementDir,k as filterDirectChildren,d as getElementProp}from"./dom-db598077.js";import{c as createObserver}from"./observers-9608d2fa.js";import{u as updateHostInteraction}from"./interactive-09f3618d.js";var tabCss="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([active]) section{display:block}:host{display:none;height:100%;width:100%}:host([active]){display:block;height:100%;width:100%;overflow:auto}section{display:none;height:100%;width:100%}:host([scale=s]){padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}";var Tab=function(){function t(t){registerInstance(this,t);this.calciteTabRegister=createEvent(this,"calciteTabRegister",7);this.active=false;this.scale="m";this.guid="calcite-tab-title-".concat(guid())}t.prototype.render=function(){var t=this.el.id||this.guid;return h(Host,{"aria-expanded":this.active.toString(),"aria-labelledby":this.labeledBy,id:t,role:"tabpanel"},h("section",null,h("slot",null)))};t.prototype.connectedCallback=function(){this.parentTabsEl=this.el.closest("calcite-tabs")};t.prototype.componentDidLoad=function(){this.calciteTabRegister.emit()};t.prototype.componentWillRender=function(){var t;this.scale=(t=this.parentTabsEl)===null||t===void 0?void 0:t.scale};t.prototype.disconnectedCallback=function(){var t;(t=document.body)===null||t===void 0?void 0:t.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))};t.prototype.internalTabChangeHandler=function(t){var e=this;var i=t.composedPath().find((function(t){return t.tagName==="CALCITE-TABS"}));if(i!==this.parentTabsEl){return}if(this.tab){this.active=this.tab===t.detail.tab}else{this.getTabIndex().then((function(i){e.active=i===t.detail.tab}))}};t.prototype.getTabIndex=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Array.prototype.indexOf.call(nodeListToArray(this.el.parentElement.children).filter((function(t){return t.matches("calcite-tab")})),this.el)]}))}))};t.prototype.updateAriaInfo=function(t,e){if(t===void 0){t=[]}if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.labeledBy=e[t.indexOf(this.el.id)]||null;return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Tab.style=tabCss;var tabNavCss="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex}:host([scale=s]){min-height:1.5rem}:host([scale=m]){min-height:2rem}:host([scale=l]){min-height:2.75rem}.tab-nav{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}:host([layout=center]) .tab-nav{-ms-flex-pack:center;justify-content:center}.tab-nav-active-indicator-container{position:absolute;left:0px;right:0px;bottom:0px;height:0.125rem;width:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;bottom:0px;display:block;height:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([position=below]) .tab-nav-active-indicator{bottom:unset;top:0px}:host([position=below]) .tab-nav-active-indicator-container{bottom:unset;top:0px}:host([bordered]) .tab-nav-active-indicator-container{bottom:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{bottom:0;top:unset}";var TabNav=function(){function t(t){var e=this;registerInstance(this,t);this.calciteTabChange=createEvent(this,"calciteTabChange",7);this.calciteInternalTabChange=createEvent(this,"calciteInternalTabChange",7);this.scale="m";this.layout="inline";this.position="below";this.bordered=false;this.animationActiveDuration=.3;this.resizeObserver=createObserver("resize",(function(){e.activeIndicatorEl.style.transitionDuration="0s";e.updateActiveWidth();e.updateOffsetPosition()}));this.handleContainerScroll=function(){e.activeIndicatorEl.style.transitionDuration="0s";e.updateOffsetPosition()}}t.prototype.selectedTabChanged=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(localStorage&&this.storageId&&this.selectedTab!==undefined&&this.selectedTab!==null){localStorage.setItem("calcite-tab-nav-".concat(this.storageId),JSON.stringify(this.selectedTab))}this.calciteInternalTabChange.emit({tab:this.selectedTab});t=this;return[4,this.getTabTitleById(this.selectedTab)];case 1:t.selectedTabEl=e.sent();return[2]}}))}))};t.prototype.selectedTabElChanged=function(){this.updateOffsetPosition();this.updateActiveWidth();this.activeIndicatorEl.style.transitionDuration="".concat(this.animationActiveDuration,"s")};t.prototype.connectedCallback=function(){var t;this.parentTabsEl=this.el.closest("calcite-tabs");(t=this.resizeObserver)===null||t===void 0?void 0:t.observe(this.el)};t.prototype.disconnectedCallback=function(){var t;(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.componentWillLoad=function(){var t="calcite-tab-nav-".concat(this.storageId);if(localStorage&&this.storageId&&localStorage.getItem(t)){var e=JSON.parse(localStorage.getItem(t));this.selectedTab=e}};t.prototype.componentWillRender=function(){var t=this.parentTabsEl;this.layout=t===null||t===void 0?void 0:t.layout;this.position=t===null||t===void 0?void 0:t.position;this.scale=t===null||t===void 0?void 0:t.scale;this.bordered=t===null||t===void 0?void 0:t.bordered;if(this.selectedTabEl){this.updateOffsetPosition()}};t.prototype.componentDidRender=function(){var t=this;if(this.tabTitles.length&&this.tabTitles.every((function(t){return!t.active}))&&!this.selectedTab){this.tabTitles[0].getTabIdentifier().then((function(e){t.calciteInternalTabChange.emit({tab:e})}))}};t.prototype.render=function(){var t=this;var e=getElementDir(this.el);var i="".concat(this.indicatorWidth,"px");var a="".concat(this.indicatorOffset,"px");var n=e!=="rtl"?{width:i,left:a}:{width:i,right:a};return h(Host,{role:"tablist"},h("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:function(e){return t.tabNavEl=e}},h("div",{class:"tab-nav-active-indicator-container",ref:function(e){return t.activeIndicatorContainerEl=e}},h("div",{class:"tab-nav-active-indicator",ref:function(e){return t.activeIndicatorEl=e},style:n})),h("slot",null)))};t.prototype.focusPreviousTabHandler=function(t){var e=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);var i=this.enabledTabTitles[e-1]||this.enabledTabTitles[this.enabledTabTitles.length-1];i.focus();t.stopPropagation();t.preventDefault()};t.prototype.focusNextTabHandler=function(t){var e=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);var i=this.enabledTabTitles[e+1]||this.enabledTabTitles[0];i.focus();t.stopPropagation();t.preventDefault()};t.prototype.internalActivateTabHandler=function(t){this.selectedTab=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target);t.stopPropagation();t.preventDefault()};t.prototype.activateTabHandler=function(t){this.calciteTabChange.emit({tab:this.selectedTab});t.stopPropagation();t.preventDefault()};t.prototype.updateTabTitles=function(t){if(t.target.active){this.selectedTab=t.detail}};t.prototype.globalInternalTabChangeHandler=function(t){if(this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTab!==t.detail.tab){this.selectedTab=t.detail.tab;t.stopPropagation()}};t.prototype.updateOffsetPosition=function(){var t,e,i,a,n;var r=getElementDir(this.el);var o=(t=this.activeIndicatorContainerEl)===null||t===void 0?void 0:t.offsetWidth;var s=(e=this.selectedTabEl)===null||e===void 0?void 0:e.offsetLeft;var c=(i=this.selectedTabEl)===null||i===void 0?void 0:i.offsetWidth;var l=o-(s+c);this.indicatorOffset=r!=="rtl"?s-((a=this.tabNavEl)===null||a===void 0?void 0:a.scrollLeft):l+((n=this.tabNavEl)===null||n===void 0?void 0:n.scrollLeft)};t.prototype.updateActiveWidth=function(){var t;this.indicatorWidth=(t=this.selectedTabEl)===null||t===void 0?void 0:t.offsetWidth};t.prototype.getIndexOfTabTitle=function(t,e){if(e===void 0){e=this.tabTitles}return e.indexOf(t)};t.prototype.getTabTitleById=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){return[2,Promise.all(this.tabTitles.map((function(t){return t.getTabIdentifier()}))).then((function(i){return e.tabTitles[i.indexOf(t)]}))]}))}))};Object.defineProperty(t.prototype,"tabTitles",{get:function(){return filterDirectChildren(this.el,"calcite-tab-title")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"enabledTabTitles",{get:function(){return filterDirectChildren(this.el,"calcite-tab-title:not([disabled])")},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{selectedTab:["selectedTabChanged"],selectedTabEl:["selectedTabElChanged"]}},enumerable:false,configurable:true});return t}();TabNav.style=tabNavCss;var tabTitleCss="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin-right:1.25rem;display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}:host([layout=center]){margin-top:0px;margin-bottom:0px;margin-left:1.25rem;margin-right:1.25rem;text-align:center;-ms-flex-preferred-size:12rem;flex-basis:12rem}:host([position=below]) a{border-bottom-width:0px;border-top-width:2px;border-top-color:transparent;border-top-style:solid}:host a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) a{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([active]) a{border-color:transparent;color:var(--calcite-ui-text-1)}: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([disabled]) span,:host([disabled]) a{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){-webkit-margin-end:1rem;margin-inline-end:1rem}:host([scale=s]) a,:host([scale=s]) span{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) a,:host([scale=m]) span{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}:host([scale=l]) a,:host([scale=l]) span{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}a,span{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:2px;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-bottom-color:transparent;border-bottom-style:solid}span{cursor:default}.calcite-tab-title--icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:center;align-self:center}.calcite-tab-title--icon svg{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.container--has-text{padding:0.25rem}.container--has-text .calcite-tab-title--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.container--has-text .calcite-tab-title--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([bordered]){-webkit-margin-end:0;margin-inline-end:0}:host([bordered][active]){-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][active][position=below]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) a,:host([bordered]:focus) a,:host([bordered]:active) a{position:relative}:host([bordered]:hover) a{background-color:var(--calcite-button-transparent-hover);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([bordered]) a{border-bottom-style:unset}:host([bordered][position=below]) a{border-top-style:unset}:host([active][bordered]) a{border-left:1px solid var(--calcite-ui-border-1);border-right:1px solid var(--calcite-ui-border-1)}:host([bordered]) a,:host([bordered]) span{padding-left:0.75rem;padding-right:0.75rem}:host([bordered][scale=s]) a,:host([bordered][scale=s]) span{padding-left:0.5rem;padding-right:0.5rem}:host([bordered][scale=l]) a,:host([bordered][scale=l]) span{padding-left:1rem;padding-right:1rem}";var TabTitle=function(){function t(t){var e=this;registerInstance(this,t);this.calciteTabsActivate=createEvent(this,"calciteTabsActivate",7);this.calciteInternalTabsActivate=createEvent(this,"calciteInternalTabsActivate",7);this.calciteTabsFocusNext=createEvent(this,"calciteTabsFocusNext",7);this.calciteTabsFocusPrevious=createEvent(this,"calciteTabsFocusPrevious",7);this.calciteTabTitleRegister=createEvent(this,"calciteTabTitleRegister",7);this.active=false;this.disabled=false;this.bordered=false;this.mutationObserver=createObserver("mutation",(function(){return e.updateHasText()}));this.hasText=false;this.guid="calcite-tab-title-".concat(guid())}t.prototype.activeTabChanged=function(){if(this.active){this.emitActiveTab(false)}};t.prototype.connectedCallback=function(){this.setupTextContentObserver();this.parentTabNavEl=this.el.closest("calcite-tab-nav");this.parentTabsEl=this.el.closest("calcite-tabs")};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=document.body)===null||e===void 0?void 0:e.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}))};t.prototype.componentWillLoad=function(){{this.updateHasText()}if(this.tab&&this.active){this.emitActiveTab(false)}};t.prototype.componentWillRender=function(){if(this.parentTabsEl){this.layout=this.parentTabsEl.layout;this.position=this.parentTabsEl.position;this.scale=this.parentTabsEl.scale;this.bordered=this.parentTabsEl.bordered}if(!this.parentTabsEl&&this.parentTabNavEl){this.position=getElementProp(this.parentTabNavEl,"position",this.position);this.scale=getElementProp(this.parentTabNavEl,"scale",this.scale)}};t.prototype.render=function(){var t=this.el.id||this.guid;var e=this.bordered&&!this.disabled&&this.layout!=="center";var i=h("calcite-icon",{class:"calcite-tab-title--icon icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var a=h("calcite-icon",{class:"calcite-tab-title--icon icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});return h(Host,{"aria-controls":this.controls,"aria-expanded":this.active.toString(),id:t,role:"tab"},h("a",{class:{container:true,"container--has-text":this.hasText},style:e&&{width:"".concat(this.parentTabNavEl.indicatorWidth,"px")}},this.iconStart?i:null,h("slot",null),this.iconEnd?a:null))};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:e=(t=this.calciteTabTitleRegister).emit;return[4,this.getTabIdentifier()];case 1:e.apply(t,[i.sent()]);return[2]}}))}))};t.prototype.componentDidRender=function(){updateHostInteraction(this,true)};t.prototype.internalTabChangeHandler=function(t){var e=this;var i=t.composedPath().find((function(t){return t.tagName==="CALCITE-TABS"}));if(i!==this.parentTabsEl){return}if(this.tab){this.active=this.tab===t.detail.tab}else{this.getTabIndex().then((function(i){e.active=i===t.detail.tab}))}t.stopPropagation()};t.prototype.onClick=function(){this.emitActiveTab()};t.prototype.keyDownHandler=function(t){switch(t.key){case" ":case"Enter":this.emitActiveTab();t.preventDefault();break;case"ArrowRight":if(getElementDir(this.el)==="ltr"){this.calciteTabsFocusNext.emit()}else{this.calciteTabsFocusPrevious.emit()}break;case"ArrowLeft":if(getElementDir(this.el)==="ltr"){this.calciteTabsFocusPrevious.emit()}else{this.calciteTabsFocusNext.emit()}break}};t.prototype.getTabIndex=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-tab-title"),this.el)]}))}))};t.prototype.getTabIdentifier=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.tab?this.tab:this.getTabIndex()]}))}))};t.prototype.updateAriaInfo=function(t,e){if(t===void 0){t=[]}if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.controls=t[e.indexOf(this.el.id)]||null;return[2]}))}))};t.prototype.updateHasText=function(){this.hasText=this.el.textContent.trim().length>0};t.prototype.setupTextContentObserver=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.emitActiveTab=function(t){if(t===void 0){t=true}if(this.disabled){return}var e={tab:this.tab};this.calciteInternalTabsActivate.emit(e);if(t){this.calciteTabsActivate.emit(e)}};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeTabChanged"]}},enumerable:false,configurable:true});return t}();TabTitle.style=tabTitleCss;var SLOTS={tabNav:"tab-nav"};var tabsCss="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){margin-bottom:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){margin-top:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:hidden;border-top-width:1px;border-top-color:var(--calcite-ui-border-1);border-top-style:solid}:host([position=below]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-top-width:0px;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-1)}:host([position=below]:not([bordered])) section{border-bottom-style:solid}";var Tabs=function(){function t(t){registerInstance(this,t);this.layout="inline";this.position="above";this.scale="m";this.bordered=false;this.titles=[];this.tabs=[]}t.prototype.connectedCallback=function(){if(this.layout==="center"){this.bordered=false}};t.prototype.render=function(){return h(Fragment,null,h("slot",{name:SLOTS.tabNav}),h("section",null,h("slot",null)))};t.prototype.calciteTabTitleRegister=function(t){this.titles=__spreadArray(__spreadArray([],this.titles,true),[t.target],false);this.registryHandler();t.stopPropagation()};t.prototype.calciteTabTitleUnregister=function(t){this.titles=this.titles.filter((function(e){return e!==t.detail}));this.registryHandler();t.stopPropagation()};t.prototype.calciteTabRegister=function(t){this.tabs=__spreadArray(__spreadArray([],this.tabs,true),[t.target],false);this.registryHandler();t.stopPropagation()};t.prototype.calciteTabUnregister=function(t){this.tabs=this.tabs.filter((function(e){return e!==t.detail}));this.registryHandler();t.stopPropagation()};t.prototype.registryHandler=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,a;var n=this;return __generator(this,(function(r){switch(r.label){case 0:if(!(this.tabs.some((function(t){return t.tab}))||this.titles.some((function(t){return t.tab}))))return[3,1];t=this.tabs.sort((function(t,e){return t.tab.localeCompare(e.tab)})).map((function(t){return t.id}));e=this.titles.sort((function(t,e){return t.tab.localeCompare(e.tab)})).map((function(t){return t.id}));return[3,4];case 1:return[4,Promise.all(this.tabs.map((function(t){return t.getTabIndex()})))];case 2:i=r.sent();return[4,Promise.all(this.titles.map((function(t){return t.getTabIndex()})))];case 3:a=r.sent();t=i.reduce((function(t,e,i){t[e]=n.tabs[i].id;return t}),[]);e=a.reduce((function(t,e,i){t[e]=n.titles[i].id;return t}),[]);r.label=4;case 4:this.tabs.forEach((function(i){return i.updateAriaInfo(t,e)}));this.titles.forEach((function(i){return i.updateAriaInfo(t,e)}));return[2]}}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Tabs.style=tabsCss;export{Tab as calcite_tab,TabNav as calcite_tab_nav,TabTitle as calcite_tab_title,Tabs as calcite_tabs};
5
+ * v1.0.0-next.448
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement,F as Fragment}from"./index-92504161.js";import{g as guid}from"./guid-7933b2cc.js";import{n as nodeListToArray,a as getElementDir,k as filterDirectChildren,d as getElementProp}from"./dom-290f3af6.js";import{c as createObserver}from"./observers-a4f027a4.js";import{u as updateHostInteraction}from"./interactive-c059baa1.js";var tabCss="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([active]) section{display:block}:host{display:none;height:100%;width:100%}:host([active]){display:block;height:100%;width:100%;overflow:auto}section{display:none;height:100%;width:100%}:host([scale=s]){padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}";var Tab=function(){function t(t){registerInstance(this,t);this.calciteTabRegister=createEvent(this,"calciteTabRegister",7);this.active=false;this.scale="m";this.guid="calcite-tab-title-".concat(guid())}t.prototype.render=function(){var t=this.el.id||this.guid;return h(Host,{"aria-expanded":this.active.toString(),"aria-labelledby":this.labeledBy,id:t,role:"tabpanel"},h("section",null,h("slot",null)))};t.prototype.connectedCallback=function(){this.parentTabsEl=this.el.closest("calcite-tabs")};t.prototype.componentDidLoad=function(){this.calciteTabRegister.emit()};t.prototype.componentWillRender=function(){var t;this.scale=(t=this.parentTabsEl)===null||t===void 0?void 0:t.scale};t.prototype.disconnectedCallback=function(){var t;(t=document.body)===null||t===void 0?void 0:t.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))};t.prototype.internalTabChangeHandler=function(t){var e=this;var i=t.composedPath().find((function(t){return t.tagName==="CALCITE-TABS"}));if(i!==this.parentTabsEl){return}if(this.tab){this.active=this.tab===t.detail.tab}else{this.getTabIndex().then((function(i){e.active=i===t.detail.tab}))}};t.prototype.getTabIndex=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Array.prototype.indexOf.call(nodeListToArray(this.el.parentElement.children).filter((function(t){return t.matches("calcite-tab")})),this.el)]}))}))};t.prototype.updateAriaInfo=function(t,e){if(t===void 0){t=[]}if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.labeledBy=e[t.indexOf(this.el.id)]||null;return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Tab.style=tabCss;var tabNavCss="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex}:host([scale=s]){min-height:1.5rem}:host([scale=m]){min-height:2rem}:host([scale=l]){min-height:2.75rem}.tab-nav{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}:host([layout=center]) .tab-nav{-ms-flex-pack:center;justify-content:center}.tab-nav-active-indicator-container{position:absolute;left:0px;right:0px;bottom:0px;height:0.125rem;width:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;bottom:0px;display:block;height:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([position=below]) .tab-nav-active-indicator{bottom:unset;top:0px}:host([position=below]) .tab-nav-active-indicator-container{bottom:unset;top:0px}:host([bordered]) .tab-nav-active-indicator-container{bottom:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{bottom:0;top:unset}";var TabNav=function(){function t(t){var e=this;registerInstance(this,t);this.calciteTabChange=createEvent(this,"calciteTabChange",7);this.calciteInternalTabChange=createEvent(this,"calciteInternalTabChange",7);this.scale="m";this.layout="inline";this.position="below";this.bordered=false;this.animationActiveDuration=.3;this.resizeObserver=createObserver("resize",(function(){e.activeIndicatorEl.style.transitionDuration="0s";e.updateActiveWidth();e.updateOffsetPosition()}));this.handleContainerScroll=function(){e.activeIndicatorEl.style.transitionDuration="0s";e.updateOffsetPosition()}}t.prototype.selectedTabChanged=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(localStorage&&this.storageId&&this.selectedTab!==undefined&&this.selectedTab!==null){localStorage.setItem("calcite-tab-nav-".concat(this.storageId),JSON.stringify(this.selectedTab))}this.calciteInternalTabChange.emit({tab:this.selectedTab});t=this;return[4,this.getTabTitleById(this.selectedTab)];case 1:t.selectedTabEl=e.sent();return[2]}}))}))};t.prototype.selectedTabElChanged=function(){this.updateOffsetPosition();this.updateActiveWidth();this.activeIndicatorEl.style.transitionDuration="".concat(this.animationActiveDuration,"s")};t.prototype.connectedCallback=function(){var t;this.parentTabsEl=this.el.closest("calcite-tabs");(t=this.resizeObserver)===null||t===void 0?void 0:t.observe(this.el)};t.prototype.disconnectedCallback=function(){var t;(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.componentWillLoad=function(){var t="calcite-tab-nav-".concat(this.storageId);if(localStorage&&this.storageId&&localStorage.getItem(t)){var e=JSON.parse(localStorage.getItem(t));this.selectedTab=e}};t.prototype.componentWillRender=function(){var t=this.parentTabsEl;this.layout=t===null||t===void 0?void 0:t.layout;this.position=t===null||t===void 0?void 0:t.position;this.scale=t===null||t===void 0?void 0:t.scale;this.bordered=t===null||t===void 0?void 0:t.bordered;if(this.selectedTabEl){this.updateOffsetPosition()}};t.prototype.componentDidRender=function(){var t=this;if(this.tabTitles.length&&this.tabTitles.every((function(t){return!t.active}))&&!this.selectedTab){this.tabTitles[0].getTabIdentifier().then((function(e){t.calciteInternalTabChange.emit({tab:e})}))}};t.prototype.render=function(){var t=this;var e=getElementDir(this.el);var i="".concat(this.indicatorWidth,"px");var a="".concat(this.indicatorOffset,"px");var n=e!=="rtl"?{width:i,left:a}:{width:i,right:a};return h(Host,{role:"tablist"},h("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:function(e){return t.tabNavEl=e}},h("div",{class:"tab-nav-active-indicator-container",ref:function(e){return t.activeIndicatorContainerEl=e}},h("div",{class:"tab-nav-active-indicator",ref:function(e){return t.activeIndicatorEl=e},style:n})),h("slot",null)))};t.prototype.focusPreviousTabHandler=function(t){var e=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);var i=this.enabledTabTitles[e-1]||this.enabledTabTitles[this.enabledTabTitles.length-1];i.focus();t.stopPropagation();t.preventDefault()};t.prototype.focusNextTabHandler=function(t){var e=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);var i=this.enabledTabTitles[e+1]||this.enabledTabTitles[0];i.focus();t.stopPropagation();t.preventDefault()};t.prototype.internalActivateTabHandler=function(t){this.selectedTab=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target);t.stopPropagation();t.preventDefault()};t.prototype.activateTabHandler=function(t){this.calciteTabChange.emit({tab:this.selectedTab});t.stopPropagation();t.preventDefault()};t.prototype.updateTabTitles=function(t){if(t.target.active){this.selectedTab=t.detail}};t.prototype.globalInternalTabChangeHandler=function(t){if(this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTab!==t.detail.tab){this.selectedTab=t.detail.tab;t.stopPropagation()}};t.prototype.updateOffsetPosition=function(){var t,e,i,a,n;var r=getElementDir(this.el);var o=(t=this.activeIndicatorContainerEl)===null||t===void 0?void 0:t.offsetWidth;var s=(e=this.selectedTabEl)===null||e===void 0?void 0:e.offsetLeft;var c=(i=this.selectedTabEl)===null||i===void 0?void 0:i.offsetWidth;var l=o-(s+c);this.indicatorOffset=r!=="rtl"?s-((a=this.tabNavEl)===null||a===void 0?void 0:a.scrollLeft):l+((n=this.tabNavEl)===null||n===void 0?void 0:n.scrollLeft)};t.prototype.updateActiveWidth=function(){var t;this.indicatorWidth=(t=this.selectedTabEl)===null||t===void 0?void 0:t.offsetWidth};t.prototype.getIndexOfTabTitle=function(t,e){if(e===void 0){e=this.tabTitles}return e.indexOf(t)};t.prototype.getTabTitleById=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){return[2,Promise.all(this.tabTitles.map((function(t){return t.getTabIdentifier()}))).then((function(i){return e.tabTitles[i.indexOf(t)]}))]}))}))};Object.defineProperty(t.prototype,"tabTitles",{get:function(){return filterDirectChildren(this.el,"calcite-tab-title")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"enabledTabTitles",{get:function(){return filterDirectChildren(this.el,"calcite-tab-title:not([disabled])")},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{selectedTab:["selectedTabChanged"],selectedTabEl:["selectedTabElChanged"]}},enumerable:false,configurable:true});return t}();TabNav.style=tabNavCss;var tabTitleCss="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin-right:1.25rem;display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}:host([layout=center]){margin-top:0px;margin-bottom:0px;margin-left:1.25rem;margin-right:1.25rem;text-align:center;-ms-flex-preferred-size:12rem;flex-basis:12rem}:host([position=below]) a{border-bottom-width:0px;border-top-width:2px;border-top-color:transparent;border-top-style:solid}:host a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) a{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([active]) a{border-color:transparent;color:var(--calcite-ui-text-1)}: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([disabled]) span,:host([disabled]) a{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){-webkit-margin-end:1rem;margin-inline-end:1rem}:host([scale=s]) a,:host([scale=s]) span{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) a,:host([scale=m]) span{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}:host([scale=l]) a,:host([scale=l]) span{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}a,span{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:2px;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-bottom-color:transparent;border-bottom-style:solid}span{cursor:default}.calcite-tab-title--icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:center;align-self:center}.calcite-tab-title--icon svg{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.container--has-text{padding:0.25rem}.container--has-text .calcite-tab-title--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.container--has-text .calcite-tab-title--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([bordered]){-webkit-margin-end:0;margin-inline-end:0}:host([bordered][active]){-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][active][position=below]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) a,:host([bordered]:focus) a,:host([bordered]:active) a{position:relative}:host([bordered]:hover) a{background-color:var(--calcite-button-transparent-hover);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([bordered]) a{border-bottom-style:unset}:host([bordered][position=below]) a{border-top-style:unset}:host([active][bordered]) a{border-left:1px solid var(--calcite-ui-border-1);border-right:1px solid var(--calcite-ui-border-1)}:host([bordered]) a,:host([bordered]) span{padding-left:0.75rem;padding-right:0.75rem}:host([bordered][scale=s]) a,:host([bordered][scale=s]) span{padding-left:0.5rem;padding-right:0.5rem}:host([bordered][scale=l]) a,:host([bordered][scale=l]) span{padding-left:1rem;padding-right:1rem}";var TabTitle=function(){function t(t){var e=this;registerInstance(this,t);this.calciteTabsActivate=createEvent(this,"calciteTabsActivate",7);this.calciteInternalTabsActivate=createEvent(this,"calciteInternalTabsActivate",7);this.calciteTabsFocusNext=createEvent(this,"calciteTabsFocusNext",7);this.calciteTabsFocusPrevious=createEvent(this,"calciteTabsFocusPrevious",7);this.calciteTabTitleRegister=createEvent(this,"calciteTabTitleRegister",7);this.active=false;this.disabled=false;this.bordered=false;this.mutationObserver=createObserver("mutation",(function(){return e.updateHasText()}));this.hasText=false;this.guid="calcite-tab-title-".concat(guid())}t.prototype.activeTabChanged=function(){if(this.active){this.emitActiveTab(false)}};t.prototype.connectedCallback=function(){this.setupTextContentObserver();this.parentTabNavEl=this.el.closest("calcite-tab-nav");this.parentTabsEl=this.el.closest("calcite-tabs")};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=document.body)===null||e===void 0?void 0:e.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}))};t.prototype.componentWillLoad=function(){{this.updateHasText()}if(this.tab&&this.active){this.emitActiveTab(false)}};t.prototype.componentWillRender=function(){if(this.parentTabsEl){this.layout=this.parentTabsEl.layout;this.position=this.parentTabsEl.position;this.scale=this.parentTabsEl.scale;this.bordered=this.parentTabsEl.bordered}if(!this.parentTabsEl&&this.parentTabNavEl){this.position=getElementProp(this.parentTabNavEl,"position",this.position);this.scale=getElementProp(this.parentTabNavEl,"scale",this.scale)}};t.prototype.render=function(){var t=this.el.id||this.guid;var e=this.bordered&&!this.disabled&&this.layout!=="center";var i=h("calcite-icon",{class:"calcite-tab-title--icon icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var a=h("calcite-icon",{class:"calcite-tab-title--icon icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});return h(Host,{"aria-controls":this.controls,"aria-expanded":this.active.toString(),id:t,role:"tab"},h("a",{class:{container:true,"container--has-text":this.hasText},style:e&&{width:"".concat(this.parentTabNavEl.indicatorWidth,"px")}},this.iconStart?i:null,h("slot",null),this.iconEnd?a:null))};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:e=(t=this.calciteTabTitleRegister).emit;return[4,this.getTabIdentifier()];case 1:e.apply(t,[i.sent()]);return[2]}}))}))};t.prototype.componentDidRender=function(){updateHostInteraction(this,true)};t.prototype.internalTabChangeHandler=function(t){var e=this;var i=t.composedPath().find((function(t){return t.tagName==="CALCITE-TABS"}));if(i!==this.parentTabsEl){return}if(this.tab){this.active=this.tab===t.detail.tab}else{this.getTabIndex().then((function(i){e.active=i===t.detail.tab}))}t.stopPropagation()};t.prototype.onClick=function(){this.emitActiveTab()};t.prototype.keyDownHandler=function(t){switch(t.key){case" ":case"Enter":this.emitActiveTab();t.preventDefault();break;case"ArrowRight":if(getElementDir(this.el)==="ltr"){this.calciteTabsFocusNext.emit()}else{this.calciteTabsFocusPrevious.emit()}break;case"ArrowLeft":if(getElementDir(this.el)==="ltr"){this.calciteTabsFocusPrevious.emit()}else{this.calciteTabsFocusNext.emit()}break}};t.prototype.getTabIndex=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-tab-title"),this.el)]}))}))};t.prototype.getTabIdentifier=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.tab?this.tab:this.getTabIndex()]}))}))};t.prototype.updateAriaInfo=function(t,e){if(t===void 0){t=[]}if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.controls=t[e.indexOf(this.el.id)]||null;return[2]}))}))};t.prototype.updateHasText=function(){this.hasText=this.el.textContent.trim().length>0};t.prototype.setupTextContentObserver=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.emitActiveTab=function(t){if(t===void 0){t=true}if(this.disabled){return}var e={tab:this.tab};this.calciteInternalTabsActivate.emit(e);if(t){this.calciteTabsActivate.emit(e)}};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeTabChanged"]}},enumerable:false,configurable:true});return t}();TabTitle.style=tabTitleCss;var SLOTS={tabNav:"tab-nav"};var tabsCss="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){margin-bottom:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){margin-top:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:hidden;border-top-width:1px;border-top-color:var(--calcite-ui-border-1);border-top-style:solid}:host([position=below]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-top-width:0px;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-1)}:host([position=below]:not([bordered])) section{border-bottom-style:solid}";var Tabs=function(){function t(t){registerInstance(this,t);this.layout="inline";this.position="above";this.scale="m";this.bordered=false;this.titles=[];this.tabs=[]}t.prototype.connectedCallback=function(){if(this.layout==="center"){this.bordered=false}};t.prototype.render=function(){return h(Fragment,null,h("slot",{name:SLOTS.tabNav}),h("section",null,h("slot",null)))};t.prototype.calciteTabTitleRegister=function(t){this.titles=__spreadArray(__spreadArray([],this.titles,true),[t.target],false);this.registryHandler();t.stopPropagation()};t.prototype.calciteTabTitleUnregister=function(t){this.titles=this.titles.filter((function(e){return e!==t.detail}));this.registryHandler();t.stopPropagation()};t.prototype.calciteTabRegister=function(t){this.tabs=__spreadArray(__spreadArray([],this.tabs,true),[t.target],false);this.registryHandler();t.stopPropagation()};t.prototype.calciteTabUnregister=function(t){this.tabs=this.tabs.filter((function(e){return e!==t.detail}));this.registryHandler();t.stopPropagation()};t.prototype.registryHandler=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,a;var n=this;return __generator(this,(function(r){switch(r.label){case 0:if(!(this.tabs.some((function(t){return t.tab}))||this.titles.some((function(t){return t.tab}))))return[3,1];t=this.tabs.sort((function(t,e){return t.tab.localeCompare(e.tab)})).map((function(t){return t.id}));e=this.titles.sort((function(t,e){return t.tab.localeCompare(e.tab)})).map((function(t){return t.id}));return[3,4];case 1:return[4,Promise.all(this.tabs.map((function(t){return t.getTabIndex()})))];case 2:i=r.sent();return[4,Promise.all(this.titles.map((function(t){return t.getTabIndex()})))];case 3:a=r.sent();t=i.reduce((function(t,e,i){t[e]=n.tabs[i].id;return t}),[]);e=a.reduce((function(t,e,i){t[e]=n.titles[i].id;return t}),[]);r.label=4;case 4:this.tabs.forEach((function(i){return i.updateAriaInfo(t,e)}));this.titles.forEach((function(i){return i.updateAriaInfo(t,e)}));return[2]}}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Tabs.style=tabsCss;export{Tab as calcite_tab,TabNav as calcite_tab_nav,TabTitle as calcite_tab_title,Tabs as calcite_tabs};