@esri/calcite-components 1.3.0-next.14 → 1.3.0-next.15

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 (675) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +2 -2
  3. package/dist/calcite/{p-e0f367cc.entry.js → p-0204dc1b.entry.js} +2 -2
  4. package/dist/calcite/{p-28c7764c.js → p-06707f89.js} +2 -2
  5. package/dist/calcite/{p-989f866a.entry.js → p-0abc2aca.entry.js} +2 -2
  6. package/dist/calcite/{p-84305dbf.entry.js → p-0d28025d.entry.js} +2 -2
  7. package/dist/calcite/{p-5c1a0c51.entry.js → p-0dbc0fab.entry.js} +2 -2
  8. package/dist/calcite/{p-514527b8.entry.js → p-0e4a33f9.entry.js} +2 -2
  9. package/dist/calcite/{p-50dac130.entry.js → p-1192a09c.entry.js} +2 -2
  10. package/dist/calcite/{p-2fffcc5e.js → p-1717de68.js} +2 -2
  11. package/dist/calcite/{p-77802fe9.js → p-1a5a58ab.js} +2 -2
  12. package/dist/calcite/{p-eae52712.js → p-1df2dacc.js} +1 -1
  13. package/dist/calcite/p-1fbb591c.js +6 -0
  14. package/dist/calcite/{p-5a833a22.js → p-1ffd6245.js} +2 -2
  15. package/dist/calcite/p-2251e44f.js +6 -0
  16. package/dist/calcite/{p-744ebaa4.entry.js → p-26ff1a90.entry.js} +2 -2
  17. package/dist/calcite/{p-b7d0e058.js → p-2905e6b8.js} +1 -1
  18. package/dist/calcite/{p-41ae9e7d.js → p-3146cbf2.js} +1 -1
  19. package/dist/calcite/{p-15b93380.entry.js → p-3333af4b.entry.js} +2 -2
  20. package/dist/calcite/p-3457fecd.entry.js +6 -0
  21. package/dist/calcite/{p-b32f7aa7.entry.js → p-3aa97bf7.entry.js} +2 -2
  22. package/dist/calcite/{p-d225b888.entry.js → p-3aebfb5a.entry.js} +2 -2
  23. package/dist/calcite/{p-96ed1ba3.js → p-3d46841a.js} +2 -2
  24. package/dist/calcite/{p-9cc8f213.js → p-3dd58461.js} +1 -1
  25. package/dist/calcite/{p-eb1b5c01.entry.js → p-44180e2e.entry.js} +2 -2
  26. package/dist/calcite/{p-6774b052.entry.js → p-45c91abd.entry.js} +2 -2
  27. package/dist/calcite/{p-e592dd1d.js → p-469cb099.js} +1 -1
  28. package/dist/calcite/{p-a8b1df32.entry.js → p-48ee2d5d.entry.js} +2 -2
  29. package/dist/calcite/p-4d9ab3fe.js +6 -0
  30. package/dist/calcite/{p-b7c78e9c.js → p-4e05b173.js} +1 -1
  31. package/dist/calcite/{p-045acbfc.entry.js → p-4e5badcb.entry.js} +2 -2
  32. package/dist/calcite/{p-9677a750.entry.js → p-59a05a12.entry.js} +2 -2
  33. package/dist/calcite/{p-bdde555f.entry.js → p-5a49c915.entry.js} +2 -2
  34. package/dist/calcite/{p-0e97177f.entry.js → p-5f28ff99.entry.js} +2 -2
  35. package/dist/calcite/{p-3322036a.js → p-63a88b9d.js} +1 -1
  36. package/dist/calcite/{p-d83ccef0.entry.js → p-64e9de7b.entry.js} +2 -2
  37. package/dist/calcite/{p-78e77a28.entry.js → p-661aa76e.entry.js} +2 -2
  38. package/dist/calcite/{p-3a9626b2.js → p-668f0368.js} +2 -2
  39. package/dist/calcite/{p-0728203a.js → p-68e9022c.js} +1 -1
  40. package/dist/calcite/{p-7e01b70e.entry.js → p-6a8d3d4a.entry.js} +2 -2
  41. package/dist/calcite/p-6aabc4dd.entry.js +6 -0
  42. package/dist/calcite/{p-ec3eec2e.entry.js → p-6b687901.entry.js} +2 -2
  43. package/dist/calcite/{p-4af0cd96.entry.js → p-6f2e6989.entry.js} +2 -2
  44. package/dist/calcite/p-721a0afe.js +6 -0
  45. package/dist/calcite/{p-d42ae895.entry.js → p-72d9c67e.entry.js} +2 -2
  46. package/dist/calcite/{p-3cb49d5b.js → p-72da0365.js} +1 -1
  47. package/dist/calcite/{p-bb8fbadd.entry.js → p-74adf4d7.entry.js} +2 -2
  48. package/dist/calcite/{p-13da72dd.entry.js → p-782fb34b.entry.js} +2 -2
  49. package/dist/calcite/{p-b79ac10c.entry.js → p-7ad424c2.entry.js} +2 -2
  50. package/dist/calcite/{p-4cc5a1a5.entry.js → p-7d3780aa.entry.js} +2 -2
  51. package/dist/calcite/{p-21da11a7.entry.js → p-7dee8ef9.entry.js} +2 -2
  52. package/dist/calcite/{p-ebb91344.entry.js → p-7f3e2901.entry.js} +2 -2
  53. package/dist/calcite/{p-16a9fe29.entry.js → p-84295c58.entry.js} +2 -2
  54. package/dist/calcite/{p-e727d27a.entry.js → p-84776ed7.entry.js} +2 -2
  55. package/dist/calcite/{p-b2a97a4c.entry.js → p-84dace79.entry.js} +2 -2
  56. package/dist/calcite/{p-d5d545d1.entry.js → p-85bd0664.entry.js} +2 -2
  57. package/dist/calcite/{p-1f8afbfb.js → p-8a7c7524.js} +1 -1
  58. package/dist/calcite/{p-1d431550.entry.js → p-954e44ad.entry.js} +2 -2
  59. package/dist/calcite/{p-25cbc3da.entry.js → p-a33d75bf.entry.js} +2 -2
  60. package/dist/calcite/{p-06e3192e.entry.js → p-a9a1ec6e.entry.js} +2 -2
  61. package/dist/calcite/p-aaaa344c.entry.js +6 -0
  62. package/dist/calcite/{p-1d824696.js → p-ab0cbd25.js} +1 -1
  63. package/dist/calcite/{p-dc2cd60f.entry.js → p-b4bd3fa1.entry.js} +2 -2
  64. package/dist/calcite/{p-09b81694.js → p-b86909a9.js} +3 -3
  65. package/dist/calcite/{p-ba0ed7d1.entry.js → p-bc122de3.entry.js} +2 -2
  66. package/dist/calcite/{p-ca4ab05a.entry.js → p-be660e88.entry.js} +2 -2
  67. package/dist/calcite/{p-b5ea56b9.js → p-bf429767.js} +2 -2
  68. package/dist/calcite/{p-5d852084.entry.js → p-c12fdba3.entry.js} +2 -2
  69. package/dist/calcite/{p-94644d8f.entry.js → p-c3a97715.entry.js} +2 -2
  70. package/dist/calcite/{p-938d18b1.js → p-c522181e.js} +2 -2
  71. package/dist/calcite/{p-4a38d08e.js → p-c603c695.js} +2 -2
  72. package/dist/calcite/{p-48c85bf0.entry.js → p-c831bc6a.entry.js} +2 -2
  73. package/dist/calcite/{p-2dc11f03.js → p-c932d8ab.js} +1 -1
  74. package/dist/calcite/{p-20cf9c88.js → p-c9c88057.js} +1 -1
  75. package/dist/calcite/{p-259092a4.entry.js → p-cac5e5e1.entry.js} +2 -2
  76. package/dist/calcite/{p-bc32bc56.entry.js → p-cd146cca.entry.js} +2 -2
  77. package/dist/calcite/{p-066085fc.entry.js → p-cd7ffc5c.entry.js} +2 -2
  78. package/dist/calcite/{p-10c82611.entry.js → p-cea3af32.entry.js} +2 -2
  79. package/dist/calcite/{p-deeffa57.entry.js → p-cf2a05d8.entry.js} +2 -2
  80. package/dist/calcite/{p-be3abb94.entry.js → p-d072add7.entry.js} +2 -2
  81. package/dist/calcite/{p-14cf7ab9.js → p-d09783e9.js} +2 -2
  82. package/dist/calcite/{p-a18a314b.js → p-d217c5c3.js} +1 -1
  83. package/dist/calcite/{p-88aede1f.entry.js → p-d2f6c282.entry.js} +2 -2
  84. package/dist/calcite/{p-3d748784.entry.js → p-d4ad3de4.entry.js} +2 -2
  85. package/dist/calcite/{p-ccde2b90.entry.js → p-d51980c5.entry.js} +2 -2
  86. package/dist/calcite/{p-db8d31a1.js → p-db82610b.js} +2 -2
  87. package/dist/calcite/{p-d7e3a902.js → p-dd553569.js} +1 -1
  88. package/dist/calcite/{p-82a24b4f.entry.js → p-e33b45f2.entry.js} +2 -2
  89. package/dist/calcite/{p-7057ddfc.js → p-e436c0ac.js} +1 -1
  90. package/dist/calcite/{p-a7dfcef2.js → p-eafa7dec.js} +1 -1
  91. package/dist/calcite/p-ec2591bb.entry.js +6 -0
  92. package/dist/calcite/p-ece2c44d.entry.js +6 -0
  93. package/dist/calcite/{p-d66c955e.entry.js → p-ed384839.entry.js} +2 -2
  94. package/dist/calcite/{p-2f012841.entry.js → p-f0e4d877.entry.js} +2 -2
  95. package/dist/calcite/{p-1fa8dd2a.entry.js → p-f2c98d89.entry.js} +2 -2
  96. package/dist/calcite/{p-becf843a.entry.js → p-f4b256ef.entry.js} +2 -2
  97. package/dist/calcite/{p-fcf71027.entry.js → p-fdcae86e.entry.js} +2 -2
  98. package/dist/cjs/{ExpandToggle-1eee6aae.js → ExpandToggle-639f00b0.js} +5 -5
  99. package/dist/cjs/{Heading-801aaf16.js → Heading-c3eb10bc.js} +2 -2
  100. package/dist/cjs/{app-globals-4b585fa9.js → app-globals-f87ca99e.js} +2 -2
  101. package/dist/cjs/{array-d29b5ce3.js → array-7a8c091b.js} +1 -1
  102. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  103. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  104. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  105. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  106. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  107. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  108. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  109. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  110. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  111. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  112. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  113. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  114. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  115. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  116. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
  117. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  118. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  119. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  120. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  121. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  122. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  123. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  124. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  125. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  126. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  127. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  128. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
  129. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  130. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  131. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  132. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
  133. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  134. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  135. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  136. package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
  137. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  138. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  139. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  140. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  141. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  142. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  143. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  144. package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
  145. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  146. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  147. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  148. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  149. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  150. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  151. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  152. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  153. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  154. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  155. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  156. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  157. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  158. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  159. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  160. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  161. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  162. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  163. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  164. package/dist/cjs/calcite.cjs.js +4 -4
  165. package/dist/cjs/{composed-offset-position.esm-aa40219d.js → composed-offset-position.esm-0085a474.js} +1 -1
  166. package/dist/cjs/{conditionalSlot-70fa1432.js → conditionalSlot-8bbe2d6e.js} +3 -3
  167. package/dist/cjs/{debounce-7498d970.js → debounce-00b9a4fb.js} +1 -1
  168. package/dist/cjs/{dom-97a7b219.js → dom-aacac414.js} +3 -3
  169. package/dist/cjs/{filter-fd97f83c.js → filter-727926b3.js} +2 -2
  170. package/dist/cjs/{floating-ui-8181d3db.js → floating-ui-8830714c.js} +4 -4
  171. package/dist/cjs/{focusTrapComponent-1161af24.js → focusTrapComponent-cbe9e61c.js} +2 -2
  172. package/dist/cjs/{form-90ea2fbe.js → form-690a13aa.js} +3 -3
  173. package/dist/cjs/{guid-50a7c69d.js → guid-ad94983c.js} +1 -1
  174. package/dist/cjs/{index-6a7a7876.js → index-d3e3f203.js} +1 -1
  175. package/dist/cjs/index.cjs.js +2 -2
  176. package/dist/cjs/{interactive-76d8a91f.js → interactive-49c070b9.js} +1 -1
  177. package/dist/cjs/{key-a919455d.js → key-02d1c482.js} +1 -1
  178. package/dist/cjs/{label-604492b9.js → label-8389bcdd.js} +2 -2
  179. package/dist/cjs/{loadable-76782848.js → loadable-6ef39beb.js} +1 -1
  180. package/dist/cjs/loader.cjs.js +4 -4
  181. package/dist/cjs/{locale-2cf84cf9.js → locale-fbc8af86.js} +4 -4
  182. package/dist/cjs/{math-0ba4323e.js → math-f3d88f9a.js} +1 -1
  183. package/dist/cjs/{observers-33ce0635.js → observers-78de8e32.js} +1 -1
  184. package/dist/cjs/{openCloseComponent-60d1d9dc.js → openCloseComponent-42c19bee.js} +2 -2
  185. package/dist/cjs/{resources-e247df7d.js → resources-40f2182c.js} +5 -5
  186. package/dist/cjs/{resources-fc9b8d95.js → resources-967f1f2a.js} +1 -1
  187. package/dist/cjs/{resources-104b2d4e.js → resources-9a9055e5.js} +1 -1
  188. package/dist/cjs/{resources-d300e779.js → resources-a0bf3b18.js} +1 -1
  189. package/dist/cjs/{resources-7e4c5d36.js → resources-b3a8e70a.js} +1 -1
  190. package/dist/cjs/{resources-cb8159ac.js → resources-de19c1a1.js} +1 -1
  191. package/dist/cjs/{sortable.esm-92616251.js → sortable.esm-ee9a62c0.js} +1 -1
  192. package/dist/cjs/{t9n-d51317e7.js → t9n-b208ada1.js} +3 -3
  193. package/dist/cjs/{throttle-4cd00009.js → throttle-6dead078.js} +2 -2
  194. package/dist/cjs/{utils-404936ec.js → utils-180d8892.js} +1 -1
  195. package/dist/cjs/{utils-4459e00a.js → utils-a98fbd20.js} +3 -3
  196. package/dist/collection/components/accordion/accordion.js +1 -1
  197. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  198. package/dist/collection/components/accordion-item/resources.js +1 -1
  199. package/dist/collection/components/action/action.js +1 -1
  200. package/dist/collection/components/action/resources.js +1 -1
  201. package/dist/collection/components/action-bar/action-bar.js +1 -1
  202. package/dist/collection/components/action-bar/resources.js +1 -1
  203. package/dist/collection/components/action-bar/utils.js +1 -1
  204. package/dist/collection/components/action-group/action-group.js +1 -1
  205. package/dist/collection/components/action-group/resources.js +1 -1
  206. package/dist/collection/components/action-menu/action-menu.js +1 -1
  207. package/dist/collection/components/action-menu/resources.js +1 -1
  208. package/dist/collection/components/action-pad/action-pad.js +1 -1
  209. package/dist/collection/components/action-pad/resources.js +1 -1
  210. package/dist/collection/components/alert/alert.js +1 -1
  211. package/dist/collection/components/alert/resources.js +1 -1
  212. package/dist/collection/components/avatar/avatar.js +1 -1
  213. package/dist/collection/components/avatar/utils.js +1 -1
  214. package/dist/collection/components/block/block.js +1 -1
  215. package/dist/collection/components/block/resources.js +1 -1
  216. package/dist/collection/components/block-section/block-section.js +1 -1
  217. package/dist/collection/components/block-section/resources.js +1 -1
  218. package/dist/collection/components/button/button.js +1 -1
  219. package/dist/collection/components/button/resources.js +1 -1
  220. package/dist/collection/components/card/card.js +1 -1
  221. package/dist/collection/components/card/resources.js +1 -1
  222. package/dist/collection/components/checkbox/checkbox.js +1 -1
  223. package/dist/collection/components/chip/chip.js +1 -1
  224. package/dist/collection/components/chip/resources.js +1 -1
  225. package/dist/collection/components/chip-group/chip-group.js +1 -1
  226. package/dist/collection/components/color-picker/color-picker.js +1 -1
  227. package/dist/collection/components/color-picker/resources.js +1 -1
  228. package/dist/collection/components/color-picker/utils.js +1 -1
  229. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  230. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  231. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  232. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  233. package/dist/collection/components/combobox/combobox.js +1 -1
  234. package/dist/collection/components/combobox/resources.js +1 -1
  235. package/dist/collection/components/combobox/utils.js +1 -1
  236. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  237. package/dist/collection/components/combobox-item/resources.js +1 -1
  238. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  239. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  240. package/dist/collection/components/date-picker/date-picker.js +1 -1
  241. package/dist/collection/components/date-picker/resources.js +1 -1
  242. package/dist/collection/components/date-picker/utils.js +1 -1
  243. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  244. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  245. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  246. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  247. package/dist/collection/components/dropdown/dropdown.js +1 -1
  248. package/dist/collection/components/dropdown/resources.js +1 -1
  249. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  250. package/dist/collection/components/dropdown-group/resources.js +1 -1
  251. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  252. package/dist/collection/components/dropdown-item/resources.js +1 -1
  253. package/dist/collection/components/fab/fab.js +1 -1
  254. package/dist/collection/components/fab/resources.js +1 -1
  255. package/dist/collection/components/filter/filter.js +1 -1
  256. package/dist/collection/components/filter/resources.js +1 -1
  257. package/dist/collection/components/flow/flow.js +1 -1
  258. package/dist/collection/components/flow/resources.js +1 -1
  259. package/dist/collection/components/flow-item/flow-item.js +1 -1
  260. package/dist/collection/components/flow-item/resources.js +1 -1
  261. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  262. package/dist/collection/components/functional/Heading.js +1 -1
  263. package/dist/collection/components/graph/graph.js +1 -1
  264. package/dist/collection/components/graph/util.js +1 -1
  265. package/dist/collection/components/handle/handle.js +1 -1
  266. package/dist/collection/components/handle/resources.js +1 -1
  267. package/dist/collection/components/icon/icon.js +1 -1
  268. package/dist/collection/components/icon/resources.js +1 -1
  269. package/dist/collection/components/icon/utils.js +1 -1
  270. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  271. package/dist/collection/components/inline-editable/resources.js +1 -1
  272. package/dist/collection/components/input/input.js +1 -1
  273. package/dist/collection/components/input/resources.js +1 -1
  274. package/dist/collection/components/input-date-picker/input-date-picker.js +2 -2
  275. package/dist/collection/components/input-date-picker/resources.js +1 -1
  276. package/dist/collection/components/input-message/input-message.js +1 -1
  277. package/dist/collection/components/input-message/interfaces.js +1 -1
  278. package/dist/collection/components/input-number/input-number.js +1 -1
  279. package/dist/collection/components/input-number/resources.js +1 -1
  280. package/dist/collection/components/input-text/input-text.js +1 -1
  281. package/dist/collection/components/input-text/resources.js +1 -1
  282. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  283. package/dist/collection/components/label/label.js +1 -1
  284. package/dist/collection/components/label/resources.js +1 -1
  285. package/dist/collection/components/link/link.js +1 -1
  286. package/dist/collection/components/list/list.js +1 -1
  287. package/dist/collection/components/list/resources.js +1 -1
  288. package/dist/collection/components/list-item/list-item.js +1 -1
  289. package/dist/collection/components/list-item/resources.js +1 -1
  290. package/dist/collection/components/list-item/utils.js +1 -1
  291. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  292. package/dist/collection/components/list-item-group/resources.js +1 -1
  293. package/dist/collection/components/loader/loader.js +1 -1
  294. package/dist/collection/components/modal/modal.js +1 -1
  295. package/dist/collection/components/modal/resources.js +1 -1
  296. package/dist/collection/components/notice/notice.js +1 -1
  297. package/dist/collection/components/notice/resources.js +1 -1
  298. package/dist/collection/components/option/option.js +1 -1
  299. package/dist/collection/components/option-group/option-group.js +1 -1
  300. package/dist/collection/components/pagination/pagination.js +1 -1
  301. package/dist/collection/components/pagination/resources.js +1 -1
  302. package/dist/collection/components/panel/panel.js +1 -1
  303. package/dist/collection/components/panel/resources.js +1 -1
  304. package/dist/collection/components/pick-list/pick-list.js +1 -1
  305. package/dist/collection/components/pick-list/resources.js +1 -1
  306. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  307. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  308. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  309. package/dist/collection/components/pick-list-group/resources.js +1 -1
  310. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  311. package/dist/collection/components/pick-list-item/resources.js +1 -1
  312. package/dist/collection/components/popover/PopoverManager.js +1 -1
  313. package/dist/collection/components/popover/popover.js +1 -1
  314. package/dist/collection/components/popover/resources.js +1 -1
  315. package/dist/collection/components/progress/progress.js +1 -1
  316. package/dist/collection/components/radio-button/radio-button.js +1 -1
  317. package/dist/collection/components/radio-button/resources.js +1 -1
  318. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  319. package/dist/collection/components/rating/function/star.js +1 -1
  320. package/dist/collection/components/rating/rating.js +1 -1
  321. package/dist/collection/components/resources.js +1 -1
  322. package/dist/collection/components/scrim/resources.js +1 -1
  323. package/dist/collection/components/scrim/scrim.js +1 -1
  324. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  325. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  326. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  327. package/dist/collection/components/select/resources.js +1 -1
  328. package/dist/collection/components/select/select.js +1 -1
  329. package/dist/collection/components/shell/resources.js +1 -1
  330. package/dist/collection/components/shell/shell.js +1 -1
  331. package/dist/collection/components/shell-center-row/resources.js +1 -1
  332. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  333. package/dist/collection/components/shell-panel/resources.js +1 -1
  334. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  335. package/dist/collection/components/slider/resources.js +1 -1
  336. package/dist/collection/components/slider/slider.js +1 -1
  337. package/dist/collection/components/sortable-list/resources.js +1 -1
  338. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  339. package/dist/collection/components/split-button/resources.js +1 -1
  340. package/dist/collection/components/split-button/split-button.js +1 -1
  341. package/dist/collection/components/stepper/stepper.js +1 -1
  342. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  343. package/dist/collection/components/switch/switch.js +1 -1
  344. package/dist/collection/components/tab/tab.js +1 -1
  345. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  346. package/dist/collection/components/tab-title/resources.js +1 -1
  347. package/dist/collection/components/tab-title/tab-title.js +1 -1
  348. package/dist/collection/components/tabs/resources.js +1 -1
  349. package/dist/collection/components/tabs/tabs.js +1 -1
  350. package/dist/collection/components/text-area/resources.js +1 -1
  351. package/dist/collection/components/text-area/text-area.js +1 -1
  352. package/dist/collection/components/tile/resources.js +1 -1
  353. package/dist/collection/components/tile/tile.js +1 -1
  354. package/dist/collection/components/tile-select/resources.js +1 -1
  355. package/dist/collection/components/tile-select/tile-select.js +1 -1
  356. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  357. package/dist/collection/components/time-picker/resources.js +1 -1
  358. package/dist/collection/components/time-picker/time-picker.js +1 -1
  359. package/dist/collection/components/tip/resources.js +1 -1
  360. package/dist/collection/components/tip/tip.js +1 -1
  361. package/dist/collection/components/tip-group/tip-group.js +1 -1
  362. package/dist/collection/components/tip-manager/resources.js +1 -1
  363. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  364. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  365. package/dist/collection/components/tooltip/resources.js +1 -1
  366. package/dist/collection/components/tooltip/tooltip.js +1 -1
  367. package/dist/collection/components/tooltip/utils.js +1 -1
  368. package/dist/collection/components/tree/tree.js +1 -1
  369. package/dist/collection/components/tree/utils.js +1 -1
  370. package/dist/collection/components/tree-item/resources.js +1 -1
  371. package/dist/collection/components/tree-item/tree-item.js +1 -1
  372. package/dist/collection/components/value-list/resources.js +1 -1
  373. package/dist/collection/components/value-list/utils.js +1 -1
  374. package/dist/collection/components/value-list/value-list.js +1 -1
  375. package/dist/collection/components/value-list-item/resources.js +1 -1
  376. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  377. package/dist/collection/index.js +1 -1
  378. package/dist/collection/utils/array.js +1 -1
  379. package/dist/collection/utils/conditionalSlot.js +1 -1
  380. package/dist/collection/utils/config.js +1 -1
  381. package/dist/collection/utils/date.js +1 -1
  382. package/dist/collection/utils/dom.js +1 -1
  383. package/dist/collection/utils/filter.js +1 -1
  384. package/dist/collection/utils/floating-ui.js +1 -1
  385. package/dist/collection/utils/focusTrapComponent.js +1 -1
  386. package/dist/collection/utils/form.js +1 -1
  387. package/dist/collection/utils/globalAttributes.js +1 -1
  388. package/dist/collection/utils/globalScript.js +1 -1
  389. package/dist/collection/utils/guid.js +1 -1
  390. package/dist/collection/utils/interactive.js +1 -1
  391. package/dist/collection/utils/key.js +1 -1
  392. package/dist/collection/utils/label.js +1 -1
  393. package/dist/collection/utils/loadable.js +1 -1
  394. package/dist/collection/utils/locale.js +1 -1
  395. package/dist/collection/utils/math.js +1 -1
  396. package/dist/collection/utils/mode.js +1 -1
  397. package/dist/collection/utils/number.js +1 -1
  398. package/dist/collection/utils/observers.js +1 -1
  399. package/dist/collection/utils/openCloseComponent.js +1 -1
  400. package/dist/collection/utils/resources.js +1 -1
  401. package/dist/collection/utils/t9n.js +1 -1
  402. package/dist/collection/utils/time.js +1 -1
  403. package/dist/components/ExpandToggle.js +1 -1
  404. package/dist/components/Heading.js +1 -1
  405. package/dist/components/action-group.js +1 -1
  406. package/dist/components/action-menu.js +1 -1
  407. package/dist/components/action.js +1 -1
  408. package/dist/components/array.js +1 -1
  409. package/dist/components/button.js +1 -1
  410. package/dist/components/calcite-accordion-item.js +1 -1
  411. package/dist/components/calcite-accordion.js +1 -1
  412. package/dist/components/calcite-action-bar.js +1 -1
  413. package/dist/components/calcite-action-group.js +1 -1
  414. package/dist/components/calcite-action-menu.js +1 -1
  415. package/dist/components/calcite-action-pad.js +1 -1
  416. package/dist/components/calcite-action.js +1 -1
  417. package/dist/components/calcite-alert.js +1 -1
  418. package/dist/components/calcite-avatar.js +1 -1
  419. package/dist/components/calcite-block-section.js +1 -1
  420. package/dist/components/calcite-block.js +1 -1
  421. package/dist/components/calcite-button.js +1 -1
  422. package/dist/components/calcite-card.js +1 -1
  423. package/dist/components/calcite-checkbox.js +1 -1
  424. package/dist/components/calcite-chip-group.js +1 -1
  425. package/dist/components/calcite-chip.js +1 -1
  426. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  427. package/dist/components/calcite-color-picker-swatch.js +1 -1
  428. package/dist/components/calcite-color-picker.js +1 -1
  429. package/dist/components/calcite-combobox-item-group.js +1 -1
  430. package/dist/components/calcite-combobox-item.js +1 -1
  431. package/dist/components/calcite-combobox.js +1 -1
  432. package/dist/components/calcite-date-picker-day.js +1 -1
  433. package/dist/components/calcite-date-picker-month-header.js +1 -1
  434. package/dist/components/calcite-date-picker-month.js +1 -1
  435. package/dist/components/calcite-date-picker.js +1 -1
  436. package/dist/components/calcite-dropdown-group.js +1 -1
  437. package/dist/components/calcite-dropdown-item.js +1 -1
  438. package/dist/components/calcite-dropdown.js +1 -1
  439. package/dist/components/calcite-fab.js +1 -1
  440. package/dist/components/calcite-filter.js +1 -1
  441. package/dist/components/calcite-flow-item.js +1 -1
  442. package/dist/components/calcite-flow.js +1 -1
  443. package/dist/components/calcite-graph.js +1 -1
  444. package/dist/components/calcite-handle.js +1 -1
  445. package/dist/components/calcite-icon.js +1 -1
  446. package/dist/components/calcite-inline-editable.js +1 -1
  447. package/dist/components/calcite-input-date-picker.js +2 -2
  448. package/dist/components/calcite-input-message.js +1 -1
  449. package/dist/components/calcite-input-number.js +1 -1
  450. package/dist/components/calcite-input-text.js +1 -1
  451. package/dist/components/calcite-input-time-picker.js +1 -1
  452. package/dist/components/calcite-input.js +1 -1
  453. package/dist/components/calcite-label.js +1 -1
  454. package/dist/components/calcite-link.js +1 -1
  455. package/dist/components/calcite-list-item-group.js +1 -1
  456. package/dist/components/calcite-list-item.js +1 -1
  457. package/dist/components/calcite-list.js +1 -1
  458. package/dist/components/calcite-loader.js +1 -1
  459. package/dist/components/calcite-modal.js +1 -1
  460. package/dist/components/calcite-notice.js +1 -1
  461. package/dist/components/calcite-option-group.js +1 -1
  462. package/dist/components/calcite-option.js +1 -1
  463. package/dist/components/calcite-pagination.js +1 -1
  464. package/dist/components/calcite-panel.js +1 -1
  465. package/dist/components/calcite-pick-list-group.js +1 -1
  466. package/dist/components/calcite-pick-list-item.js +1 -1
  467. package/dist/components/calcite-pick-list.js +1 -1
  468. package/dist/components/calcite-popover.js +1 -1
  469. package/dist/components/calcite-progress.js +1 -1
  470. package/dist/components/calcite-radio-button-group.js +1 -1
  471. package/dist/components/calcite-radio-button.js +1 -1
  472. package/dist/components/calcite-rating.js +1 -1
  473. package/dist/components/calcite-scrim.js +1 -1
  474. package/dist/components/calcite-segmented-control-item.js +1 -1
  475. package/dist/components/calcite-segmented-control.js +1 -1
  476. package/dist/components/calcite-select.js +1 -1
  477. package/dist/components/calcite-shell-center-row.js +1 -1
  478. package/dist/components/calcite-shell-panel.js +1 -1
  479. package/dist/components/calcite-shell.js +1 -1
  480. package/dist/components/calcite-slider.js +1 -1
  481. package/dist/components/calcite-sortable-list.js +1 -1
  482. package/dist/components/calcite-split-button.js +1 -1
  483. package/dist/components/calcite-stepper-item.js +1 -1
  484. package/dist/components/calcite-stepper.js +1 -1
  485. package/dist/components/calcite-switch.js +1 -1
  486. package/dist/components/calcite-tab-nav.js +1 -1
  487. package/dist/components/calcite-tab-title.js +1 -1
  488. package/dist/components/calcite-tab.js +1 -1
  489. package/dist/components/calcite-tabs.js +1 -1
  490. package/dist/components/calcite-text-area.js +1 -1
  491. package/dist/components/calcite-tile-select-group.js +1 -1
  492. package/dist/components/calcite-tile-select.js +1 -1
  493. package/dist/components/calcite-tile.js +1 -1
  494. package/dist/components/calcite-time-picker.js +1 -1
  495. package/dist/components/calcite-tip-group.js +1 -1
  496. package/dist/components/calcite-tip-manager.js +1 -1
  497. package/dist/components/calcite-tip.js +1 -1
  498. package/dist/components/calcite-tooltip.js +1 -1
  499. package/dist/components/calcite-tree-item.js +1 -1
  500. package/dist/components/calcite-tree.js +1 -1
  501. package/dist/components/calcite-value-list-item.js +1 -1
  502. package/dist/components/calcite-value-list.js +1 -1
  503. package/dist/components/checkbox.js +1 -1
  504. package/dist/components/chip.js +1 -1
  505. package/dist/components/color-picker-hex-input.js +1 -1
  506. package/dist/components/color-picker-swatch.js +1 -1
  507. package/dist/components/composed-offset-position.esm.js +1 -1
  508. package/dist/components/conditionalSlot.js +1 -1
  509. package/dist/components/date-picker-day.js +1 -1
  510. package/dist/components/date-picker-month-header.js +1 -1
  511. package/dist/components/date-picker-month.js +1 -1
  512. package/dist/components/date-picker.js +1 -1
  513. package/dist/components/date.js +1 -1
  514. package/dist/components/debounce.js +1 -1
  515. package/dist/components/dom.js +1 -1
  516. package/dist/components/dropdown.js +1 -1
  517. package/dist/components/filter.js +1 -1
  518. package/dist/components/filter2.js +1 -1
  519. package/dist/components/floating-ui.js +1 -1
  520. package/dist/components/focusTrapComponent.js +1 -1
  521. package/dist/components/form.js +1 -1
  522. package/dist/components/graph.js +1 -1
  523. package/dist/components/guid.js +1 -1
  524. package/dist/components/handle.js +1 -1
  525. package/dist/components/icon.js +1 -1
  526. package/dist/components/index.js +1 -1
  527. package/dist/components/input.js +1 -1
  528. package/dist/components/interactive.js +1 -1
  529. package/dist/components/key.js +1 -1
  530. package/dist/components/label.js +1 -1
  531. package/dist/components/label2.js +1 -1
  532. package/dist/components/link.js +1 -1
  533. package/dist/components/loadable.js +1 -1
  534. package/dist/components/loader.js +1 -1
  535. package/dist/components/locale.js +1 -1
  536. package/dist/components/math.js +1 -1
  537. package/dist/components/observers.js +1 -1
  538. package/dist/components/openCloseComponent.js +1 -1
  539. package/dist/components/panel.js +1 -1
  540. package/dist/components/pick-list-item.js +1 -1
  541. package/dist/components/popover.js +1 -1
  542. package/dist/components/progress.js +1 -1
  543. package/dist/components/resources.js +1 -1
  544. package/dist/components/resources2.js +1 -1
  545. package/dist/components/resources3.js +1 -1
  546. package/dist/components/scrim.js +1 -1
  547. package/dist/components/shared-list-render.js +1 -1
  548. package/dist/components/sortable.esm.js +1 -1
  549. package/dist/components/switch.js +1 -1
  550. package/dist/components/t9n.js +1 -1
  551. package/dist/components/tab-nav.js +1 -1
  552. package/dist/components/tab-title.js +1 -1
  553. package/dist/components/tab.js +1 -1
  554. package/dist/components/tabs.js +1 -1
  555. package/dist/components/throttle.js +1 -1
  556. package/dist/components/tile.js +1 -1
  557. package/dist/components/time-picker.js +1 -1
  558. package/dist/components/tooltip.js +1 -1
  559. package/dist/components/utils.js +1 -1
  560. package/dist/components/utils2.js +1 -1
  561. package/dist/components/utils3.js +1 -1
  562. package/dist/esm/{ExpandToggle-de13b4d7.js → ExpandToggle-308f52e2.js} +5 -5
  563. package/dist/esm/{Heading-1650afb3.js → Heading-2249b0e8.js} +2 -2
  564. package/dist/esm/{app-globals-b6055ba2.js → app-globals-f063e121.js} +2 -2
  565. package/dist/esm/{array-08d41e3b.js → array-10c456d7.js} +1 -1
  566. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  567. package/dist/esm/calcite-action-bar.entry.js +15 -15
  568. package/dist/esm/calcite-action-group.entry.js +13 -13
  569. package/dist/esm/calcite-action-menu.entry.js +9 -9
  570. package/dist/esm/calcite-action-pad.entry.js +14 -14
  571. package/dist/esm/calcite-action.entry.js +11 -11
  572. package/dist/esm/calcite-alert.entry.js +12 -12
  573. package/dist/esm/calcite-avatar.entry.js +6 -6
  574. package/dist/esm/calcite-block_2.entry.js +12 -12
  575. package/dist/esm/calcite-button.entry.js +13 -13
  576. package/dist/esm/calcite-card.entry.js +10 -10
  577. package/dist/esm/calcite-checkbox.entry.js +10 -10
  578. package/dist/esm/calcite-chip-group.entry.js +8 -8
  579. package/dist/esm/calcite-chip.entry.js +12 -12
  580. package/dist/esm/calcite-color-picker_3.entry.js +15 -15
  581. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  582. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  583. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  584. package/dist/esm/calcite-fab.entry.js +7 -7
  585. package/dist/esm/calcite-filter.entry.js +13 -13
  586. package/dist/esm/calcite-flow-item.entry.js +12 -12
  587. package/dist/esm/calcite-flow.entry.js +3 -3
  588. package/dist/esm/calcite-graph_2.entry.js +13 -13
  589. package/dist/esm/calcite-handle.entry.js +10 -10
  590. package/dist/esm/calcite-icon.entry.js +6 -6
  591. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  592. package/dist/esm/calcite-input-date-picker.entry.js +19 -19
  593. package/dist/esm/calcite-input-message.entry.js +5 -5
  594. package/dist/esm/calcite-input-number.entry.js +13 -13
  595. package/dist/esm/calcite-input-text.entry.js +13 -13
  596. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
  597. package/dist/esm/calcite-input.entry.js +13 -13
  598. package/dist/esm/calcite-label.entry.js +6 -6
  599. package/dist/esm/calcite-link.entry.js +7 -7
  600. package/dist/esm/calcite-list_3.entry.js +12 -12
  601. package/dist/esm/calcite-loader.entry.js +3 -3
  602. package/dist/esm/calcite-modal.entry.js +13 -13
  603. package/dist/esm/calcite-notice.entry.js +12 -12
  604. package/dist/esm/calcite-option_3.entry.js +10 -10
  605. package/dist/esm/calcite-pagination.entry.js +10 -10
  606. package/dist/esm/calcite-panel.entry.js +14 -14
  607. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  608. package/dist/esm/calcite-popover.entry.js +15 -15
  609. package/dist/esm/calcite-progress.entry.js +2 -2
  610. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  611. package/dist/esm/calcite-radio-button.entry.js +10 -10
  612. package/dist/esm/calcite-rating.entry.js +13 -13
  613. package/dist/esm/calcite-scrim.entry.js +9 -9
  614. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  615. package/dist/esm/calcite-shell_3.entry.js +11 -11
  616. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  617. package/dist/esm/calcite-split-button.entry.js +4 -4
  618. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  619. package/dist/esm/calcite-switch.entry.js +10 -10
  620. package/dist/esm/calcite-tab_4.entry.js +7 -7
  621. package/dist/esm/calcite-text-area.entry.js +15 -15
  622. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  623. package/dist/esm/calcite-tile.entry.js +8 -8
  624. package/dist/esm/calcite-tip_3.entry.js +11 -11
  625. package/dist/esm/calcite-tooltip.entry.js +8 -8
  626. package/dist/esm/calcite-tree_2.entry.js +9 -9
  627. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  628. package/dist/esm/calcite.js +5 -5
  629. package/dist/esm/{composed-offset-position.esm-fef44e96.js → composed-offset-position.esm-7ed56d90.js} +1 -1
  630. package/dist/esm/{conditionalSlot-90d214bd.js → conditionalSlot-358b4077.js} +3 -3
  631. package/dist/esm/{debounce-bb8253f9.js → debounce-3526b330.js} +1 -1
  632. package/dist/esm/{dom-42e7827d.js → dom-4ac9c4be.js} +3 -3
  633. package/dist/esm/{filter-266e5a88.js → filter-984dac7b.js} +2 -2
  634. package/dist/esm/{floating-ui-0728c96b.js → floating-ui-a307c7df.js} +4 -4
  635. package/dist/esm/{focusTrapComponent-1e741858.js → focusTrapComponent-86a48497.js} +2 -2
  636. package/dist/esm/{form-df220b8d.js → form-0c3d5dbf.js} +3 -3
  637. package/dist/esm/{guid-53e58f06.js → guid-521fcd4b.js} +1 -1
  638. package/dist/esm/{index-e9c9ae56.js → index-06348b16.js} +1 -1
  639. package/dist/esm/index.js +2 -2
  640. package/dist/esm/{interactive-d2542827.js → interactive-53519acf.js} +1 -1
  641. package/dist/esm/{key-ce95bdc5.js → key-95935129.js} +1 -1
  642. package/dist/esm/{label-60e21cf3.js → label-d96c5820.js} +2 -2
  643. package/dist/esm/{loadable-83bbd0bd.js → loadable-0f488490.js} +1 -1
  644. package/dist/esm/loader.js +5 -5
  645. package/dist/esm/{locale-0be7cf06.js → locale-b88cbf78.js} +4 -4
  646. package/dist/esm/{math-33d5c273.js → math-c3065af9.js} +1 -1
  647. package/dist/esm/{observers-1211bfe4.js → observers-75f9fce3.js} +1 -1
  648. package/dist/esm/{openCloseComponent-7c30bb08.js → openCloseComponent-9342421e.js} +2 -2
  649. package/dist/esm/{resources-42816036.js → resources-26fe1b16.js} +1 -1
  650. package/dist/esm/{resources-2f2ded8d.js → resources-2cb0cfa2.js} +1 -1
  651. package/dist/esm/{resources-22c7afe6.js → resources-4659fdbf.js} +1 -1
  652. package/dist/esm/{resources-1f3191e3.js → resources-d96bfce9.js} +1 -1
  653. package/dist/esm/{resources-fb773d91.js → resources-e621cc43.js} +5 -5
  654. package/dist/esm/{resources-d787c6f8.js → resources-f05ac35f.js} +1 -1
  655. package/dist/esm/{sortable.esm-7ed37eb8.js → sortable.esm-44968bb3.js} +1 -1
  656. package/dist/esm/{t9n-9e3b2f97.js → t9n-57671a2a.js} +3 -3
  657. package/dist/esm/{throttle-01d38736.js → throttle-7e3d7c8b.js} +2 -2
  658. package/dist/esm/{utils-4aab13a0.js → utils-8341633f.js} +3 -3
  659. package/dist/esm/{utils-28ab2a67.js → utils-b64c34ab.js} +1 -1
  660. package/dist/extras/docs-json.json +1 -1
  661. package/dist/loader/cdn.js +1 -1
  662. package/dist/loader/index.cjs.js +1 -1
  663. package/dist/loader/index.es2017.js +1 -1
  664. package/dist/loader/index.js +1 -1
  665. package/hydrate/index.js +2 -2
  666. package/package.json +1 -1
  667. package/dist/calcite/p-191daf85.js +0 -6
  668. package/dist/calcite/p-54885408.entry.js +0 -6
  669. package/dist/calcite/p-855de37b.entry.js +0 -6
  670. package/dist/calcite/p-8d8b3531.entry.js +0 -6
  671. package/dist/calcite/p-8f2aa462.js +0 -6
  672. package/dist/calcite/p-b3d86310.js +0 -6
  673. package/dist/calcite/p-d353bf5d.js +0 -6
  674. package/dist/calcite/p-d62bfd5d.entry.js +0 -6
  675. package/dist/calcite/p-db0551d8.entry.js +0 -6
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
6
  var KindIcons;
7
7
  (function (KindIcons) {
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
6
  const CSS = {
7
7
  actionBarContainer: "action-bar-container",
@@ -1,12 +1,12 @@
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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
- import { g as getRoundRobinIndex } from './array-08d41e3b.js';
7
- import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-42e7827d.js';
8
- import { d as debounce } from './debounce-bb8253f9.js';
9
- import { h, H as Host } from './index-e9c9ae56.js';
6
+ import { g as getRoundRobinIndex } from './array-10c456d7.js';
7
+ import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-4ac9c4be.js';
8
+ import { d as debounce } from './debounce-3526b330.js';
9
+ import { h, H as Host } from './index-06348b16.js';
10
10
 
11
11
  const CSS$2 = {
12
12
  heading: "heading",
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
6
  const SLOTS = {
7
7
  menuActions: "menu-actions",
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
6
  /**!
7
7
  * Sortable 1.15.0
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
- import { g as getAssetPath } from './index-e9c9ae56.js';
7
- import { g as getSupportedLocale } from './locale-0be7cf06.js';
6
+ import { g as getAssetPath } from './index-06348b16.js';
7
+ import { g as getSupportedLocale } from './locale-b88cbf78.js';
8
8
 
9
9
  const componentLangToMessageBundleCache = {};
10
10
  async function getMessageBundle(lang, component) {
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
- import { d as debounce, i as isObject } from './debounce-bb8253f9.js';
6
+ import { d as debounce, i as isObject } from './debounce-3526b330.js';
7
7
 
8
8
  /** Error message constants. */
9
9
  var FUNC_ERROR_TEXT = 'Expected a function';
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
- import { g as getAssetPath } from './index-e9c9ae56.js';
7
- import { n as numberStringFormatter, g as getSupportedLocale } from './locale-0be7cf06.js';
6
+ import { g as getAssetPath } from './index-06348b16.js';
7
+ import { n as numberStringFormatter, g as getSupportedLocale } from './locale-b88cbf78.js';
8
8
 
9
9
  /**
10
10
  * Check if date is within a min and max
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
6
  function rgbToHex(color) {
7
7
  const { r, g, b } = color;
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-04-24T16:29:34",
2
+ "timestamp": "2023-04-24T17:47:54",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "2.22.3",
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
6
  export * from '../esm/polyfills/index.js';
7
7
  export * from '../esm/loader.js';
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
6
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
7
7
  export * from '../esm/polyfills/index.js';
package/hydrate/index.js CHANGED
@@ -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.3.0-next.14
4
+ * v1.3.0-next.15
5
5
  */
6
6
  'use strict';
7
7
 
@@ -23522,7 +23522,7 @@ class InputDatePicker {
23522
23522
  focusedInput === "end" || layout === "vertical"
23523
23523
  ? endWrapper || startWrapper
23524
23524
  : startWrapper || endWrapper;
23525
- connectFloatingUI(this, this.referenceEl, this.floatingEl);
23525
+ requestAnimationFrame(() => connectFloatingUI(this, this.referenceEl, this.floatingEl));
23526
23526
  }
23527
23527
  onLabelClick() {
23528
23528
  this.setFocus();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.3.0-next.14",
3
+ "version": "1.3.0-next.15",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.14
5
- */
6
- import{f as t}from"./p-a7dfcef2.js";import{c as o}from"./p-3322036a.js";const n=new Set;let c;const f={childList:!0};function s(t){c||(c=o("mutation",i)),c.observe(t.el,f)}function a(t){n.delete(t.el),i(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,f)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{s as c,a as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.14
5
- */
6
- import{r as t,c as i,h as a,H as e,a as s}from"./p-a7dfcef2.js";import{d as n,a as r,i as o,b as c,g as l,c as h,e as d,f as p}from"./p-db8d31a1.js";import{t as m}from"./p-09b81694.js";import{f as u,c as f,d as g,r as v,a as b,F as y}from"./p-2fffcc5e.js";import{s as w,c as x,d as k,H as D}from"./p-938d18b1.js";import{u as C}from"./p-b7c78e9c.js";import{n as I}from"./p-9cc8f213.js";import{c as z,d as A}from"./p-14cf7ab9.js";import{c as P,s as j,a as F}from"./p-eae52712.js";import{n as O,c as R,d as _}from"./p-4a38d08e.js";import{c as E,d as S}from"./p-b5ea56b9.js";import{c as H,s as L,d as M}from"./p-b3d86310.js";import{c as Y,d as B,a as T}from"./p-3a9626b2.js";import{g as W}from"./p-7057ddfc.js";import"./p-2dc11f03.js";import"./p-0728203a.js";import"./p-3322036a.js";const q=class{constructor(a){t(this,a),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target,a=i.value,e=this.parseNumerals(a),s=this.formatNumerals(e);i.value=s;const{year:c}=n(a,this.localeData);if(c&&c.length<4)return;const l=r(a,this.localeData);o(l,this.min,this.max)&&(this.datePickerActiveDate=l)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.dialogId=`date-picker-dialog--${W()}`,this.focusOnOpen=!1,this.lastBlurredInput="none",this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.onInputWrapperClick=()=>{this.range&&"none"!==this.lastBlurredInput&&this.open||(this.open=!this.open),this.lastBlurredInput="none"},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t,E(this)},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.open=!1,this.lastBlurredInput="none"},this.keyDownHandler=t=>{const{defaultPrevented:i,key:a}=t;i||("Enter"===a?(this.commitValue(),this.shouldFocusRangeEnd()?this.endInput?.setFocus():this.shouldFocusRangeStart()&&this.startInput?.setFocus(),w(this)&&(t.preventDefault(),this.restoreInputFocus())):"ArrowDown"===a?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===a&&(this.open=!1,t.preventDefault(),this.restoreInputFocus()))},this.startInputFocus=()=>{this.focusedInput="start"},this.startEndInputFocus=t=>{const i=t.relatedTarget;this.lastBlurredInput=i===this.startInput?"start":i===this.endInput?"end":"none"},this.endInputFocus=()=>{this.focusedInput="end"},this.setFloatingEl=t=>{this.floatingEl=t,f(this,this.referenceEl,this.floatingEl)},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.setDatePickerRef=t=>{this.datePickerEl=t,Y(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.handleDateRangeChange=t=>{this.range&&(t.stopPropagation(),this.setRangeValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.setInputValue=(t,i="start")=>{const a=this[`${i}Input`];a&&(a.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,a=Array.isArray(i),e=Array.isArray(t),s=e?c(e?t[0]:null):"",n=e?c(e?t[1]:null):"",r=s||n?[s,n]:"";if(r===i)return;this.userChangedValue=!0,this.value=r,this.valueAsDate=r?l(r):void 0;const o=this.calciteInputDatePickerChange.emit();o&&o.defaultPrevented&&(this.value=i,a?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value,a=c(t);a!==i&&(this.userChangedValue=!0,this.valueAsDate=a?h(a):void 0,this.value=a||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>this.commonDateSeparators?.includes(t)?this.localeData?.separator:I?.includes(t)?O?.numberFormatter?.format(Number(t)):t)).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>I.includes(t)?O.delocalize(t):t)).join(""):"",this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.messageOverrides=void 0,this.messages=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.open=!1,this.name=void 0,this.numberingSystem=void 0,this.scale="m",this.placement=g,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.datePickerActiveDate=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.focusedInput="start",this.localeData=void 0}handleFocusTrapDisabled(t){this.open&&(t?B(this):T(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;i=Array.isArray(t)?l(t):t?h(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[c(t[0]),c(t[1])]:c(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}onMinChanged(t){t&&(this.minAsDate=h(t))}onMaxChanged(t){t&&(this.maxAsDate=h(t))}openHandler(t){this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await P(this),this.el.focus()}async reposition(t=!1){const{floatingEl:i,referenceEl:a,placement:e,overlayPositioning:s,filteredFlipPlacements:n}=this;return v(this,{floatingEl:i,referenceEl:a,overlayPositioning:s,placement:e,flipPlacements:n,type:"menu"},t)}connectedCallback(){R(this);const{open:t}=this;if(t&&this.openHandler(t),Array.isArray(this.value))this.valueAsDate=l(this.value);else if(this.value)try{this.valueAsDate=h(this.value)}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}else this.range&&this.valueAsDate&&this.setRangeValue(this.valueAsDate);this.min&&(this.minAsDate=h(this.min)),this.max&&(this.maxAsDate=h(this.max)),z(this),x(this),E(this),H(this),this.setFilteredPlacements(),this.reposition(!0),O.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1}}async componentWillLoad(){j(this),await Promise.all([this.loadLocaleData(),L(this)]),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){F(this),this.localizeInputValues(),this.reposition(!0)}disconnectedCallback(){B(this),A(this),k(this),b(this,this.referenceEl,this.floatingEl),S(this),_(this),M(this)}componentDidRender(){C(this)}render(){const{disabled:t,effectiveLocale:i,messages:s,numberingSystem:n,readOnly:r}=this;return O.numberFormatOptions={numberingSystem:n,locale:i,useGrouping:!1},a(e,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler},this.localeData&&a("div",{class:"input-container"},a("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setStartWrapper},a("calcite-input",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-expanded":m(this.open),"aria-haspopup":"dialog",class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:t,icon:"calendar","number-button-type":"none",numberingSystem:n,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.startInputFocus,onFocus:this.startEndInputFocus,placeholder:this.localeData?.placeholder,readOnly:r,role:"combobox",scale:this.scale,type:"text",ref:this.setStartInput}),this.renderToggleIcon(this.open&&"start"===this.focusedInput)),a("div",{"aria-hidden":m(!this.open),"aria-label":s.chooseDate,"aria-live":"polite","aria-modal":"true",class:{"menu-container":!0,"menu-container--active":this.open},id:this.dialogId,role:"dialog",ref:this.setFloatingEl},a("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[y.animation]:!0,[y.animationActive]:this.open},ref:this.setTransitionEl},a("calcite-date-picker",{activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,headingLevel:this.headingLevel,max:this.max,maxAsDate:this.maxAsDate,messageOverrides:this.messageOverrides,min:this.min,minAsDate:this.minAsDate,numberingSystem:n,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,tabIndex:this.open?void 0:-1,valueAsDate:this.valueAsDate,ref:this.setDatePickerRef}))),this.range&&"horizontal"===this.layout&&a("div",{class:"horizontal-arrow-container"},a("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"l"===this.scale?"m":"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&a("div",{class:"vertical-arrow-container"},a("calcite-icon",{icon:"arrow-down",scale:"l"===this.scale?"m":"s"})),this.range&&a("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setEndWrapper},a("calcite-input",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-expanded":m(this.open),"aria-haspopup":"dialog",class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:t,icon:"calendar","number-button-type":"none",numberingSystem:n,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.endInputFocus,onFocus:this.startEndInputFocus,placeholder:this.localeData?.placeholder,readOnly:r,role:"combobox",scale:this.scale,type:"text",ref:this.setEndInput}),this.renderToggleIcon(this.open&&"end"===this.focusedInput))),a(D,{component:this}))}renderToggleIcon(t){return a("span",{class:"toggle-icon"},a("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:a,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?a||e:e||a,f(this,this.referenceEl,this.floatingEl)}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){T(this,{onActivate:()=>{this.focusOnOpen&&(this.datePickerEl.setFocus(),this.focusOnOpen=!1)}}),this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit(),B(this),this.restoreInputFocus(),this.focusOnOpen=!1}commitValue(){const{focusedInput:t,value:i}=this,a=r(this[`${t}Input`].value,this.localeData),e=c(a),s=Array.isArray(i);if(this.range)if(s){if(e===i["start"===t?0:1])return;a?(this.setRangeValue(["start"===t?a:h(i[0]),"end"===t?a:h(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&h(i[0]),"start"===t&&h(i[1])])}else a&&(this.setRangeValue(["start"===t?a:h(i[0]),"end"===t?a:h(i[1])]),this.localizeInputValues());else{if(e===i)return;this.setValue(a),this.localizeInputValues()}}async loadLocaleData(){O.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await d(this.effectiveLocale),this.localizeInputValues()}shouldFocusRangeStart(){return!(!this.value[1]||this.value[0]||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.value[0]||this.value[1]||"start"!==this.focusedInput||!this.endInput)}restoreInputFocus(){this.range?("start"===this.focusedInput?this.startInput:this.endInput).setFocus():this.startInput.setFocus()}localizeInputValues(){const t=p(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||void 0:this.valueAsDate,this.minAsDate,this.maxAsDate),i=this.range?p(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0,this.minAsDate,this.maxAsDate):null,a=t&&this.formatNumerals(t.toLocaleDateString(this.effectiveLocale)),e=i&&this.formatNumerals(i.toLocaleDateString(this.effectiveLocale));a&&this.setInputValue(a,"start"),this.range&&e&&this.setInputValue(e,"end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "YYYY-MM-DD".`)}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],min:["onMinChanged"],max:["onMaxChanged"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],effectiveLocale:["loadLocaleData"]}}};q.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.01}}: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]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{position:static;inline-size:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:1;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem;inset-inline-start:0}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:398px}.menu-container{--calcite-floating-ui-z-index:600;display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{q as calcite_input_date_picker}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.14
5
- */
6
- import{r as a,c as t,h as i,H as o,a as e}from"./p-a7dfcef2.js";import{c as n,d as r}from"./p-191daf85.js";import{s,g as c}from"./p-09b81694.js";import{s as l,a as d,c as p}from"./p-eae52712.js";import{c as m,d as h}from"./p-4a38d08e.js";import{u,c as f,d as g,s as x}from"./p-b3d86310.js";import{t as b,E as y}from"./p-8f2aa462.js";import{c as w}from"./p-3322036a.js";import"./p-7057ddfc.js";import"./p-2dc11f03.js";import"./p-9cc8f213.js";import"./p-41ae9e7d.js";import"./p-d7e3a902.js";const v="expand-tooltip",k=class{constructor(i){a(this,i),this.calciteActionPadToggle=t(this,"calciteActionPadToggle",6),this.mutationObserver=w("mutation",(()=>this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group"))))),this.actionMenuOpenHandler=a=>{if(a.target.menuOpen){const t=a.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((a=>{t.includes(a)||(a.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=a=>{this.expandToggleEl=a},this.handleDefaultSlotChange=a=>{const t=s(a).filter((a=>a?.matches("calcite-action-group")));this.setGroupLayout(t)},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(a){b({parent:this.el,expanded:a})}layoutHandler(){this.updateGroups()}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){n(this),m(this),f(this)}disconnectedCallback(){h(this),g(this),r(this)}async componentWillLoad(){l(this);const{el:a,expanded:t}=this;b({parent:a,expanded:t}),await x(this)}componentDidLoad(){d(this)}async setFocus(){await p(this),this.el?.focus()}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(a){a.forEach((a=>a.layout=this.layout))}renderBottomActionGroup(){const{expanded:a,expandDisabled:t,messages:o,el:e,position:n,toggleExpand:r,scale:s,layout:l}=this,d=c(e,v),p=t?null:i(y,{el:e,expanded:a,intlCollapse:o.collapse,intlExpand:o.expand,position:n,scale:s,toggle:r,tooltip:d,ref:this.setExpandToggleRef});return p?i("calcite-action-group",{class:"action-group--bottom",layout:l,scale:s},i("slot",{name:v}),p):null}render(){return i(o,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("div",{class:"container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup()))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.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.01}}: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:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";export{k as calcite_action_pad}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.14
5
- */
6
- import{r as t,c as i,h as a,a as n}from"./p-a7dfcef2.js";import{S as e}from"./p-1f8afbfb.js";import{u as s}from"./p-b7c78e9c.js";import{c}from"./p-3322036a.js";const o=class{constructor(a){t(this,a),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=c("mutation",(()=>{this.cleanUpDragAndDrop(),this.items=Array.from(this.el.children),this.setUpDragAndDrop()})),this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1,this.handleActivated=!1}connectedCallback(){this.items=Array.from(this.el.children),this.setUpDragAndDrop(),this.beginObserving()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.cleanUpDragAndDrop()}componentDidRender(){s(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}handleNudgeEvent(t){const{direction:i}=t.detail,a=t.target,n=this.items.find((i=>i.contains(a)||t.composedPath().includes(i))),e=this.items.length-1,s=this.items.indexOf(n);let c,o=!1;"up"===i?0===s?o=!0:c=s-1:s===e?c=0:s===e-1?o=!0:c=s+2,this.mutationObserver?.disconnect(),o?n.parentElement.appendChild(n):n.parentElement.insertBefore(n,this.items[c]),this.items=Array.from(this.el.children),a.activated=!0,a.setFocus(),this.beginObserving()}setUpDragAndDrop(){this.cleanUpDragAndDrop();const t={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:()=>{this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()},onStart:()=>{this.mutationObserver?.disconnect()},onEnd:()=>{this.beginObserving()}};this.dragSelector&&(t.draggable=this.dragSelector),this.sortable=e.create(this.el,t)}cleanUpDragAndDrop(){this.sortable?.destroy(),this.sortable=null}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}render(){const{layout:t}=this,i="horizontal"===t||!1;return a("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},a("slot",null))}get el(){return n(this)}};o.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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}";export{o as calcite_sortable_list}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.14
5
- */
6
- import{f as t,h as e}from"./p-a7dfcef2.js";import{b as o}from"./p-09b81694.js";import{S as n}from"./p-41ae9e7d.js";import{S as a}from"./p-d7e3a902.js";const i=150,c=t=>t.reduce(((t,e)=>t+e),0)/t.length,l=t=>{const e=t?.length;return{actionWidth:e?c(t.map((t=>t.clientWidth||0))):0,actionHeight:e?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:e,actionWidth:o,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(e-(({width:t,actionWidth:e,layout:o,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===o?t:n)-2*i)/("horizontal"===o?e:a)))({width:n,actionWidth:o,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===a.trigger)),p=({actionGroups:e,expanded:o,overflowCount:a})=>{let i=a;e.reverse().forEach((e=>{let a=0;const c=s(e).reverse();c.forEach((t=>{t.slot===n.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",n.menuActions),a++,a>1&&i--),i<1))),t(e)}))};function h({parent:t,expanded:e}){s(t).filter((t=>t.slot!==n.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=e))}const d=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===o(c),d=t?a:n,u=["chevrons-left","chevrons-right"];h&&u.reverse();const f="end"===function(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}(l,c),g=e("calcite-action",{icon:t?f?u[1]:u[0]:f?u[0]:u[1],onClick:i,scale:p,text:d,textEnabled:t,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:n})=>(t&&(t.referenceElement=!o&&e?e:null),n&&n(e),e))({tooltip:r,referenceElement:e,expanded:t,ref:s})});return g};export{d as E,p as a,r as b,l as g,i as o,s as q,h as t}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.14
5
- */
6
- import{g as n}from"./p-a7dfcef2.js";import{g as t}from"./p-4a38d08e.js";const s={};function o(){throw new Error("could not fetch component message bundle")}function c(n){n.messages={...n.defaultMessages,...n.messageOverrides}}async function a(n){n.defaultMessages=await e(n,n.effectiveLocale),c(n)}async function e(c,a){const{el:e}=c,i=e.tagName.toLowerCase().replace("calcite-","");return async function(t,c){const a=`${c}_${t}`;return s[a]||(s[a]=fetch(n(`./assets/${c}/t9n/messages_${t}.json`)).then((n=>(n.ok||o(),n.json()))).catch((()=>o()))),s[a]}(t(a,"t9n"),i)}async function i(n,t){n.defaultMessages=await e(n,t),c(n)}function f(n){n.onMessagesChange=r}function u(n){n.onMessagesChange=void 0}function r(){c(this)}export{f as c,u as d,a as s,i as u}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.14
5
- */
6
- import{h as t}from"./p-a7dfcef2.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const a=e.level?`h${e.level}`:"div";return delete e.level,t(a,{...e},r)};export{r as H,e as c}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.14
5
- */
6
- import{r as t,c as e,h as i,a,H as n}from"./p-a7dfcef2.js";import{j as r,u as o,t as s}from"./p-09b81694.js";import{u as c}from"./p-b7c78e9c.js";import{n as l,c as p,d}from"./p-4a38d08e.js";import{s as h,a as m,c as u}from"./p-eae52712.js";import"./p-7057ddfc.js";import"./p-2dc11f03.js";import"./p-9cc8f213.js";import"./p-3322036a.js";const b=class{constructor(i){t(this,i),this.calciteStepperItemChange=e(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=e(this,"calciteInternalStepperItemChange",6),this.itemMap=new Map,this.items=[],this.enabledItems=[],this.icon=!1,this.layout="horizontal",this.numbered=!1,this.numberingSystem=void 0,this.selectedItem=null,this.scale="m"}numberingSystemChange(){this.setStepperItemNumberingSystem()}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}render(){return i("slot",{onSlotchange:t=>{const e=t.currentTarget.assignedElements().filter((t=>"CALCITE-STEPPER-ITEM"===t?.tagName)),i=Array(e.length).fill("1fr").join(" ");this.el.style.gridTemplateAreas=i,this.el.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()}})}calciteInternalStepperItemKeyEvent(t){const e=t.target;switch(t.detail.item.key){case"ArrowDown":case"ArrowRight":r(this.enabledItems,e,"next");break;case"ArrowUp":case"ArrowLeft":r(this.enabledItems,e,"previous");break;case"Home":r(this.enabledItems,e,"first");break;case"End":r(this.enabledItems,e,"last")}t.stopPropagation()}registerItem(t){const e=t.target,{content:i,position:a}=t.detail;this.itemMap.set(e,{position:a,content:i}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{position:e}=t.detail;"number"==typeof e&&(this.currentPosition=e,this.selectedItem=t.target),this.calciteInternalStepperItemChange.emit({position:e})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const t=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const e=t-1;this.currentPosition!==e&&this.updateStep(e)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}getEnabledStepIndex(t,e="next"){const{items:i,currentPosition:a}=this;let n=t;for(;i[n]?.disabled;)n+="previous"===e?-1:1;return n!==a&&n<i.length&&n>=0?n:null}updateStep(t){this.currentPosition=t,this.calciteInternalStepperItemChange.emit({position:t})}sortItems(){const{itemMap:t}=this;return Array.from(t.keys()).sort(((e,i)=>t.get(e).position-t.get(i).position))}filterItems(){return this.items.filter((t=>!t.disabled))}setStepperItemNumberingSystem(){this.items.forEach((t=>{t.numberingSystem=this.numberingSystem}))}get el(){return a(this)}static get watchers(){return{numberingSystem:["numberingSystemChange"]}}};b.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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]){flex:1 1 auto;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';const f=class{constructor(i){t(this,i),this.calciteInternalStepperItemKeyEvent=e(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=e(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=e(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=e(this,"calciteInternalStepperItemRegister",6),this.keyDownHandler=t=>{if(!this.disabled&&t.target===this.el)switch(t.key){case" ":case"Enter":this.emitUserRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:t}),t.preventDefault()}},this.handleItemClick=t=>{this.disabled||"horizontal"===this.layout&&t.composedPath().some((t=>t.classList?.contains("stepper-item-content")))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.heading=void 0,this.description=void 0,this.layout="horizontal",this.icon=!1,this.iconFlipRtl=!1,this.numbered=!1,this.scale="m",this.numberingSystem=void 0,this.effectiveLocale=""}selectedHandler(){this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}effectiveLocaleWatcher(t){l.numberFormatOptions={locale:t,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){p(this)}componentWillLoad(){h(this),this.icon=o(this.el,"icon",!1),this.numbered=o(this.el,"numbered",!1),this.layout=o(this.el,"layout",!1),this.scale=o(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}componentDidLoad(){m(this)}componentDidRender(){c(this,!0)}disconnectedCallback(){d(this)}render(){return i(n,{"aria-expanded":s(this.selected),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},i("div",{class:"container"},i("div",{class:"stepper-item-header",tabIndex:"horizontal"!==this.layout||this.disabled?null:0,ref:t=>this.headerEl=t},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.renderNumbers(),"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading),i("span",{class:"stepper-item-description"},this.description))),i("div",{class:"stepper-item-content"},i("slot",null))))}updateActiveItemOnChange(t){(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=t.detail.position,this.determineSelectedItem())}async setFocus(){await u(this),("vertical"===this.layout?this.el:this.headerEl)?.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){return l.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:!1},l.numberFormatter.format(this.itemPosition+1)}get el(){return a(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}";export{b as calcite_stepper,f as calcite_stepper_item}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.3.0-next.14
5
- */
6
- import{r as i,h as t,a}from"./p-a7dfcef2.js";import{h as e}from"./p-09b81694.js";import{h as n,i as r}from"./p-e592dd1d.js";import"./p-7057ddfc.js";import"./p-2dc11f03.js";const c=class{constructor(t){i(this,t),this.scale="m",this.thumbnail=void 0,this.fullName=void 0,this.username=void 0,this.userId=void 0,this.thumbnailFailedToLoad=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return t("img",{alt:"",class:"thumbnail",onError:()=>this.thumbnailFailedToLoad=!0,src:this.thumbnail});const i=this.generateInitials(),a=this.generateFillColor();return t("span",{class:"background",style:{backgroundColor:a}},i?t("span",{"aria-hidden":"true",class:"initials"},i):t("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:i,username:t,fullName:a,el:c}=this,o=e(c),s=i&&`#${i.substr(i.length-6)}`,l=t||a||"",m=s&&r(s)?s:function(i){let t=0;for(let a=0;a<i.length;a++)t=i.charCodeAt(a)+((t<<5)-t);let a="#";for(let i=0;i<3;i++)a+=("00"+(t>>8*i&255).toString(16)).substr(-2);return a}(l);return(i||l)&&r(m)?`hsl(${function(i){return function(i){let{r:t,g:a,b:e}=i;t/=255,a/=255,e/=255;const n=Math.max(t,a,e),r=Math.min(t,a,e),c=n-r;if(n===r)return 0;let o=(n+r)/2;switch(n){case t:o=(a-e)/c+(a<e?6:0);break;case a:o=(e-t)/c+2;break;case e:o=(t-a)/c+4}return Math.round(60*o)}(n(i))}(m)}, 60%, ${"dark"===o?20:90}%)`:"var(--calcite-ui-foreground-2)"}generateInitials(){const{fullName:i,username:t}=this;return i?i.trim().split(" ").map((i=>i.substring(0,1))).join(""):!!t&&t.substring(0,2)}get el(){return a(this)}};c.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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:inline-block;overflow:hidden;border-radius:50%}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-2)}.thumbnail{block-size:100%;inline-size:100%;border-radius:50%}";export{c as calcite_avatar}