@esri/calcite-components 1.0.0-next.648 → 1.0.0-next.649

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 (665) 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-814781cb.entry.js → p-03034b43.entry.js} +2 -2
  4. package/dist/calcite/p-0e00a304.entry.js +6 -0
  5. package/dist/calcite/{p-baa8f7bc.entry.js → p-100157be.entry.js} +2 -2
  6. package/dist/calcite/{p-67d85cbe.entry.js → p-1211dea3.entry.js} +2 -2
  7. package/dist/calcite/{p-cee46df8.entry.js → p-12f9481d.entry.js} +2 -2
  8. package/dist/calcite/{p-08b637c8.js → p-165039c7.js} +2 -2
  9. package/dist/calcite/{p-27f9c706.entry.js → p-1c23f597.entry.js} +2 -2
  10. package/dist/calcite/{p-e6808a92.entry.js → p-1e53c499.entry.js} +2 -2
  11. package/dist/calcite/{p-98482c33.js → p-22186c5d.js} +1 -1
  12. package/dist/calcite/{p-899bb6c9.js → p-22bd463b.js} +1 -1
  13. package/dist/calcite/p-2692bb4e.js +6 -0
  14. package/dist/calcite/{p-ccee598f.js → p-2aee9306.js} +1 -1
  15. package/dist/calcite/{p-b52f7d75.js → p-2ca0d844.js} +1 -1
  16. package/dist/calcite/{p-a153ceb9.entry.js → p-2ef61a7c.entry.js} +2 -2
  17. package/dist/calcite/{p-3dee2426.js → p-2fc52526.js} +2 -2
  18. package/dist/calcite/{p-ea7d6712.entry.js → p-318e12b4.entry.js} +2 -2
  19. package/dist/calcite/{p-bc83a040.entry.js → p-334064d6.entry.js} +2 -2
  20. package/dist/calcite/{p-dbc6b9f3.entry.js → p-33fd1d25.entry.js} +2 -2
  21. package/dist/calcite/{p-cf1c6c75.entry.js → p-3685e2e4.entry.js} +2 -2
  22. package/dist/calcite/{p-8d698c02.js → p-369fbab6.js} +2 -2
  23. package/dist/calcite/{p-fb2d9c76.entry.js → p-37dfec89.entry.js} +2 -2
  24. package/dist/calcite/{p-1772492f.js → p-37eb2342.js} +2 -2
  25. package/dist/calcite/p-389e80e1.entry.js +6 -0
  26. package/dist/calcite/{p-97aa02a7.entry.js → p-3d520b4d.entry.js} +2 -2
  27. package/dist/calcite/{p-e8458683.js → p-3d631a58.js} +1 -1
  28. package/dist/calcite/{p-76595820.js → p-3e12dbdb.js} +1 -1
  29. package/dist/calcite/{p-bfbb104f.js → p-3e3ec363.js} +2 -2
  30. package/dist/calcite/{p-4e425d6d.entry.js → p-4196343c.entry.js} +2 -2
  31. package/dist/calcite/{p-2df94b10.entry.js → p-44c6896e.entry.js} +2 -2
  32. package/dist/calcite/p-4a77b0c1.entry.js +6 -0
  33. package/dist/calcite/{p-0ffdcdc0.entry.js → p-5222b620.entry.js} +2 -2
  34. package/dist/calcite/{p-ee839eac.entry.js → p-558d7a95.entry.js} +2 -2
  35. package/dist/calcite/{p-a524f551.js → p-56948fdb.js} +1 -1
  36. package/dist/calcite/p-57fb133d.entry.js +6 -0
  37. package/dist/calcite/{p-47429a01.js → p-59ffd3ab.js} +1 -1
  38. package/dist/calcite/{p-ccd997a5.js → p-5eec1f37.js} +2 -2
  39. package/dist/calcite/{p-7882040c.entry.js → p-5fc49ba6.entry.js} +2 -2
  40. package/dist/calcite/{p-c38f2146.entry.js → p-5fdf113c.entry.js} +2 -2
  41. package/dist/calcite/{p-8dc39c82.js → p-60ab59c8.js} +4 -4
  42. package/dist/calcite/{p-acdfbe58.entry.js → p-66d6a7a4.entry.js} +2 -2
  43. package/dist/calcite/{p-c84dc5ee.entry.js → p-673b82b2.entry.js} +2 -2
  44. package/dist/calcite/{p-7000e938.js → p-6ac35a8e.js} +1 -1
  45. package/dist/calcite/{p-9ba0329d.entry.js → p-7837c8db.entry.js} +2 -2
  46. package/dist/calcite/{p-3420b873.js → p-88bd5546.js} +1 -1
  47. package/dist/calcite/{p-641676a3.entry.js → p-8e2456d1.entry.js} +2 -2
  48. package/dist/calcite/{p-540a1d98.entry.js → p-8e862f0f.entry.js} +2 -2
  49. package/dist/calcite/{p-4eea0858.js → p-9116d3da.js} +1 -1
  50. package/dist/calcite/{p-8bec15c8.js → p-91261ae4.js} +1 -1
  51. package/dist/calcite/{p-9a49dffd.entry.js → p-93c9bf96.entry.js} +2 -2
  52. package/dist/calcite/{p-4171bc38.entry.js → p-94467288.entry.js} +2 -2
  53. package/dist/calcite/{p-b6776fe1.js → p-9c315c16.js} +2 -2
  54. package/dist/calcite/{p-447e09ea.entry.js → p-9cb526ee.entry.js} +2 -2
  55. package/dist/calcite/p-a1103787.entry.js +6 -0
  56. package/dist/calcite/{p-ad9d35c9.js → p-a215715b.js} +2 -2
  57. package/dist/calcite/p-a598a5a8.js +6 -0
  58. package/dist/calcite/{p-3e729da6.entry.js → p-a75a8f91.entry.js} +2 -2
  59. package/dist/calcite/{p-01951f49.entry.js → p-a94a542d.entry.js} +2 -2
  60. package/dist/calcite/p-aa9a44ff.entry.js +6 -0
  61. package/dist/calcite/{p-5132e56e.js → p-ace4295d.js} +2 -2
  62. package/dist/calcite/{p-9d716dd8.entry.js → p-ad91b203.entry.js} +2 -2
  63. package/dist/calcite/{p-065d1961.entry.js → p-afd26b8f.entry.js} +2 -2
  64. package/dist/calcite/{p-146e6fec.entry.js → p-b5981b67.entry.js} +2 -2
  65. package/dist/calcite/{p-bc2e3363.entry.js → p-b5cc32f0.entry.js} +2 -2
  66. package/dist/calcite/p-b62a4b9a.entry.js +6 -0
  67. package/dist/calcite/{p-fe41558d.entry.js → p-b7ef6fc4.entry.js} +2 -2
  68. package/dist/calcite/{p-7d218367.entry.js → p-b9aba8cb.entry.js} +2 -2
  69. package/dist/calcite/{p-62ed162f.entry.js → p-b9eef341.entry.js} +2 -2
  70. package/dist/calcite/{p-7b0f24d1.entry.js → p-bda69a89.entry.js} +2 -2
  71. package/dist/calcite/{p-9cd58cea.entry.js → p-bf0f919b.entry.js} +2 -2
  72. package/dist/calcite/{p-90701611.js → p-bf125bc0.js} +1 -1
  73. package/dist/calcite/{p-393f5e31.entry.js → p-c0c72cd8.entry.js} +2 -2
  74. package/dist/calcite/{p-2bf231e6.entry.js → p-c5639ba1.entry.js} +2 -2
  75. package/dist/calcite/{p-6cca7988.entry.js → p-cd6d5b43.entry.js} +2 -2
  76. package/dist/calcite/{p-b1ec2e57.js → p-d201e7fd.js} +1 -1
  77. package/dist/calcite/{p-63dbaaa6.entry.js → p-d2af61fd.entry.js} +2 -2
  78. package/dist/calcite/p-d67b11e5.entry.js +6 -0
  79. package/dist/calcite/{p-0b90715c.js → p-d932e9a8.js} +1 -1
  80. package/dist/calcite/p-d9f11410.entry.js +6 -0
  81. package/dist/calcite/{p-349515d1.js → p-dce3b94a.js} +2 -2
  82. package/dist/calcite/{p-f2b2590f.entry.js → p-df0386e9.entry.js} +2 -2
  83. package/dist/calcite/{p-00d2d773.entry.js → p-e06c6ef8.entry.js} +2 -2
  84. package/dist/calcite/{p-bf4b49d3.entry.js → p-e1359e46.entry.js} +2 -2
  85. package/dist/calcite/{p-e5daf36b.entry.js → p-e1cfe7db.entry.js} +2 -2
  86. package/dist/calcite/{p-51db2c02.entry.js → p-e231bdc8.entry.js} +2 -2
  87. package/dist/calcite/{p-b8723343.entry.js → p-e53dff85.entry.js} +2 -2
  88. package/dist/calcite/{p-5d213adf.js → p-e7eed877.js} +2 -2
  89. package/dist/calcite/{p-12b0f2c6.js → p-e86acc2b.js} +1 -1
  90. package/dist/calcite/{p-ec0702ea.entry.js → p-eaeb6b54.entry.js} +2 -2
  91. package/dist/calcite/{p-f3ed0fa6.js → p-f2e09bee.js} +1 -1
  92. package/dist/calcite/p-f4cd0b2f.entry.js +6 -0
  93. package/dist/calcite/{p-9361cf84.entry.js → p-f5ef1035.entry.js} +2 -2
  94. package/dist/cjs/{ExpandToggle-ffd89d79.js → ExpandToggle-8c3b5dde.js} +5 -5
  95. package/dist/cjs/{Heading-9512d69c.js → Heading-b1eff0d5.js} +2 -2
  96. package/dist/cjs/{app-globals-48762390.js → app-globals-ee27ea1e.js} +2 -2
  97. package/dist/cjs/{array-c58adfeb.js → array-b4d773ff.js} +1 -1
  98. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  99. package/dist/cjs/calcite-action-bar.cjs.entry.js +13 -13
  100. package/dist/cjs/calcite-action-group.cjs.entry.js +10 -10
  101. package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
  102. package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -12
  103. package/dist/cjs/calcite-action.cjs.entry.js +8 -8
  104. package/dist/cjs/calcite-alert.cjs.entry.js +11 -11
  105. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  106. package/dist/cjs/calcite-block_2.cjs.entry.js +14 -20
  107. package/dist/cjs/calcite-button.cjs.entry.js +10 -10
  108. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  109. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  110. package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
  111. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
  112. package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
  113. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -11
  114. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  115. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  116. package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
  117. package/dist/cjs/calcite-flow-item.cjs.entry.js +8 -8
  118. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  119. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  120. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  121. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  122. package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
  123. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
  124. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  125. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  126. package/dist/cjs/calcite-input-text.cjs.entry.js +10 -10
  127. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +12 -12
  128. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  129. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  130. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  131. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  132. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  133. package/dist/cjs/calcite-modal.cjs.entry.js +10 -10
  134. package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
  135. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  136. package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
  137. package/dist/cjs/calcite-panel.cjs.entry.js +11 -11
  138. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +13 -13
  139. package/dist/cjs/calcite-popover.cjs.entry.js +12 -12
  140. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  141. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  142. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  143. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
  144. package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
  145. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  146. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  147. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  148. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  149. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  150. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  151. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  152. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  153. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  154. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  155. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  156. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  157. package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
  158. package/dist/cjs/calcite.cjs.js +5 -5
  159. package/dist/cjs/{conditionalSlot-ab38a07e.js → conditionalSlot-f67c6a2b.js} +3 -3
  160. package/dist/cjs/{debounce-b8ece744.js → debounce-63a14cdf.js} +1 -1
  161. package/dist/cjs/{dom-8dcbe60b.js → dom-070a27d9.js} +3 -3
  162. package/dist/cjs/{filter-dcf36f89.js → filter-3f434023.js} +2 -2
  163. package/dist/cjs/{floating-ui-58bc577e.js → floating-ui-1ef94755.js} +4 -4
  164. package/dist/cjs/{focusTrapComponent-4575255a.js → focusTrapComponent-084c6230.js} +2 -2
  165. package/dist/cjs/{form-54565442.js → form-8c6d38a0.js} +3 -3
  166. package/dist/cjs/{guid-4caf8697.js → guid-4c7db122.js} +1 -1
  167. package/dist/cjs/{index-66bfeb5a.js → index-a88aeb73.js} +1 -1
  168. package/dist/cjs/index.cjs.js +1 -1
  169. package/dist/cjs/{interactive-61857e22.js → interactive-6a565a7d.js} +1 -1
  170. package/dist/cjs/{interfaces-f9527bdd.js → interfaces-3ae98370.js} +1 -1
  171. package/dist/cjs/{key-aa68c66b.js → key-3910ca3f.js} +1 -1
  172. package/dist/cjs/{label-ebe09dfe.js → label-5d1f5c7e.js} +2 -2
  173. package/dist/cjs/{loadable-f0410eb8.js → loadable-e1b975eb.js} +1 -1
  174. package/dist/cjs/loader.cjs.js +5 -5
  175. package/dist/cjs/{locale-6b2788ff.js → locale-0ad88e69.js} +4 -4
  176. package/dist/cjs/{math-92197020.js → math-921a2029.js} +1 -1
  177. package/dist/cjs/{nonChromiumPlatformUtils-d9338106.js → nonChromiumPlatformUtils-4129daff.js} +6 -6
  178. package/dist/cjs/{observers-b2096d49.js → observers-7629d33c.js} +1 -1
  179. package/dist/cjs/{openCloseComponent-7d4eb009.js → openCloseComponent-beba6cfa.js} +1 -1
  180. package/dist/cjs/{resources-bfbd2af1.js → resources-0052562f.js} +1 -1
  181. package/dist/cjs/{resources-c00001d9.js → resources-1ab72d4c.js} +3 -3
  182. package/dist/cjs/{resources-aab81366.js → resources-1db9ff52.js} +1 -1
  183. package/dist/cjs/{resources-15b63465.js → resources-4f270690.js} +1 -1
  184. package/dist/cjs/{resources-df673a39.js → resources-5669141a.js} +1 -1
  185. package/dist/cjs/{resources-a8623473.js → resources-7ffb9eeb.js} +5 -5
  186. package/dist/cjs/{sortable.esm-05f24e8e.js → sortable.esm-91bc3776.js} +1 -1
  187. package/dist/cjs/{utils-2e6032bf.js → utils-fece558c.js} +1 -1
  188. package/dist/collection/components/accordion/accordion.js +1 -1
  189. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  190. package/dist/collection/components/accordion-item/resources.js +1 -1
  191. package/dist/collection/components/action/action.js +1 -1
  192. package/dist/collection/components/action/resources.js +1 -1
  193. package/dist/collection/components/action-bar/action-bar.js +2 -2
  194. package/dist/collection/components/action-bar/resources.js +1 -1
  195. package/dist/collection/components/action-bar/utils.js +1 -1
  196. package/dist/collection/components/action-group/action-group.js +2 -2
  197. package/dist/collection/components/action-group/resources.js +1 -1
  198. package/dist/collection/components/action-menu/action-menu.js +6 -11
  199. package/dist/collection/components/action-menu/resources.js +1 -1
  200. package/dist/collection/components/action-pad/action-pad.js +2 -2
  201. package/dist/collection/components/action-pad/resources.js +1 -1
  202. package/dist/collection/components/alert/alert.js +1 -1
  203. package/dist/collection/components/alert/interfaces.js +1 -1
  204. package/dist/collection/components/alert/resources.js +1 -1
  205. package/dist/collection/components/avatar/avatar.js +1 -1
  206. package/dist/collection/components/avatar/utils.js +1 -1
  207. package/dist/collection/components/block/block.css +0 -5
  208. package/dist/collection/components/block/block.js +4 -50
  209. package/dist/collection/components/block/resources.js +1 -2
  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 +1 -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 +1 -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 +1 -1
  272. package/dist/collection/components/input-number/resources.js +1 -1
  273. package/dist/collection/components/input-text/input-text.js +1 -1
  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 +1 -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/radio-group/radio-group.js +1 -1
  313. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  314. package/dist/collection/components/radio-group-item/resources.js +1 -1
  315. package/dist/collection/components/rating/rating.js +1 -1
  316. package/dist/collection/components/rating/resources.js +1 -1
  317. package/dist/collection/components/scrim/resources.js +1 -1
  318. package/dist/collection/components/scrim/scrim.js +1 -1
  319. package/dist/collection/components/select/resources.js +1 -1
  320. package/dist/collection/components/select/select.js +1 -1
  321. package/dist/collection/components/shell/resources.js +1 -1
  322. package/dist/collection/components/shell/shell.js +1 -1
  323. package/dist/collection/components/shell-center-row/resources.js +1 -1
  324. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  325. package/dist/collection/components/shell-panel/resources.js +1 -1
  326. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  327. package/dist/collection/components/slider/resources.js +1 -1
  328. package/dist/collection/components/slider/slider.js +1 -1
  329. package/dist/collection/components/sortable-list/resources.js +1 -1
  330. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  331. package/dist/collection/components/split-button/resources.js +1 -1
  332. package/dist/collection/components/split-button/split-button.js +1 -1
  333. package/dist/collection/components/stepper/stepper.js +1 -1
  334. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  335. package/dist/collection/components/switch/switch.js +1 -1
  336. package/dist/collection/components/tab/tab.js +1 -1
  337. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  338. package/dist/collection/components/tab-title/tab-title.js +1 -1
  339. package/dist/collection/components/tabs/resources.js +1 -1
  340. package/dist/collection/components/tabs/tabs.js +1 -1
  341. package/dist/collection/components/tile/resources.js +1 -1
  342. package/dist/collection/components/tile/tile.js +1 -1
  343. package/dist/collection/components/tile-select/resources.js +1 -1
  344. package/dist/collection/components/tile-select/tile-select.js +1 -1
  345. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  346. package/dist/collection/components/time-picker/resources.js +1 -1
  347. package/dist/collection/components/time-picker/time-picker.js +1 -1
  348. package/dist/collection/components/tip/resources.js +1 -1
  349. package/dist/collection/components/tip/tip.js +1 -1
  350. package/dist/collection/components/tip-group/tip-group.js +1 -1
  351. package/dist/collection/components/tip-manager/resources.js +1 -1
  352. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  353. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  354. package/dist/collection/components/tooltip/resources.js +1 -1
  355. package/dist/collection/components/tooltip/tooltip.js +1 -1
  356. package/dist/collection/components/tree/tree.js +1 -1
  357. package/dist/collection/components/tree/utils.js +1 -1
  358. package/dist/collection/components/tree-item/resources.js +1 -1
  359. package/dist/collection/components/tree-item/tree-item.js +1 -1
  360. package/dist/collection/components/value-list/resources.js +1 -1
  361. package/dist/collection/components/value-list/utils.js +1 -1
  362. package/dist/collection/components/value-list/value-list.js +1 -1
  363. package/dist/collection/components/value-list-item/resources.js +1 -1
  364. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  365. package/dist/collection/utils/array.js +1 -1
  366. package/dist/collection/utils/conditionalSlot.js +1 -1
  367. package/dist/collection/utils/config.js +1 -1
  368. package/dist/collection/utils/date.js +1 -1
  369. package/dist/collection/utils/dom.js +1 -1
  370. package/dist/collection/utils/filter.js +1 -1
  371. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  372. package/dist/collection/utils/floating-ui.js +1 -1
  373. package/dist/collection/utils/focusTrapComponent.js +1 -1
  374. package/dist/collection/utils/form.js +1 -1
  375. package/dist/collection/utils/globalAttributes.js +1 -1
  376. package/dist/collection/utils/globalScript.js +1 -1
  377. package/dist/collection/utils/guid.js +1 -1
  378. package/dist/collection/utils/interactive.js +1 -1
  379. package/dist/collection/utils/key.js +1 -1
  380. package/dist/collection/utils/label.js +1 -1
  381. package/dist/collection/utils/loadable.js +1 -1
  382. package/dist/collection/utils/locale.js +1 -1
  383. package/dist/collection/utils/math.js +1 -1
  384. package/dist/collection/utils/number.js +1 -1
  385. package/dist/collection/utils/observers.js +1 -1
  386. package/dist/collection/utils/openCloseComponent.js +1 -1
  387. package/dist/collection/utils/resources.js +1 -1
  388. package/dist/collection/utils/t9n.js +1 -1
  389. package/dist/collection/utils/theme.js +1 -1
  390. package/dist/collection/utils/time.js +1 -1
  391. package/dist/components/ExpandToggle.js +1 -1
  392. package/dist/components/Heading.js +1 -1
  393. package/dist/components/action-group.js +2 -2
  394. package/dist/components/action-menu.js +2 -2
  395. package/dist/components/action.js +1 -1
  396. package/dist/components/array.js +1 -1
  397. package/dist/components/button.js +1 -1
  398. package/dist/components/calcite-accordion-item.js +1 -1
  399. package/dist/components/calcite-accordion.js +1 -1
  400. package/dist/components/calcite-action-bar.js +2 -2
  401. package/dist/components/calcite-action-group.js +1 -1
  402. package/dist/components/calcite-action-menu.js +1 -1
  403. package/dist/components/calcite-action-pad.js +2 -2
  404. package/dist/components/calcite-action.js +1 -1
  405. package/dist/components/calcite-alert.js +1 -1
  406. package/dist/components/calcite-avatar.js +1 -1
  407. package/dist/components/calcite-block-section.js +1 -1
  408. package/dist/components/calcite-block.js +6 -14
  409. package/dist/components/calcite-button.js +1 -1
  410. package/dist/components/calcite-card.js +1 -1
  411. package/dist/components/calcite-checkbox.js +1 -1
  412. package/dist/components/calcite-chip.js +1 -1
  413. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  414. package/dist/components/calcite-color-picker-swatch.js +1 -1
  415. package/dist/components/calcite-color-picker.js +1 -1
  416. package/dist/components/calcite-combobox-item-group.js +1 -1
  417. package/dist/components/calcite-combobox-item.js +1 -1
  418. package/dist/components/calcite-combobox.js +1 -1
  419. package/dist/components/calcite-date-picker-day.js +1 -1
  420. package/dist/components/calcite-date-picker-month-header.js +1 -1
  421. package/dist/components/calcite-date-picker-month.js +1 -1
  422. package/dist/components/calcite-date-picker.js +1 -1
  423. package/dist/components/calcite-dropdown-group.js +1 -1
  424. package/dist/components/calcite-dropdown-item.js +1 -1
  425. package/dist/components/calcite-dropdown.js +1 -1
  426. package/dist/components/calcite-fab.js +1 -1
  427. package/dist/components/calcite-filter.js +1 -1
  428. package/dist/components/calcite-flow-item.js +1 -1
  429. package/dist/components/calcite-flow.js +1 -1
  430. package/dist/components/calcite-graph.js +1 -1
  431. package/dist/components/calcite-handle.js +1 -1
  432. package/dist/components/calcite-icon.js +1 -1
  433. package/dist/components/calcite-inline-editable.js +1 -1
  434. package/dist/components/calcite-input-date-picker.js +1 -1
  435. package/dist/components/calcite-input-message.js +1 -1
  436. package/dist/components/calcite-input-number.js +1 -1
  437. package/dist/components/calcite-input-text.js +1 -1
  438. package/dist/components/calcite-input-time-picker.js +1 -1
  439. package/dist/components/calcite-input.js +1 -1
  440. package/dist/components/calcite-label.js +1 -1
  441. package/dist/components/calcite-link.js +1 -1
  442. package/dist/components/calcite-list-item-group.js +1 -1
  443. package/dist/components/calcite-list-item.js +1 -1
  444. package/dist/components/calcite-list.js +1 -1
  445. package/dist/components/calcite-loader.js +1 -1
  446. package/dist/components/calcite-modal.js +1 -1
  447. package/dist/components/calcite-notice.js +1 -1
  448. package/dist/components/calcite-option-group.js +1 -1
  449. package/dist/components/calcite-option.js +1 -1
  450. package/dist/components/calcite-pagination.js +1 -1
  451. package/dist/components/calcite-panel.js +1 -1
  452. package/dist/components/calcite-pick-list-group.js +1 -1
  453. package/dist/components/calcite-pick-list-item.js +1 -1
  454. package/dist/components/calcite-pick-list.js +1 -1
  455. package/dist/components/calcite-popover.js +1 -1
  456. package/dist/components/calcite-progress.js +1 -1
  457. package/dist/components/calcite-radio-button-group.js +1 -1
  458. package/dist/components/calcite-radio-button.js +1 -1
  459. package/dist/components/calcite-radio-group-item.js +1 -1
  460. package/dist/components/calcite-radio-group.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-select.js +1 -1
  464. package/dist/components/calcite-shell-center-row.js +1 -1
  465. package/dist/components/calcite-shell-panel.js +1 -1
  466. package/dist/components/calcite-shell.js +1 -1
  467. package/dist/components/calcite-slider.js +1 -1
  468. package/dist/components/calcite-sortable-list.js +1 -1
  469. package/dist/components/calcite-split-button.js +1 -1
  470. package/dist/components/calcite-stepper-item.js +1 -1
  471. package/dist/components/calcite-stepper.js +1 -1
  472. package/dist/components/calcite-switch.js +1 -1
  473. package/dist/components/calcite-tab-nav.js +1 -1
  474. package/dist/components/calcite-tab-title.js +1 -1
  475. package/dist/components/calcite-tab.js +1 -1
  476. package/dist/components/calcite-tabs.js +1 -1
  477. package/dist/components/calcite-tile-select-group.js +1 -1
  478. package/dist/components/calcite-tile-select.js +1 -1
  479. package/dist/components/calcite-tile.js +1 -1
  480. package/dist/components/calcite-time-picker.js +1 -1
  481. package/dist/components/calcite-tip-group.js +1 -1
  482. package/dist/components/calcite-tip-manager.js +1 -1
  483. package/dist/components/calcite-tip.js +1 -1
  484. package/dist/components/calcite-tooltip.js +1 -1
  485. package/dist/components/calcite-tree-item.js +1 -1
  486. package/dist/components/calcite-tree.js +1 -1
  487. package/dist/components/calcite-value-list-item.js +1 -1
  488. package/dist/components/calcite-value-list.js +1 -1
  489. package/dist/components/checkbox.js +1 -1
  490. package/dist/components/chip.js +1 -1
  491. package/dist/components/color-picker-hex-input.js +1 -1
  492. package/dist/components/color-picker-swatch.js +1 -1
  493. package/dist/components/conditionalSlot.js +1 -1
  494. package/dist/components/date-picker-day.js +1 -1
  495. package/dist/components/date-picker-month-header.js +1 -1
  496. package/dist/components/date-picker-month.js +1 -1
  497. package/dist/components/date-picker.js +1 -1
  498. package/dist/components/date.js +1 -1
  499. package/dist/components/debounce.js +1 -1
  500. package/dist/components/dom.js +1 -1
  501. package/dist/components/dropdown.js +1 -1
  502. package/dist/components/filter.js +1 -1
  503. package/dist/components/filter2.js +1 -1
  504. package/dist/components/floating-ui.js +1 -1
  505. package/dist/components/focusTrapComponent.js +1 -1
  506. package/dist/components/form.js +1 -1
  507. package/dist/components/graph.js +1 -1
  508. package/dist/components/guid.js +1 -1
  509. package/dist/components/handle.js +1 -1
  510. package/dist/components/icon.js +1 -1
  511. package/dist/components/index.js +1 -1
  512. package/dist/components/input.js +1 -1
  513. package/dist/components/interactive.js +1 -1
  514. package/dist/components/interfaces.js +1 -1
  515. package/dist/components/key.js +1 -1
  516. package/dist/components/label.js +1 -1
  517. package/dist/components/label2.js +1 -1
  518. package/dist/components/link.js +1 -1
  519. package/dist/components/loadable.js +1 -1
  520. package/dist/components/loader.js +1 -1
  521. package/dist/components/locale.js +1 -1
  522. package/dist/components/math.js +1 -1
  523. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  524. package/dist/components/observers.js +1 -1
  525. package/dist/components/openCloseComponent.js +1 -1
  526. package/dist/components/panel.js +1 -1
  527. package/dist/components/pick-list-item.js +1 -1
  528. package/dist/components/popover.js +1 -1
  529. package/dist/components/progress.js +1 -1
  530. package/dist/components/resources.js +1 -1
  531. package/dist/components/resources2.js +1 -1
  532. package/dist/components/resources3.js +1 -1
  533. package/dist/components/scrim.js +1 -1
  534. package/dist/components/shared-list-render.js +1 -1
  535. package/dist/components/sortable.esm.js +1 -1
  536. package/dist/components/switch.js +1 -1
  537. package/dist/components/tab-nav.js +1 -1
  538. package/dist/components/tab-title.js +1 -1
  539. package/dist/components/tab.js +1 -1
  540. package/dist/components/tabs.js +1 -1
  541. package/dist/components/tile.js +1 -1
  542. package/dist/components/time-picker.js +1 -1
  543. package/dist/components/tooltip.js +1 -1
  544. package/dist/components/utils.js +1 -1
  545. package/dist/components/utils2.js +1 -1
  546. package/dist/esm/{ExpandToggle-29af15e2.js → ExpandToggle-f8eb221a.js} +5 -5
  547. package/dist/esm/{Heading-97239409.js → Heading-d24a31c2.js} +2 -2
  548. package/dist/esm/{app-globals-5b1771bd.js → app-globals-4a355973.js} +2 -2
  549. package/dist/esm/{array-a3b6f69b.js → array-4b1788f5.js} +1 -1
  550. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  551. package/dist/esm/calcite-action-bar.entry.js +13 -13
  552. package/dist/esm/calcite-action-group.entry.js +10 -10
  553. package/dist/esm/calcite-action-menu.entry.js +10 -10
  554. package/dist/esm/calcite-action-pad.entry.js +12 -12
  555. package/dist/esm/calcite-action.entry.js +8 -8
  556. package/dist/esm/calcite-alert.entry.js +11 -11
  557. package/dist/esm/calcite-avatar.entry.js +6 -6
  558. package/dist/esm/calcite-block_2.entry.js +14 -20
  559. package/dist/esm/calcite-button.entry.js +10 -10
  560. package/dist/esm/calcite-card.entry.js +7 -7
  561. package/dist/esm/calcite-checkbox.entry.js +10 -10
  562. package/dist/esm/calcite-chip.entry.js +8 -8
  563. package/dist/esm/calcite-color-picker_3.entry.js +11 -11
  564. package/dist/esm/calcite-combobox_3.entry.js +15 -15
  565. package/dist/esm/calcite-date-picker_4.entry.js +11 -11
  566. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  567. package/dist/esm/calcite-fab.entry.js +7 -7
  568. package/dist/esm/calcite-filter.entry.js +9 -9
  569. package/dist/esm/calcite-flow-item.entry.js +8 -8
  570. package/dist/esm/calcite-flow.entry.js +3 -3
  571. package/dist/esm/calcite-graph_2.entry.js +13 -13
  572. package/dist/esm/calcite-handle.entry.js +6 -6
  573. package/dist/esm/calcite-icon.entry.js +6 -6
  574. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  575. package/dist/esm/calcite-input-date-picker.entry.js +16 -16
  576. package/dist/esm/calcite-input-message.entry.js +5 -5
  577. package/dist/esm/calcite-input-number.entry.js +13 -13
  578. package/dist/esm/calcite-input-text.entry.js +10 -10
  579. package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
  580. package/dist/esm/calcite-input.entry.js +13 -13
  581. package/dist/esm/calcite-label.entry.js +6 -6
  582. package/dist/esm/calcite-link.entry.js +7 -7
  583. package/dist/esm/calcite-list_3.entry.js +9 -9
  584. package/dist/esm/calcite-loader.entry.js +3 -3
  585. package/dist/esm/calcite-modal.entry.js +10 -10
  586. package/dist/esm/calcite-notice.entry.js +9 -9
  587. package/dist/esm/calcite-option_3.entry.js +10 -10
  588. package/dist/esm/calcite-pagination.entry.js +8 -8
  589. package/dist/esm/calcite-panel.entry.js +11 -11
  590. package/dist/esm/calcite-pick-list_3.entry.js +13 -13
  591. package/dist/esm/calcite-popover.entry.js +12 -12
  592. package/dist/esm/calcite-progress.entry.js +2 -2
  593. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  594. package/dist/esm/calcite-radio-button.entry.js +10 -10
  595. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  596. package/dist/esm/calcite-rating.entry.js +10 -10
  597. package/dist/esm/calcite-scrim.entry.js +2 -2
  598. package/dist/esm/calcite-shell_3.entry.js +8 -8
  599. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  600. package/dist/esm/calcite-split-button.entry.js +3 -3
  601. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  602. package/dist/esm/calcite-switch.entry.js +10 -10
  603. package/dist/esm/calcite-tab_4.entry.js +7 -7
  604. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  605. package/dist/esm/calcite-tile.entry.js +8 -8
  606. package/dist/esm/calcite-tip_3.entry.js +8 -8
  607. package/dist/esm/calcite-tooltip.entry.js +8 -8
  608. package/dist/esm/calcite-tree_2.entry.js +8 -8
  609. package/dist/esm/calcite-value-list_2.entry.js +13 -13
  610. package/dist/esm/calcite.js +5 -5
  611. package/dist/esm/{conditionalSlot-18733fbb.js → conditionalSlot-6ccf2844.js} +3 -3
  612. package/dist/esm/{debounce-6bf69804.js → debounce-a93c0e41.js} +1 -1
  613. package/dist/esm/{dom-c8898dc4.js → dom-53c74dbf.js} +3 -3
  614. package/dist/esm/{filter-978322da.js → filter-9a7aebdd.js} +2 -2
  615. package/dist/esm/{floating-ui-fc1dd50c.js → floating-ui-de1d81a1.js} +4 -4
  616. package/dist/esm/{focusTrapComponent-abc370ad.js → focusTrapComponent-1c2099dd.js} +2 -2
  617. package/dist/esm/{form-44011828.js → form-2b1e2659.js} +3 -3
  618. package/dist/esm/{guid-eaa87c08.js → guid-9344597e.js} +1 -1
  619. package/dist/esm/{index-d13d66db.js → index-d4c908c6.js} +1 -1
  620. package/dist/esm/index.js +1 -1
  621. package/dist/esm/{interactive-ee7f9950.js → interactive-9b5fc420.js} +1 -1
  622. package/dist/esm/{interfaces-e740f58c.js → interfaces-b46836c5.js} +1 -1
  623. package/dist/esm/{key-23509709.js → key-ce94af02.js} +1 -1
  624. package/dist/esm/{label-226b0181.js → label-28684879.js} +2 -2
  625. package/dist/esm/{loadable-5df6cd58.js → loadable-3bf8aeb1.js} +1 -1
  626. package/dist/esm/loader.js +5 -5
  627. package/dist/esm/{locale-c6e1a8e3.js → locale-124c1c4a.js} +4 -4
  628. package/dist/esm/{math-e1907584.js → math-74384c75.js} +1 -1
  629. package/dist/esm/{nonChromiumPlatformUtils-38b56ea7.js → nonChromiumPlatformUtils-b5c57cc4.js} +6 -6
  630. package/dist/esm/{observers-32d3cec9.js → observers-4d673b8c.js} +1 -1
  631. package/dist/esm/{openCloseComponent-333b893d.js → openCloseComponent-cb58fdf0.js} +1 -1
  632. package/dist/esm/{resources-72c02e33.js → resources-31e2614a.js} +1 -1
  633. package/dist/esm/{resources-904b70a4.js → resources-680c5d42.js} +1 -1
  634. package/dist/esm/{resources-e7476473.js → resources-8d698f58.js} +1 -1
  635. package/dist/esm/{resources-70b572b1.js → resources-923c5833.js} +1 -1
  636. package/dist/esm/{resources-279b99d2.js → resources-cd6e5e62.js} +5 -5
  637. package/dist/esm/{resources-301e3b5e.js → resources-f4bcad4f.js} +3 -3
  638. package/dist/esm/{sortable.esm-e68f2907.js → sortable.esm-b4a2098b.js} +1 -1
  639. package/dist/esm/{utils-52beb63a.js → utils-830639d3.js} +1 -1
  640. package/dist/extras/docs-json.json +5 -50
  641. package/dist/loader/cdn.js +1 -1
  642. package/dist/loader/index.cjs.js +1 -1
  643. package/dist/loader/index.es2017.js +1 -1
  644. package/dist/loader/index.js +1 -1
  645. package/dist/types/components/action-bar/action-bar.d.ts +1 -1
  646. package/dist/types/components/action-group/action-group.d.ts +1 -1
  647. package/dist/types/components/action-menu/action-menu.d.ts +2 -3
  648. package/dist/types/components/action-pad/action-pad.d.ts +1 -1
  649. package/dist/types/components/block/block.d.ts +0 -12
  650. package/dist/types/components/block/resources.d.ts +0 -1
  651. package/dist/types/components.d.ts +2 -22
  652. package/hydrate/index.js +11 -19
  653. package/package.json +1 -1
  654. package/dist/calcite/p-05dcda7b.entry.js +0 -6
  655. package/dist/calcite/p-123393a5.js +0 -6
  656. package/dist/calcite/p-28af412d.entry.js +0 -6
  657. package/dist/calcite/p-44ba1ef9.entry.js +0 -6
  658. package/dist/calcite/p-8ae970c1.entry.js +0 -6
  659. package/dist/calcite/p-a7f09914.js +0 -6
  660. package/dist/calcite/p-aa73ca1a.entry.js +0 -6
  661. package/dist/calcite/p-c438b39c.entry.js +0 -6
  662. package/dist/calcite/p-e009ff8c.entry.js +0 -6
  663. package/dist/calcite/p-e86de5cd.entry.js +0 -6
  664. package/dist/calcite/p-eab112a6.entry.js +0 -6
  665. package/dist/calcite/p-fd60a197.entry.js +0 -6
@@ -52,7 +52,7 @@ export declare class ActionPad implements ConditionalSlotComponent, LoadableComp
52
52
  * @param focusId
53
53
  */
54
54
  setFocus(focusId?: "expand-toggle"): Promise<void>;
55
- actionMenuOpenChangeHandler: (event: CustomEvent<boolean>) => void;
55
+ actionMenuOpenChangeHandler: (event: CustomEvent<void>) => void;
56
56
  toggleExpand: () => void;
57
57
  setExpandToggleRef: (el: HTMLCalciteActionElement) => void;
58
58
  renderBottomActionGroup(): VNode;
@@ -66,22 +66,10 @@ export declare class Block implements ConditionalSlotComponent, InteractiveCompo
66
66
  * Displays a status-related indicator icon.
67
67
  */
68
68
  status?: Status;
69
- /**
70
- * A description for the component, which displays below the heading.
71
- *
72
- * @deprecated use `description` instead
73
- */
74
- summary: string;
75
69
  /**
76
70
  * A description for the component, which displays below the heading.
77
71
  */
78
72
  description: string;
79
- /**
80
- * When `true`, removes padding for the slotted content.
81
- *
82
- * @deprecated Use `--calcite-block-padding` CSS variable instead.
83
- */
84
- disablePadding: boolean;
85
73
  componentDidRender(): void;
86
74
  el: HTMLCalciteBlockElement;
87
75
  private guid;
@@ -1,7 +1,6 @@
1
1
  export declare const CSS: {
2
2
  container: string;
3
3
  content: string;
4
- contentSpaced: string;
5
4
  headerContainer: string;
6
5
  icon: string;
7
6
  statusIcon: string;
@@ -362,11 +362,6 @@ export namespace Components {
362
362
  * A description for the component, which displays below the heading.
363
363
  */
364
364
  "description": string;
365
- /**
366
- * When `true`, removes padding for the slotted content.
367
- * @deprecated Use `--calcite-block-padding` CSS variable instead.
368
- */
369
- "disablePadding": boolean;
370
365
  /**
371
366
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
372
367
  */
@@ -415,11 +410,6 @@ export namespace Components {
415
410
  * Displays a status-related indicator icon.
416
411
  */
417
412
  "status"?: Status;
418
- /**
419
- * A description for the component, which displays below the heading.
420
- * @deprecated use `description` instead
421
- */
422
- "summary": string;
423
413
  }
424
414
  interface CalciteBlockSection {
425
415
  /**
@@ -5339,9 +5329,9 @@ declare namespace LocalJSX {
5339
5329
  */
5340
5330
  "label": string;
5341
5331
  /**
5342
- * Emits when the `open` property has changed. **Note:**: The event payload is deprecated, please use the `open` property on the component instead
5332
+ * Emits when the `open` property has changed.
5343
5333
  */
5344
- "onCalciteActionMenuOpenChange"?: (event: CalciteActionMenuCustomEvent<DeprecatedEventPayload>) => void;
5334
+ "onCalciteActionMenuOpenChange"?: (event: CalciteActionMenuCustomEvent<void>) => void;
5345
5335
  /**
5346
5336
  * When `true`, the component is open.
5347
5337
  */
@@ -5484,11 +5474,6 @@ declare namespace LocalJSX {
5484
5474
  * A description for the component, which displays below the heading.
5485
5475
  */
5486
5476
  "description"?: string;
5487
- /**
5488
- * When `true`, removes padding for the slotted content.
5489
- * @deprecated Use `--calcite-block-padding` CSS variable instead.
5490
- */
5491
- "disablePadding"?: boolean;
5492
5477
  /**
5493
5478
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
5494
5479
  */
@@ -5541,11 +5526,6 @@ declare namespace LocalJSX {
5541
5526
  * Displays a status-related indicator icon.
5542
5527
  */
5543
5528
  "status"?: Status;
5544
- /**
5545
- * A description for the component, which displays below the heading.
5546
- * @deprecated use `description` instead
5547
- */
5548
- "summary"?: string;
5549
5529
  }
5550
5530
  interface CalciteBlockSection {
5551
5531
  /**
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.0-next.648
4
+ * v1.0.0-next.649
5
5
  */
6
6
  'use strict';
7
7
 
@@ -8077,7 +8077,7 @@ class ActionBar {
8077
8077
  //
8078
8078
  // --------------------------------------------------------------------------
8079
8079
  this.actionMenuOpenChangeHandler = (event) => {
8080
- if (event.detail) {
8080
+ if (event.target.menuOpen) {
8081
8081
  const composedPath = event.composedPath();
8082
8082
  Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((group) => {
8083
8083
  if (!composedPath.includes(group)) {
@@ -8269,7 +8269,7 @@ class ActionGroup {
8269
8269
  //
8270
8270
  // --------------------------------------------------------------------------
8271
8271
  this.setMenuOpen = (event) => {
8272
- this.menuOpen = !!event.detail;
8272
+ this.menuOpen = !!event.target.open;
8273
8273
  };
8274
8274
  this.expanded = false;
8275
8275
  this.layout = "vertical";
@@ -8558,7 +8558,7 @@ class ActionMenu {
8558
8558
  if (this.menuButtonEl) {
8559
8559
  this.menuButtonEl.active = open;
8560
8560
  }
8561
- this.calciteActionMenuOpenChange.emit(open);
8561
+ this.calciteActionMenuOpenChange.emit();
8562
8562
  this.setTooltipReferenceElement();
8563
8563
  }
8564
8564
  closeCalciteActionMenuOnClick(event) {
@@ -8657,7 +8657,7 @@ class ActionPad {
8657
8657
  //
8658
8658
  // --------------------------------------------------------------------------
8659
8659
  this.actionMenuOpenChangeHandler = (event) => {
8660
- if (event.detail) {
8660
+ if (event.target.menuOpen) {
8661
8661
  const composedPath = event.composedPath();
8662
8662
  Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((group) => {
8663
8663
  if (!composedPath.includes(group)) {
@@ -9680,7 +9680,6 @@ class Avatar {
9680
9680
  const CSS$P = {
9681
9681
  container: "container",
9682
9682
  content: "content",
9683
- contentSpaced: "content--spaced",
9684
9683
  headerContainer: "header-container",
9685
9684
  icon: "icon",
9686
9685
  statusIcon: "status-icon",
@@ -9725,7 +9724,7 @@ const Heading = (props, children) => {
9725
9724
  return hAsync(HeadingTag, { ...props }, children);
9726
9725
  };
9727
9726
 
9728
- const blockCss = "@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*/.sc-calcite-block: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*/.calcite-animate.sc-calcite-block{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-block{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-block{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-block{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-block{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-block:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-block-h{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 **/.sc-calcite-block-h *.sc-calcite-block{box-sizing:border-box}/*!@:host*/.sc-calcite-block-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-block:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-block-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-block-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-block-h{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-block-h[disabled] .sc-calcite-block-s>[calcite-hydrated][disabled],[disabled].sc-calcite-block-h [calcite-hydrated][disabled].sc-calcite-block{opacity:1}/*!@.header*/.header.sc-calcite-block{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-block{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-block .heading.sc-calcite-block{flex:1 1 auto;padding:0.5rem}/*!@.header*/.header.sc-calcite-block{justify-content:flex-start;padding:0px}/*!@.header,\n.toggle*/.header.sc-calcite-block,.toggle.sc-calcite-block{grid-area:header}/*!@.header-container*/.header-container.sc-calcite-block{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}/*!@.toggle*/.toggle.sc-calcite-block{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}/*!@.toggle:hover*/.toggle.sc-calcite-block:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.toggle:focus*/.toggle.sc-calcite-block:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@calcite-loader[inline]*/calcite-loader[inline].sc-calcite-block{grid-area:control;align-self:center}/*!@calcite-handle*/calcite-handle.sc-calcite-block{grid-area:handle}/*!@.title*/.title.sc-calcite-block{margin:0px;padding:0.75rem}/*!@.header .title .heading*/.header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}/*!@.description*/.description.sc-calcite-block{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}/*!@.icon*/.icon.sc-calcite-block{margin-inline-start:0.75rem;margin-inline-end:0px;margin-block:0.75rem}/*!@.status-icon.valid*/.status-icon.valid.sc-calcite-block{color:var(--calcite-ui-success)}/*!@.status-icon.invalid*/.status-icon.invalid.sc-calcite-block{color:var(--calcite-ui-danger)}/*!@.status-icon.loading*/.status-icon.loading.sc-calcite-block{animation:spin calc(var(--calcite-internal-animation-timing-slow) * 2) linear infinite}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}/*!@.toggle-icon*/.toggle-icon.sc-calcite-block{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}/*!@.toggle:hover .toggle-icon*/.toggle.sc-calcite-block:hover .toggle-icon.sc-calcite-block{color:var(--calcite-ui-text-1)}/*!@.container*/.container.sc-calcite-block{position:relative;display:flex;block-size:100%;flex-direction:column}/*!@.content*/.content.sc-calcite-block{position:relative;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}/*!@.content*/.content.sc-calcite-block{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out}/*!@.content--spaced*/.content--spaced.sc-calcite-block{padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}/*!@.control-container*/.control-container.sc-calcite-block{margin:0px;display:flex;grid-area:control}/*!@calcite-action-menu*/calcite-action-menu.sc-calcite-block{grid-area:menu}/*!@:host([open])*/[open].sc-calcite-block-h{margin-block:0.5rem}/*!@:host([open]) .header .title .heading*/[open].sc-calcite-block-h .header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{color:var(--calcite-ui-text-1)}";
9727
+ const blockCss = "@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*/.sc-calcite-block: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*/.calcite-animate.sc-calcite-block{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-block{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-block{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-block{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-block{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-block:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-block-h{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 **/.sc-calcite-block-h *.sc-calcite-block{box-sizing:border-box}/*!@:host*/.sc-calcite-block-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-block:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-block-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-block-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-block-h{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-block-h[disabled] .sc-calcite-block-s>[calcite-hydrated][disabled],[disabled].sc-calcite-block-h [calcite-hydrated][disabled].sc-calcite-block{opacity:1}/*!@.header*/.header.sc-calcite-block{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-block{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-block .heading.sc-calcite-block{flex:1 1 auto;padding:0.5rem}/*!@.header*/.header.sc-calcite-block{justify-content:flex-start;padding:0px}/*!@.header,\n.toggle*/.header.sc-calcite-block,.toggle.sc-calcite-block{grid-area:header}/*!@.header-container*/.header-container.sc-calcite-block{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}/*!@.toggle*/.toggle.sc-calcite-block{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}/*!@.toggle:hover*/.toggle.sc-calcite-block:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.toggle:focus*/.toggle.sc-calcite-block:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@calcite-loader[inline]*/calcite-loader[inline].sc-calcite-block{grid-area:control;align-self:center}/*!@calcite-handle*/calcite-handle.sc-calcite-block{grid-area:handle}/*!@.title*/.title.sc-calcite-block{margin:0px;padding:0.75rem}/*!@.header .title .heading*/.header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}/*!@.description*/.description.sc-calcite-block{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}/*!@.icon*/.icon.sc-calcite-block{margin-inline-start:0.75rem;margin-inline-end:0px;margin-block:0.75rem}/*!@.status-icon.valid*/.status-icon.valid.sc-calcite-block{color:var(--calcite-ui-success)}/*!@.status-icon.invalid*/.status-icon.invalid.sc-calcite-block{color:var(--calcite-ui-danger)}/*!@.status-icon.loading*/.status-icon.loading.sc-calcite-block{animation:spin calc(var(--calcite-internal-animation-timing-slow) * 2) linear infinite}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}/*!@.toggle-icon*/.toggle-icon.sc-calcite-block{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}/*!@.toggle:hover .toggle-icon*/.toggle.sc-calcite-block:hover .toggle-icon.sc-calcite-block{color:var(--calcite-ui-text-1)}/*!@.container*/.container.sc-calcite-block{position:relative;display:flex;block-size:100%;flex-direction:column}/*!@.content*/.content.sc-calcite-block{position:relative;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}/*!@.content*/.content.sc-calcite-block{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out}/*!@.control-container*/.control-container.sc-calcite-block{margin:0px;display:flex;grid-area:control}/*!@calcite-action-menu*/calcite-action-menu.sc-calcite-block{grid-area:menu}/*!@:host([open])*/[open].sc-calcite-block-h{margin-block:0.5rem}/*!@:host([open]) .header .title .heading*/[open].sc-calcite-block-h .header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{color:var(--calcite-ui-text-1)}";
9729
9728
 
9730
9729
  /**
9731
9730
  * @slot - A slot for adding content to the component.
@@ -9759,9 +9758,7 @@ class Block {
9759
9758
  this.loading = false;
9760
9759
  this.open = false;
9761
9760
  this.status = undefined;
9762
- this.summary = undefined;
9763
9761
  this.description = undefined;
9764
- this.disablePadding = false;
9765
9762
  }
9766
9763
  //--------------------------------------------------------------------------
9767
9764
  //
@@ -9806,8 +9803,8 @@ class Block {
9806
9803
  return hasIcon ? hAsync("div", { class: CSS$P.icon }, iconEl) : null;
9807
9804
  }
9808
9805
  renderTitle() {
9809
- const { heading, headingLevel, summary, description } = this;
9810
- return heading || summary || description ? (hAsync("div", { class: CSS$P.title }, hAsync(Heading, { class: CSS$P.heading, level: headingLevel }, heading), summary || description ? (hAsync("div", { class: CSS$P.description }, summary || description)) : null)) : null;
9806
+ const { heading, headingLevel, description } = this;
9807
+ return heading || description ? (hAsync("div", { class: CSS$P.title }, hAsync(Heading, { class: CSS$P.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$P.description }, description) : null)) : null;
9811
9808
  }
9812
9809
  render() {
9813
9810
  const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
@@ -9822,10 +9819,7 @@ class Block {
9822
9819
  const headerNode = (hAsync("div", { class: CSS$P.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$P.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$P.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$P.controlContainer }, hAsync("slot", { name: SLOTS$n.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$p.options }, hAsync("slot", { name: SLOTS$n.headerMenuActions }))) : null));
9823
9820
  return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
9824
9821
  [CSS$P.container]: true
9825
- } }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
9826
- [CSS$P.content]: true,
9827
- [CSS$P.contentSpaced]: !this.disablePadding
9828
- }, hidden: !open, id: regionId }, this.renderScrim()))));
9822
+ } }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$P.content, hidden: !open, id: regionId }, this.renderScrim()))));
9829
9823
  }
9830
9824
  get el() { return getElement(this); }
9831
9825
  static get style() { return blockCss; }
@@ -9845,13 +9839,11 @@ class Block {
9845
9839
  "loading": [516],
9846
9840
  "open": [1540],
9847
9841
  "status": [513],
9848
- "summary": [1],
9849
- "description": [1],
9850
- "disablePadding": [516, "disable-padding"]
9842
+ "description": [1]
9851
9843
  },
9852
9844
  "$listeners$": undefined,
9853
9845
  "$lazyBundleId$": "-",
9854
- "$attrsToReflect$": [["collapsible", "collapsible"], ["disabled", "disabled"], ["dragHandle", "drag-handle"], ["headingLevel", "heading-level"], ["loading", "loading"], ["open", "open"], ["status", "status"], ["disablePadding", "disable-padding"]]
9846
+ "$attrsToReflect$": [["collapsible", "collapsible"], ["disabled", "disabled"], ["dragHandle", "drag-handle"], ["headingLevel", "heading-level"], ["loading", "loading"], ["open", "open"], ["status", "status"]]
9855
9847
  }; }
9856
9848
  }
9857
9849
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.648",
3
+ "version": "1.0.0-next.649",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{r as i,c as t,h as a,H as e,g as n}from"./p-12b0f2c6.js";import{g as o,t as c,a as r}from"./p-8d698c02.js";import{H as l}from"./p-123393a5.js";import{c as s,d}from"./p-a7f09914.js";import{u as m}from"./p-a524f551.js";import{g}from"./p-76595820.js";import{i as h}from"./p-f3ed0fa6.js";import"./p-90701611.js";import"./p-899bb6c9.js";const u={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"},p=class{constructor(a){i(this,a),this.calciteBlockToggle=t(this,"calciteBlockToggle",6),this.guid=g(),this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.intlCollapse="Collapse",this.intlExpand="Expand",this.intlLoading="Loading",this.intlOptions="Options",this.loading=!1,this.open=!1,this.status=void 0,this.summary=void 0,this.description=void 0,this.disablePadding=!1}componentDidRender(){m(this)}connectedCallback(){s(this)}disconnectedCallback(){d(this)}renderScrim(){const{loading:i}=this,t=a("slot",null);return[i?a("calcite-scrim",{loading:i}):null,t]}renderIcon(){const{el:i,status:t}=this,e=this.loading&&!this.open,n=e?u.refresh:u[t],c=o(i,"icon")||n,r=n?a("calcite-icon",{class:{"status-icon":!0,valid:"valid"==t,invalid:"invalid"==t,loading:e},icon:n,scale:"m"}):a("slot",{key:"icon-slot",name:"icon"});return c?a("div",{class:"icon"},r):null}renderTitle(){const{heading:i,headingLevel:t,summary:e,description:n}=this;return i||e||n?a("div",{class:"title"},a(l,{class:"heading",level:t},i),e||n?a("div",{class:"description"},e||n):null):null}render(){const{collapsible:i,el:t,intlCollapse:n,intlExpand:r,loading:l,open:s,intlLoading:d}=this,m=s?n||"Collapse":r||"Expand",g=a("header",{class:"header"},this.renderIcon(),this.renderTitle()),h=!!o(t,"control"),p=!!o(t,"header-menu-actions"),f=s?u.opened:u.closed,{guid:v}=this,b=`${v}-region`,x=`${v}-button`,y=a("div",{class:"header-container"},this.dragHandle?a("calcite-handle",null):null,i?a("button",{"aria-controls":b,"aria-expanded":i?c(s):null,"aria-label":m,class:"toggle",id:x,onClick:this.onHeaderClick,title:m},g,h||p?null:a("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:f,scale:"s"})):g,l?a("calcite-loader",{inline:!0,"is-active":!0,label:d}):h?a("div",{class:"control-container"},a("slot",{name:"control"})):null,p?a("calcite-action-menu",{label:this.intlOptions||"Options"},a("slot",{name:"header-menu-actions"})):null);return a(e,null,a("article",{"aria-busy":c(l),class:{container:!0}},y,a("section",{"aria-expanded":c(s),"aria-labelledby":x,class:{content:!0,"content--spaced":!this.disablePadding},hidden:!s,id:b},this.renderScrim())))}get el(){return n(this)}};p.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{margin-inline-start:0.75rem;margin-inline-end:0px;margin-block:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{animation:spin calc(var(--calcite-internal-animation-timing-slow) * 2) linear infinite}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out}.content--spaced{padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}';const f={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"},v=class{constructor(a){i(this,a),this.calciteBlockSectionToggle=t(this,"calciteBlockSectionToggle",6),this.guid=g(),this.handleHeaderKeyDown=i=>{h(i.key)&&(this.toggleSection(),i.preventDefault(),i.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.intlCollapse=void 0,this.intlExpand=void 0,this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button"}renderStatusIcon(){var i;const{status:t}=this,e=null!==(i=f[t])&&void 0!==i&&i;return e?a("calcite-icon",{class:{"status-icon":!0,valid:"valid"==t,invalid:"invalid"==t},icon:e,scale:"s"}):null}render(){const{el:i,intlCollapse:t,intlExpand:n,open:o,text:l,toggleDisplay:s}=this,d=r(i),m=o?f.menuOpen:"rtl"===d?f.menuClosedLeft:f.menuClosedRight,g=o?t||"Collapse":n||"Expand",{guid:h}=this,u=`${h}-region`,p=`${h}-button`,v="switch"===s?a("div",{"aria-controls":u,"aria-label":g,class:{toggle:!0,"toggle--switch":!0},id:p,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:g},a("div",{class:"toggle--switch__content"},a("span",{class:"toggle--switch__text"},l)),a("calcite-switch",{checked:o,label:g,scale:"s",tabIndex:-1}),this.renderStatusIcon()):a("button",{"aria-controls":u,"aria-label":g,class:{"section-header":!0,toggle:!0},id:p,name:g,onClick:this.toggleSection},a("calcite-icon",{icon:m,scale:"s"}),a("span",{class:"section-header__text"},l),this.renderStatusIcon());return a(e,null,v,a("section",{"aria-expanded":c(o),"aria-labelledby":p,class:"content",hidden:!o,id:u},a("slot",null)))}get el(){return n(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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;margin-inline-start:0.25rem}.toggle--switch .status-icon{margin-inline-start:0.5rem}.toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";export{p as calcite_block,v as calcite_block_section}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{h as t}from"./p-12b0f2c6.js";function r(t){return Math.min(Math.max(Math.ceil(t),1),6)}const e=(r,e)=>{const n=r.level?`h${r.level}`:"div";return delete r.level,t(n,{...r},e)};export{e as H,r as c}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{r as t,c as i,h as e,F as n,g as a}from"./p-12b0f2c6.js";import{C as o,I as s,S as c}from"./p-ccee598f.js";import{t as l,i as r,f as h}from"./p-8d698c02.js";import{g as d}from"./p-7000e938.js";import{g as m}from"./p-76595820.js";import{i as u}from"./p-f3ed0fa6.js";import{s as p,a as f,c as v}from"./p-98482c33.js";import"./p-90701611.js";const x=["ArrowUp","ArrowDown","End","Home"],g=class{constructor(e){t(this,e),this.calciteActionMenuOpenChange=i(this,"calciteActionMenuOpenChange",6),this.actionElements=[],this.guid=`calcite-action-menu-${m()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:i,open:e,label:n}=this,a=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==a&&(this.disconnectMenuButtonEl(),this.menuButtonEl=a,this.setTooltipReferenceElement(),a&&(a.active=e,a.setAttribute("aria-controls",i),a.setAttribute("aria-expanded",l(e)),a.setAttribute("aria-haspopup","true"),a.id||(a.id=t),a.label||(a.label=n),a.text||(a.text=n),a.addEventListener("pointerdown",this.menuButtonClick),a.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.slottedMenuButtonEl=i[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=t=>{r(t)&&this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e,open:n}=this;t&&(t.referenceElement=i||n?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:n}=this,a=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=a),t.active=i===n},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.actionElements=i},this.menuButtonKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:n,open:a}=this;if(e.length){if(u(i)){if(t.preventDefault(),!a)return void this.toggleOpen();const i=e[n];i?i.click():this.toggleOpen(!1)}if("Tab"!==i)return"Escape"===i?(this.toggleOpen(!1),void t.preventDefault()):void this.handleActionNavigation(t,i,e);this.open=!1}},this.handleActionNavigation=(t,i,e)=>{if(!this.isValidKey(i,x))return;if(t.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==i&&"ArrowDown"!==i||(this.activeMenuItemIndex=0),void("End"!==i&&"ArrowUp"!==i||(this.activeMenuItemIndex=e.length-1));"Home"===i&&(this.activeMenuItemIndex=0),"End"===i&&(this.activeMenuItemIndex=e.length-1);const n=this.activeMenuItemIndex;"ArrowUp"===i&&(this.activeMenuItemIndex=d(Math.max(n-1,-1),e.length)),"ArrowDown"===i&&(this.activeMenuItemIndex=d(n+1,e.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t},this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}componentWillLoad(){p(this)}componentDidLoad(){f(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpenChange.emit(t),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){r(t)&&(t.composedPath().includes(this.el)||(this.open=!1))}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){await v(this),h(this.menuButtonEl)}renderMenuButton(){const{label:t,scale:i,expanded:n}=this;return e("slot",{name:c.trigger,onSlotchange:this.setMenuButtonEl},e("calcite-action",{class:o.defaultTrigger,icon:s.menu,ref:this.setDefaultMenuButtonEl,scale:i,text:t,textEnabled:n}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:i,open:n,menuId:a,menuButtonEl:s,label:c,placement:l,overlayPositioning:r,flipPlacements:h}=this,d=t[i];return e("calcite-popover",{disableFocusTrap:!0,disablePointer:!0,flipPlacements:h,label:c,offsetDistance:0,open:n,overlayPositioning:r,placement:l,referenceElement:s},e("div",{"aria-activedescendant":(null==d?void 0:d.id)||null,"aria-labelledby":null==s?void 0:s.id,class:o.menu,id:a,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},e("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return e(n,null,this.renderMenuButton(),this.renderMenuItems(),e("slot",{name:c.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return a(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{box-sizing:border-box;display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";export{g as calcite_action_menu}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{r as t,c as i,h as a,g as e,F as n}from"./p-12b0f2c6.js";import{c}from"./p-899bb6c9.js";import{f as o}from"./p-8d698c02.js";import{c as r,d as s}from"./p-5d213adf.js";import{c as l,d as m,a as d,H as h}from"./p-3dee2426.js";import{u as p}from"./p-a524f551.js";import{s as u,a as f,c as v}from"./p-98482c33.js";import"./p-90701611.js";import"./p-76595820.js";const g=class{constructor(a){t(this,a),this.calciteInternalOptionChange=i(this,"calciteInternalOptionChange",6),this.mutationObserver=c("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(t,i,a){"label"!==a&&"value"!==a||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){var t;this.ensureTextContentDependentProps(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return a("slot",null,this.label)}get el(){return e(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}";const b=class{constructor(a){t(this,a),this.calciteInternalOptionGroupChange=i(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return a(n,null,a("div",null,this.label),a("slot",null))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};b.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}";function y(t){return"CALCITE-OPTION"===t.tagName}const w=class{constructor(a){t(this,a),this.calciteSelectChange=i(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=c("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>{var i;return null===(i=this.selectEl)||void 0===i?void 0:i.append(this.toNativeElement(t))}))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((i=>i.selected=i.value===t))}selectedOptionHandler(t){this.value=null==t?void 0:t.value}connectedCallback(){var t;const{el:i}=this;null===(t=this.mutationObserver)||void 0===t||t.observe(i,{subtree:!0,childList:!0}),r(this),l(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),s(this),m(this)}componentWillLoad(){u(this)}componentDidLoad(){var t,i;f(this),d(this,null!==(i=null===(t=this.selectedOption)||void 0===t?void 0:t.value)&&void 0!==i?i:"")}componentDidRender(){p(this)}async setFocus(){await v(this),o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const i=t.target,a=this.componentToNativeEl.get(i);a&&(this.updateNativeElement(i,a),y(i)&&i.selected&&(this.deselectAllExcept(i),this.selectedOption=i))}onLabelClick(){this.setFocus()}updateNativeElement(t,i){if(i.disabled=t.disabled,i.label=t.label,y(t)){const a=i;a.selected=t.selected,a.value=t.value,a.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let i;this.componentToNativeEl.forEach(((a,e)=>{y(e)&&a===t&&(e.selected=!0,i=e,this.deselectAllExcept(e))})),i&&(this.selectedOption=i)}toNativeElement(t){if(y(t)){const i=document.createElement("option");return this.updateNativeElement(t,i),this.componentToNativeEl.set(t,i),i}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const i=document.createElement("optgroup");return this.updateNativeElement(t,i),Array.from(t.children).forEach((a=>{const e=this.toNativeElement(a);i.append(e),this.componentToNativeEl.set(t,e)})),this.componentToNativeEl.set(t,i),i}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((i=>{i!==t&&(i.selected=!1)}))}renderChevron(){return a("div",{class:"icon-container"},a("calcite-icon",{class:"icon",icon:"chevron-down",scale:"s"}))}render(){return a(n,null,a("select",{"aria-label":this.label,class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},a("slot",null)),this.renderChevron(),a(h,{component:this}))}get el(){return e(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};w.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{g as calcite_option,b as calcite_option_group,w as calcite_select}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{r as t,c as i,h as a,H as o,g as e}from"./p-12b0f2c6.js";import{t as n,o as s,q as r,g as l,a as c,E as d,b as h}from"./p-08b637c8.js";import{f as p,g as m}from"./p-8d698c02.js";import{c as u}from"./p-899bb6c9.js";import{c as f,d as x}from"./p-a7f09914.js";import{s as b,a as g,c as v}from"./p-98482c33.js";import{d as y}from"./p-b52f7d75.js";import"./p-ccee598f.js";import"./p-0b90715c.js";import"./p-90701611.js";import"./p-76595820.js";const w=class{constructor(a){t(this,a),this.calciteActionBarToggle=i(this,"calciteActionBarToggle",6),this.mutationObserver=u("mutation",(()=>{const{el:t,expanded:i}=this;n({parent:t,expanded:i}),this.conditionallyOverflowActions()})),this.resizeObserver=u("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenChangeHandler=t=>{if(t.detail){const i=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{i.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:i,height:a}=t.contentRect;this.resize({width:i,height:a})},this.resize=y((({width:t,height:i})=>{const{el:a,expanded:o,expandDisabled:e,layout:n}=this;if("vertical"===n&&!i||"horizontal"===n&&!t)return;const s=r(a),d=e?s.length:s.length+1,p=Array.from(a.querySelectorAll("calcite-action-group")),u=m(a,"bottom-actions")||!e?p.length+1:p.length,{actionHeight:f,actionWidth:x}=l(s),b=h({layout:n,actionCount:d,actionHeight:f,actionWidth:x,height:i,width:t,groupCount:u});c({actionGroups:p,expanded:o,overflowCount:b})}),s),this.conditionallyOverflowActions=()=>{this.overflowActionsDisabled||this.overflowActions()},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.expandDisabled=!1,this.expanded=!1,this.intlExpand=void 0,this.intlCollapse=void 0,this.layout="vertical",this.overflowActionsDisabled=!1,this.position=void 0,this.scale=void 0}expandHandler(){this.conditionallyOverflowActions()}expandedHandler(t){n({parent:this.el,expanded:t}),this.conditionallyOverflowActions()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}componentWillLoad(){b(this)}componentDidLoad(){g(this),this.conditionallyOverflowActions()}connectedCallback(){var t,i;const{el:a,expanded:o}=this;n({parent:a,expanded:o}),null===(t=this.mutationObserver)||void 0===t||t.observe(a,{childList:!0,subtree:!0}),this.overflowActionsDisabled||null===(i=this.resizeObserver)||void 0===i||i.observe(a),this.conditionallyOverflowActions(),f(this)}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),x(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){var i;await v(this),"expand-toggle"!==t?null===(i=this.el)||void 0===i||i.focus():await p(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:t,expandDisabled:i,intlExpand:o,intlCollapse:e,el:n,position:s,toggleExpand:r,scale:l,layout:c}=this,h=m(n,"expand-tooltip"),p=i?null:a(d,{el:n,expanded:t,intlCollapse:e||"Collapse",intlExpand:o||"Expand",position:s,ref:this.setExpandToggleRef,scale:l,toggle:r,tooltip:h});return m(n,"bottom-actions")||p?a("calcite-action-group",{class:"action-group--bottom",layout:c,scale:l},a("slot",{name:"bottom-actions"}),a("slot",{name:"expand-tooltip"}),p):null}render(){return a(o,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},a("slot",null),this.renderBottomActionGroup())}get el(){return e(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}}};w.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:inline-flex;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=horizontal]){flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-width:0px;border-inline-end-width:1px;border-style:solid}::slotted(calcite-action-group:last-child){border-block-end-width:0px;border-inline-end-width:0px}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px;padding-inline-end:0px}";export{w as calcite_action_bar}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{f as t}from"./p-12b0f2c6.js";import{c as o}from"./p-899bb6c9.js";const c=new Set;let n;const s={childList:!0};function f(t){n||(n=o("mutation",r)),n.observe(t.el,s)}function i(t){c.delete(t.el),r(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,s)}function r(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{r as i,c as t,h as a,H as e,g as o}from"./p-12b0f2c6.js";import{f as n,t as r}from"./p-8d698c02.js";import{c as s,d as c,g as l}from"./p-5d213adf.js";import{c as d,d as h,H as m}from"./p-3dee2426.js";import{u as p}from"./p-a524f551.js";import{i as u}from"./p-f3ed0fa6.js";import{c as b,s as f,a as v}from"./p-98482c33.js";import"./p-90701611.js";import"./p-76595820.js";const k=class{constructor(a){i(this,a),this.calciteSwitchChange=t(this,"calciteSwitchChange",6),this.keyDownHandler=i=>{!this.disabled&&u(i.key)&&(this.toggle(),i.preventDefault())},this.clickHandler=()=>{this.toggle()},this.setSwitchEl=i=>{this.switchEl=i},this.disabled=!1,this.label=void 0,this.name=void 0,this.scale="m",this.switched=!1,this.checked=!1,this.value=void 0}switchedWatcher(i){this.checked=i}async setFocus(){await b(this),n(this.switchEl)}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit({switched:this.checked})}connectedCallback(){const i=this.checked||this.switched;i&&(this.switched=this.checked=i),s(this),d(this)}componentWillLoad(){f(this)}componentDidLoad(){v(this)}disconnectedCallback(){c(this),h(this)}componentDidRender(){p(this)}render(){return a(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},a("div",{"aria-checked":r(this.checked),"aria-label":l(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},a("div",{class:"track"},a("div",{class:"handle"})),a(m,{component:this})))}get el(){return o(this)}static get watchers(){return{switched:["switchedWatcher"]}}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}: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([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{inline-size:auto;outline-color:transparent}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{k as calcite_switch}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{r as t,c as e,f as i,h as a,H as n,g as s}from"./p-12b0f2c6.js";import{f as o,c as r,b as l,u as c,a as d,r as h,F as p}from"./p-bfbb104f.js";import{c as f,d as m,a as u}from"./p-8dc39c82.js";import{g}from"./p-76595820.js";import{i as b,t as v,q as w}from"./p-8d698c02.js";import{c as x,d as y}from"./p-3420b873.js";import{H as k}from"./p-123393a5.js";import{i as E}from"./p-f3ed0fa6.js";import{s as H,a as P,c as z}from"./p-98482c33.js";import"./p-b52f7d75.js";import"./p-90701611.js";const j=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=t=>{const{registeredElements:e}=this,i=t.find((t=>e.has(t)));return e.get(i)},this.togglePopovers=t=>{const e=t.composedPath(),i=this.queryPopover(e);i&&!i.triggerDisabled&&i.toggle(),Array.from(this.registeredElements.values()).filter((t=>t!==i&&t.autoClose&&t.open&&!e.includes(t))).forEach((t=>t.toggle(!1)))},this.keyHandler=t=>{t.defaultPrevented||("Escape"===t.key?this.closeAllPopovers():E(t.key)&&this.togglePopovers(t))},this.clickHandler=t=>{b(t)&&this.togglePopovers(t)}}registerElement(t,e){this.registeredElementCount++,this.registeredElements.set(t,e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach((t=>t.toggle(!1)))}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},D=class{constructor(i){t(this,i),this.calcitePopoverBeforeClose=e(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=e(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=e(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=e(this,"calcitePopoverOpen",6),this.guid=`calcite-popover-${g()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.setTransitionEl=t=>{this.transitionEl=t,x(this),this.focusTrapEl=t,f(this)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?o(e,t):null},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),r(this,this.effectiveReferenceElement,this.el);const{el:e,referenceElement:i,effectiveReferenceElement:a}=this;t&&i&&!a&&console.warn(`${e.tagName}: reference-element id "${i}" was not found.`,{el:e}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:e}=this;t&&"setAttribute"in t&&t.setAttribute("aria-expanded",v(e))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();"setAttribute"in t&&t.setAttribute("aria-controls",e),j.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded")),j.unregisterElement(t))},this.hide=()=>{this.open=!1},this.storeArrowEl=t=>{this.arrowEl=t,this.reposition(!0)},this.autoClose=!1,this.closable=!1,this.disableFlip=!1,this.disableFocusTrap=!1,this.disablePointer=!1,this.flipPlacements=void 0,this.heading=void 0,this.headingLevel=void 0,this.label=void 0,this.offsetDistance=l,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.scale="m",this.triggerDisabled=!1,this.intlClose="Close",this.effectiveReferenceElement=void 0}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){t?this.reposition(!0):c(this.el),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}connectedCallback(){this.setFilteredPlacements(),x(this),this.setUpReferenceElement(this.hasLoaded)}componentWillLoad(){H(this)}componentDidLoad(){P(this),this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),d(this,this.effectiveReferenceElement,this.el),y(this),m(this)}async reposition(t=!1){const{el:e,effectiveReferenceElement:i,placement:a,overlayPositioning:n,disableFlip:s,filteredFlipPlacements:o,offsetDistance:r,offsetSkidding:l,arrowEl:c}=this;return h(this,{floatingEl:e,referenceEl:i,overlayPositioning:n,placement:a,disableFlip:s,flipPlacements:o,offsetDistance:r,offsetSkidding:l,includeArrow:!this.disablePointer,arrowEl:c,type:"popover"},t)}async setFocus(t){await z(this);const{closeButtonEl:e}=this;if("close-button"===t&&e)return i(e),void e.setFocus();u(this)}async toggle(t=!this.open){this.open=t}getReferenceElement(){const{referenceElement:t,el:e}=this;return("string"==typeof t?w(e,{id:t}):t)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),this.disableFocusTrap||u(this)}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),m(this)}renderCloseButton(){const{intlClose:t,closable:e}=this;return e?a("div",{class:"close-button-container"},a("calcite-action",{class:"close-button",onClick:this.hide,ref:t=>this.closeButtonEl=t,scale:this.scale,text:t},a("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":this.scale}))):null}renderHeader(){const{heading:t,headingLevel:e}=this,i=t?a(k,{class:"heading",level:e},t):null;return i?a("div",{class:"header"},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:e,label:i,open:s,disablePointer:o}=this,r=t&&s,l=!r,c=o?null:a("div",{class:"arrow",ref:this.storeArrowEl});return a(n,{"aria-hidden":v(l),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},a("div",{class:{[p.animation]:!0,[p.animationActive]:r},ref:this.setTransitionEl},c,a("div",{class:{"has-header":!!e,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),e?null:this.renderCloseButton())))}get el(){return s(this)}static get watchers(){return{flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};D.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=right]) .arrow,:host([data-placement^=left]) .arrow{direction:ltr;text-align:start}:host([data-placement^=left]) .arrow{inset-inline-end:-4px}:host([data-placement^=right]) .arrow{inset-inline-start:-4px}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:0.75rem;padding-block:1rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1rem;padding-block:1.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}';export{D as calcite_popover}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{r as a,h as t,g as i}from"./p-12b0f2c6.js";import{f as o}from"./p-8d698c02.js";import{u as n}from"./p-a524f551.js";import{s as e,a as r,c as s}from"./p-98482c33.js";import"./p-90701611.js";import"./p-76595820.js";const c=class{constructor(t){a(this,t),this.appearance="outline",this.color="neutral",this.disabled=!1,this.icon="plus",this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1}componentWillLoad(){e(this)}componentDidLoad(){r(this)}componentDidRender(){n(this)}async setFocus(){await s(this),o(this.buttonEl)}render(){const{appearance:a,color:i,disabled:o,loading:n,scale:e,textEnabled:r,icon:s,label:c,text:l}=this;return t("calcite-button",{appearance:"solid"===a?"solid":"outline",class:"button",color:i,disabled:o,iconStart:s,label:c,loading:n,ref:a=>{this.buttonEl=a},round:!0,scale:e,title:r?null:c||l||null,type:"button",width:"auto"},this.textEnabled?this.text:null)}get el(){return i(this)}};c.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--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)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";export{c as calcite_fab}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{r as a,c as t,h as i,H as o,g as n}from"./p-12b0f2c6.js";import{t as e,E as r}from"./p-08b637c8.js";import{f as c,g as l}from"./p-8d698c02.js";import{c as s,d}from"./p-a7f09914.js";import{s as p,a as m,c as h}from"./p-98482c33.js";import"./p-ccee598f.js";import"./p-0b90715c.js";import"./p-90701611.js";import"./p-76595820.js";import"./p-899bb6c9.js";const u=class{constructor(i){a(this,i),this.calciteActionPadToggle=t(this,"calciteActionPadToggle",6),this.actionMenuOpenChangeHandler=a=>{if(a.detail){const t=a.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((a=>{t.includes(a)||(a.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=a=>{this.expandToggleEl=a},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.intlExpand=void 0,this.intlCollapse=void 0,this.position=void 0,this.scale=void 0}expandedHandler(a){e({parent:this.el,expanded:a})}connectedCallback(){s(this)}disconnectedCallback(){d(this)}componentWillLoad(){p(this);const{el:a,expanded:t}=this;e({parent:a,expanded:t})}componentDidLoad(){m(this)}async setFocus(a){var t;await h(this),"expand-toggle"!==a?null===(t=this.el)||void 0===t||t.focus():await c(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:a,expandDisabled:t,intlExpand:o,intlCollapse:n,el:e,position:c,toggleExpand:s,scale:d,layout:p}=this,m=l(e,"expand-tooltip"),h=t?null:i(r,{el:e,expanded:a,intlCollapse:n||"Collapse",intlExpand:o||"Expand",position:c,ref:this.setExpandToggleRef,scale:d,toggle:s,tooltip:m});return h?i("calcite-action-group",{class:"action-group--bottom",layout:p,scale:d},i("slot",{name:"expand-tooltip"}),h):null}render(){return i(o,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("div",{class:"container"},i("slot",null),this.renderBottomActionGroup()))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"]}}};u.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";export{u as calcite_action_pad}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{r as i,c as t,h as a,F as e,g as n}from"./p-12b0f2c6.js";import{f as r}from"./p-8d698c02.js";import{u as o}from"./p-a524f551.js";import{f as s}from"./p-ccd997a5.js";import{s as c,a as l,c as d}from"./p-98482c33.js";import{d as m}from"./p-b52f7d75.js";import"./p-90701611.js";import"./p-76595820.js";const p=class{constructor(a){i(this,a),this.calciteFilterChange=t(this,"calciteFilterChange",6),this.filter=m(((i,t=!1)=>this.updateFiltered(s(this.items,i),t)),250),this.inputHandler=i=>{const t=i.target;this.value=t.value,this.filter(t.value,!0)},this.keyDownHandler=i=>{"Escape"===i.key&&(this.clear(),i.preventDefault()),"Enter"===i.key&&i.preventDefault()},this.clear=()=>{this.value="",this.filter("",!0),this.setFocus()},this.items=[],this.disabled=!1,this.filteredItems=[],this.intlClear=void 0,this.intlLabel=void 0,this.placeholder=void 0,this.scale="m",this.value=""}watchItemsHandler(){this.filter(this.value)}valueHandler(i){this.filter(i)}componentWillLoad(){c(this),this.updateFiltered(s(this.items,this.value))}componentDidLoad(){l(this)}componentDidRender(){o(this)}async setFocus(){await d(this),r(this.textInput)}updateFiltered(i,t=!1){this.filteredItems.length=0,this.filteredItems=this.filteredItems.concat(i),t&&this.calciteFilterChange.emit()}render(){const{disabled:i,scale:t}=this;return a(e,null,a("div",{class:"container"},a("label",null,a("calcite-input",{"aria-label":this.intlLabel||"Filter",clearable:!0,disabled:i,icon:"search",intlClear:this.intlClear||"Clear filter",onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:i=>{this.textInput=i},scale:t,type:"text",value:this.value}))))}get el(){return n(this)}static get watchers(){return{items:["watchItemsHandler"],value:["valueHandler"]}}};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.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);padding-inline-end:0.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";export{p as calcite_filter}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.648
5
- */
6
- import{r as t,h as a,F as i,g as n}from"./p-12b0f2c6.js";import{S as o,I as c,T as e}from"./p-0b90715c.js";import{g as r}from"./p-8d698c02.js";import{S as l}from"./p-ccee598f.js";import{c as s,d as m}from"./p-a7f09914.js";import"./p-90701611.js";import"./p-76595820.js";import"./p-899bb6c9.js";const p=class{constructor(a){t(this,a),this.setMenuOpen=t=>{this.menuOpen=!!t.detail},this.expanded=!1,this.layout="vertical",this.columns=void 0,this.intlMore=void 0,this.menuOpen=!1,this.scale=void 0}expandedHandler(){this.menuOpen=!1}connectedCallback(){s(this)}disconnectedCallback(){m(this)}renderTooltip(){const{el:t}=this;return r(t,o.menuTooltip)?a("slot",{name:o.menuTooltip,slot:l.tooltip}):null}renderMenu(){const{el:t,expanded:i,intlMore:n,menuOpen:s,scale:m,layout:p}=this;return r(t,o.menuActions)?a("calcite-action-menu",{expanded:i,flipPlacements:["left","right"],label:n||e.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:s,placement:"horizontal"===p?"bottom-start":"leading-start",scale:m},a("calcite-action",{icon:c.menu,scale:m,slot:l.trigger,text:n||e.more,textEnabled:i}),a("slot",{name:o.menuActions}),this.renderTooltip()):null}render(){return a(i,null,a("slot",null),this.renderMenu())}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"]}}};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.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}: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{p as calcite_action_group}