@esri/calcite-components 1.0.0-next.371 → 1.0.0-next.375

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 (368) hide show
  1. package/dist/calcite/assets/calcite-date-picker/nls/pt-BR.json +31 -0
  2. package/dist/calcite/assets/calcite-date-picker/nls/pt-PT.json +3 -3
  3. package/dist/calcite/calcite.esm.js +1 -1
  4. package/dist/calcite/{p-8f647ab0.system.entry.js → p-0164361f.system.entry.js} +1 -1
  5. package/dist/calcite/{p-e1944963.js → p-01b7adb5.js} +1 -1
  6. package/dist/calcite/p-05ad8606.system.entry.js +5 -0
  7. package/dist/calcite/{p-8a237191.system.entry.js → p-06dbe76a.system.entry.js} +1 -1
  8. package/dist/calcite/{p-d908834f.system.entry.js → p-0a85cd8c.system.entry.js} +1 -1
  9. package/dist/calcite/{p-e690993e.system.entry.js → p-0cb38659.system.entry.js} +1 -1
  10. package/dist/calcite/{p-99d29b5c.system.entry.js → p-12142a2c.system.entry.js} +1 -1
  11. package/dist/calcite/{p-40bb088d.entry.js → p-146d8510.entry.js} +1 -1
  12. package/dist/calcite/{p-f044fcc5.system.entry.js → p-14ca5cdf.system.entry.js} +1 -1
  13. package/dist/calcite/{p-3d4c34e5.js → p-14e47d1b.js} +1 -1
  14. package/dist/calcite/{p-21f26f77.entry.js → p-1668089f.entry.js} +1 -1
  15. package/dist/calcite/{p-8ebed170.system.entry.js → p-1804c868.system.entry.js} +1 -1
  16. package/dist/calcite/{p-fbcaa23c.system.js → p-1a3a366d.system.js} +1 -1
  17. package/dist/calcite/{p-4c021c5c.entry.js → p-2218fef5.entry.js} +1 -1
  18. package/dist/calcite/{p-38e64c6b.entry.js → p-2297db38.entry.js} +1 -1
  19. package/dist/calcite/{p-84defe75.system.entry.js → p-243985d8.system.entry.js} +1 -1
  20. package/dist/calcite/{p-1894562d.system.entry.js → p-2f0d280a.system.entry.js} +1 -1
  21. package/dist/calcite/{p-24b54c99.system.entry.js → p-3dd50bac.system.entry.js} +1 -1
  22. package/dist/calcite/{p-2d411997.system.entry.js → p-40c3d7a6.system.entry.js} +1 -1
  23. package/dist/calcite/{p-52871e84.system.js → p-44aa1db4.system.js} +1 -1
  24. package/dist/calcite/{p-6c4bec59.entry.js → p-49782820.entry.js} +1 -1
  25. package/dist/calcite/{p-57bf81c4.system.entry.js → p-4d81b84b.system.entry.js} +2 -2
  26. package/dist/calcite/{p-bc770774.system.entry.js → p-4d88c604.system.entry.js} +1 -1
  27. package/dist/calcite/p-4e258f5c.entry.js +5 -0
  28. package/dist/calcite/{p-e0fa3b13.system.entry.js → p-54bb21f5.system.entry.js} +1 -1
  29. package/dist/calcite/p-54edaa0d.entry.js +5 -0
  30. package/dist/calcite/{p-51a85436.entry.js → p-58eb8460.entry.js} +1 -1
  31. package/dist/calcite/{p-96808ed2.entry.js → p-5a77fd17.entry.js} +1 -1
  32. package/dist/calcite/{p-b80ab9ba.entry.js → p-5b8404de.entry.js} +1 -1
  33. package/dist/calcite/{p-f09810e7.entry.js → p-5d12a140.entry.js} +1 -1
  34. package/dist/calcite/{p-f5469b62.system.entry.js → p-5d7da300.system.entry.js} +1 -1
  35. package/dist/calcite/{p-fe94050d.entry.js → p-63f8783a.entry.js} +1 -1
  36. package/dist/calcite/{p-4c6fe413.system.entry.js → p-6afd69dc.system.entry.js} +1 -1
  37. package/dist/calcite/{p-d1794edd.entry.js → p-6e37af80.entry.js} +1 -1
  38. package/dist/calcite/p-6eb1302b.entry.js +5 -0
  39. package/dist/calcite/{p-6fa59c8c.entry.js → p-6fb9fef5.entry.js} +1 -1
  40. package/dist/calcite/{p-14ff4cbd.system.js → p-70dd483b.system.js} +1 -1
  41. package/dist/calcite/p-7409e609.system.js +5 -0
  42. package/dist/calcite/p-7415264e.system.entry.js +5 -0
  43. package/dist/calcite/p-754809de.entry.js +5 -0
  44. package/dist/calcite/p-76c53ab5.entry.js +5 -0
  45. package/dist/calcite/{p-0faf1684.system.entry.js → p-7743a8d0.system.entry.js} +1 -1
  46. package/dist/calcite/{p-799f0655.entry.js → p-786b8250.entry.js} +1 -1
  47. package/dist/calcite/{p-590d13bd.entry.js → p-78725919.entry.js} +1 -1
  48. package/dist/calcite/p-7bdeb3ba.system.entry.js +5 -0
  49. package/dist/calcite/{p-4dcae709.system.entry.js → p-7d4316a1.system.entry.js} +1 -1
  50. package/dist/calcite/{p-5c256f31.system.entry.js → p-80eb08b3.system.entry.js} +1 -1
  51. package/dist/calcite/{p-7cba1720.system.entry.js → p-8604c625.system.entry.js} +1 -1
  52. package/dist/calcite/{p-67e13029.system.entry.js → p-86b63ebb.system.entry.js} +1 -1
  53. package/dist/calcite/p-8a413063.js +5 -0
  54. package/dist/calcite/{p-32f6f7df.entry.js → p-8c126095.entry.js} +1 -1
  55. package/dist/calcite/{p-242fdd67.entry.js → p-8e4aa7f7.entry.js} +1 -1
  56. package/dist/calcite/{p-ee7e311e.system.entry.js → p-8f2c68f4.system.entry.js} +1 -1
  57. package/dist/calcite/p-8f3a3e4e.js +5 -0
  58. package/dist/calcite/{p-7f5bd070.system.entry.js → p-900e18a5.system.entry.js} +1 -1
  59. package/dist/calcite/{p-0389f96b.system.entry.js → p-92711575.system.entry.js} +2 -2
  60. package/dist/calcite/{p-e606e9ae.system.entry.js → p-92d9b81d.system.entry.js} +1 -1
  61. package/dist/calcite/p-99b729f6.entry.js +5 -0
  62. package/dist/calcite/p-99d32fc3.system.js +1 -1
  63. package/dist/calcite/p-9a7c4812.js +5 -0
  64. package/dist/calcite/{p-45bfe5bf.system.entry.js → p-9ca6c750.system.entry.js} +1 -1
  65. package/dist/calcite/{p-6b8dcbb0.entry.js → p-9d7102c0.entry.js} +1 -1
  66. package/dist/calcite/p-9e2c9752.entry.js +5 -0
  67. package/dist/calcite/p-9f49c4fe.system.entry.js +5 -0
  68. package/dist/calcite/p-a49d1a11.system.entry.js +5 -0
  69. package/dist/calcite/p-a5660ba5.entry.js +5 -0
  70. package/dist/calcite/{p-28dea60a.system.js → p-a99c8ebf.system.js} +1 -1
  71. package/dist/calcite/p-aceeb62f.entry.js +5 -0
  72. package/dist/calcite/{p-132d55c2.entry.js → p-af669f43.entry.js} +1 -1
  73. package/dist/calcite/{p-8f4ea148.system.entry.js → p-af84fa29.system.entry.js} +1 -1
  74. package/dist/calcite/p-b002b038.entry.js +5 -0
  75. package/dist/calcite/p-b3e034cb.entry.js +5 -0
  76. package/dist/calcite/p-b78f6de5.system.entry.js +5 -0
  77. package/dist/calcite/{p-5aaa0088.system.entry.js → p-b86f0930.system.entry.js} +1 -1
  78. package/dist/calcite/p-bab0c984.entry.js +5 -0
  79. package/dist/calcite/{p-eea18662.entry.js → p-baca86e3.entry.js} +1 -1
  80. package/dist/calcite/{p-203e951b.system.entry.js → p-bd576ae0.system.entry.js} +1 -1
  81. package/dist/calcite/{p-6de78659.system.entry.js → p-bd6cbbbd.system.entry.js} +1 -1
  82. package/dist/calcite/{p-a25ebce7.entry.js → p-be231b84.entry.js} +1 -1
  83. package/dist/calcite/{p-51550014.entry.js → p-c1c37da9.entry.js} +1 -1
  84. package/dist/calcite/p-c39e7451.entry.js +5 -0
  85. package/dist/calcite/{p-de09fc5c.system.entry.js → p-c5463268.system.entry.js} +1 -1
  86. package/dist/calcite/{p-10f1a096.system.entry.js → p-c93dbb93.system.entry.js} +1 -1
  87. package/dist/calcite/{p-3e9e4992.entry.js → p-d14265f3.entry.js} +1 -1
  88. package/dist/calcite/p-d2bcb3ae.entry.js +5 -0
  89. package/dist/calcite/p-d6f6b6c1.entry.js +5 -0
  90. package/dist/calcite/{p-7db0947c.entry.js → p-da470de7.entry.js} +1 -1
  91. package/dist/calcite/p-dd8b6d4f.system.entry.js +5 -0
  92. package/dist/calcite/p-e05aa070.entry.js +5 -0
  93. package/dist/calcite/{p-7f32a681.system.entry.js → p-e1491358.system.entry.js} +1 -1
  94. package/dist/calcite/{p-781ebed0.system.js → p-e2047621.system.js} +1 -1
  95. package/dist/calcite/{p-fee6af61.entry.js → p-e4862fff.entry.js} +1 -1
  96. package/dist/calcite/{p-05dc6806.entry.js → p-e5420c67.entry.js} +1 -1
  97. package/dist/calcite/{p-4ef2119c.entry.js → p-e5526c34.entry.js} +1 -1
  98. package/dist/calcite/p-e66c335c.entry.js +5 -0
  99. package/dist/calcite/{p-bb9fb183.system.entry.js → p-e83a5fe4.system.entry.js} +1 -1
  100. package/dist/calcite/{p-fcd62e97.js → p-e8e0f3b7.js} +1 -1
  101. package/dist/calcite/{p-3a20f93d.system.js → p-ec9bab33.system.js} +1 -1
  102. package/dist/calcite/{p-41894582.js → p-eeb91710.js} +1 -1
  103. package/dist/calcite/{p-283ff9e8.entry.js → p-f1dc4798.entry.js} +1 -1
  104. package/dist/calcite/p-f3102bbb.system.entry.js +5 -0
  105. package/dist/calcite/p-f3a85d19.system.entry.js +5 -0
  106. package/dist/calcite/{p-088a096d.system.entry.js → p-f4d9c369.system.entry.js} +1 -1
  107. package/dist/calcite/{p-59133b9b.entry.js → p-f7572da7.entry.js} +1 -1
  108. package/dist/calcite/{p-492d644c.system.entry.js → p-fd3c4738.system.entry.js} +1 -1
  109. package/dist/calcite/p-fe6e3ff9.entry.js +5 -0
  110. package/dist/calcite/{p-bb20e0fc.system.entry.js → p-ff04cfb1.system.entry.js} +1 -1
  111. package/dist/cjs/{CalciteExpandToggle-65468585.js → CalciteExpandToggle-d24fed0e.js} +1 -1
  112. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -4
  113. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  114. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  115. package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -5
  116. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  117. package/dist/cjs/calcite-alert.cjs.entry.js +5 -7
  118. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  119. package/dist/cjs/calcite-block_2.cjs.entry.js +1 -1
  120. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  121. package/dist/cjs/calcite-card.cjs.entry.js +17 -6
  122. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  123. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  124. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
  125. package/dist/cjs/calcite-combobox_3.cjs.entry.js +16 -13
  126. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +2 -2
  127. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +3 -3
  128. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  129. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  130. package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -6
  131. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  132. package/dist/cjs/calcite-inline-editable.cjs.entry.js +40 -15
  133. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +5 -5
  134. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  135. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  136. package/dist/cjs/calcite-input.cjs.entry.js +14 -10
  137. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  138. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  139. package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
  140. package/dist/cjs/calcite-notice.cjs.entry.js +5 -7
  141. package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
  142. package/dist/cjs/calcite-panel.cjs.entry.js +18 -2
  143. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  144. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  145. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +13 -0
  146. package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -7
  147. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +3 -3
  148. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  149. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -5
  150. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  151. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  152. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  153. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  154. package/dist/cjs/calcite-tip_3.cjs.entry.js +1 -1
  155. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  156. package/dist/cjs/calcite-tree_2.cjs.entry.js +15 -8
  157. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  158. package/dist/cjs/calcite.cjs.js +1 -1
  159. package/dist/cjs/{dom-0de9fb18.js → dom-f3df220d.js} +13 -10
  160. package/dist/cjs/{form-4b7c317e.js → form-237cf392.js} +1 -1
  161. package/dist/cjs/{label-1bca211b.js → label-6b18ca08.js} +1 -1
  162. package/dist/cjs/loader.cjs.js +1 -1
  163. package/dist/cjs/{popper-09105f6f.js → popper-13a2bb46.js} +1 -1
  164. package/dist/cjs/{resources-405cc2c4.js → resources-95073e41.js} +1 -1
  165. package/dist/cjs/{resources-9f0994fb.js → resources-f70fb01b.js} +7 -3
  166. package/dist/collection/components/calcite-accordion/calcite-accordion.css +5 -5
  167. package/dist/collection/components/calcite-accordion/calcite-accordion.js +5 -1
  168. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +2 -16
  169. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +1 -4
  170. package/dist/collection/components/calcite-alert/calcite-alert.js +8 -7
  171. package/dist/collection/components/calcite-card/calcite-card.js +15 -6
  172. package/dist/collection/components/calcite-combobox/calcite-combobox.js +5 -4
  173. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +9 -7
  174. package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/pt-BR.json +31 -0
  175. package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/pt-PT.json +3 -3
  176. package/dist/collection/components/calcite-date-picker/utils.js +7 -3
  177. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +2 -2
  178. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +39 -14
  179. package/dist/collection/components/calcite-input/calcite-input.js +12 -8
  180. package/dist/collection/components/calcite-modal/calcite-modal.js +1 -1
  181. package/dist/collection/components/calcite-notice/calcite-notice.js +4 -6
  182. package/dist/collection/components/calcite-panel/calcite-panel.js +41 -5
  183. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +0 -4
  184. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +13 -0
  185. package/dist/collection/components/calcite-shell/calcite-shell.js +9 -7
  186. package/dist/collection/components/calcite-slider/calcite-slider.js +7 -3
  187. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +16 -7
  188. package/dist/collection/utils/dom.js +13 -10
  189. package/dist/components/calcite-accordion-item.js +1 -1
  190. package/dist/components/calcite-accordion.js +5 -2
  191. package/dist/components/calcite-action-menu2.js +1 -4
  192. package/dist/components/calcite-alert.js +5 -7
  193. package/dist/components/calcite-card.js +15 -6
  194. package/dist/components/calcite-combobox-item.js +8 -6
  195. package/dist/components/calcite-combobox.js +5 -4
  196. package/dist/components/calcite-date-picker2.js +7 -3
  197. package/dist/components/calcite-dropdown2.js +2 -2
  198. package/dist/components/calcite-inline-editable.js +39 -14
  199. package/dist/components/calcite-input2.js +12 -8
  200. package/dist/components/calcite-modal.js +1 -1
  201. package/dist/components/calcite-notice.js +4 -6
  202. package/dist/components/calcite-panel.js +19 -2
  203. package/dist/components/calcite-radio-button-group.js +13 -0
  204. package/dist/components/calcite-radio-button.js +0 -4
  205. package/dist/components/calcite-shell.js +7 -4
  206. package/dist/components/calcite-slider.js +7 -3
  207. package/dist/components/calcite-tree-item.js +14 -7
  208. package/dist/components/dom.js +13 -10
  209. package/dist/custom-elements/index.js +165 -88
  210. package/dist/esm/{CalciteExpandToggle-48b6e955.js → CalciteExpandToggle-cff030be.js} +1 -1
  211. package/dist/esm/calcite-accordion_2.entry.js +7 -4
  212. package/dist/esm/calcite-action-bar.entry.js +2 -2
  213. package/dist/esm/calcite-action-group.entry.js +1 -1
  214. package/dist/esm/calcite-action-menu.entry.js +2 -5
  215. package/dist/esm/calcite-action-pad.entry.js +2 -2
  216. package/dist/esm/calcite-alert.entry.js +5 -7
  217. package/dist/esm/calcite-avatar.entry.js +1 -1
  218. package/dist/esm/calcite-block_2.entry.js +1 -1
  219. package/dist/esm/calcite-button.entry.js +2 -2
  220. package/dist/esm/calcite-card.entry.js +17 -6
  221. package/dist/esm/calcite-checkbox.entry.js +3 -3
  222. package/dist/esm/calcite-chip.entry.js +1 -1
  223. package/dist/esm/calcite-color-picker_3.entry.js +1 -1
  224. package/dist/esm/calcite-combobox_3.entry.js +16 -13
  225. package/dist/esm/calcite-date-picker_4.entry.js +2 -2
  226. package/dist/esm/calcite-dropdown_3.entry.js +3 -3
  227. package/dist/esm/calcite-fab.entry.js +1 -1
  228. package/dist/esm/calcite-filter.entry.js +1 -1
  229. package/dist/esm/calcite-graph_2.entry.js +10 -6
  230. package/dist/esm/calcite-icon.entry.js +1 -1
  231. package/dist/esm/calcite-inline-editable.entry.js +40 -15
  232. package/dist/esm/calcite-input-date-picker.entry.js +5 -5
  233. package/dist/esm/calcite-input-message.entry.js +1 -1
  234. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  235. package/dist/esm/calcite-input.entry.js +14 -10
  236. package/dist/esm/calcite-link.entry.js +1 -1
  237. package/dist/esm/calcite-list_3.entry.js +1 -1
  238. package/dist/esm/calcite-modal.entry.js +2 -2
  239. package/dist/esm/calcite-notice.entry.js +5 -7
  240. package/dist/esm/calcite-option_3.entry.js +3 -3
  241. package/dist/esm/calcite-panel.entry.js +18 -2
  242. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  243. package/dist/esm/calcite-popover_2.entry.js +2 -2
  244. package/dist/esm/calcite-radio-button-group.entry.js +13 -0
  245. package/dist/esm/calcite-radio-button.entry.js +3 -7
  246. package/dist/esm/calcite-radio-group_2.entry.js +3 -3
  247. package/dist/esm/calcite-rating.entry.js +3 -3
  248. package/dist/esm/calcite-shell_3.entry.js +8 -5
  249. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  250. package/dist/esm/calcite-switch.entry.js +3 -3
  251. package/dist/esm/calcite-tab_4.entry.js +1 -1
  252. package/dist/esm/calcite-tile.entry.js +1 -1
  253. package/dist/esm/calcite-tip_3.entry.js +1 -1
  254. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  255. package/dist/esm/calcite-tree_2.entry.js +15 -8
  256. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  257. package/dist/esm/calcite.js +1 -1
  258. package/dist/esm/{dom-037dc374.js → dom-e7fa77b9.js} +13 -10
  259. package/dist/esm/{form-72369b73.js → form-f90706b4.js} +1 -1
  260. package/dist/esm/{label-712646d2.js → label-2bffc9f4.js} +1 -1
  261. package/dist/esm/loader.js +1 -1
  262. package/dist/esm/{popper-7a7fd3b5.js → popper-ae231554.js} +1 -1
  263. package/dist/esm/{resources-03c0a433.js → resources-95c5e8a6.js} +1 -1
  264. package/dist/esm/{resources-90193940.js → resources-f02a1ab5.js} +7 -3
  265. package/dist/esm-es5/{CalciteExpandToggle-48b6e955.js → CalciteExpandToggle-cff030be.js} +1 -1
  266. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  267. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  268. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  269. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  270. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  271. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  272. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  273. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  274. package/dist/esm-es5/calcite-button.entry.js +1 -1
  275. package/dist/esm-es5/calcite-card.entry.js +1 -1
  276. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  277. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  278. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  279. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  280. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  281. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  282. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  283. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  284. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  285. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  286. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  287. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  288. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  289. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  290. package/dist/esm-es5/calcite-input.entry.js +1 -1
  291. package/dist/esm-es5/calcite-link.entry.js +1 -1
  292. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  293. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  294. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  295. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  296. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  297. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  298. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  299. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  300. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  301. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  302. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  303. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  304. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  305. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  306. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  307. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  308. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  309. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  310. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  311. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  312. package/dist/esm-es5/calcite.js +1 -1
  313. package/dist/esm-es5/dom-e7fa77b9.js +5 -0
  314. package/dist/esm-es5/{form-72369b73.js → form-f90706b4.js} +1 -1
  315. package/dist/esm-es5/{label-712646d2.js → label-2bffc9f4.js} +1 -1
  316. package/dist/esm-es5/loader.js +1 -1
  317. package/dist/esm-es5/{popper-7a7fd3b5.js → popper-ae231554.js} +1 -1
  318. package/dist/esm-es5/{resources-03c0a433.js → resources-95c5e8a6.js} +1 -1
  319. package/dist/esm-es5/resources-f02a1ab5.js +5 -0
  320. package/dist/extras/docs-json.json +12 -1
  321. package/dist/types/components/calcite-alert/calcite-alert.d.ts +0 -3
  322. package/dist/types/components/calcite-card/calcite-card.d.ts +4 -1
  323. package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +3 -3
  324. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +3 -1
  325. package/dist/types/components/calcite-input/calcite-input.d.ts +2 -4
  326. package/dist/types/components/calcite-notice/calcite-notice.d.ts +0 -3
  327. package/dist/types/components/calcite-panel/calcite-panel.d.ts +12 -0
  328. package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +2 -0
  329. package/dist/types/components/calcite-slider/calcite-slider.d.ts +1 -0
  330. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
  331. package/dist/types/components.d.ts +4 -0
  332. package/dist/types/utils/dom.d.ts +1 -0
  333. package/hydrate/index.js +160 -86
  334. package/package.json +6 -2
  335. package/readme.md +2 -6
  336. package/dist/calcite/p-1b06ada3.entry.js +0 -5
  337. package/dist/calcite/p-26fd946c.entry.js +0 -5
  338. package/dist/calcite/p-3063b012.entry.js +0 -5
  339. package/dist/calcite/p-32f7eb32.js +0 -5
  340. package/dist/calcite/p-341eef4e.entry.js +0 -5
  341. package/dist/calcite/p-41e2198b.js +0 -5
  342. package/dist/calcite/p-4641ef1f.entry.js +0 -5
  343. package/dist/calcite/p-4b3160ad.system.entry.js +0 -5
  344. package/dist/calcite/p-500b9fa0.entry.js +0 -5
  345. package/dist/calcite/p-57584243.system.entry.js +0 -5
  346. package/dist/calcite/p-5b7d5f36.entry.js +0 -5
  347. package/dist/calcite/p-6515e0a5.entry.js +0 -5
  348. package/dist/calcite/p-77279f88.system.entry.js +0 -5
  349. package/dist/calcite/p-7a28e833.system.entry.js +0 -5
  350. package/dist/calcite/p-7ed5b78e.system.entry.js +0 -5
  351. package/dist/calcite/p-8468ddb0.system.entry.js +0 -5
  352. package/dist/calcite/p-92de4a81.entry.js +0 -5
  353. package/dist/calcite/p-950b42e3.entry.js +0 -5
  354. package/dist/calcite/p-9b05c3fd.js +0 -5
  355. package/dist/calcite/p-a5c73259.entry.js +0 -5
  356. package/dist/calcite/p-a980b2df.entry.js +0 -5
  357. package/dist/calcite/p-b052f523.entry.js +0 -5
  358. package/dist/calcite/p-c029ffb1.entry.js +0 -5
  359. package/dist/calcite/p-c56f495f.system.js +0 -5
  360. package/dist/calcite/p-c7b8a068.entry.js +0 -5
  361. package/dist/calcite/p-cf2be87e.entry.js +0 -5
  362. package/dist/calcite/p-dba7c714.system.entry.js +0 -5
  363. package/dist/calcite/p-de8496be.system.entry.js +0 -5
  364. package/dist/calcite/p-e63f0806.entry.js +0 -5
  365. package/dist/calcite/p-f90b2e7f.entry.js +0 -5
  366. package/dist/calcite/p-f94619be.system.entry.js +0 -5
  367. package/dist/esm-es5/dom-037dc374.js +0 -5
  368. package/dist/esm-es5/resources-90193940.js +0 -5
@@ -3,9 +3,10 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { Component, Element, Event, h, Listen, Method, Prop, Watch } from "@stencil/core";
6
- import { getElementProp } from "../../utils/dom";
6
+ import { getElementProp, getSlotted } from "../../utils/dom";
7
7
  import { TEXT, CSS } from "./resources";
8
8
  import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
9
+ import { createObserver } from "../../utils/observers";
9
10
  /**
10
11
  * @slot - A slot for adding a `calcite-input`.
11
12
  */
@@ -36,26 +37,31 @@ export class CalciteInlineEditable {
36
37
  * @default "Save"
37
38
  */
38
39
  this.intlConfirmChanges = TEXT.intlConfirmChanges;
40
+ this.mutationObserver = createObserver("mutation", () => this.mutationObserverCallback());
39
41
  this.transitionEnd = () => {
40
42
  if (!this.editingEnabled && !!this.shouldEmitCancel) {
41
43
  this.calciteInlineEditableEditCancel.emit();
42
44
  }
43
45
  };
44
46
  this.enableEditing = () => {
45
- this.valuePriorToEditing = this.inputElement.value;
47
+ var _a, _b;
48
+ this.valuePriorToEditing = (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.value;
46
49
  this.editingEnabled = true;
47
- this.inputElement.setFocus();
50
+ (_b = this.inputElement) === null || _b === void 0 ? void 0 : _b.setFocus();
48
51
  this.calciteInlineEditableEnableEditingChange.emit();
49
52
  };
50
53
  this.disableEditing = () => {
51
54
  this.editingEnabled = false;
52
55
  };
53
56
  this.cancelEditing = () => {
54
- this.inputElement.value = this.valuePriorToEditing;
57
+ if (this.inputElement) {
58
+ this.inputElement.value = this.valuePriorToEditing;
59
+ }
55
60
  this.disableEditing();
56
61
  this.enableEditingButton.setFocus();
57
62
  };
58
63
  this.escapeKeyHandler = async (e) => {
64
+ var _a;
59
65
  if (e.key !== "Escape") {
60
66
  if (e.key === "Tab" && this.shouldShowControls) {
61
67
  if (!e.shiftKey && e.target === this.inputElement) {
@@ -65,7 +71,7 @@ export class CalciteInlineEditable {
65
71
  if (!!e.shiftKey && e.target === this.cancelEditingButton) {
66
72
  e.preventDefault();
67
73
  e.stopPropagation();
68
- this.inputElement.setFocus();
74
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus();
69
75
  }
70
76
  }
71
77
  return;
@@ -107,10 +113,14 @@ export class CalciteInlineEditable {
107
113
  };
108
114
  }
109
115
  disabledWatcher(disabled) {
110
- this.inputElement.disabled = disabled;
116
+ if (this.inputElement) {
117
+ this.inputElement.disabled = disabled;
118
+ }
111
119
  }
112
120
  editingEnabledWatcher(newValue, oldValue) {
113
- this.inputElement.editingEnabled = newValue;
121
+ if (this.inputElement) {
122
+ this.inputElement.editingEnabled = newValue;
123
+ }
114
124
  if (!newValue && !!oldValue) {
115
125
  this.shouldEmitCancel = true;
116
126
  }
@@ -121,17 +131,15 @@ export class CalciteInlineEditable {
121
131
  //
122
132
  //--------------------------------------------------------------------------
123
133
  connectedCallback() {
134
+ var _a;
124
135
  connectLabel(this);
136
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
137
+ this.mutationObserverCallback();
125
138
  }
126
139
  disconnectedCallback() {
140
+ var _a;
127
141
  disconnectLabel(this);
128
- }
129
- componentWillLoad() {
130
- this.inputElement = this.el.querySelector("calcite-input");
131
- this.inputElement.disabled = this.disabled;
132
- this.inputElement.label = this.inputElement.label || getLabelText(this);
133
- this.scale =
134
- this.scale || this.inputElement.scale || getElementProp(this.el, "scale", undefined);
142
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
135
143
  }
136
144
  render() {
137
145
  return (h("div", { class: CSS.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler, onTransitionEnd: this.transitionEnd },
@@ -177,9 +185,26 @@ export class CalciteInlineEditable {
177
185
  // Private Methods
178
186
  //
179
187
  //--------------------------------------------------------------------------
188
+ mutationObserverCallback() {
189
+ var _a;
190
+ this.updateSlottedInput();
191
+ this.scale =
192
+ this.scale || ((_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.scale) || getElementProp(this.el, "scale", undefined);
193
+ }
180
194
  onLabelClick() {
181
195
  this.setFocus();
182
196
  }
197
+ updateSlottedInput() {
198
+ const inputElement = getSlotted(this.el, {
199
+ matches: "calcite-input"
200
+ });
201
+ this.inputElement = inputElement;
202
+ if (!inputElement) {
203
+ return;
204
+ }
205
+ this.inputElement.disabled = this.disabled;
206
+ this.inputElement.label = this.inputElement.label || getLabelText(this);
207
+ }
183
208
  get shouldShowControls() {
184
209
  return this.editingEnabled && this.controls;
185
210
  }
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from "@stencil/core";
6
- import { getElementDir, getElementProp, setRequestedIcon } from "../../utils/dom";
6
+ import { getElementDir, getElementProp, getSlotted, setRequestedIcon } from "../../utils/dom";
7
7
  import { CSS, INPUT_TYPE_ICONS, SLOTS } from "./resources";
8
8
  import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
9
9
  import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
@@ -12,6 +12,7 @@ import { numberKeys } from "../../utils/key";
12
12
  import { isValidNumber, parseNumberString, sanitizeNumberString } from "../../utils/number";
13
13
  import { CSS_UTILITY, TEXT } from "../../utils/resources";
14
14
  import { decimalPlaces } from "../../utils/math";
15
+ import { createObserver } from "../../utils/observers";
15
16
  /**
16
17
  * @slot action - A slot for positioning a button next to an input
17
18
  */
@@ -76,6 +77,7 @@ export class CalciteInput {
76
77
  this.childElType = "input";
77
78
  /** whether the value of the input was changed as a result of user typing or not */
78
79
  this.internalValueChange = false;
80
+ this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
79
81
  //--------------------------------------------------------------------------
80
82
  //
81
83
  // Private Methods
@@ -114,7 +116,8 @@ export class CalciteInput {
114
116
  }
115
117
  };
116
118
  this.inputFocusHandler = (event) => {
117
- if (event.target !== this.slottedActionEl) {
119
+ const slottedActionEl = getSlotted(this.el, "action");
120
+ if (event.target !== slottedActionEl) {
118
121
  this.setFocus();
119
122
  }
120
123
  this.calciteInputFocus.emit({
@@ -358,6 +361,7 @@ export class CalciteInput {
358
361
  //
359
362
  //--------------------------------------------------------------------------
360
363
  connectedCallback() {
364
+ var _a;
361
365
  this.scale = getElementProp(this.el, "scale", this.scale);
362
366
  this.status = getElementProp(this.el, "status", this.status);
363
367
  this.inlineEditableEl = this.el.closest("calcite-inline-editable");
@@ -374,10 +378,14 @@ export class CalciteInput {
374
378
  }
375
379
  connectLabel(this);
376
380
  connectForm(this);
381
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
382
+ this.setDisabledAction();
377
383
  }
378
384
  disconnectedCallback() {
385
+ var _a;
379
386
  disconnectLabel(this);
380
387
  disconnectForm(this);
388
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
381
389
  }
382
390
  componentWillLoad() {
383
391
  var _a, _b;
@@ -386,10 +394,6 @@ export class CalciteInput {
386
394
  this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
387
395
  this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
388
396
  }
389
- componentDidLoad() {
390
- this.slottedActionEl = this.el.querySelector("[slot=action]");
391
- this.setDisabledAction();
392
- }
393
397
  componentShouldUpdate(newValue, oldValue, property) {
394
398
  if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
395
399
  this.setValue({
@@ -461,10 +465,10 @@ export class CalciteInput {
461
465
  }
462
466
  }
463
467
  setDisabledAction() {
464
- if (!this.slottedActionEl) {
468
+ const slottedActionEl = getSlotted(this.el, "action");
469
+ if (!slottedActionEl) {
465
470
  return;
466
471
  }
467
- const slottedActionEl = this.slottedActionEl;
468
472
  this.disabled
469
473
  ? slottedActionEl.setAttribute("disabled", "")
470
474
  : slottedActionEl.removeAttribute("disabled");
@@ -98,7 +98,7 @@ export class CalciteModal {
98
98
  }
99
99
  };
100
100
  this.updateFooterVisibility = () => {
101
- this.hasFooter = !!this.el.querySelector(`[slot=${SLOTS.back}], [slot=${SLOTS.secondary}], [slot=${SLOTS.primary}]`);
101
+ this.hasFooter = !!getSlotted(this.el, [SLOTS.back, SLOTS.primary, SLOTS.secondary]);
102
102
  };
103
103
  }
104
104
  //--------------------------------------------------------------------------
@@ -66,9 +66,6 @@ export class CalciteNotice {
66
66
  componentWillLoad() {
67
67
  this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
68
68
  }
69
- componentDidLoad() {
70
- this.noticeLinkEl = this.el.querySelector("calcite-link");
71
- }
72
69
  render() {
73
70
  const { el } = this;
74
71
  const closeButton = (h("button", { "aria-label": this.intlClose, class: CSS.close, onClick: this.close, ref: (el) => (this.closeButton = el) },
@@ -92,11 +89,12 @@ export class CalciteNotice {
92
89
  //--------------------------------------------------------------------------
93
90
  /** Sets focus on the component. */
94
91
  async setFocus() {
95
- if (!this.closeButton && !this.noticeLinkEl) {
92
+ const noticeLinkEl = this.el.querySelector("calcite-link");
93
+ if (!this.closeButton && !noticeLinkEl) {
96
94
  return;
97
95
  }
98
- if (this.noticeLinkEl) {
99
- this.noticeLinkEl.setFocus();
96
+ if (noticeLinkEl) {
97
+ noticeLinkEl.setFocus();
100
98
  }
101
99
  else if (this.closeButton) {
102
100
  this.closeButton.focus();
@@ -110,6 +110,20 @@ export class CalcitePanel {
110
110
  }
111
111
  (_c = this.containerEl) === null || _c === void 0 ? void 0 : _c.focus();
112
112
  }
113
+ /** Scrolls panel content to a particular set of coordinates.
114
+ *
115
+ * ```
116
+ * myCalcitePanel.scrollContentTo({
117
+ * left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
118
+ * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
119
+ * behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
120
+ * });
121
+ * ```
122
+ */
123
+ async scrollContentTo(options) {
124
+ var _a;
125
+ (_a = this.panelScrollEl) === null || _a === void 0 ? void 0 : _a.scrollTo(options);
126
+ }
113
127
  // --------------------------------------------------------------------------
114
128
  //
115
129
  // Render Methods
@@ -193,11 +207,11 @@ export class CalcitePanel {
193
207
  renderContent() {
194
208
  const { el } = this;
195
209
  const hasFab = getSlotted(el, SLOTS.fab);
196
- return hasFab ? (h("div", { class: { [CSS.contentWrapper]: true, [CSS.contentHeight]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 },
197
- h("section", { class: CSS.contentContainer },
198
- h("slot", null)),
199
- this.renderFab())) : (h("section", { class: { [CSS.contentWrapper]: true, [CSS.contentContainer]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 },
200
- h("slot", null)));
210
+ const defaultSlotNode = h("slot", { key: "default-slot" });
211
+ const contentWrapperKey = "content-wrapper";
212
+ return hasFab ? (h("div", { class: { [CSS.contentWrapper]: true, [CSS.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: (el) => (this.panelScrollEl = el), tabIndex: 0 },
213
+ h("section", { class: CSS.contentContainer }, defaultSlotNode),
214
+ this.renderFab())) : (h("section", { class: { [CSS.contentWrapper]: true, [CSS.contentContainer]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: (el) => (this.panelScrollEl = el), tabIndex: 0 }, defaultSlotNode));
201
215
  }
202
216
  renderFab() {
203
217
  return (h("div", { class: CSS.fabContainer },
@@ -566,6 +580,28 @@ export class CalcitePanel {
566
580
  "text": "Sets focus on the component.",
567
581
  "tags": []
568
582
  }
583
+ },
584
+ "scrollContentTo": {
585
+ "complexType": {
586
+ "signature": "(options?: ScrollToOptions) => Promise<void>",
587
+ "parameters": [{
588
+ "tags": [],
589
+ "text": ""
590
+ }],
591
+ "references": {
592
+ "Promise": {
593
+ "location": "global"
594
+ },
595
+ "ScrollToOptions": {
596
+ "location": "global"
597
+ }
598
+ },
599
+ "return": "Promise<void>"
600
+ },
601
+ "docs": {
602
+ "text": "Scrolls panel content to a particular set of coordinates.\n\n```\n myCalcitePanel.scrollContentTo({\n left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.\n top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element\n behavior: \"auto\" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).\n });\n```",
603
+ "tags": []
604
+ }
569
605
  }
570
606
  }; }
571
607
  static get elementRef() { return "el"; }
@@ -129,10 +129,6 @@ export class CalciteRadioButton {
129
129
  }
130
130
  nameChanged() {
131
131
  this.checkLastRadioButton();
132
- const currentValue = this.rootNode.querySelector(`input[name="${this.name}"]:checked`);
133
- if (!(currentValue === null || currentValue === void 0 ? void 0 : currentValue.value)) {
134
- this.uncheckAllRadioButtonsInGroup();
135
- }
136
132
  }
137
133
  //--------------------------------------------------------------------------
138
134
  //
@@ -3,6 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { Component, Host, h, Element, Prop, Watch, Event, Listen } from "@stencil/core";
6
+ import { createObserver } from "../../utils/observers";
6
7
  /**
7
8
  * @slot - A slot for adding `calcite-radio-button`s.
8
9
  */
@@ -23,6 +24,12 @@ export class CalciteRadioButtonGroup {
23
24
  this.required = false;
24
25
  /** The scale (size) of the radio button group. */
25
26
  this.scale = "m";
27
+ // --------------------------------------------------------------------------
28
+ //
29
+ // Private Properties
30
+ //
31
+ // --------------------------------------------------------------------------
32
+ this.mutationObserver = createObserver("mutation", () => this.passPropsToRadioButtons());
26
33
  //--------------------------------------------------------------------------
27
34
  //
28
35
  // Private Methods
@@ -59,7 +66,13 @@ export class CalciteRadioButtonGroup {
59
66
  //
60
67
  //--------------------------------------------------------------------------
61
68
  connectedCallback() {
69
+ var _a;
62
70
  this.passPropsToRadioButtons();
71
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
72
+ }
73
+ disconnectedCallback() {
74
+ var _a;
75
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
63
76
  }
64
77
  //--------------------------------------------------------------------------
65
78
  //
@@ -47,19 +47,21 @@ export class CalciteShell {
47
47
  return hasHeader ? h("slot", { key: "header", name: SLOTS.header }) : null;
48
48
  }
49
49
  renderContent() {
50
+ const defaultSlotNode = h("slot", { key: "default-slot" });
51
+ const centerRowSlotNode = h("slot", { key: "center-row-slot", name: SLOTS.centerRow });
52
+ const contentContainerKey = "content-container";
50
53
  const content = !!this.contentBehind
51
54
  ? [
52
55
  h("div", { class: {
53
56
  [CSS.content]: true,
54
- [CSS.contentBehind]: !!this.contentBehind
55
- } },
56
- h("slot", null)),
57
- h("slot", { name: SLOTS.centerRow })
57
+ [CSS.contentBehind]: true
58
+ }, key: contentContainerKey }, defaultSlotNode),
59
+ centerRowSlotNode
58
60
  ]
59
61
  : [
60
- h("div", { class: CSS.content },
61
- h("slot", null),
62
- h("slot", { name: SLOTS.centerRow }))
62
+ h("div", { class: CSS.content, key: contentContainerKey },
63
+ defaultSlotNode,
64
+ centerRowSlotNode)
63
65
  ];
64
66
  return content;
65
67
  }
@@ -83,9 +83,7 @@ export class CalciteSlider {
83
83
  }
84
84
  };
85
85
  this.dragEnd = (event) => {
86
- document.removeEventListener("pointermove", this.dragUpdate);
87
- document.removeEventListener("pointerup", this.dragEnd);
88
- document.removeEventListener("pointercancel", this.dragEnd);
86
+ this.removeDragListeners();
89
87
  this.focusActiveHandle(event.clientX);
90
88
  if (this.lastDragPropValue != this[this.dragProp]) {
91
89
  this.emitChange();
@@ -120,6 +118,7 @@ export class CalciteSlider {
120
118
  disconnectedCallback() {
121
119
  disconnectLabel(this);
122
120
  disconnectForm(this);
121
+ this.removeDragListeners();
123
122
  }
124
123
  componentWillLoad() {
125
124
  this.isRange = !!(this.maxValue || this.maxValue === 0);
@@ -515,6 +514,11 @@ export class CalciteSlider {
515
514
  emitChange() {
516
515
  this.calciteSliderChange.emit();
517
516
  }
517
+ removeDragListeners() {
518
+ document.removeEventListener("pointermove", this.dragUpdate);
519
+ document.removeEventListener("pointerup", this.dragEnd);
520
+ document.removeEventListener("pointercancel", this.dragEnd);
521
+ }
518
522
  /**
519
523
  * Set the prop value if changed at the component level
520
524
  * @param valueProp
@@ -34,7 +34,7 @@ export class CalciteTreeItem {
34
34
  this.expanded = !this.expanded;
35
35
  if (this.selectionMode !== TreeSelectionMode.Ancestors) {
36
36
  this.calciteTreeItemSelect.emit({
37
- modifyCurrentSelection: event.shiftKey,
37
+ modifyCurrentSelection: this.isSelectionMultiLike,
38
38
  forceToggle: true
39
39
  });
40
40
  }
@@ -68,6 +68,11 @@ export class CalciteTreeItem {
68
68
  expandedHandler(newValue) {
69
69
  this.updateParentIsExpanded(this.el, newValue);
70
70
  }
71
+ getselectionMode() {
72
+ this.isSelectionMultiLike =
73
+ this.selectionMode === TreeSelectionMode.Multi ||
74
+ this.selectionMode === TreeSelectionMode.MultiChildren;
75
+ }
71
76
  //--------------------------------------------------------------------------
72
77
  //
73
78
  // Lifecycle
@@ -119,9 +124,10 @@ export class CalciteTreeItem {
119
124
  [CSS.chevron]: true,
120
125
  [CSS_UTILITY.rtl]: rtl
121
126
  }, "data-test-id": "icon", icon: ICONS.chevronRight, onClick: this.iconClickHandler, scale: "s" })) : null;
122
- const checkbox = this.selectionMode === TreeSelectionMode.Ancestors ? (h("label", { class: CSS.checkboxLabel },
127
+ const defaultSlotNode = h("slot", { key: "default-slot" });
128
+ const checkbox = this.selectionMode === TreeSelectionMode.Ancestors ? (h("label", { class: CSS.checkboxLabel, key: "checkbox-label" },
123
129
  h("calcite-checkbox", { checked: this.selected, class: CSS.checkbox, "data-test-id": "checkbox", indeterminate: this.hasChildren && this.indeterminate, scale: this.scale, tabIndex: -1 }),
124
- h("slot", null))) : null;
130
+ defaultSlotNode)) : null;
125
131
  const selectedIcon = showBulletPoint
126
132
  ? ICONS.bulletPoint
127
133
  : showCheckmark
@@ -140,7 +146,7 @@ export class CalciteTreeItem {
140
146
  }, "data-selection-mode": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) },
141
147
  chevron,
142
148
  bulletOrCheckIcon,
143
- checkbox ? checkbox : h("slot", null)),
149
+ checkbox ? checkbox : defaultSlotNode),
144
150
  h("div", { class: {
145
151
  [CSS.childrenContainer]: true,
146
152
  [CSS_UTILITY.rtl]: rtl
@@ -161,7 +167,7 @@ export class CalciteTreeItem {
161
167
  window.open(link.href, target);
162
168
  }
163
169
  this.calciteTreeItemSelect.emit({
164
- modifyCurrentSelection: e.shiftKey || this.selectionMode === TreeSelectionMode.Ancestors,
170
+ modifyCurrentSelection: this.selectionMode === TreeSelectionMode.Ancestors || this.isSelectionMultiLike,
165
171
  forceToggle: false
166
172
  });
167
173
  }
@@ -170,7 +176,7 @@ export class CalciteTreeItem {
170
176
  switch (e.key) {
171
177
  case " ":
172
178
  this.calciteTreeItemSelect.emit({
173
- modifyCurrentSelection: e.shiftKey,
179
+ modifyCurrentSelection: this.isSelectionMultiLike,
174
180
  forceToggle: false
175
181
  });
176
182
  e.preventDefault();
@@ -185,7 +191,7 @@ export class CalciteTreeItem {
185
191
  }
186
192
  else {
187
193
  this.calciteTreeItemSelect.emit({
188
- modifyCurrentSelection: e.shiftKey,
194
+ modifyCurrentSelection: this.isSelectionMultiLike,
189
195
  forceToggle: false
190
196
  });
191
197
  }
@@ -504,6 +510,9 @@ export class CalciteTreeItem {
504
510
  static get watchers() { return [{
505
511
  "propName": "expanded",
506
512
  "methodName": "expandedHandler"
513
+ }, {
514
+ "propName": "selectionMode",
515
+ "methodName": "getselectionMode"
507
516
  }]; }
508
517
  static get listeners() { return [{
509
518
  "name": "click",
@@ -109,9 +109,9 @@ export async function focusElement(el) {
109
109
  }
110
110
  return isCalciteFocusable(el) ? el.setFocus() : el.focus();
111
111
  }
112
- const defaultSlotSelector = "> :not([slot])";
112
+ const defaultSlotSelector = ":not([slot])";
113
113
  export function getSlotted(element, slotName, options) {
114
- if (!Array.isArray(slotName) && typeof slotName !== "string") {
114
+ if (slotName && !Array.isArray(slotName) && typeof slotName !== "string") {
115
115
  options = slotName;
116
116
  slotName = null;
117
117
  }
@@ -125,12 +125,15 @@ export function getSlotted(element, slotName, options) {
125
125
  }
126
126
  return querySingle(element, slotSelector, options);
127
127
  }
128
+ function getDirectChildren(el, selector) {
129
+ return el ? Array.from(el.children || []).filter((child) => child === null || child === void 0 ? void 0 : child.matches(selector)) : [];
130
+ }
128
131
  function queryMultiple(element, slotSelector, options) {
129
- let matches = Array.from(element.querySelectorAll(slotSelector));
132
+ let matches = slotSelector === defaultSlotSelector
133
+ ? getDirectChildren(element, defaultSlotSelector)
134
+ : Array.from(element.querySelectorAll(slotSelector));
130
135
  matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
131
- if (slotSelector === defaultSlotSelector) {
132
- matches = matches.filter((match) => match === null || match === void 0 ? void 0 : match.assignedSlot);
133
- }
136
+ matches = (options === null || options === void 0 ? void 0 : options.matches) ? matches.filter((el) => el === null || el === void 0 ? void 0 : el.matches(options.matches)) : matches;
134
137
  const selector = options === null || options === void 0 ? void 0 : options.selector;
135
138
  return selector
136
139
  ? matches
@@ -140,11 +143,11 @@ function queryMultiple(element, slotSelector, options) {
140
143
  : matches;
141
144
  }
142
145
  function querySingle(element, slotSelector, options) {
143
- let match = element.querySelector(slotSelector);
144
- if (slotSelector === defaultSlotSelector) {
145
- match = (match === null || match === void 0 ? void 0 : match.assignedSlot) ? match : null;
146
- }
146
+ let match = slotSelector === defaultSlotSelector
147
+ ? getDirectChildren(element, defaultSlotSelector)[0] || null
148
+ : element.querySelector(slotSelector);
147
149
  match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
150
+ match = (options === null || options === void 0 ? void 0 : options.matches) ? ((match === null || match === void 0 ? void 0 : match.matches(options.matches)) ? match : null) : match;
148
151
  const selector = options === null || options === void 0 ? void 0 : options.selector;
149
152
  return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;
150
153
  }
@@ -6,7 +6,7 @@ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/
6
6
  import { g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
8
8
 
9
- const calciteAccordionItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host-context([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}:host-context([appearance=transparent]){--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background);--calcite-accordion-item-border:var(--calcite-ui-border-2)}:host .accordion-item-header{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border)}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-subtitle{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";
9
+ const calciteAccordionItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-subtitle{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";
10
10
 
11
11
  let CalciteAccordionItem$1 = class extends HTMLElement {
12
12
  constructor() {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
 
7
- const calciteAccordionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-width:100%;border-width:1px;border-bottom-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2);line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0;border-color:transparent}:host([appearance=transparent]){border-color:transparent;--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}";
7
+ const calciteAccordionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-width:100%;border-width:1px;border-bottom-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2);line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{border-color:transparent;--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0;border-color:transparent}";
8
8
 
9
9
  let CalciteAccordion$1 = class extends HTMLElement {
10
10
  constructor() {
@@ -51,7 +51,10 @@ let CalciteAccordion$1 = class extends HTMLElement {
51
51
  }
52
52
  }
53
53
  render() {
54
- return h("slot", null);
54
+ return (h("div", { class: {
55
+ "accordion--transparent": this.appearance === "transparent",
56
+ "accordion--minimal": this.appearance === "minimal"
57
+ } }, h("slot", null)));
55
58
  }
56
59
  //--------------------------------------------------------------------------
57
60
  //
@@ -144,10 +144,7 @@ let CalciteActionMenu = class extends HTMLElement {
144
144
  };
145
145
  this.getActions = () => {
146
146
  const { el } = this;
147
- const assignedActions = this.getAssignedElements().filter((element) => element.tagName === "CALCITE-ACTION" && element.slot !== "trigger");
148
- const actionElements = assignedActions.length
149
- ? assignedActions
150
- : Array.from(el.querySelectorAll("calcite-action:not([slot=trigger])"));
147
+ const actionElements = getSlotted(el, { all: true, matches: "calcite-action" });
151
148
  this.updateActions(actionElements);
152
149
  this.actionElements = actionElements;
153
150
  this.connectMenuButtonEl();