@esri/calcite-components 1.0.0-beta.86 → 1.0.0-beta.87

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 (1061) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/p-00b8ff95.system.entry.js +6 -0
  6. package/dist/calcite/p-01225516.entry.js +6 -0
  7. package/dist/calcite/p-017caeef.entry.js +6 -0
  8. package/dist/calcite/p-0296d6e5.js +6 -0
  9. package/dist/calcite/{p-17bb1d46.system.js → p-031fe642.system.js} +1 -1
  10. package/dist/calcite/{p-8d7bcbbe.system.js → p-09d4e789.system.js} +1 -1
  11. package/dist/calcite/p-0b966e54.entry.js +6 -0
  12. package/dist/calcite/p-0d4fb8ca.entry.js +6 -0
  13. package/dist/calcite/{p-9191aae7.system.js → p-1087f996.system.js} +1 -1
  14. package/dist/calcite/p-12f67a05.entry.js +6 -0
  15. package/dist/calcite/p-140247a4.entry.js +6 -0
  16. package/dist/calcite/p-14368daa.entry.js +6 -0
  17. package/dist/calcite/p-149f567e.entry.js +6 -0
  18. package/dist/calcite/{p-786ca76b.system.js → p-151ef522.system.js} +1 -1
  19. package/dist/calcite/{p-078aa8cf.system.js → p-1534218b.system.js} +1 -1
  20. package/dist/calcite/p-1647d422.js +6 -0
  21. package/dist/calcite/{p-2f717afb.js → p-1774ae47.js} +2 -2
  22. package/dist/calcite/{p-b4afbab0.js → p-18679417.js} +1 -1
  23. package/dist/calcite/{p-bae5371e.entry.js → p-1d97eff4.entry.js} +2 -2
  24. package/dist/calcite/p-204cda47.entry.js +6 -0
  25. package/dist/calcite/p-20bd3399.system.entry.js +6 -0
  26. package/dist/calcite/p-221e3f32.system.entry.js +6 -0
  27. package/dist/calcite/{p-f00b1294.entry.js → p-23a52c67.entry.js} +2 -2
  28. package/dist/calcite/p-23f02457.system.js +6 -0
  29. package/dist/calcite/p-24daa1f0.entry.js +6 -0
  30. package/dist/calcite/p-25116f74.system.entry.js +6 -0
  31. package/dist/calcite/{p-645da33b.entry.js → p-26803235.entry.js} +2 -2
  32. package/dist/calcite/{p-9c3e33db.system.entry.js → p-271b3555.system.entry.js} +2 -2
  33. package/dist/calcite/{p-d313af3b.entry.js → p-27db08bc.entry.js} +2 -2
  34. package/dist/calcite/p-27dd1893.entry.js +6 -0
  35. package/dist/calcite/p-288354f0.system.js +6 -0
  36. package/dist/calcite/{p-8e5b28c2.js → p-292b7dab.js} +1 -1
  37. package/dist/calcite/{p-6e59222f.entry.js → p-29610c9f.entry.js} +2 -2
  38. package/dist/calcite/p-2a7e2957.system.js +6 -0
  39. package/dist/calcite/p-2b1db9be.js +6 -0
  40. package/dist/calcite/p-2d6b5124.system.entry.js +6 -0
  41. package/dist/calcite/{p-8a1593db.system.js → p-2ed8b011.system.js} +1 -1
  42. package/dist/calcite/p-325c25e7.entry.js +6 -0
  43. package/dist/calcite/{p-2ce0209d.system.js → p-34ff2c2f.system.js} +1 -1
  44. package/dist/calcite/{p-ae579245.js → p-389bfb3f.js} +2 -2
  45. package/dist/calcite/{p-1f289404.entry.js → p-39c28eb7.entry.js} +2 -2
  46. package/dist/calcite/{p-660b54aa.system.js → p-3a1beee3.system.js} +2 -2
  47. package/dist/calcite/p-3b02f6a7.entry.js +6 -0
  48. package/dist/calcite/{p-36183756.system.entry.js → p-3b28ce55.system.entry.js} +2 -2
  49. package/dist/calcite/p-3c9f7afb.entry.js +6 -0
  50. package/dist/calcite/{p-f1b829e3.system.entry.js → p-3daaf28f.system.entry.js} +2 -2
  51. package/dist/calcite/{p-99306484.entry.js → p-3fc47895.entry.js} +2 -2
  52. package/dist/calcite/p-42a122ab.entry.js +6 -0
  53. package/dist/calcite/p-489e9825.system.entry.js +6 -0
  54. package/dist/calcite/p-49d40985.system.entry.js +6 -0
  55. package/dist/calcite/{p-741a874b.js → p-4a0d41e4.js} +1 -1
  56. package/dist/calcite/{p-bbbf6fcb.system.entry.js → p-4db1c603.system.entry.js} +2 -2
  57. package/dist/calcite/{p-283ed748.entry.js → p-50513c03.entry.js} +2 -2
  58. package/dist/calcite/p-516a5c68.system.entry.js +6 -0
  59. package/dist/calcite/p-53a423d9.system.entry.js +6 -0
  60. package/dist/calcite/p-5544e264.entry.js +6 -0
  61. package/dist/calcite/p-57b6f7fb.system.entry.js +6 -0
  62. package/dist/calcite/{p-d713b734.system.js → p-584cb04b.system.js} +1 -1
  63. package/dist/calcite/p-58c76aff.entry.js +6 -0
  64. package/dist/calcite/{p-94e059ed.system.js → p-59574854.system.js} +2 -2
  65. package/dist/calcite/p-5b1c8598.system.entry.js +6 -0
  66. package/dist/calcite/{p-bc9c9c9b.js → p-5e5bb0fe.js} +2 -2
  67. package/dist/calcite/{p-7f519a6f.js → p-61379359.js} +2 -2
  68. package/dist/calcite/p-61653e5f.entry.js +6 -0
  69. package/dist/calcite/p-62e5d329.entry.js +6 -0
  70. package/dist/calcite/{p-4f206065.system.js → p-635720f4.system.js} +2 -2
  71. package/dist/calcite/{p-aa40e505.entry.js → p-6ab55ea8.entry.js} +2 -2
  72. package/dist/calcite/{p-9d82f6ba.system.js → p-6b815a3f.system.js} +2 -2
  73. package/dist/calcite/p-6d315566.system.entry.js +6 -0
  74. package/dist/calcite/p-70df22f8.system.entry.js +6 -0
  75. package/dist/calcite/p-70f9bfcf.system.entry.js +6 -0
  76. package/dist/calcite/p-76d5c5ab.entry.js +6 -0
  77. package/dist/calcite/p-80362407.entry.js +6 -0
  78. package/dist/calcite/{p-bdbeb0b8.system.js → p-8270f683.system.js} +3 -3
  79. package/dist/calcite/{p-7bdab3f4.js → p-84f563f6.js} +1 -1
  80. package/dist/calcite/{p-97fef747.system.entry.js → p-8666e681.system.entry.js} +2 -2
  81. package/dist/calcite/p-874248a5.entry.js +6 -0
  82. package/dist/calcite/{p-4a1a8fac.entry.js → p-878cfb6b.entry.js} +2 -2
  83. package/dist/calcite/{p-e6ad54a7.js → p-87b06a4a.js} +1 -1
  84. package/dist/calcite/p-88633a5f.system.entry.js +6 -0
  85. package/dist/calcite/p-89151794.system.entry.js +6 -0
  86. package/dist/calcite/p-8a4187a1.system.entry.js +6 -0
  87. package/dist/calcite/p-8c18de14.system.entry.js +6 -0
  88. package/dist/calcite/{p-336d62ab.js → p-8fed02c7.js} +1 -1
  89. package/dist/calcite/p-90bb8af7.system.entry.js +6 -0
  90. package/dist/calcite/p-9267c232.system.entry.js +6 -0
  91. package/dist/calcite/{p-2f906310.system.entry.js → p-938ee739.system.entry.js} +2 -2
  92. package/dist/calcite/p-9416a65c.entry.js +6 -0
  93. package/dist/calcite/p-95d58e86.system.entry.js +6 -0
  94. package/dist/calcite/p-95e23b85.entry.js +6 -0
  95. package/dist/calcite/{p-4c62aae1.system.js → p-98f5945a.system.js} +2 -2
  96. package/dist/calcite/{p-72ac5927.entry.js → p-996d8919.entry.js} +2 -2
  97. package/dist/calcite/{p-64abac3a.system.js → p-99834ee5.system.js} +1 -1
  98. package/dist/calcite/p-9a6b21d8.entry.js +6 -0
  99. package/dist/calcite/p-9a7290b9.system.entry.js +6 -0
  100. package/dist/calcite/p-9ac11a5a.system.entry.js +6 -0
  101. package/dist/calcite/p-9ac7eaf9.entry.js +6 -0
  102. package/dist/calcite/{p-4c3e960e.js → p-9c216ae7.js} +2 -2
  103. package/dist/calcite/p-9d161fd1.system.entry.js +6 -0
  104. package/dist/calcite/p-9e8a8543.entry.js +6 -0
  105. package/dist/calcite/{p-694231fe.system.js → p-a2fb1d9c.system.js} +1 -1
  106. package/dist/calcite/p-a64c38ea.system.entry.js +6 -0
  107. package/dist/calcite/{p-8e962e28.system.js → p-a65a2b93.system.js} +1 -1
  108. package/dist/calcite/{p-cfbd1180.entry.js → p-a6c2e6e3.entry.js} +2 -2
  109. package/dist/calcite/{p-52474c34.entry.js → p-a7798679.entry.js} +2 -2
  110. package/dist/calcite/{p-8f789b45.js → p-abb072bc.js} +1 -1
  111. package/dist/calcite/p-ad9ce24b.system.entry.js +6 -0
  112. package/dist/calcite/p-add9d199.system.entry.js +6 -0
  113. package/dist/calcite/p-afaa2b92.entry.js +6 -0
  114. package/dist/calcite/{p-038a1a34.js → p-afd70310.js} +1 -1
  115. package/dist/calcite/p-b2fd8207.system.js +6 -0
  116. package/dist/calcite/p-b330e520.system.entry.js +6 -0
  117. package/dist/calcite/p-b451a135.entry.js +6 -0
  118. package/dist/calcite/p-b4ed3310.system.entry.js +6 -0
  119. package/dist/calcite/{p-ba04d4a6.system.js → p-b65a82b9.system.js} +1 -1
  120. package/dist/calcite/{p-a2b65dca.entry.js → p-b7181609.entry.js} +2 -2
  121. package/dist/calcite/p-b9a92e2a.system.entry.js +6 -0
  122. package/dist/calcite/p-bd8dabb4.system.entry.js +6 -0
  123. package/dist/calcite/{p-33e02930.entry.js → p-be70e32c.entry.js} +2 -2
  124. package/dist/calcite/{p-6c4c7404.system.entry.js → p-c11c8810.system.entry.js} +2 -2
  125. package/dist/calcite/{p-e2a9bc3c.js → p-c44fe786.js} +1 -1
  126. package/dist/calcite/p-c49a8303.system.entry.js +6 -0
  127. package/dist/calcite/{p-4178c522.system.entry.js → p-c6c191a4.system.entry.js} +2 -2
  128. package/dist/calcite/p-c82c15ee.system.entry.js +6 -0
  129. package/dist/calcite/{p-85fab359.entry.js → p-c8a4f49a.entry.js} +2 -2
  130. package/dist/calcite/p-c8e7775c.system.entry.js +6 -0
  131. package/dist/calcite/p-cd41f4a3.entry.js +6 -0
  132. package/dist/calcite/p-ced28d9d.system.entry.js +6 -0
  133. package/dist/calcite/p-cf2ff728.system.entry.js +6 -0
  134. package/dist/calcite/{p-12bca4f1.system.js → p-d0043d6d.system.js} +1 -1
  135. package/dist/calcite/p-d522d0d3.entry.js +6 -0
  136. package/dist/calcite/p-d913deb7.system.entry.js +6 -0
  137. package/dist/calcite/p-d91d56df.entry.js +6 -0
  138. package/dist/calcite/p-d9b2646c.system.entry.js +6 -0
  139. package/dist/calcite/p-d9cf3438.system.entry.js +6 -0
  140. package/dist/calcite/{p-f54622d6.js → p-db7068cb.js} +1 -1
  141. package/dist/calcite/p-db98f211.system.entry.js +6 -0
  142. package/dist/calcite/p-dca64758.system.entry.js +6 -0
  143. package/dist/calcite/{p-29c3c079.system.js → p-deefbe33.system.js} +1 -1
  144. package/dist/calcite/p-dfce3d62.system.entry.js +6 -0
  145. package/dist/calcite/p-e0ab7e38.entry.js +6 -0
  146. package/dist/calcite/{p-a5318c00.entry.js → p-e0f3d151.entry.js} +2 -2
  147. package/dist/calcite/{p-2efde396.js → p-e2087090.js} +2 -2
  148. package/dist/calcite/{p-247f1abc.entry.js → p-e64aaaff.entry.js} +2 -2
  149. package/dist/calcite/p-e85df792.system.entry.js +6 -0
  150. package/dist/calcite/{p-2c78140e.js → p-e8b42645.js} +1 -1
  151. package/dist/calcite/p-eb133e45.entry.js +6 -0
  152. package/dist/calcite/p-eb357ea6.entry.js +6 -0
  153. package/dist/calcite/{p-c7e8f753.js → p-ec6c73c0.js} +2 -2
  154. package/dist/calcite/p-ed90ef39.entry.js +6 -0
  155. package/dist/calcite/p-efd107ed.entry.js +6 -0
  156. package/dist/calcite/p-f1e819d0.js +6 -0
  157. package/dist/calcite/p-f200ceb7.system.entry.js +6 -0
  158. package/dist/calcite/{p-29c6691b.js → p-f4b01f6e.js} +1 -1
  159. package/dist/calcite/{p-f8798ee9.system.js → p-f5ef4bdb.system.js} +2 -2
  160. package/dist/calcite/p-f7481a5b.system.entry.js +6 -0
  161. package/dist/calcite/p-f934284b.system.entry.js +6 -0
  162. package/dist/calcite/p-f935181a.entry.js +6 -0
  163. package/dist/calcite/p-fb374b42.entry.js +6 -0
  164. package/dist/calcite/p-fb5b969f.system.entry.js +6 -0
  165. package/dist/calcite/p-fbc834e7.system.entry.js +6 -0
  166. package/dist/calcite/p-fc321a74.system.entry.js +6 -0
  167. package/dist/calcite/p-fc45579a.entry.js +6 -0
  168. package/dist/calcite/{p-f70b3399.js → p-fcb2ff51.js} +1 -1
  169. package/dist/calcite/p-fe2ddf18.system.entry.js +6 -0
  170. package/dist/calcite/{p-da045e5a.system.js → p-fe8a9479.system.js} +2 -2
  171. package/dist/cjs/{ExpandToggle-62479ccb.js → ExpandToggle-34dbe39b.js} +5 -5
  172. package/dist/cjs/{Heading-f792c5a6.js → Heading-12d798ce.js} +2 -2
  173. package/dist/cjs/{array-b72d7dd3.js → array-e582a132.js} +1 -1
  174. package/dist/cjs/calcite-accordion_2.cjs.entry.js +83 -44
  175. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  176. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  177. package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -32
  178. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  179. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  180. package/dist/cjs/calcite-alert.cjs.entry.js +31 -38
  181. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-block_2.cjs.entry.js +15 -11
  183. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  184. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  185. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
  186. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  187. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
  188. package/dist/cjs/calcite-combobox_3.cjs.entry.js +57 -82
  189. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +65 -67
  190. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +80 -114
  191. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  192. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  193. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  194. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
  195. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  196. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  197. package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -24
  198. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +100 -95
  199. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -20
  201. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +18 -20
  202. package/dist/cjs/calcite-input.cjs.entry.js +14 -20
  203. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
  206. package/dist/cjs/calcite-loader.cjs.entry.js +9 -5
  207. package/dist/cjs/calcite-modal.cjs.entry.js +44 -16
  208. package/dist/cjs/calcite-notice.cjs.entry.js +29 -10
  209. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
  210. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  211. package/dist/cjs/calcite-panel.cjs.entry.js +44 -23
  212. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +14 -14
  213. package/dist/cjs/calcite-popover_2.cjs.entry.js +66 -80
  214. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  215. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  216. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  217. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
  218. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  219. package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
  220. package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -10
  221. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  222. package/dist/cjs/calcite-split-button.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-stepper_2.cjs.entry.js +51 -84
  224. package/dist/cjs/calcite-switch.cjs.entry.js +11 -13
  225. package/dist/cjs/calcite-tab_4.cjs.entry.js +61 -61
  226. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  228. package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -12
  229. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +31 -64
  230. package/dist/cjs/calcite-tree_2.cjs.entry.js +28 -28
  231. package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
  232. package/dist/cjs/calcite.cjs.js +3 -3
  233. package/dist/cjs/{conditionalSlot-d1eb82ce.js → conditionalSlot-352bec3d.js} +3 -3
  234. package/dist/cjs/{debounce-d2139fc6.js → debounce-6cd1535e.js} +1 -1
  235. package/dist/cjs/{dom-99c1b44d.js → dom-ed822c13.js} +2 -2
  236. package/dist/cjs/floating-ui-ddaf1746.js +1620 -0
  237. package/dist/cjs/{forIn-9ac96598.js → forIn-9c2acd4a.js} +2 -2
  238. package/dist/cjs/{form-4d1ef8c2.js → form-e3be7149.js} +3 -3
  239. package/dist/cjs/{guid-609f1c0d.js → guid-c86839da.js} +1 -1
  240. package/dist/cjs/{index-68ddfe8e.js → index-33f65b26.js} +1 -1
  241. package/dist/cjs/index.cjs.js +1 -1
  242. package/dist/cjs/{interactive-d1ef280c.js → interactive-a3821d41.js} +1 -1
  243. package/dist/cjs/{interfaces-a3bdc804.js → interfaces-0d6f4796.js} +1 -1
  244. package/dist/cjs/{key-017aa5b0.js → key-a2e96b2d.js} +1 -1
  245. package/dist/cjs/{label-e24023c6.js → label-bd9a47bd.js} +2 -2
  246. package/dist/cjs/loader.cjs.js +3 -3
  247. package/dist/cjs/{locale-2d8feb15.js → locale-48e984a4.js} +2 -2
  248. package/dist/cjs/{math-7fe3e64d.js → math-b4d12de8.js} +1 -1
  249. package/dist/cjs/{observers-aa7367df.js → observers-11defbec.js} +1 -1
  250. package/dist/cjs/{resources-b4ed54b9.js → resources-0b605ada.js} +1 -1
  251. package/dist/cjs/{resources-a7f0af25.js → resources-1388772a.js} +1 -1
  252. package/dist/cjs/{resources-9aaa6e0a.js → resources-826e04f0.js} +3 -3
  253. package/dist/cjs/{resources-0c0019fb.js → resources-ca50aa50.js} +5 -5
  254. package/dist/cjs/{sortable.esm-6dc17794.js → sortable.esm-67fdfa55.js} +1 -1
  255. package/dist/cjs/{utils-53d98078.js → utils-1a470335.js} +1 -1
  256. package/dist/collection/components/accordion/accordion.css +3 -3
  257. package/dist/collection/components/accordion/accordion.js +25 -20
  258. package/dist/collection/components/accordion/interfaces.js +1 -1
  259. package/dist/collection/components/accordion-item/accordion-item.css +69 -66
  260. package/dist/collection/components/accordion-item/accordion-item.js +92 -48
  261. package/dist/collection/components/accordion-item/interfaces.js +6 -0
  262. package/dist/collection/components/accordion-item/resources.js +21 -0
  263. package/dist/collection/components/action/action.css +24 -22
  264. package/dist/collection/components/action/action.js +3 -3
  265. package/dist/collection/components/action/resources.js +1 -1
  266. package/dist/collection/components/action-bar/action-bar.css +6 -6
  267. package/dist/collection/components/action-bar/action-bar.js +3 -3
  268. package/dist/collection/components/action-bar/resources.js +1 -1
  269. package/dist/collection/components/action-bar/utils.js +1 -1
  270. package/dist/collection/components/action-group/action-group.css +2 -2
  271. package/dist/collection/components/action-group/action-group.js +3 -3
  272. package/dist/collection/components/action-group/resources.js +1 -1
  273. package/dist/collection/components/action-menu/action-menu.css +3 -3
  274. package/dist/collection/components/action-menu/action-menu.js +25 -37
  275. package/dist/collection/components/action-menu/resources.js +1 -1
  276. package/dist/collection/components/action-pad/action-pad.css +8 -9
  277. package/dist/collection/components/action-pad/action-pad.js +3 -3
  278. package/dist/collection/components/action-pad/resources.js +1 -1
  279. package/dist/collection/components/alert/alert.css +41 -49
  280. package/dist/collection/components/alert/alert.js +52 -70
  281. package/dist/collection/components/alert/interfaces.js +1 -1
  282. package/dist/collection/components/alert/resources.js +1 -1
  283. package/dist/collection/components/avatar/avatar.css +11 -11
  284. package/dist/collection/components/avatar/avatar.js +1 -1
  285. package/dist/collection/components/avatar/utils.js +1 -1
  286. package/dist/collection/components/block/block.css +15 -18
  287. package/dist/collection/components/block/block.js +12 -5
  288. package/dist/collection/components/block/resources.js +1 -1
  289. package/dist/collection/components/block-section/block-section.css +11 -17
  290. package/dist/collection/components/block-section/block-section.js +3 -3
  291. package/dist/collection/components/block-section/interfaces.js +1 -1
  292. package/dist/collection/components/block-section/resources.js +1 -1
  293. package/dist/collection/components/button/button.css +37 -37
  294. package/dist/collection/components/button/button.js +1 -1
  295. package/dist/collection/components/button/interfaces.js +1 -1
  296. package/dist/collection/components/button/resources.js +1 -1
  297. package/dist/collection/components/card/card.css +22 -23
  298. package/dist/collection/components/card/card.js +6 -6
  299. package/dist/collection/components/card/resources.js +1 -1
  300. package/dist/collection/components/checkbox/checkbox.css +12 -14
  301. package/dist/collection/components/checkbox/checkbox.js +7 -7
  302. package/dist/collection/components/chip/chip.css +23 -21
  303. package/dist/collection/components/chip/chip.js +9 -4
  304. package/dist/collection/components/chip/interfaces.js +1 -1
  305. package/dist/collection/components/chip/resources.js +1 -1
  306. package/dist/collection/components/color-picker/color-picker.css +32 -29
  307. package/dist/collection/components/color-picker/color-picker.js +5 -5
  308. package/dist/collection/components/color-picker/interfaces.js +1 -1
  309. package/dist/collection/components/color-picker/resources.js +1 -1
  310. package/dist/collection/components/color-picker/utils.js +1 -1
  311. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -7
  312. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +3 -3
  313. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  314. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +12 -15
  315. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  316. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  317. package/dist/collection/components/combobox/combobox.css +44 -46
  318. package/dist/collection/components/combobox/combobox.js +76 -110
  319. package/dist/collection/components/combobox/interfaces.js +1 -1
  320. package/dist/collection/components/combobox/resources.js +1 -1
  321. package/dist/collection/components/combobox/utils.js +1 -1
  322. package/dist/collection/components/combobox-item/combobox-item.css +17 -14
  323. package/dist/collection/components/combobox-item/combobox-item.js +9 -4
  324. package/dist/collection/components/combobox-item/resources.js +1 -1
  325. package/dist/collection/components/combobox-item-group/combobox-item-group.css +9 -9
  326. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  327. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  328. package/dist/collection/components/date-picker/date-picker.css +5 -5
  329. package/dist/collection/components/date-picker/date-picker.js +14 -14
  330. package/dist/collection/components/date-picker/interfaces.js +1 -1
  331. package/dist/collection/components/date-picker/resources.js +1 -1
  332. package/dist/collection/components/date-picker/utils.js +1 -1
  333. package/dist/collection/components/date-picker-day/date-picker-day.css +23 -28
  334. package/dist/collection/components/date-picker-day/date-picker-day.js +8 -10
  335. package/dist/collection/components/date-picker-month/date-picker-month.css +14 -24
  336. package/dist/collection/components/date-picker-month/date-picker-month.js +41 -29
  337. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +23 -33
  338. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +20 -20
  339. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  340. package/dist/collection/components/dropdown/dropdown.css +19 -18
  341. package/dist/collection/components/dropdown/dropdown.js +95 -143
  342. package/dist/collection/components/dropdown/interfaces.js +1 -1
  343. package/dist/collection/components/dropdown/resources.js +1 -1
  344. package/dist/collection/components/dropdown-group/dropdown-group.css +4 -4
  345. package/dist/collection/components/dropdown-group/dropdown-group.js +9 -4
  346. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  347. package/dist/collection/components/dropdown-group/resources.js +1 -1
  348. package/dist/collection/components/dropdown-item/dropdown-item.css +7 -13
  349. package/dist/collection/components/dropdown-item/dropdown-item.js +18 -13
  350. package/dist/collection/components/dropdown-item/resources.js +1 -1
  351. package/dist/collection/components/fab/fab.css +7 -6
  352. package/dist/collection/components/fab/fab.js +1 -1
  353. package/dist/collection/components/fab/resources.js +1 -1
  354. package/dist/collection/components/filter/filter.css +16 -18
  355. package/dist/collection/components/filter/filter.js +1 -1
  356. package/dist/collection/components/filter/resources.js +1 -1
  357. package/dist/collection/components/flow/flow.css +4 -4
  358. package/dist/collection/components/flow/flow.js +1 -1
  359. package/dist/collection/components/flow/interfaces.js +1 -1
  360. package/dist/collection/components/flow/resources.js +1 -1
  361. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  362. package/dist/collection/components/functional/Heading.js +1 -1
  363. package/dist/collection/components/graph/graph.css +4 -4
  364. package/dist/collection/components/graph/graph.js +1 -1
  365. package/dist/collection/components/graph/interfaces.js +1 -1
  366. package/dist/collection/components/graph/util.js +1 -1
  367. package/dist/collection/components/handle/handle.css +3 -2
  368. package/dist/collection/components/handle/handle.js +9 -4
  369. package/dist/collection/components/handle/resources.js +1 -1
  370. package/dist/collection/components/icon/icon.css +13 -13
  371. package/dist/collection/components/icon/icon.js +1 -1
  372. package/dist/collection/components/icon/resources.js +1 -1
  373. package/dist/collection/components/icon/utils.js +1 -1
  374. package/dist/collection/components/inline-editable/inline-editable.css +12 -11
  375. package/dist/collection/components/inline-editable/inline-editable.js +19 -19
  376. package/dist/collection/components/inline-editable/resources.js +1 -1
  377. package/dist/collection/components/input/input.css +74 -96
  378. package/dist/collection/components/input/input.js +15 -16
  379. package/dist/collection/components/input/interfaces.js +1 -1
  380. package/dist/collection/components/input/resources.js +1 -1
  381. package/dist/collection/components/input-date-picker/input-date-picker.css +70 -73
  382. package/dist/collection/components/input-date-picker/input-date-picker.js +162 -110
  383. package/dist/collection/components/input-date-picker/resources.js +1 -1
  384. package/dist/collection/components/input-message/input-message.css +7 -7
  385. package/dist/collection/components/input-message/input-message.js +1 -1
  386. package/dist/collection/components/input-message/interfaces.js +1 -1
  387. package/dist/collection/components/input-number/input-number.css +47 -55
  388. package/dist/collection/components/input-number/input-number.js +15 -16
  389. package/dist/collection/components/input-number/interfaces.js +1 -1
  390. package/dist/collection/components/input-number/resources.js +1 -1
  391. package/dist/collection/components/input-time-picker/input-time-picker.css +9 -11
  392. package/dist/collection/components/input-time-picker/input-time-picker.js +12 -20
  393. package/dist/collection/components/interfaces.js +1 -1
  394. package/dist/collection/components/label/label.css +15 -15
  395. package/dist/collection/components/label/label.js +1 -1
  396. package/dist/collection/components/label/resources.js +1 -1
  397. package/dist/collection/components/link/link.css +14 -13
  398. package/dist/collection/components/link/link.js +1 -1
  399. package/dist/collection/components/list/list.css +8 -7
  400. package/dist/collection/components/list/list.js +1 -1
  401. package/dist/collection/components/list/resources.js +1 -1
  402. package/dist/collection/components/list-item/list-item.css +12 -15
  403. package/dist/collection/components/list-item/list-item.js +1 -1
  404. package/dist/collection/components/list-item/resources.js +1 -1
  405. package/dist/collection/components/list-item-group/list-item-group.css +2 -2
  406. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  407. package/dist/collection/components/list-item-group/resources.js +1 -1
  408. package/dist/collection/components/loader/loader.css +27 -31
  409. package/dist/collection/components/loader/loader.js +10 -3
  410. package/dist/collection/components/modal/interfaces.js +1 -1
  411. package/dist/collection/components/modal/modal.css +77 -70
  412. package/dist/collection/components/modal/modal.js +78 -19
  413. package/dist/collection/components/modal/resources.js +1 -1
  414. package/dist/collection/components/notice/notice.css +26 -34
  415. package/dist/collection/components/notice/notice.js +52 -8
  416. package/dist/collection/components/notice/resources.js +1 -1
  417. package/dist/collection/components/option/option.css +1 -1
  418. package/dist/collection/components/option/option.js +3 -3
  419. package/dist/collection/components/option-group/option-group.css +1 -1
  420. package/dist/collection/components/option-group/option-group.js +3 -3
  421. package/dist/collection/components/pagination/pagination.css +10 -14
  422. package/dist/collection/components/pagination/pagination.js +1 -1
  423. package/dist/collection/components/pagination/resources.js +1 -1
  424. package/dist/collection/components/panel/panel.css +39 -45
  425. package/dist/collection/components/panel/panel.js +51 -26
  426. package/dist/collection/components/panel/resources.js +1 -1
  427. package/dist/collection/components/pick-list/pick-list.css +13 -12
  428. package/dist/collection/components/pick-list/pick-list.js +1 -1
  429. package/dist/collection/components/pick-list/resources.js +1 -1
  430. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  431. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  432. package/dist/collection/components/pick-list-group/pick-list-group.css +5 -7
  433. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  434. package/dist/collection/components/pick-list-group/resources.js +1 -1
  435. package/dist/collection/components/pick-list-item/pick-list-item.css +15 -17
  436. package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
  437. package/dist/collection/components/pick-list-item/resources.js +1 -1
  438. package/dist/collection/components/popover/PopoverManager.js +1 -1
  439. package/dist/collection/components/popover/popover.css +29 -34
  440. package/dist/collection/components/popover/popover.js +104 -88
  441. package/dist/collection/components/popover/resources.js +1 -1
  442. package/dist/collection/components/popover-manager/popover-manager.css +1 -1
  443. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  444. package/dist/collection/components/progress/progress.css +9 -11
  445. package/dist/collection/components/progress/progress.js +1 -1
  446. package/dist/collection/components/radio-button/radio-button.css +15 -17
  447. package/dist/collection/components/radio-button/radio-button.js +10 -10
  448. package/dist/collection/components/radio-button/resources.js +1 -1
  449. package/dist/collection/components/radio-button-group/radio-button-group.css +2 -2
  450. package/dist/collection/components/radio-button-group/radio-button-group.js +3 -3
  451. package/dist/collection/components/radio-group/interfaces.js +1 -1
  452. package/dist/collection/components/radio-group/radio-group.css +15 -17
  453. package/dist/collection/components/radio-group/radio-group.js +1 -1
  454. package/dist/collection/components/radio-group-item/radio-group-item.css +7 -13
  455. package/dist/collection/components/radio-group-item/radio-group-item.js +3 -3
  456. package/dist/collection/components/radio-group-item/resources.js +1 -1
  457. package/dist/collection/components/rating/rating.css +18 -20
  458. package/dist/collection/components/rating/rating.js +1 -1
  459. package/dist/collection/components/rating/resources.js +1 -1
  460. package/dist/collection/components/scrim/resources.js +1 -1
  461. package/dist/collection/components/scrim/scrim.css +5 -11
  462. package/dist/collection/components/scrim/scrim.js +1 -1
  463. package/dist/collection/components/select/resources.js +1 -1
  464. package/dist/collection/components/select/select.css +22 -28
  465. package/dist/collection/components/select/select.js +1 -1
  466. package/dist/collection/components/shell/resources.js +1 -1
  467. package/dist/collection/components/shell/shell.css +17 -24
  468. package/dist/collection/components/shell/shell.js +1 -1
  469. package/dist/collection/components/shell-center-row/resources.js +1 -1
  470. package/dist/collection/components/shell-center-row/shell-center-row.css +11 -13
  471. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  472. package/dist/collection/components/shell-panel/resources.js +1 -1
  473. package/dist/collection/components/shell-panel/shell-panel.css +17 -20
  474. package/dist/collection/components/shell-panel/shell-panel.js +3 -3
  475. package/dist/collection/components/slider/slider.css +43 -44
  476. package/dist/collection/components/slider/slider.js +7 -7
  477. package/dist/collection/components/sortable-list/resources.js +1 -1
  478. package/dist/collection/components/sortable-list/sortable-list.css +6 -5
  479. package/dist/collection/components/sortable-list/sortable-list.js +3 -3
  480. package/dist/collection/components/split-button/resources.js +1 -1
  481. package/dist/collection/components/split-button/split-button.css +17 -18
  482. package/dist/collection/components/split-button/split-button.js +21 -11
  483. package/dist/collection/components/stepper/interfaces.js +1 -1
  484. package/dist/collection/components/stepper/stepper.css +6 -9
  485. package/dist/collection/components/stepper/stepper.js +26 -84
  486. package/dist/collection/components/stepper-item/stepper-item.css +103 -35
  487. package/dist/collection/components/stepper-item/stepper-item.js +41 -20
  488. package/dist/collection/components/switch/switch.css +28 -30
  489. package/dist/collection/components/switch/switch.js +12 -9
  490. package/dist/collection/components/tab/interfaces.js +1 -1
  491. package/dist/collection/components/tab/tab.css +10 -13
  492. package/dist/collection/components/tab/tab.js +4 -4
  493. package/dist/collection/components/tab-nav/tab-nav.css +24 -25
  494. package/dist/collection/components/tab-nav/tab-nav.js +29 -29
  495. package/dist/collection/components/tab-title/tab-title.css +41 -50
  496. package/dist/collection/components/tab-title/tab-title.js +8 -8
  497. package/dist/collection/components/tabs/interfaces.js +1 -1
  498. package/dist/collection/components/tabs/resources.js +1 -1
  499. package/dist/collection/components/tabs/tabs.css +21 -21
  500. package/dist/collection/components/tabs/tabs.js +20 -20
  501. package/dist/collection/components/tile/resources.js +1 -1
  502. package/dist/collection/components/tile/tile.css +12 -11
  503. package/dist/collection/components/tile/tile.js +1 -1
  504. package/dist/collection/components/tile-select/interfaces.js +1 -1
  505. package/dist/collection/components/tile-select/resources.js +1 -1
  506. package/dist/collection/components/tile-select/tile-select.css +14 -13
  507. package/dist/collection/components/tile-select/tile-select.js +3 -3
  508. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  509. package/dist/collection/components/tile-select-group/tile-select-group.css +10 -9
  510. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  511. package/dist/collection/components/time-picker/resources.js +1 -1
  512. package/dist/collection/components/time-picker/time-picker.css +11 -17
  513. package/dist/collection/components/time-picker/time-picker.js +1 -1
  514. package/dist/collection/components/tip/resources.js +1 -1
  515. package/dist/collection/components/tip/tip.css +12 -15
  516. package/dist/collection/components/tip/tip.js +3 -3
  517. package/dist/collection/components/tip-group/tip-group.css +2 -3
  518. package/dist/collection/components/tip-group/tip-group.js +1 -1
  519. package/dist/collection/components/tip-manager/resources.js +1 -1
  520. package/dist/collection/components/tip-manager/tip-manager.css +11 -16
  521. package/dist/collection/components/tip-manager/tip-manager.js +7 -7
  522. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  523. package/dist/collection/components/tooltip/resources.js +1 -1
  524. package/dist/collection/components/tooltip/tooltip.css +25 -30
  525. package/dist/collection/components/tooltip/tooltip.js +35 -66
  526. package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -1
  527. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  528. package/dist/collection/components/tree/interfaces.js +1 -1
  529. package/dist/collection/components/tree/tree.css +1 -1
  530. package/dist/collection/components/tree/tree.js +12 -12
  531. package/dist/collection/components/tree-item/interfaces.js +1 -1
  532. package/dist/collection/components/tree-item/resources.js +1 -1
  533. package/dist/collection/components/tree-item/tree-item.css +12 -11
  534. package/dist/collection/components/tree-item/tree-item.js +10 -10
  535. package/dist/collection/components/value-list/interfaces.js +1 -1
  536. package/dist/collection/components/value-list/resources.js +1 -1
  537. package/dist/collection/components/value-list/utils.js +1 -1
  538. package/dist/collection/components/value-list/value-list.css +12 -11
  539. package/dist/collection/components/value-list/value-list.js +1 -1
  540. package/dist/collection/components/value-list-item/resources.js +1 -1
  541. package/dist/collection/components/value-list-item/value-list-item.css +12 -13
  542. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  543. package/dist/collection/utils/array.js +1 -1
  544. package/dist/collection/utils/conditionalSlot.js +1 -1
  545. package/dist/collection/utils/date.js +1 -1
  546. package/dist/collection/utils/dom.js +1 -1
  547. package/dist/collection/utils/filter.js +1 -1
  548. package/dist/collection/utils/floating-ui.js +229 -0
  549. package/dist/collection/utils/form.js +1 -1
  550. package/dist/collection/utils/globalAttributes.js +1 -1
  551. package/dist/collection/utils/guid.js +1 -1
  552. package/dist/collection/utils/interactive.js +1 -1
  553. package/dist/collection/utils/key.js +1 -1
  554. package/dist/collection/utils/label.js +1 -1
  555. package/dist/collection/utils/locale.js +1 -1
  556. package/dist/collection/utils/math.js +1 -1
  557. package/dist/collection/utils/number.js +1 -1
  558. package/dist/collection/utils/observers.js +1 -1
  559. package/dist/collection/utils/openCloseComponent.js +1 -1
  560. package/dist/collection/utils/resources.js +1 -1
  561. package/dist/collection/utils/time.js +2 -2
  562. package/dist/components/ExpandToggle.js +2 -2
  563. package/dist/components/Heading.js +1 -1
  564. package/dist/components/action-group.js +3 -3
  565. package/dist/components/action-menu.js +9 -26
  566. package/dist/components/action.js +2 -2
  567. package/dist/components/array.js +1 -1
  568. package/dist/components/button.js +2 -2
  569. package/dist/components/calcite-accordion-item.js +63 -26
  570. package/dist/components/calcite-accordion.js +18 -18
  571. package/dist/components/calcite-action-bar.js +3 -3
  572. package/dist/components/calcite-action-group.js +1 -1
  573. package/dist/components/calcite-action-menu.js +1 -1
  574. package/dist/components/calcite-action-pad.js +3 -3
  575. package/dist/components/calcite-action.js +1 -1
  576. package/dist/components/calcite-alert.js +28 -35
  577. package/dist/components/calcite-avatar.js +2 -2
  578. package/dist/components/calcite-block-section.js +3 -3
  579. package/dist/components/calcite-block.js +8 -4
  580. package/dist/components/calcite-button.js +1 -1
  581. package/dist/components/calcite-card.js +6 -6
  582. package/dist/components/calcite-checkbox.js +1 -1
  583. package/dist/components/calcite-chip.js +1 -1
  584. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  585. package/dist/components/calcite-color-picker-swatch.js +1 -1
  586. package/dist/components/calcite-color-picker.js +3 -3
  587. package/dist/components/calcite-combobox-item-group.js +2 -2
  588. package/dist/components/calcite-combobox-item.js +3 -3
  589. package/dist/components/calcite-combobox.js +44 -69
  590. package/dist/components/calcite-date-picker-day.js +1 -1
  591. package/dist/components/calcite-date-picker-month-header.js +1 -1
  592. package/dist/components/calcite-date-picker-month.js +1 -1
  593. package/dist/components/calcite-date-picker.js +1 -1
  594. package/dist/components/calcite-dropdown-group.js +2 -2
  595. package/dist/components/calcite-dropdown-item.js +9 -9
  596. package/dist/components/calcite-dropdown.js +1 -1
  597. package/dist/components/calcite-fab.js +2 -2
  598. package/dist/components/calcite-filter.js +1 -1
  599. package/dist/components/calcite-flow.js +2 -2
  600. package/dist/components/calcite-graph.js +1 -1
  601. package/dist/components/calcite-handle.js +1 -1
  602. package/dist/components/calcite-icon.js +1 -1
  603. package/dist/components/calcite-inline-editable.js +19 -19
  604. package/dist/components/calcite-input-date-picker.js +90 -84
  605. package/dist/components/calcite-input-message.js +2 -2
  606. package/dist/components/calcite-input-number.js +5 -11
  607. package/dist/components/calcite-input-time-picker.js +9 -11
  608. package/dist/components/calcite-input.js +1 -1
  609. package/dist/components/calcite-label.js +1 -1
  610. package/dist/components/calcite-link.js +1 -1
  611. package/dist/components/calcite-list-item-group.js +2 -2
  612. package/dist/components/calcite-list-item.js +3 -3
  613. package/dist/components/calcite-list.js +2 -2
  614. package/dist/components/calcite-loader.js +1 -1
  615. package/dist/components/calcite-modal.js +41 -13
  616. package/dist/components/calcite-notice.js +25 -5
  617. package/dist/components/calcite-option-group.js +2 -2
  618. package/dist/components/calcite-option.js +2 -2
  619. package/dist/components/calcite-pagination.js +2 -2
  620. package/dist/components/calcite-panel.js +39 -18
  621. package/dist/components/calcite-pick-list-group.js +3 -3
  622. package/dist/components/calcite-pick-list-item.js +1 -1
  623. package/dist/components/calcite-pick-list.js +2 -2
  624. package/dist/components/calcite-popover-manager.js +2 -2
  625. package/dist/components/calcite-popover.js +1 -1
  626. package/dist/components/calcite-progress.js +1 -1
  627. package/dist/components/calcite-radio-button-group.js +2 -2
  628. package/dist/components/calcite-radio-button.js +4 -4
  629. package/dist/components/calcite-radio-group-item.js +2 -2
  630. package/dist/components/calcite-radio-group.js +3 -3
  631. package/dist/components/calcite-rating.js +2 -2
  632. package/dist/components/calcite-scrim.js +1 -1
  633. package/dist/components/calcite-select.js +2 -2
  634. package/dist/components/calcite-shell-center-row.js +3 -3
  635. package/dist/components/calcite-shell-panel.js +3 -3
  636. package/dist/components/calcite-shell.js +3 -3
  637. package/dist/components/calcite-slider.js +2 -2
  638. package/dist/components/calcite-sortable-list.js +2 -2
  639. package/dist/components/calcite-split-button.js +5 -5
  640. package/dist/components/calcite-stepper-item.js +25 -21
  641. package/dist/components/calcite-stepper.js +26 -62
  642. package/dist/components/calcite-switch.js +1 -1
  643. package/dist/components/calcite-tab-nav.js +1 -1
  644. package/dist/components/calcite-tab-title.js +1 -1
  645. package/dist/components/calcite-tab.js +1 -1
  646. package/dist/components/calcite-tabs.js +1 -1
  647. package/dist/components/calcite-tile-select-group.js +2 -2
  648. package/dist/components/calcite-tile-select.js +2 -2
  649. package/dist/components/calcite-tile.js +1 -1
  650. package/dist/components/calcite-time-picker.js +1 -1
  651. package/dist/components/calcite-tip-group.js +2 -2
  652. package/dist/components/calcite-tip-manager.js +5 -5
  653. package/dist/components/calcite-tip.js +3 -3
  654. package/dist/components/calcite-tooltip-manager.js +2 -2
  655. package/dist/components/calcite-tooltip.js +26 -59
  656. package/dist/components/calcite-tree-item.js +12 -12
  657. package/dist/components/calcite-tree.js +13 -13
  658. package/dist/components/calcite-value-list-item.js +3 -3
  659. package/dist/components/calcite-value-list.js +2 -2
  660. package/dist/components/checkbox.js +2 -2
  661. package/dist/components/chip.js +3 -3
  662. package/dist/components/color-picker-hex-input.js +2 -2
  663. package/dist/components/color-picker-swatch.js +2 -2
  664. package/dist/components/conditionalSlot.js +1 -1
  665. package/dist/components/date-picker-day.js +6 -8
  666. package/dist/components/date-picker-month-header.js +21 -21
  667. package/dist/components/date-picker-month.js +19 -19
  668. package/dist/components/date-picker.js +15 -15
  669. package/dist/components/date.js +1 -1
  670. package/dist/components/debounce.js +1 -1
  671. package/dist/components/dom.js +2 -2
  672. package/dist/components/dropdown.js +64 -98
  673. package/dist/components/filter.js +2 -2
  674. package/dist/components/floating-ui.js +1612 -0
  675. package/dist/components/forIn.js +1 -1
  676. package/dist/components/form.js +1 -1
  677. package/dist/components/graph.js +2 -2
  678. package/dist/components/guid.js +1 -1
  679. package/dist/components/handle.js +2 -2
  680. package/dist/components/icon.js +3 -3
  681. package/dist/components/index.js +1 -1
  682. package/dist/components/input.js +5 -11
  683. package/dist/components/interactive.js +1 -1
  684. package/dist/components/interfaces.js +1 -1
  685. package/dist/components/interfaces2.js +1 -1
  686. package/dist/components/key.js +1 -1
  687. package/dist/components/label.js +1 -1
  688. package/dist/components/label2.js +2 -2
  689. package/dist/components/link.js +3 -3
  690. package/dist/components/loader.js +7 -3
  691. package/dist/components/locale.js +1 -1
  692. package/dist/components/math.js +1 -1
  693. package/dist/components/observers.js +1 -1
  694. package/dist/components/pick-list-item.js +3 -3
  695. package/dist/components/popover.js +57 -71
  696. package/dist/components/progress.js +2 -2
  697. package/dist/components/resources.js +1 -1
  698. package/dist/components/resources2.js +1 -1
  699. package/dist/components/resources3.js +1 -1
  700. package/dist/components/scrim.js +2 -2
  701. package/dist/components/shared-list-render.js +2 -2
  702. package/dist/components/sortable.esm.js +1 -1
  703. package/dist/components/switch.js +5 -7
  704. package/dist/components/tab-nav.js +31 -31
  705. package/dist/components/tab-title.js +6 -6
  706. package/dist/components/tab.js +3 -3
  707. package/dist/components/tabs.js +21 -21
  708. package/dist/components/tile.js +3 -3
  709. package/dist/components/time-picker.js +3 -3
  710. package/dist/components/utils.js +1 -1
  711. package/dist/components/utils2.js +1 -1
  712. package/dist/custom-elements/index.js +2239 -2558
  713. package/dist/esm/{ExpandToggle-7076d600.js → ExpandToggle-8ad8aac0.js} +5 -5
  714. package/dist/esm/{Heading-5ccb3b17.js → Heading-4d9f4f89.js} +2 -2
  715. package/dist/esm/{array-48f23287.js → array-c38e9698.js} +1 -1
  716. package/dist/esm/calcite-accordion_2.entry.js +83 -44
  717. package/dist/esm/calcite-action-bar.entry.js +11 -11
  718. package/dist/esm/calcite-action-group.entry.js +9 -9
  719. package/dist/esm/calcite-action-menu.entry.js +15 -32
  720. package/dist/esm/calcite-action-pad.entry.js +10 -10
  721. package/dist/esm/calcite-action.entry.js +7 -7
  722. package/dist/esm/calcite-alert.entry.js +31 -38
  723. package/dist/esm/calcite-avatar.entry.js +6 -6
  724. package/dist/esm/calcite-block_2.entry.js +15 -11
  725. package/dist/esm/calcite-button.entry.js +9 -9
  726. package/dist/esm/calcite-card.entry.js +10 -10
  727. package/dist/esm/calcite-checkbox.entry.js +8 -8
  728. package/dist/esm/calcite-chip.entry.js +7 -7
  729. package/dist/esm/calcite-color-picker_3.entry.js +11 -11
  730. package/dist/esm/calcite-combobox_3.entry.js +56 -81
  731. package/dist/esm/calcite-date-picker_4.entry.js +65 -67
  732. package/dist/esm/calcite-dropdown_3.entry.js +78 -112
  733. package/dist/esm/calcite-fab.entry.js +6 -6
  734. package/dist/esm/calcite-filter.entry.js +8 -8
  735. package/dist/esm/calcite-flow.entry.js +4 -4
  736. package/dist/esm/calcite-graph_2.entry.js +11 -11
  737. package/dist/esm/calcite-handle.entry.js +5 -5
  738. package/dist/esm/calcite-icon.entry.js +6 -6
  739. package/dist/esm/calcite-inline-editable.entry.js +24 -24
  740. package/dist/esm/calcite-input-date-picker.entry.js +98 -93
  741. package/dist/esm/calcite-input-message.entry.js +5 -5
  742. package/dist/esm/calcite-input-number.entry.js +14 -20
  743. package/dist/esm/calcite-input-time-picker_2.entry.js +18 -20
  744. package/dist/esm/calcite-input.entry.js +14 -20
  745. package/dist/esm/calcite-label.entry.js +6 -6
  746. package/dist/esm/calcite-link.entry.js +6 -6
  747. package/dist/esm/calcite-list_3.entry.js +11 -11
  748. package/dist/esm/calcite-loader.entry.js +9 -5
  749. package/dist/esm/calcite-modal.entry.js +44 -16
  750. package/dist/esm/calcite-notice.entry.js +29 -10
  751. package/dist/esm/calcite-option_3.entry.js +11 -11
  752. package/dist/esm/calcite-pagination.entry.js +6 -6
  753. package/dist/esm/calcite-panel.entry.js +44 -23
  754. package/dist/esm/calcite-pick-list_3.entry.js +14 -14
  755. package/dist/esm/calcite-popover_2.entry.js +64 -78
  756. package/dist/esm/calcite-progress.entry.js +3 -3
  757. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  758. package/dist/esm/calcite-radio-button.entry.js +10 -10
  759. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  760. package/dist/esm/calcite-rating.entry.js +9 -9
  761. package/dist/esm/calcite-scrim.entry.js +3 -3
  762. package/dist/esm/calcite-shell_3.entry.js +10 -10
  763. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  764. package/dist/esm/calcite-split-button.entry.js +7 -7
  765. package/dist/esm/calcite-stepper_2.entry.js +51 -84
  766. package/dist/esm/calcite-switch.entry.js +11 -13
  767. package/dist/esm/calcite-tab_4.entry.js +61 -61
  768. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  769. package/dist/esm/calcite-tile.entry.js +8 -8
  770. package/dist/esm/calcite-tip_3.entry.js +12 -12
  771. package/dist/esm/calcite-tooltip_2.entry.js +30 -63
  772. package/dist/esm/calcite-tree_2.entry.js +28 -28
  773. package/dist/esm/calcite-value-list_2.entry.js +13 -13
  774. package/dist/esm/calcite.js +3 -3
  775. package/dist/esm/{conditionalSlot-13c69fa9.js → conditionalSlot-e49df07c.js} +3 -3
  776. package/dist/esm/{debounce-bef6fc2c.js → debounce-76a1065a.js} +1 -1
  777. package/dist/esm/{dom-6c1f7204.js → dom-19ab3d2f.js} +2 -2
  778. package/dist/esm/floating-ui-4afc064e.js +1612 -0
  779. package/dist/esm/{forIn-566610cc.js → forIn-1c3a0d8e.js} +2 -2
  780. package/dist/esm/{form-115e3241.js → form-ecbc6fec.js} +3 -3
  781. package/dist/esm/{guid-9ee41ac6.js → guid-ba74e5d4.js} +1 -1
  782. package/dist/esm/{index-dfcf10d7.js → index-5048a317.js} +1 -1
  783. package/dist/esm/index.js +1 -1
  784. package/dist/esm/{interactive-2a03c362.js → interactive-71744e3e.js} +1 -1
  785. package/dist/esm/{interfaces-02cee59d.js → interfaces-e771f6c8.js} +1 -1
  786. package/dist/esm/{key-1219c482.js → key-af81a004.js} +1 -1
  787. package/dist/esm/{label-b30a7cde.js → label-dfcfa9e0.js} +2 -2
  788. package/dist/esm/loader.js +3 -3
  789. package/dist/esm/{locale-98144f51.js → locale-ab6b5afc.js} +2 -2
  790. package/dist/esm/{math-7409ae0d.js → math-a5e24a73.js} +1 -1
  791. package/dist/esm/{observers-fa0db945.js → observers-61a2bb4f.js} +1 -1
  792. package/dist/esm/{resources-ccd18bbb.js → resources-566ead7b.js} +5 -5
  793. package/dist/esm/{resources-7198828a.js → resources-9348154b.js} +1 -1
  794. package/dist/esm/{resources-3157143b.js → resources-c995bb5e.js} +3 -3
  795. package/dist/esm/{resources-3b67e62a.js → resources-e1d5ca1c.js} +1 -1
  796. package/dist/esm/{sortable.esm-e7918a0d.js → sortable.esm-d0f38173.js} +1 -1
  797. package/dist/esm/{utils-06a51b70.js → utils-531de8fa.js} +1 -1
  798. package/dist/esm-es5/{ExpandToggle-7076d600.js → ExpandToggle-8ad8aac0.js} +2 -2
  799. package/dist/esm-es5/{Heading-5ccb3b17.js → Heading-4d9f4f89.js} +2 -2
  800. package/dist/esm-es5/{array-48f23287.js → array-c38e9698.js} +1 -1
  801. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  802. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  803. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  804. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  805. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  806. package/dist/esm-es5/calcite-action.entry.js +2 -2
  807. package/dist/esm-es5/calcite-alert.entry.js +3 -3
  808. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  809. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  810. package/dist/esm-es5/calcite-button.entry.js +2 -2
  811. package/dist/esm-es5/calcite-card.entry.js +2 -2
  812. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  813. package/dist/esm-es5/calcite-chip.entry.js +3 -3
  814. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  815. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  816. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  817. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  818. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  819. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  820. package/dist/esm-es5/calcite-flow.entry.js +3 -3
  821. package/dist/esm-es5/calcite-graph_2.entry.js +3 -3
  822. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  823. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  824. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  825. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  826. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  827. package/dist/esm-es5/calcite-input-number.entry.js +3 -3
  828. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  829. package/dist/esm-es5/calcite-input.entry.js +2 -2
  830. package/dist/esm-es5/calcite-label.entry.js +2 -2
  831. package/dist/esm-es5/calcite-link.entry.js +2 -2
  832. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  833. package/dist/esm-es5/calcite-loader.entry.js +3 -3
  834. package/dist/esm-es5/calcite-modal.entry.js +3 -3
  835. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  836. package/dist/esm-es5/calcite-option_3.entry.js +3 -3
  837. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  838. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  839. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  840. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  841. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  842. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  843. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  844. package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
  845. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  846. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  847. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  848. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  849. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  850. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  851. package/dist/esm-es5/calcite-switch.entry.js +3 -3
  852. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  853. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  854. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  855. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  856. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
  857. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  858. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  859. package/dist/esm-es5/calcite.js +2 -2
  860. package/dist/esm-es5/{conditionalSlot-13c69fa9.js → conditionalSlot-e49df07c.js} +2 -2
  861. package/dist/esm-es5/{debounce-bef6fc2c.js → debounce-76a1065a.js} +1 -1
  862. package/dist/esm-es5/{dom-6c1f7204.js → dom-19ab3d2f.js} +2 -2
  863. package/dist/esm-es5/floating-ui-4afc064e.js +6 -0
  864. package/dist/esm-es5/{forIn-566610cc.js → forIn-1c3a0d8e.js} +2 -2
  865. package/dist/esm-es5/{form-115e3241.js → form-ecbc6fec.js} +2 -2
  866. package/dist/esm-es5/{guid-9ee41ac6.js → guid-ba74e5d4.js} +1 -1
  867. package/dist/esm-es5/{index-dfcf10d7.js → index-5048a317.js} +1 -1
  868. package/dist/esm-es5/index.js +1 -1
  869. package/dist/esm-es5/{interactive-2a03c362.js → interactive-71744e3e.js} +1 -1
  870. package/dist/esm-es5/{interfaces-02cee59d.js → interfaces-e771f6c8.js} +1 -1
  871. package/dist/esm-es5/{key-1219c482.js → key-af81a004.js} +1 -1
  872. package/dist/esm-es5/{label-b30a7cde.js → label-dfcfa9e0.js} +2 -2
  873. package/dist/esm-es5/loader.js +2 -2
  874. package/dist/esm-es5/{locale-98144f51.js → locale-ab6b5afc.js} +2 -2
  875. package/dist/esm-es5/{math-7409ae0d.js → math-a5e24a73.js} +1 -1
  876. package/dist/esm-es5/{observers-fa0db945.js → observers-61a2bb4f.js} +1 -1
  877. package/dist/esm-es5/{resources-ccd18bbb.js → resources-566ead7b.js} +2 -2
  878. package/dist/esm-es5/{resources-7198828a.js → resources-9348154b.js} +1 -1
  879. package/dist/esm-es5/{resources-3157143b.js → resources-c995bb5e.js} +2 -2
  880. package/dist/esm-es5/{resources-3b67e62a.js → resources-e1d5ca1c.js} +1 -1
  881. package/dist/esm-es5/{sortable.esm-e7918a0d.js → sortable.esm-d0f38173.js} +1 -1
  882. package/dist/esm-es5/{utils-06a51b70.js → utils-531de8fa.js} +1 -1
  883. package/dist/extras/docs-json.json +286 -169
  884. package/dist/loader/cdn.js +1 -1
  885. package/dist/loader/index.cjs.js +1 -1
  886. package/dist/loader/index.es2017.js +1 -1
  887. package/dist/loader/index.js +1 -1
  888. package/dist/types/components/accordion/accordion.d.ts +4 -4
  889. package/dist/types/components/accordion/interfaces.d.ts +3 -0
  890. package/dist/types/components/accordion-item/accordion-item.d.ts +13 -7
  891. package/dist/types/components/accordion-item/interfaces.d.ts +11 -0
  892. package/dist/types/components/accordion-item/resources.d.ts +16 -0
  893. package/dist/types/components/action/action.d.ts +1 -1
  894. package/dist/types/components/action-bar/action-bar.d.ts +1 -1
  895. package/dist/types/components/action-group/action-group.d.ts +2 -1
  896. package/dist/types/components/action-menu/action-menu.d.ts +8 -8
  897. package/dist/types/components/action-pad/action-pad.d.ts +1 -1
  898. package/dist/types/components/alert/alert.d.ts +20 -24
  899. package/dist/types/components/alert/interfaces.d.ts +3 -0
  900. package/dist/types/components/block/block.d.ts +6 -2
  901. package/dist/types/components/block-section/block-section.d.ts +1 -1
  902. package/dist/types/components/card/card.d.ts +1 -1
  903. package/dist/types/components/checkbox/checkbox.d.ts +3 -3
  904. package/dist/types/components/chip/chip.d.ts +7 -3
  905. package/dist/types/components/color-picker/color-picker.d.ts +2 -2
  906. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -1
  907. package/dist/types/components/combobox/combobox.d.ts +25 -28
  908. package/dist/types/components/combobox-item/combobox-item.d.ts +4 -2
  909. package/dist/types/components/date-picker/date-picker.d.ts +5 -5
  910. package/dist/types/components/date-picker-day/date-picker-day.d.ts +3 -3
  911. package/dist/types/components/date-picker-month/date-picker-month.d.ts +7 -7
  912. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +1 -1
  913. package/dist/types/components/dropdown/dropdown.d.ts +27 -31
  914. package/dist/types/components/dropdown-group/dropdown-group.d.ts +2 -2
  915. package/dist/types/components/dropdown-group/interfaces.d.ts +4 -0
  916. package/dist/types/components/dropdown-item/dropdown-item.d.ts +4 -3
  917. package/dist/types/components/handle/handle.d.ts +4 -1
  918. package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
  919. package/dist/types/components/input/input.d.ts +6 -4
  920. package/dist/types/components/input-date-picker/input-date-picker.d.ts +37 -26
  921. package/dist/types/components/input-number/input-number.d.ts +6 -4
  922. package/dist/types/components/input-time-picker/input-time-picker.d.ts +4 -5
  923. package/dist/types/components/interfaces.d.ts +1 -0
  924. package/dist/types/components/loader/loader.d.ts +5 -1
  925. package/dist/types/components/modal/modal.d.ts +23 -7
  926. package/dist/types/components/notice/notice.d.ts +11 -3
  927. package/dist/types/components/panel/panel.d.ts +12 -9
  928. package/dist/types/components/popover/PopoverManager.d.ts +1 -1
  929. package/dist/types/components/popover/popover.d.ts +24 -15
  930. package/dist/types/components/radio-button/radio-button.d.ts +4 -4
  931. package/dist/types/components/radio-button-group/radio-button-group.d.ts +1 -1
  932. package/dist/types/components/radio-group-item/radio-group-item.d.ts +1 -1
  933. package/dist/types/components/shell-panel/shell-panel.d.ts +1 -1
  934. package/dist/types/components/slider/slider.d.ts +3 -3
  935. package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
  936. package/dist/types/components/split-button/split-button.d.ts +14 -6
  937. package/dist/types/components/stepper/interfaces.d.ts +0 -1
  938. package/dist/types/components/stepper/stepper.d.ts +4 -13
  939. package/dist/types/components/stepper-item/stepper-item.d.ts +2 -2
  940. package/dist/types/components/switch/switch.d.ts +5 -3
  941. package/dist/types/components/tab/tab.d.ts +1 -1
  942. package/dist/types/components/tab-nav/tab-nav.d.ts +7 -7
  943. package/dist/types/components/tab-title/tab-title.d.ts +3 -3
  944. package/dist/types/components/tabs/tabs.d.ts +8 -8
  945. package/dist/types/components/tile-select/tile-select.d.ts +1 -1
  946. package/dist/types/components/tip/tip.d.ts +1 -1
  947. package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
  948. package/dist/types/components/tooltip/TooltipManager.d.ts +1 -1
  949. package/dist/types/components/tooltip/tooltip.d.ts +6 -9
  950. package/dist/types/components/tree/tree.d.ts +2 -2
  951. package/dist/types/components/tree-item/tree-item.d.ts +2 -2
  952. package/dist/types/components.d.ts +203 -120
  953. package/dist/types/preact.d.ts +15 -9
  954. package/dist/types/utils/floating-ui.d.ts +109 -0
  955. package/hydrate/index.js +2240 -2557
  956. package/package.json +30 -26
  957. package/readme.md +2 -2
  958. package/dist/calcite/p-03005912.system.entry.js +0 -6
  959. package/dist/calcite/p-05acf942.system.entry.js +0 -6
  960. package/dist/calcite/p-098bf101.entry.js +0 -6
  961. package/dist/calcite/p-0ac22887.js +0 -6
  962. package/dist/calcite/p-0d0ab1c5.system.entry.js +0 -6
  963. package/dist/calcite/p-15a9e209.system.entry.js +0 -6
  964. package/dist/calcite/p-17c8a622.system.entry.js +0 -6
  965. package/dist/calcite/p-1b79a3a3.entry.js +0 -6
  966. package/dist/calcite/p-1b939beb.system.entry.js +0 -6
  967. package/dist/calcite/p-1e7d3d02.system.entry.js +0 -6
  968. package/dist/calcite/p-1e9d27fe.system.entry.js +0 -6
  969. package/dist/calcite/p-1ef82cc5.system.entry.js +0 -6
  970. package/dist/calcite/p-1f0bf183.system.entry.js +0 -6
  971. package/dist/calcite/p-22217b06.entry.js +0 -6
  972. package/dist/calcite/p-27f31e04.js +0 -6
  973. package/dist/calcite/p-29122323.system.entry.js +0 -6
  974. package/dist/calcite/p-2d556f94.system.entry.js +0 -6
  975. package/dist/calcite/p-2d7b7215.system.entry.js +0 -6
  976. package/dist/calcite/p-36ee6a02.entry.js +0 -6
  977. package/dist/calcite/p-37f621e1.entry.js +0 -6
  978. package/dist/calcite/p-386d256d.entry.js +0 -6
  979. package/dist/calcite/p-39201c6f.entry.js +0 -6
  980. package/dist/calcite/p-40825758.entry.js +0 -6
  981. package/dist/calcite/p-40ddce6a.system.entry.js +0 -6
  982. package/dist/calcite/p-451e4a81.entry.js +0 -6
  983. package/dist/calcite/p-498af5d7.system.entry.js +0 -6
  984. package/dist/calcite/p-55b9c3d8.system.entry.js +0 -6
  985. package/dist/calcite/p-58ba388d.entry.js +0 -6
  986. package/dist/calcite/p-62f31a5a.system.entry.js +0 -6
  987. package/dist/calcite/p-661fe743.system.js +0 -6
  988. package/dist/calcite/p-667c6be1.entry.js +0 -6
  989. package/dist/calcite/p-670df541.system.entry.js +0 -6
  990. package/dist/calcite/p-6abdcefa.system.entry.js +0 -6
  991. package/dist/calcite/p-6f3fad62.system.entry.js +0 -6
  992. package/dist/calcite/p-705dcfd0.system.entry.js +0 -6
  993. package/dist/calcite/p-7124aeac.entry.js +0 -6
  994. package/dist/calcite/p-718bec4c.entry.js +0 -6
  995. package/dist/calcite/p-71df706c.system.entry.js +0 -6
  996. package/dist/calcite/p-7285074f.entry.js +0 -6
  997. package/dist/calcite/p-72d06cc6.entry.js +0 -6
  998. package/dist/calcite/p-7624aeb6.system.entry.js +0 -6
  999. package/dist/calcite/p-78f82837.system.entry.js +0 -6
  1000. package/dist/calcite/p-81460471.entry.js +0 -6
  1001. package/dist/calcite/p-822445af.entry.js +0 -6
  1002. package/dist/calcite/p-82655fe7.entry.js +0 -6
  1003. package/dist/calcite/p-82c99865.entry.js +0 -6
  1004. package/dist/calcite/p-8381e935.system.entry.js +0 -6
  1005. package/dist/calcite/p-869ceaf2.system.entry.js +0 -6
  1006. package/dist/calcite/p-8701d6ec.js +0 -6
  1007. package/dist/calcite/p-881346ec.system.entry.js +0 -6
  1008. package/dist/calcite/p-8b8580be.system.entry.js +0 -6
  1009. package/dist/calcite/p-8d90241c.system.entry.js +0 -6
  1010. package/dist/calcite/p-8e8279db.system.entry.js +0 -6
  1011. package/dist/calcite/p-8f8f1f3c.entry.js +0 -6
  1012. package/dist/calcite/p-92c0a612.entry.js +0 -6
  1013. package/dist/calcite/p-93fb8320.js +0 -6
  1014. package/dist/calcite/p-97f24602.entry.js +0 -6
  1015. package/dist/calcite/p-9e7c867f.entry.js +0 -6
  1016. package/dist/calcite/p-a1dec328.system.entry.js +0 -6
  1017. package/dist/calcite/p-a574d688.entry.js +0 -6
  1018. package/dist/calcite/p-a6da6fa9.entry.js +0 -6
  1019. package/dist/calcite/p-a6ec6d30.system.entry.js +0 -6
  1020. package/dist/calcite/p-a792b4d4.system.entry.js +0 -6
  1021. package/dist/calcite/p-a8d26072.entry.js +0 -6
  1022. package/dist/calcite/p-a8e86b7c.system.js +0 -6
  1023. package/dist/calcite/p-a930b4c7.system.entry.js +0 -6
  1024. package/dist/calcite/p-ad42a290.system.entry.js +0 -6
  1025. package/dist/calcite/p-afa96d7b.entry.js +0 -6
  1026. package/dist/calcite/p-b3b7d99f.entry.js +0 -6
  1027. package/dist/calcite/p-b3c08277.system.entry.js +0 -6
  1028. package/dist/calcite/p-bbad2c78.entry.js +0 -6
  1029. package/dist/calcite/p-bbc195d0.system.entry.js +0 -6
  1030. package/dist/calcite/p-be0b7ae8.entry.js +0 -6
  1031. package/dist/calcite/p-bed13ccd.system.entry.js +0 -6
  1032. package/dist/calcite/p-c075111b.system.entry.js +0 -6
  1033. package/dist/calcite/p-c09197e1.system.entry.js +0 -6
  1034. package/dist/calcite/p-c3200434.system.entry.js +0 -6
  1035. package/dist/calcite/p-cda3843c.entry.js +0 -6
  1036. package/dist/calcite/p-d1fef3a5.entry.js +0 -6
  1037. package/dist/calcite/p-d69560ee.system.entry.js +0 -6
  1038. package/dist/calcite/p-d7614205.entry.js +0 -6
  1039. package/dist/calcite/p-d8cca171.system.entry.js +0 -6
  1040. package/dist/calcite/p-d8d3ee29.entry.js +0 -6
  1041. package/dist/calcite/p-d91ab8b3.system.entry.js +0 -6
  1042. package/dist/calcite/p-da603fb6.system.js +0 -6
  1043. package/dist/calcite/p-dc5681bd.system.entry.js +0 -6
  1044. package/dist/calcite/p-dda6305e.system.entry.js +0 -6
  1045. package/dist/calcite/p-dfd66185.entry.js +0 -6
  1046. package/dist/calcite/p-e4a9f3a3.entry.js +0 -6
  1047. package/dist/calcite/p-e5100a68.system.entry.js +0 -6
  1048. package/dist/calcite/p-e55af056.entry.js +0 -6
  1049. package/dist/calcite/p-ec0ff216.entry.js +0 -6
  1050. package/dist/calcite/p-ee4221f2.entry.js +0 -6
  1051. package/dist/calcite/p-ef596bf4.system.js +0 -6
  1052. package/dist/calcite/p-f29e929e.system.entry.js +0 -6
  1053. package/dist/calcite/p-fcbb3104.entry.js +0 -6
  1054. package/dist/calcite/p-fe758da5.system.entry.js +0 -6
  1055. package/dist/calcite/p-ffc4d4f5.system.entry.js +0 -6
  1056. package/dist/cjs/popper-f29f9a3b.js +0 -1876
  1057. package/dist/collection/utils/popper.js +0 -126
  1058. package/dist/components/popper.js +0 -1868
  1059. package/dist/esm/popper-f38ba1ab.js +0 -1868
  1060. package/dist/esm-es5/popper-f38ba1ab.js +0 -6
  1061. package/dist/types/utils/popper.d.ts +0 -35
@@ -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-beta.86
4
+ * v1.0.0-beta.87
5
5
  */
6
- import{r as registerInstance,h,g as getElement}from"./index-dfcf10d7.js";var CSS={scrim:"scrim",content:"content"};var TEXT={loading:"Loading"};var scrimCss="@-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:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:50;display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";var Scrim=function(){function t(t){registerInstance(this,t);this.intlLoading=TEXT.loading;this.loading=false}t.prototype.render=function(){var t=this,a=t.el,i=t.loading,n=t.intlLoading;var e=a.innerHTML.trim().length>0;var r=i?h("calcite-loader",{active:true,label:n}):null;var o=e?h("div",{class:CSS.content},h("slot",null)):null;return h("div",{class:CSS.scrim},r,o)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Scrim.style=scrimCss;export{Scrim as calcite_scrim};
6
+ import{r as registerInstance,h,g as getElement}from"./index-5048a317.js";var CSS={scrim:"scrim",content:"content"};var TEXT={loading:"Loading"};var scrimCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:50;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";var Scrim=function(){function a(a){registerInstance(this,a);this.intlLoading=TEXT.loading;this.loading=false}a.prototype.render=function(){var a=this,t=a.el,i=a.loading,n=a.intlLoading;var e=t.innerHTML.trim().length>0;var r=i?h("calcite-loader",{active:true,label:n}):null;var c=e?h("div",{class:CSS.content},h("slot",null)):null;return h("div",{class:CSS.scrim},r,c)};Object.defineProperty(a.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();Scrim.style=scrimCss;export{Scrim as calcite_scrim};
@@ -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-beta.86
4
+ * v1.0.0-beta.87
5
5
  */
6
- import{r as registerInstance,h,F as Fragment,g as getElement,c as createEvent,f as forceUpdate}from"./index-dfcf10d7.js";import{g as getSlotted,a as getElementDir}from"./dom-6c1f7204.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-13c69fa9.js";import{c as clamp}from"./math-7409ae0d.js";import"./guid-9ee41ac6.js";import"./observers-fa0db945.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:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){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:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";var ShellPanel=function(){function t(t){var e=this;registerInstance(this,t);this.calciteShellPanelToggle=createEvent(this,"calciteShellPanelToggle",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-5048a317.js";import{g as getSlotted,a as getElementDir}from"./dom-19ab3d2f.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-e49df07c.js";import{c as clamp}from"./math-a5e24a73.js";import"./guid-ba74e5d4.js";import"./observers-61a2bb4f.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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;z-index:0;border-width:0px;display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing);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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}:host([detached]){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){-ms-flex-item-align:end;align-self:flex-end}:host([position=start]){-ms-flex-item-align:start;align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";var ShellCenterRow=function(){function t(t){registerInstance(this,t);this.detached=false;this.heightScale="s";this.position="end"}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.render=function(){var t=this.el;var e=h("div",{class:CSS$1.content},h("slot",null));var a=getSlotted(t,SLOTS$1.actionBar);var n=a?h("div",{class:CSS$1.actionBarContainer,key:"action-bar"},h("slot",{name:SLOTS$1.actionBar})):null;var i=[n,e];if((a===null||a===void 0?void 0:a.position)==="end"){i.reverse()}return h(Fragment,null,i)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();ShellCenterRow.style=shellCenterRowCss;var CSS={container:"container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentDetached:"content--detached",separator:"separator"};var SLOTS={actionBar:"action-bar",header:"header"};var TEXT={resize:"Resize"};var shellPanelCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;z-index:10;display:-ms-flexbox;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";var ShellPanel=function(){function t(t){var e=this;registerInstance(this,t);this.calciteShellPanelToggle=createEvent(this,"calciteShellPanelToggle",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};
@@ -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-beta.86
4
+ * v1.0.0-beta.87
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-dfcf10d7.js";import{S as Sortable}from"./sortable.esm-e7918a0d.js";import{c as createObserver}from"./observers-fa0db945.js";import{u as updateHostInteraction}from"./interactive-2a03c362.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-5048a317.js";import{S as Sortable}from"./sortable.esm-d0f38173.js";import{c as createObserver}from"./observers-61a2bb4f.js";import{u as updateHostInteraction}from"./interactive-71744e3e.js";var CSS={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"};var sortableListCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}.container--vertical{-ms-flex-direction:column;flex-direction:column}.container--horizontal{-ms-flex-direction:row;flex-direction:row}";var SortableList=function(){function t(t){var e=this;registerInstance(this,t);this.calciteListOrderChange=createEvent(this,"calciteListOrderChange",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-beta.86
4
+ * v1.0.0-beta.87
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-dfcf10d7.js";import{u as updateHostInteraction}from"./interactive-2a03c362.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:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-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-5048a317.js";import{u as updateHostInteraction}from"./interactive-71744e3e.js";var CSS={container:"split-button__container",dividerContainer:"split-button__divider-container",divider:"split-button__divider",widthAuto:"width-auto",widthHalf:"width-half",widthFull:"width-full"};var splitButtonCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var SplitButton=function(){function t(t){var i=this;registerInstance(this,t);this.calciteSplitButtonPrimaryClick=createEvent(this,"calciteSplitButtonPrimaryClick",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-end",scale:this.scale,width:this.scale},h("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary",type:"button"}),h("slot",null)))};Object.defineProperty(t.prototype,"dropdownIcon",{get:function(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}},enumerable:false,configurable:true});return t}();SplitButton.style=splitButtonCss;export{SplitButton as calcite_split_button};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-beta.86
6
- */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-dfcf10d7.js";import{d as getElementProp,t as toAriaBoolean}from"./dom-6c1f7204.js";import{u as updateHostInteraction}from"./interactive-2a03c362.js";import"./guid-9ee41ac6.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.calciteInternalStepperItemChange=createEvent(this,"calciteInternalStepperItemChange",7);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.itemMap=new Map;this.items=[];this.enabledItems=[]}t.prototype.contentWatcher=function(){if(this.layout==="horizontal"){if(!this.stepperContentContainer&&this.requestedContent){this.addHorizontalContentContainer()}this.updateContent(this.requestedContent)}};t.prototype.componentDidLoad=function(){if(typeof this.currentPosition!=="number"){this.calciteInternalStepperItemChange.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.calciteInternalStepperItemKeyEvent=function(t){var e=t.detail.item;var i=t.target;var n=this.itemIndex(i)===0;var a=this.itemIndex(i)===this.enabledItems.length-1;switch(e.key){case"ArrowDown":case"ArrowRight":if(a){this.focusFirstItem()}else{this.focusNextItem(i)}break;case"ArrowUp":case"ArrowLeft":if(n){this.focusLastItem()}else{this.focusPrevItem(i)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}t.stopPropagation()};t.prototype.registerItem=function(t){var e=t.target;var i=t.detail,n=i.content,a=i.position;if(n&&e.active){this.requestedContent=n}this.itemMap.set(e,{position:a,content:n});this.items=this.sortItems();this.enabledItems=this.filterItems();t.stopPropagation()};t.prototype.updateItem=function(t){var e=t.detail,i=e.content,n=e.position;if(i){this.requestedContent=i}if(typeof n==="number"){this.currentPosition=n}this.calciteInternalStepperItemChange.emit({position:n});t.stopPropagation()};t.prototype.handleUserRequestedStepperItemSelect=function(t){var e=t.detail.position;this.calciteStepperItemChange.emit({position:e});t.stopPropagation()};t.prototype.nextStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.currentPosition+1,"next");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.prevStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.currentPosition-1,"previous");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.goToStep=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=t-1;if(this.currentPosition!==e){this.updateStep(e)}return[2]}))}))};t.prototype.startStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(0,"next");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.endStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.getEnabledStepIndex=function(t,e){if(e===void 0){e="next"}var i;var n=this,a=n.items,r=n.currentPosition;var o=t;while((i=a[o])===null||i===void 0?void 0:i.disabled){o=o+(e==="previous"?-1:1)}return o!==r&&o<a.length&&o>=0?o:null};t.prototype.addHorizontalContentContainer=function(){this.stepperContentContainer=document.createElement("div");this.stepperContentContainer.classList.add("calcite-stepper-content");this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)};t.prototype.updateStep=function(t){var e;var i=this,n=i.itemMap,a=i.items;this.currentPosition=t;var r=(e=n.get(a[t]))===null||e===void 0?void 0:e.content;if(r){this.requestedContent=r}this.calciteInternalStepperItemChange.emit({position:t})};t.prototype.focusFirstItem=function(){var t=this.enabledItems[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.enabledItems[this.enabledItems.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e+1]||this.enabledItems[0];this.focusElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e-1]||this.enabledItems[this.enabledItems.length-1];this.focusElement(i)};t.prototype.itemIndex=function(t){return this.enabledItems.indexOf(t)};t.prototype.focusElement=function(t){t===null||t===void 0?void 0:t.focus()};t.prototype.sortItems=function(){var t=this.itemMap;return Array.from(t.keys()).sort((function(e,i){return t.get(e).position-t.get(i).position}))};t.prototype.filterItems=function(){return this.items.filter((function(t){return!t.disabled}))};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-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;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-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;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-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-heading{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]){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-heading,:host(:focus:not([disabled]):not([active])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-description,:host(:focus:not([disabled]):not([active])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([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)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([active]) .container{border-top-color:highlight}:host([active]) .container .stepper-item-number{color:highlight}:host([active]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][active]) .container{border-color:highlight}}";var StepperItem=function(){function t(t){var e=this;registerInstance(this,t);this.calciteInternalStepperItemKeyEvent=createEvent(this,"calciteInternalStepperItemKeyEvent",7);this.calciteInternalStepperItemSelect=createEvent(this,"calciteInternalStepperItemSelect",7);this.calciteInternalUserRequestedStepperItemSelect=createEvent(this,"calciteInternalUserRequestedStepperItemSelect",7);this.calciteInternalStepperItemRegister=createEvent(this,"calciteInternalStepperItemRegister",7);this.active=false;this.complete=false;this.error=false;this.disabled=false;this.layout="horizontal";this.icon=false;this.numbered=false;this.scale="m";this.keyDownHandler=function(t){if(!e.disabled&&t.target===e.el){switch(t.key){case" ":case"Enter":e.emitUserRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":e.calciteInternalStepperItemKeyEvent.emit({item:t});t.preventDefault();break}}};this.emitUserRequestedItem=function(){e.emitRequestedItem();if(!e.disabled){var t=e.itemPosition;e.calciteInternalUserRequestedStepperItemSelect.emit({position:t})}};this.emitRequestedItem=function(){if(!e.disabled){var t=e.itemPosition;var i=e.itemContent;e.calciteInternalStepperItemSelect.emit({position:t,content:i})}};this.setItemContent=function(t){e.itemPosition=e.getItemPosition();var i=t.target.assignedNodes({flatten:true});if(i.length){e.itemContent=i}e.registerStepperItem();if(e.active){e.emitRequestedItem()}}}t.prototype.disabledWatcher=function(){this.registerStepperItem()};t.prototype.activeWatcher=function(t){if(t){this.emitRequestedItem()}};t.prototype.componentWillLoad=function(){this.icon=getElementProp(this.el,"icon",false);this.numbered=getElementProp(this.el,"numbered",false);this.layout=getElementProp(this.el,"layout",false);this.scale=getElementProp(this.el,"scale","m");this.parentStepperEl=this.el.parentElement};t.prototype.componentDidRender=function(){updateHostInteraction(this,true)};t.prototype.render=function(){return h(Host,{"aria-expanded":toAriaBoolean(this.active),onClick:this.emitUserRequestedItem,onKeyDown:this.keyDownHandler},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-heading"},this.heading||this.itemTitle),h("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),h("div",{class:"stepper-item-content"},h("slot",{onSlotchange:this.setItemContent}))))};t.prototype.updateActiveItemOnChange=function(t){if(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl)){this.activePosition=t.detail.position;this.determineActiveItem()}t.stopPropagation()};t.prototype.renderIcon=function(){var t=this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle";return h("calcite-icon",{class:"stepper-item-icon",icon:t,scale:"s"})};t.prototype.determineActiveItem=function(){this.active=!this.disabled&&this.itemPosition===this.activePosition};t.prototype.registerStepperItem=function(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})};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"],active:["activeWatcher"]}},enumerable:false,configurable:true});return t}();StepperItem.style=stepperItemCss;export{Stepper as calcite_stepper,StepperItem as calcite_stepper_item};
5
+ * v1.0.0-beta.87
6
+ */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-5048a317.js";import{f as focusElement,d as getElementProp,t as toAriaBoolean}from"./dom-19ab3d2f.js";import{u as updateHostInteraction}from"./interactive-71744e3e.js";import"./guid-ba74e5d4.js";var stepperCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size: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([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';var Stepper=function(){function t(t){registerInstance(this,t);this.calciteStepperItemChange=createEvent(this,"calciteStepperItemChange",7);this.calciteInternalStepperItemChange=createEvent(this,"calciteInternalStepperItemChange",7);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.itemMap=new Map;this.items=[];this.enabledItems=[]}t.prototype.componentDidLoad=function(){if(typeof this.currentPosition!=="number"){this.calciteInternalStepperItemChange.emit({position:0})}};t.prototype.render=function(){var t=this;return h("slot",{onSlotchange:function(e){var i=e.currentTarget.assignedElements().filter((function(t){return(t===null||t===void 0?void 0:t.tagName)==="CALCITE-STEPPER-ITEM"}));var n=Array(i.length).fill("1fr").join(" ");t.el.style.gridTemplateAreas=n;t.el.style.gridTemplateColumns=n}})};t.prototype.calciteInternalStepperItemKeyEvent=function(t){var e=t.detail.item;var i=t.target;var n=this.itemIndex(i)===0;var a=this.itemIndex(i)===this.enabledItems.length-1;switch(e.key){case"ArrowDown":case"ArrowRight":if(a){this.focusFirstItem()}else{this.focusNextItem(i)}break;case"ArrowUp":case"ArrowLeft":if(n){this.focusLastItem()}else{this.focusPrevItem(i)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}t.stopPropagation()};t.prototype.registerItem=function(t){var e=t.target;var i=t.detail,n=i.content,a=i.position;this.itemMap.set(e,{position:a,content:n});this.items=this.sortItems();this.enabledItems=this.filterItems();t.stopPropagation()};t.prototype.updateItem=function(t){var e=t.detail.position;if(typeof e==="number"){this.currentPosition=e}this.calciteInternalStepperItemChange.emit({position:e})};t.prototype.handleUserRequestedStepperItemSelect=function(t){var e=t.detail.position;this.calciteStepperItemChange.emit({position:e})};t.prototype.nextStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.currentPosition+1,"next");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.prevStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.currentPosition-1,"previous");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.goToStep=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=t-1;if(this.currentPosition!==e){this.updateStep(e)}return[2]}))}))};t.prototype.startStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(0,"next");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.endStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof t!=="number"){return[2]}this.updateStep(t);return[2]}))}))};t.prototype.getEnabledStepIndex=function(t,e){if(e===void 0){e="next"}var i;var n=this,a=n.items,r=n.currentPosition;var o=t;while((i=a[o])===null||i===void 0?void 0:i.disabled){o=o+(e==="previous"?-1:1)}return o!==r&&o<a.length&&o>=0?o:null};t.prototype.updateStep=function(t){this.currentPosition=t;this.calciteInternalStepperItemChange.emit({position:t})};t.prototype.focusFirstItem=function(){var t=this.enabledItems[0];focusElement(t)};t.prototype.focusLastItem=function(){var t=this.enabledItems[this.enabledItems.length-1];focusElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e+1]||this.enabledItems[0];focusElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e-1]||this.enabledItems[this.enabledItems.length-1];focusElement(i)};t.prototype.itemIndex=function(t){return this.enabledItems.indexOf(t)};t.prototype.sortItems=function(){var t=this.itemMap;return Array.from(t.keys()).sort((function(e,i){return t.get(e).position-t.get(i).position}))};t.prototype.filterItems=function(){return this.items.filter((function(t){return!t.disabled}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Stepper.style=stepperCss;var stepperItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:-ms-inline-flexbox;display:inline-flex;block-size:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([active])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-description,:host(:focus:not([disabled]):not([active])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][active]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][active]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([active]) .container{border-block-start-color:highlight}:host([active]) .container .stepper-item-number{color:highlight}:host([active]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][active]) .container{border-color:highlight}}";var StepperItem=function(){function t(t){var e=this;registerInstance(this,t);this.calciteInternalStepperItemKeyEvent=createEvent(this,"calciteInternalStepperItemKeyEvent",7);this.calciteInternalStepperItemSelect=createEvent(this,"calciteInternalStepperItemSelect",7);this.calciteInternalUserRequestedStepperItemSelect=createEvent(this,"calciteInternalUserRequestedStepperItemSelect",7);this.calciteInternalStepperItemRegister=createEvent(this,"calciteInternalStepperItemRegister",7);this.active=false;this.complete=false;this.error=false;this.disabled=false;this.layout="horizontal";this.icon=false;this.numbered=false;this.scale="m";this.keyDownHandler=function(t){if(!e.disabled&&t.target===e.el){switch(t.key){case" ":case"Enter":e.emitUserRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":e.calciteInternalStepperItemKeyEvent.emit({item:t});t.preventDefault();break}}};this.emitUserRequestedItem=function(){e.emitRequestedItem();if(!e.disabled){var t=e.itemPosition;e.calciteInternalUserRequestedStepperItemSelect.emit({position:t})}};this.emitRequestedItem=function(){if(!e.disabled){var t=e.itemPosition;e.calciteInternalStepperItemSelect.emit({position:t})}};this.setItemContent=function(){e.itemPosition=e.getItemPosition();e.registerStepperItem();if(e.active){e.emitRequestedItem()}}}t.prototype.disabledWatcher=function(){this.registerStepperItem()};t.prototype.activeWatcher=function(t){if(t){this.emitRequestedItem()}};t.prototype.componentWillLoad=function(){this.icon=getElementProp(this.el,"icon",false);this.numbered=getElementProp(this.el,"numbered",false);this.layout=getElementProp(this.el,"layout",false);this.scale=getElementProp(this.el,"scale","m");this.parentStepperEl=this.el.parentElement};t.prototype.componentDidRender=function(){updateHostInteraction(this,true)};t.prototype.render=function(){var t=this;return h(Host,{"aria-expanded":toAriaBoolean(this.active),onClick:this.emitUserRequestedItem,onKeyDown:this.keyDownHandler},h("div",{class:"container"},h("div",{class:"stepper-item-header",ref:function(e){return t.headerEl=e},tabIndex:this.layout==="horizontal"&&!this.disabled?0:null},this.icon?this.renderIcon():null,this.numbered?h("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,h("div",{class:"stepper-item-header-text"},h("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),h("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),h("div",{class:"stepper-item-content"},h("slot",{onSlotchange:this.setItemContent}))))};t.prototype.updateActiveItemOnChange=function(t){if(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl)){this.activePosition=t.detail.position;this.determineActiveItem()}};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.layout==="vertical"?this.el:this.headerEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderIcon=function(){var t=this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle";return h("calcite-icon",{class:"stepper-item-icon",icon:t,scale:"s"})};t.prototype.determineActiveItem=function(){this.active=!this.disabled&&this.itemPosition===this.activePosition};t.prototype.registerStepperItem=function(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})};t.prototype.getItemPosition=function(){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"],active:["activeWatcher"]}},enumerable:false,configurable:true});return t}();StepperItem.style=stepperItemCss;export{Stepper as calcite_stepper,StepperItem as calcite_stepper_item};
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{s(a.next(t))}catch(t){r(t)}}function c(t){try{s(a["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):n(t.value).then(o,c)}s((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(e){return s([t,e])}}function s(o){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];n=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{s(n.next(t))}catch(t){r(t)}}function c(t){try{s(n["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):a(t.value).then(o,c)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(e){return s([t,e])}}function s(o){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];a=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
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-beta.86
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-dfcf10d7.js";import{f as focusElement,t as toAriaBoolean}from"./dom-6c1f7204.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-b30a7cde.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-115e3241.js";import{u as updateHostInteraction}from"./interactive-2a03c362.js";import"./guid-9ee41ac6.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-color:transparent}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);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":toAriaBoolean(this.checked),"aria-label":getLabelText(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},h("div",{class:"track"},h("div",{class:"handle"})),h(HiddenFormInputSlot,{component:this})))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{switched:["switchedWatcher"]}},enumerable:false,configurable:true});return t}();Switch.style=switchCss;export{Switch as calcite_switch};
5
+ * v1.0.0-beta.87
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-5048a317.js";import{f as focusElement,t as toAriaBoolean}from"./dom-19ab3d2f.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-dfcfa9e0.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-ecbc6fec.js";import{u as updateHostInteraction}from"./interactive-71744e3e.js";import"./guid-ba74e5d4.js";var switchCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{inline-size:auto;outline-color:transparent}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var Switch=function(){function t(t){var e=this;registerInstance(this,t);this.calciteSwitchChange=createEvent(this,"calciteSwitchChange",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":toAriaBoolean(this.checked),"aria-label":getLabelText(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},h("div",{class:"track"},h("div",{class:"handle"})),h(HiddenFormInputSlot,{component:this})))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{switched:["switchedWatcher"]}},enumerable:false,configurable:true});return t}();Switch.style=switchCss;export{Switch as calcite_switch};