@esri/calcite-components 1.0.4-next.5 → 1.1.0-next.0

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 (668) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +1 -1
  3. package/dist/calcite/{p-114ff47b.entry.js → p-0122bf46.entry.js} +2 -2
  4. package/dist/calcite/{p-aabccb4f.entry.js → p-01d5f554.entry.js} +2 -2
  5. package/dist/calcite/{p-39e7d705.entry.js → p-0307c387.entry.js} +2 -2
  6. package/dist/calcite/{p-37a93079.entry.js → p-05de3161.entry.js} +2 -2
  7. package/dist/calcite/{p-977572ba.js → p-0e9616c9.js} +2 -2
  8. package/dist/calcite/{p-a4d7b199.entry.js → p-0eb8a83c.entry.js} +2 -2
  9. package/dist/calcite/{p-15266340.entry.js → p-113c75d0.entry.js} +2 -2
  10. package/dist/calcite/{p-8d31fe9f.entry.js → p-12acca8f.entry.js} +2 -2
  11. package/dist/calcite/{p-7ebe9e22.entry.js → p-12aee5ea.entry.js} +2 -2
  12. package/dist/calcite/{p-3cb250eb.entry.js → p-13c7a3b3.entry.js} +2 -2
  13. package/dist/calcite/{p-7dfb0797.js → p-15edd616.js} +1 -1
  14. package/dist/calcite/{p-5b83f5c9.entry.js → p-16ee1071.entry.js} +2 -2
  15. package/dist/calcite/{p-07f4c53c.js → p-17f50ec0.js} +2 -2
  16. package/dist/calcite/{p-40149f32.js → p-1861a75f.js} +1 -1
  17. package/dist/calcite/{p-0e5673db.entry.js → p-19d905bd.entry.js} +2 -2
  18. package/dist/calcite/{p-5828d28e.entry.js → p-1b36f197.entry.js} +2 -2
  19. package/dist/calcite/{p-5b905603.js → p-1cfb053f.js} +1 -1
  20. package/dist/calcite/{p-83244d6a.entry.js → p-1d9c9388.entry.js} +2 -2
  21. package/dist/calcite/{p-7ffd56e5.entry.js → p-20fb5cef.entry.js} +2 -2
  22. package/dist/calcite/{p-463aabd7.entry.js → p-219c395a.entry.js} +2 -2
  23. package/dist/calcite/{p-338c29c1.entry.js → p-24af6984.entry.js} +2 -2
  24. package/dist/calcite/{p-f4c6be46.entry.js → p-29accc43.entry.js} +2 -2
  25. package/dist/calcite/{p-142f5b18.entry.js → p-2aa30bbd.entry.js} +2 -2
  26. package/dist/calcite/{p-5c72b53a.entry.js → p-2bf11448.entry.js} +2 -2
  27. package/dist/calcite/{p-0b918318.js → p-2c3354ea.js} +2 -2
  28. package/dist/calcite/p-2d0b8490.js +6 -0
  29. package/dist/calcite/{p-ec4d3df4.js → p-2db7bb5c.js} +2 -2
  30. package/dist/calcite/{p-c7e01857.js → p-2dd9b3c6.js} +1 -1
  31. package/dist/calcite/p-30f9876e.entry.js +6 -0
  32. package/dist/calcite/{p-fe64d58c.entry.js → p-31f6633a.entry.js} +2 -2
  33. package/dist/calcite/{p-3cccadc4.js → p-326653a7.js} +1 -1
  34. package/dist/calcite/{p-a4252ce0.entry.js → p-326e62d7.entry.js} +2 -2
  35. package/dist/calcite/{p-93a12f69.js → p-330308af.js} +1 -1
  36. package/dist/calcite/{p-358b326d.js → p-374e129d.js} +2 -2
  37. package/dist/calcite/{p-9541d78a.entry.js → p-3cb80155.entry.js} +2 -2
  38. package/dist/calcite/{p-b31d7a3f.js → p-409d266a.js} +2 -2
  39. package/dist/calcite/{p-38f147d2.entry.js → p-47a01714.entry.js} +2 -2
  40. package/dist/calcite/p-4b708697.entry.js +6 -0
  41. package/dist/calcite/{p-cd9dd6c2.js → p-4bb22a15.js} +2 -2
  42. package/dist/calcite/{p-f0cfee8d.entry.js → p-4dc12b5d.entry.js} +2 -2
  43. package/dist/calcite/{p-966806b2.js → p-4f686600.js} +1 -1
  44. package/dist/calcite/{p-ab4e0136.entry.js → p-507827e3.entry.js} +2 -2
  45. package/dist/calcite/{p-1e637e7e.js → p-51de283b.js} +2 -2
  46. package/dist/calcite/{p-b788ed02.entry.js → p-53fbd8c5.entry.js} +2 -2
  47. package/dist/calcite/{p-84b642a5.entry.js → p-5b32e259.entry.js} +2 -2
  48. package/dist/calcite/{p-70ffeabc.entry.js → p-6a698f76.entry.js} +2 -2
  49. package/dist/calcite/{p-db26223b.entry.js → p-6a75fbe5.entry.js} +2 -2
  50. package/dist/calcite/{p-beffc9e8.entry.js → p-6bb35f8b.entry.js} +2 -2
  51. package/dist/calcite/{p-113203ce.entry.js → p-70fe2ff8.entry.js} +2 -2
  52. package/dist/calcite/{p-73bd3fe0.entry.js → p-729c9242.entry.js} +2 -2
  53. package/dist/calcite/{p-a24f134e.entry.js → p-7c66852b.entry.js} +2 -2
  54. package/dist/calcite/{p-b06b9453.js → p-7c9c5f58.js} +2 -2
  55. package/dist/calcite/p-82019682.entry.js +6 -0
  56. package/dist/calcite/p-833b5cb9.entry.js +6 -0
  57. package/dist/calcite/{p-32d12896.js → p-8462bcaf.js} +2 -2
  58. package/dist/calcite/{p-eee4dbbb.js → p-86a15905.js} +1 -1
  59. package/dist/calcite/{p-11d67099.js → p-880c785d.js} +1 -1
  60. package/dist/calcite/{p-8f10886a.js → p-8bb36fab.js} +1 -1
  61. package/dist/calcite/{p-0230585d.entry.js → p-948a136d.entry.js} +2 -2
  62. package/dist/calcite/p-97aa7f71.entry.js +6 -0
  63. package/dist/calcite/{p-8c507309.entry.js → p-9abeee06.entry.js} +2 -2
  64. package/dist/calcite/{p-050035cc.js → p-9c1c6a9f.js} +2 -2
  65. package/dist/calcite/{p-2110de3b.js → p-9db7bbbc.js} +2 -2
  66. package/dist/calcite/{p-02be0f65.js → p-9dc71950.js} +1 -1
  67. package/dist/calcite/{p-14ba5650.js → p-aa8a79b2.js} +1 -1
  68. package/dist/calcite/{p-e4587b22.entry.js → p-aac0390d.entry.js} +2 -2
  69. package/dist/calcite/{p-a82d983e.entry.js → p-ab9e6454.entry.js} +2 -2
  70. package/dist/calcite/{p-cd170527.js → p-b1a2552e.js} +2 -2
  71. package/dist/calcite/{p-7910b2bd.entry.js → p-b3fa43ec.entry.js} +2 -2
  72. package/dist/calcite/{p-1ba6cb26.entry.js → p-b66723c4.entry.js} +2 -2
  73. package/dist/calcite/{p-4f1b1c5b.js → p-b9e7365d.js} +1 -1
  74. package/dist/calcite/{p-e98ea83e.js → p-bac04566.js} +1 -1
  75. package/dist/calcite/{p-15a44b97.entry.js → p-bc073683.entry.js} +2 -2
  76. package/dist/calcite/{p-6f817a03.entry.js → p-bc11b07d.entry.js} +2 -2
  77. package/dist/calcite/{p-4c2d1400.js → p-bc374940.js} +2 -2
  78. package/dist/calcite/{p-c4cd2aaa.entry.js → p-bef747bc.entry.js} +2 -2
  79. package/dist/calcite/{p-5ab06eff.entry.js → p-bfef169d.entry.js} +2 -2
  80. package/dist/calcite/{p-7dcca20f.entry.js → p-c4f48711.entry.js} +2 -2
  81. package/dist/calcite/{p-ce15c97f.entry.js → p-c7ade4a1.entry.js} +2 -2
  82. package/dist/calcite/{p-6479ac48.entry.js → p-c853a272.entry.js} +2 -2
  83. package/dist/calcite/{p-76606d9f.js → p-c921c36a.js} +1 -1
  84. package/dist/calcite/{p-7b6437df.entry.js → p-cbce14a9.entry.js} +2 -2
  85. package/dist/calcite/p-cc18be02.entry.js +6 -0
  86. package/dist/calcite/{p-595251ed.entry.js → p-d5f391cf.entry.js} +2 -2
  87. package/dist/calcite/{p-c71320b6.entry.js → p-da6ff5ea.entry.js} +2 -2
  88. package/dist/calcite/{p-6df545f5.js → p-dbfb1055.js} +2 -2
  89. package/dist/calcite/{p-3c469f34.entry.js → p-ddcfb8d7.entry.js} +2 -2
  90. package/dist/calcite/{p-ec60b009.entry.js → p-e08f065a.entry.js} +2 -2
  91. package/dist/calcite/p-ed1b533b.entry.js +6 -0
  92. package/dist/calcite/{p-9d499209.js → p-f04da847.js} +1 -1
  93. package/dist/calcite/{p-a2744684.entry.js → p-f18d286b.entry.js} +2 -2
  94. package/dist/calcite/{p-5bd556b2.entry.js → p-f9c6c3e1.entry.js} +2 -2
  95. package/dist/cjs/{ExpandToggle-a11bed16.js → ExpandToggle-62a3c445.js} +5 -5
  96. package/dist/cjs/{Heading-c274ffcf.js → Heading-7a2fb8f8.js} +2 -2
  97. package/dist/cjs/{app-globals-94e86c97.js → app-globals-a23987ee.js} +2 -2
  98. package/dist/cjs/{array-0c8f8ca0.js → array-93c33f7e.js} +1 -1
  99. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  100. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  101. package/dist/cjs/calcite-action-group.cjs.entry.js +27 -12
  102. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  103. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  104. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  105. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  106. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  107. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  108. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  109. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  110. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  111. package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
  112. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -14
  113. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  114. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +27 -12
  115. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +26 -12
  116. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  117. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  118. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  119. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  120. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  121. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  122. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  123. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  124. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
  125. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  126. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  127. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  128. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
  129. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  130. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  131. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  132. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  133. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  134. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  135. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  136. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  137. package/dist/cjs/calcite-pagination.cjs.entry.js +19 -9
  138. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  139. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  140. package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
  141. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  142. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  143. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  144. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  145. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  146. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  147. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  148. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  149. package/dist/cjs/calcite-split-button.cjs.entry.js +20 -3
  150. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  151. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  152. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  153. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  154. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  155. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  156. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  157. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  158. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  159. package/dist/cjs/calcite.cjs.js +5 -5
  160. package/dist/cjs/{conditionalSlot-98b54564.js → conditionalSlot-7b748e3d.js} +3 -3
  161. package/dist/cjs/{debounce-c85de5f4.js → debounce-275af050.js} +1 -1
  162. package/dist/cjs/{dom-90e3a5e5.js → dom-b629e229.js} +3 -3
  163. package/dist/cjs/{filter-7e7ab78f.js → filter-15adea2e.js} +2 -2
  164. package/dist/cjs/{floating-ui-bfe5f9d3.js → floating-ui-4529191c.js} +4 -4
  165. package/dist/cjs/{focusTrapComponent-01b3ffb8.js → focusTrapComponent-b8490094.js} +2 -2
  166. package/dist/cjs/{form-e19a9624.js → form-b8993b12.js} +3 -3
  167. package/dist/cjs/{guid-38925fa8.js → guid-62fa6c6c.js} +1 -1
  168. package/dist/cjs/{index-82ae6c49.js → index-9913c089.js} +1 -1
  169. package/dist/cjs/index.cjs.js +1 -1
  170. package/dist/cjs/{interactive-fc156c17.js → interactive-d3293171.js} +1 -1
  171. package/dist/cjs/{key-693df862.js → key-b7f1f9fd.js} +1 -1
  172. package/dist/cjs/{label-8069c595.js → label-58ea8e1b.js} +2 -2
  173. package/dist/cjs/{loadable-c1b58aae.js → loadable-34f90424.js} +1 -1
  174. package/dist/cjs/loader.cjs.js +5 -5
  175. package/dist/cjs/{locale-c3ff58f1.js → locale-f986aeb4.js} +4 -4
  176. package/dist/cjs/{math-b7c7db62.js → math-76393f37.js} +1 -1
  177. package/dist/cjs/{nonChromiumPlatformUtils-c97ab4e2.js → nonChromiumPlatformUtils-31ff2a94.js} +6 -6
  178. package/dist/cjs/{observers-401a49c1.js → observers-d9d9e149.js} +1 -1
  179. package/dist/cjs/{openCloseComponent-3388620c.js → openCloseComponent-9cdb09e2.js} +2 -2
  180. package/dist/cjs/{resources-5be537d4.js → resources-170861cb.js} +1 -1
  181. package/dist/cjs/{resources-39afba1f.js → resources-1b7da7a7.js} +1 -1
  182. package/dist/cjs/{resources-9fb8a2f7.js → resources-7bade0ef.js} +1 -1
  183. package/dist/cjs/{resources-1ef86546.js → resources-7c00af82.js} +5 -5
  184. package/dist/cjs/{resources-b6f0ef1a.js → resources-a63c55cb.js} +1 -1
  185. package/dist/cjs/{resources-0f7edc13.js → resources-b9fa9073.js} +1 -1
  186. package/dist/cjs/{sortable.esm-575f0510.js → sortable.esm-403e05ac.js} +1 -1
  187. package/dist/cjs/{t9n-e9c97df7.js → t9n-441b35e1.js} +3 -3
  188. package/dist/cjs/{utils-75cef2ca.js → utils-9bb6fc2b.js} +3 -3
  189. package/dist/cjs/{utils-7ffe8193.js → utils-eff4dc48.js} +1 -1
  190. package/dist/collection/components/accordion/accordion.js +1 -1
  191. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  192. package/dist/collection/components/accordion-item/resources.js +1 -1
  193. package/dist/collection/components/action/action.js +1 -1
  194. package/dist/collection/components/action/resources.js +1 -1
  195. package/dist/collection/components/action-bar/action-bar.js +1 -1
  196. package/dist/collection/components/action-bar/resources.js +1 -1
  197. package/dist/collection/components/action-bar/utils.js +1 -1
  198. package/dist/collection/components/action-group/action-group.js +37 -3
  199. package/dist/collection/components/action-group/resources.js +1 -1
  200. package/dist/collection/components/action-menu/action-menu.js +1 -1
  201. package/dist/collection/components/action-menu/resources.js +1 -1
  202. package/dist/collection/components/action-pad/action-pad.js +1 -1
  203. package/dist/collection/components/action-pad/resources.js +1 -1
  204. package/dist/collection/components/alert/alert.js +1 -1
  205. package/dist/collection/components/alert/resources.js +1 -1
  206. package/dist/collection/components/avatar/avatar.js +1 -1
  207. package/dist/collection/components/avatar/utils.js +1 -1
  208. package/dist/collection/components/block/block.js +1 -1
  209. package/dist/collection/components/block/resources.js +1 -1
  210. package/dist/collection/components/block-section/block-section.js +1 -1
  211. package/dist/collection/components/block-section/resources.js +1 -1
  212. package/dist/collection/components/button/button.js +1 -1
  213. package/dist/collection/components/button/resources.js +1 -1
  214. package/dist/collection/components/card/card.js +1 -1
  215. package/dist/collection/components/card/resources.js +1 -1
  216. package/dist/collection/components/checkbox/checkbox.js +1 -1
  217. package/dist/collection/components/chip/chip.js +1 -1
  218. package/dist/collection/components/chip/resources.js +1 -1
  219. package/dist/collection/components/color-picker/color-picker.js +1 -1
  220. package/dist/collection/components/color-picker/resources.js +1 -1
  221. package/dist/collection/components/color-picker/utils.js +1 -1
  222. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  223. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  224. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  225. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  226. package/dist/collection/components/combobox/combobox.js +1 -1
  227. package/dist/collection/components/combobox/resources.js +1 -1
  228. package/dist/collection/components/combobox/utils.js +1 -1
  229. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  230. package/dist/collection/components/combobox-item/resources.js +1 -1
  231. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  232. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  233. package/dist/collection/components/date-picker/date-picker.js +36 -1
  234. package/dist/collection/components/date-picker/resources.js +1 -1
  235. package/dist/collection/components/date-picker/utils.js +1 -1
  236. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  237. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  238. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  239. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  240. package/dist/collection/components/dropdown/dropdown.js +32 -1
  241. package/dist/collection/components/dropdown/resources.js +1 -1
  242. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  243. package/dist/collection/components/dropdown-group/resources.js +1 -1
  244. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  245. package/dist/collection/components/dropdown-item/resources.js +1 -1
  246. package/dist/collection/components/fab/fab.js +1 -1
  247. package/dist/collection/components/fab/resources.js +1 -1
  248. package/dist/collection/components/filter/filter.js +1 -1
  249. package/dist/collection/components/filter/resources.js +1 -1
  250. package/dist/collection/components/flow/flow.js +1 -1
  251. package/dist/collection/components/flow/resources.js +1 -1
  252. package/dist/collection/components/flow-item/flow-item.js +1 -1
  253. package/dist/collection/components/flow-item/resources.js +1 -1
  254. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  255. package/dist/collection/components/functional/Heading.js +1 -1
  256. package/dist/collection/components/graph/graph.js +1 -1
  257. package/dist/collection/components/graph/util.js +1 -1
  258. package/dist/collection/components/handle/handle.js +1 -1
  259. package/dist/collection/components/handle/resources.js +1 -1
  260. package/dist/collection/components/icon/icon.js +1 -1
  261. package/dist/collection/components/icon/resources.js +1 -1
  262. package/dist/collection/components/icon/utils.js +1 -1
  263. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  264. package/dist/collection/components/inline-editable/resources.js +1 -1
  265. package/dist/collection/components/input/input.js +1 -1
  266. package/dist/collection/components/input/resources.js +1 -1
  267. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  268. package/dist/collection/components/input-date-picker/resources.js +1 -1
  269. package/dist/collection/components/input-message/input-message.js +1 -1
  270. package/dist/collection/components/input-message/interfaces.js +1 -1
  271. package/dist/collection/components/input-number/input-number.js +6 -3
  272. package/dist/collection/components/input-number/resources.js +1 -1
  273. package/dist/collection/components/input-text/input-text.js +6 -3
  274. package/dist/collection/components/input-text/resources.js +1 -1
  275. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  276. package/dist/collection/components/label/label.js +1 -1
  277. package/dist/collection/components/label/resources.js +1 -1
  278. package/dist/collection/components/link/link.js +1 -1
  279. package/dist/collection/components/list/list.js +1 -1
  280. package/dist/collection/components/list/resources.js +1 -1
  281. package/dist/collection/components/list-item/list-item.js +1 -1
  282. package/dist/collection/components/list-item/resources.js +1 -1
  283. package/dist/collection/components/list-item/utils.js +1 -1
  284. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  285. package/dist/collection/components/list-item-group/resources.js +1 -1
  286. package/dist/collection/components/loader/loader.js +1 -1
  287. package/dist/collection/components/modal/modal.js +1 -1
  288. package/dist/collection/components/modal/resources.js +1 -1
  289. package/dist/collection/components/notice/notice.js +1 -1
  290. package/dist/collection/components/notice/resources.js +1 -1
  291. package/dist/collection/components/option/option.js +1 -1
  292. package/dist/collection/components/option-group/option-group.js +1 -1
  293. package/dist/collection/components/pagination/pagination.js +27 -1
  294. package/dist/collection/components/pagination/resources.js +1 -1
  295. package/dist/collection/components/panel/panel.js +1 -1
  296. package/dist/collection/components/panel/resources.js +1 -1
  297. package/dist/collection/components/pick-list/pick-list.js +1 -1
  298. package/dist/collection/components/pick-list/resources.js +1 -1
  299. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  300. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  301. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  302. package/dist/collection/components/pick-list-group/resources.js +1 -1
  303. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  304. package/dist/collection/components/pick-list-item/resources.js +1 -1
  305. package/dist/collection/components/popover/PopoverManager.js +1 -1
  306. package/dist/collection/components/popover/popover.js +1 -1
  307. package/dist/collection/components/popover/resources.js +1 -1
  308. package/dist/collection/components/progress/progress.js +1 -1
  309. package/dist/collection/components/radio-button/radio-button.js +1 -1
  310. package/dist/collection/components/radio-button/resources.js +1 -1
  311. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  312. package/dist/collection/components/rating/function/star.js +1 -1
  313. package/dist/collection/components/rating/rating.js +1 -1
  314. package/dist/collection/components/resources.js +1 -1
  315. package/dist/collection/components/scrim/resources.js +1 -1
  316. package/dist/collection/components/scrim/scrim.js +1 -1
  317. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  318. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  319. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  320. package/dist/collection/components/select/resources.js +1 -1
  321. package/dist/collection/components/select/select.js +1 -1
  322. package/dist/collection/components/shell/resources.js +1 -1
  323. package/dist/collection/components/shell/shell.js +1 -1
  324. package/dist/collection/components/shell-center-row/resources.js +1 -1
  325. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  326. package/dist/collection/components/shell-panel/resources.js +1 -1
  327. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  328. package/dist/collection/components/slider/resources.js +1 -1
  329. package/dist/collection/components/slider/slider.js +1 -1
  330. package/dist/collection/components/sortable-list/resources.js +1 -1
  331. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  332. package/dist/collection/components/split-button/resources.js +1 -1
  333. package/dist/collection/components/split-button/split-button.js +38 -1
  334. package/dist/collection/components/stepper/stepper.js +1 -1
  335. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  336. package/dist/collection/components/switch/switch.js +1 -1
  337. package/dist/collection/components/tab/tab.js +1 -1
  338. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  339. package/dist/collection/components/tab-title/resources.js +1 -1
  340. package/dist/collection/components/tab-title/tab-title.js +1 -1
  341. package/dist/collection/components/tabs/resources.js +1 -1
  342. package/dist/collection/components/tabs/tabs.js +1 -1
  343. package/dist/collection/components/tile/resources.js +1 -1
  344. package/dist/collection/components/tile/tile.js +1 -1
  345. package/dist/collection/components/tile-select/resources.js +1 -1
  346. package/dist/collection/components/tile-select/tile-select.js +1 -1
  347. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  348. package/dist/collection/components/time-picker/resources.js +1 -1
  349. package/dist/collection/components/time-picker/time-picker.js +1 -1
  350. package/dist/collection/components/tip/resources.js +1 -1
  351. package/dist/collection/components/tip/tip.js +1 -1
  352. package/dist/collection/components/tip-group/tip-group.js +1 -1
  353. package/dist/collection/components/tip-manager/resources.js +1 -1
  354. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  355. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  356. package/dist/collection/components/tooltip/resources.js +1 -1
  357. package/dist/collection/components/tooltip/tooltip.js +1 -1
  358. package/dist/collection/components/tree/tree.js +1 -1
  359. package/dist/collection/components/tree/utils.js +1 -1
  360. package/dist/collection/components/tree-item/resources.js +1 -1
  361. package/dist/collection/components/tree-item/tree-item.js +1 -1
  362. package/dist/collection/components/value-list/resources.js +1 -1
  363. package/dist/collection/components/value-list/utils.js +1 -1
  364. package/dist/collection/components/value-list/value-list.js +1 -1
  365. package/dist/collection/components/value-list-item/resources.js +1 -1
  366. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  367. package/dist/collection/utils/array.js +1 -1
  368. package/dist/collection/utils/conditionalSlot.js +1 -1
  369. package/dist/collection/utils/config.js +1 -1
  370. package/dist/collection/utils/date.js +1 -1
  371. package/dist/collection/utils/dom.js +1 -1
  372. package/dist/collection/utils/filter.js +1 -1
  373. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  374. package/dist/collection/utils/floating-ui.js +1 -1
  375. package/dist/collection/utils/focusTrapComponent.js +1 -1
  376. package/dist/collection/utils/form.js +1 -1
  377. package/dist/collection/utils/globalAttributes.js +1 -1
  378. package/dist/collection/utils/globalScript.js +1 -1
  379. package/dist/collection/utils/guid.js +1 -1
  380. package/dist/collection/utils/interactive.js +1 -1
  381. package/dist/collection/utils/key.js +1 -1
  382. package/dist/collection/utils/label.js +1 -1
  383. package/dist/collection/utils/loadable.js +1 -1
  384. package/dist/collection/utils/locale.js +1 -1
  385. package/dist/collection/utils/math.js +1 -1
  386. package/dist/collection/utils/mode.js +1 -1
  387. package/dist/collection/utils/number.js +1 -1
  388. package/dist/collection/utils/observers.js +1 -1
  389. package/dist/collection/utils/openCloseComponent.js +1 -1
  390. package/dist/collection/utils/resources.js +1 -1
  391. package/dist/collection/utils/t9n.js +1 -1
  392. package/dist/collection/utils/time.js +1 -1
  393. package/dist/components/ExpandToggle.js +1 -1
  394. package/dist/components/Heading.js +1 -1
  395. package/dist/components/action-group.js +18 -2
  396. package/dist/components/action-menu.js +1 -1
  397. package/dist/components/action.js +1 -1
  398. package/dist/components/array.js +1 -1
  399. package/dist/components/button.js +1 -1
  400. package/dist/components/calcite-accordion-item.js +1 -1
  401. package/dist/components/calcite-accordion.js +1 -1
  402. package/dist/components/calcite-action-bar.js +1 -1
  403. package/dist/components/calcite-action-group.js +1 -1
  404. package/dist/components/calcite-action-menu.js +1 -1
  405. package/dist/components/calcite-action-pad.js +1 -1
  406. package/dist/components/calcite-action.js +1 -1
  407. package/dist/components/calcite-alert.js +1 -1
  408. package/dist/components/calcite-avatar.js +1 -1
  409. package/dist/components/calcite-block-section.js +1 -1
  410. package/dist/components/calcite-block.js +1 -1
  411. package/dist/components/calcite-button.js +1 -1
  412. package/dist/components/calcite-card.js +1 -1
  413. package/dist/components/calcite-checkbox.js +1 -1
  414. package/dist/components/calcite-chip.js +1 -1
  415. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  416. package/dist/components/calcite-color-picker-swatch.js +1 -1
  417. package/dist/components/calcite-color-picker.js +1 -1
  418. package/dist/components/calcite-combobox-item-group.js +1 -1
  419. package/dist/components/calcite-combobox-item.js +1 -1
  420. package/dist/components/calcite-combobox.js +1 -1
  421. package/dist/components/calcite-date-picker-day.js +1 -1
  422. package/dist/components/calcite-date-picker-month-header.js +1 -1
  423. package/dist/components/calcite-date-picker-month.js +1 -1
  424. package/dist/components/calcite-date-picker.js +1 -1
  425. package/dist/components/calcite-dropdown-group.js +1 -1
  426. package/dist/components/calcite-dropdown-item.js +1 -1
  427. package/dist/components/calcite-dropdown.js +1 -1
  428. package/dist/components/calcite-fab.js +1 -1
  429. package/dist/components/calcite-filter.js +1 -1
  430. package/dist/components/calcite-flow-item.js +1 -1
  431. package/dist/components/calcite-flow.js +1 -1
  432. package/dist/components/calcite-graph.js +1 -1
  433. package/dist/components/calcite-handle.js +1 -1
  434. package/dist/components/calcite-icon.js +1 -1
  435. package/dist/components/calcite-inline-editable.js +1 -1
  436. package/dist/components/calcite-input-date-picker.js +1 -1
  437. package/dist/components/calcite-input-message.js +1 -1
  438. package/dist/components/calcite-input-number.js +1 -1
  439. package/dist/components/calcite-input-text.js +1 -1
  440. package/dist/components/calcite-input-time-picker.js +1 -1
  441. package/dist/components/calcite-input.js +1 -1
  442. package/dist/components/calcite-label.js +1 -1
  443. package/dist/components/calcite-link.js +1 -1
  444. package/dist/components/calcite-list-item-group.js +1 -1
  445. package/dist/components/calcite-list-item.js +1 -1
  446. package/dist/components/calcite-list.js +1 -1
  447. package/dist/components/calcite-loader.js +1 -1
  448. package/dist/components/calcite-modal.js +1 -1
  449. package/dist/components/calcite-notice.js +1 -1
  450. package/dist/components/calcite-option-group.js +1 -1
  451. package/dist/components/calcite-option.js +1 -1
  452. package/dist/components/calcite-pagination.js +12 -1
  453. package/dist/components/calcite-panel.js +1 -1
  454. package/dist/components/calcite-pick-list-group.js +1 -1
  455. package/dist/components/calcite-pick-list-item.js +1 -1
  456. package/dist/components/calcite-pick-list.js +1 -1
  457. package/dist/components/calcite-popover.js +1 -1
  458. package/dist/components/calcite-progress.js +1 -1
  459. package/dist/components/calcite-radio-button-group.js +1 -1
  460. package/dist/components/calcite-radio-button.js +1 -1
  461. package/dist/components/calcite-rating.js +1 -1
  462. package/dist/components/calcite-scrim.js +1 -1
  463. package/dist/components/calcite-segmented-control-item.js +1 -1
  464. package/dist/components/calcite-segmented-control.js +1 -1
  465. package/dist/components/calcite-select.js +1 -1
  466. package/dist/components/calcite-shell-center-row.js +1 -1
  467. package/dist/components/calcite-shell-panel.js +1 -1
  468. package/dist/components/calcite-shell.js +1 -1
  469. package/dist/components/calcite-slider.js +1 -1
  470. package/dist/components/calcite-sortable-list.js +1 -1
  471. package/dist/components/calcite-split-button.js +20 -2
  472. package/dist/components/calcite-stepper-item.js +1 -1
  473. package/dist/components/calcite-stepper.js +1 -1
  474. package/dist/components/calcite-switch.js +1 -1
  475. package/dist/components/calcite-tab-nav.js +1 -1
  476. package/dist/components/calcite-tab-title.js +1 -1
  477. package/dist/components/calcite-tab.js +1 -1
  478. package/dist/components/calcite-tabs.js +1 -1
  479. package/dist/components/calcite-tile-select-group.js +1 -1
  480. package/dist/components/calcite-tile-select.js +1 -1
  481. package/dist/components/calcite-tile.js +1 -1
  482. package/dist/components/calcite-time-picker.js +1 -1
  483. package/dist/components/calcite-tip-group.js +1 -1
  484. package/dist/components/calcite-tip-manager.js +1 -1
  485. package/dist/components/calcite-tip.js +1 -1
  486. package/dist/components/calcite-tooltip.js +1 -1
  487. package/dist/components/calcite-tree-item.js +1 -1
  488. package/dist/components/calcite-tree.js +1 -1
  489. package/dist/components/calcite-value-list-item.js +1 -1
  490. package/dist/components/calcite-value-list.js +1 -1
  491. package/dist/components/checkbox.js +1 -1
  492. package/dist/components/chip.js +1 -1
  493. package/dist/components/color-picker-hex-input.js +1 -1
  494. package/dist/components/color-picker-swatch.js +1 -1
  495. package/dist/components/conditionalSlot.js +1 -1
  496. package/dist/components/date-picker-day.js +1 -1
  497. package/dist/components/date-picker-month-header.js +1 -1
  498. package/dist/components/date-picker-month.js +1 -1
  499. package/dist/components/date-picker.js +18 -2
  500. package/dist/components/date.js +1 -1
  501. package/dist/components/debounce.js +1 -1
  502. package/dist/components/dom.js +1 -1
  503. package/dist/components/dropdown.js +17 -1
  504. package/dist/components/filter.js +1 -1
  505. package/dist/components/filter2.js +1 -1
  506. package/dist/components/floating-ui.js +1 -1
  507. package/dist/components/focusTrapComponent.js +1 -1
  508. package/dist/components/form.js +1 -1
  509. package/dist/components/graph.js +1 -1
  510. package/dist/components/guid.js +1 -1
  511. package/dist/components/handle.js +1 -1
  512. package/dist/components/icon.js +1 -1
  513. package/dist/components/index.js +1 -1
  514. package/dist/components/input.js +1 -1
  515. package/dist/components/interactive.js +1 -1
  516. package/dist/components/key.js +1 -1
  517. package/dist/components/label.js +1 -1
  518. package/dist/components/label2.js +1 -1
  519. package/dist/components/link.js +1 -1
  520. package/dist/components/loadable.js +1 -1
  521. package/dist/components/loader.js +1 -1
  522. package/dist/components/locale.js +1 -1
  523. package/dist/components/math.js +1 -1
  524. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  525. package/dist/components/observers.js +1 -1
  526. package/dist/components/openCloseComponent.js +1 -1
  527. package/dist/components/panel.js +1 -1
  528. package/dist/components/pick-list-item.js +1 -1
  529. package/dist/components/popover.js +1 -1
  530. package/dist/components/progress.js +1 -1
  531. package/dist/components/resources.js +1 -1
  532. package/dist/components/resources2.js +1 -1
  533. package/dist/components/resources3.js +1 -1
  534. package/dist/components/scrim.js +1 -1
  535. package/dist/components/shared-list-render.js +1 -1
  536. package/dist/components/sortable.esm.js +1 -1
  537. package/dist/components/switch.js +1 -1
  538. package/dist/components/t9n.js +1 -1
  539. package/dist/components/tab-nav.js +1 -1
  540. package/dist/components/tab-title.js +1 -1
  541. package/dist/components/tab.js +1 -1
  542. package/dist/components/tabs.js +1 -1
  543. package/dist/components/tile.js +1 -1
  544. package/dist/components/time-picker.js +1 -1
  545. package/dist/components/tooltip.js +1 -1
  546. package/dist/components/utils.js +1 -1
  547. package/dist/components/utils2.js +1 -1
  548. package/dist/components/utils3.js +1 -1
  549. package/dist/esm/{ExpandToggle-6b5fb422.js → ExpandToggle-74a006e7.js} +5 -5
  550. package/dist/esm/{Heading-54a50bb1.js → Heading-8e6812f7.js} +2 -2
  551. package/dist/esm/{app-globals-e59baae9.js → app-globals-6319593c.js} +2 -2
  552. package/dist/esm/{array-33b5b5aa.js → array-1a545464.js} +1 -1
  553. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  554. package/dist/esm/calcite-action-bar.entry.js +15 -15
  555. package/dist/esm/calcite-action-group.entry.js +27 -12
  556. package/dist/esm/calcite-action-menu.entry.js +9 -9
  557. package/dist/esm/calcite-action-pad.entry.js +14 -14
  558. package/dist/esm/calcite-action.entry.js +11 -11
  559. package/dist/esm/calcite-alert.entry.js +12 -12
  560. package/dist/esm/calcite-avatar.entry.js +6 -6
  561. package/dist/esm/calcite-block_2.entry.js +12 -12
  562. package/dist/esm/calcite-button.entry.js +13 -13
  563. package/dist/esm/calcite-card.entry.js +10 -10
  564. package/dist/esm/calcite-checkbox.entry.js +10 -10
  565. package/dist/esm/calcite-chip.entry.js +11 -11
  566. package/dist/esm/calcite-color-picker_3.entry.js +14 -14
  567. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  568. package/dist/esm/calcite-date-picker_4.entry.js +27 -12
  569. package/dist/esm/calcite-dropdown_3.entry.js +26 -12
  570. package/dist/esm/calcite-fab.entry.js +7 -7
  571. package/dist/esm/calcite-filter.entry.js +13 -13
  572. package/dist/esm/calcite-flow-item.entry.js +12 -12
  573. package/dist/esm/calcite-flow.entry.js +3 -3
  574. package/dist/esm/calcite-graph_2.entry.js +13 -13
  575. package/dist/esm/calcite-handle.entry.js +6 -6
  576. package/dist/esm/calcite-icon.entry.js +6 -6
  577. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  578. package/dist/esm/calcite-input-date-picker.entry.js +16 -16
  579. package/dist/esm/calcite-input-message.entry.js +5 -5
  580. package/dist/esm/calcite-input-number.entry.js +14 -14
  581. package/dist/esm/calcite-input-text.entry.js +13 -13
  582. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
  583. package/dist/esm/calcite-input.entry.js +14 -14
  584. package/dist/esm/calcite-label.entry.js +6 -6
  585. package/dist/esm/calcite-link.entry.js +7 -7
  586. package/dist/esm/calcite-list_3.entry.js +9 -9
  587. package/dist/esm/calcite-loader.entry.js +3 -3
  588. package/dist/esm/calcite-modal.entry.js +13 -13
  589. package/dist/esm/calcite-notice.entry.js +12 -12
  590. package/dist/esm/calcite-option_3.entry.js +10 -10
  591. package/dist/esm/calcite-pagination.entry.js +19 -9
  592. package/dist/esm/calcite-panel.entry.js +14 -14
  593. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  594. package/dist/esm/calcite-popover.entry.js +15 -15
  595. package/dist/esm/calcite-progress.entry.js +2 -2
  596. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  597. package/dist/esm/calcite-radio-button.entry.js +10 -10
  598. package/dist/esm/calcite-rating.entry.js +13 -13
  599. package/dist/esm/calcite-scrim.entry.js +9 -9
  600. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  601. package/dist/esm/calcite-shell_3.entry.js +11 -11
  602. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  603. package/dist/esm/calcite-split-button.entry.js +20 -3
  604. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  605. package/dist/esm/calcite-switch.entry.js +10 -10
  606. package/dist/esm/calcite-tab_4.entry.js +7 -7
  607. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  608. package/dist/esm/calcite-tile.entry.js +8 -8
  609. package/dist/esm/calcite-tip_3.entry.js +11 -11
  610. package/dist/esm/calcite-tooltip.entry.js +8 -8
  611. package/dist/esm/calcite-tree_2.entry.js +9 -9
  612. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  613. package/dist/esm/calcite.js +5 -5
  614. package/dist/esm/{conditionalSlot-d6de29db.js → conditionalSlot-be29408d.js} +3 -3
  615. package/dist/esm/{debounce-1ba0e805.js → debounce-9c6d0aff.js} +1 -1
  616. package/dist/esm/{dom-86a875e0.js → dom-421899c8.js} +3 -3
  617. package/dist/esm/{filter-831a6c50.js → filter-0c4e1779.js} +2 -2
  618. package/dist/esm/{floating-ui-0cc0a869.js → floating-ui-8912de4a.js} +4 -4
  619. package/dist/esm/{focusTrapComponent-da63f800.js → focusTrapComponent-63fa1bf4.js} +2 -2
  620. package/dist/esm/{form-295c6729.js → form-21313b8c.js} +3 -3
  621. package/dist/esm/{guid-bcc61b5c.js → guid-efe45248.js} +1 -1
  622. package/dist/esm/{index-b9e23a4d.js → index-b2b0ab06.js} +1 -1
  623. package/dist/esm/index.js +1 -1
  624. package/dist/esm/{interactive-04de3f50.js → interactive-b5c9800f.js} +1 -1
  625. package/dist/esm/{key-86e6ca6f.js → key-2e71dc88.js} +1 -1
  626. package/dist/esm/{label-a0e5e4db.js → label-ae6f5e0c.js} +2 -2
  627. package/dist/esm/{loadable-363260fc.js → loadable-9dc12b8d.js} +1 -1
  628. package/dist/esm/loader.js +5 -5
  629. package/dist/esm/{locale-5c17ab98.js → locale-4dc76aee.js} +4 -4
  630. package/dist/esm/{math-1da37dcc.js → math-f04ea8ed.js} +1 -1
  631. package/dist/esm/{nonChromiumPlatformUtils-b1f6ca08.js → nonChromiumPlatformUtils-ceb045d1.js} +6 -6
  632. package/dist/esm/{observers-8fa12656.js → observers-40fdbaa0.js} +1 -1
  633. package/dist/esm/{openCloseComponent-9ff85690.js → openCloseComponent-24bc30ff.js} +2 -2
  634. package/dist/esm/{resources-875b511a.js → resources-0605873d.js} +1 -1
  635. package/dist/esm/{resources-4931e3b8.js → resources-0cc2a73e.js} +1 -1
  636. package/dist/esm/{resources-0913179b.js → resources-27434fab.js} +1 -1
  637. package/dist/esm/{resources-51927d60.js → resources-4fe32769.js} +1 -1
  638. package/dist/esm/{resources-60072604.js → resources-70dac4f3.js} +5 -5
  639. package/dist/esm/{resources-3db3d7e1.js → resources-74d7217c.js} +1 -1
  640. package/dist/esm/{sortable.esm-6dbfa975.js → sortable.esm-82daa295.js} +1 -1
  641. package/dist/esm/{t9n-29afd3a3.js → t9n-c216fdda.js} +3 -3
  642. package/dist/esm/{utils-fcdc9133.js → utils-98fb7242.js} +1 -1
  643. package/dist/esm/{utils-e5e2a011.js → utils-9dd31f6f.js} +3 -3
  644. package/dist/extras/docs-json.json +76 -8
  645. package/dist/extras/vscode-data.json +2 -2
  646. package/dist/loader/cdn.js +1 -1
  647. package/dist/loader/index.cjs.js +1 -1
  648. package/dist/loader/index.es2017.js +1 -1
  649. package/dist/loader/index.js +1 -1
  650. package/dist/types/components/action-group/action-group.d.ts +5 -1
  651. package/dist/types/components/date-picker/date-picker.d.ts +5 -1
  652. package/dist/types/components/dropdown/dropdown.d.ts +5 -1
  653. package/dist/types/components/input-number/input-number.d.ts +3 -1
  654. package/dist/types/components/input-text/input-text.d.ts +3 -1
  655. package/dist/types/components/pagination/pagination.d.ts +5 -1
  656. package/dist/types/components/split-button/split-button.d.ts +6 -1
  657. package/dist/types/components.d.ts +28 -4
  658. package/hydrate/index.js +76 -4
  659. package/package.json +1 -1
  660. package/readme.md +1 -4
  661. package/dist/calcite/p-07acab63.entry.js +0 -6
  662. package/dist/calcite/p-142e1365.entry.js +0 -6
  663. package/dist/calcite/p-224b5e40.entry.js +0 -6
  664. package/dist/calcite/p-22fd8884.entry.js +0 -6
  665. package/dist/calcite/p-5b9f419e.entry.js +0 -6
  666. package/dist/calcite/p-77d377b1.js +0 -6
  667. package/dist/calcite/p-8e136eba.entry.js +0 -6
  668. package/dist/calcite/p-a75e4ffd.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.0.4-next.5
4
+ * v1.1.0-next.0
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.0.4-next.5
4
+ * v1.1.0-next.0
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.0.4-next.5
4
+ * v1.1.0-next.0
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';
@@ -1,6 +1,7 @@
1
1
  import { VNode } from "../../stencil-public-runtime";
2
2
  import { CalciteActionMenuCustomEvent } from "../../components";
3
3
  import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
4
+ import { LoadableComponent } from "../../utils/loadable";
4
5
  import { LocalizedComponent } from "../../utils/locale";
5
6
  import { T9nComponent } from "../../utils/t9n";
6
7
  import { Columns, Layout, Scale } from "../interfaces";
@@ -10,7 +11,7 @@ import { ActionGroupMessages } from "./assets/action-group/t9n";
10
11
  * @slot menu-actions - A slot for adding an overflow menu with `calcite-action`s inside a `calcite-dropdown`.
11
12
  * @slot menu-tooltip - A slot for adding a `calcite-tooltip` for the menu.
12
13
  */
13
- export declare class ActionGroup implements ConditionalSlotComponent, LocalizedComponent, T9nComponent {
14
+ export declare class ActionGroup implements ConditionalSlotComponent, LoadableComponent, LocalizedComponent, T9nComponent {
14
15
  /**
15
16
  * When `true`, the component is expanded.
16
17
  */
@@ -47,9 +48,12 @@ export declare class ActionGroup implements ConditionalSlotComponent, LocalizedC
47
48
  effectiveLocale: string;
48
49
  effectiveLocaleChange(): void;
49
50
  defaultMessages: ActionGroupMessages;
51
+ /** Sets focus on the component's first focusable element. */
52
+ setFocus(): Promise<void>;
50
53
  connectedCallback(): void;
51
54
  disconnectedCallback(): void;
52
55
  componentWillLoad(): Promise<void>;
56
+ componentDidLoad(): void;
53
57
  renderTooltip(): VNode;
54
58
  renderMenu(): VNode;
55
59
  render(): VNode;
@@ -1,9 +1,10 @@
1
1
  import { EventEmitter, VNode } from "../../stencil-public-runtime";
2
+ import { LoadableComponent } from "../../utils/loadable";
2
3
  import { LocalizedComponent, NumberingSystem } from "../../utils/locale";
3
4
  import { T9nComponent } from "../../utils/t9n";
4
5
  import { HeadingLevel } from "../functional/Heading";
5
6
  import { DatePickerMessages } from "./assets/date-picker/t9n";
6
- export declare class DatePicker implements LocalizedComponent, T9nComponent {
7
+ export declare class DatePicker implements LocalizedComponent, LoadableComponent, T9nComponent {
7
8
  el: HTMLCalciteDatePickerElement;
8
9
  /** Specifies the component's active date. */
9
10
  activeDate: Date;
@@ -73,9 +74,12 @@ export declare class DatePicker implements LocalizedComponent, T9nComponent {
73
74
  activeEndDate: Date;
74
75
  startAsDate: Date;
75
76
  endAsDate: Date;
77
+ /** Sets focus on the component's first focusable element. */
78
+ setFocus(): Promise<void>;
76
79
  connectedCallback(): void;
77
80
  disconnectedCallback(): void;
78
81
  componentWillLoad(): Promise<void>;
82
+ componentDidLoad(): void;
79
83
  render(): VNode;
80
84
  effectiveLocale: string;
81
85
  effectiveLocaleChange(): void;
@@ -2,6 +2,7 @@ import { Event, EventEmitter, VNode } from "../../stencil-public-runtime";
2
2
  import { ItemKeyboardEvent } from "./interfaces";
3
3
  import { EffectivePlacement, FloatingUIComponent, MenuPlacement, OverlayPositioning } from "../../utils/floating-ui";
4
4
  import { InteractiveComponent } from "../../utils/interactive";
5
+ import { LoadableComponent } from "../../utils/loadable";
5
6
  import { OpenCloseComponent } from "../../utils/openCloseComponent";
6
7
  import { RequestedItem } from "../dropdown-group/interfaces";
7
8
  import { Scale } from "../interfaces";
@@ -9,7 +10,7 @@ import { Scale } from "../interfaces";
9
10
  * @slot - A slot for adding `calcite-dropdown-group` elements. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.
10
11
  * @slot trigger - A slot for the element that triggers the `calcite-dropdown`.
11
12
  */
12
- export declare class Dropdown implements InteractiveComponent, OpenCloseComponent, FloatingUIComponent {
13
+ export declare class Dropdown implements InteractiveComponent, LoadableComponent, OpenCloseComponent, FloatingUIComponent {
13
14
  el: HTMLCalciteDropdownElement;
14
15
  /**
15
16
  * When `true`, displays and positions the component.
@@ -74,7 +75,10 @@ export declare class Dropdown implements InteractiveComponent, OpenCloseComponen
74
75
  * Specifies the width of the component.
75
76
  */
76
77
  width: Scale;
78
+ /** Sets focus on the component's first focusable element. */
79
+ setFocus(): Promise<void>;
77
80
  connectedCallback(): void;
81
+ componentWillLoad(): void;
78
82
  componentDidLoad(): void;
79
83
  componentDidRender(): void;
80
84
  disconnectedCallback(): void;
@@ -43,7 +43,9 @@ export declare class InputNumber implements LabelableComponent, FormComponent, I
43
43
  */
44
44
  hidden: boolean;
45
45
  /**
46
- * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.
46
+ * Specifies an icon to display.
47
+ *
48
+ * @futureBreaking Remove boolean type as it is not supported.
47
49
  */
48
50
  icon: string | boolean;
49
51
  /** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
@@ -38,7 +38,9 @@ export declare class InputText implements LabelableComponent, FormComponent, Int
38
38
  */
39
39
  hidden: boolean;
40
40
  /**
41
- * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.
41
+ * Specifies an icon to display.
42
+ *
43
+ * @futureBreaking Remove boolean type as it is not supported.
42
44
  */
43
45
  icon: string | boolean;
44
46
  /** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter, VNode } from "../../stencil-public-runtime";
2
+ import { LoadableComponent } from "../../utils/loadable";
2
3
  import { LocalizedComponent, NumberingSystem } from "../../utils/locale";
3
4
  import { T9nComponent } from "../../utils/t9n";
4
5
  import { Scale } from "../interfaces";
@@ -8,7 +9,7 @@ export interface PaginationDetail {
8
9
  totalItems: number;
9
10
  startItem: number;
10
11
  }
11
- export declare class Pagination implements LocalizedComponent, LocalizedComponent, T9nComponent {
12
+ export declare class Pagination implements LocalizedComponent, LocalizedComponent, LoadableComponent, T9nComponent {
12
13
  /**
13
14
  * When `true`, number values are displayed with a group separator corresponding to the language and country format.
14
15
  */
@@ -47,7 +48,10 @@ export declare class Pagination implements LocalizedComponent, LocalizedComponen
47
48
  calcitePaginationChange: EventEmitter<void>;
48
49
  connectedCallback(): void;
49
50
  componentWillLoad(): Promise<void>;
51
+ componentDidLoad(): void;
50
52
  disconnectedCallback(): void;
53
+ /** Sets focus on the component's first focusable element. */
54
+ setFocus(): Promise<void>;
51
55
  /** Go to the next page of results. */
52
56
  nextPage(): Promise<void>;
53
57
  /** Go to the previous page of results. */
@@ -1,12 +1,13 @@
1
1
  import { EventEmitter, VNode } from "../../stencil-public-runtime";
2
2
  import { OverlayPositioning } from "../../utils/floating-ui";
3
3
  import { InteractiveComponent } from "../../utils/interactive";
4
+ import { LoadableComponent } from "../../utils/loadable";
4
5
  import { DropdownIconType } from "../button/interfaces";
5
6
  import { Appearance, FlipContext, Kind, Scale, Width } from "../interfaces";
6
7
  /**
7
8
  * @slot - A slot for adding `calcite-dropdown` content.
8
9
  */
9
- export declare class SplitButton implements InteractiveComponent {
10
+ export declare class SplitButton implements InteractiveComponent, LoadableComponent {
10
11
  el: HTMLCalciteSplitButtonElement;
11
12
  /** Specifies the appearance style of the component. */
12
13
  appearance: Extract<"outline" | "outline-fill" | "solid" | "transparent", Appearance>;
@@ -61,6 +62,10 @@ export declare class SplitButton implements InteractiveComponent {
61
62
  * Fires when the dropdown menu is clicked.
62
63
  */
63
64
  calciteSplitButtonSecondaryClick: EventEmitter<void>;
65
+ /** Sets focus on the component's first focusable element. */
66
+ setFocus(): Promise<void>;
67
+ componentWillLoad(): void;
68
+ componentDidLoad(): void;
64
69
  componentDidRender(): void;
65
70
  render(): VNode;
66
71
  private calciteSplitButtonPrimaryClickHandler;
@@ -255,6 +255,10 @@ export namespace Components {
255
255
  * Specifies the size of the `calcite-action-menu`.
256
256
  */
257
257
  "scale": Scale;
258
+ /**
259
+ * Sets focus on the component's first focusable element.
260
+ */
261
+ "setFocus": () => Promise<void>;
258
262
  }
259
263
  interface CalciteActionMenu {
260
264
  /**
@@ -990,6 +994,10 @@ export namespace Components {
990
994
  * Specifies the size of the component.
991
995
  */
992
996
  "scale": "s" | "m" | "l";
997
+ /**
998
+ * Sets focus on the component's first focusable element.
999
+ */
1000
+ "setFocus": () => Promise<void>;
993
1001
  /**
994
1002
  * Specifies the selected date as a string (`"yyyy-mm-dd"`), or an array of strings for `range` values (`["yyyy-mm-dd", "yyyy-mm-dd"]`).
995
1003
  */
@@ -1166,6 +1174,10 @@ export namespace Components {
1166
1174
  * @readonly
1167
1175
  */
1168
1176
  "selectedItems": HTMLCalciteDropdownItemElement[];
1177
+ /**
1178
+ * Sets focus on the component's first focusable element.
1179
+ */
1180
+ "setFocus": () => Promise<void>;
1169
1181
  /**
1170
1182
  * Specifies the action to open the component from the container element.
1171
1183
  */
@@ -1816,7 +1828,8 @@ export namespace Components {
1816
1828
  */
1817
1829
  "hidden": boolean;
1818
1830
  /**
1819
- * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.
1831
+ * Specifies an icon to display.
1832
+ * @futureBreaking Remove boolean type as it is not supported.
1820
1833
  */
1821
1834
  "icon": string | boolean;
1822
1835
  /**
@@ -1965,7 +1978,8 @@ export namespace Components {
1965
1978
  */
1966
1979
  "hidden": boolean;
1967
1980
  /**
1968
- * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.
1981
+ * Specifies an icon to display.
1982
+ * @futureBreaking Remove boolean type as it is not supported.
1969
1983
  */
1970
1984
  "icon": string | boolean;
1971
1985
  /**
@@ -2497,6 +2511,10 @@ export namespace Components {
2497
2511
  * Specifies the size of the component.
2498
2512
  */
2499
2513
  "scale": Scale;
2514
+ /**
2515
+ * Sets focus on the component's first focusable element.
2516
+ */
2517
+ "setFocus": () => Promise<void>;
2500
2518
  /**
2501
2519
  * Specifies the starting item number.
2502
2520
  */
@@ -3289,6 +3307,10 @@ export namespace Components {
3289
3307
  * Specifies the size of the component.
3290
3308
  */
3291
3309
  "scale": Scale;
3310
+ /**
3311
+ * Sets focus on the component's first focusable element.
3312
+ */
3313
+ "setFocus": () => Promise<void>;
3292
3314
  /**
3293
3315
  * Specifies the width of the component.
3294
3316
  */
@@ -6541,7 +6563,8 @@ declare namespace LocalJSX {
6541
6563
  */
6542
6564
  "hidden"?: boolean;
6543
6565
  /**
6544
- * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.
6566
+ * Specifies an icon to display.
6567
+ * @futureBreaking Remove boolean type as it is not supported.
6545
6568
  */
6546
6569
  "icon"?: string | boolean;
6547
6570
  /**
@@ -6681,7 +6704,8 @@ declare namespace LocalJSX {
6681
6704
  */
6682
6705
  "hidden"?: boolean;
6683
6706
  /**
6684
- * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.
6707
+ * Specifies an icon to display.
6708
+ * @futureBreaking Remove boolean type as it is not supported.
6685
6709
  */
6686
6710
  "icon"?: string | boolean;
6687
6711
  /**
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.0.4-next.5
4
+ * v1.1.0-next.0
5
5
  */
6
6
  'use strict';
7
7
 
@@ -9254,6 +9254,16 @@ class ActionGroup {
9254
9254
  effectiveLocaleChange() {
9255
9255
  updateMessages(this, this.effectiveLocale);
9256
9256
  }
9257
+ //--------------------------------------------------------------------------
9258
+ //
9259
+ // Public Methods
9260
+ //
9261
+ //--------------------------------------------------------------------------
9262
+ /** Sets focus on the component's first focusable element. */
9263
+ async setFocus() {
9264
+ await componentLoaded(this);
9265
+ this.el.focus();
9266
+ }
9257
9267
  // --------------------------------------------------------------------------
9258
9268
  //
9259
9269
  // Lifecycle
@@ -9270,8 +9280,12 @@ class ActionGroup {
9270
9280
  disconnectConditionalSlotComponent(this);
9271
9281
  }
9272
9282
  async componentWillLoad() {
9283
+ setUpLoadableComponent(this);
9273
9284
  await setUpMessages(this);
9274
9285
  }
9286
+ componentDidLoad() {
9287
+ setComponentLoaded(this);
9288
+ }
9275
9289
  // --------------------------------------------------------------------------
9276
9290
  //
9277
9291
  // Component Methods
@@ -9311,7 +9325,8 @@ class ActionGroup {
9311
9325
  "messages": [1040],
9312
9326
  "messageOverrides": [1040],
9313
9327
  "effectiveLocale": [32],
9314
- "defaultMessages": [32]
9328
+ "defaultMessages": [32],
9329
+ "setFocus": [64]
9315
9330
  },
9316
9331
  "$listeners$": undefined,
9317
9332
  "$lazyBundleId$": "-",
@@ -18063,6 +18078,16 @@ class DatePicker {
18063
18078
  onMessagesChange() {
18064
18079
  /* wired up by t9n util */
18065
18080
  }
18081
+ //--------------------------------------------------------------------------
18082
+ //
18083
+ // Public Methods
18084
+ //
18085
+ //--------------------------------------------------------------------------
18086
+ /** Sets focus on the component's first focusable element. */
18087
+ async setFocus() {
18088
+ await componentLoaded(this);
18089
+ this.el.focus();
18090
+ }
18066
18091
  // --------------------------------------------------------------------------
18067
18092
  //
18068
18093
  // Lifecycle
@@ -18089,11 +18114,15 @@ class DatePicker {
18089
18114
  disconnectMessages(this);
18090
18115
  }
18091
18116
  async componentWillLoad() {
18117
+ setUpLoadableComponent(this);
18092
18118
  await this.loadLocaleData();
18093
18119
  this.onMinChanged(this.min);
18094
18120
  this.onMaxChanged(this.max);
18095
18121
  await setUpMessages(this);
18096
18122
  }
18123
+ componentDidLoad() {
18124
+ setComponentLoaded(this);
18125
+ }
18097
18126
  render() {
18098
18127
  const date = dateFromRange(this.range && Array.isArray(this.valueAsDate) ? this.valueAsDate[0] : this.valueAsDate, this.minAsDate, this.maxAsDate);
18099
18128
  let activeDate = this.getActiveDate(date, this.minAsDate, this.maxAsDate);
@@ -18227,7 +18256,8 @@ class DatePicker {
18227
18256
  "effectiveLocale": [32],
18228
18257
  "defaultMessages": [32],
18229
18258
  "localeData": [32],
18230
- "hoverRange": [32]
18259
+ "hoverRange": [32],
18260
+ "setFocus": [64]
18231
18261
  },
18232
18262
  "$listeners$": undefined,
18233
18263
  "$lazyBundleId$": "-",
@@ -19064,6 +19094,16 @@ class Dropdown {
19064
19094
  }
19065
19095
  //--------------------------------------------------------------------------
19066
19096
  //
19097
+ // Public Methods
19098
+ //
19099
+ //--------------------------------------------------------------------------
19100
+ /** Sets focus on the component's first focusable element. */
19101
+ async setFocus() {
19102
+ await componentLoaded(this);
19103
+ this.el.focus();
19104
+ }
19105
+ //--------------------------------------------------------------------------
19106
+ //
19067
19107
  // Lifecycle
19068
19108
  //
19069
19109
  //--------------------------------------------------------------------------
@@ -19076,7 +19116,11 @@ class Dropdown {
19076
19116
  }
19077
19117
  connectOpenCloseComponent(this);
19078
19118
  }
19119
+ componentWillLoad() {
19120
+ setUpLoadableComponent(this);
19121
+ }
19079
19122
  componentDidLoad() {
19123
+ setComponentLoaded(this);
19080
19124
  this.reposition(true);
19081
19125
  }
19082
19126
  componentDidRender() {
@@ -19259,6 +19303,7 @@ class Dropdown {
19259
19303
  "selectedItems": [1040],
19260
19304
  "type": [513],
19261
19305
  "width": [513],
19306
+ "setFocus": [64],
19262
19307
  "reposition": [64]
19263
19308
  },
19264
19309
  "$listeners$": [[9, "pointerdown", "closeCalciteDropdownOnClick"], [0, "calciteInternalDropdownCloseRequest", "closeCalciteDropdownOnEvent"], [8, "calciteDropdownOpen", "closeCalciteDropdownOnOpenEvent"], [1, "pointerenter", "mouseEnterHandler"], [1, "pointerleave", "mouseLeaveHandler"], [0, "calciteInternalDropdownItemKeyEvent", "calciteInternalDropdownItemKeyEvent"], [0, "calciteInternalDropdownItemSelect", "handleItemSelect"]],
@@ -25939,6 +25984,10 @@ class Pagination {
25939
25984
  }
25940
25985
  async componentWillLoad() {
25941
25986
  await setUpMessages(this);
25987
+ setUpLoadableComponent(this);
25988
+ }
25989
+ componentDidLoad() {
25990
+ setComponentLoaded(this);
25942
25991
  }
25943
25992
  disconnectedCallback() {
25944
25993
  disconnectLocalized(this);
@@ -25949,6 +25998,11 @@ class Pagination {
25949
25998
  // Public Methods
25950
25999
  //
25951
26000
  // --------------------------------------------------------------------------
26001
+ /** Sets focus on the component's first focusable element. */
26002
+ async setFocus() {
26003
+ await componentLoaded(this);
26004
+ this.el.focus();
26005
+ }
25952
26006
  /** Go to the next page of results. */
25953
26007
  async nextPage() {
25954
26008
  this.startItem = Math.min(this.getLastStart(), this.startItem + this.pageSize);
@@ -26077,6 +26131,7 @@ class Pagination {
26077
26131
  "messages": [1040],
26078
26132
  "defaultMessages": [32],
26079
26133
  "effectiveLocale": [32],
26134
+ "setFocus": [64],
26080
26135
  "nextPage": [64],
26081
26136
  "previousPage": [64]
26082
26137
  },
@@ -33313,9 +33368,25 @@ class SplitButton {
33313
33368
  }
33314
33369
  //--------------------------------------------------------------------------
33315
33370
  //
33371
+ // Public Methods
33372
+ //
33373
+ //--------------------------------------------------------------------------
33374
+ /** Sets focus on the component's first focusable element. */
33375
+ async setFocus() {
33376
+ await componentLoaded(this);
33377
+ this.el.focus();
33378
+ }
33379
+ //--------------------------------------------------------------------------
33380
+ //
33316
33381
  // Lifecycle
33317
33382
  //
33318
33383
  //--------------------------------------------------------------------------
33384
+ componentWillLoad() {
33385
+ setUpLoadableComponent(this);
33386
+ }
33387
+ componentDidLoad() {
33388
+ setComponentLoaded(this);
33389
+ }
33319
33390
  componentDidRender() {
33320
33391
  updateHostInteraction(this);
33321
33392
  }
@@ -33363,7 +33434,8 @@ class SplitButton {
33363
33434
  "primaryLabel": [513, "primary-label"],
33364
33435
  "primaryText": [513, "primary-text"],
33365
33436
  "scale": [513],
33366
- "width": [513]
33437
+ "width": [513],
33438
+ "setFocus": [64]
33367
33439
  },
33368
33440
  "$listeners$": undefined,
33369
33441
  "$lazyBundleId$": "-",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.4-next.5",
3
+ "version": "1.1.0-next.0",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
package/readme.md CHANGED
@@ -13,10 +13,7 @@ Calcite Components, part of Esri's Calcite Design System, is a rich library of f
13
13
  The most common approach for loading Calcite Components is to use the version hosted on the CDN. The components can be loaded via `<script>` and `<link>` tags in the head of your HTML document:
14
14
 
15
15
  ```html
16
- <script
17
- type="module"
18
- src="https://unpkg.com/@esri/calcite-components@1.0.3/dist/calcite/calcite.esm.js"
19
- ></script>
16
+ <script type="module" src="https://unpkg.com/@esri/calcite-components@1.0.3/dist/calcite/calcite.esm.js"></script>
20
17
  <link
21
18
  rel="stylesheet"
22
19
  type="text/css"
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.4-next.5
5
- */
6
- import{r as i,c as t,h as e,F as a,g as s}from"./p-9d499209.js";import{n,c as o,d as c}from"./p-4c2d1400.js";import{u as r,c as l,s as h,d as p}from"./p-0b918318.js";import"./p-050035cc.js";import"./p-40149f32.js";import"./p-76606d9f.js";import"./p-02be0f65.js";import"./p-eee4dbbb.js";const m=class{constructor(e){i(this,e),this.calcitePaginationChange=t(this,"calcitePaginationChange",6),this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()},this.groupSeparator=!1,this.messageOverrides=void 0,this.pageSize=20,this.numberingSystem=void 0,this.startItem=1,this.totalItems=0,this.scale="m",this.defaultMessages=void 0,this.effectiveLocale="",this.messages=void 0}onMessagesChange(){}effectiveLocaleChange(){r(this,this.effectiveLocale)}effectiveLocaleWatcher(){n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}connectedCallback(){o(this),l(this)}async componentWillLoad(){await h(this)}disconnectedCallback(){c(this),p(this)}async nextPage(){this.startItem=Math.min(this.getLastStart(),this.startItem+this.pageSize)}async previousPage(){this.startItem=Math.max(1,this.startItem-this.pageSize)}getLastStart(){const{totalItems:i,pageSize:t}=this;return 1+(i%t==0?i-t:Math.floor(i/t)*t)}showLeftEllipsis(){return Math.floor(this.startItem/this.pageSize)>3}showRightEllipsis(){return(this.totalItems-this.startItem)/this.pageSize>3}emitUpdate(){this.calcitePaginationChange.emit()}renderPages(){const i=this.getLastStart();let t,e;this.totalItems/this.pageSize<=5?(e=1+this.pageSize,t=i-this.pageSize):this.startItem/this.pageSize<4?(e=1+this.pageSize,t=1+4*this.pageSize):this.startItem+3*this.pageSize>=this.totalItems?(e=i-4*this.pageSize,t=i-this.pageSize):(e=this.startItem-this.pageSize,t=this.startItem+this.pageSize);const a=[];for(;e<=t;)a.push(e),e+=this.pageSize;return a.map((i=>this.renderPage(i)))}renderPage(i){const t=Math.floor(i/this.pageSize)+(1===this.pageSize?0:1);n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const a=n.localize(t.toString());return e("button",{class:{page:!0,"is-selected":i===this.startItem},onClick:()=>{this.startItem=i,this.emitUpdate()}},a)}renderLeftEllipsis(){if(this.totalItems/this.pageSize>5&&this.showLeftEllipsis())return e("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.totalItems/this.pageSize>5&&this.showRightEllipsis())return e("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{totalItems:i,pageSize:t,startItem:s}=this,n=1===t?s<=t:s<t,o=s+t>i;return e(a,null,e("button",{"aria-label":this.messages.previous,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"l"===this.scale?"m":"s"})),i>t?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),e("button",{"aria-label":this.messages.next,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"l"===this.scale?"m":"s"})))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","effectiveLocaleWatcher"]}}};m.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing-internal:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing-internal:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing-internal:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:flex;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-block:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing-internal)}.ellipsis{display:flex;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{m as calcite_pagination}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.4-next.5
5
- */
6
- import{r as t,c as i,h as a,g as e}from"./p-9d499209.js";import{u as n}from"./p-14ba5650.js";const o=class{constructor(a){t(this,a),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit(),this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit(),this.appearance="solid",this.kind="brand",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.dropdownLabel=void 0,this.loading=!1,this.overlayPositioning="absolute",this.primaryIconEnd=void 0,this.primaryIconFlipRtl=void 0,this.primaryIconStart=void 0,this.primaryLabel=void 0,this.primaryText=void 0,this.scale="m",this.width="auto"}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}componentDidRender(){n(this)}render(){return a("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width}},a("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,kind:this.kind,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),a("div",{class:"split-button__divider-container"},a("div",{class:"split-button__divider"})),a("calcite-dropdown",{disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},a("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-start":this.dropdownIcon,kind:this.kind,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),a("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}static get delegatesFocus(){return!0}get el(){return e(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};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}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block}:host .split-button__container{display:flex;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host:host([kind=brand]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([kind=danger]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([kind=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host:host([kind=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1);--calcite-split-button-background:transparent}:host([appearance=outline]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline-fill]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:flex;inline-size:1px;align-items:stretch;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]) .split-button__divider-container,:host([appearance=outline]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline-fill]):hover .split-button__divider-container,:host([appearance=outline]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:hover) .split-button__divider-container,:host([appearance=outline]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline-fill]:focus-within) .split-button__divider-container,:host([appearance=outline]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{o as calcite_split_button}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.4-next.5
5
- */
6
- import{r as t,h as e,F as i,g as a,f as n}from"./p-9d499209.js";import{c as o,d as l}from"./p-1e637e7e.js";import{s,y as c,g as r,b as d,i as h}from"./p-050035cc.js";import{c as p,d as m}from"./p-4c2d1400.js";import{c as f}from"./p-7dfb0797.js";import{c as u,s as x,d as w,u as b}from"./p-0b918318.js";import"./p-eee4dbbb.js";import"./p-40149f32.js";import"./p-76606d9f.js";import"./p-02be0f65.js";const v=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!s(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!s(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!s(t),c(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!s(t),c(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){o(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),i=e("slot",{key:"center-row-slot",name:"center-row"}),a="content-container";return this.contentBehind?[e("div",{class:{content:!0,"content--behind":!0},key:a},t),i]:[e("div",{class:"content",key:a},t,i)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return e(i,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return a(this)}};v.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}.position-wrapper{position:absolute;pointer-events:none;inset:0}";const g=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){o(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,a=e("div",{class:"content"},e("slot",null)),n=r(t,"action-bar"),o=[n?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:"action-bar"})):null,a];return"end"===n?.position&&o.reverse(),e(i,null,o)}get el(){return a(this)}};g.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";const y=class{constructor(e){t(this,e),this.initialContentWidth=null,this.initialClientX=null,this.contentWidthMax=null,this.contentWidthMin=null,this.step=1,this.stepMultiplier=10,this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedWidth=t=>{const{key:e}=t,{el:i,step:a,stepMultiplier:n,contentWidthMin:o,contentWidthMax:l,initialContentWidth:s,position:c}=this,r=a*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const h=["ArrowLeft","ArrowRight"],p="rtl"===d(i)&&h.includes(e)?-1:1;return"ArrowUp"===e||("end"===c?e===h[0]:e===h[1])?s+p*(t.shiftKey?r:a):"ArrowDown"===e||("end"===c?e===h[1]:e===h[0])?s-p*(t.shiftKey?r:a):"number"==typeof o&&"Home"===e?o:"number"==typeof l&&"End"===e?l:"PageDown"===e?s-r:"PageUp"===e?s+r:null},this.separatorKeyDown=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedWidth(t);"number"==typeof e&&this.setContentWidth(e)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,initialContentWidth:i,position:a,initialClientX:n}=this,o=t.clientX-n,l="rtl"===d(e)?-1:1;this.setContentWidth(i+("end"===a?-l*o:l*o))},this.separatorPointerUp=t=>{h(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!h(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),this.setInitialContentWidth(),this.initialClientX=t.clientX,document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.collapsed=!1,this.detached=!1,this.detachedHeightScale="l",this.widthScale="m",this.position=void 0,this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){o(this),p(this),u(this)}async componentWillLoad(){await x(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),m(this),w(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){b(this,this.effectiveLocale)}renderHeader(){const{el:t}=this;return r(t,"header")?e("div",{class:"content__header",key:"header"},e("slot",{name:"header"})):null}render(){const{collapsed:t,detached:i,position:a,initialContentWidth:n,contentWidth:o,contentWidthMax:l,contentWidthMin:s,resizable:c}=this,r=!i&&c,d=e("div",{class:{content:!0,"content--detached":i},hidden:t,key:"content",ref:this.storeContentEl,style:r&&o?{width:`${o}px`}:null},this.renderHeader(),e("div",{class:"content__body"},e("slot",null))),h=r?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal","aria-valuemax":l,"aria-valuemin":s,"aria-valuenow":o??n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null,p=[e("slot",{key:"action-bar",name:"action-bar"}),d,h];return"end"===a&&p.reverse(),e("div",{class:{container:!0}},p)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,a=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?f(a,i,e):a}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);if(!e)return;const i=parseInt(e.getPropertyValue("max-width"),10),a=parseInt(e.getPropertyValue("min-width"),10),o=parseInt(e.getPropertyValue("width"),10);"number"!=typeof o||isNaN(o)||(this.initialContentWidth=o),"number"!=typeof i||isNaN(i)||(this.contentWidthMax=i),"number"!=typeof a||isNaN(a)||(this.contentWidthMin=a),n(this)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{pointer-events:none;display:flex;flex:0 1 auto;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}:host([width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 40vh)}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 60vh)}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 80vh)}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height-internal)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}";export{v as calcite_shell,g as calcite_shell_center_row,y as calcite_shell_panel}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.4-next.5
5
- */
6
- import{r as t,c as e,h as i,g as a}from"./p-9d499209.js";import{c as n,d as o}from"./p-1e637e7e.js";import{t as r,g as s}from"./p-050035cc.js";import{c,d as l}from"./p-4c2d1400.js";import{c as d,d as m,s as h,u as f}from"./p-0b918318.js";import"./p-eee4dbbb.js";import"./p-40149f32.js";import"./p-76606d9f.js";import"./p-02be0f65.js";const p=class{constructor(i){t(this,i),this.calciteCardSelect=e(this,"calciteCardSelect",6),this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(t.key){case" ":case"Enter":this.selectCard(),t.preventDefault()}},this.loading=!1,this.selected=!1,this.selectable=!1,this.thumbnailPosition="block-start",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}connectedCallback(){n(this),c(this),d(this)}disonnectedCallback(){o(this),l(this),m(this)}async componentWillLoad(){await h(this)}render(){const t=this.thumbnailPosition.startsWith("inline"),e=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:t}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{label:this.messages.loading})):null,e&&this.renderThumbnail(),i("section",{"aria-busy":r(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!e&&this.renderThumbnail())}effectiveLocaleChange(){f(this,this.effectiveLocale)}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return s(this.el,"thumbnail")?i("section",{class:"thumbnail-wrapper"},i("slot",{name:"thumbnail"})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.selected?this.messages.deselect:this.messages.select}))}renderHeader(){const{el:t}=this,e=s(t,"title"),a=s(t,"subtitle");return e||a?i("header",{class:"header"},i("slot",{name:"title"}),i("slot",{name:"subtitle"})):null}renderFooter(){const{el:t}=this,e=s(t,"footer-start"),a=s(t,"footer-end");return e||a?i("footer",{class:"footer"},i("slot",{name:"footer-start"}),i("slot",{name:"footer-end"})):null}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};p.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header,.footer{display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{flex-direction:column}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selectable]) .header{padding-inline-end:2rem}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:flex}.calcite-card-container.inline{flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}";export{p as calcite_card}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.4-next.5
5
- */
6
- import{r as t,h as a,F as i,g as e}from"./p-9d499209.js";import{c as n,d as o}from"./p-1e637e7e.js";import{g as c}from"./p-050035cc.js";import{c as s,d as r}from"./p-4c2d1400.js";import{u as l,c as m,d,s as p}from"./p-0b918318.js";import{S as u}from"./p-e98ea83e.js";import{S as h,I as f}from"./p-4f1b1c5b.js";import"./p-eee4dbbb.js";import"./p-40149f32.js";import"./p-76606d9f.js";import"./p-02be0f65.js";const g=class{constructor(a){t(this,a),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.expanded=!1,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){l(this,this.effectiveLocale)}connectedCallback(){s(this),m(this),n(this)}disconnectedCallback(){r(this),d(this),o(this)}async componentWillLoad(){await p(this)}renderTooltip(){const{el:t}=this;return c(t,h.menuTooltip)?a("slot",{name:h.menuTooltip,slot:u.tooltip}):null}renderMenu(){const{el:t,expanded:i,menuOpen:e,scale:n,layout:o,messages:s}=this;return c(t,h.menuActions)?a("calcite-action-menu",{expanded:i,flipPlacements:["left","right"],label:s.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,placement:"horizontal"===o?"bottom-start":"leading-start",scale:n},a("calcite-action",{icon:f.menu,scale:n,slot:u.trigger,text:s.more,textEnabled:i}),a("slot",{name:h.menuActions}),this.renderTooltip()):null}render(){return a(i,null,a("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};g.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]){flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';export{g as calcite_action_group}