@esri/calcite-components 1.0.0-next.721 → 1.0.0-next.723

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 (660) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +1 -1
  3. package/dist/calcite/{p-fd24a55b.js → p-00482e88.js} +2 -2
  4. package/dist/calcite/{p-afb2047c.entry.js → p-08cdb56a.entry.js} +2 -2
  5. package/dist/calcite/{p-b633ee4d.entry.js → p-08db8775.entry.js} +2 -2
  6. package/dist/calcite/{p-3d02ed6c.js → p-0deb04e7.js} +1 -1
  7. package/dist/calcite/{p-63d66b4a.entry.js → p-0f162b1f.entry.js} +2 -2
  8. package/dist/calcite/{p-582a9edd.entry.js → p-1289249f.entry.js} +2 -2
  9. package/dist/calcite/p-13d55ee6.js +6 -0
  10. package/dist/calcite/{p-4a2093e9.entry.js → p-159586f1.entry.js} +2 -2
  11. package/dist/calcite/{p-02ddd1c6.entry.js → p-18eefd1d.entry.js} +2 -2
  12. package/dist/calcite/{p-202d1a69.entry.js → p-194029a4.entry.js} +2 -2
  13. package/dist/calcite/{p-b93b025f.entry.js → p-1c712746.entry.js} +2 -2
  14. package/dist/calcite/{p-6515092d.js → p-1e3fc360.js} +1 -1
  15. package/dist/calcite/{p-93d8e595.js → p-1f636fe8.js} +2 -2
  16. package/dist/calcite/{p-4e05229a.entry.js → p-20764db8.entry.js} +2 -2
  17. package/dist/calcite/{p-cfff15dd.entry.js → p-276fd75b.entry.js} +2 -2
  18. package/dist/calcite/{p-25082696.entry.js → p-2a5e535e.entry.js} +2 -2
  19. package/dist/calcite/{p-4b233391.entry.js → p-2a9fd191.entry.js} +2 -2
  20. package/dist/calcite/{p-8966a2bd.entry.js → p-2b6926f9.entry.js} +2 -2
  21. package/dist/calcite/{p-6e9ceaf5.entry.js → p-2bc009a5.entry.js} +2 -2
  22. package/dist/calcite/{p-145914fb.entry.js → p-2e87df63.entry.js} +2 -2
  23. package/dist/calcite/{p-07bee743.entry.js → p-3118f412.entry.js} +2 -2
  24. package/dist/calcite/{p-4185ebbc.js → p-32b3f11f.js} +2 -2
  25. package/dist/calcite/{p-961405ef.entry.js → p-336f86fd.entry.js} +2 -2
  26. package/dist/calcite/{p-cf926515.entry.js → p-351e1272.entry.js} +2 -2
  27. package/dist/calcite/{p-703b25b5.js → p-36697619.js} +1 -1
  28. package/dist/calcite/{p-a76b9861.entry.js → p-38f64fc8.entry.js} +2 -2
  29. package/dist/calcite/{p-54236e79.entry.js → p-3de6322c.entry.js} +2 -2
  30. package/dist/calcite/{p-e3f35b0c.entry.js → p-3e2eaaef.entry.js} +2 -2
  31. package/dist/calcite/{p-57ed9151.js → p-402ef6ed.js} +2 -2
  32. package/dist/calcite/{p-d5753662.js → p-40603caf.js} +2 -2
  33. package/dist/calcite/{p-e026ab43.js → p-4144029f.js} +1 -1
  34. package/dist/calcite/{p-3c32c162.entry.js → p-450ecda2.entry.js} +2 -2
  35. package/dist/calcite/{p-04f18917.entry.js → p-45a85cb7.entry.js} +2 -2
  36. package/dist/calcite/{p-3a2aa5b8.entry.js → p-4b08e018.entry.js} +2 -2
  37. package/dist/calcite/{p-a21f3035.entry.js → p-4d7bf5ad.entry.js} +2 -2
  38. package/dist/calcite/{p-cf116b18.entry.js → p-4e86fcc4.entry.js} +2 -2
  39. package/dist/calcite/{p-b559e869.js → p-53a254e4.js} +3 -3
  40. package/dist/calcite/{p-98056fc4.entry.js → p-546db66b.entry.js} +2 -2
  41. package/dist/calcite/{p-2f1783d2.entry.js → p-56708fec.entry.js} +2 -2
  42. package/dist/calcite/{p-38d36ab7.js → p-57d4ff07.js} +1 -1
  43. package/dist/calcite/{p-9a8a60f1.entry.js → p-59e1b5b0.entry.js} +2 -2
  44. package/dist/calcite/{p-5b36a9b5.js → p-5f6d3597.js} +2 -2
  45. package/dist/calcite/{p-722d5243.js → p-63a1adfb.js} +2 -2
  46. package/dist/calcite/{p-08d5093f.entry.js → p-69d041bd.entry.js} +2 -2
  47. package/dist/calcite/{p-a1d06b4a.entry.js → p-6af57dbe.entry.js} +2 -2
  48. package/dist/calcite/{p-a88c42e6.js → p-6b6b24c2.js} +1 -1
  49. package/dist/calcite/{p-ed8a8e5f.js → p-6b78e8c4.js} +1 -1
  50. package/dist/calcite/{p-21dfe8ab.entry.js → p-6f60e284.entry.js} +2 -2
  51. package/dist/calcite/{p-0453965b.entry.js → p-7083df5d.entry.js} +2 -2
  52. package/dist/calcite/{p-af97f687.entry.js → p-71f354f5.entry.js} +2 -2
  53. package/dist/calcite/{p-c6c5871f.entry.js → p-79858259.entry.js} +2 -2
  54. package/dist/calcite/{p-680e7407.entry.js → p-7f9dfcfc.entry.js} +2 -2
  55. package/dist/calcite/{p-cd4ffc59.js → p-8176bc2e.js} +2 -2
  56. package/dist/calcite/{p-eeeb6135.entry.js → p-87d83070.entry.js} +2 -2
  57. package/dist/calcite/{p-9105e1a4.entry.js → p-8c6a158b.entry.js} +2 -2
  58. package/dist/calcite/p-8da2714f.entry.js +6 -0
  59. package/dist/calcite/{p-c2d9abfc.entry.js → p-907f174f.entry.js} +2 -2
  60. package/dist/calcite/{p-c3b3f643.entry.js → p-90e3cc44.entry.js} +2 -2
  61. package/dist/calcite/{p-a9021e6c.entry.js → p-927c56a9.entry.js} +2 -2
  62. package/dist/calcite/{p-5af88db1.js → p-927e243b.js} +1 -1
  63. package/dist/calcite/{p-f0ff6950.entry.js → p-9350f8f0.entry.js} +2 -2
  64. package/dist/calcite/{p-d7567be7.entry.js → p-9a2cf79f.entry.js} +2 -2
  65. package/dist/calcite/{p-bd8e1dcb.js → p-9f0e13ac.js} +1 -1
  66. package/dist/calcite/{p-0b07ce90.js → p-9f741a2a.js} +1 -1
  67. package/dist/calcite/{p-a6a0ab9f.js → p-aefcf952.js} +2 -2
  68. package/dist/calcite/{p-a29de6d7.entry.js → p-b0116d77.entry.js} +2 -2
  69. package/dist/calcite/{p-4cb4c7ed.js → p-b0dd3652.js} +2 -2
  70. package/dist/calcite/{p-5c47dbc4.entry.js → p-b5bcba1c.entry.js} +2 -2
  71. package/dist/calcite/{p-762418dc.entry.js → p-b7208d41.entry.js} +2 -2
  72. package/dist/calcite/{p-497b4103.entry.js → p-ba448958.entry.js} +2 -2
  73. package/dist/calcite/{p-09f411b1.entry.js → p-ba791582.entry.js} +2 -2
  74. package/dist/calcite/{p-17a986f0.entry.js → p-c037d18d.entry.js} +2 -2
  75. package/dist/calcite/{p-69d8fd36.entry.js → p-c46ba337.entry.js} +2 -2
  76. package/dist/calcite/{p-263daf21.entry.js → p-c979c567.entry.js} +2 -2
  77. package/dist/calcite/{p-0b8694ad.entry.js → p-d0c71d08.entry.js} +2 -2
  78. package/dist/calcite/{p-6f3a851b.entry.js → p-d3a729bc.entry.js} +2 -2
  79. package/dist/calcite/{p-899432ee.entry.js → p-d4338612.entry.js} +2 -2
  80. package/dist/calcite/{p-a54bb304.entry.js → p-d68a748b.entry.js} +2 -2
  81. package/dist/calcite/{p-71069a83.js → p-d925bf29.js} +1 -1
  82. package/dist/calcite/p-d9364f64.js +6 -0
  83. package/dist/calcite/{p-0d1faad2.entry.js → p-da015612.entry.js} +2 -2
  84. package/dist/calcite/{p-a9b30acd.js → p-df8c0b2c.js} +1 -1
  85. package/dist/calcite/p-e163f1f0.entry.js +6 -0
  86. package/dist/calcite/{p-57089bf3.js → p-e73354d0.js} +1 -1
  87. package/dist/calcite/{p-9d67d15a.js → p-e93f3aab.js} +2 -2
  88. package/dist/calcite/{p-43b0dfbf.js → p-eb3d8eb5.js} +1 -1
  89. package/dist/calcite/{p-7f52f883.js → p-eeee44fa.js} +1 -1
  90. package/dist/calcite/{p-f286bada.entry.js → p-ef99123a.entry.js} +2 -2
  91. package/dist/calcite/{p-84905d0a.entry.js → p-ef9f77ab.entry.js} +2 -2
  92. package/dist/calcite/p-f6a3a29d.js +6 -0
  93. package/dist/calcite/{p-a84ccf3a.js → p-f8e3dcc9.js} +2 -2
  94. package/dist/calcite/{p-d70c5023.js → p-fceff2b6.js} +1 -1
  95. package/dist/cjs/{ExpandToggle-789cafa5.js → ExpandToggle-0173abfe.js} +5 -5
  96. package/dist/cjs/{Heading-daf9e82e.js → Heading-6cfa350f.js} +2 -2
  97. package/dist/cjs/{app-globals-bbe6af0f.js → app-globals-035e9e07.js} +2 -2
  98. package/dist/cjs/{array-c07820ca.js → array-742336fa.js} +1 -1
  99. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  100. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  101. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  102. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  103. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  104. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  105. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  106. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  107. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  108. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  109. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  110. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  111. package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
  112. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -16
  113. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  114. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
  115. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  116. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  117. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  118. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  119. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  120. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  121. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  122. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  123. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  124. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
  125. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  126. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  127. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  128. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
  129. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  130. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  131. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  132. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  133. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  134. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  135. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  136. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  137. package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
  138. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  139. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  140. package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
  141. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  142. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  143. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  144. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  145. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  146. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  147. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  148. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  149. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  150. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  151. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  152. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  153. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  154. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  155. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  156. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  157. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  158. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  159. package/dist/cjs/calcite.cjs.js +5 -5
  160. package/dist/cjs/{conditionalSlot-9bdc8f50.js → conditionalSlot-e01fa9f3.js} +3 -3
  161. package/dist/cjs/{debounce-34b0e6c6.js → debounce-386cef55.js} +1 -1
  162. package/dist/cjs/{dom-132d438d.js → dom-b5de226d.js} +3 -3
  163. package/dist/cjs/{filter-d3f0c146.js → filter-16adf440.js} +2 -2
  164. package/dist/cjs/{floating-ui-0bee11aa.js → floating-ui-8cbab6b5.js} +4 -4
  165. package/dist/cjs/{focusTrapComponent-cfd66b75.js → focusTrapComponent-d26800c5.js} +2 -2
  166. package/dist/cjs/{form-b4d59964.js → form-eaad4d29.js} +3 -3
  167. package/dist/cjs/{guid-481fe737.js → guid-a3d67b9b.js} +1 -1
  168. package/dist/cjs/{index-ee0e04c7.js → index-686a1e8f.js} +1 -1
  169. package/dist/cjs/index.cjs.js +1 -1
  170. package/dist/cjs/{interactive-4319fa47.js → interactive-a6b3b60a.js} +1 -1
  171. package/dist/cjs/{key-a2b7e0c2.js → key-b2d59efd.js} +1 -1
  172. package/dist/cjs/{label-c3225e74.js → label-524cf959.js} +2 -2
  173. package/dist/cjs/{loadable-d0e6f1d4.js → loadable-e2760db6.js} +1 -1
  174. package/dist/cjs/loader.cjs.js +5 -5
  175. package/dist/cjs/{locale-96a2d21e.js → locale-c6c677b8.js} +4 -4
  176. package/dist/cjs/{math-44e1c26d.js → math-e6fe9140.js} +1 -1
  177. package/dist/cjs/{nonChromiumPlatformUtils-d01445af.js → nonChromiumPlatformUtils-82c12c2b.js} +6 -6
  178. package/dist/cjs/{observers-aaa4b84f.js → observers-865a53f3.js} +1 -1
  179. package/dist/cjs/{openCloseComponent-b5e7b794.js → openCloseComponent-cedc6344.js} +2 -2
  180. package/dist/cjs/{resources-1a860a7b.js → resources-1249b8ee.js} +1 -1
  181. package/dist/cjs/{resources-a25e3cbd.js → resources-2a064415.js} +1 -1
  182. package/dist/cjs/{resources-3ac1b49c.js → resources-644283ca.js} +1 -1
  183. package/dist/cjs/{resources-e8d5babe.js → resources-a3090d9c.js} +1 -1
  184. package/dist/cjs/{resources-f35d6c9e.js → resources-db218aa2.js} +5 -5
  185. package/dist/cjs/{resources-8f049280.js → resources-f5bf62ae.js} +1 -1
  186. package/dist/cjs/{sortable.esm-15002e26.js → sortable.esm-aa976dc7.js} +1 -1
  187. package/dist/cjs/{t9n-7bd39137.js → t9n-5f2cd439.js} +3 -3
  188. package/dist/cjs/{utils-0bdc5469.js → utils-6f98e74e.js} +1 -1
  189. package/dist/cjs/{utils-e317c706.js → utils-e5323b03.js} +3 -3
  190. package/dist/collection/components/accordion/accordion.js +1 -1
  191. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  192. package/dist/collection/components/accordion-item/resources.js +1 -1
  193. package/dist/collection/components/action/action.js +1 -1
  194. package/dist/collection/components/action/resources.js +1 -1
  195. package/dist/collection/components/action-bar/action-bar.js +1 -1
  196. package/dist/collection/components/action-bar/resources.js +1 -1
  197. package/dist/collection/components/action-bar/utils.js +1 -1
  198. package/dist/collection/components/action-group/action-group.js +1 -1
  199. package/dist/collection/components/action-group/resources.js +1 -1
  200. package/dist/collection/components/action-menu/action-menu.js +1 -1
  201. package/dist/collection/components/action-menu/resources.js +1 -1
  202. package/dist/collection/components/action-pad/action-pad.js +1 -1
  203. package/dist/collection/components/action-pad/resources.js +1 -1
  204. package/dist/collection/components/alert/alert.js +1 -1
  205. package/dist/collection/components/alert/resources.js +1 -1
  206. package/dist/collection/components/avatar/avatar.js +1 -1
  207. package/dist/collection/components/avatar/utils.js +1 -1
  208. package/dist/collection/components/block/block.js +1 -1
  209. package/dist/collection/components/block/resources.js +1 -1
  210. package/dist/collection/components/block-section/block-section.js +1 -1
  211. package/dist/collection/components/block-section/resources.js +1 -1
  212. package/dist/collection/components/button/button.js +1 -1
  213. package/dist/collection/components/button/resources.js +1 -1
  214. package/dist/collection/components/card/card.js +1 -1
  215. package/dist/collection/components/card/resources.js +1 -1
  216. package/dist/collection/components/checkbox/checkbox.js +1 -1
  217. package/dist/collection/components/chip/chip.js +1 -1
  218. package/dist/collection/components/chip/resources.js +1 -1
  219. package/dist/collection/components/color-picker/color-picker.css +0 -4
  220. package/dist/collection/components/color-picker/color-picker.js +1 -28
  221. package/dist/collection/components/color-picker/resources.js +1 -1
  222. package/dist/collection/components/color-picker/utils.js +1 -1
  223. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  224. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  225. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  226. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  227. package/dist/collection/components/combobox/combobox.js +1 -1
  228. package/dist/collection/components/combobox/resources.js +1 -1
  229. package/dist/collection/components/combobox/utils.js +1 -1
  230. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  231. package/dist/collection/components/combobox-item/resources.js +1 -1
  232. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  233. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  234. package/dist/collection/components/date-picker/date-picker.js +1 -1
  235. package/dist/collection/components/date-picker/resources.js +1 -1
  236. package/dist/collection/components/date-picker/utils.js +1 -1
  237. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  238. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  239. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  240. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  241. package/dist/collection/components/dropdown/dropdown.js +1 -1
  242. package/dist/collection/components/dropdown/resources.js +1 -1
  243. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  244. package/dist/collection/components/dropdown-group/resources.js +1 -1
  245. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  246. package/dist/collection/components/dropdown-item/resources.js +1 -1
  247. package/dist/collection/components/fab/fab.js +1 -1
  248. package/dist/collection/components/fab/resources.js +1 -1
  249. package/dist/collection/components/filter/filter.js +1 -1
  250. package/dist/collection/components/filter/resources.js +1 -1
  251. package/dist/collection/components/flow/flow.js +1 -1
  252. package/dist/collection/components/flow/resources.js +1 -1
  253. package/dist/collection/components/flow-item/flow-item.js +1 -1
  254. package/dist/collection/components/flow-item/resources.js +1 -1
  255. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  256. package/dist/collection/components/functional/Heading.js +1 -1
  257. package/dist/collection/components/graph/graph.js +1 -1
  258. package/dist/collection/components/graph/util.js +1 -1
  259. package/dist/collection/components/handle/handle.js +1 -1
  260. package/dist/collection/components/handle/resources.js +1 -1
  261. package/dist/collection/components/icon/icon.js +1 -1
  262. package/dist/collection/components/icon/resources.js +1 -1
  263. package/dist/collection/components/icon/utils.js +1 -1
  264. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  265. package/dist/collection/components/inline-editable/resources.js +1 -1
  266. package/dist/collection/components/input/input.js +1 -1
  267. package/dist/collection/components/input/resources.js +1 -1
  268. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  269. package/dist/collection/components/input-date-picker/resources.js +1 -1
  270. package/dist/collection/components/input-message/input-message.js +1 -1
  271. package/dist/collection/components/input-message/interfaces.js +1 -1
  272. package/dist/collection/components/input-number/input-number.js +1 -1
  273. package/dist/collection/components/input-number/resources.js +1 -1
  274. package/dist/collection/components/input-text/input-text.js +1 -1
  275. package/dist/collection/components/input-text/resources.js +1 -1
  276. package/dist/collection/components/input-time-picker/input-time-picker.js +3 -3
  277. package/dist/collection/components/label/label.js +1 -1
  278. package/dist/collection/components/label/resources.js +1 -1
  279. package/dist/collection/components/link/link.js +1 -1
  280. package/dist/collection/components/list/list.js +1 -1
  281. package/dist/collection/components/list/resources.js +1 -1
  282. package/dist/collection/components/list-item/list-item.js +1 -1
  283. package/dist/collection/components/list-item/resources.js +1 -1
  284. package/dist/collection/components/list-item/utils.js +1 -1
  285. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  286. package/dist/collection/components/list-item-group/resources.js +1 -1
  287. package/dist/collection/components/loader/loader.js +1 -1
  288. package/dist/collection/components/modal/modal.js +1 -1
  289. package/dist/collection/components/modal/resources.js +1 -1
  290. package/dist/collection/components/notice/notice.js +1 -1
  291. package/dist/collection/components/notice/resources.js +1 -1
  292. package/dist/collection/components/option/option.js +1 -1
  293. package/dist/collection/components/option-group/option-group.js +1 -1
  294. package/dist/collection/components/pagination/pagination.js +1 -1
  295. package/dist/collection/components/pagination/resources.js +1 -1
  296. package/dist/collection/components/panel/panel.js +1 -1
  297. package/dist/collection/components/panel/resources.js +1 -1
  298. package/dist/collection/components/pick-list/pick-list.js +1 -1
  299. package/dist/collection/components/pick-list/resources.js +1 -1
  300. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  301. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  302. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  303. package/dist/collection/components/pick-list-group/resources.js +1 -1
  304. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  305. package/dist/collection/components/pick-list-item/resources.js +1 -1
  306. package/dist/collection/components/popover/PopoverManager.js +1 -1
  307. package/dist/collection/components/popover/popover.js +1 -1
  308. package/dist/collection/components/popover/resources.js +1 -1
  309. package/dist/collection/components/progress/progress.js +1 -1
  310. package/dist/collection/components/radio-button/radio-button.js +1 -1
  311. package/dist/collection/components/radio-button/resources.js +1 -1
  312. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  313. package/dist/collection/components/rating/function/star.js +1 -1
  314. package/dist/collection/components/rating/rating.js +1 -1
  315. package/dist/collection/components/resources.js +1 -1
  316. package/dist/collection/components/scrim/resources.js +1 -1
  317. package/dist/collection/components/scrim/scrim.js +1 -1
  318. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  319. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  320. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  321. package/dist/collection/components/select/resources.js +1 -1
  322. package/dist/collection/components/select/select.js +1 -1
  323. package/dist/collection/components/shell/resources.js +1 -1
  324. package/dist/collection/components/shell/shell.js +1 -1
  325. package/dist/collection/components/shell-center-row/resources.js +1 -1
  326. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  327. package/dist/collection/components/shell-panel/resources.js +1 -1
  328. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  329. package/dist/collection/components/slider/resources.js +1 -1
  330. package/dist/collection/components/slider/slider.js +1 -1
  331. package/dist/collection/components/sortable-list/resources.js +1 -1
  332. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  333. package/dist/collection/components/split-button/resources.js +1 -1
  334. package/dist/collection/components/split-button/split-button.js +1 -1
  335. package/dist/collection/components/stepper/stepper.js +1 -1
  336. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  337. package/dist/collection/components/switch/switch.js +1 -1
  338. package/dist/collection/components/tab/tab.js +1 -1
  339. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  340. package/dist/collection/components/tab-title/tab-title.js +1 -1
  341. package/dist/collection/components/tabs/resources.js +1 -1
  342. package/dist/collection/components/tabs/tabs.js +1 -1
  343. package/dist/collection/components/tile/resources.js +1 -1
  344. package/dist/collection/components/tile/tile.js +1 -1
  345. package/dist/collection/components/tile-select/resources.js +1 -1
  346. package/dist/collection/components/tile-select/tile-select.js +1 -1
  347. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  348. package/dist/collection/components/time-picker/resources.js +1 -1
  349. package/dist/collection/components/time-picker/time-picker.js +1 -1
  350. package/dist/collection/components/tip/resources.js +1 -1
  351. package/dist/collection/components/tip/tip.js +1 -1
  352. package/dist/collection/components/tip-group/tip-group.js +1 -1
  353. package/dist/collection/components/tip-manager/resources.js +1 -1
  354. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  355. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  356. package/dist/collection/components/tooltip/resources.js +1 -1
  357. package/dist/collection/components/tooltip/tooltip.js +1 -1
  358. package/dist/collection/components/tree/tree.js +1 -1
  359. package/dist/collection/components/tree/utils.js +1 -1
  360. package/dist/collection/components/tree-item/resources.js +1 -1
  361. package/dist/collection/components/tree-item/tree-item.js +1 -1
  362. package/dist/collection/components/value-list/resources.js +1 -1
  363. package/dist/collection/components/value-list/utils.js +1 -1
  364. package/dist/collection/components/value-list/value-list.js +1 -1
  365. package/dist/collection/components/value-list-item/resources.js +1 -1
  366. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  367. package/dist/collection/utils/array.js +1 -1
  368. package/dist/collection/utils/conditionalSlot.js +1 -1
  369. package/dist/collection/utils/config.js +1 -1
  370. package/dist/collection/utils/date.js +1 -1
  371. package/dist/collection/utils/dom.js +1 -1
  372. package/dist/collection/utils/filter.js +1 -1
  373. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  374. package/dist/collection/utils/floating-ui.js +1 -1
  375. package/dist/collection/utils/focusTrapComponent.js +1 -1
  376. package/dist/collection/utils/form.js +1 -1
  377. package/dist/collection/utils/globalAttributes.js +1 -1
  378. package/dist/collection/utils/globalScript.js +1 -1
  379. package/dist/collection/utils/guid.js +1 -1
  380. package/dist/collection/utils/interactive.js +1 -1
  381. package/dist/collection/utils/key.js +1 -1
  382. package/dist/collection/utils/label.js +1 -1
  383. package/dist/collection/utils/loadable.js +1 -1
  384. package/dist/collection/utils/locale.js +1 -1
  385. package/dist/collection/utils/math.js +1 -1
  386. package/dist/collection/utils/mode.js +1 -1
  387. package/dist/collection/utils/number.js +1 -1
  388. package/dist/collection/utils/observers.js +1 -1
  389. package/dist/collection/utils/openCloseComponent.js +1 -1
  390. package/dist/collection/utils/resources.js +1 -1
  391. package/dist/collection/utils/t9n.js +1 -1
  392. package/dist/collection/utils/time.js +1 -1
  393. package/dist/components/ExpandToggle.js +1 -1
  394. package/dist/components/Heading.js +1 -1
  395. package/dist/components/action-group.js +1 -1
  396. package/dist/components/action-menu.js +1 -1
  397. package/dist/components/action.js +1 -1
  398. package/dist/components/array.js +1 -1
  399. package/dist/components/button.js +1 -1
  400. package/dist/components/calcite-accordion-item.js +1 -1
  401. package/dist/components/calcite-accordion.js +1 -1
  402. package/dist/components/calcite-action-bar.js +1 -1
  403. package/dist/components/calcite-action-group.js +1 -1
  404. package/dist/components/calcite-action-menu.js +1 -1
  405. package/dist/components/calcite-action-pad.js +1 -1
  406. package/dist/components/calcite-action.js +1 -1
  407. package/dist/components/calcite-alert.js +1 -1
  408. package/dist/components/calcite-avatar.js +1 -1
  409. package/dist/components/calcite-block-section.js +1 -1
  410. package/dist/components/calcite-block.js +1 -1
  411. package/dist/components/calcite-button.js +1 -1
  412. package/dist/components/calcite-card.js +1 -1
  413. package/dist/components/calcite-checkbox.js +1 -1
  414. package/dist/components/calcite-chip.js +1 -1
  415. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  416. package/dist/components/calcite-color-picker-swatch.js +1 -1
  417. package/dist/components/calcite-color-picker.js +2 -4
  418. package/dist/components/calcite-combobox-item-group.js +1 -1
  419. package/dist/components/calcite-combobox-item.js +1 -1
  420. package/dist/components/calcite-combobox.js +1 -1
  421. package/dist/components/calcite-date-picker-day.js +1 -1
  422. package/dist/components/calcite-date-picker-month-header.js +1 -1
  423. package/dist/components/calcite-date-picker-month.js +1 -1
  424. package/dist/components/calcite-date-picker.js +1 -1
  425. package/dist/components/calcite-dropdown-group.js +1 -1
  426. package/dist/components/calcite-dropdown-item.js +1 -1
  427. package/dist/components/calcite-dropdown.js +1 -1
  428. package/dist/components/calcite-fab.js +1 -1
  429. package/dist/components/calcite-filter.js +1 -1
  430. package/dist/components/calcite-flow-item.js +1 -1
  431. package/dist/components/calcite-flow.js +1 -1
  432. package/dist/components/calcite-graph.js +1 -1
  433. package/dist/components/calcite-handle.js +1 -1
  434. package/dist/components/calcite-icon.js +1 -1
  435. package/dist/components/calcite-inline-editable.js +1 -1
  436. package/dist/components/calcite-input-date-picker.js +1 -1
  437. package/dist/components/calcite-input-message.js +1 -1
  438. package/dist/components/calcite-input-number.js +1 -1
  439. package/dist/components/calcite-input-text.js +1 -1
  440. package/dist/components/calcite-input-time-picker.js +1 -1
  441. package/dist/components/calcite-input.js +1 -1
  442. package/dist/components/calcite-label.js +1 -1
  443. package/dist/components/calcite-link.js +1 -1
  444. package/dist/components/calcite-list-item-group.js +1 -1
  445. package/dist/components/calcite-list-item.js +1 -1
  446. package/dist/components/calcite-list.js +1 -1
  447. package/dist/components/calcite-loader.js +1 -1
  448. package/dist/components/calcite-modal.js +1 -1
  449. package/dist/components/calcite-notice.js +1 -1
  450. package/dist/components/calcite-option-group.js +1 -1
  451. package/dist/components/calcite-option.js +1 -1
  452. package/dist/components/calcite-pagination.js +1 -1
  453. package/dist/components/calcite-panel.js +1 -1
  454. package/dist/components/calcite-pick-list-group.js +1 -1
  455. package/dist/components/calcite-pick-list-item.js +1 -1
  456. package/dist/components/calcite-pick-list.js +1 -1
  457. package/dist/components/calcite-popover.js +1 -1
  458. package/dist/components/calcite-progress.js +1 -1
  459. package/dist/components/calcite-radio-button-group.js +1 -1
  460. package/dist/components/calcite-radio-button.js +1 -1
  461. package/dist/components/calcite-rating.js +1 -1
  462. package/dist/components/calcite-scrim.js +1 -1
  463. package/dist/components/calcite-segmented-control-item.js +1 -1
  464. package/dist/components/calcite-segmented-control.js +1 -1
  465. package/dist/components/calcite-select.js +1 -1
  466. package/dist/components/calcite-shell-center-row.js +1 -1
  467. package/dist/components/calcite-shell-panel.js +1 -1
  468. package/dist/components/calcite-shell.js +1 -1
  469. package/dist/components/calcite-slider.js +1 -1
  470. package/dist/components/calcite-sortable-list.js +1 -1
  471. package/dist/components/calcite-split-button.js +1 -1
  472. package/dist/components/calcite-stepper-item.js +1 -1
  473. package/dist/components/calcite-stepper.js +1 -1
  474. package/dist/components/calcite-switch.js +1 -1
  475. package/dist/components/calcite-tab-nav.js +1 -1
  476. package/dist/components/calcite-tab-title.js +1 -1
  477. package/dist/components/calcite-tab.js +1 -1
  478. package/dist/components/calcite-tabs.js +1 -1
  479. package/dist/components/calcite-tile-select-group.js +1 -1
  480. package/dist/components/calcite-tile-select.js +1 -1
  481. package/dist/components/calcite-tile.js +1 -1
  482. package/dist/components/calcite-time-picker.js +1 -1
  483. package/dist/components/calcite-tip-group.js +1 -1
  484. package/dist/components/calcite-tip-manager.js +1 -1
  485. package/dist/components/calcite-tip.js +1 -1
  486. package/dist/components/calcite-tooltip.js +1 -1
  487. package/dist/components/calcite-tree-item.js +1 -1
  488. package/dist/components/calcite-tree.js +1 -1
  489. package/dist/components/calcite-value-list-item.js +1 -1
  490. package/dist/components/calcite-value-list.js +1 -1
  491. package/dist/components/checkbox.js +1 -1
  492. package/dist/components/chip.js +1 -1
  493. package/dist/components/color-picker-hex-input.js +1 -1
  494. package/dist/components/color-picker-swatch.js +1 -1
  495. package/dist/components/conditionalSlot.js +1 -1
  496. package/dist/components/date-picker-day.js +1 -1
  497. package/dist/components/date-picker-month-header.js +1 -1
  498. package/dist/components/date-picker-month.js +1 -1
  499. package/dist/components/date-picker.js +1 -1
  500. package/dist/components/date.js +1 -1
  501. package/dist/components/debounce.js +1 -1
  502. package/dist/components/dom.js +1 -1
  503. package/dist/components/dropdown.js +1 -1
  504. package/dist/components/filter.js +1 -1
  505. package/dist/components/filter2.js +1 -1
  506. package/dist/components/floating-ui.js +1 -1
  507. package/dist/components/focusTrapComponent.js +1 -1
  508. package/dist/components/form.js +1 -1
  509. package/dist/components/graph.js +1 -1
  510. package/dist/components/guid.js +1 -1
  511. package/dist/components/handle.js +1 -1
  512. package/dist/components/icon.js +1 -1
  513. package/dist/components/index.js +1 -1
  514. package/dist/components/input.js +1 -1
  515. package/dist/components/interactive.js +1 -1
  516. package/dist/components/key.js +1 -1
  517. package/dist/components/label.js +1 -1
  518. package/dist/components/label2.js +1 -1
  519. package/dist/components/link.js +1 -1
  520. package/dist/components/loadable.js +1 -1
  521. package/dist/components/loader.js +1 -1
  522. package/dist/components/locale.js +1 -1
  523. package/dist/components/math.js +1 -1
  524. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  525. package/dist/components/observers.js +1 -1
  526. package/dist/components/openCloseComponent.js +1 -1
  527. package/dist/components/panel.js +1 -1
  528. package/dist/components/pick-list-item.js +1 -1
  529. package/dist/components/popover.js +1 -1
  530. package/dist/components/progress.js +1 -1
  531. package/dist/components/resources.js +1 -1
  532. package/dist/components/resources2.js +1 -1
  533. package/dist/components/resources3.js +1 -1
  534. package/dist/components/scrim.js +1 -1
  535. package/dist/components/shared-list-render.js +1 -1
  536. package/dist/components/sortable.esm.js +1 -1
  537. package/dist/components/switch.js +1 -1
  538. package/dist/components/t9n.js +1 -1
  539. package/dist/components/tab-nav.js +1 -1
  540. package/dist/components/tab-title.js +1 -1
  541. package/dist/components/tab.js +1 -1
  542. package/dist/components/tabs.js +1 -1
  543. package/dist/components/tile.js +1 -1
  544. package/dist/components/time-picker.js +1 -1
  545. package/dist/components/tooltip.js +1 -1
  546. package/dist/components/utils.js +1 -1
  547. package/dist/components/utils2.js +1 -1
  548. package/dist/components/utils3.js +1 -1
  549. package/dist/esm/{ExpandToggle-d9424f68.js → ExpandToggle-d9ef4083.js} +5 -5
  550. package/dist/esm/{Heading-8b643fd4.js → Heading-f67c75c0.js} +2 -2
  551. package/dist/esm/{app-globals-45e4da96.js → app-globals-a7845834.js} +2 -2
  552. package/dist/esm/{array-cff39dc9.js → array-47d905d5.js} +1 -1
  553. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  554. package/dist/esm/calcite-action-bar.entry.js +15 -15
  555. package/dist/esm/calcite-action-group.entry.js +12 -12
  556. package/dist/esm/calcite-action-menu.entry.js +9 -9
  557. package/dist/esm/calcite-action-pad.entry.js +14 -14
  558. package/dist/esm/calcite-action.entry.js +11 -11
  559. package/dist/esm/calcite-alert.entry.js +12 -12
  560. package/dist/esm/calcite-avatar.entry.js +6 -6
  561. package/dist/esm/calcite-block_2.entry.js +12 -12
  562. package/dist/esm/calcite-button.entry.js +13 -13
  563. package/dist/esm/calcite-card.entry.js +10 -10
  564. package/dist/esm/calcite-checkbox.entry.js +10 -10
  565. package/dist/esm/calcite-chip.entry.js +11 -11
  566. package/dist/esm/calcite-color-picker_3.entry.js +15 -16
  567. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  568. package/dist/esm/calcite-date-picker_4.entry.js +12 -12
  569. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  570. package/dist/esm/calcite-fab.entry.js +7 -7
  571. package/dist/esm/calcite-filter.entry.js +13 -13
  572. package/dist/esm/calcite-flow-item.entry.js +12 -12
  573. package/dist/esm/calcite-flow.entry.js +3 -3
  574. package/dist/esm/calcite-graph_2.entry.js +13 -13
  575. package/dist/esm/calcite-handle.entry.js +6 -6
  576. package/dist/esm/calcite-icon.entry.js +6 -6
  577. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  578. package/dist/esm/calcite-input-date-picker.entry.js +16 -16
  579. package/dist/esm/calcite-input-message.entry.js +5 -5
  580. package/dist/esm/calcite-input-number.entry.js +14 -14
  581. package/dist/esm/calcite-input-text.entry.js +13 -13
  582. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
  583. package/dist/esm/calcite-input.entry.js +14 -14
  584. package/dist/esm/calcite-label.entry.js +6 -6
  585. package/dist/esm/calcite-link.entry.js +7 -7
  586. package/dist/esm/calcite-list_3.entry.js +9 -9
  587. package/dist/esm/calcite-loader.entry.js +3 -3
  588. package/dist/esm/calcite-modal.entry.js +13 -13
  589. package/dist/esm/calcite-notice.entry.js +12 -12
  590. package/dist/esm/calcite-option_3.entry.js +10 -10
  591. package/dist/esm/calcite-pagination.entry.js +9 -9
  592. package/dist/esm/calcite-panel.entry.js +14 -14
  593. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  594. package/dist/esm/calcite-popover.entry.js +15 -15
  595. package/dist/esm/calcite-progress.entry.js +2 -2
  596. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  597. package/dist/esm/calcite-radio-button.entry.js +10 -10
  598. package/dist/esm/calcite-rating.entry.js +13 -13
  599. package/dist/esm/calcite-scrim.entry.js +9 -9
  600. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  601. package/dist/esm/calcite-shell_3.entry.js +11 -11
  602. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  603. package/dist/esm/calcite-split-button.entry.js +3 -3
  604. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  605. package/dist/esm/calcite-switch.entry.js +10 -10
  606. package/dist/esm/calcite-tab_4.entry.js +7 -7
  607. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  608. package/dist/esm/calcite-tile.entry.js +8 -8
  609. package/dist/esm/calcite-tip_3.entry.js +11 -11
  610. package/dist/esm/calcite-tooltip.entry.js +8 -8
  611. package/dist/esm/calcite-tree_2.entry.js +9 -9
  612. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  613. package/dist/esm/calcite.js +5 -5
  614. package/dist/esm/{conditionalSlot-5dba5a0b.js → conditionalSlot-0ff7e861.js} +3 -3
  615. package/dist/esm/{debounce-81686077.js → debounce-f549cf08.js} +1 -1
  616. package/dist/esm/{dom-0a773276.js → dom-e66deaca.js} +3 -3
  617. package/dist/esm/{filter-99c8d6c6.js → filter-d2b5908c.js} +2 -2
  618. package/dist/esm/{floating-ui-3eea5294.js → floating-ui-09b71898.js} +4 -4
  619. package/dist/esm/{focusTrapComponent-2c96f595.js → focusTrapComponent-c16202be.js} +2 -2
  620. package/dist/esm/{form-5cfd4335.js → form-7ad654ff.js} +3 -3
  621. package/dist/esm/{guid-5b45b797.js → guid-96c3dbbf.js} +1 -1
  622. package/dist/esm/{index-b893092e.js → index-8ceb88a0.js} +1 -1
  623. package/dist/esm/index.js +1 -1
  624. package/dist/esm/{interactive-62d72f11.js → interactive-9f3857e0.js} +1 -1
  625. package/dist/esm/{key-2df5cf2a.js → key-5e0affc6.js} +1 -1
  626. package/dist/esm/{label-767a27eb.js → label-e7bad4b1.js} +2 -2
  627. package/dist/esm/{loadable-cea831ce.js → loadable-5e55f78e.js} +1 -1
  628. package/dist/esm/loader.js +5 -5
  629. package/dist/esm/{locale-523d5a68.js → locale-34bdf212.js} +4 -4
  630. package/dist/esm/{math-4602449f.js → math-0451dfcd.js} +1 -1
  631. package/dist/esm/{nonChromiumPlatformUtils-f84d0ec5.js → nonChromiumPlatformUtils-b43137e4.js} +6 -6
  632. package/dist/esm/{observers-58e0d497.js → observers-33b5d548.js} +1 -1
  633. package/dist/esm/{openCloseComponent-fd5156ee.js → openCloseComponent-233ea357.js} +2 -2
  634. package/dist/esm/{resources-3154c7cf.js → resources-4043b366.js} +1 -1
  635. package/dist/esm/{resources-3ad8fc30.js → resources-41cde58d.js} +1 -1
  636. package/dist/esm/{resources-62d65ed5.js → resources-8b305e33.js} +1 -1
  637. package/dist/esm/{resources-2c532925.js → resources-c816fc87.js} +1 -1
  638. package/dist/esm/{resources-7c6e804b.js → resources-f224645e.js} +1 -1
  639. package/dist/esm/{resources-460e3087.js → resources-f6edfb79.js} +5 -5
  640. package/dist/esm/{sortable.esm-f1652bf0.js → sortable.esm-9383c342.js} +1 -1
  641. package/dist/esm/{t9n-3542ee00.js → t9n-cd72a70c.js} +3 -3
  642. package/dist/esm/{utils-a913433d.js → utils-2582fb57.js} +1 -1
  643. package/dist/esm/{utils-d6b8b107.js → utils-ed116f49.js} +3 -3
  644. package/dist/extras/docs-json.json +3 -26
  645. package/dist/extras/vscode-data.json +0 -12
  646. package/dist/loader/cdn.js +1 -1
  647. package/dist/loader/index.cjs.js +1 -1
  648. package/dist/loader/index.es2017.js +1 -1
  649. package/dist/loader/index.js +1 -1
  650. package/dist/types/components/color-picker/color-picker.d.ts +1 -5
  651. package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -1
  652. package/dist/types/components/interfaces.d.ts +1 -1
  653. package/dist/types/components.d.ts +1 -9
  654. package/hydrate/index.js +3 -5
  655. package/package.json +1 -1
  656. package/dist/calcite/p-2226c659.entry.js +0 -6
  657. package/dist/calcite/p-2c694430.js +0 -6
  658. package/dist/calcite/p-a188ccc4.js +0 -6
  659. package/dist/calcite/p-d3a47aee.entry.js +0 -6
  660. package/dist/calcite/p-fb39b8b6.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
6
  const e={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"},t={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right"},n={headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions"};export{e as C,t as I,n as S}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
- import{r as i,c as t,h as e,H as a,g as n}from"./p-38d36ab7.js";import{c as o,d as c}from"./p-a188ccc4.js";import{g as r,t as l,b as s}from"./p-b559e869.js";import{g as d}from"./p-43b0dfbf.js";import{u as m}from"./p-71069a83.js";import{c as g,d as h}from"./p-9d67d15a.js";import{u,c as p,d as f,s as v}from"./p-2c694430.js";import{H as b}from"./p-fb39b8b6.js";import{i as x}from"./p-3d02ed6c.js";import"./p-0b07ce90.js";import"./p-703b25b5.js";const y={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"},w=class{constructor(e){i(this,e),this.calciteBlockToggle=t(this,"calciteBlockToggle",6),this.guid=d(),this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.open=!1,this.status=void 0,this.description=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){o(this),g(this),p(this)}disconnectedCallback(){h(this),f(this),c(this)}componentDidRender(){m(this)}async componentWillLoad(){await v(this)}renderScrim(){const{loading:i}=this,t=e("slot",null);return[i?e("calcite-scrim",{loading:i}):null,t]}renderIcon(){const{el:i,status:t}=this,a=this.loading&&!this.open,n=a?y.refresh:y[t],o=r(i,"icon")||n,c=n?e("calcite-icon",{class:{"status-icon":!0,valid:"valid"==t,invalid:"invalid"==t,loading:a},icon:n,scale:"m"}):e("slot",{key:"icon-slot",name:"icon"});return o?e("div",{class:"icon"},c):null}renderTitle(){const{heading:i,headingLevel:t,description:a}=this;return i||a?e("div",{class:"title"},e(b,{class:"heading",level:t},i),a?e("div",{class:"description"},a):null):null}render(){const{collapsible:i,el:t,loading:n,open:o,messages:c}=this,s=o?c.collapse:c.expand,d=e("header",{class:"header"},this.renderIcon(),this.renderTitle()),m=!!r(t,"control"),g=!!r(t,"header-menu-actions"),h=o?y.opened:y.closed,{guid:u}=this,p=`${u}-region`,f=`${u}-button`,v=e("div",{class:"header-container"},this.dragHandle?e("calcite-handle",null):null,i?e("button",{"aria-controls":p,"aria-expanded":i?l(o):null,"aria-label":s,class:"toggle",id:f,onClick:this.onHeaderClick,title:s},d,m||g?null:e("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:h,scale:"s"})):d,n?e("calcite-loader",{inline:!0,label:c.loading}):m?e("div",{class:"control-container"},e("slot",{name:"control"})):null,g?e("calcite-action-menu",{label:c.options},e("slot",{name:"header-menu-actions"})):null);return e(a,null,e("article",{"aria-busy":l(n),class:{container:!0}},v,e("section",{"aria-expanded":l(o),"aria-labelledby":f,class:"content",hidden:!o,id:p},this.renderScrim())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{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 *{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);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;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{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;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:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;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);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{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{margin-inline-start:0.75rem;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{animation:spin calc(var(--calcite-internal-animation-timing-slow) * 2) linear infinite}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;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 k={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"},_=class{constructor(e){i(this,e),this.calciteBlockSectionToggle=t(this,"calciteBlockSectionToggle",6),this.guid=d(),this.handleHeaderKeyDown=i=>{x(i.key)&&(this.toggleSection(),i.preventDefault(),i.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){g(this),p(this)}disconnectedCallback(){h(this),f(this)}async componentWillLoad(){await v(this)}renderStatusIcon(){const{status:i}=this,t=k[i]??!1;return t?e("calcite-icon",{class:{"status-icon":!0,valid:"valid"==i,invalid:"invalid"==i},icon:t,scale:"s"}):null}render(){const{el:i,messages:t,open:n,text:o,toggleDisplay:c}=this,r=s(i),d=n?k.menuOpen:"rtl"===r?k.menuClosedLeft:k.menuClosedRight,m=n?t.collapse:t.expand,{guid:g}=this,h=`${g}-region`,u=`${g}-button`,p="switch"===c?e("div",{"aria-controls":h,"aria-label":m,class:{toggle:!0,"toggle--switch":!0},id:u,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:m},e("div",{class:"toggle--switch__content"},e("span",{class:"toggle--switch__text"},o)),e("calcite-switch",{checked:n,label:m,scale:"s",tabIndex:-1}),this.renderStatusIcon()):e("button",{"aria-controls":h,"aria-label":m,class:{"section-header":!0,toggle:!0},id:u,name:m,onClick:this.toggleSection},e("calcite-icon",{icon:d,scale:"s"}),e("span",{class:"section-header__text"},o),this.renderStatusIcon());return e(a,null,p,e("section",{"aria-expanded":l(n),"aria-labelledby":u,class:"content",hidden:!n,id:h},e("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};_.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{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:flex;cursor:pointer;-webkit-user-select:none;user-select:none;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{align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;margin-inline-start:0.25rem}.toggle--switch .status-icon{margin-inline-start:0.5rem}.toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";export{w as calcite_block,_ as calcite_block_section}
6
+ import{r as i,c as t,h as e,H as a,g as n}from"./p-57d4ff07.js";import{c as o,d as c}from"./p-d9364f64.js";import{g as r,t as l,b as s}from"./p-53a254e4.js";import{g as d}from"./p-eb3d8eb5.js";import{u as m}from"./p-d925bf29.js";import{c as g,d as h}from"./p-e93f3aab.js";import{u,c as p,d as f,s as v}from"./p-f6a3a29d.js";import{H as b}from"./p-13d55ee6.js";import{i as x}from"./p-0deb04e7.js";import"./p-9f741a2a.js";import"./p-36697619.js";const y={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"},w=class{constructor(e){i(this,e),this.calciteBlockToggle=t(this,"calciteBlockToggle",6),this.guid=d(),this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.open=!1,this.status=void 0,this.description=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){o(this),g(this),p(this)}disconnectedCallback(){h(this),f(this),c(this)}componentDidRender(){m(this)}async componentWillLoad(){await v(this)}renderScrim(){const{loading:i}=this,t=e("slot",null);return[i?e("calcite-scrim",{loading:i}):null,t]}renderIcon(){const{el:i,status:t}=this,a=this.loading&&!this.open,n=a?y.refresh:y[t],o=r(i,"icon")||n,c=n?e("calcite-icon",{class:{"status-icon":!0,valid:"valid"==t,invalid:"invalid"==t,loading:a},icon:n,scale:"m"}):e("slot",{key:"icon-slot",name:"icon"});return o?e("div",{class:"icon"},c):null}renderTitle(){const{heading:i,headingLevel:t,description:a}=this;return i||a?e("div",{class:"title"},e(b,{class:"heading",level:t},i),a?e("div",{class:"description"},a):null):null}render(){const{collapsible:i,el:t,loading:n,open:o,messages:c}=this,s=o?c.collapse:c.expand,d=e("header",{class:"header"},this.renderIcon(),this.renderTitle()),m=!!r(t,"control"),g=!!r(t,"header-menu-actions"),h=o?y.opened:y.closed,{guid:u}=this,p=`${u}-region`,f=`${u}-button`,v=e("div",{class:"header-container"},this.dragHandle?e("calcite-handle",null):null,i?e("button",{"aria-controls":p,"aria-expanded":i?l(o):null,"aria-label":s,class:"toggle",id:f,onClick:this.onHeaderClick,title:s},d,m||g?null:e("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:h,scale:"s"})):d,n?e("calcite-loader",{inline:!0,label:c.loading}):m?e("div",{class:"control-container"},e("slot",{name:"control"})):null,g?e("calcite-action-menu",{label:c.options},e("slot",{name:"header-menu-actions"})):null);return e(a,null,e("article",{"aria-busy":l(n),class:{container:!0}},v,e("section",{"aria-expanded":l(o),"aria-labelledby":f,class:"content",hidden:!o,id:p},this.renderScrim())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{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 *{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);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;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{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;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:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;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);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{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{margin-inline-start:0.75rem;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{animation:spin calc(var(--calcite-internal-animation-timing-slow) * 2) linear infinite}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;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 k={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"},_=class{constructor(e){i(this,e),this.calciteBlockSectionToggle=t(this,"calciteBlockSectionToggle",6),this.guid=d(),this.handleHeaderKeyDown=i=>{x(i.key)&&(this.toggleSection(),i.preventDefault(),i.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){g(this),p(this)}disconnectedCallback(){h(this),f(this)}async componentWillLoad(){await v(this)}renderStatusIcon(){const{status:i}=this,t=k[i]??!1;return t?e("calcite-icon",{class:{"status-icon":!0,valid:"valid"==i,invalid:"invalid"==i},icon:t,scale:"s"}):null}render(){const{el:i,messages:t,open:n,text:o,toggleDisplay:c}=this,r=s(i),d=n?k.menuOpen:"rtl"===r?k.menuClosedLeft:k.menuClosedRight,m=n?t.collapse:t.expand,{guid:g}=this,h=`${g}-region`,u=`${g}-button`,p="switch"===c?e("div",{"aria-controls":h,"aria-label":m,class:{toggle:!0,"toggle--switch":!0},id:u,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:m},e("div",{class:"toggle--switch__content"},e("span",{class:"toggle--switch__text"},o)),e("calcite-switch",{checked:n,label:m,scale:"s",tabIndex:-1}),this.renderStatusIcon()):e("button",{"aria-controls":h,"aria-label":m,class:{"section-header":!0,toggle:!0},id:u,name:m,onClick:this.toggleSection},e("calcite-icon",{icon:d,scale:"s"}),e("span",{class:"section-header__text"},o),this.renderStatusIcon());return e(a,null,p,e("section",{"aria-expanded":l(n),"aria-labelledby":u,class:"content",hidden:!n,id:h},e("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};_.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{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:flex;cursor:pointer;-webkit-user-select:none;user-select:none;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{align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;margin-inline-start:0.25rem}.toggle--switch .status-icon{margin-inline-start:0.5rem}.toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";export{w as calcite_block,_ as calcite_block_section}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
- import{r as t,c as i,h as a,g as e,F as n}from"./p-38d36ab7.js";import{u as s}from"./p-71069a83.js";import{s as c,a as o,c as r}from"./p-ed8a8e5f.js";import{c as l}from"./p-0b07ce90.js";import{m as d,d as h,a as m,s as p,h as u,b as f,c as g,k as b,i as v,f as y,l as x,j as w,r as k,o as _,p as D,n as z,q as C,t as L,I as j,L as I,u as H,v as W,w as F,C as R,S as M}from"./p-57ed9151.js";import{c as S,d as V}from"./p-a188ccc4.js";import{g as A,t as P}from"./p-b559e869.js";import{H as T,c as U}from"./p-fb39b8b6.js";import{c as K,d as O}from"./p-9d67d15a.js";import{u as q,c as E,s as B,d as G}from"./p-2c694430.js";import"./p-bd8e1dcb.js";import"./p-a9b30acd.js";import"./p-43b0dfbf.js";import"./p-703b25b5.js";import"./p-3d02ed6c.js";const J=class{constructor(a){t(this,a),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",d.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=h.bind(this),this.deselectSiblingItems=m.bind(this),this.selectSiblings=p.bind(this),this.handleFilter=u.bind(this),this.handleFilterEvent=f.bind(this),this.getItemData=g.bind(this),this.keyDownHandler=b.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){v.call(this),y.call(this)}disconnectedCallback(){x.call(this)}componentWillLoad(){c(this)}componentDidLoad(){o(this),w.call(this)}componentDidRender(){s(this)}calciteListItemRemoveHandler(t){k.call(this,t)}calciteListItemChangeHandler(t){_.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){D.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){z.call(this,t)}setUpItems(){C.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await r(this),L.call(this,t)}getIconType(){return this.multiple?j.square:j.circle}render(){return a(I,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};J.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:1}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";const N=class{constructor(i){t(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){S(this)}disconnectedCallback(){V(this)}render(){const{el:t,groupTitle:i,headingLevel:e}=this,s=null!==A(t,H.parentItem),c={[W.container]:!0,[W.indented]:s},o=i,r=t.closest("calcite-pick-list")?.headingLevel,l=r?U(r+1):null;return a(n,null,o?a(T,{class:W.heading,level:e||l},o):null,a("slot",{name:H.parentItem}),a("section",{class:c},a("slot",null)))}get el(){return e(this)}};N.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;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{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}";const Q=class{constructor(a){t(this,a),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,i){this.calciteInternalListItemValueChange.emit({oldValue:i,newValue:t})}effectiveLocaleChange(){q(this,this.effectiveLocale)}connectedCallback(){K(this),E(this),S(this)}async componentWillLoad(){await B(this),c(this)}componentDidLoad(){o(this)}disconnectedCallback(){O(this),G(this),V(this)}componentDidRender(){s(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await r(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:i}=this;return t?a("span",{class:{[R.icon]:!0,[R.iconDot]:t===j.circle},onClick:this.pickListClickHandler},t===j.square?a("calcite-icon",{flipRtl:i,icon:F.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?a("calcite-action",{class:R.remove,icon:F.remove,onClick:this.removeClickHandler,slot:M.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return A(t,M.actionsStart)?a("div",{class:{[R.actions]:!0,[R.actionsStart]:!0}},a("slot",{name:M.actionsStart})):null}renderActionsEnd(){const{el:t,removable:i}=this;return A(t,M.actionsEnd)||i?a("div",{class:{[R.actions]:!0,[R.actionsEnd]:!0}},a("slot",{name:M.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:i}=this;return a(n,null,this.renderIcon(),this.renderActionsStart(),a("label",{"aria-label":i,class:R.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,ref:t=>this.focusEl=t,tabIndex:0},a("div",{"aria-checked":P(this.selected),class:R.textContainer,role:"menuitemcheckbox"},a("span",{class:R.title},i),t?a("span",{class:R.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Q.style='@charset "UTF-8";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';export{J as calcite_pick_list,N as calcite_pick_list_group,Q as calcite_pick_list_item}
6
+ import{r as t,c as i,h as a,g as e,F as n}from"./p-57d4ff07.js";import{u as s}from"./p-d925bf29.js";import{s as o,a as c,c as r}from"./p-6b78e8c4.js";import{c as l}from"./p-9f741a2a.js";import{m as d,d as h,a as m,s as p,h as f,b as u,c as g,k as v,i as b,f as y,l as x,j as w,r as k,o as _,p as D,n as z,q as C,t as L,I as j,L as I,u as H,v as W,w as F,C as R,S as M}from"./p-402ef6ed.js";import{c as S,d as V}from"./p-d9364f64.js";import{g as A,t as P}from"./p-53a254e4.js";import{H as T,c as U}from"./p-13d55ee6.js";import{c as K,d as O}from"./p-e93f3aab.js";import{u as q,c as E,s as B,d as G}from"./p-f6a3a29d.js";import"./p-9f0e13ac.js";import"./p-df8c0b2c.js";import"./p-eb3d8eb5.js";import"./p-36697619.js";import"./p-0deb04e7.js";const J=class{constructor(a){t(this,a),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",d.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=h.bind(this),this.deselectSiblingItems=m.bind(this),this.selectSiblings=p.bind(this),this.handleFilter=f.bind(this),this.handleFilterEvent=u.bind(this),this.getItemData=g.bind(this),this.keyDownHandler=v.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){b.call(this),y.call(this)}disconnectedCallback(){x.call(this)}componentWillLoad(){o(this)}componentDidLoad(){c(this),w.call(this)}componentDidRender(){s(this)}calciteListItemRemoveHandler(t){k.call(this,t)}calciteListItemChangeHandler(t){_.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){D.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){z.call(this,t)}setUpItems(){C.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await r(this),L.call(this,t)}getIconType(){return this.multiple?j.square:j.circle}render(){return a(I,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};J.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:1}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";const N=class{constructor(i){t(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){S(this)}disconnectedCallback(){V(this)}render(){const{el:t,groupTitle:i,headingLevel:e}=this,s=null!==A(t,H.parentItem),o={[W.container]:!0,[W.indented]:s},c=i,r=t.closest("calcite-pick-list")?.headingLevel,l=r?U(r+1):null;return a(n,null,c?a(T,{class:W.heading,level:e||l},c):null,a("slot",{name:H.parentItem}),a("section",{class:o},a("slot",null)))}get el(){return e(this)}};N.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;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{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}";const Q=class{constructor(a){t(this,a),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,i){this.calciteInternalListItemValueChange.emit({oldValue:i,newValue:t})}effectiveLocaleChange(){q(this,this.effectiveLocale)}connectedCallback(){K(this),E(this),S(this)}async componentWillLoad(){await B(this),o(this)}componentDidLoad(){c(this)}disconnectedCallback(){O(this),G(this),V(this)}componentDidRender(){s(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await r(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:i}=this;return t?a("span",{class:{[R.icon]:!0,[R.iconDot]:t===j.circle},onClick:this.pickListClickHandler},t===j.square?a("calcite-icon",{flipRtl:i,icon:F.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?a("calcite-action",{class:R.remove,icon:F.remove,onClick:this.removeClickHandler,slot:M.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return A(t,M.actionsStart)?a("div",{class:{[R.actions]:!0,[R.actionsStart]:!0}},a("slot",{name:M.actionsStart})):null}renderActionsEnd(){const{el:t,removable:i}=this;return A(t,M.actionsEnd)||i?a("div",{class:{[R.actions]:!0,[R.actionsEnd]:!0}},a("slot",{name:M.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:i}=this;return a(n,null,this.renderIcon(),this.renderActionsStart(),a("label",{"aria-label":i,class:R.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,ref:t=>this.focusEl=t,tabIndex:0},a("div",{"aria-checked":P(this.selected),class:R.textContainer,role:"menuitemcheckbox"},a("span",{class:R.title},i),t?a("span",{class:R.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Q.style='@charset "UTF-8";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';export{J as calcite_pick_list,N as calcite_pick_list_group,Q as calcite_pick_list_item}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
- import{r as t,c as a,h as e,H as i,g as n}from"./p-38d36ab7.js";import{l as o,a as c}from"./p-5b36a9b5.js";import"./p-b559e869.js";import"./p-43b0dfbf.js";import"./p-703b25b5.js";const l=class{constructor(e){t(this,e),this.calciteInternalLabelClick=a(this,"calciteInternalLabelClick",2),this.labelClickHandler=t=>{this.calciteInternalLabelClick.emit({sourceEvent:t})},this.alignment="start",this.for=void 0,this.scale="m",this.layout="default"}connectedCallback(){document.dispatchEvent(new CustomEvent(o))}disconnectedCallback(){document.dispatchEvent(new CustomEvent(c))}render(){return e(i,{onClick:this.labelClickHandler},e("div",{class:"container"},e("slot",null)))}get el(){return n(this)}};l.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{l as calcite_label}
6
+ import{r as t,c as a,h as e,H as i,g as n}from"./p-57d4ff07.js";import{l as o,a as c}from"./p-5f6d3597.js";import"./p-53a254e4.js";import"./p-eb3d8eb5.js";import"./p-36697619.js";const l=class{constructor(e){t(this,e),this.calciteInternalLabelClick=a(this,"calciteInternalLabelClick",2),this.labelClickHandler=t=>{this.calciteInternalLabelClick.emit({sourceEvent:t})},this.alignment="start",this.for=void 0,this.scale="m",this.layout="default"}connectedCallback(){document.dispatchEvent(new CustomEvent(o))}disconnectedCallback(){document.dispatchEvent(new CustomEvent(c))}render(){return e(i,{onClick:this.labelClickHandler},e("div",{class:"container"},e("slot",null)))}get el(){return n(this)}};l.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{l as calcite_label}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
- import{a as i,r as a,h as t,H as n,g as e}from"./p-38d36ab7.js";import{b as c,t as s}from"./p-b559e869.js";import{c as o}from"./p-0b07ce90.js";import"./p-43b0dfbf.js";import"./p-703b25b5.js";const l={},r={},m={s:16,m:24,l:32};const d=class{constructor(i){a(this,i),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:i,flipRtl:a,pathData:e,scale:o,textLabel:l}=this,r=c(i),d=m[o],h=!!l,p=[].concat(e||"");return t(n,{"aria-hidden":s(!h),"aria-label":h?l:null,role:h?"img":null},t("svg",{"aria-hidden":"true",class:{"flip-rtl":"rtl"===r&&a,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${d} ${d}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},p.map((i=>t("path","string"==typeof i?{d:i}:{d:i.d,opacity:"opacity"in i?i.opacity:1})))))}async loadIconPathData(){const{icon:a,scale:t,visible:n}=this;a&&n&&(this.pathData=await async function({icon:a,scale:t}){const n=m[t],e=function(i){const a=!isNaN(Number(i.charAt(0))),t=i.split("-");return 1===t.length?a?`i${i}`:i:t.map(((i,t)=>0===t?a?`i${i.toUpperCase()}`:i:i.charAt(0).toUpperCase()+i.slice(1))).join("")}(a),c="F"===e.charAt(e.length-1),s=`${c?e.substring(0,e.length-1):e}${n}${c?"F":""}`;if(l[s])return l[s];r[s]||(r[s]=fetch(i(`./assets/icon/${s}.json`)).then((i=>i.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const o=await r[s];return l[s]=o,o}({icon:a,scale:t}))}waitUntilVisible(i){this.intersectionObserver=o("intersection",(a=>{a.forEach((a=>{a.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,i())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):i()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};d.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){block-size:1rem;inline-size:1rem;min-inline-size:1rem;min-block-size:1rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem;min-inline-size:1.5rem;min-block-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem;min-inline-size:2rem;min-block-size:2rem}.flip-rtl{transform:scaleX(-1)}.svg{display:block}";export{d as calcite_icon}
6
+ import{a as i,r as a,h as t,H as n,g as e}from"./p-57d4ff07.js";import{b as c,t as s}from"./p-53a254e4.js";import{c as o}from"./p-9f741a2a.js";import"./p-eb3d8eb5.js";import"./p-36697619.js";const l={},r={},m={s:16,m:24,l:32};const d=class{constructor(i){a(this,i),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:i,flipRtl:a,pathData:e,scale:o,textLabel:l}=this,r=c(i),d=m[o],h=!!l,p=[].concat(e||"");return t(n,{"aria-hidden":s(!h),"aria-label":h?l:null,role:h?"img":null},t("svg",{"aria-hidden":"true",class:{"flip-rtl":"rtl"===r&&a,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${d} ${d}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},p.map((i=>t("path","string"==typeof i?{d:i}:{d:i.d,opacity:"opacity"in i?i.opacity:1})))))}async loadIconPathData(){const{icon:a,scale:t,visible:n}=this;a&&n&&(this.pathData=await async function({icon:a,scale:t}){const n=m[t],e=function(i){const a=!isNaN(Number(i.charAt(0))),t=i.split("-");return 1===t.length?a?`i${i}`:i:t.map(((i,t)=>0===t?a?`i${i.toUpperCase()}`:i:i.charAt(0).toUpperCase()+i.slice(1))).join("")}(a),c="F"===e.charAt(e.length-1),s=`${c?e.substring(0,e.length-1):e}${n}${c?"F":""}`;if(l[s])return l[s];r[s]||(r[s]=fetch(i(`./assets/icon/${s}.json`)).then((i=>i.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const o=await r[s];return l[s]=o,o}({icon:a,scale:t}))}waitUntilVisible(i){this.intersectionObserver=o("intersection",(a=>{a.forEach((a=>{a.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,i())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):i()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};d.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){block-size:1rem;inline-size:1rem;min-inline-size:1rem;min-block-size:1rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem;min-inline-size:1.5rem;min-block-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem;min-inline-size:2rem;min-block-size:2rem}.flip-rtl{transform:scaleX(-1)}.svg{display:block}";export{d as calcite_icon}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
- import{r as i,c as t,h as a,g as c,H as n}from"./p-38d36ab7.js";import{c as e,d as o}from"./p-a188ccc4.js";import{h as r,g as s,b as l,t as d}from"./p-b559e869.js";import{C as m}from"./p-703b25b5.js";import"./p-0b07ce90.js";import"./p-43b0dfbf.js";const h=class{constructor(a){i(this,a),this.calciteInternalAccordionChange=t(this,"calciteInternalAccordionChange",6),this.items=[],this.sorted=!1,this.sortItems=i=>i.sort(((i,t)=>i.position-t.position)).map((i=>i.item)),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}componentDidLoad(){this.sorted||(this.items=this.sortItems(this.items),this.sorted=!0)}render(){const i="transparent"===this.appearance;return a("div",{class:{"accordion--transparent":i,accordion:!i}},a("slot",null))}registerCalciteAccordionItem(i){const t={item:i.target,parent:i.detail.parent,position:i.detail.position};this.el===t.parent&&this.items.push(t),i.stopPropagation()}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem}),i.stopPropagation()}get el(){return c(this)}};h.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";const p=class{constructor(a){i(this,a),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.calciteInternalAccordionItemRegister=t(this,"calciteInternalAccordionItemRegister",6),this.iconPosition="end",this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.scale="m",this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0}connectedCallback(){this.parent=this.el.parentElement,this.selectionMode=r(this.el,"selection-mode","multiple"),this.iconType=r(this.el,"icon-type","chevron"),this.iconPosition=r(this.el,"icon-position",this.iconPosition),this.scale=r(this.el,"scale",this.scale),e(this)}componentDidLoad(){this.itemPosition=this.getItemPosition(),this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})}disconnectedCallback(){o(this)}renderActionsStart(){const{el:i}=this;return s(i,"actions-start")?a("div",{class:"actions-start"},a("slot",{name:"actions-start"})):null}renderActionsEnd(){const{el:i}=this;return s(i,"actions-end")?a("div",{class:"actions-end"},a("slot",{name:"actions-end"})):null}render(){const{iconFlipRtl:i}=this,t=l(this.el),c=this.iconStart?a("calcite-icon",{class:"icon--start",flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:"l"===this.scale?"m":"s"}):null,e=this.iconEnd?a("calcite-icon",{class:"icon--end",flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:"l"===this.scale?"m":"s"}):null,{description:o}=this;return a(n,null,a("div",{class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},a("div",{class:{header:!0,[m.rtl]:"rtl"===t}},this.renderActionsStart(),a("div",{"aria-expanded":d(this.expanded),class:"header-content",onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},a("div",{class:"header-container"},c,a("div",{class:"header-text"},a("span",{class:"heading"},this.heading),o?a("span",{class:"description"},o):null),e),a("calcite-icon",{class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:"l"===this.scale?"m":"s"})),this.renderActionsEnd()),a("div",{class:"content"},a("slot",null))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.el.parentNode===this.requestedAccordionItem.parentNode&&(this.determineActiveItem(),i.stopPropagation())}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedAccordionItem&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===this.requestedAccordionItem&&!this.expanded;break;case"single-persist":this.expanded=this.el===this.requestedAccordionItem}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}getItemPosition(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)}get el(){return c(this)}};p.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-ui-text-3);text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:flex;align-items:stretch}:host .icon{position:relative;margin:0px;display:inline-flex;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .content{display:none;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}:host .heading,:host .description{display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:flex;align-items:center}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";export{h as calcite_accordion,p as calcite_accordion_item}
6
+ import{r as i,c as t,h as a,g as c,H as n}from"./p-57d4ff07.js";import{c as e,d as o}from"./p-d9364f64.js";import{h as r,g as s,b as l,t as d}from"./p-53a254e4.js";import{C as m}from"./p-36697619.js";import"./p-9f741a2a.js";import"./p-eb3d8eb5.js";const h=class{constructor(a){i(this,a),this.calciteInternalAccordionChange=t(this,"calciteInternalAccordionChange",6),this.items=[],this.sorted=!1,this.sortItems=i=>i.sort(((i,t)=>i.position-t.position)).map((i=>i.item)),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}componentDidLoad(){this.sorted||(this.items=this.sortItems(this.items),this.sorted=!0)}render(){const i="transparent"===this.appearance;return a("div",{class:{"accordion--transparent":i,accordion:!i}},a("slot",null))}registerCalciteAccordionItem(i){const t={item:i.target,parent:i.detail.parent,position:i.detail.position};this.el===t.parent&&this.items.push(t),i.stopPropagation()}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem}),i.stopPropagation()}get el(){return c(this)}};h.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";const p=class{constructor(a){i(this,a),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.calciteInternalAccordionItemRegister=t(this,"calciteInternalAccordionItemRegister",6),this.iconPosition="end",this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.scale="m",this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0}connectedCallback(){this.parent=this.el.parentElement,this.selectionMode=r(this.el,"selection-mode","multiple"),this.iconType=r(this.el,"icon-type","chevron"),this.iconPosition=r(this.el,"icon-position",this.iconPosition),this.scale=r(this.el,"scale",this.scale),e(this)}componentDidLoad(){this.itemPosition=this.getItemPosition(),this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})}disconnectedCallback(){o(this)}renderActionsStart(){const{el:i}=this;return s(i,"actions-start")?a("div",{class:"actions-start"},a("slot",{name:"actions-start"})):null}renderActionsEnd(){const{el:i}=this;return s(i,"actions-end")?a("div",{class:"actions-end"},a("slot",{name:"actions-end"})):null}render(){const{iconFlipRtl:i}=this,t=l(this.el),c=this.iconStart?a("calcite-icon",{class:"icon--start",flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:"l"===this.scale?"m":"s"}):null,e=this.iconEnd?a("calcite-icon",{class:"icon--end",flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:"l"===this.scale?"m":"s"}):null,{description:o}=this;return a(n,null,a("div",{class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},a("div",{class:{header:!0,[m.rtl]:"rtl"===t}},this.renderActionsStart(),a("div",{"aria-expanded":d(this.expanded),class:"header-content",onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},a("div",{class:"header-container"},c,a("div",{class:"header-text"},a("span",{class:"heading"},this.heading),o?a("span",{class:"description"},o):null),e),a("calcite-icon",{class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:"l"===this.scale?"m":"s"})),this.renderActionsEnd()),a("div",{class:"content"},a("slot",null))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.el.parentNode===this.requestedAccordionItem.parentNode&&(this.determineActiveItem(),i.stopPropagation())}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedAccordionItem&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===this.requestedAccordionItem&&!this.expanded;break;case"single-persist":this.expanded=this.el===this.requestedAccordionItem}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}getItemPosition(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)}get el(){return c(this)}};p.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-ui-text-3);text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:flex;align-items:stretch}:host .icon{position:relative;margin:0px;display:inline-flex;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .content{display:none;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}:host .heading,:host .description{display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:flex;align-items:center}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";export{h as calcite_accordion,p as calcite_accordion_item}
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
- import{g as n}from"./p-43b0dfbf.js";import{C as t}from"./p-703b25b5.js";
6
+ import{g as n}from"./p-eb3d8eb5.js";import{C as t}from"./p-36697619.js";
7
7
  /*!
8
8
  * tabbable 6.0.1
9
9
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
10
- */var r=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],e=r.join(","),o="undefined"==typeof Element,u=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(n){return n.getRootNode()}:function(n){return n.ownerDocument},a=function(n,t,r){var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&u.call(n,e)&&o.unshift(n),o.filter(r)},f=function n(t,r,o){for(var i=[],a=Array.from(t);a.length;){var f=a.shift();if("SLOT"===f.tagName){var c=f.assignedElements(),s=n(c.length?c:f.children,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:f,candidates:s})}else{u.call(f,e)&&o.filter(f)&&(r||!t.includes(f))&&i.push(f);var l=f.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(f),d=!o.shadowRootFilter||o.shadowRootFilter(f);if(l&&d){var v=n(!0===l?f.children:l.children,!0,o);o.flatten?i.push.apply(i,v):i.push({scopeParent:f,candidates:v})}else a.unshift.apply(a,f.children)}}return i},c=function(n,t){return n.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||n.isContentEditable)&&isNaN(parseInt(n.getAttribute("tabindex"),10))?0:n.tabIndex},s=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},l=function(n){return"INPUT"===n.tagName},d=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},v=function(n,t){return!(t.disabled||function(n){return l(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=u.call(n,"details>summary:first-of-type");if(u.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return d(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,c=i(n);if(f&&!f.shadowRoot&&!0===e(f))return d(n);n=n.assignedSlot?n.assignedSlot:f||c===n.ownerDocument?f:c.host}n=a}if(function(n){for(var t,r=i(n).host,e=!!(null!==(t=r)&&void 0!==t&&t.ownerDocument.contains(r)||n.ownerDocument.contains(n));!e&&r;){var o;e=!(null===(o=r=i(r).host)||void 0===o||!o.ownerDocument.contains(r))}return e}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!u.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},p=function(n,t){return!(function(n){return function(n){return l(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||i(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||c(t)<0||!v(n,t))},y=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},m=function n(t){var r=[],e=[];return t.forEach((function(t,o){var u=!!t.scopeParent,i=u?t.scopeParent:t,a=c(i,u),f=u?n(t.candidates):i;0===a?u?r.push.apply(r,f):r.push(i):e.push({documentOrder:o,tabIndex:a,item:t,isScope:u,content:f})})),e.sort(s).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},w=function(n,t){var r;return r=(t=t||{}).getShadowRoot?f([n],t.includeContainer,{filter:p.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:y}):a(n,t.includeContainer,p.bind(null,t)),m(r)},E=function(n,t){return(t=t||{}).getShadowRoot?f([n],t.includeContainer,{filter:v.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a(n,t.includeContainer,v.bind(null,t))},b=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,e)&&p(t,n)},h=r.concat("iframe").join(","),A=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,h)&&v(t,n)};const S={getShadowRoot:!0};function g(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function I(n){return Array.isArray(n)?n:Array.from(n)}function N(n){return R(n,`.${t.darkMode}, .${t.lightMode}`)?.classList.contains("calcite-mode-dark")?"dark":"light"}function T(n){const t=R(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function x(n,t,r){const e=n.closest(`[${t}]`);return e?e.getAttribute(t):r}function $(n){return n.getRootNode()}function k(n){return n.host||null}function L(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=$(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=k(o);return u||(i?n(i):null)}(n)}function R(n,t){return function n(r){return r?r.closest(t)||n(k($(r))):null}(n)}function D(n,t){return C(n,t)}function C(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return C(e instanceof ShadowRoot?e.host:e,t)}function O(n,t){return!!D(t,(t=>t===n||void 0))}async function U(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function P(n){(w(n,S)[0]||n).focus()}function j(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:":not([slot])";return r?.all?function(n,t,r){let e=":not([slot])"===t?B(n,":not([slot])"):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=":not([slot])"===t?B(n,":not([slot])")[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function B(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function F(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function M(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function q(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function z(n){return Boolean(n).toString()}function G(n){return!!V(n).length}function V(n){return n.target.assignedElements({flatten:!0})}function X(n){return!(!n.isPrimary||0!==n.button)}const Y=(n,t,r)=>{const e=n.indexOf(t);let o;switch(r="previous"===r&&0===e?"last":"next"===r&&e===n.length-1?"first":r){case"first":o=n[0];break;case"last":o=n[n.length-1];break;case"next":o=n[e+1]||n[0];break;case"previous":o=n[e-1]||n[n.length-1]}return U(o),o};export{O as a,T as b,R as c,M as d,N as e,U as f,j as g,x as h,X as i,P as j,g as k,w as l,E as m,b as n,A as o,S as p,L as q,q as r,G as s,z as t,Y as u,I as v,$ as w,F as x,V as y}
10
+ */var r=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],e=r.join(","),o="undefined"==typeof Element,u=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(n){return n.getRootNode()}:function(n){return n.ownerDocument},a=function(n,t,r){var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&u.call(n,e)&&o.unshift(n),o.filter(r)},f=function n(t,r,o){for(var i=[],a=Array.from(t);a.length;){var f=a.shift();if("SLOT"===f.tagName){var c=f.assignedElements(),s=n(c.length?c:f.children,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:f,candidates:s})}else{u.call(f,e)&&o.filter(f)&&(r||!t.includes(f))&&i.push(f);var l=f.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(f),d=!o.shadowRootFilter||o.shadowRootFilter(f);if(l&&d){var v=n(!0===l?f.children:l.children,!0,o);o.flatten?i.push.apply(i,v):i.push({scopeParent:f,candidates:v})}else a.unshift.apply(a,f.children)}}return i},c=function(n,t){return n.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||n.isContentEditable)&&isNaN(parseInt(n.getAttribute("tabindex"),10))?0:n.tabIndex},s=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},l=function(n){return"INPUT"===n.tagName},d=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},v=function(n,t){return!(t.disabled||function(n){return l(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=u.call(n,"details>summary:first-of-type");if(u.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return d(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,c=i(n);if(f&&!f.shadowRoot&&!0===e(f))return d(n);n=n.assignedSlot?n.assignedSlot:f||c===n.ownerDocument?f:c.host}n=a}if(function(n){for(var t,r=i(n).host,e=!!(null!==(t=r)&&void 0!==t&&t.ownerDocument.contains(r)||n.ownerDocument.contains(n));!e&&r;){var o;e=!(null===(o=r=i(r).host)||void 0===o||!o.ownerDocument.contains(r))}return e}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!u.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},p=function(n,t){return!(function(n){return function(n){return l(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||i(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||c(t)<0||!v(n,t))},y=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},m=function n(t){var r=[],e=[];return t.forEach((function(t,o){var u=!!t.scopeParent,i=u?t.scopeParent:t,a=c(i,u),f=u?n(t.candidates):i;0===a?u?r.push.apply(r,f):r.push(i):e.push({documentOrder:o,tabIndex:a,item:t,isScope:u,content:f})})),e.sort(s).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},w=function(n,t){var r;return r=(t=t||{}).getShadowRoot?f([n],t.includeContainer,{filter:p.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:y}):a(n,t.includeContainer,p.bind(null,t)),m(r)},E=function(n,t){return(t=t||{}).getShadowRoot?f([n],t.includeContainer,{filter:v.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a(n,t.includeContainer,v.bind(null,t))},h=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,e)&&p(t,n)},A=r.concat("iframe").join(","),b=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,A)&&v(t,n)};const S={getShadowRoot:!0};function g(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function I(n){return Array.isArray(n)?n:Array.from(n)}function N(n){return R(n,`.${t.darkMode}, .${t.lightMode}`)?.classList.contains("calcite-mode-dark")?"dark":"light"}function T(n){const t=R(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function x(n,t,r){const e=n.closest(`[${t}]`);return e?e.getAttribute(t):r}function $(n){return n.getRootNode()}function k(n){return n.host||null}function L(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=$(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=k(o);return u||(i?n(i):null)}(n)}function R(n,t){return function n(r){return r?r.closest(t)||n(k($(r))):null}(n)}function D(n,t){return C(n,t)}function C(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return C(e instanceof ShadowRoot?e.host:e,t)}function O(n,t){return!!D(t,(t=>t===n||void 0))}async function U(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function P(n){(w(n,S)[0]||n).focus()}function j(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:":not([slot])";return r?.all?function(n,t,r){let e=":not([slot])"===t?B(n,":not([slot])"):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=":not([slot])"===t?B(n,":not([slot])")[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function B(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function F(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function M(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function q(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function z(n){return Boolean(n).toString()}function G(n){return!!V(n).length}function V(n){return n.target.assignedElements({flatten:!0})}function X(n){return!(!n.isPrimary||0!==n.button)}const Y=(n,t,r)=>{const e=n.indexOf(t);let o;switch(r="previous"===r&&0===e?"last":"next"===r&&e===n.length-1?"first":r){case"first":o=n[0];break;case"last":o=n[n.length-1];break;case"next":o=n[e+1]||n[0];break;case"previous":o=n[e-1]||n[n.length-1]}return U(o),o};export{O as a,T as b,R as c,M as d,N as e,U as f,j as g,x as h,X as i,P as j,g as k,w as l,E as m,h as n,b as o,S as p,L as q,q as r,G as s,z as t,Y as u,I as v,$ as w,F as x,V as y}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
- import{r as t,h as i,F as e,g as n}from"./p-38d36ab7.js";import{c as a,d as o}from"./p-a188ccc4.js";import{g as c}from"./p-b559e869.js";import{u as r}from"./p-71069a83.js";import"./p-0b07ce90.js";import"./p-43b0dfbf.js";import"./p-703b25b5.js";const s=class{constructor(i){t(this,i),this.active=!1,this.description=void 0,this.disabled=!1,this.embed=!1,this.focused=!1,this.heading=void 0,this.hidden=!1,this.href=void 0,this.icon=void 0,this.iconFlipRtl=!1}connectedCallback(){a(this)}disconnectedCallback(){o(this)}componentDidRender(){r(this)}renderTile(){const{icon:t,el:e,heading:n,description:a,iconFlipRtl:o}=this,r=n&&t&&!a;return i("div",{class:{container:!0,"large-visual":r}},t&&i("div",{class:"icon"},i("calcite-icon",{flipRtl:o,icon:t,scale:"l",style:r?{height:"64px",width:"64px"}:void 0})),i("div",{class:"content-container"},c(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),a&&i("div",{class:"description"},a)),c(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)}};s.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{box-sizing:border-box;display:inline-block;-webkit-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);transition-duration:150ms;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:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:0.5rem;inline-size:10%}:host .content-container{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:flex;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);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .large-visual{align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:flex;justify-content:center;align-self:flex-end}:host .large-visual .content-container{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);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host(:not([embed])){padding:0.75rem;box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){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:flex;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{s as calcite_tile}
6
+ import{r as t,h as i,F as e,g as n}from"./p-57d4ff07.js";import{c as a,d as o}from"./p-d9364f64.js";import{g as c}from"./p-53a254e4.js";import{u as r}from"./p-d925bf29.js";import"./p-9f741a2a.js";import"./p-eb3d8eb5.js";import"./p-36697619.js";const s=class{constructor(i){t(this,i),this.active=!1,this.description=void 0,this.disabled=!1,this.embed=!1,this.focused=!1,this.heading=void 0,this.hidden=!1,this.href=void 0,this.icon=void 0,this.iconFlipRtl=!1}connectedCallback(){a(this)}disconnectedCallback(){o(this)}componentDidRender(){r(this)}renderTile(){const{icon:t,el:e,heading:n,description:a,iconFlipRtl:o}=this,r=n&&t&&!a;return i("div",{class:{container:!0,"large-visual":r}},t&&i("div",{class:"icon"},i("calcite-icon",{flipRtl:o,icon:t,scale:"l",style:r?{height:"64px",width:"64px"}:void 0})),i("div",{class:"content-container"},c(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),a&&i("div",{class:"description"},a)),c(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)}};s.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{box-sizing:border-box;display:inline-block;-webkit-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);transition-duration:150ms;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:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:0.5rem;inline-size:10%}:host .content-container{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:flex;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);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .large-visual{align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:flex;justify-content:center;align-self:flex-end}:host .large-visual .content-container{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);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host(:not([embed])){padding:0.75rem;box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){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:flex;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{s as calcite_tile}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
- import{r as t,c as e,h as i,F as n,g as a}from"./p-38d36ab7.js";import{j as s,t as o}from"./p-b559e869.js";import{u as c}from"./p-71069a83.js";import{s as r,a as l,c as d}from"./p-ed8a8e5f.js";import{c as h}from"./p-0b07ce90.js";import{S as m}from"./p-a88c42e6.js";import{H as p}from"./p-fb39b8b6.js";import{S as f,C as u,I as g}from"./p-e026ab43.js";import{c as b,d as x}from"./p-9d67d15a.js";import{c as y,s as v,d as k,u as w}from"./p-2c694430.js";import"./p-43b0dfbf.js";import"./p-703b25b5.js";import"./p-3d02ed6c.js";const z=class{constructor(i){t(this,i),this.calcitePanelClose=e(this,"calcitePanelClose",6),this.calcitePanelScroll=e(this,"calcitePanelScroll",6),this.resizeObserver=h("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:t}=this;t&&"number"==typeof t.scrollHeight&&"number"==typeof t.offsetHeight&&(t.tabIndex=t.scrollHeight>t.offsetHeight?0:-1)},this.setContainerRef=t=>{this.containerEl=t},this.setCloseRef=t=>{this.closeButtonEl=t},this.setBackRef=t=>{this.backButtonEl=t},this.panelKeyDownHandler=t=>{this.closable&&"Escape"===t.key&&!t.defaultPrevented&&(this.close(),t.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasStartActions=!!e.length},this.handleHeaderActionsEndSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasEndActions=!!e.length},this.handleHeaderMenuActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasMenuItems=!!e.length},this.handleHeaderContentSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasHeaderContent=!!e.length},this.handleFooterSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterContent=!!e.length},this.handleFooterActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterActions=!!e.length},this.handleFabSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFab=!!e.length},this.setPanelScrollEl=t=>{this.panelScrollEl=t,this.resizeObserver?.disconnect(),t&&(this.resizeObserver?.observe(t),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){b(this),y(this)}async componentWillLoad(){r(this),await v(this)}componentDidLoad(){l(this)}componentDidRender(){c(this)}disconnectedCallback(){x(this),k(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){w(this,this.effectiveLocale)}async setFocus(){await d(this),s(this.containerEl)}async scrollContentTo(t){this.panelScrollEl?.scrollTo(t)}renderHeaderContent(){const{heading:t,headingLevel:e,description:n,hasHeaderContent:a}=this,s=t?i(p,{class:u.heading,level:e},t):null,o=n?i("span",{class:u.description},n):null;return a||!s&&!o?null:i("div",{class:u.headerContent,key:"header-content"},s,o)}renderHeaderSlottedContent(){return i("div",{class:u.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:f.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:t}=this;return i("div",{class:{[u.headerActionsStart]:!0,[u.headerActions]:!0},hidden:!t,key:"header-actions-start"},i("slot",{name:f.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:t,hasEndActions:e,messages:n,closable:a}=this,s=n.close,o=a?i("calcite-action",{"aria-label":s,icon:g.close,onClick:t,ref:this.setCloseRef,text:s}):null,c=i("slot",{name:f.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[u.headerActionsEnd]:!0,[u.headerActions]:!0},hidden:!(e||o),key:"header-actions-end"},c,o)}renderMenu(){const{hasMenuItems:t,messages:e,menuOpen:n}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!t,key:"menu",label:e.options,open:n,placement:"bottom-end"},i("calcite-action",{icon:g.menu,slot:m.trigger,text:e.options}),i("slot",{name:f.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:t,hasStartActions:e,hasEndActions:n,closable:a,hasMenuItems:s}=this,o=this.renderHeaderContent();return i("header",{class:u.header,hidden:!(t||o||e||n||a||s)},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),o,this.renderHeaderActionsEnd(),this.renderMenu())}renderFooterNode(){const{hasFooterContent:t,hasFooterActions:e}=this;return i("footer",{class:u.footer,hidden:!(t||e)},i("slot",{key:"footer-slot",name:f.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:f.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){const{hasFab:t}=this,e=i("slot",{key:"default-slot"}),n=t?i("section",{class:u.contentContainer},e):e;return i("div",{class:{[u.contentWrapper]:!0,[u.contentContainer]:!t,[u.contentHeight]:t},onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},n,this.renderFab())}renderFab(){return i("div",{class:u.fabContainer,hidden:!this.hasFab},i("slot",{name:f.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:t,panelKeyDownHandler:e,closed:a,closable:s}=this,c=i("article",{"aria-busy":o(t),class:u.container,hidden:a,onKeyDown:e,ref:this.setContainerRef,tabIndex:s?0:-1},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(n,null,t?i("calcite-scrim",{loading:t}):null,c)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};z.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{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 *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;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{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{border-block-end:1px solid;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;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{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:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{border-block-start:1px solid;position:sticky;inset-block-end:0px;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;min-block-size:3rem;padding:0.5rem}.fab-container{position:sticky;inset-block-end:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";export{z as calcite_panel}
6
+ import{r as t,c as e,h as i,F as n,g as a}from"./p-57d4ff07.js";import{j as s,t as o}from"./p-53a254e4.js";import{u as r}from"./p-d925bf29.js";import{s as c,a as l,c as d}from"./p-6b78e8c4.js";import{c as h}from"./p-9f741a2a.js";import{S as m}from"./p-6b6b24c2.js";import{H as p}from"./p-13d55ee6.js";import{S as f,C as u,I as g}from"./p-4144029f.js";import{c as b,d as x}from"./p-e93f3aab.js";import{c as y,s as v,d as k,u as w}from"./p-f6a3a29d.js";import"./p-eb3d8eb5.js";import"./p-36697619.js";import"./p-0deb04e7.js";const z=class{constructor(i){t(this,i),this.calcitePanelClose=e(this,"calcitePanelClose",6),this.calcitePanelScroll=e(this,"calcitePanelScroll",6),this.resizeObserver=h("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:t}=this;t&&"number"==typeof t.scrollHeight&&"number"==typeof t.offsetHeight&&(t.tabIndex=t.scrollHeight>t.offsetHeight?0:-1)},this.setContainerRef=t=>{this.containerEl=t},this.setCloseRef=t=>{this.closeButtonEl=t},this.setBackRef=t=>{this.backButtonEl=t},this.panelKeyDownHandler=t=>{this.closable&&"Escape"===t.key&&!t.defaultPrevented&&(this.close(),t.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasStartActions=!!e.length},this.handleHeaderActionsEndSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasEndActions=!!e.length},this.handleHeaderMenuActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasMenuItems=!!e.length},this.handleHeaderContentSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasHeaderContent=!!e.length},this.handleFooterSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterContent=!!e.length},this.handleFooterActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterActions=!!e.length},this.handleFabSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFab=!!e.length},this.setPanelScrollEl=t=>{this.panelScrollEl=t,this.resizeObserver?.disconnect(),t&&(this.resizeObserver?.observe(t),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){b(this),y(this)}async componentWillLoad(){c(this),await v(this)}componentDidLoad(){l(this)}componentDidRender(){r(this)}disconnectedCallback(){x(this),k(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){w(this,this.effectiveLocale)}async setFocus(){await d(this),s(this.containerEl)}async scrollContentTo(t){this.panelScrollEl?.scrollTo(t)}renderHeaderContent(){const{heading:t,headingLevel:e,description:n,hasHeaderContent:a}=this,s=t?i(p,{class:u.heading,level:e},t):null,o=n?i("span",{class:u.description},n):null;return a||!s&&!o?null:i("div",{class:u.headerContent,key:"header-content"},s,o)}renderHeaderSlottedContent(){return i("div",{class:u.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:f.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:t}=this;return i("div",{class:{[u.headerActionsStart]:!0,[u.headerActions]:!0},hidden:!t,key:"header-actions-start"},i("slot",{name:f.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:t,hasEndActions:e,messages:n,closable:a}=this,s=n.close,o=a?i("calcite-action",{"aria-label":s,icon:g.close,onClick:t,ref:this.setCloseRef,text:s}):null,r=i("slot",{name:f.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[u.headerActionsEnd]:!0,[u.headerActions]:!0},hidden:!(e||o),key:"header-actions-end"},r,o)}renderMenu(){const{hasMenuItems:t,messages:e,menuOpen:n}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!t,key:"menu",label:e.options,open:n,placement:"bottom-end"},i("calcite-action",{icon:g.menu,slot:m.trigger,text:e.options}),i("slot",{name:f.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:t,hasStartActions:e,hasEndActions:n,closable:a,hasMenuItems:s}=this,o=this.renderHeaderContent();return i("header",{class:u.header,hidden:!(t||o||e||n||a||s)},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),o,this.renderHeaderActionsEnd(),this.renderMenu())}renderFooterNode(){const{hasFooterContent:t,hasFooterActions:e}=this;return i("footer",{class:u.footer,hidden:!(t||e)},i("slot",{key:"footer-slot",name:f.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:f.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){const{hasFab:t}=this,e=i("slot",{key:"default-slot"}),n=t?i("section",{class:u.contentContainer},e):e;return i("div",{class:{[u.contentWrapper]:!0,[u.contentContainer]:!t,[u.contentHeight]:t},onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},n,this.renderFab())}renderFab(){return i("div",{class:u.fabContainer,hidden:!this.hasFab},i("slot",{name:f.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:t,panelKeyDownHandler:e,closed:a,closable:s}=this,r=i("article",{"aria-busy":o(t),class:u.container,hidden:a,onKeyDown:e,ref:this.setContainerRef,tabIndex:s?0:-1},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(n,null,t?i("calcite-scrim",{loading:t}):null,r)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};z.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{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 *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;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{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{border-block-end:1px solid;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;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{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:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{border-block-start:1px solid;position:sticky;inset-block-end:0px;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;min-block-size:3rem;padding:0.5rem}.fab-container{position:sticky;inset-block-end:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";export{z as calcite_panel}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
6
  const e="calcite";let t,n,l=!1,s=!1;const o=e=>{const t=new URL(e,$e.t);return t.origin!==ue.location.origin?t.href:t.pathname},i="http://www.w3.org/1999/xlink",c={},r=e=>"object"==(e=typeof e)||"function"===e,a=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1;const c=[],a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!r(l))&&(l+=""),o&&i?c[c.length-1].l+=l:c.push(o?u(null,l):l),i=o)};if(a(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,$);const f=u(e,null);return f.o=t,c.length>0&&(f.i=c),f.u=s,f},u=(e,t)=>({$:0,h:e,l:t,p:null,i:null,o:null,u:null}),f={},$={forEach:(e,t)=>e.map(d).forEach(t),map:(e,t)=>e.map(d).map(t).map(h)},d=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.m,vtag:e.h,vtext:e.l}),h=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),a(e.vtag,t,...e.vchildren||[])}const t=u(e.vtag,e.vtext);return t.o=e.vattrs,t.i=e.vchildren,t.u=e.vkey,t.m=e.vname,t},y=(e,t,n,l,s,o,i)=>{let c,r,a,f;if(1===o.nodeType){for(c=o.getAttribute("c-id"),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(a={$:0,g:r[0],v:r[1],k:r[2],j:r[3],h:o.tagName.toLowerCase(),p:o,o:null,i:null,u:null,m:null,l:null},t.push(a),o.removeAttribute("c-id"),e.i||(e.i=[]),e.i[a.j]=a,e=a,l&&"0"===a.k&&(l[a.j]=a.p))),f=o.childNodes.length-1;f>=0;f--)y(e,t,n,l,s,o.childNodes[f],i);if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)y(e,t,n,l,s,o.shadowRoot.childNodes[f],i)}else if(8===o.nodeType)r=o.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],a={$:0,g:r[1],v:r[2],k:r[3],j:r[4],p:o,o:null,i:null,u:null,m:null,h:null,l:null},"t"===c?(a.p=o.nextSibling,a.p&&3===a.p.nodeType&&(a.l=a.p.textContent,t.push(a),o.remove(),e.i||(e.i=[]),e.i[a.j]=a,l&&"0"===a.k&&(l[a.j]=a.p))):a.g===i&&("s"===c?(a.h="slot",o["s-sn"]=r[5]?a.m=r[5]:"",o["s-sr"]=!0,l&&(a.p=fe.createElement(a.h),a.m&&a.p.setAttribute("name",a.m),o.parentNode.insertBefore(a.p,o),o.remove(),"0"===a.k&&(l[a.j]=a.p)),n.push(a),e.i||(e.i=[]),e.i[a.j]=a):"r"===c&&l&&o.remove()));else if(e&&"style"===e.h){const t=u(null,o.textContent);t.p=o,t.j="0",e.i=[t]}},p=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)p(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)p(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},m=e=>ne(e).S,w=(e,t,n)=>{const l=m(e);return{emit:e=>b(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},b=(e,t,n)=>{const l=$e.ce(t,n);return e.dispatchEvent(l),l},g=new WeakMap,v=(e,t,n)=>{let l=ae.get(e);ye&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,ae.set(e,l)},k=(e,t)=>{let n=j(t);const l=ae.get(n);if(e=11===e.nodeType?e:fe,l)if("string"==typeof l){let t,s=g.get(e=e.head||e);s||g.set(e,s=new Set),s.has(n)||(e.host&&(t=e.querySelector(`[sty-id="${n}"]`))?t.innerHTML=l:(t=fe.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link"))),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},j=e=>"sc-"+e.O,S=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),x=(e,t,n,l,s,o)=>{if(n!==l){let c=oe(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=M(n),o=M(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(c||"o"!==t[0]||"n"!==t[1]){const u=r(l);if((c||u&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?c=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let f=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(i,t):e.removeAttribute(t)):(!c||4&o||s)&&!u&&(l=!0===l?"":l,f?e.setAttributeNS(i,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):oe(ue,a)?a.slice(2):a[2]+t.slice(3),n&&$e.rel(e,t,n,!1),l&&$e.ael(e,t,l,!1)}},O=/\s/,M=e=>e?e.split(O):[],C=(e,t,n,l)=>{const s=11===t.p.nodeType&&t.p.host?t.p.host:t.p,o=e&&e.o||c,i=t.o||c;for(l in o)l in i||x(s,l,o[l],void 0,n,t.$);for(l in i)x(s,l,o[l],i[l],n,t.$)},L=(e,n,s)=>{const o=n.i[s];let i,c,r=0;if(null!==o.l)i=o.p=fe.createTextNode(o.l);else{if(l||(l="svg"===o.h),i=o.p=fe.createElementNS(l?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.h),l&&"foreignObject"===o.h&&(l=!1),C(null,o,l),null!=t&&i["s-si"]!==t&&i.classList.add(i["s-si"]=t),o.i)for(r=0;r<o.i.length;++r)c=L(e,o,r),c&&i.appendChild(c);"svg"===o.h?l=!1:"foreignObject"===i.tagName&&(l=!0)}return i},P=(e,t,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=L(null,l,o),c&&(s[o].p=c,r.insertBefore(c,t)))},R=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.p,I(l),s.remove())},E=(e,t)=>e.h===t.h&&e.u===t.u,F=(e,t)=>{const n=t.p=e.p,s=e.i,o=t.i,i=t.h,c=t.l;null===c?(l="svg"===i||"foreignObject"!==i&&l,"slot"===i||C(e,t,l),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,u=t.length-1,f=t[0],$=t[u],d=l.length-1,h=l[0],y=l[d];for(;i<=u&&c<=d;)if(null==f)f=t[++i];else if(null==$)$=t[--u];else if(null==h)h=l[++c];else if(null==y)y=l[--d];else if(E(f,h))F(f,h),f=t[++i],h=l[++c];else if(E($,y))F($,y),$=t[--u],y=l[--d];else if(E(f,y))F(f,y),e.insertBefore(f.p,$.p.nextSibling),f=t[++i],y=l[--d];else if(E($,h))F($,h),e.insertBefore($.p,f.p),$=t[--u],h=l[++c];else{for(r=-1,a=i;a<=u;++a)if(t[a]&&null!==t[a].u&&t[a].u===h.u){r=a;break}r>=0?(o=t[r],o.h!==h.h?s=L(t&&t[c],n,r):(F(o,h),t[r]=void 0,s=o.p),h=l[++c]):(s=L(t&&t[c],n,c),h=l[++c]),s&&f.p.parentNode.insertBefore(s,f.p)}i>u?P(e,null==l[d+1]?null:l[d+1].p,n,l,c,d):c>d&&R(t,i,u)})(n,s,t,o):null!==o?(null!==e.l&&(n.textContent=""),P(n,null,t,o,0,o.length-1)):null!==s&&R(s,0,s.length-1),l&&"svg"===i&&(l=!1)):e.l!==c&&(n.data=c)},I=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(I)},N=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},W=(e,t)=>{if(e.$|=16,!(4&e.$))return N(e,e.C),je((()=>T(e,t)));e.$|=512},T=(e,t)=>{const n=e.L;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>V(n,e,t))),e.P=null),l=V(n,"componentWillLoad")),l=_(l,(()=>V(n,"componentWillRender"))),_(l,(()=>U(e,n,t)))},U=async(e,t,n)=>{const l=e.S,s=l["s-rc"];n&&(e=>{const t=e.R,n=e.S,l=t.$,s=k(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);A(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>D(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},A=(e,l)=>{try{l=l.render(),e.$&=-17,e.$|=2,((e,l)=>{const s=e.S,o=e.R,i=e.F||u(null,null),c=(e=>e&&e.h===f)(l)?l:a(null,null,l);n=s.tagName,o.I&&(c.o=c.o||{},o.I.map((([e,t])=>c.o[t]=s[e]))),c.h=null,c.$|=4,e.F=c,c.p=i.p=s.shadowRoot||s,t=s["s-sc"],F(i,c)})(e,l)}catch(t){ie(t,e.S)}return null},D=e=>{const t=e.S,n=e.L,l=e.C;V(n,"componentDidRender"),64&e.$||(e.$|=64,z(t),V(n,"componentDidLoad"),e.N(t),l||q()),e.W(t),e.M&&(e.M(),e.M=void 0),512&e.$&&ve((()=>W(e,!1))),e.$&=-517},H=e=>{{const t=ne(e),n=t.S.isConnected;return n&&2==(18&t.$)&&W(t,!1),n}},q=()=>{z(fe.documentElement),ve((()=>b(ue,"appload",{detail:{namespace:"calcite"}})))},V=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ie(e)}},_=(e,t)=>e&&e.then?e.then(t):t(),z=e=>e.setAttribute("calcite-hydrated",""),B=(e,t,n)=>{if(t.T){e.watchers&&(t.U=e.watchers);const l=Object.entries(t.T),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ne(this).A.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ne(e),o=s.S,i=s.A.get(t),c=s.$,a=s.L;if(n=((e,t)=>null==e||r(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.T[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.A.set(t,n),a)){if(l.U&&128&c){const e=l.U[t];e&&e.map((e=>{try{a[e](n,i,t)}catch(e){ie(e,o)}}))}if(2==(18&c)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(n,i,t))return;W(s,!1)}}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ne(this);return n.D.then((()=>n.L[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){$e.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.I.push([e,s]),s}))}}return e},G=e=>{V(e,"connectedCallback")},J=e=>{if(0==(1&$e.$)){const t=ne(e),n=t.R,l=()=>{};if(1&t.$)X(e,t,n.H),G(t.L);else{let l;if(t.$|=1,l=e.getAttribute("s-id"),l){if(1&n.$){const t=k(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],i=s?[]:null,c=l.F=u(t,null);$e.q||p(fe.body,$e.q=new Map),e["s-id"]=n,e.removeAttribute("s-id"),y(c,o,[],i,e,e,n),o.map((e=>{const n=e.g+"."+e.v,l=$e.q.get(n),o=e.p;l&&de&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),$e.q.delete(n)})),s&&i.map((e=>{e&&s.appendChild(e)}))})(e,n.O,l,t)}{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){N(t,t.C=n);break}}n.T&&Object.entries(n.T).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=re(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.U=s.watchers,B(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(e){ie(e)}t.$&=-9,t.$|=128,e(),G(t.L)}if(s.style){let e=s.style;const t=j(n);if(!ae.has(t)){const l=()=>{};v(t,e,!!(1&n.$)),l()}}}const o=t.C,i=()=>W(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}},K=(e,t={})=>{const n=[],l=t.exclude||[],s=ue.customElements,o=fe.head,i=o.querySelector("meta[charset]"),c=fe.createElement("style"),r=[],a=fe.querySelectorAll("[sty-id]");let u,f=!0,$=0;for(Object.assign($e,t),$e.t=new URL(t.resourcesUrl||"./",fe.baseURI).href,$e.$|=2;$<a.length;$++)v(a[$].getAttribute("sty-id"),S(a[$].innerHTML),!0);e.map((e=>{e[1].map((t=>{const o={$:t[0],O:t[1],T:t[2],H:t[3]};o.T=t[2],o.H=t[3],o.I=[],o.U={};const i=o.O,c=class extends HTMLElement{constructor(e){super(e),se(e=this,o),1&o.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&o.$)})}connectedCallback(){u&&(clearTimeout(u),u=null),f?r.push(this):$e.jmp((()=>J(this)))}disconnectedCallback(){$e.jmp((()=>(()=>{if(0==(1&$e.$)){const e=ne(this),t=e.L;e.V&&(e.V.map((e=>e())),e.V=void 0),V(t,"disconnectedCallback")}})()))}componentOnReady(){return ne(this)._}};o.B=e[0],l.includes(i)||s.get(i)||(n.push(i),s.define(i,B(c,o,1)))}))})),c.innerHTML=n+"{visibility:hidden}[calcite-hydrated]{visibility:inherit}",c.setAttribute("data-styles",""),o.insertBefore(c,i?i.nextSibling:o.firstChild),f=!1,r.length?r.map((e=>e.connectedCallback())):$e.jmp((()=>u=setTimeout(q,30)))},Q=(e,t)=>t,X=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=Z(e,n),i=Y(t,s),c=ee(n);$e.ael(o,l,i,c),(t.V=t.V||[]).push((()=>$e.rel(o,l,i,c)))}))},Y=(e,t)=>n=>{try{256&e.$?e.L[t](n):(e.P=e.P||[]).push([t,n])}catch(e){ie(e)}},Z=(e,t)=>4&t?fe:8&t?ue:16&t?fe.body:e,ee=e=>0!=(2&e),te=new WeakMap,ne=e=>te.get(e),le=(e,t)=>te.set(t.L=e,t),se=(e,t)=>{const n={$:0,S:e,R:t,A:new Map};return n.D=new Promise((e=>n.W=e)),n._=new Promise((e=>n.N=e)),e["s-p"]=[],e["s-rc"]=[],X(e,n,t.H),te.set(e,n)},oe=(e,t)=>t in e,ie=(e,t)=>(0,console.error)(e,t),ce=new Map,re=e=>{const t=e.O.replace(/-/g,"_"),n=e.B,l=ce.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(ce.set(n,e),e[t])),ie)
7
7
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},ae=new Map,ue="undefined"!=typeof window?window:{},fe=ue.document||{head:{}},$e={$:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},de=!0,he=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),pe=[],me=[],we=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&$e.$?ve(ge):$e.raf(ge))},be=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ie(e)}e.length=0},ge=()=>{be(pe),be(me),(s=pe.length>0)&&$e.raf(ge)},ve=e=>he().then(e),ke=we(pe,!1),je=we(me,!0);export{Q as F,f as H,e as N,o as a,K as b,w as c,fe as d,ke as e,H as f,m as g,a as h,he as p,le as r}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
- import{r as t,h as a,F as i,g as e}from"./p-38d36ab7.js";import{c as n,d as o}from"./p-a188ccc4.js";import{g as c}from"./p-b559e869.js";import{c as s,d as r}from"./p-9d67d15a.js";import{u as l,c as m,d,s as p}from"./p-2c694430.js";import{S as u}from"./p-a88c42e6.js";import{S as h,I as g}from"./p-6515092d.js";import"./p-0b07ce90.js";import"./p-43b0dfbf.js";import"./p-703b25b5.js";import"./p-3d02ed6c.js";const f=class{constructor(a){t(this,a),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.expanded=!1,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){l(this,this.effectiveLocale)}connectedCallback(){s(this),m(this),n(this)}disconnectedCallback(){r(this),d(this),o(this)}async componentWillLoad(){await p(this)}renderTooltip(){const{el:t}=this;return c(t,h.menuTooltip)?a("slot",{name:h.menuTooltip,slot:u.tooltip}):null}renderMenu(){const{el:t,expanded:i,menuOpen:e,scale:n,layout:o,messages:s}=this;return c(t,h.menuActions)?a("calcite-action-menu",{expanded:i,flipPlacements:["left","right"],label:s.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,placement:"horizontal"===o?"bottom-start":"leading-start",scale:n},a("calcite-action",{icon:g.menu,scale:n,slot:u.trigger,text:s.more,textEnabled:i}),a("slot",{name:h.menuActions}),this.renderTooltip()):null}render(){return a(i,null,a("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};f.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{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 *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]){flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';export{f as calcite_action_group}
6
+ import{r as t,h as a,F as i,g as e}from"./p-57d4ff07.js";import{c as n,d as o}from"./p-d9364f64.js";import{g as c}from"./p-53a254e4.js";import{c as s,d as r}from"./p-e93f3aab.js";import{u as l,c as m,d,s as p}from"./p-f6a3a29d.js";import{S as u}from"./p-6b6b24c2.js";import{S as h,I as f}from"./p-1e3fc360.js";import"./p-9f741a2a.js";import"./p-eb3d8eb5.js";import"./p-36697619.js";import"./p-0deb04e7.js";const g=class{constructor(a){t(this,a),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.expanded=!1,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){l(this,this.effectiveLocale)}connectedCallback(){s(this),m(this),n(this)}disconnectedCallback(){r(this),d(this),o(this)}async componentWillLoad(){await p(this)}renderTooltip(){const{el:t}=this;return c(t,h.menuTooltip)?a("slot",{name:h.menuTooltip,slot:u.tooltip}):null}renderMenu(){const{el:t,expanded:i,menuOpen:e,scale:n,layout:o,messages:s}=this;return c(t,h.menuActions)?a("calcite-action-menu",{expanded:i,flipPlacements:["left","right"],label:s.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,placement:"horizontal"===o?"bottom-start":"leading-start",scale:n},a("calcite-action",{icon:f.menu,scale:n,slot:u.trigger,text:s.more,textEnabled:i}),a("slot",{name:h.menuActions}),this.renderTooltip()):null}render(){return a(i,null,a("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};g.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{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 *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]){flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';export{g as calcite_action_group}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
- import{q as e,c as n}from"./p-b559e869.js";const t="calciteInternalLabelConnected",c="calciteInternaLabelDisconnected",a=new WeakMap,l=new WeakMap,o=new WeakMap,i=new Set;function s(t){const c=(t=>{const{id:c}=t,a=c&&e(t,{selector:`calcite-label[for="${c}"]`});if(a)return a;const l=n(t,"calcite-label");return!l||function(e,n){let t;const c="custom-element-ancestor-check",a=c=>{c.stopImmediatePropagation();const a=c.composedPath();t=a.slice(a.indexOf(n),a.indexOf(e))};return e.addEventListener(c,a,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),e.removeEventListener(c,a),t.filter((t=>t!==n&&t!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(l,t)?null:l})(t.el);if(a.has(c)||!c&&i.has(t))return;const s=f.bind(t);if(c){t.labelEl=c;const e=d.bind(t);a.set(t.labelEl,e),t.labelEl.addEventListener("calciteInternalLabelClick",e),i.delete(t),document.removeEventListener("calciteInternalLabelConnected",l.get(t)),o.set(t,s),document.addEventListener("calciteInternaLabelDisconnected",s)}else i.has(t)||(s(),document.removeEventListener("calciteInternaLabelDisconnected",o.get(t)))}function r(e){if(i.delete(e),document.removeEventListener("calciteInternalLabelConnected",l.get(e)),document.removeEventListener("calciteInternaLabelDisconnected",o.get(e)),l.delete(e),o.delete(e),!e.labelEl)return;const n=a.get(e.labelEl);e.labelEl.removeEventListener("calciteInternalLabelClick",n),a.delete(e.labelEl)}function u(e){return e.label||e.labelEl?.textContent?.trim()||""}function d(e){this.disabled||this.el.contains(e.detail.sourceEvent.target)||this.onLabelClick(e)}function b(){i.has(this)&&s(this)}function f(){i.add(this);const e=l.get(this)||b.bind(this);l.set(this,e),document.addEventListener("calciteInternalLabelConnected",e)}export{c as a,s as c,r as d,u as g,t as l}
6
+ import{q as e,c as n}from"./p-53a254e4.js";const t="calciteInternalLabelConnected",c="calciteInternaLabelDisconnected",a=new WeakMap,l=new WeakMap,o=new WeakMap,i=new Set;function s(t){const c=(t=>{const{id:c}=t,a=c&&e(t,{selector:`calcite-label[for="${c}"]`});if(a)return a;const l=n(t,"calcite-label");return!l||function(e,n){let t;const c="custom-element-ancestor-check",a=c=>{c.stopImmediatePropagation();const a=c.composedPath();t=a.slice(a.indexOf(n),a.indexOf(e))};return e.addEventListener(c,a,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),e.removeEventListener(c,a),t.filter((t=>t!==n&&t!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(l,t)?null:l})(t.el);if(a.has(c)||!c&&i.has(t))return;const s=f.bind(t);if(c){t.labelEl=c;const e=d.bind(t);a.set(t.labelEl,e),t.labelEl.addEventListener("calciteInternalLabelClick",e),i.delete(t),document.removeEventListener("calciteInternalLabelConnected",l.get(t)),o.set(t,s),document.addEventListener("calciteInternaLabelDisconnected",s)}else i.has(t)||(s(),document.removeEventListener("calciteInternaLabelDisconnected",o.get(t)))}function r(e){if(i.delete(e),document.removeEventListener("calciteInternalLabelConnected",l.get(e)),document.removeEventListener("calciteInternaLabelDisconnected",o.get(e)),l.delete(e),o.delete(e),!e.labelEl)return;const n=a.get(e.labelEl);e.labelEl.removeEventListener("calciteInternalLabelClick",n),a.delete(e.labelEl)}function u(e){return e.label||e.labelEl?.textContent?.trim()||""}function d(e){this.disabled||this.el.contains(e.detail.sourceEvent.target)||this.onLabelClick(e)}function b(){i.has(this)&&s(this)}function f(){i.add(this);const e=l.get(this)||b.bind(this);l.set(this,e),document.addEventListener("calciteInternalLabelConnected",e)}export{c as a,s as c,r as d,u as g,t as l}
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.721
4
+ * v1.0.0-next.723
5
5
  */
6
- import{l as t,m as n,n as e,o as r,f as o,p as u}from"./p-b559e869.js";
6
+ import{l as t,m as n,n as e,o as r,f as o,p as u}from"./p-53a254e4.js";
7
7
  /*!
8
8
  * focus-trap 7.2.0
9
9
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE