@esri/calcite-components 1.0.0-next.552 → 1.0.0-next.555

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 (1001) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +2 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/{p-c64e709a.js → p-00c5f906.js} +1 -1
  6. package/dist/calcite/p-01012ed9.system.entry.js +6 -0
  7. package/dist/calcite/p-011cf492.system.entry.js +6 -0
  8. package/dist/calcite/p-01473985.entry.js +6 -0
  9. package/dist/calcite/p-0a96aef2.entry.js +6 -0
  10. package/dist/calcite/{p-8685a560.system.js → p-0b11a5a1.system.js} +1 -1
  11. package/dist/calcite/p-0b439e6f.system.entry.js +6 -0
  12. package/dist/calcite/{p-bfcdc31a.system.js → p-0d158c9f.system.js} +2 -2
  13. package/dist/calcite/p-0d18b215.entry.js +6 -0
  14. package/dist/calcite/p-0dabbf0f.system.js +7 -0
  15. package/dist/calcite/p-0fb15543.system.entry.js +6 -0
  16. package/dist/calcite/p-12d5e438.system.entry.js +6 -0
  17. package/dist/calcite/{p-b796b5ad.entry.js → p-14237bb7.entry.js} +2 -2
  18. package/dist/calcite/{p-03672c0c.system.js → p-146ed0dd.system.js} +3 -3
  19. package/dist/calcite/{p-f8addf9b.js → p-14e6315a.js} +1 -1
  20. package/dist/calcite/p-1501b176.system.entry.js +6 -0
  21. package/dist/calcite/p-154b77af.entry.js +6 -0
  22. package/dist/calcite/p-16c2985a.system.entry.js +6 -0
  23. package/dist/calcite/{p-d1b80ad8.js → p-195189ef.js} +1 -1
  24. package/dist/calcite/{p-d40d5fac.system.entry.js → p-1a140bf4.system.entry.js} +2 -2
  25. package/dist/calcite/{p-69167fa0.system.js → p-1a5ea6da.system.js} +2 -2
  26. package/dist/calcite/p-1b1ad5eb.system.entry.js +6 -0
  27. package/dist/calcite/{p-ad047b3c.entry.js → p-1b948cf3.entry.js} +2 -2
  28. package/dist/calcite/{p-c0ed0fd8.system.js → p-1ca0ad6e.system.js} +1 -1
  29. package/dist/calcite/p-1d459237.system.entry.js +6 -0
  30. package/dist/calcite/{p-8c6cc4ff.entry.js → p-1d79f363.entry.js} +2 -2
  31. package/dist/calcite/p-227a252e.system.js +6 -0
  32. package/dist/calcite/{p-173e9497.entry.js → p-24e38bcc.entry.js} +2 -2
  33. package/dist/calcite/{p-7fb70e30.entry.js → p-260e6a14.entry.js} +2 -2
  34. package/dist/calcite/{p-9f0efabb.system.js → p-27e2f0f4.system.js} +2 -2
  35. package/dist/calcite/p-2871e3ae.system.entry.js +6 -0
  36. package/dist/calcite/p-287c704c.system.entry.js +6 -0
  37. package/dist/calcite/p-2b34ab26.entry.js +6 -0
  38. package/dist/calcite/{p-3c95393e.entry.js → p-2c217ec5.entry.js} +2 -2
  39. package/dist/calcite/p-2c9079c6.entry.js +6 -0
  40. package/dist/calcite/p-2ccdad29.entry.js +6 -0
  41. package/dist/calcite/{p-7e54703d.system.js → p-2d842d9a.system.js} +1 -1
  42. package/dist/calcite/{p-cc5485ef.js → p-2dcf1cd2.js} +1 -1
  43. package/dist/calcite/p-2f020c2d.system.entry.js +6 -0
  44. package/dist/calcite/p-2f0da36b.entry.js +6 -0
  45. package/dist/calcite/p-30828f96.system.entry.js +6 -0
  46. package/dist/calcite/p-31dd32bb.system.js +6 -0
  47. package/dist/calcite/p-322c560f.entry.js +6 -0
  48. package/dist/calcite/{p-3cced899.system.js → p-32c1ce43.system.js} +1 -1
  49. package/dist/calcite/p-35c7b500.system.entry.js +6 -0
  50. package/dist/calcite/p-36726890.entry.js +6 -0
  51. package/dist/calcite/{p-497c61ba.js → p-38442b01.js} +1 -1
  52. package/dist/calcite/{p-94a26e12.system.js → p-397d796b.system.js} +2 -2
  53. package/dist/calcite/p-3a1a580f.system.entry.js +6 -0
  54. package/dist/calcite/p-3d70ba59.entry.js +6 -0
  55. package/dist/calcite/{p-b7096397.system.js → p-40bbc319.system.js} +1 -1
  56. package/dist/calcite/{p-08d74428.system.entry.js → p-42bae2a8.system.entry.js} +2 -2
  57. package/dist/calcite/{p-6e5914e7.entry.js → p-437442cd.entry.js} +2 -2
  58. package/dist/calcite/p-43ff85ce.entry.js +6 -0
  59. package/dist/calcite/p-44886675.entry.js +6 -0
  60. package/dist/calcite/p-4783ebf1.entry.js +6 -0
  61. package/dist/calcite/p-4bac732f.entry.js +6 -0
  62. package/dist/calcite/{p-53bc8709.entry.js → p-4bd3b2f2.entry.js} +2 -2
  63. package/dist/calcite/p-4f290f4e.system.entry.js +6 -0
  64. package/dist/calcite/{p-4a4ce7bc.system.js → p-51256bf8.system.js} +1 -1
  65. package/dist/calcite/p-51cc1fb5.system.js +6 -0
  66. package/dist/calcite/{p-6d815782.system.entry.js → p-52f7f724.system.entry.js} +2 -2
  67. package/dist/calcite/p-56370690.entry.js +6 -0
  68. package/dist/calcite/{p-294e1d2f.entry.js → p-56d3d91c.entry.js} +2 -2
  69. package/dist/calcite/p-58d33448.system.entry.js +6 -0
  70. package/dist/calcite/{p-69eb5828.js → p-59ca7885.js} +2 -2
  71. package/dist/calcite/{p-f99d986c.entry.js → p-5b34148e.entry.js} +2 -2
  72. package/dist/calcite/p-5c8b3ff4.system.entry.js +6 -0
  73. package/dist/calcite/{p-4afc94f4.system.entry.js → p-5d472921.system.entry.js} +2 -2
  74. package/dist/calcite/p-5dc6e439.system.entry.js +6 -0
  75. package/dist/calcite/p-5ee8ef60.system.entry.js +6 -0
  76. package/dist/calcite/p-5f63aa1a.entry.js +6 -0
  77. package/dist/calcite/{p-156ec8c4.js → p-6196f2dd.js} +1 -1
  78. package/dist/calcite/{p-4ade427b.system.js → p-6652cc68.system.js} +1 -1
  79. package/dist/calcite/{p-0cf644b5.entry.js → p-6739b6a3.entry.js} +2 -2
  80. package/dist/calcite/{p-57a16ad0.entry.js → p-680d47d8.entry.js} +2 -2
  81. package/dist/calcite/{p-93104b20.entry.js → p-6a5d4ccf.entry.js} +2 -2
  82. package/dist/calcite/{p-4bfa08bf.system.js → p-6d51bc7e.system.js} +2 -2
  83. package/dist/calcite/{p-112ab376.js → p-722b0b81.js} +2 -2
  84. package/dist/calcite/p-72ed246e.system.entry.js +6 -0
  85. package/dist/calcite/{p-01e1e0dd.entry.js → p-74f4cb8e.entry.js} +2 -2
  86. package/dist/calcite/p-75d626ef.system.entry.js +6 -0
  87. package/dist/calcite/p-76460fff.entry.js +6 -0
  88. package/dist/calcite/{p-840f27df.js → p-76b94fbb.js} +1 -1
  89. package/dist/calcite/{p-54dc5d2f.system.entry.js → p-773dc64c.system.entry.js} +2 -2
  90. package/dist/calcite/{p-ad71b0d8.js → p-77c81298.js} +1 -1
  91. package/dist/calcite/{p-c08c241a.js → p-7a166b72.js} +1 -1
  92. package/dist/calcite/p-7b64493a.system.entry.js +6 -0
  93. package/dist/calcite/p-811ca56e.js +6 -0
  94. package/dist/calcite/{p-f82f5e48.entry.js → p-816aa9c2.entry.js} +2 -2
  95. package/dist/calcite/{p-f54f4898.entry.js → p-8578e964.entry.js} +2 -2
  96. package/dist/calcite/p-857f367d.entry.js +6 -0
  97. package/dist/calcite/{p-e848ec4e.system.js → p-869468f0.system.js} +1 -1
  98. package/dist/calcite/{p-03133b6f.entry.js → p-86d97e22.entry.js} +2 -2
  99. package/dist/calcite/{p-20a46934.entry.js → p-8ba6b1e9.entry.js} +2 -2
  100. package/dist/calcite/p-8c528406.system.entry.js +6 -0
  101. package/dist/calcite/p-8cc4a869.js +6 -0
  102. package/dist/calcite/p-8ef36d3f.system.entry.js +6 -0
  103. package/dist/calcite/{p-362a2021.entry.js → p-8fa6560a.entry.js} +2 -2
  104. package/dist/calcite/p-92315cbf.system.entry.js +6 -0
  105. package/dist/calcite/{p-9b51efc3.system.js → p-925a1f1e.system.js} +2 -2
  106. package/dist/calcite/p-935abcb9.system.entry.js +6 -0
  107. package/dist/calcite/p-9586f6bb.system.entry.js +6 -0
  108. package/dist/calcite/p-98913c1f.entry.js +6 -0
  109. package/dist/calcite/p-9a61e33b.system.entry.js +6 -0
  110. package/dist/calcite/p-9adfa6e4.system.entry.js +6 -0
  111. package/dist/calcite/p-9c0854b8.system.entry.js +6 -0
  112. package/dist/calcite/{p-7254d5e9.system.js → p-9f0372c9.system.js} +1 -1
  113. package/dist/calcite/{p-06503184.js → p-a213dd26.js} +2 -2
  114. package/dist/calcite/{p-1716b571.js → p-a2fed2e5.js} +2 -2
  115. package/dist/calcite/{p-3149cf70.system.js → p-a4282f1a.system.js} +2 -2
  116. package/dist/calcite/{p-d77ad131.entry.js → p-a9072e62.entry.js} +2 -2
  117. package/dist/calcite/p-ab5f5702.system.entry.js +6 -0
  118. package/dist/calcite/{p-26c231b3.system.js → p-ad8b9a54.system.js} +1 -1
  119. package/dist/calcite/{p-2a2f0836.system.js → p-ae93e565.system.js} +1 -1
  120. package/dist/calcite/{p-02cea1f6.js → p-aea77395.js} +1 -1
  121. package/dist/calcite/p-af508381.js +7 -0
  122. package/dist/calcite/p-af5f39c0.system.entry.js +6 -0
  123. package/dist/calcite/p-aff50424.entry.js +6 -0
  124. package/dist/calcite/p-b07a89da.entry.js +6 -0
  125. package/dist/calcite/p-b0a49830.system.entry.js +6 -0
  126. package/dist/calcite/p-b13196ac.system.entry.js +6 -0
  127. package/dist/calcite/{p-6001adbd.entry.js → p-b27ec36f.entry.js} +2 -2
  128. package/dist/calcite/p-b36d6254.entry.js +6 -0
  129. package/dist/calcite/p-b68c3e91.system.entry.js +6 -0
  130. package/dist/calcite/p-b70f5356.system.entry.js +6 -0
  131. package/dist/calcite/{p-70e1a11c.entry.js → p-b885b760.entry.js} +2 -2
  132. package/dist/calcite/p-b961207d.system.entry.js +6 -0
  133. package/dist/calcite/{p-732e70c9.system.entry.js → p-ba3069e3.system.entry.js} +2 -2
  134. package/dist/calcite/{p-06fd017f.entry.js → p-baa453d2.entry.js} +2 -2
  135. package/dist/calcite/p-bacbe7c9.entry.js +6 -0
  136. package/dist/calcite/p-bb557bb0.system.entry.js +6 -0
  137. package/dist/calcite/{p-be268123.js → p-bc7efd76.js} +1 -1
  138. package/dist/calcite/{p-8a9b3998.js → p-bccf0c9c.js} +1 -1
  139. package/dist/calcite/p-be506ed2.entry.js +6 -0
  140. package/dist/calcite/p-be6a504f.system.entry.js +6 -0
  141. package/dist/calcite/p-bee574f5.entry.js +6 -0
  142. package/dist/calcite/{p-294429b3.entry.js → p-c0f25bd3.entry.js} +2 -2
  143. package/dist/calcite/p-c1e9a3a4.entry.js +6 -0
  144. package/dist/calcite/p-c3ab76fc.system.entry.js +6 -0
  145. package/dist/calcite/p-c5662068.entry.js +6 -0
  146. package/dist/calcite/{p-d91e845e.js → p-c6df95fa.js} +2 -2
  147. package/dist/calcite/{p-66082f19.system.entry.js → p-c887f742.system.entry.js} +2 -2
  148. package/dist/calcite/p-c94563be.system.entry.js +6 -0
  149. package/dist/calcite/{p-9a8252a6.js → p-cc0da6be.js} +2 -2
  150. package/dist/calcite/{p-0e6de697.system.js → p-ce591076.system.js} +1 -1
  151. package/dist/calcite/p-d11255b1.entry.js +6 -0
  152. package/dist/calcite/{p-3b61e3dc.entry.js → p-d178bc57.entry.js} +2 -2
  153. package/dist/calcite/{p-a54414c4.system.entry.js → p-d9a46e7a.system.entry.js} +2 -2
  154. package/dist/calcite/{p-00a80e19.system.js → p-dac3d31f.system.js} +1 -1
  155. package/dist/calcite/{p-3009dcc3.entry.js → p-db697c19.entry.js} +2 -2
  156. package/dist/calcite/p-dc44672a.system.entry.js +6 -0
  157. package/dist/calcite/{p-0696a5ba.js → p-dddf9e4d.js} +2 -2
  158. package/dist/calcite/{p-a0c30ce2.js → p-de9c10d5.js} +2 -2
  159. package/dist/calcite/{p-1444a066.js → p-decbe7ed.js} +1 -1
  160. package/dist/calcite/p-e084e045.system.entry.js +6 -0
  161. package/dist/calcite/p-e188228d.system.entry.js +6 -0
  162. package/dist/calcite/p-e58f3069.system.entry.js +6 -0
  163. package/dist/calcite/{p-f4bd3407.js → p-e6a10287.js} +2 -2
  164. package/dist/calcite/p-e7ed1888.system.js +6 -0
  165. package/dist/calcite/p-ea2b2c74.entry.js +6 -0
  166. package/dist/calcite/p-ecd11b87.entry.js +6 -0
  167. package/dist/calcite/p-ed8e7d94.system.entry.js +6 -0
  168. package/dist/calcite/{p-0b43e030.system.js → p-f0fcc82a.system.js} +1 -1
  169. package/dist/calcite/p-f25495f0.system.entry.js +6 -0
  170. package/dist/calcite/{p-5ca4e64f.system.entry.js → p-f3f38baf.system.entry.js} +2 -2
  171. package/dist/calcite/p-f6a58746.system.entry.js +6 -0
  172. package/dist/calcite/p-f8c4c14b.system.entry.js +6 -0
  173. package/dist/calcite/{p-8a5c9c34.entry.js → p-fc03ab91.entry.js} +2 -2
  174. package/dist/calcite/{p-87c0244b.entry.js → p-fe633404.entry.js} +2 -2
  175. package/dist/cjs/{ExpandToggle-b1958a2f.js → ExpandToggle-a148ca3a.js} +5 -5
  176. package/dist/cjs/{Heading-a8f3c5fe.js → Heading-f5821e3b.js} +2 -2
  177. package/dist/cjs/{array-84aa0d02.js → array-ce68f4cd.js} +1 -1
  178. package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
  179. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  180. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  181. package/dist/cjs/calcite-action-menu.cjs.entry.js +48 -41
  182. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  183. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  184. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  185. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  186. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  187. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  188. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  189. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
  190. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  191. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
  192. package/dist/cjs/calcite-combobox_3.cjs.entry.js +16 -16
  193. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  194. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -11
  195. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  196. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  197. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  198. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
  199. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  201. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
  203. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  205. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  206. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
  207. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  208. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  209. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
  211. package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
  212. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  214. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
  215. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  216. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  217. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +14 -14
  218. package/dist/cjs/calcite-popover_2.cjs.entry.js +10 -10
  219. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  220. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  221. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  222. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
  223. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  224. package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
  225. package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -10
  226. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  228. package/dist/cjs/calcite-stepper_2.cjs.entry.js +7 -7
  229. package/dist/cjs/calcite-switch.cjs.entry.js +8 -8
  230. package/dist/cjs/calcite-tab_4.cjs.entry.js +63 -22
  231. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  232. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  233. package/dist/cjs/calcite-tip_3.cjs.entry.js +10 -10
  234. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
  235. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  236. package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
  237. package/dist/cjs/calcite.cjs.js +4 -4
  238. package/dist/cjs/{conditionalSlot-8e62208d.js → conditionalSlot-9af3512f.js} +3 -3
  239. package/dist/cjs/{debounce-6015378a.js → debounce-b7489443.js} +1 -1
  240. package/dist/cjs/{dom-c85df1c5.js → dom-d6b74aa3.js} +2 -2
  241. package/dist/cjs/{filter-444685ea.js → filter-c245e6df.js} +2 -2
  242. package/dist/cjs/{floating-ui-44c2feac.js → floating-ui-f9976acd.js} +2 -2
  243. package/dist/cjs/{form-adde73e9.js → form-7c9f751c.js} +3 -3
  244. package/dist/cjs/{guid-13deb165.js → guid-4a4f363a.js} +1 -1
  245. package/dist/cjs/{index-d74e6513.js → index-a63e0c6e.js} +10 -5
  246. package/dist/cjs/index.cjs.js +1 -1
  247. package/dist/cjs/{interactive-18c0ba5c.js → interactive-3049b1d7.js} +1 -1
  248. package/dist/cjs/{interfaces-e3637677.js → interfaces-6d2c9b90.js} +1 -1
  249. package/dist/cjs/{key-467aeaf8.js → key-62b8adda.js} +1 -1
  250. package/dist/cjs/{label-c0f6bb98.js → label-6ebcd769.js} +2 -2
  251. package/dist/cjs/loader.cjs.js +4 -4
  252. package/dist/cjs/{locale-7e298e3f.js → locale-0df5a0db.js} +2 -2
  253. package/dist/cjs/{math-2b3ba14e.js → math-90fee1c0.js} +1 -1
  254. package/dist/cjs/{observers-f7ac4caf.js → observers-f8b22aed.js} +1 -1
  255. package/dist/cjs/{openCloseComponent-761a292e.js → openCloseComponent-b069a5fb.js} +1 -1
  256. package/dist/cjs/{resources-933d32ff.js → resources-0c58f706.js} +1 -1
  257. package/dist/cjs/{resources-f3058233.js → resources-7195d5f1.js} +3 -3
  258. package/dist/cjs/{resources-6efa64d0.js → resources-86c37e47.js} +5 -5
  259. package/dist/cjs/{resources-19e7e163.js → resources-d5c7882f.js} +1 -1
  260. package/dist/cjs/{sortable.esm-efc39927.js → sortable.esm-f742b318.js} +1 -1
  261. package/dist/cjs/{utils-e176dd9f.js → utils-3d436716.js} +1 -1
  262. package/dist/collection/collection-manifest.json +1 -1
  263. package/dist/collection/components/accordion/accordion.css +1 -1
  264. package/dist/collection/components/accordion/accordion.js +1 -1
  265. package/dist/collection/components/accordion/interfaces.js +1 -1
  266. package/dist/collection/components/accordion-item/accordion-item.css +1 -1
  267. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  268. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  269. package/dist/collection/components/accordion-item/resources.js +1 -1
  270. package/dist/collection/components/action/action.css +1 -1
  271. package/dist/collection/components/action/action.js +1 -1
  272. package/dist/collection/components/action/resources.js +1 -1
  273. package/dist/collection/components/action-bar/action-bar.css +1 -1
  274. package/dist/collection/components/action-bar/action-bar.js +1 -1
  275. package/dist/collection/components/action-bar/resources.js +1 -1
  276. package/dist/collection/components/action-bar/utils.js +1 -1
  277. package/dist/collection/components/action-group/action-group.css +1 -1
  278. package/dist/collection/components/action-group/action-group.js +1 -1
  279. package/dist/collection/components/action-group/resources.js +1 -1
  280. package/dist/collection/components/action-menu/action-menu.css +2 -2
  281. package/dist/collection/components/action-menu/action-menu.js +38 -30
  282. package/dist/collection/components/action-menu/resources.js +1 -1
  283. package/dist/collection/components/action-pad/action-pad.css +1 -1
  284. package/dist/collection/components/action-pad/action-pad.js +1 -1
  285. package/dist/collection/components/action-pad/resources.js +1 -1
  286. package/dist/collection/components/alert/alert.css +1 -1
  287. package/dist/collection/components/alert/alert.js +1 -1
  288. package/dist/collection/components/alert/interfaces.js +1 -1
  289. package/dist/collection/components/alert/resources.js +1 -1
  290. package/dist/collection/components/avatar/avatar.css +1 -1
  291. package/dist/collection/components/avatar/avatar.js +1 -1
  292. package/dist/collection/components/avatar/utils.js +1 -1
  293. package/dist/collection/components/block/block.css +1 -1
  294. package/dist/collection/components/block/block.js +1 -1
  295. package/dist/collection/components/block/resources.js +1 -1
  296. package/dist/collection/components/block-section/block-section.css +1 -1
  297. package/dist/collection/components/block-section/block-section.js +1 -1
  298. package/dist/collection/components/block-section/interfaces.js +1 -1
  299. package/dist/collection/components/block-section/resources.js +1 -1
  300. package/dist/collection/components/button/button.css +1 -1
  301. package/dist/collection/components/button/button.js +1 -1
  302. package/dist/collection/components/button/interfaces.js +1 -1
  303. package/dist/collection/components/button/resources.js +1 -1
  304. package/dist/collection/components/card/card.css +1 -1
  305. package/dist/collection/components/card/card.js +1 -1
  306. package/dist/collection/components/card/resources.js +1 -1
  307. package/dist/collection/components/checkbox/checkbox.css +1 -1
  308. package/dist/collection/components/checkbox/checkbox.js +1 -1
  309. package/dist/collection/components/chip/chip.css +1 -1
  310. package/dist/collection/components/chip/chip.js +1 -1
  311. package/dist/collection/components/chip/interfaces.js +1 -1
  312. package/dist/collection/components/chip/resources.js +1 -1
  313. package/dist/collection/components/color-picker/color-picker.css +1 -1
  314. package/dist/collection/components/color-picker/color-picker.js +1 -1
  315. package/dist/collection/components/color-picker/interfaces.js +1 -1
  316. package/dist/collection/components/color-picker/resources.js +1 -1
  317. package/dist/collection/components/color-picker/utils.js +1 -1
  318. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +1 -1
  319. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  320. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  321. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -1
  322. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  323. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  324. package/dist/collection/components/combobox/combobox.css +1 -1
  325. package/dist/collection/components/combobox/combobox.js +1 -1
  326. package/dist/collection/components/combobox/interfaces.js +1 -1
  327. package/dist/collection/components/combobox/resources.js +1 -1
  328. package/dist/collection/components/combobox/utils.js +1 -1
  329. package/dist/collection/components/combobox-item/combobox-item.css +1 -1
  330. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  331. package/dist/collection/components/combobox-item/resources.js +1 -1
  332. package/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -1
  333. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  334. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  335. package/dist/collection/components/date-picker/date-picker.css +1 -1
  336. package/dist/collection/components/date-picker/date-picker.js +1 -1
  337. package/dist/collection/components/date-picker/interfaces.js +1 -1
  338. package/dist/collection/components/date-picker/resources.js +1 -1
  339. package/dist/collection/components/date-picker/utils.js +1 -1
  340. package/dist/collection/components/date-picker-day/date-picker-day.css +1 -1
  341. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  342. package/dist/collection/components/date-picker-month/date-picker-month.css +1 -1
  343. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  344. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
  345. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  346. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  347. package/dist/collection/components/dropdown/dropdown.css +1 -1
  348. package/dist/collection/components/dropdown/dropdown.js +1 -1
  349. package/dist/collection/components/dropdown/interfaces.js +1 -1
  350. package/dist/collection/components/dropdown/resources.js +1 -1
  351. package/dist/collection/components/dropdown-group/dropdown-group.css +1 -1
  352. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  353. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  354. package/dist/collection/components/dropdown-group/resources.js +1 -1
  355. package/dist/collection/components/dropdown-item/dropdown-item.css +1 -1
  356. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  357. package/dist/collection/components/dropdown-item/resources.js +1 -1
  358. package/dist/collection/components/fab/fab.css +1 -1
  359. package/dist/collection/components/fab/fab.js +1 -1
  360. package/dist/collection/components/fab/resources.js +1 -1
  361. package/dist/collection/components/filter/filter.css +1 -1
  362. package/dist/collection/components/filter/filter.js +1 -1
  363. package/dist/collection/components/filter/resources.js +1 -1
  364. package/dist/collection/components/flow/flow.css +1 -1
  365. package/dist/collection/components/flow/flow.js +1 -1
  366. package/dist/collection/components/flow/interfaces.js +1 -1
  367. package/dist/collection/components/flow/resources.js +1 -1
  368. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  369. package/dist/collection/components/functional/Heading.js +1 -1
  370. package/dist/collection/components/graph/graph.css +1 -1
  371. package/dist/collection/components/graph/graph.js +1 -1
  372. package/dist/collection/components/graph/interfaces.js +1 -1
  373. package/dist/collection/components/graph/util.js +1 -1
  374. package/dist/collection/components/handle/handle.css +1 -1
  375. package/dist/collection/components/handle/handle.js +1 -1
  376. package/dist/collection/components/handle/resources.js +1 -1
  377. package/dist/collection/components/icon/icon.css +1 -1
  378. package/dist/collection/components/icon/icon.js +1 -1
  379. package/dist/collection/components/icon/resources.js +1 -1
  380. package/dist/collection/components/icon/utils.js +1 -1
  381. package/dist/collection/components/inline-editable/inline-editable.css +1 -1
  382. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  383. package/dist/collection/components/inline-editable/resources.js +1 -1
  384. package/dist/collection/components/input/input.css +1 -1
  385. package/dist/collection/components/input/input.js +1 -1
  386. package/dist/collection/components/input/interfaces.js +1 -1
  387. package/dist/collection/components/input/resources.js +1 -1
  388. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
  389. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  390. package/dist/collection/components/input-date-picker/resources.js +1 -1
  391. package/dist/collection/components/input-message/input-message.css +1 -1
  392. package/dist/collection/components/input-message/input-message.js +1 -1
  393. package/dist/collection/components/input-message/interfaces.js +1 -1
  394. package/dist/collection/components/input-number/input-number.css +1 -1
  395. package/dist/collection/components/input-number/input-number.js +1 -1
  396. package/dist/collection/components/input-number/interfaces.js +1 -1
  397. package/dist/collection/components/input-number/resources.js +1 -1
  398. package/dist/collection/components/input-text/input-text.css +1 -1
  399. package/dist/collection/components/input-text/input-text.js +1 -1
  400. package/dist/collection/components/input-text/resources.js +1 -1
  401. package/dist/collection/components/input-time-picker/input-time-picker.css +1 -1
  402. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  403. package/dist/collection/components/interfaces.js +1 -1
  404. package/dist/collection/components/label/label.css +1 -1
  405. package/dist/collection/components/label/label.js +1 -1
  406. package/dist/collection/components/label/resources.js +1 -1
  407. package/dist/collection/components/link/link.css +1 -1
  408. package/dist/collection/components/link/link.js +1 -1
  409. package/dist/collection/components/list/list.css +1 -1
  410. package/dist/collection/components/list/list.js +1 -1
  411. package/dist/collection/components/list/resources.js +1 -1
  412. package/dist/collection/components/list-item/list-item.css +1 -1
  413. package/dist/collection/components/list-item/list-item.js +1 -1
  414. package/dist/collection/components/list-item/resources.js +1 -1
  415. package/dist/collection/components/list-item-group/list-item-group.css +1 -1
  416. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  417. package/dist/collection/components/list-item-group/resources.js +1 -1
  418. package/dist/collection/components/loader/loader.css +1 -1
  419. package/dist/collection/components/loader/loader.js +1 -1
  420. package/dist/collection/components/modal/interfaces.js +1 -1
  421. package/dist/collection/components/modal/modal.css +1 -1
  422. package/dist/collection/components/modal/modal.js +1 -1
  423. package/dist/collection/components/modal/resources.js +1 -1
  424. package/dist/collection/components/notice/notice.css +1 -1
  425. package/dist/collection/components/notice/notice.js +1 -1
  426. package/dist/collection/components/notice/resources.js +1 -1
  427. package/dist/collection/components/option/option.css +1 -1
  428. package/dist/collection/components/option/option.js +1 -1
  429. package/dist/collection/components/option-group/option-group.css +1 -1
  430. package/dist/collection/components/option-group/option-group.js +1 -1
  431. package/dist/collection/components/pagination/pagination.css +1 -1
  432. package/dist/collection/components/pagination/pagination.js +1 -1
  433. package/dist/collection/components/pagination/resources.js +1 -1
  434. package/dist/collection/components/panel/panel.css +1 -1
  435. package/dist/collection/components/panel/panel.js +1 -1
  436. package/dist/collection/components/panel/resources.js +1 -1
  437. package/dist/collection/components/pick-list/pick-list.css +1 -1
  438. package/dist/collection/components/pick-list/pick-list.js +1 -1
  439. package/dist/collection/components/pick-list/resources.js +1 -1
  440. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  441. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  442. package/dist/collection/components/pick-list-group/pick-list-group.css +1 -1
  443. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  444. package/dist/collection/components/pick-list-group/resources.js +1 -1
  445. package/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
  446. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  447. package/dist/collection/components/pick-list-item/resources.js +1 -1
  448. package/dist/collection/components/popover/PopoverManager.js +1 -1
  449. package/dist/collection/components/popover/popover.css +1 -1
  450. package/dist/collection/components/popover/popover.js +1 -1
  451. package/dist/collection/components/popover/resources.js +1 -1
  452. package/dist/collection/components/popover-manager/popover-manager.css +1 -1
  453. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  454. package/dist/collection/components/progress/progress.css +1 -1
  455. package/dist/collection/components/progress/progress.js +1 -1
  456. package/dist/collection/components/radio-button/radio-button.css +1 -1
  457. package/dist/collection/components/radio-button/radio-button.js +1 -1
  458. package/dist/collection/components/radio-button/resources.js +1 -1
  459. package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
  460. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  461. package/dist/collection/components/radio-group/interfaces.js +1 -1
  462. package/dist/collection/components/radio-group/radio-group.css +1 -1
  463. package/dist/collection/components/radio-group/radio-group.js +1 -1
  464. package/dist/collection/components/radio-group-item/radio-group-item.css +1 -1
  465. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  466. package/dist/collection/components/radio-group-item/resources.js +1 -1
  467. package/dist/collection/components/rating/rating.css +1 -1
  468. package/dist/collection/components/rating/rating.js +1 -1
  469. package/dist/collection/components/rating/resources.js +1 -1
  470. package/dist/collection/components/scrim/resources.js +1 -1
  471. package/dist/collection/components/scrim/scrim.css +1 -1
  472. package/dist/collection/components/scrim/scrim.js +1 -1
  473. package/dist/collection/components/select/resources.js +1 -1
  474. package/dist/collection/components/select/select.css +1 -1
  475. package/dist/collection/components/select/select.js +1 -1
  476. package/dist/collection/components/shell/resources.js +1 -1
  477. package/dist/collection/components/shell/shell.css +1 -1
  478. package/dist/collection/components/shell/shell.js +1 -1
  479. package/dist/collection/components/shell-center-row/resources.js +1 -1
  480. package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
  481. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  482. package/dist/collection/components/shell-panel/resources.js +1 -1
  483. package/dist/collection/components/shell-panel/shell-panel.css +1 -1
  484. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  485. package/dist/collection/components/slider/slider.css +1 -1
  486. package/dist/collection/components/slider/slider.js +1 -1
  487. package/dist/collection/components/sortable-list/resources.js +1 -1
  488. package/dist/collection/components/sortable-list/sortable-list.css +1 -1
  489. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  490. package/dist/collection/components/split-button/resources.js +1 -1
  491. package/dist/collection/components/split-button/split-button.css +1 -1
  492. package/dist/collection/components/split-button/split-button.js +1 -1
  493. package/dist/collection/components/stepper/interfaces.js +1 -1
  494. package/dist/collection/components/stepper/stepper.css +1 -1
  495. package/dist/collection/components/stepper/stepper.js +1 -1
  496. package/dist/collection/components/stepper-item/stepper-item.css +1 -1
  497. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  498. package/dist/collection/components/switch/switch.css +1 -1
  499. package/dist/collection/components/switch/switch.js +1 -1
  500. package/dist/collection/components/tab/interfaces.js +1 -1
  501. package/dist/collection/components/tab/tab.css +3 -3
  502. package/dist/collection/components/tab/tab.js +54 -8
  503. package/dist/collection/components/tab-nav/tab-nav.css +1 -1
  504. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  505. package/dist/collection/components/tab-title/tab-title.css +9 -9
  506. package/dist/collection/components/tab-title/tab-title.js +54 -11
  507. package/dist/collection/components/tabs/interfaces.js +1 -1
  508. package/dist/collection/components/tabs/resources.js +1 -1
  509. package/dist/collection/components/tabs/tabs.css +1 -1
  510. package/dist/collection/components/tabs/tabs.js +1 -1
  511. package/dist/collection/components/tile/resources.js +1 -1
  512. package/dist/collection/components/tile/tile.css +1 -1
  513. package/dist/collection/components/tile/tile.js +1 -1
  514. package/dist/collection/components/tile-select/interfaces.js +1 -1
  515. package/dist/collection/components/tile-select/resources.js +1 -1
  516. package/dist/collection/components/tile-select/tile-select.css +1 -1
  517. package/dist/collection/components/tile-select/tile-select.js +1 -1
  518. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  519. package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
  520. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  521. package/dist/collection/components/time-picker/resources.js +1 -1
  522. package/dist/collection/components/time-picker/time-picker.css +1 -1
  523. package/dist/collection/components/time-picker/time-picker.js +1 -1
  524. package/dist/collection/components/tip/resources.js +1 -1
  525. package/dist/collection/components/tip/tip.css +1 -1
  526. package/dist/collection/components/tip/tip.js +1 -1
  527. package/dist/collection/components/tip-group/tip-group.css +1 -1
  528. package/dist/collection/components/tip-group/tip-group.js +1 -1
  529. package/dist/collection/components/tip-manager/resources.js +1 -1
  530. package/dist/collection/components/tip-manager/tip-manager.css +1 -1
  531. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  532. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  533. package/dist/collection/components/tooltip/resources.js +1 -1
  534. package/dist/collection/components/tooltip/tooltip.css +1 -1
  535. package/dist/collection/components/tooltip/tooltip.js +1 -1
  536. package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -1
  537. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  538. package/dist/collection/components/tree/interfaces.js +1 -1
  539. package/dist/collection/components/tree/tree.css +1 -1
  540. package/dist/collection/components/tree/tree.js +1 -1
  541. package/dist/collection/components/tree-item/interfaces.js +1 -1
  542. package/dist/collection/components/tree-item/resources.js +1 -1
  543. package/dist/collection/components/tree-item/tree-item.css +1 -1
  544. package/dist/collection/components/tree-item/tree-item.js +1 -1
  545. package/dist/collection/components/value-list/interfaces.js +1 -1
  546. package/dist/collection/components/value-list/resources.js +1 -1
  547. package/dist/collection/components/value-list/utils.js +1 -1
  548. package/dist/collection/components/value-list/value-list.css +1 -1
  549. package/dist/collection/components/value-list/value-list.js +1 -1
  550. package/dist/collection/components/value-list-item/resources.js +1 -1
  551. package/dist/collection/components/value-list-item/value-list-item.css +1 -1
  552. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  553. package/dist/collection/utils/array.js +1 -1
  554. package/dist/collection/utils/conditionalSlot.js +1 -1
  555. package/dist/collection/utils/date.js +1 -1
  556. package/dist/collection/utils/dom.js +1 -1
  557. package/dist/collection/utils/filter.js +1 -1
  558. package/dist/collection/utils/floating-ui.js +1 -1
  559. package/dist/collection/utils/form.js +1 -1
  560. package/dist/collection/utils/globalAttributes.js +1 -1
  561. package/dist/collection/utils/guid.js +1 -1
  562. package/dist/collection/utils/interactive.js +1 -1
  563. package/dist/collection/utils/key.js +1 -1
  564. package/dist/collection/utils/label.js +1 -1
  565. package/dist/collection/utils/locale.js +1 -1
  566. package/dist/collection/utils/math.js +1 -1
  567. package/dist/collection/utils/number.js +1 -1
  568. package/dist/collection/utils/observers.js +1 -1
  569. package/dist/collection/utils/openCloseComponent.js +1 -1
  570. package/dist/collection/utils/resources.js +1 -1
  571. package/dist/collection/utils/time.js +1 -1
  572. package/dist/components/ExpandToggle.js +1 -1
  573. package/dist/components/Heading.js +1 -1
  574. package/dist/components/action-group.js +2 -2
  575. package/dist/components/action-menu.js +38 -30
  576. package/dist/components/action.js +2 -2
  577. package/dist/components/array.js +1 -1
  578. package/dist/components/button.js +4 -4
  579. package/dist/components/calcite-accordion-item.js +2 -2
  580. package/dist/components/calcite-accordion.js +2 -2
  581. package/dist/components/calcite-action-bar.js +2 -2
  582. package/dist/components/calcite-action-group.js +1 -1
  583. package/dist/components/calcite-action-menu.js +1 -1
  584. package/dist/components/calcite-action-pad.js +2 -2
  585. package/dist/components/calcite-action.js +1 -1
  586. package/dist/components/calcite-alert.js +2 -2
  587. package/dist/components/calcite-avatar.js +2 -2
  588. package/dist/components/calcite-block-section.js +2 -2
  589. package/dist/components/calcite-block.js +2 -2
  590. package/dist/components/calcite-button.js +1 -1
  591. package/dist/components/calcite-card.js +3 -3
  592. package/dist/components/calcite-checkbox.js +1 -1
  593. package/dist/components/calcite-chip.js +1 -1
  594. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  595. package/dist/components/calcite-color-picker-swatch.js +1 -1
  596. package/dist/components/calcite-color-picker.js +2 -2
  597. package/dist/components/calcite-combobox-item-group.js +2 -2
  598. package/dist/components/calcite-combobox-item.js +2 -2
  599. package/dist/components/calcite-combobox.js +5 -5
  600. package/dist/components/calcite-date-picker-day.js +1 -1
  601. package/dist/components/calcite-date-picker-month-header.js +1 -1
  602. package/dist/components/calcite-date-picker-month.js +1 -1
  603. package/dist/components/calcite-date-picker.js +1 -1
  604. package/dist/components/calcite-dropdown-group.js +2 -2
  605. package/dist/components/calcite-dropdown-item.js +2 -2
  606. package/dist/components/calcite-dropdown.js +1 -1
  607. package/dist/components/calcite-fab.js +2 -2
  608. package/dist/components/calcite-filter.js +2 -2
  609. package/dist/components/calcite-flow.js +2 -2
  610. package/dist/components/calcite-graph.js +1 -1
  611. package/dist/components/calcite-handle.js +1 -1
  612. package/dist/components/calcite-icon.js +1 -1
  613. package/dist/components/calcite-inline-editable.js +3 -3
  614. package/dist/components/calcite-input-date-picker.js +5 -5
  615. package/dist/components/calcite-input-message.js +2 -2
  616. package/dist/components/calcite-input-number.js +3 -3
  617. package/dist/components/calcite-input-text.js +3 -3
  618. package/dist/components/calcite-input-time-picker.js +3 -3
  619. package/dist/components/calcite-input.js +1 -1
  620. package/dist/components/calcite-label.js +2 -2
  621. package/dist/components/calcite-link.js +1 -1
  622. package/dist/components/calcite-list-item-group.js +2 -2
  623. package/dist/components/calcite-list-item.js +2 -2
  624. package/dist/components/calcite-list.js +2 -2
  625. package/dist/components/calcite-loader.js +1 -1
  626. package/dist/components/calcite-modal.js +3 -3
  627. package/dist/components/calcite-notice.js +2 -2
  628. package/dist/components/calcite-option-group.js +2 -2
  629. package/dist/components/calcite-option.js +2 -2
  630. package/dist/components/calcite-pagination.js +2 -2
  631. package/dist/components/calcite-panel.js +2 -2
  632. package/dist/components/calcite-pick-list-group.js +2 -2
  633. package/dist/components/calcite-pick-list-item.js +1 -1
  634. package/dist/components/calcite-pick-list.js +3 -3
  635. package/dist/components/calcite-popover-manager.js +2 -2
  636. package/dist/components/calcite-popover.js +1 -1
  637. package/dist/components/calcite-progress.js +1 -1
  638. package/dist/components/calcite-radio-button-group.js +2 -2
  639. package/dist/components/calcite-radio-button.js +3 -3
  640. package/dist/components/calcite-radio-group-item.js +2 -2
  641. package/dist/components/calcite-radio-group.js +3 -3
  642. package/dist/components/calcite-rating.js +3 -3
  643. package/dist/components/calcite-scrim.js +1 -1
  644. package/dist/components/calcite-select.js +3 -3
  645. package/dist/components/calcite-shell-center-row.js +2 -2
  646. package/dist/components/calcite-shell-panel.js +2 -2
  647. package/dist/components/calcite-shell.js +2 -2
  648. package/dist/components/calcite-slider.js +4 -4
  649. package/dist/components/calcite-sortable-list.js +2 -2
  650. package/dist/components/calcite-split-button.js +2 -2
  651. package/dist/components/calcite-stepper-item.js +2 -2
  652. package/dist/components/calcite-stepper.js +2 -2
  653. package/dist/components/calcite-switch.js +1 -1
  654. package/dist/components/calcite-tab-nav.js +1 -1
  655. package/dist/components/calcite-tab-title.js +1 -1
  656. package/dist/components/calcite-tab.js +1 -1
  657. package/dist/components/calcite-tabs.js +1 -1
  658. package/dist/components/calcite-tile-select-group.js +2 -2
  659. package/dist/components/calcite-tile-select.js +2 -2
  660. package/dist/components/calcite-tile.js +1 -1
  661. package/dist/components/calcite-time-picker.js +1 -1
  662. package/dist/components/calcite-tip-group.js +2 -2
  663. package/dist/components/calcite-tip-manager.js +2 -2
  664. package/dist/components/calcite-tip.js +2 -2
  665. package/dist/components/calcite-tooltip-manager.js +2 -2
  666. package/dist/components/calcite-tooltip.js +3 -3
  667. package/dist/components/calcite-tree-item.js +3 -3
  668. package/dist/components/calcite-tree.js +3 -3
  669. package/dist/components/calcite-value-list-item.js +2 -2
  670. package/dist/components/calcite-value-list.js +3 -3
  671. package/dist/components/checkbox.js +3 -3
  672. package/dist/components/chip.js +2 -2
  673. package/dist/components/color-picker-hex-input.js +2 -2
  674. package/dist/components/color-picker-swatch.js +2 -2
  675. package/dist/components/conditionalSlot.js +1 -1
  676. package/dist/components/date-picker-day.js +2 -2
  677. package/dist/components/date-picker-month-header.js +3 -3
  678. package/dist/components/date-picker-month.js +2 -2
  679. package/dist/components/date-picker.js +2 -2
  680. package/dist/components/date.js +2 -2
  681. package/dist/components/debounce.js +1 -1
  682. package/dist/components/dom.js +2 -2
  683. package/dist/components/dropdown.js +3 -3
  684. package/dist/components/filter.js +168 -741
  685. package/dist/components/filter2.js +741 -168
  686. package/dist/components/floating-ui.js +2 -2
  687. package/dist/components/form.js +2 -2
  688. package/dist/components/graph.js +2 -2
  689. package/dist/components/guid.js +1 -1
  690. package/dist/components/handle.js +2 -2
  691. package/dist/components/icon.js +2 -2
  692. package/dist/components/index.d.ts +92 -5
  693. package/dist/components/index.js +93 -1
  694. package/dist/components/input.js +3 -3
  695. package/dist/components/interactive.js +1 -1
  696. package/dist/components/interfaces.js +1 -1
  697. package/dist/components/interfaces2.js +1 -1
  698. package/dist/components/key.js +1 -1
  699. package/dist/components/label.js +87 -112
  700. package/dist/components/label2.js +112 -87
  701. package/dist/components/link.js +2 -2
  702. package/dist/components/loader.js +2 -2
  703. package/dist/components/locale.js +1 -1
  704. package/dist/components/math.js +1 -1
  705. package/dist/components/observers.js +1 -1
  706. package/dist/components/openCloseComponent.js +1 -1
  707. package/dist/components/pick-list-item.js +2 -2
  708. package/dist/components/popover.js +3 -3
  709. package/dist/components/progress.js +2 -2
  710. package/dist/components/resources.js +1 -1
  711. package/dist/components/resources2.js +1 -1
  712. package/dist/components/resources3.js +1 -1
  713. package/dist/components/scrim.js +2 -2
  714. package/dist/components/shared-list-render.js +1 -1
  715. package/dist/components/sortable.esm.js +1 -1
  716. package/dist/components/switch.js +3 -3
  717. package/dist/components/tab-nav.js +3 -3
  718. package/dist/components/tab-title.js +32 -11
  719. package/dist/components/tab.js +27 -5
  720. package/dist/components/tabs.js +2 -2
  721. package/dist/components/tile.js +2 -2
  722. package/dist/components/time-picker.js +2 -2
  723. package/dist/components/utils.js +1 -1
  724. package/dist/components/utils2.js +1 -1
  725. package/dist/custom-elements/index.js +187 -138
  726. package/dist/esm/{ExpandToggle-860807d1.js → ExpandToggle-97163e28.js} +5 -5
  727. package/dist/esm/{Heading-96a7357c.js → Heading-b360e930.js} +2 -2
  728. package/dist/esm/{array-df04ba3c.js → array-73ce298b.js} +1 -1
  729. package/dist/esm/calcite-accordion_2.entry.js +8 -8
  730. package/dist/esm/calcite-action-bar.entry.js +11 -11
  731. package/dist/esm/calcite-action-group.entry.js +9 -9
  732. package/dist/esm/calcite-action-menu.entry.js +41 -34
  733. package/dist/esm/calcite-action-pad.entry.js +10 -10
  734. package/dist/esm/calcite-action.entry.js +7 -7
  735. package/dist/esm/calcite-alert.entry.js +7 -7
  736. package/dist/esm/calcite-avatar.entry.js +6 -6
  737. package/dist/esm/calcite-block_2.entry.js +10 -10
  738. package/dist/esm/calcite-button.entry.js +9 -9
  739. package/dist/esm/calcite-card.entry.js +7 -7
  740. package/dist/esm/calcite-checkbox.entry.js +8 -8
  741. package/dist/esm/calcite-chip.entry.js +7 -7
  742. package/dist/esm/calcite-color-picker_3.entry.js +11 -11
  743. package/dist/esm/calcite-combobox_3.entry.js +16 -16
  744. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  745. package/dist/esm/calcite-dropdown_3.entry.js +11 -11
  746. package/dist/esm/calcite-fab.entry.js +6 -6
  747. package/dist/esm/calcite-filter.entry.js +8 -8
  748. package/dist/esm/calcite-flow.entry.js +4 -4
  749. package/dist/esm/calcite-graph_2.entry.js +11 -11
  750. package/dist/esm/calcite-handle.entry.js +5 -5
  751. package/dist/esm/calcite-icon.entry.js +6 -6
  752. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  753. package/dist/esm/calcite-input-date-picker.entry.js +13 -13
  754. package/dist/esm/calcite-input-message.entry.js +5 -5
  755. package/dist/esm/calcite-input-number.entry.js +12 -12
  756. package/dist/esm/calcite-input-text.entry.js +9 -9
  757. package/dist/esm/calcite-input-time-picker_2.entry.js +11 -11
  758. package/dist/esm/calcite-input.entry.js +12 -12
  759. package/dist/esm/calcite-label.entry.js +6 -6
  760. package/dist/esm/calcite-link.entry.js +6 -6
  761. package/dist/esm/calcite-list_3.entry.js +11 -11
  762. package/dist/esm/calcite-loader.entry.js +4 -4
  763. package/dist/esm/calcite-modal.entry.js +8 -8
  764. package/dist/esm/calcite-notice.entry.js +8 -8
  765. package/dist/esm/calcite-option_3.entry.js +11 -11
  766. package/dist/esm/calcite-pagination.entry.js +6 -6
  767. package/dist/esm/calcite-panel.entry.js +10 -10
  768. package/dist/esm/calcite-pick-list_3.entry.js +14 -14
  769. package/dist/esm/calcite-popover_2.entry.js +10 -10
  770. package/dist/esm/calcite-progress.entry.js +3 -3
  771. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  772. package/dist/esm/calcite-radio-button.entry.js +9 -9
  773. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  774. package/dist/esm/calcite-rating.entry.js +9 -9
  775. package/dist/esm/calcite-scrim.entry.js +3 -3
  776. package/dist/esm/calcite-shell_3.entry.js +10 -10
  777. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  778. package/dist/esm/calcite-split-button.entry.js +4 -4
  779. package/dist/esm/calcite-stepper_2.entry.js +7 -7
  780. package/dist/esm/calcite-switch.entry.js +8 -8
  781. package/dist/esm/calcite-tab_4.entry.js +63 -22
  782. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  783. package/dist/esm/calcite-tile.entry.js +8 -8
  784. package/dist/esm/calcite-tip_3.entry.js +10 -10
  785. package/dist/esm/calcite-tooltip_2.entry.js +7 -7
  786. package/dist/esm/calcite-tree_2.entry.js +8 -8
  787. package/dist/esm/calcite-value-list_2.entry.js +13 -13
  788. package/dist/esm/calcite.js +4 -4
  789. package/dist/esm/{conditionalSlot-96a8626f.js → conditionalSlot-68e70981.js} +3 -3
  790. package/dist/esm/{debounce-18fc4ed5.js → debounce-a98ec801.js} +1 -1
  791. package/dist/esm/{dom-0a2f71ad.js → dom-857f52aa.js} +2 -2
  792. package/dist/esm/{filter-d22e4683.js → filter-752f4716.js} +2 -2
  793. package/dist/esm/{floating-ui-abc00113.js → floating-ui-4945e4cf.js} +2 -2
  794. package/dist/esm/{form-5a3f7eff.js → form-f701eca6.js} +3 -3
  795. package/dist/esm/{guid-b5ab2962.js → guid-9fa1232c.js} +1 -1
  796. package/dist/esm/{index-4d32551a.js → index-0574569e.js} +10 -5
  797. package/dist/esm/index.js +1 -1
  798. package/dist/esm/{interactive-ca038a88.js → interactive-dbfd10e0.js} +1 -1
  799. package/dist/esm/{interfaces-14adfc7b.js → interfaces-ca06ad36.js} +1 -1
  800. package/dist/esm/{key-63f78f69.js → key-919e156a.js} +1 -1
  801. package/dist/esm/{label-f205934c.js → label-771af339.js} +2 -2
  802. package/dist/esm/loader.js +4 -4
  803. package/dist/esm/{locale-9e431773.js → locale-90025a6e.js} +2 -2
  804. package/dist/esm/{math-3da0ded0.js → math-1c325da4.js} +1 -1
  805. package/dist/esm/{observers-d7b48955.js → observers-f804dccd.js} +1 -1
  806. package/dist/esm/{openCloseComponent-19066d4e.js → openCloseComponent-71b8504c.js} +1 -1
  807. package/dist/esm/{resources-e3f482c1.js → resources-54afc41e.js} +5 -5
  808. package/dist/esm/{resources-52d4234d.js → resources-69f1bf66.js} +1 -1
  809. package/dist/esm/{resources-355dfe81.js → resources-9b0091a8.js} +1 -1
  810. package/dist/esm/{resources-fb2b64d8.js → resources-e8a5c846.js} +3 -3
  811. package/dist/esm/{sortable.esm-6e9a5a1a.js → sortable.esm-09992f6b.js} +1 -1
  812. package/dist/esm/{utils-33b6246f.js → utils-4ca0b110.js} +1 -1
  813. package/dist/esm-es5/{ExpandToggle-860807d1.js → ExpandToggle-97163e28.js} +2 -2
  814. package/dist/esm-es5/Heading-b360e930.js +6 -0
  815. package/dist/esm-es5/{array-df04ba3c.js → array-73ce298b.js} +1 -1
  816. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  817. package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
  818. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  819. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  820. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  821. package/dist/esm-es5/calcite-action.entry.js +2 -2
  822. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  823. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  824. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  825. package/dist/esm-es5/calcite-button.entry.js +2 -2
  826. package/dist/esm-es5/calcite-card.entry.js +2 -2
  827. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  828. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  829. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  830. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
  831. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  832. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  833. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  834. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  835. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  836. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  837. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  838. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  839. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  840. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  841. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  842. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  843. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  844. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  845. package/dist/esm-es5/calcite-input.entry.js +2 -2
  846. package/dist/esm-es5/calcite-label.entry.js +2 -2
  847. package/dist/esm-es5/calcite-link.entry.js +2 -2
  848. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  849. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  850. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  851. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  852. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  853. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  854. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  855. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  856. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  857. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  858. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  859. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  860. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  861. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  862. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  863. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  864. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  865. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  866. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  867. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  868. package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
  869. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  870. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  871. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  872. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  873. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  874. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  875. package/dist/esm-es5/calcite.js +2 -2
  876. package/dist/esm-es5/{conditionalSlot-96a8626f.js → conditionalSlot-68e70981.js} +2 -2
  877. package/dist/esm-es5/{debounce-18fc4ed5.js → debounce-a98ec801.js} +1 -1
  878. package/dist/esm-es5/{dom-0a2f71ad.js → dom-857f52aa.js} +2 -2
  879. package/dist/esm-es5/{filter-d22e4683.js → filter-752f4716.js} +2 -2
  880. package/dist/esm-es5/{floating-ui-abc00113.js → floating-ui-4945e4cf.js} +2 -2
  881. package/dist/esm-es5/{form-5a3f7eff.js → form-f701eca6.js} +2 -2
  882. package/dist/esm-es5/{guid-b5ab2962.js → guid-9fa1232c.js} +1 -1
  883. package/dist/esm-es5/index-0574569e.js +7 -0
  884. package/dist/esm-es5/index.js +1 -1
  885. package/dist/esm-es5/{interactive-ca038a88.js → interactive-dbfd10e0.js} +1 -1
  886. package/dist/esm-es5/{interfaces-14adfc7b.js → interfaces-ca06ad36.js} +1 -1
  887. package/dist/esm-es5/{key-63f78f69.js → key-919e156a.js} +1 -1
  888. package/dist/esm-es5/{label-f205934c.js → label-771af339.js} +2 -2
  889. package/dist/esm-es5/loader.js +2 -2
  890. package/dist/esm-es5/{locale-9e431773.js → locale-90025a6e.js} +2 -2
  891. package/dist/esm-es5/{math-3da0ded0.js → math-1c325da4.js} +1 -1
  892. package/dist/esm-es5/{observers-d7b48955.js → observers-f804dccd.js} +1 -1
  893. package/dist/esm-es5/{openCloseComponent-19066d4e.js → openCloseComponent-71b8504c.js} +1 -1
  894. package/dist/esm-es5/{resources-e3f482c1.js → resources-54afc41e.js} +2 -2
  895. package/dist/esm-es5/{resources-52d4234d.js → resources-69f1bf66.js} +1 -1
  896. package/dist/esm-es5/{resources-355dfe81.js → resources-9b0091a8.js} +1 -1
  897. package/dist/esm-es5/{resources-fb2b64d8.js → resources-e8a5c846.js} +2 -2
  898. package/dist/esm-es5/{sortable.esm-6e9a5a1a.js → sortable.esm-09992f6b.js} +1 -1
  899. package/dist/esm-es5/{utils-33b6246f.js → utils-4ca0b110.js} +1 -1
  900. package/dist/extras/docs-json.json +49 -3
  901. package/dist/loader/cdn.js +1 -1
  902. package/dist/loader/index.cjs.js +1 -1
  903. package/dist/loader/index.es2017.js +1 -1
  904. package/dist/loader/index.js +1 -1
  905. package/dist/types/components/action-menu/action-menu.d.ts +4 -6
  906. package/dist/types/components/tab/tab.d.ts +8 -0
  907. package/dist/types/components/tab-title/tab-title.d.ts +11 -2
  908. package/dist/types/components.d.ts +20 -0
  909. package/hydrate/index.js +367 -142
  910. package/package.json +13 -13
  911. package/dist/calcite/p-010c8569.entry.js +0 -6
  912. package/dist/calcite/p-031273d2.system.entry.js +0 -6
  913. package/dist/calcite/p-0402722e.entry.js +0 -6
  914. package/dist/calcite/p-08adf666.system.entry.js +0 -6
  915. package/dist/calcite/p-14879670.entry.js +0 -6
  916. package/dist/calcite/p-1aa97cbe.entry.js +0 -6
  917. package/dist/calcite/p-1cb05fb2.system.entry.js +0 -6
  918. package/dist/calcite/p-1f07bdd8.entry.js +0 -6
  919. package/dist/calcite/p-2071e928.system.entry.js +0 -6
  920. package/dist/calcite/p-21785d68.system.entry.js +0 -6
  921. package/dist/calcite/p-23fe73da.entry.js +0 -6
  922. package/dist/calcite/p-2575f9d6.system.entry.js +0 -6
  923. package/dist/calcite/p-28871fb6.system.entry.js +0 -6
  924. package/dist/calcite/p-2b39604e.system.entry.js +0 -6
  925. package/dist/calcite/p-2c74408d.entry.js +0 -6
  926. package/dist/calcite/p-31cf5236.system.entry.js +0 -6
  927. package/dist/calcite/p-34311240.system.entry.js +0 -6
  928. package/dist/calcite/p-34c3239e.system.js +0 -6
  929. package/dist/calcite/p-36058001.entry.js +0 -6
  930. package/dist/calcite/p-373705ad.entry.js +0 -6
  931. package/dist/calcite/p-3ae1b61a.entry.js +0 -6
  932. package/dist/calcite/p-43a48bf5.system.entry.js +0 -6
  933. package/dist/calcite/p-486428f6.system.js +0 -6
  934. package/dist/calcite/p-4c4869a6.system.entry.js +0 -6
  935. package/dist/calcite/p-4da43137.system.entry.js +0 -6
  936. package/dist/calcite/p-4ff6e959.system.entry.js +0 -6
  937. package/dist/calcite/p-511b1bde.system.entry.js +0 -6
  938. package/dist/calcite/p-51894cc9.system.entry.js +0 -6
  939. package/dist/calcite/p-545af44d.system.js +0 -6
  940. package/dist/calcite/p-57d6821f.js +0 -6
  941. package/dist/calcite/p-5caa0e0a.system.entry.js +0 -6
  942. package/dist/calcite/p-5e127467.system.entry.js +0 -6
  943. package/dist/calcite/p-630384c5.system.js +0 -6
  944. package/dist/calcite/p-639d7aea.system.entry.js +0 -6
  945. package/dist/calcite/p-6441e137.system.entry.js +0 -6
  946. package/dist/calcite/p-64a918c0.entry.js +0 -6
  947. package/dist/calcite/p-6900ac65.system.entry.js +0 -6
  948. package/dist/calcite/p-69bb0778.entry.js +0 -6
  949. package/dist/calcite/p-73c01bfa.system.entry.js +0 -6
  950. package/dist/calcite/p-7a91bb45.entry.js +0 -6
  951. package/dist/calcite/p-7db4d0d5.entry.js +0 -6
  952. package/dist/calcite/p-872f68cd.system.entry.js +0 -6
  953. package/dist/calcite/p-87656f9c.system.entry.js +0 -6
  954. package/dist/calcite/p-885cde63.entry.js +0 -6
  955. package/dist/calcite/p-8a9769f2.system.entry.js +0 -6
  956. package/dist/calcite/p-8acbb3e1.system.entry.js +0 -6
  957. package/dist/calcite/p-8f4b7290.system.entry.js +0 -6
  958. package/dist/calcite/p-90c663d7.system.entry.js +0 -6
  959. package/dist/calcite/p-934bea66.system.entry.js +0 -6
  960. package/dist/calcite/p-96753a1a.system.entry.js +0 -6
  961. package/dist/calcite/p-97f493c5.entry.js +0 -6
  962. package/dist/calcite/p-98062564.system.entry.js +0 -6
  963. package/dist/calcite/p-9a96def2.entry.js +0 -6
  964. package/dist/calcite/p-9cf629dc.js +0 -7
  965. package/dist/calcite/p-a27bdc31.system.entry.js +0 -6
  966. package/dist/calcite/p-b1895e91.entry.js +0 -6
  967. package/dist/calcite/p-b9237cbc.system.entry.js +0 -6
  968. package/dist/calcite/p-bbbf65f3.system.entry.js +0 -6
  969. package/dist/calcite/p-bcf2ba5f.system.entry.js +0 -6
  970. package/dist/calcite/p-bdc8eb8c.system.entry.js +0 -6
  971. package/dist/calcite/p-be8608ad.entry.js +0 -6
  972. package/dist/calcite/p-bea7ace3.system.js +0 -7
  973. package/dist/calcite/p-bec1deb2.system.entry.js +0 -6
  974. package/dist/calcite/p-c53bddd1.system.entry.js +0 -6
  975. package/dist/calcite/p-c7857c98.entry.js +0 -6
  976. package/dist/calcite/p-cbd0a07c.entry.js +0 -6
  977. package/dist/calcite/p-cd3577b3.entry.js +0 -6
  978. package/dist/calcite/p-cd45b1fc.entry.js +0 -6
  979. package/dist/calcite/p-cd8ccaba.entry.js +0 -6
  980. package/dist/calcite/p-d12c9aa4.system.entry.js +0 -6
  981. package/dist/calcite/p-d2307e52.js +0 -6
  982. package/dist/calcite/p-d4d14f37.entry.js +0 -6
  983. package/dist/calcite/p-daee02f8.system.entry.js +0 -6
  984. package/dist/calcite/p-df824603.system.entry.js +0 -6
  985. package/dist/calcite/p-dfe14e80.system.entry.js +0 -6
  986. package/dist/calcite/p-e220928f.entry.js +0 -6
  987. package/dist/calcite/p-e261ce62.entry.js +0 -6
  988. package/dist/calcite/p-e3ad4965.system.entry.js +0 -6
  989. package/dist/calcite/p-e599a18d.system.entry.js +0 -6
  990. package/dist/calcite/p-ee072324.system.entry.js +0 -6
  991. package/dist/calcite/p-f07d2f2b.system.entry.js +0 -6
  992. package/dist/calcite/p-f137d6c1.system.entry.js +0 -6
  993. package/dist/calcite/p-f1ee071d.system.entry.js +0 -6
  994. package/dist/calcite/p-f3780bac.entry.js +0 -6
  995. package/dist/calcite/p-f3fda5ef.system.entry.js +0 -6
  996. package/dist/calcite/p-f4a6e66f.entry.js +0 -6
  997. package/dist/calcite/p-f7d104b8.system.entry.js +0 -6
  998. package/dist/calcite/p-f911d855.entry.js +0 -6
  999. package/dist/calcite/p-feab75e0.entry.js +0 -6
  1000. package/dist/esm-es5/Heading-96a7357c.js +0 -6
  1001. package/dist/esm-es5/index-4d32551a.js +0 -7
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.552
5
- */
6
- import{r as t,c as i,h as a,H as e,g as n,F as o}from"./p-9cf629dc.js";import{g as r}from"./p-c64e709a.js";import{n as s,a as c,k as l,d,t as b}from"./p-112ab376.js";import{c as m}from"./p-d1b80ad8.js";import{u as h}from"./p-cc5485ef.js";const p=class{constructor(a){t(this,a),this.calciteInternalTabRegister=i(this,"calciteInternalTabRegister",6),this.active=!1,this.scale="m",this.guid=`calcite-tab-title-${r()}`}render(){return a(e,{"aria-labelledby":this.labeledBy,id:this.el.id||this.guid,role:"tabpanel",tabIndex:this.active?0:-1},a("section",null,a("slot",null)))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}componentDidLoad(){this.calciteInternalTabRegister.emit()}componentWillRender(){var t;this.scale=null===(t=this.parentTabsEl)||void 0===t?void 0:t.scale}disconnectedCallback(){var t;null===(t=document.body)||void 0===t||t.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.active=this.tab===t.detail.tab:this.getTabIndex().then((i=>{this.active=i===t.detail.tab})),t.stopPropagation())}async getTabIndex(){return Array.prototype.indexOf.call(s(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],i=[]){this.labeledBy=i[t.indexOf(this.el.id)]||null}get el(){return n(this)}};p.style="@-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([active]) section{display:block}:host{display:none;block-size:100%;inline-size:100%}:host([active]){display:block;block-size:100%;inline-size:100%;overflow:auto}section{display:none;block-size:100%;inline-size:100%}:host([scale=s]){padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}";const f=class{constructor(a){t(this,a),this.calciteTabChange=i(this,"calciteTabChange",6),this.calciteInternalTabChange=i(this,"calciteInternalTabChange",6),this.scale="m",this.layout="inline",this.position="bottom",this.bordered=!1,this.animationActiveDuration=.3,this.resizeObserver=m("resize",(()=>{this.activeIndicatorEl.style.transitionDuration="0s",this.updateActiveWidth(),this.updateOffsetPosition()})),this.handleContainerScroll=()=>{this.activeIndicatorEl.style.transitionDuration="0s",this.updateOffsetPosition()}}async selectedTabChanged(){localStorage&&this.storageId&&null!=this.selectedTab&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTab)),this.calciteInternalTabChange.emit({tab:this.selectedTab}),this.selectedTabEl=await this.getTabTitleById(this.selectedTab)}selectedTabElChanged(){this.updateOffsetPosition(),this.updateActiveWidth(),this.activeIndicatorEl.style.transitionDuration=`${this.animationActiveDuration}s`}connectedCallback(){var t;this.parentTabsEl=this.el.closest("calcite-tabs"),null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const i=JSON.parse(localStorage.getItem(t));this.selectedTab=i}}componentWillRender(){const{parentTabsEl:t}=this;this.layout=null==t?void 0:t.layout,this.position=null==t?void 0:t.position,this.scale=null==t?void 0:t.scale,this.bordered=null==t?void 0:t.bordered,this.selectedTabEl&&this.updateOffsetPosition()}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.active))&&!this.selectedTab&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}render(){const t=c(this.el),i=`${this.indicatorWidth}px`,n=`${this.indicatorOffset}px`;return a(e,{role:"tablist"},a("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:t=>this.tabNavEl=t},a("div",{class:"tab-nav-active-indicator-container",ref:t=>this.activeIndicatorContainerEl=t},a("div",{class:"tab-nav-active-indicator",ref:t=>this.activeIndicatorEl=t,style:"rtl"!==t?{width:i,left:n}:{width:i,right:n}})),a("slot",null)))}focusPreviousTabHandler(t){const i=this.getIndexOfTabTitle(t.target,this.enabledTabTitles),a=this.enabledTabTitles[i-1]||this.enabledTabTitles[this.enabledTabTitles.length-1];null==a||a.focus(),t.stopPropagation(),t.preventDefault()}focusNextTabHandler(t){const i=this.getIndexOfTabTitle(t.target,this.enabledTabTitles),a=this.enabledTabTitles[i+1]||this.enabledTabTitles[0];null==a||a.focus(),t.stopPropagation(),t.preventDefault()}internalActivateTabHandler(t){this.selectedTab=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target),t.stopPropagation(),t.preventDefault()}activateTabHandler(t){this.calciteTabChange.emit({tab:this.selectedTab}),t.stopPropagation(),t.preventDefault()}updateTabTitles(t){t.target.active&&(this.selectedTab=t.detail)}globalInternalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTab!==t.detail.tab&&(this.selectedTab=t.detail.tab,t.stopPropagation()),t.stopPropagation()}updateOffsetPosition(){var t,i,a,e,n;const o=c(this.el),r=null===(t=this.activeIndicatorContainerEl)||void 0===t?void 0:t.offsetWidth,s=null===(i=this.selectedTabEl)||void 0===i?void 0:i.offsetLeft,l=null===(a=this.selectedTabEl)||void 0===a?void 0:a.offsetWidth;this.indicatorOffset="rtl"!==o?s-(null===(e=this.tabNavEl)||void 0===e?void 0:e.scrollLeft):r-(s+l)+(null===(n=this.tabNavEl)||void 0===n?void 0:n.scrollLeft)}updateActiveWidth(){var t;this.indicatorWidth=null===(t=this.selectedTabEl)||void 0===t?void 0:t.offsetWidth}getIndexOfTabTitle(t,i=this.tabTitles){return i.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((i=>this.tabTitles[i.indexOf(t)]))}get tabTitles(){return l(this.el,"calcite-tab-title")}get enabledTabTitles(){return l(this.el,"calcite-tab-title:not([disabled])")}get el(){return n(this)}static get watchers(){return{selectedTab:["selectedTabChanged"],selectedTabEl:["selectedTabElChanged"]}}};f.style="@-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}:host([scale=s]){min-block-size:1.5rem}:host([scale=m]){min-block-size:2rem}:host([scale=l]){min-block-size:2.75rem}.tab-nav{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}.tab-nav-active-indicator-container{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([position=below]) .tab-nav-active-indicator{inset-block-end:unset;inset-block-start:0px}:host([position=bottom]) .tab-nav-active-indicator{inset-block-end:unset;inset-block-start:0px}:host([position=below]) .tab-nav-active-indicator-container{inset-block-start:0px;inset-block-end:unset}:host([position=bottom]) .tab-nav-active-indicator-container{inset-block-end:unset;inset-block-start:0px}:host([bordered]) .tab-nav-active-indicator-container{inset-block-end:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{inset-block-end:0;inset-block-start:unset}:host([bordered][position=bottom]) .tab-nav-active-indicator-container{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){.tab-nav-active-indicator{background-color:highlight}}";const u=class{constructor(a){t(this,a),this.calciteTabsActivate=i(this,"calciteTabsActivate",6),this.calciteInternalTabsActivate=i(this,"calciteInternalTabsActivate",6),this.calciteInternalTabsFocusNext=i(this,"calciteInternalTabsFocusNext",6),this.calciteInternalTabsFocusPrevious=i(this,"calciteInternalTabsFocusPrevious",6),this.calciteInternalTabTitleRegister=i(this,"calciteInternalTabTitleRegister",6),this.active=!1,this.disabled=!1,this.bordered=!1,this.mutationObserver=m("mutation",(()=>this.updateHasText())),this.hasText=!1,this.guid=`calcite-tab-title-${r()}`}activeTabChanged(){this.active&&this.emitActiveTab(!1)}connectedCallback(){this.setupTextContentObserver(),this.parentTabNavEl=this.el.closest("calcite-tab-nav"),this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=document.body)||void 0===i||i.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}))}componentWillLoad(){this.updateHasText(),this.tab&&this.active&&this.emitActiveTab(!1)}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.position=this.parentTabsEl.position,this.scale=this.parentTabsEl.scale,this.bordered=this.parentTabsEl.bordered),!this.parentTabsEl&&this.parentTabNavEl&&(this.position=d(this.parentTabNavEl,"position",this.position),this.scale=d(this.parentTabNavEl,"scale",this.scale))}render(){const t=this.el.id||this.guid,i=a("calcite-icon",{class:"calcite-tab-title--icon icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),n=a("calcite-icon",{class:"calcite-tab-title--icon icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"});return a(e,{"aria-controls":this.controls,"aria-selected":b(this.active),id:t,role:"tab",tabIndex:this.active?0:-1},a("div",{class:{container:!0,"container--has-text":this.hasText}},this.iconStart?i:null,a("slot",null),this.iconEnd?n:null))}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){h(this,(()=>this.active))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.active=this.tab===t.detail.tab:this.getTabIndex().then((i=>{this.active=i===t.detail.tab})),t.stopPropagation())}onClick(){this.emitActiveTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitActiveTab(),t.preventDefault();break;case"ArrowRight":t.preventDefault(),"ltr"===c(this.el)?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),"ltr"===c(this.el)?this.calciteInternalTabsFocusPrevious.emit():this.calciteInternalTabsFocusNext.emit()}}async getTabIndex(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-tab-title"),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],i=[]){this.controls=t[i.indexOf(this.el.id)]||null}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}emitActiveTab(t=!0){if(this.disabled)return;const i={tab:this.tab};this.calciteInternalTabsActivate.emit(i),t&&this.calciteTabsActivate.emit(i)}get el(){return n(this)}static get watchers(){return{active:["activeTabChanged"]}}};u.style="@-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:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}:host([layout=center]){margin-block:0px;margin-inline:1.25rem;text-align:center;-ms-flex-preferred-size:12rem;flex-basis:12rem}:host([position=below]) .container{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}:host([position=bottom]) .container{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}:host .container{outline-color:transparent}:host(:focus) .container{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([active]) .container{border-color:transparent;color:var(--calcite-ui-text-1)}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){-webkit-margin-end:1rem;margin-inline-end:1rem}:host([scale=s]) .container{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .container{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}:host([scale=l]) .container{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-block-end-width:2px;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);-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;border-block-end-color:transparent;border-block-end-style:solid}.calcite-tab-title--icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:center;align-self:center}.calcite-tab-title--icon svg{-webkit-transition: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}.container--has-text{padding:0.25rem}.container--has-text .calcite-tab-title--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.container--has-text .calcite-tab-title--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([bordered]){-webkit-margin-end:0;margin-inline-end:0}:host([bordered][active]){-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][active][position=below]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered][active][position=bottom]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) .container,:host([bordered]:focus) .container,:host([bordered]:active) .container{position:relative}:host([bordered]:hover) .container{background-color:var(--calcite-button-transparent-hover)}:host([bordered]) .container{border-block-end-style:unset;-webkit-border-start:1px solid transparent;border-inline-start:1px solid transparent;-webkit-border-end:1px solid transparent;border-inline-end:1px solid transparent}:host([bordered][position=below]) .container{border-block-start-style:unset}:host([bordered][position=bottom]) .container{border-block-start-style:unset}:host([active][bordered]) .container{border-inline-start-color:var(--calcite-ui-border-1);border-inline-end-color:var(--calcite-ui-border-1)}:host([bordered]) .container{padding-inline:0.75rem}:host([bordered][scale=s]) .container{padding-inline:0.5rem}:host([bordered][scale=l]) .container{padding-inline:1rem}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered]) .container{border-block-end-style:solid}:host([bordered][position=below]) .container{border-block-start-style:solid}:host([bordered][position=bottom]) .container{border-block-start-style:solid}:host([bordered][active]) .container{border-block-end-style:none}:host([bordered][position=below][active]) .container{border-block-start-style:none}:host([bordered][position=bottom][active]) .container{border-block-start-style:none}}";const k=class{constructor(i){t(this,i),this.layout="inline",this.position="top",this.scale="m",this.bordered=!1,this.titles=[],this.tabs=[]}connectedCallback(){"center"===this.layout&&(this.bordered=!1)}render(){return a(o,null,a("slot",{name:"tab-nav"}),a("section",null,a("slot",null)))}calciteInternalTabTitleRegister(t){this.titles=[...this.titles,t.target],this.registryHandler(),t.stopPropagation()}calciteTabTitleUnregister(t){this.titles=this.titles.filter((i=>i!==t.detail)),this.registryHandler(),t.stopPropagation()}calciteInternalTabRegister(t){this.tabs=[...this.tabs,t.target],this.registryHandler(),t.stopPropagation()}calciteTabUnregister(t){this.tabs=this.tabs.filter((i=>i!==t.detail)),this.registryHandler(),t.stopPropagation()}async registryHandler(){let t,i;if(this.tabs.some((t=>t.tab))||this.titles.some((t=>t.tab)))t=this.tabs.sort(((t,i)=>t.tab.localeCompare(i.tab))).map((t=>t.id)),i=this.titles.sort(((t,i)=>t.tab.localeCompare(i.tab))).map((t=>t.id));else{const a=await Promise.all(this.tabs.map((t=>t.getTabIndex()))),e=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=a.reduce(((t,i,a)=>(t[i]=this.tabs[a].id,t)),[]),i=e.reduce(((t,i,a)=>(t[i]=this.titles[a].id,t)),[])}this.tabs.forEach((a=>a.updateAriaInfo(t,i))),this.titles.forEach((a=>a.updateAriaInfo(t,i)))}get el(){return n(this)}};k.style="@-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{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){-webkit-margin-after:-1px;margin-block-end:-1px}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){-webkit-margin-after:-1px;margin-block-end:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){-webkit-margin-before:-1px;margin-block-start:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered][position=bottom]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host([position=bottom]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-ui-border-1);border-block-start-style:solid}:host([position=below]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-ui-border-1)}:host([position=bottom]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-ui-border-1)}:host([position=below]:not([bordered])) section{border-block-end-style:solid}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=below][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}";export{p as calcite_tab,f as calcite_tab_nav,u as calcite_tab_title,k as calcite_tabs}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.552
5
- */
6
- import{r as t,c as i,h as n,g as a}from"./p-9cf629dc.js";import{g as e}from"./p-c64e709a.js";import{u as o}from"./p-cc5485ef.js";const s=class{constructor(n){t(this,n),this.calciteTileSelectChange=i(this,"calciteTileSelectChange",6),this.checked=!1,this.disabled=!1,this.hidden=!1,this.inputEnabled=!1,this.inputAlignment="start",this.type="radio",this.width="auto",this.guid=`calcite-tile-select-${e()}`,this.focused=!1}checkedChanged(t){this.input.checked=t}nameChanged(t){this.input.name=t}async setFocus(){var t;null===(t=this.input)||void 0===t||t.setFocus()}checkboxChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){const i=t.target;i===this.input&&(this.focused=i.focused),t.stopPropagation()}click(t){["calcite-tile","calcite-tile-select"].includes(t.target.localName)&&this.input.click()}mouseenter(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!0),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!0)}mouseleave(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!1),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!1)}connectedCallback(){this.renderInput()}disconnectedCallback(){this.input.parentNode.removeChild(this.input)}componentDidRender(){o(this)}renderInput(){this.input=document.createElement("radio"===this.type?"calcite-radio-button":"calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=null!=this.value?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){const{checked:t,description:i,disabled:a,focused:e,heading:o,icon:s,inputAlignment:c,inputEnabled:r,width:l}=this;return n("div",{class:{checked:t,container:!0,description:Boolean(i),"description-only":Boolean(!o&&!s&&i),disabled:a,focused:e,heading:Boolean(o),"heading-only":o&&!s&&!i,icon:Boolean(s),"icon-only":!o&&s&&!i,"input-alignment-end":"end"===c,"input-alignment-start":"start"===c,"input-enabled":r,"large-visual":o&&s&&!i,"width-auto":"auto"===l,"width-full":"full"===l}},n("calcite-tile",{active:t,description:i,embed:!0,heading:o,icon:s}),n("slot",null))}get el(){return a(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};s.style="@-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:block}:host .container{background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:0.75rem;position:relative;vertical-align:top;-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}:host .container.checked{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host .container.heading-only{-ms-flex-align:center;align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-ui-brand);outline-offset:-4px;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:0.75rem}:host .container.input-enabled.input-alignment-start calcite-tile{-ms-flex-order:1;order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-start:0.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:0.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.width-full{display:-ms-flexbox;display:flex;max-inline-size:none}:host .container.width-full calcite-tile{-ms-flex:1 1 auto;flex:1 1 auto}:host(:hover) .container:not(.input-enabled){-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";const c=class{constructor(i){t(this,i),this.disabled=!1,this.layout="horizontal"}componentDidRender(){o(this)}render(){return n("slot",null)}get el(){return a(this)}};c.style="@-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;-ms-flex-wrap:wrap;flex-wrap:wrap}:host ::slotted(calcite-tile-select){-webkit-margin-after:1px;margin-block-end:1px;-webkit-margin-end:1px;margin-inline-end:1px}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{s as calcite_tile_select,c as calcite_tile_select_group}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.552
5
- */
6
- import{r as t,c as i,h as e,g as a}from"./p-9cf629dc.js";import{S as n}from"./p-f8addf9b.js";import{s as o,g as s}from"./p-112ab376.js";import{c as l,d as c}from"./p-d2307e52.js";import"./p-c64e709a.js";import"./p-d1b80ad8.js";const r=class{constructor(e){t(this,e),this.calciteNoticeClose=i(this,"calciteNoticeClose",6),this.calciteNoticeOpen=i(this,"calciteNoticeOpen",6),this.active=!1,this.open=!1,this.color="blue",this.dismissible=!1,this.closable=!1,this.intlClose="Close",this.scale="m",this.width="auto",this.close=()=>{this.open=!1,this.calciteNoticeClose.emit()}}activeHandler(t){this.open=t}openHandler(t){this.active=t}handleDismissible(t){this.closable=t}handleClosable(t){this.dismissible=t}updateRequestedIcon(){this.requestedIcon=o(n,this.icon,this.color)}connectedCallback(){l(this);const t=this.active||this.open;t&&(this.activeHandler(t),this.openHandler(t)),this.dismissible&&this.handleDismissible(this.dismissible),this.closable&&this.handleClosable(this.closable)}disconnectedCallback(){c(this)}componentWillLoad(){this.requestedIcon=o(n,this.icon,this.color)}render(){const{el:t}=this,i=e("button",{"aria-label":this.intlClose,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),a=s(t,"actions-end");return e("div",{class:"container"},this.requestedIcon?e("div",{class:"notice-icon"},e("calcite-icon",{icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,e("div",{class:"notice-content"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),a?e("div",{class:"actions-end"},e("slot",{name:"actions-end"})):null,this.closable?i:null)}async setFocus(){const t=this.el.querySelector("calcite-link");(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],dismissible:["handleDismissible"],closable:["handleClosable"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"]}}};r.style="@-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([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;-ms-flex-align:center;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);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;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([open]) .container{pointer-events:auto;display:-ms-flexbox;display:flex;max-block-size:100%;-ms-flex-align:center;align-items:center;border-width:2px;opacity:1;--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)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-direction:column;flex-direction:column;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto}.notice-close{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-box-sizing:border-box;box-sizing:border-box;-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;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";export{r as calcite_notice}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.552
5
- */
6
- import{r as i,c as t,h as a,H as e,g as n}from"./p-9cf629dc.js";import{f as o,g as r,e as l,i as s}from"./p-112ab376.js";import{c}from"./p-d1b80ad8.js";import{c as d,d as m}from"./p-d2307e52.js";import{c as b,d as h}from"./p-8a9b3998.js";import"./p-c64e709a.js";function p(i,t,a,e=20,n=0){let o=[];if(n>=e)return o;const r=i=>{const o=i.assignedNodes().filter((i=>1===i.nodeType));return o.length>0?p(o[0].parentElement,t,a,e,n+1):[]},l=Array.from(i.children||[]);for(const i of l)t(i)||(a(i)&&o.push(i),null!=i.shadowRoot?o.push(...p(i.shadowRoot,t,a,e,n+1)):"SLOT"===i.tagName?o.push(...r(i)):o.push(...p(i,t,a,e,n+1)));return o}function f(i){return i.hasAttribute("hidden")||i.hasAttribute("aria-hidden")&&"false"!==i.getAttribute("aria-hidden")||"none"===i.style.display||"0"===i.style.opacity||"hidden"===i.style.visibility||"collapse"===i.style.visibility}const u=i=>{return s(i)||"-1"!==(t=i).getAttribute("tabindex")&&!f(t)&&!function(i){return i.hasAttribute("disabled")||i.hasAttribute("aria-disabled")&&"false"!==i.getAttribute("aria-disabled")}(t)&&(t.hasAttribute("tabindex")||(t instanceof HTMLAnchorElement||t instanceof HTMLAreaElement)&&t.hasAttribute("href")||t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement||t instanceof HTMLIFrameElement);var t},x=i=>p(i,f,u),g=class{constructor(a){i(this,a),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.active=!1,this.open=!1,this.beforeClose=()=>Promise.resolve(),this.disableCloseButton=!1,this.disableOutsideClose=!1,this.intlClose="Close",this.disableEscape=!1,this.scale="m",this.width="m",this.backgroundColor="white",this.noPadding=!1,this.hasFooter=!0,this.mutationObserver=c("mutation",(()=>this.updateFooterVisibility())),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i,b(this)},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleOutsideClose=()=>{this.disableOutsideClose||this.close()},this.close=()=>this.beforeClose(this.el).then((()=>{this.open=!1,o(this.previousActiveElement),this.removeOverflowHiddenClass()})),this.focusFirstElement=()=>{o(this.disableCloseButton?x(this.el)[0]:this.closeButtonEl)},this.focusLastElement=()=>{const i=x(this.el).filter((i=>!i.getAttribute("data-focus-fence")));o(i.length>0?i[i.length-1]:this.closeButtonEl)},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,["back","primary","secondary"])}}componentWillLoad(){this.open&&this.openModal()}connectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),this.updateFooterVisibility(),d(this),b(this),this.open&&(this.active=this.open),this.active&&this.activeHandler(this.active)}disconnectedCallback(){var i;this.removeOverflowHiddenClass(),null===(i=this.mutationObserver)||void 0===i||i.disconnect(),m(this),h(this)}render(){return a(e,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},a("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),a("div",{class:"modal",ref:this.setTransitionEl},a("div",{"data-focus-fence":!0,onFocus:this.focusLastElement,tabindex:"0"}),a("div",{class:"header"},this.renderCloseButton(),a("header",{class:"title"},a("slot",{name:"header"}))),a("div",{class:{content:!0,"content--spaced":!this.noPadding,"content--no-footer":!this.hasFooter},ref:i=>this.modalContent=i},a("slot",{name:"content"})),this.renderFooter(),a("div",{"data-focus-fence":!0,onFocus:this.focusFirstElement,tabindex:"0"})))}renderFooter(){return this.hasFooter?a("div",{class:"footer",key:"footer"},a("span",{class:"back"},a("slot",{name:"back"})),a("span",{class:"secondary"},a("slot",{name:"secondary"})),a("span",{class:"primary"},a("slot",{name:"primary"}))):null}renderCloseButton(){return this.disableCloseButton?null:a("button",{"aria-label":this.intlClose,class:"close",key:"button",onClick:this.close,ref:i=>this.closeButtonEl=i,title:this.intlClose},a("calcite-icon",{icon:"x",scale:"s"===this.scale?"s":"m"===this.scale?"m":"l"===this.scale?"l":null}))}renderStyle(){return isNaN(parseInt(`${this.width}`))?null:a("style",null,`\n .modal {\n max-width: ${this.width}px !important;\n }\n @media screen and (max-width: ${this.width}px) {\n .modal {\n height: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n margin: 0 !important;\n border-radius: 0 !important;\n }\n .content {\n flex: 1 1 auto !important;\n max-height: unset !important;\n }\n }\n `)}handleEscape(i){this.open&&!this.disableEscape&&"Escape"===i.key&&this.close()}async focusElement(i){return i&&i.focus(),this.setFocus()}async setFocus(i){const t=this.closeButtonEl;return o("close-button"===i?t:x(this.el)[0]||t)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add("modal--opening-active"),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove("modal--opening-idle","modal--opening-active"),this.calciteModalOpen.emit()}onBeforeClose(){this.transitionEl.classList.add("modal--closing-active"),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove("modal--closing-idle","modal--closing-active"),this.calciteModalClose.emit()}activeHandler(i){this.open=i}async toggleModal(i){var t,a;this.active=i,i?(null===(t=this.transitionEl)||void 0===t||t.classList.add("modal--opening-idle"),this.openModal()):(null===(a=this.transitionEl)||void 0===a||a.classList.add("modal--closing-idle"),this.close())}openModal(){this.previousActiveElement=document.activeElement,this.el.addEventListener("calciteModalOpen",this.openEnd),this.open=!0;const i=r(this.el,"header"),t=r(this.el,"content");this.titleId=l(i),this.contentId=l(t),document.documentElement.classList.add("overflow-hidden")}removeOverflowHiddenClass(){document.documentElement.classList.remove("overflow-hidden")}get el(){return n(this)}static get watchers(){return{active:["activeHandler"],open:["toggleModal"]}}};g.style="@-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:fixed;inset:0px;z-index:700;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -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);-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}.modal--opening-active{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-idle{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-active{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([open]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{z-index:400;display:-ms-flexbox;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-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;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem)}.content--spaced{padding:var(--calcite-modal-padding)}.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{z-index:400;-webkit-margin-before:auto;margin-block-start:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:justify;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-inline-size:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-inline-size:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-inline-size:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([open][fullscreen]) .header{border-radius:0}:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{block-size:auto}:host([docked]) .content{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";export{g as calcite_modal}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.552
5
- */
6
- import{r as t,c as a,h as i,g as e}from"./p-9cf629dc.js";import{t as n,g as o}from"./p-112ab376.js";import{c as r,d as s}from"./p-d2307e52.js";import"./p-c64e709a.js";import"./p-d1b80ad8.js";const l=class{constructor(i){t(this,i),this.calciteCardSelect=a(this,"calciteCardSelect",6),this.loading=!1,this.selected=!1,this.selectable=!1,this.intlLoading="Loading",this.intlSelect="Select",this.intlDeselect="Deselect",this.thumbnailPosition="block-start",this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(t.key){case" ":case"Enter":this.selectCard(),t.preventDefault()}}}connectedCallback(){r(this)}disonnectedCallback(){s(this)}render(){const t=this.thumbnailPosition.startsWith("inline"),a=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:t}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{active:!0,label:this.intlLoading})):null,a&&this.renderThumbnail(),i("section",{"aria-busy":n(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!a&&this.renderThumbnail())}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return o(this.el,"thumbnail")?i("section",{class:"thumbnail-wrapper"},i("slot",{name:"thumbnail"})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.selected?this.intlDeselect:this.intlSelect}))}renderHeader(){const{el:t}=this,a=o(t,"title"),e=o(t,"subtitle");return a||e?i("header",{class:"header"},i("slot",{name:"title"}),i("slot",{name:"subtitle"})):null}renderFooter(){const{el:t}=this,a=o(t,"footer-leading"),e=o(t,"footer-trailing");return a||e?i("footer",{class:"footer"},i("slot",{name:"footer-leading"}),i("slot",{name:"footer-trailing"})):null}get el(){return e(this)}};l.style="@-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{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-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);-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);border-radius:var(--calcite-border-radius-base)}:host .calcite-card-container:hover{z-index:1;--tw-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 0 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 .calcite-card-container:active{z-index:1;--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -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);-webkit-transition-duration:75ms;transition-duration:75ms}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header,.footer{display:-ms-flexbox;display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{-ms-flex-direction:column;flex-direction:column}.footer{-webkit-margin-before:auto;margin-block-start:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selectable]) .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -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([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;-webkit-margin-before:0.5rem;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:-ms-flexbox;display:flex}.calcite-card-container.inline{-ms-flex-direction:row;flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;-ms-flex-align:start;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-leading]::slotted(*),slot[name=footer-trailing]::slotted(*){display:-ms-flexbox;display:flex;gap:0.25rem}";export{l as calcite_card}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{c(i.next(e))}catch(e){r(e)}}function l(e){try{c(i["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):a(e.value).then(o,l)}c((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(t){return c([e,t])}}function c(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=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:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.552
6
- */System.register(["./p-bea7ace3.system.js","./p-bfcdc31a.system.js","./p-545af44d.system.js","./p-00a80e19.system.js","./p-630384c5.system.js","./p-b7096397.system.js","./p-7e54703d.system.js","./p-4ade427b.system.js"],(function(e){"use strict";var t,n,i,a,r,o,l,c,s,d,u,h,m,f;return{setters:[function(e){t=e.r;n=e.c;i=e.h;a=e.F;r=e.g},function(e){o=e.a;l=e.g;c=e.t},function(e){s=e.H},function(e){d=e.S},function(e){u=e.c;h=e.d},function(e){m=e.u},function(e){f=e.c},function(){}],execute:function(){var p={backButton:"back-button",container:"container",header:"header",heading:"heading",summary:"summary",description:"description",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",contentContainer:"content-container",contentHeight:"content-height",fabContainer:"fab-container",footer:"footer",menuContainer:"menu-container",menuButton:"menu-button",menu:"menu",menuOpen:"menu--open"};var b={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right"};var v={headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions"};var x={back:"Back",close:"Close",open:"Open",options:"Options"};var k=3;var y="@-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([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{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;max-block-size:var(--calcite-panel-max-height);inline-size:var(--calcite-panel-width);max-inline-size:var(--calcite-panel-max-width);min-inline-size:var(--calcite-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}.header{-webkit-border-after:1px solid;border-block-end:1px solid;position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto}.header-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;-webkit-margin-end:auto;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{-webkit-margin-after:0px;margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.header-actions--end,.menu-container:only-child{-webkit-margin-start:auto;margin-inline-start:auto}.menu-button{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{min-inline-size:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{-webkit-border-before:1px solid;border-block-start:1px solid;position:-webkit-sticky;position:sticky;inset-block-end:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;min-block-size:3rem;padding:0.5rem}.fab-container{position:-webkit-sticky;position:sticky;inset-block-end:0px;inset-inline:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inline-size:-moz-fit-content;inline-size:-webkit-fit-content;inline-size:fit-content}";var w=e("calcite_panel",function(){function e(e){var i=this;t(this,e);this.calcitePanelDismiss=n(this,"calcitePanelDismiss",6);this.calcitePanelDismissedChange=n(this,"calcitePanelDismissedChange",6);this.calcitePanelScroll=n(this,"calcitePanelScroll",6);this.calcitePanelBackClick=n(this,"calcitePanelBackClick",6);this.dismissed=false;this.closed=false;this.disabled=false;this.dismissible=false;this.closable=false;this.showBackButton=false;this.loading=false;this.menuOpen=false;this.resizeObserver=f("resize",(function(){return i.resizeHandler()}));this.resizeHandler=function(){var e=i.panelScrollEl;if(!e||typeof e.scrollHeight!=="number"||typeof e.offsetHeight!=="number"){return}e.tabIndex=e.scrollHeight>e.offsetHeight?0:-1};this.setContainerRef=function(e){i.containerEl=e};this.setCloseRef=function(e){i.closeButtonEl=e};this.setBackRef=function(e){i.backButtonEl=e};this.panelKeyDownHandler=function(e){if(e.key==="Escape"){i.close()}};this.close=function(){i.closed=true;i.calcitePanelDismiss.emit()};this.panelScrollHandler=function(){i.calcitePanelScroll.emit()};this.backButtonClick=function(){i.calcitePanelBackClick.emit()};this.setPanelScrollEl=function(e){var t,n;i.panelScrollEl=e;(t=i.resizeObserver)===null||t===void 0?void 0:t.disconnect();if(e){(n=i.resizeObserver)===null||n===void 0?void 0:n.observe(e);i.resizeHandler()}}}e.prototype.dismissedHandler=function(e){this.closed=e;this.calcitePanelDismissedChange.emit()};e.prototype.closedHandler=function(e){this.dismissed=e};e.prototype.dismissibleHandler=function(e){this.closable=e};e.prototype.closableHandler=function(e){this.dismissible=e};e.prototype.componentDidRender=function(){m(this)};e.prototype.connectedCallback=function(){u(this);var e=this.dismissed||this.closed;var t=this.dismissible||this.closable;if(e){this.dismissedHandler(e);this.closedHandler(e)}if(t){this.dismissibleHandler(t);this.closableHandler(t)}};e.prototype.disconnectedCallback=function(){var e;h(this);(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i;return __generator(this,(function(a){if(e==="dismiss-button"){(t=this.closeButtonEl)===null||t===void 0?void 0:t.setFocus();return[2]}if(e==="back-button"){(n=this.backButtonEl)===null||n===void 0?void 0:n.setFocus();return[2]}(i=this.containerEl)===null||i===void 0?void 0:i.focus();return[2]}))}))};e.prototype.scrollContentTo=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){(t=this.panelScrollEl)===null||t===void 0?void 0:t.scrollTo(e);return[2]}))}))};e.prototype.renderBackButton=function(){var e=this.el;var t=o(e)==="rtl";var n=this,a=n.showBackButton,r=n.intlBack,l=n.backButtonClick;var c=r||x.back;var s=t?b.backRight:b.backLeft;return a?i("calcite-action",{"aria-label":c,class:p.backButton,icon:s,key:"back-button",onClick:l,ref:this.setBackRef,scale:"s",slot:v.headerActionsStart,text:c}):null};e.prototype.renderHeaderContent=function(){var e=this,t=e.heading,n=e.headingLevel,a=e.summary,r=e.description;var o=t?i(s,{class:p.heading,level:n||k},t):null;var l=r||a?i("span",{class:p.description},r||a):null;return o||l?i("div",{class:p.headerContent,key:"header-content"},o,l):null};e.prototype.renderHeaderSlottedContent=function(){return i("div",{class:p.headerContent,key:"slotted-header-content"},i("slot",{name:v.headerContent}))};e.prototype.renderHeaderStartActions=function(){var e;var t=this.el;var n=l(t,v.headerActionsStart);return n?i("div",{class:(e={},e[p.headerActionsStart]=true,e[p.headerActions]=true,e),key:"header-actions-start"},i("slot",{name:v.headerActionsStart})):null};e.prototype.renderHeaderActionsEnd=function(){var e;var t=this,n=t.close,a=t.el,r=t.intlClose,o=t.closable;var c=r||x.close;var s=o?i("calcite-action",{"aria-label":c,icon:b.close,onClick:n,ref:this.setCloseRef,text:c}):null;var d=i("slot",{name:v.headerActionsEnd});var u=l(a,v.headerActionsEnd);return u||s?i("div",{class:(e={},e[p.headerActionsEnd]=true,e[p.headerActions]=true,e),key:"header-actions-end"},d,s):null};e.prototype.renderMenu=function(){var e=this,t=e.el,n=e.intlOptions,a=e.menuOpen;var r=l(t,v.headerMenuActions);return r?i("calcite-action-menu",{flipPlacements:["top","bottom"],key:"menu",label:n||x.options,open:a,placement:"bottom-end"},i("calcite-action",{icon:b.menu,slot:d.trigger,text:n||x.options}),i("slot",{name:v.headerMenuActions})):null};e.prototype.renderHeaderNode=function(){var e=this,t=e.el,n=e.showBackButton;var a=this.renderBackButton();var r=l(t,v.headerContent);var o=r?this.renderHeaderSlottedContent():this.renderHeaderContent();var c=this.renderHeaderStartActions();var s=this.renderHeaderActionsEnd();var d=this.renderMenu();return c||o||s||d||n?i("header",{class:p.header},a,c,o,s,d):null};e.prototype.renderFooterNode=function(){var e=this.el;var t=l(e,v.footer);var n=l(e,v.footerActions);return t||n?i("footer",{class:p.footer,key:"footer"},t?i("slot",{key:"footer-slot",name:v.footer}):null,n?i("slot",{key:"footer-actions-slot",name:v.footerActions}):null):null};e.prototype.renderContent=function(){var e,t;var n=this.el;var a=l(n,v.fab);var r=i("slot",{key:"default-slot"});var o="content-wrapper";return a?i("div",{class:(e={},e[p.contentWrapper]=true,e[p.contentHeight]=true,e),key:o,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},i("section",{class:p.contentContainer},r),this.renderFab()):i("section",{class:(t={},t[p.contentWrapper]=true,t[p.contentContainer]=true,t),key:o,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},r)};e.prototype.renderFab=function(){return i("div",{class:p.fabContainer},i("slot",{name:v.fab}))};e.prototype.render=function(){var e=this,t=e.loading,n=e.panelKeyDownHandler,r=e.closed,o=e.closable;var l=i("article",{"aria-busy":c(t),class:p.container,hidden:r,onKeyDown:n,ref:this.setContainerRef,tabIndex:o?0:-1},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(a,null,t?i("calcite-scrim",{loading:t}):null,l)};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{dismissed:["dismissedHandler"],closed:["closedHandler"],dismissible:["dismissibleHandler"],closable:["closableHandler"]}},enumerable:false,configurable:true});return e}());w.style=y}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.552
5
- */
6
- import{f as t}from"./p-9cf629dc.js";import{c as o}from"./p-d1b80ad8.js";const c=new Set;let n;const s={childList:!0};function f(t){n||(n=o("mutation",a)),n.observe(t.el,s)}function i(t){c.delete(t.el),a(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,s)}function a(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.552
5
- */
6
- import{r as t,h as i,F as e,g as n}from"./p-9cf629dc.js";import{g as a}from"./p-112ab376.js";import{c as o,d as r}from"./p-d2307e52.js";import{u as s}from"./p-cc5485ef.js";import"./p-c64e709a.js";import"./p-d1b80ad8.js";const c=class{constructor(i){t(this,i),this.active=!1,this.disabled=!1,this.embed=!1,this.focused=!1,this.hidden=!1}connectedCallback(){o(this)}disconnectedCallback(){r(this)}componentDidRender(){s(this)}renderTile(){const{icon:t,el:e,heading:n,description:o}=this,r=n&&t&&!o;return i("div",{class:{container:!0,"large-visual":r}},t&&i("div",{class:"icon"},i("calcite-icon",{icon:t,scale:"l",style:r?{height:"64px",width:"64px"}:void 0})),i("div",{class:"content-container"},a(e,"content-start")?i("div",{class:"content-slot-container"},i("slot",{name:"content-start"})):null,i("div",{class:"content"},n&&i("div",{class:"heading"},n),o&&i("div",{class:"description"},o)),a(e,"content-end")?i("div",{class:"content-slot-container"},i("slot",{name:"content-end"})):null))}render(){return i(e,null,this.href?i("calcite-link",{disabled:this.disabled,href:this.href},this.renderTile()):this.renderTile())}get el(){return n(this)}};c.style="@-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{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);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)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;gap:0.5rem;inline-size:10%}:host .content-container{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);-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 .large-visual{-ms-flex-align:center;align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:end;align-self:flex-end}:host .large-visual .content-container{-ms-flex-item-align:center;align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;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)}:host(:not([embed])){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([icon][heading]:not([description])) .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";export{c as calcite_tile}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i["throw"](t))}catch(t){o(t)}}function c(t){t.done?n(t.value):a(t.value).then(r,l)}c((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(t){return function(e){return c([t,e])}}function c(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.552
6
- */System.register(["./p-bea7ace3.system.js","./p-00a80e19.system.js","./p-bfcdc31a.system.js","./p-0b43e030.system.js","./p-4ade427b.system.js","./p-7e54703d.system.js","./p-630384c5.system.js"],(function(t){"use strict";var e,n,i,a,o,r,l,c,s,u,f,m,d,p,h,v;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.F;o=t.g},function(t){r=t.C;l=t.I;c=t.S},function(t){s=t.g;u=t.t;f=t.f},function(t){m=t.g},function(t){d=t.g},function(t){p=t.c},function(t){h=t.c;v=t.d}],execute:function(){var b="@-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{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";var g=["ArrowUp","ArrowDown"];var y=["ArrowUp","ArrowDown","End","Home"];var x=t("calcite_action_menu",function(){function t(t){var i=this;e(this,t);this.calciteActionMenuOpenChange=n(this,"calciteActionMenuOpenChange",6);this.expanded=false;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.actionElements=[];this.mutationObserver=p("mutation",(function(){return i.getActions()}));this.guid="calcite-action-menu-".concat(d());this.menuId="".concat(this.guid,"-menu");this.menuButtonId="".concat(this.guid,"-menu-button");this.activeMenuItemIndex=-1;this.connectMenuButtonEl=function(){var t=i,e=t.el,n=t.menuButtonId,a=t.menuId,o=t.open,r=t.label;var l=s(e,c.trigger)||i.defaultMenuButtonEl;if(i.menuButtonEl===l){return}i.disconnectMenuButtonEl();i.menuButtonEl=l;i.setTooltipReferenceElement();if(!l){return}l.active=o;l.setAttribute("aria-controls",a);l.setAttribute("aria-expanded",u(o));l.setAttribute("aria-haspopup","true");if(!l.id){l.id=n}if(!l.label){l.label=r}if(!l.text){l.text=r}l.addEventListener("pointerdown",i.menuButtonClick);l.addEventListener("keydown",i.menuButtonKeyDown)};this.disconnectMenuButtonEl=function(){var t=i.menuButtonEl;if(!t){return}t.removeEventListener("pointerdown",i.menuButtonClick);t.removeEventListener("keydown",i.menuButtonKeyDown)};this.setDefaultMenuButtonEl=function(t){i.defaultMenuButtonEl=t;i.connectMenuButtonEl()};this.handleCalciteActionClick=function(){i.open=false;i.setFocus()};this.menuButtonClick=function(){i.toggleOpen()};this.updateTooltip=function(t){var e=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-tooltip")}));i.tooltipEl=e[0];i.setTooltipReferenceElement()};this.setTooltipReferenceElement=function(){var t=i,e=t.tooltipEl,n=t.expanded,a=t.menuButtonEl,o=t.open;if(e){e.referenceElement=!n&&!o?a:null}};this.updateAction=function(t,e){var n=i,a=n.guid,o=n.activeMenuItemIndex;var r="".concat(a,"-action-").concat(e);t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=r}t.active=e===o};this.updateActions=function(t){t===null||t===void 0?void 0:t.forEach(i.updateAction)};this.getActions=function(){var t=i.el;var e=s(t,{all:true,matches:"calcite-action"});i.updateActions(e);i.actionElements=e;i.connectMenuButtonEl()};this.menuButtonKeyDown=function(t){var e=t.key;var n=i.actionElements;if(!i.isValidKey(e,g)){return}t.preventDefault();if(!n.length){return}i.toggleOpen(true);i.handleActionNavigation(e,n)};this.menuActionsContainerKeyDown=function(t){var e=t.key;var n=i,a=n.actionElements,o=n.activeMenuItemIndex;if(e==="Tab"){i.open=false;return}if(e===" "||e==="Enter"){t.preventDefault();var r=a[o];r?r.click():i.toggleOpen(false);return}if(e==="Escape"){i.toggleOpen(false);return}if(!a.length){return}if(i.isValidKey(e,y)){t.preventDefault()}i.handleActionNavigation(e,a)};this.handleActionNavigation=function(t,e){var n=i.activeMenuItemIndex;if(t==="Home"){i.activeMenuItemIndex=0}if(t==="End"){i.activeMenuItemIndex=e.length-1}if(t==="ArrowUp"){i.activeMenuItemIndex=m(Math.max(n-1,-1),e.length)}if(t==="ArrowDown"){i.activeMenuItemIndex=m(n+1,e.length)}};this.toggleOpenEnd=function(){i.setFocus();i.el.removeEventListener("calcitePopoverOpen",i.toggleOpenEnd)};this.toggleOpen=function(t){if(t===void 0){t=!i.open}i.el.addEventListener("calcitePopoverOpen",i.toggleOpenEnd);i.open=t}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.getActions();h(this)};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.disconnectMenuButtonEl();v(this)};t.prototype.expandedHandler=function(){this.open=false;this.setTooltipReferenceElement()};t.prototype.openHandler=function(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpenChange.emit(t);this.setTooltipReferenceElement()};t.prototype.closeCalciteActionMenuOnClick=function(t){var e=t.composedPath();if(e.includes(this.el)){return}this.open=false};t.prototype.activeMenuItemIndexHandler=function(){this.updateActions(this.actionElements)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){f(this.open?this.menuEl:this.menuButtonEl);return[2]}))}))};t.prototype.renderMenuButton=function(){var t=this,e=t.label,n=t.scale,a=t.expanded;var o=i("slot",{name:c.trigger},i("calcite-action",{class:r.defaultTrigger,icon:l.menu,ref:this.setDefaultMenuButtonEl,scale:n,text:e,textEnabled:a}));return o};t.prototype.renderMenuItems=function(){var t=this;var e=this,n=e.actionElements,a=e.activeMenuItemIndex,o=e.open,l=e.menuId,c=e.menuButtonEl,s=e.label,u=e.placement,f=e.overlayPositioning,m=e.flipPlacements;var d=n[a];var p=(d===null||d===void 0?void 0:d.id)||null;return i("calcite-popover",{disablePointer:true,flipPlacements:m,label:s,offsetDistance:0,open:o,overlayPositioning:f,placement:u,referenceElement:c},i("div",{"aria-activedescendant":p,"aria-labelledby":c===null||c===void 0?void 0:c.id,class:r.menu,id:l,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,ref:function(e){return t.menuEl=e},role:"menu",tabIndex:-1},i("slot",null)))};t.prototype.render=function(){return i(a,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:c.tooltip,onSlotchange:this.updateTooltip}))};t.prototype.isValidKey=function(t,e){return!!e.find((function(e){return e===t}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}},enumerable:false,configurable:true});return t}());x.style=b}}}));
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(i,e,a,t){function n(i){return i instanceof a?i:new a((function(e){e(i)}))}return new(a||(a=Promise))((function(a,r){function o(i){try{l(t.next(i))}catch(i){r(i)}}function c(i){try{l(t["throw"](i))}catch(i){r(i)}}function l(i){i.done?a(i.value):n(i.value).then(o,c)}l((t=t.apply(i,e||[])).next())}))};var __generator=this&&this.__generator||function(i,e){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},t,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(i){return function(e){return l([i,e])}}function l(o){if(t)throw new TypeError("Generator is already executing.");while(a)try{if(t=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:a.label++;return{value:o[1],done:false};case 5:a.label++;n=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(o[0]===6&&a.label<r[1]){a.label=r[1];r=o;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(o);break}if(r[2])a.ops.pop();a.trys.pop();continue}o=e.call(i,a)}catch(i){o=[6,i];n=0}finally{t=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.552
6
- */System.register(["./p-bea7ace3.system.js","./p-bfcdc31a.system.js","./p-4ade427b.system.js","./p-630384c5.system.js","./p-7e54703d.system.js"],(function(i){"use strict";var e,a,t,n,r,o,c,l;return{setters:[function(i){e=i.r;a=i.c;t=i.h;n=i.g},function(i){r=i.g},function(i){o=i.g},function(i){c=i.c;l=i.d},function(){}],execute:function(){var s={title:"title",close:"close",imageContainer:"image-container",chipIcon:"chip-icon",closeIcon:"close-icon"};var p={close:"Close"};var u={image:"image"};var d={close:"x"};var m="@-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([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}:host([scale=m]) .image-container{block-size:1.5rem;inline-size:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}:host([scale=l]) .image-container{block-size:2rem;inline-size:2rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;cursor:default;-ms-flex-align:center;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container{display:-ms-inline-flexbox;display:inline-flex;block-size:100%;max-inline-size:100%;-ms-flex-align:center;align-items:center}.title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host span{padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-l)}:host([closable]) span{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}:host([icon]:not([closable])) span{padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-l)}:host button{margin:0px;display:-ms-inline-flexbox;display:inline-flex;max-block-size:100%;min-block-size:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;-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;-webkit-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}:host button:hover{background-color:var(--calcite-chip-transparent-hover)}:host button:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host button:active{background-color:var(--calcite-chip-transparent-press)}.image-container{display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:50%}:host slot[name=image]::slotted(*){display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}.chip-icon{position:relative;margin-block:0px;display:-ms-inline-flexbox;display:inline-flex;-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:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}:host([color=blue][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}:host([color=red][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([color=yellow][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}:host([color=green][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}:host([color=grey][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([color=grey][appearance=solid]) button,:host([color=grey][appearance=solid]) .close-icon{color:var(--calcite-ui-text-3)}:host([color=grey][appearance=solid]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([color=blue][appearance=clear]){border-color:var(--calcite-ui-info)}:host([color=blue][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-info))}:host([color=red][appearance=clear]){border-color:var(--calcite-ui-danger)}:host([color=red][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-danger))}:host([color=yellow][appearance=clear]){border-color:var(--calcite-ui-warning)}:host([color=yellow][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-warning))}:host([color=green][appearance=clear]){border-color:var(--calcite-ui-success)}:host([color=green][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-success))}:host([color=grey][appearance=clear]){border-color:var(--calcite-ui-border-1)}:host([color=grey][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([closed]){display:none}";var b=i("calcite_chip",function(){function i(i){var t=this;e(this,i);this.calciteChipDismiss=a(this,"calciteChipDismiss",6);this.appearance="solid";this.color="grey";this.dismissible=false;this.closable=false;this.dismissLabel=p.close;this.iconFlipRtl=false;this.scale="m";this.closed=false;this.closeClickHandler=function(i){i.preventDefault();t.calciteChipDismiss.emit(t.el);t.closed=true};this.guid=o()}i.prototype.handleDismissible=function(i){this.closable=i};i.prototype.handleClosable=function(i){this.dismissible=i};i.prototype.connectedCallback=function(){c(this);if(this.dismissible){this.handleDismissible(this.dismissible)}if(this.closable){this.handleClosable(this.closable)}};i.prototype.disconnectedCallback=function(){l(this)};i.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){(i=this.closeButton)===null||i===void 0?void 0:i.focus();return[2]}))}))};i.prototype.renderChipImage=function(){var i=this.el;var e=r(i,u.image);return e?t("div",{class:s.imageContainer,key:"image"},t("slot",{name:u.image})):null};i.prototype.render=function(){var i=this;var e=t("calcite-icon",{class:s.chipIcon,flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"});var a=t("button",{"aria-describedby":this.guid,"aria-label":this.dismissLabel,class:s.close,onClick:this.closeClickHandler,ref:function(e){return i.closeButton=e}},t("calcite-icon",{class:s.closeIcon,icon:d.close,scale:"s"}));return t("div",{class:"container"},this.renderChipImage(),this.icon?e:null,t("span",{class:s.title,id:this.guid},t("slot",null)),this.closable?a:null)};Object.defineProperty(i.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{dismissible:["handleDismissible"],closable:["handleClosable"]}},enumerable:false,configurable:true});return i}());b.style=m}}}));
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{c(n.next(t))}catch(t){o(t)}}function s(t){try{c(n["throw"](t))}catch(t){o(t)}}function c(t){t.done?i(t.value):a(t.value).then(r,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return c([t,e])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];a=0}finally{n=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.552
6
- */System.register(["./p-bea7ace3.system.js","./p-4ade427b.system.js","./p-69167fa0.system.js","./p-bfcdc31a.system.js"],(function(t){"use strict";var e,i,n,a,o,r,s,c,l,f,m,u;return{setters:[function(t){e=t.r;i=t.h;n=t.H;a=t.g},function(t){o=t.g},function(t){r=t.b;s=t.c;c=t.a;l=t.p;f=t.F},function(t){m=t.q;u=t.t}],execute:function(){var p={container:"container",arrow:"arrow"};var d=500;var h="aria-describedby";var v=function(){function t(){var t=this;this.registeredElements=new WeakMap;this.hoverTimeouts=new WeakMap;this.registeredElementCount=0;this.queryTooltip=function(e){var i=t.registeredElements;var n=e.find((function(t){return i.has(t)}));return i.get(n)};this.keyDownHandler=function(e){if(e.key==="Escape"){var i=t.activeTooltipEl;if(i){t.clearHoverTimeout(i);t.toggleTooltip(i,false)}}};this.mouseEnterShow=function(e){t.hoverEvent(e,true)};this.mouseLeaveHide=function(e){t.hoverEvent(e,false)};this.clickHandler=function(e){var i=t.queryTooltip(e.composedPath());t.clickedTooltip=i;if(i===null||i===void 0?void 0:i.closeOnClick){t.toggleTooltip(i,false)}};this.focusShow=function(e){t.focusEvent(e,true)};this.blurHide=function(e){t.focusEvent(e,false)};this.hoverToggle=function(e,i){var n=t.hoverTimeouts;n.delete(e);if(i){t.closeExistingTooltip()}t.toggleTooltip(e,i)}}t.prototype.registerElement=function(t,e){this.registeredElementCount++;this.registeredElements.set(t,e);if(this.registeredElementCount===1){this.addListeners()}};t.prototype.unregisterElement=function(t){if(this.registeredElements.delete(t)){this.registeredElementCount--}if(this.registeredElementCount===0){this.removeListeners()}};t.prototype.addListeners=function(){document.addEventListener("keydown",this.keyDownHandler);document.addEventListener("mouseover",this.mouseEnterShow,{capture:true});document.addEventListener("mouseout",this.mouseLeaveHide,{capture:true});document.addEventListener("pointerdown",this.clickHandler,{capture:true});document.addEventListener("focusin",this.focusShow,{capture:true});document.addEventListener("focusout",this.blurHide,{capture:true})};t.prototype.removeListeners=function(){document.removeEventListener("keydown",this.keyDownHandler);document.removeEventListener("mouseover",this.mouseEnterShow,{capture:true});document.removeEventListener("mouseout",this.mouseLeaveHide,{capture:true});document.removeEventListener("pointerdown",this.clickHandler,{capture:true});document.removeEventListener("focusin",this.focusShow,{capture:true});document.removeEventListener("focusout",this.blurHide,{capture:true})};t.prototype.clearHoverTimeout=function(t){var e=this.hoverTimeouts;if(e.has(t)){window.clearTimeout(e.get(t));e.delete(t)}};t.prototype.closeExistingTooltip=function(){var t=this.activeTooltipEl;if(t){this.toggleTooltip(t,false)}};t.prototype.focusTooltip=function(t,e){this.closeExistingTooltip();if(e){this.clearHoverTimeout(t)}this.toggleTooltip(t,e)};t.prototype.toggleTooltip=function(t,e){t.open=e;if(e){this.activeTooltipEl=t}};t.prototype.hoverTooltip=function(t,e){var i=this;this.clearHoverTimeout(t);var n=this.hoverTimeouts;var a=window.setTimeout((function(){return i.hoverToggle(t,e)}),d);n.set(t,a)};t.prototype.activeTooltipHover=function(t){var e=this,i=e.activeTooltipEl,n=e.hoverTimeouts;var a=t.type;if(!i){return}if(a==="mouseover"&&t.composedPath().includes(i)){this.clearHoverTimeout(i)}else if(a==="mouseout"&&!n.has(i)){this.hoverTooltip(i,false)}};t.prototype.hoverEvent=function(t,e){var i=this.queryTooltip(t.composedPath());this.activeTooltipHover(t);if(!i){return}this.hoverTooltip(i,e)};t.prototype.focusEvent=function(t,e){var i=this.queryTooltip(t.composedPath());if(!i||i===this.clickedTooltip){this.clickedTooltip=null;return}this.focusTooltip(i,e)};return t}();var w='@-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{display:block;position:absolute;z-index:999;-webkit-transform:scale(0);transform:scale(0)}.calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:"";--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);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}.container{position:relative;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}';var y=new v;var b=t("calcite_tooltip",function(){function t(t){var i=this;e(this,t);this.closeOnClick=false;this.offsetDistance=r;this.offsetSkidding=0;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.guid="calcite-tooltip-".concat(o());this.setUpReferenceElement=function(){i.removeReferences();i.effectiveReferenceElement=i.getReferenceElement();s(i,i.effectiveReferenceElement,i.el);var t=i,e=t.el,n=t.referenceElement,a=t.effectiveReferenceElement;if(n&&!a){console.warn("".concat(e.tagName,': reference-element id "').concat(n,'" was not found.'),{el:e})}i.addReferences()};this.getId=function(){return i.el.id||i.guid};this.addReferences=function(){var t=i.effectiveReferenceElement;if(!t){return}var e=i.getId();if("setAttribute"in t){t.setAttribute(h,e)}y.registerElement(t,i.el)};this.removeReferences=function(){var t=i.effectiveReferenceElement;if(!t){return}if("removeAttribute"in t){t.removeAttribute(h)}y.unregisterElement(t)}}t.prototype.offsetDistanceOffsetHandler=function(){this.reposition()};t.prototype.offsetSkiddingHandler=function(){this.reposition()};t.prototype.openHandler=function(){this.reposition()};t.prototype.overlayPositioningHandler=function(){this.reposition()};t.prototype.placementHandler=function(){this.reposition()};t.prototype.referenceElementHandler=function(){this.setUpReferenceElement()};t.prototype.connectedCallback=function(){s(this,this.effectiveReferenceElement,this.el)};t.prototype.componentWillLoad=function(){this.setUpReferenceElement()};t.prototype.componentDidLoad=function(){this.reposition()};t.prototype.disconnectedCallback=function(){this.removeReferences();c(this,this.effectiveReferenceElement,this.el)};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,n,a,o,r,s;return __generator(this,(function(c){t=this,e=t.el,i=t.effectiveReferenceElement,n=t.placement,a=t.overlayPositioning,o=t.offsetDistance,r=t.offsetSkidding,s=t.arrowEl;return[2,l({floatingEl:e,referenceEl:i,overlayPositioning:a,placement:n,offsetDistance:o,offsetSkidding:r,arrowEl:s,type:"tooltip"})]}))}))};t.prototype.getReferenceElement=function(){var t=this,e=t.referenceElement,i=t.el;return(typeof e==="string"?m(i,{id:e}):e)||null};t.prototype.render=function(){var t;var e=this;var a=this,o=a.effectiveReferenceElement,r=a.label,s=a.open;var c=o&&s;var l=!c;return i(n,{"aria-hidden":u(l),"aria-label":r,"aria-live":"polite","calcite-hydrated-hidden":l,id:this.getId(),role:"tooltip"},i("div",{class:(t={},t[f.animation]=true,t[f.animationActive]=c,t)},i("div",{class:p.arrow,ref:function(t){return e.arrowEl=t}}),i("div",{class:p.container},i("slot",null))))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}},enumerable:false,configurable:true});return t}());b.style=w;var g="@-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:block}";var k=t("calcite_tooltip_manager",function(){function t(t){e(this,t);this.selector="[data-calcite-tooltip-reference]"}t.prototype.render=function(){return i("slot",null)};return t}());k.style=g}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.552
5
- */
6
- import{r as t,c as i,h as a,H as e,g as n}from"./p-9cf629dc.js";import{g as r,t as o,a as c}from"./p-112ab376.js";import{H as l}from"./p-57d6821f.js";import{c as s,d as m}from"./p-d2307e52.js";import{u as d}from"./p-cc5485ef.js";import{g as p}from"./p-c64e709a.js";import"./p-d1b80ad8.js";const g={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"},f=class{constructor(a){t(this,a),this.calciteBlockToggle=i(this,"calciteBlockToggle",6),this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.intlCollapse="Collapse",this.intlExpand="Expand",this.intlLoading="Loading",this.intlOptions="Options",this.loading=!1,this.open=!1,this.disablePadding=!1,this.guid=p(),this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()}}componentDidRender(){d(this)}connectedCallback(){s(this)}disconnectedCallback(){m(this)}renderScrim(){const{loading:t}=this,i=a("slot",null);return[t?a("calcite-scrim",{loading:t}):null,i]}renderIcon(){const{el:t,status:i}=this,e=this.loading&&!this.open,n=e?g.refresh:g[i],o=r(t,"icon")||n,c=n?a("calcite-icon",{class:{"status-icon":!0,valid:"valid"==i,invalid:"invalid"==i,loading:e},icon:n,scale:"m"}):a("slot",{key:"icon-slot",name:"icon"});return o?a("div",{class:"icon"},c):null}renderTitle(){const{heading:t,headingLevel:i,summary:e,description:n}=this;return t||e||n?a("div",{class:"title"},a(l,{class:"heading",level:i||4},t),e||n?a("div",{class:"description"},e||n):null):null}render(){const{collapsible:t,el:i,intlCollapse:n,intlExpand:c,loading:l,open:s,intlLoading:m}=this,d=s?n||"Collapse":c||"Expand",p=a("header",{class:"header"},this.renderIcon(),this.renderTitle()),f=!!r(i,"control"),u=!!r(i,"header-menu-actions"),b=s?g.opened:g.closed,{guid:h}=this,k=`${h}-region`,w=`${h}-button`,x=a("div",{class:"header-container"},this.dragHandle?a("calcite-handle",null):null,t?a("button",{"aria-controls":k,"aria-expanded":t?o(s):null,"aria-label":d,class:"toggle",id:w,onClick:this.onHeaderClick,title:d},p,f||u?null:a("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:b,scale:"s"})):p,l?a("calcite-loader",{inline:!0,"is-active":!0,label:m}):f?a("div",{class:"control-container"},a("slot",{name:"control"})):null,u?a("calcite-action-menu",{label:this.intlOptions||"Options"},a("slot",{name:"header-menu-actions"})):null);return a(e,null,a("article",{"aria-busy":o(l),class:{article:!0}},x,a("section",{"aria-expanded":o(s),"aria-labelledby":w,class:{content:!0,"content--spaced":!this.disablePadding},hidden:!s,id:k},this.renderScrim())))}get el(){return n(this)}};f.style='@-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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);-ms-flex-preferred-size:auto;flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);-webkit-transition-property:color;transition-property:color;-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);word-wrap:break-word;word-break:break-word}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem;-webkit-margin-end:0px;margin-inline-end:0px;margin-block:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;-ms-flex-item-align:center;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-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:1rem;margin-inline-end:1rem;-webkit-margin-start:auto;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{position:relative}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out}.content--spaced{padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:-ms-flexbox;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}';const u={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"},b=class{constructor(a){t(this,a),this.calciteBlockSectionToggle=i(this,"calciteBlockSectionToggle",6),this.open=!1,this.toggleDisplay="button",this.guid=p(),this.handleHeaderKeyDown=t=>{" "!==t.key&&"Enter"!==t.key||(this.toggleSection(),t.preventDefault(),t.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()}}renderStatusIcon(){var t;const{status:i}=this,e=null!==(t=u[i])&&void 0!==t&&t;return e?a("calcite-icon",{class:{"status-icon":!0,valid:"valid"==i,invalid:"invalid"==i},icon:e,scale:"s"}):null}render(){const{el:t,intlCollapse:i,intlExpand:n,open:r,text:l,toggleDisplay:s}=this,m=c(t),d=r?u.menuOpen:"rtl"===m?u.menuClosedLeft:u.menuClosedRight,p=r?i||"Collapse":n||"Expand",{guid:g}=this,f=`${g}-region`,b=`${g}-button`,h="switch"===s?a("div",{"aria-controls":f,"aria-label":p,class:{toggle:!0,"toggle--switch":!0},id:b,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:p},a("div",{class:"toggle--switch__content"},a("span",{class:"toggle--switch__text"},l)),a("calcite-switch",{checked:r,label:p,scale:"s",tabIndex:-1}),this.renderStatusIcon()):a("button",{"aria-controls":f,"aria-label":p,class:{"section-header":!0,toggle:!0},id:b,name:p,onClick:this.toggleSection},a("calcite-icon",{icon:d,scale:"s"}),a("span",{class:"section-header__text"},l),this.renderStatusIcon());return a(e,null,h,a("section",{"aria-expanded":o(r),"aria-labelledby":b,class:"content",hidden:!r,id:f},a("slot",null)))}get el(){return n(this)}};b.style="@-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{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;-ms-flex:1 1 auto;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.toggle--switch .status-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";export{f as calcite_block,b as calcite_block_section}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.552
5
- */
6
- import{r as t,h as a,F as e,g as i,c as n,f as o}from"./p-9cf629dc.js";import{g as r,a as l}from"./p-112ab376.js";import{c as s,d as c}from"./p-d2307e52.js";import{c as d}from"./p-840f27df.js";import"./p-c64e709a.js";import"./p-d1b80ad8.js";const m=class{constructor(a){t(this,a),this.contentBehind=!1}connectedCallback(){s(this)}disconnectedCallback(){c(this)}renderHeader(){return r(this.el,"header")?a("slot",{key:"header",name:"header"}):null}renderContent(){const t=a("slot",{key:"default-slot"}),e=a("slot",{key:"center-row-slot",name:"center-row"}),i="content-container";return this.contentBehind?[a("div",{class:{content:!0,"content--behind":!0},key:i},t),e]:[a("div",{class:"content",key:i},t,e)]}renderFooter(){return r(this.el,"footer")?a("div",{class:"footer",key:"footer"},a("slot",{name:"footer"})):null}renderMain(){const t=r(this.el,"primary-panel");return a("div",{class:{main:!0,"main--reversed":"end"===(null==t?void 0:t.position)}},a("slot",{name:"primary-panel"}),a("slot",{name:"panel-start"}),this.renderContent(),a("slot",{name:"panel-end"}),a("slot",{name:"contextual-panel"}))}render(){return a(e,null,this.renderHeader(),this.renderMain(),this.renderFooter())}get el(){return i(this)}};m.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;z-index:1;border-width:0px;display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;-webkit-box-sizing:border-box;box-sizing:border-box}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";const p=class{constructor(a){t(this,a),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){s(this)}disconnectedCallback(){c(this)}render(){const{el:t}=this,i=a("div",{class:"content"},a("slot",null)),n=r(t,"action-bar"),o=[n?a("div",{class:"action-bar-container",key:"action-bar"},a("slot",{name:"action-bar"})):null,i];return"end"===(null==n?void 0:n.position)&&o.reverse(),a(e,null,o)}get el(){return i(this)}};p.style="@-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)}";const h=class{constructor(a){t(this,a),this.calciteShellPanelToggle=n(this,"calciteShellPanelToggle",6),this.collapsed=!1,this.detached=!1,this.detachedHeightScale="l",this.widthScale="m",this.intlResize="Resize",this.resizable=!1,this.contentWidth=null,this.initialContentWidth=null,this.initialClientX=null,this.contentWidthMax=null,this.contentWidthMin=null,this.step=1,this.stepMultiplier=10,this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedWidth=t=>{const{key:a}=t,{el:e,step:i,stepMultiplier:n,contentWidthMin:o,contentWidthMax:r,initialContentWidth:s,position:c}=this,d=i*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(a)>-1&&t.preventDefault();const m=["ArrowLeft","ArrowRight"],p="rtl"===l(e)&&m.includes(a)?-1:1;return"ArrowUp"===a||("end"===c?a===m[0]:a===m[1])?s+p*(t.shiftKey?d:i):"ArrowDown"===a||("end"===c?a===m[1]:a===m[0])?s-p*(t.shiftKey?d:i):"number"==typeof o&&"Home"===a?o:"number"==typeof r&&"End"===a?r:"PageDown"===a?s-d:"PageUp"===a?s+d:null},this.separatorKeyDown=t=>{this.setInitialContentWidth();const a=this.getKeyAdjustedWidth(t);"number"==typeof a&&this.setContentWidth(a)},this.separatorPointerMove=t=>{t.preventDefault();const{el:a,initialContentWidth:e,position:i,initialClientX:n}=this,o=t.clientX-n,r="rtl"===l(a)?-1:1;this.setContentWidth(e+("end"===i?-r*o:r*o))},this.separatorPointerUp=t=>{t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove)},this.setInitialContentWidth=()=>{var t;this.initialContentWidth=null===(t=this.contentEl)||void 0===t?void 0:t.getBoundingClientRect().width},this.separatorPointerDown=t=>{t.preventDefault();const{separatorEl:a}=this;a&&document.activeElement!==a&&a.focus(),this.setInitialContentWidth(),this.initialClientX=t.clientX,document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{var t;null===(t=this.separatorEl)||void 0===t||t.removeEventListener("pointerdown",this.separatorPointerDown)}}watchHandler(){this.calciteShellPanelToggle.emit()}connectedCallback(){s(this)}disconnectedCallback(){c(this),this.disconnectSeparator()}componentDidLoad(){this.updateAriaValues()}renderHeader(){const{el:t}=this;return r(t,"header")?a("div",{class:"content__header",key:"header"},a("slot",{name:"header"})):null}render(){const{collapsed:t,detached:e,position:i,initialContentWidth:n,contentWidth:o,contentWidthMax:r,contentWidthMin:l,intlResize:s,resizable:c}=this,d=!e&&c,m=a("div",{class:{content:!0,"content--detached":e},hidden:t,key:"content",ref:this.storeContentEl,style:d&&o?{width:`${o}px`}:null},this.renderHeader(),a("div",{class:"content__body"},a("slot",null))),p=d?a("div",{"aria-label":s,"aria-orientation":"horizontal","aria-valuemax":r,"aria-valuemin":l,"aria-valuenow":null!=o?o:n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null,h=[a("slot",{key:"action-bar",name:"action-bar"}),m,p];return"end"===i&&h.reverse(),a("div",{class:{container:!0}},h)}setContentWidth(t){const{contentWidthMax:a,contentWidthMin:e}=this,i=Math.round(t);this.contentWidth="number"==typeof a&&"number"==typeof e?d(i,e,a):i}updateAriaValues(){const{contentEl:t}=this,a=t&&getComputedStyle(t);if(!a)return;const e=parseInt(a.getPropertyValue("max-width"),10),i=parseInt(a.getPropertyValue("min-width"),10),n=parseInt(a.getPropertyValue("width"),10);"number"!=typeof n||isNaN(n)||(this.initialContentWidth=n),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i),o(this)}get el(){return i(this)}static get watchers(){return{collapsed:["watchHandler"]}}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";export{m as calcite_shell,p as calcite_shell_center_row,h as calcite_shell_panel}