@esri/calcite-components 1.0.0-next.370 → 1.0.0-next.374

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 (366) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/{p-8f647ab0.system.entry.js → p-0164361f.system.entry.js} +1 -1
  3. package/dist/calcite/{p-e1944963.js → p-01b7adb5.js} +1 -1
  4. package/dist/calcite/p-05ad8606.system.entry.js +5 -0
  5. package/dist/calcite/{p-8a237191.system.entry.js → p-06dbe76a.system.entry.js} +1 -1
  6. package/dist/calcite/{p-d908834f.system.entry.js → p-0a85cd8c.system.entry.js} +1 -1
  7. package/dist/calcite/{p-e690993e.system.entry.js → p-0cb38659.system.entry.js} +1 -1
  8. package/dist/calcite/{p-99d29b5c.system.entry.js → p-12142a2c.system.entry.js} +1 -1
  9. package/dist/calcite/{p-40bb088d.entry.js → p-146d8510.entry.js} +1 -1
  10. package/dist/calcite/{p-f044fcc5.system.entry.js → p-14ca5cdf.system.entry.js} +1 -1
  11. package/dist/calcite/{p-3d4c34e5.js → p-14e47d1b.js} +1 -1
  12. package/dist/calcite/{p-21f26f77.entry.js → p-1668089f.entry.js} +1 -1
  13. package/dist/calcite/{p-8ebed170.system.entry.js → p-1804c868.system.entry.js} +1 -1
  14. package/dist/calcite/{p-fbcaa23c.system.js → p-1a3a366d.system.js} +1 -1
  15. package/dist/calcite/{p-4c021c5c.entry.js → p-2218fef5.entry.js} +1 -1
  16. package/dist/calcite/{p-38e64c6b.entry.js → p-2297db38.entry.js} +1 -1
  17. package/dist/calcite/{p-84defe75.system.entry.js → p-243985d8.system.entry.js} +1 -1
  18. package/dist/calcite/{p-1894562d.system.entry.js → p-2f0d280a.system.entry.js} +1 -1
  19. package/dist/calcite/{p-24b54c99.system.entry.js → p-3dd50bac.system.entry.js} +1 -1
  20. package/dist/calcite/{p-2d411997.system.entry.js → p-40c3d7a6.system.entry.js} +1 -1
  21. package/dist/calcite/{p-52871e84.system.js → p-44aa1db4.system.js} +1 -1
  22. package/dist/calcite/{p-6c4bec59.entry.js → p-49782820.entry.js} +1 -1
  23. package/dist/calcite/{p-57bf81c4.system.entry.js → p-4d81b84b.system.entry.js} +2 -2
  24. package/dist/calcite/p-4e258f5c.entry.js +5 -0
  25. package/dist/calcite/{p-e0fa3b13.system.entry.js → p-54bb21f5.system.entry.js} +1 -1
  26. package/dist/calcite/p-54edaa0d.entry.js +5 -0
  27. package/dist/calcite/{p-51a85436.entry.js → p-58eb8460.entry.js} +1 -1
  28. package/dist/calcite/{p-96808ed2.entry.js → p-5a77fd17.entry.js} +1 -1
  29. package/dist/calcite/{p-b80ab9ba.entry.js → p-5b8404de.entry.js} +1 -1
  30. package/dist/calcite/{p-f09810e7.entry.js → p-5d12a140.entry.js} +1 -1
  31. package/dist/calcite/{p-f5469b62.system.entry.js → p-5d7da300.system.entry.js} +1 -1
  32. package/dist/calcite/{p-fe94050d.entry.js → p-63f8783a.entry.js} +1 -1
  33. package/dist/calcite/{p-4c6fe413.system.entry.js → p-6afd69dc.system.entry.js} +1 -1
  34. package/dist/calcite/{p-d1794edd.entry.js → p-6e37af80.entry.js} +1 -1
  35. package/dist/calcite/p-6eb1302b.entry.js +5 -0
  36. package/dist/calcite/{p-6fa59c8c.entry.js → p-6fb9fef5.entry.js} +1 -1
  37. package/dist/calcite/{p-14ff4cbd.system.js → p-70dd483b.system.js} +1 -1
  38. package/dist/calcite/p-7409e609.system.js +5 -0
  39. package/dist/calcite/p-7415264e.system.entry.js +5 -0
  40. package/dist/calcite/p-754809de.entry.js +5 -0
  41. package/dist/calcite/p-76c53ab5.entry.js +5 -0
  42. package/dist/calcite/{p-0faf1684.system.entry.js → p-7743a8d0.system.entry.js} +1 -1
  43. package/dist/calcite/{p-799f0655.entry.js → p-786b8250.entry.js} +1 -1
  44. package/dist/calcite/{p-590d13bd.entry.js → p-78725919.entry.js} +1 -1
  45. package/dist/calcite/p-7bdeb3ba.system.entry.js +5 -0
  46. package/dist/calcite/{p-4dcae709.system.entry.js → p-7d4316a1.system.entry.js} +1 -1
  47. package/dist/calcite/{p-5c256f31.system.entry.js → p-80eb08b3.system.entry.js} +1 -1
  48. package/dist/calcite/{p-7cba1720.system.entry.js → p-8604c625.system.entry.js} +1 -1
  49. package/dist/calcite/{p-67e13029.system.entry.js → p-86b63ebb.system.entry.js} +1 -1
  50. package/dist/calcite/p-8a413063.js +5 -0
  51. package/dist/calcite/{p-32f6f7df.entry.js → p-8c126095.entry.js} +1 -1
  52. package/dist/calcite/{p-242fdd67.entry.js → p-8e4aa7f7.entry.js} +1 -1
  53. package/dist/calcite/{p-ee7e311e.system.entry.js → p-8f2c68f4.system.entry.js} +1 -1
  54. package/dist/calcite/p-8f3a3e4e.js +5 -0
  55. package/dist/calcite/{p-7f5bd070.system.entry.js → p-900e18a5.system.entry.js} +1 -1
  56. package/dist/calcite/{p-0389f96b.system.entry.js → p-92711575.system.entry.js} +2 -2
  57. package/dist/calcite/{p-e606e9ae.system.entry.js → p-92d9b81d.system.entry.js} +1 -1
  58. package/dist/calcite/p-99b729f6.entry.js +5 -0
  59. package/dist/calcite/p-99d32fc3.system.js +1 -1
  60. package/dist/calcite/p-9a7c4812.js +5 -0
  61. package/dist/calcite/{p-45bfe5bf.system.entry.js → p-9ca6c750.system.entry.js} +1 -1
  62. package/dist/calcite/{p-6b8dcbb0.entry.js → p-9d7102c0.entry.js} +1 -1
  63. package/dist/calcite/p-9e2c9752.entry.js +5 -0
  64. package/dist/calcite/p-9f49c4fe.system.entry.js +5 -0
  65. package/dist/calcite/p-a49d1a11.system.entry.js +5 -0
  66. package/dist/calcite/p-a5660ba5.entry.js +5 -0
  67. package/dist/calcite/{p-28dea60a.system.js → p-a99c8ebf.system.js} +1 -1
  68. package/dist/calcite/p-aceeb62f.entry.js +5 -0
  69. package/dist/calcite/{p-132d55c2.entry.js → p-af669f43.entry.js} +1 -1
  70. package/dist/calcite/{p-8f4ea148.system.entry.js → p-af84fa29.system.entry.js} +1 -1
  71. package/dist/calcite/p-b002b038.entry.js +5 -0
  72. package/dist/calcite/p-b78f6de5.system.entry.js +5 -0
  73. package/dist/calcite/p-b7e90141.system.entry.js +5 -0
  74. package/dist/calcite/{p-5aaa0088.system.entry.js → p-b86f0930.system.entry.js} +1 -1
  75. package/dist/calcite/p-bab0c984.entry.js +5 -0
  76. package/dist/calcite/{p-eea18662.entry.js → p-baca86e3.entry.js} +1 -1
  77. package/dist/calcite/{p-203e951b.system.entry.js → p-bd576ae0.system.entry.js} +1 -1
  78. package/dist/calcite/{p-6de78659.system.entry.js → p-bd6cbbbd.system.entry.js} +1 -1
  79. package/dist/calcite/{p-a25ebce7.entry.js → p-be231b84.entry.js} +1 -1
  80. package/dist/calcite/{p-51550014.entry.js → p-c1c37da9.entry.js} +1 -1
  81. package/dist/calcite/p-c39e7451.entry.js +5 -0
  82. package/dist/calcite/{p-de09fc5c.system.entry.js → p-c5463268.system.entry.js} +1 -1
  83. package/dist/calcite/{p-10f1a096.system.entry.js → p-c93dbb93.system.entry.js} +1 -1
  84. package/dist/calcite/{p-3e9e4992.entry.js → p-d14265f3.entry.js} +1 -1
  85. package/dist/calcite/p-d2bcb3ae.entry.js +5 -0
  86. package/dist/calcite/p-d6f6b6c1.entry.js +5 -0
  87. package/dist/calcite/{p-7db0947c.entry.js → p-da470de7.entry.js} +1 -1
  88. package/dist/calcite/p-dd8b6d4f.system.entry.js +5 -0
  89. package/dist/calcite/p-e05aa070.entry.js +5 -0
  90. package/dist/calcite/{p-7f32a681.system.entry.js → p-e1491358.system.entry.js} +1 -1
  91. package/dist/calcite/{p-781ebed0.system.js → p-e2047621.system.js} +1 -1
  92. package/dist/calcite/{p-fee6af61.entry.js → p-e4862fff.entry.js} +1 -1
  93. package/dist/calcite/{p-05dc6806.entry.js → p-e5420c67.entry.js} +1 -1
  94. package/dist/calcite/{p-4ef2119c.entry.js → p-e5526c34.entry.js} +1 -1
  95. package/dist/calcite/p-e66c335c.entry.js +5 -0
  96. package/dist/calcite/{p-bb9fb183.system.entry.js → p-e83a5fe4.system.entry.js} +1 -1
  97. package/dist/calcite/{p-fcd62e97.js → p-e8e0f3b7.js} +1 -1
  98. package/dist/calcite/{p-3a20f93d.system.js → p-ec9bab33.system.js} +1 -1
  99. package/dist/calcite/{p-41894582.js → p-eeb91710.js} +1 -1
  100. package/dist/calcite/{p-283ff9e8.entry.js → p-f1dc4798.entry.js} +1 -1
  101. package/dist/calcite/p-f3102bbb.system.entry.js +5 -0
  102. package/dist/calcite/p-f3a85d19.system.entry.js +5 -0
  103. package/dist/calcite/{p-088a096d.system.entry.js → p-f4d9c369.system.entry.js} +1 -1
  104. package/dist/calcite/{p-59133b9b.entry.js → p-f7572da7.entry.js} +1 -1
  105. package/dist/calcite/{p-492d644c.system.entry.js → p-fd3c4738.system.entry.js} +1 -1
  106. package/dist/calcite/p-fe6e3ff9.entry.js +5 -0
  107. package/dist/calcite/p-fe89be3d.entry.js +5 -0
  108. package/dist/calcite/{p-bb20e0fc.system.entry.js → p-ff04cfb1.system.entry.js} +1 -1
  109. package/dist/cjs/{CalciteExpandToggle-65468585.js → CalciteExpandToggle-d24fed0e.js} +1 -1
  110. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -4
  111. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  112. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  113. package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -5
  114. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  115. package/dist/cjs/calcite-alert.cjs.entry.js +5 -7
  116. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  117. package/dist/cjs/calcite-block_2.cjs.entry.js +1 -1
  118. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  119. package/dist/cjs/calcite-card.cjs.entry.js +17 -6
  120. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  121. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  122. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
  123. package/dist/cjs/calcite-combobox_3.cjs.entry.js +16 -13
  124. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +2 -2
  125. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +3 -3
  126. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  127. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  128. package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -6
  129. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  130. package/dist/cjs/calcite-inline-editable.cjs.entry.js +40 -15
  131. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +5 -5
  132. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  133. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  134. package/dist/cjs/calcite-input.cjs.entry.js +14 -10
  135. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  136. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  137. package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
  138. package/dist/cjs/calcite-notice.cjs.entry.js +5 -7
  139. package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
  140. package/dist/cjs/calcite-panel.cjs.entry.js +18 -2
  141. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  142. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  143. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +13 -0
  144. package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -7
  145. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +3 -3
  146. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  147. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -5
  148. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  149. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  150. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  151. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  152. package/dist/cjs/calcite-tip_3.cjs.entry.js +1 -1
  153. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  154. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -4
  155. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  156. package/dist/cjs/calcite.cjs.js +1 -1
  157. package/dist/cjs/{dom-0de9fb18.js → dom-f3df220d.js} +13 -10
  158. package/dist/cjs/{form-4b7c317e.js → form-237cf392.js} +1 -1
  159. package/dist/cjs/{label-1bca211b.js → label-6b18ca08.js} +1 -1
  160. package/dist/cjs/loader.cjs.js +1 -1
  161. package/dist/cjs/{popper-09105f6f.js → popper-13a2bb46.js} +1 -1
  162. package/dist/cjs/{resources-405cc2c4.js → resources-95073e41.js} +1 -1
  163. package/dist/cjs/{resources-9f0994fb.js → resources-f70fb01b.js} +7 -3
  164. package/dist/collection/components/calcite-accordion/calcite-accordion.css +5 -5
  165. package/dist/collection/components/calcite-accordion/calcite-accordion.js +5 -1
  166. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +2 -16
  167. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +1 -4
  168. package/dist/collection/components/calcite-alert/calcite-alert.js +8 -7
  169. package/dist/collection/components/calcite-card/calcite-card.js +15 -6
  170. package/dist/collection/components/calcite-combobox/calcite-combobox.js +5 -4
  171. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +9 -7
  172. package/dist/collection/components/calcite-date-picker/utils.js +7 -3
  173. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +2 -2
  174. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +39 -14
  175. package/dist/collection/components/calcite-input/calcite-input.js +12 -8
  176. package/dist/collection/components/calcite-modal/calcite-modal.js +1 -1
  177. package/dist/collection/components/calcite-notice/calcite-notice.js +4 -6
  178. package/dist/collection/components/calcite-panel/calcite-panel.js +41 -5
  179. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +0 -4
  180. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +13 -0
  181. package/dist/collection/components/calcite-shell/calcite-shell.js +9 -7
  182. package/dist/collection/components/calcite-slider/calcite-slider.js +7 -3
  183. package/dist/collection/components/calcite-tree/calcite-tree.js +2 -1
  184. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +4 -3
  185. package/dist/collection/utils/dom.js +13 -10
  186. package/dist/components/calcite-accordion-item.js +1 -1
  187. package/dist/components/calcite-accordion.js +5 -2
  188. package/dist/components/calcite-action-menu2.js +1 -4
  189. package/dist/components/calcite-alert.js +5 -7
  190. package/dist/components/calcite-card.js +15 -6
  191. package/dist/components/calcite-combobox-item.js +8 -6
  192. package/dist/components/calcite-combobox.js +5 -4
  193. package/dist/components/calcite-date-picker2.js +7 -3
  194. package/dist/components/calcite-dropdown2.js +2 -2
  195. package/dist/components/calcite-inline-editable.js +39 -14
  196. package/dist/components/calcite-input2.js +12 -8
  197. package/dist/components/calcite-modal.js +1 -1
  198. package/dist/components/calcite-notice.js +4 -6
  199. package/dist/components/calcite-panel.js +19 -2
  200. package/dist/components/calcite-radio-button-group.js +13 -0
  201. package/dist/components/calcite-radio-button.js +0 -4
  202. package/dist/components/calcite-shell.js +7 -4
  203. package/dist/components/calcite-slider.js +7 -3
  204. package/dist/components/calcite-tree-item.js +3 -2
  205. package/dist/components/calcite-tree.js +2 -1
  206. package/dist/components/dom.js +13 -10
  207. package/dist/custom-elements/index.js +156 -84
  208. package/dist/esm/{CalciteExpandToggle-48b6e955.js → CalciteExpandToggle-cff030be.js} +1 -1
  209. package/dist/esm/calcite-accordion_2.entry.js +7 -4
  210. package/dist/esm/calcite-action-bar.entry.js +2 -2
  211. package/dist/esm/calcite-action-group.entry.js +1 -1
  212. package/dist/esm/calcite-action-menu.entry.js +2 -5
  213. package/dist/esm/calcite-action-pad.entry.js +2 -2
  214. package/dist/esm/calcite-alert.entry.js +5 -7
  215. package/dist/esm/calcite-avatar.entry.js +1 -1
  216. package/dist/esm/calcite-block_2.entry.js +1 -1
  217. package/dist/esm/calcite-button.entry.js +2 -2
  218. package/dist/esm/calcite-card.entry.js +17 -6
  219. package/dist/esm/calcite-checkbox.entry.js +3 -3
  220. package/dist/esm/calcite-chip.entry.js +1 -1
  221. package/dist/esm/calcite-color-picker_3.entry.js +1 -1
  222. package/dist/esm/calcite-combobox_3.entry.js +16 -13
  223. package/dist/esm/calcite-date-picker_4.entry.js +2 -2
  224. package/dist/esm/calcite-dropdown_3.entry.js +3 -3
  225. package/dist/esm/calcite-fab.entry.js +1 -1
  226. package/dist/esm/calcite-filter.entry.js +1 -1
  227. package/dist/esm/calcite-graph_2.entry.js +10 -6
  228. package/dist/esm/calcite-icon.entry.js +1 -1
  229. package/dist/esm/calcite-inline-editable.entry.js +40 -15
  230. package/dist/esm/calcite-input-date-picker.entry.js +5 -5
  231. package/dist/esm/calcite-input-message.entry.js +1 -1
  232. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  233. package/dist/esm/calcite-input.entry.js +14 -10
  234. package/dist/esm/calcite-link.entry.js +1 -1
  235. package/dist/esm/calcite-list_3.entry.js +1 -1
  236. package/dist/esm/calcite-modal.entry.js +2 -2
  237. package/dist/esm/calcite-notice.entry.js +5 -7
  238. package/dist/esm/calcite-option_3.entry.js +3 -3
  239. package/dist/esm/calcite-panel.entry.js +18 -2
  240. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  241. package/dist/esm/calcite-popover_2.entry.js +2 -2
  242. package/dist/esm/calcite-radio-button-group.entry.js +13 -0
  243. package/dist/esm/calcite-radio-button.entry.js +3 -7
  244. package/dist/esm/calcite-radio-group_2.entry.js +3 -3
  245. package/dist/esm/calcite-rating.entry.js +3 -3
  246. package/dist/esm/calcite-shell_3.entry.js +8 -5
  247. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  248. package/dist/esm/calcite-switch.entry.js +3 -3
  249. package/dist/esm/calcite-tab_4.entry.js +1 -1
  250. package/dist/esm/calcite-tile.entry.js +1 -1
  251. package/dist/esm/calcite-tip_3.entry.js +1 -1
  252. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  253. package/dist/esm/calcite-tree_2.entry.js +6 -4
  254. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  255. package/dist/esm/calcite.js +1 -1
  256. package/dist/esm/{dom-037dc374.js → dom-e7fa77b9.js} +13 -10
  257. package/dist/esm/{form-72369b73.js → form-f90706b4.js} +1 -1
  258. package/dist/esm/{label-712646d2.js → label-2bffc9f4.js} +1 -1
  259. package/dist/esm/loader.js +1 -1
  260. package/dist/esm/{popper-7a7fd3b5.js → popper-ae231554.js} +1 -1
  261. package/dist/esm/{resources-03c0a433.js → resources-95c5e8a6.js} +1 -1
  262. package/dist/esm/{resources-90193940.js → resources-f02a1ab5.js} +7 -3
  263. package/dist/esm-es5/{CalciteExpandToggle-48b6e955.js → CalciteExpandToggle-cff030be.js} +1 -1
  264. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  265. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  266. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  267. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  268. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  269. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  270. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  271. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  272. package/dist/esm-es5/calcite-button.entry.js +1 -1
  273. package/dist/esm-es5/calcite-card.entry.js +1 -1
  274. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  275. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  276. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  277. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  278. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  279. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  280. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  281. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  282. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  283. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  284. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  285. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  286. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  287. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  288. package/dist/esm-es5/calcite-input.entry.js +1 -1
  289. package/dist/esm-es5/calcite-link.entry.js +1 -1
  290. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  291. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  292. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  293. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  294. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  295. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  296. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  297. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  298. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  299. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  300. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  301. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  302. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  303. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  304. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  305. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  306. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  307. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  308. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  309. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  310. package/dist/esm-es5/calcite.js +1 -1
  311. package/dist/esm-es5/dom-e7fa77b9.js +5 -0
  312. package/dist/esm-es5/{form-72369b73.js → form-f90706b4.js} +1 -1
  313. package/dist/esm-es5/{label-712646d2.js → label-2bffc9f4.js} +1 -1
  314. package/dist/esm-es5/loader.js +1 -1
  315. package/dist/esm-es5/{popper-7a7fd3b5.js → popper-ae231554.js} +1 -1
  316. package/dist/esm-es5/{resources-03c0a433.js → resources-95c5e8a6.js} +1 -1
  317. package/dist/esm-es5/resources-f02a1ab5.js +5 -0
  318. package/dist/extras/docs-json.json +12 -1
  319. package/dist/types/components/calcite-alert/calcite-alert.d.ts +0 -3
  320. package/dist/types/components/calcite-card/calcite-card.d.ts +4 -1
  321. package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +3 -3
  322. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +3 -1
  323. package/dist/types/components/calcite-input/calcite-input.d.ts +2 -4
  324. package/dist/types/components/calcite-notice/calcite-notice.d.ts +0 -3
  325. package/dist/types/components/calcite-panel/calcite-panel.d.ts +12 -0
  326. package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +2 -0
  327. package/dist/types/components/calcite-slider/calcite-slider.d.ts +1 -0
  328. package/dist/types/components.d.ts +4 -0
  329. package/dist/types/utils/dom.d.ts +1 -0
  330. package/hydrate/index.js +151 -82
  331. package/package.json +6 -2
  332. package/readme.md +2 -6
  333. package/dist/calcite/p-1b06ada3.entry.js +0 -5
  334. package/dist/calcite/p-26fd946c.entry.js +0 -5
  335. package/dist/calcite/p-32f7eb32.js +0 -5
  336. package/dist/calcite/p-341eef4e.entry.js +0 -5
  337. package/dist/calcite/p-41e2198b.js +0 -5
  338. package/dist/calcite/p-4641ef1f.entry.js +0 -5
  339. package/dist/calcite/p-4b3160ad.system.entry.js +0 -5
  340. package/dist/calcite/p-500b9fa0.entry.js +0 -5
  341. package/dist/calcite/p-57584243.system.entry.js +0 -5
  342. package/dist/calcite/p-5b7d5f36.entry.js +0 -5
  343. package/dist/calcite/p-6515e0a5.entry.js +0 -5
  344. package/dist/calcite/p-77279f88.system.entry.js +0 -5
  345. package/dist/calcite/p-7a28e833.system.entry.js +0 -5
  346. package/dist/calcite/p-7ed5b78e.system.entry.js +0 -5
  347. package/dist/calcite/p-7f50128c.system.entry.js +0 -5
  348. package/dist/calcite/p-8468ddb0.system.entry.js +0 -5
  349. package/dist/calcite/p-92de4a81.entry.js +0 -5
  350. package/dist/calcite/p-950b42e3.entry.js +0 -5
  351. package/dist/calcite/p-9b05c3fd.js +0 -5
  352. package/dist/calcite/p-a5c73259.entry.js +0 -5
  353. package/dist/calcite/p-a980b2df.entry.js +0 -5
  354. package/dist/calcite/p-b052f523.entry.js +0 -5
  355. package/dist/calcite/p-c029ffb1.entry.js +0 -5
  356. package/dist/calcite/p-c56f495f.system.js +0 -5
  357. package/dist/calcite/p-c7b8a068.entry.js +0 -5
  358. package/dist/calcite/p-cf2be87e.entry.js +0 -5
  359. package/dist/calcite/p-dba7c714.system.entry.js +0 -5
  360. package/dist/calcite/p-de8496be.system.entry.js +0 -5
  361. package/dist/calcite/p-e63f0806.entry.js +0 -5
  362. package/dist/calcite/p-f385d631.entry.js +0 -5
  363. package/dist/calcite/p-f90b2e7f.entry.js +0 -5
  364. package/dist/calcite/p-f94619be.system.entry.js +0 -5
  365. package/dist/esm-es5/dom-037dc374.js +0 -5
  366. package/dist/esm-es5/resources-90193940.js +0 -5
@@ -5,7 +5,7 @@
5
5
  import { HTMLElement as HTMLElement$1, createEvent, h, Host, Build, forceUpdate, Fragment, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
7
7
 
8
- 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}";
8
+ 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}";
9
9
 
10
10
  let CalciteAccordion$1 = class extends HTMLElement$1 {
11
11
  constructor() {
@@ -52,7 +52,10 @@ let CalciteAccordion$1 = class extends HTMLElement$1 {
52
52
  }
53
53
  }
54
54
  render() {
55
- return h("slot", null);
55
+ return (h("div", { class: {
56
+ "accordion--transparent": this.appearance === "transparent",
57
+ "accordion--minimal": this.appearance === "minimal"
58
+ } }, h("slot", null)));
56
59
  }
57
60
  //--------------------------------------------------------------------------
58
61
  //
@@ -274,9 +277,9 @@ async function focusElement(el) {
274
277
  }
275
278
  return isCalciteFocusable(el) ? el.setFocus() : el.focus();
276
279
  }
277
- const defaultSlotSelector = "> :not([slot])";
280
+ const defaultSlotSelector = ":not([slot])";
278
281
  function getSlotted(element, slotName, options) {
279
- if (!Array.isArray(slotName) && typeof slotName !== "string") {
282
+ if (slotName && !Array.isArray(slotName) && typeof slotName !== "string") {
280
283
  options = slotName;
281
284
  slotName = null;
282
285
  }
@@ -290,12 +293,15 @@ function getSlotted(element, slotName, options) {
290
293
  }
291
294
  return querySingle(element, slotSelector, options);
292
295
  }
296
+ function getDirectChildren(el, selector) {
297
+ return el ? Array.from(el.children || []).filter((child) => child === null || child === void 0 ? void 0 : child.matches(selector)) : [];
298
+ }
293
299
  function queryMultiple(element, slotSelector, options) {
294
- let matches = Array.from(element.querySelectorAll(slotSelector));
300
+ let matches = slotSelector === defaultSlotSelector
301
+ ? getDirectChildren(element, defaultSlotSelector)
302
+ : Array.from(element.querySelectorAll(slotSelector));
295
303
  matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
296
- if (slotSelector === defaultSlotSelector) {
297
- matches = matches.filter((match) => match === null || match === void 0 ? void 0 : match.assignedSlot);
298
- }
304
+ 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;
299
305
  const selector = options === null || options === void 0 ? void 0 : options.selector;
300
306
  return selector
301
307
  ? matches
@@ -305,11 +311,11 @@ function queryMultiple(element, slotSelector, options) {
305
311
  : matches;
306
312
  }
307
313
  function querySingle(element, slotSelector, options) {
308
- let match = element.querySelector(slotSelector);
309
- if (slotSelector === defaultSlotSelector) {
310
- match = (match === null || match === void 0 ? void 0 : match.assignedSlot) ? match : null;
311
- }
314
+ let match = slotSelector === defaultSlotSelector
315
+ ? getDirectChildren(element, defaultSlotSelector)[0] || null
316
+ : element.querySelector(slotSelector);
312
317
  match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
318
+ match = (options === null || options === void 0 ? void 0 : options.matches) ? ((match === null || match === void 0 ? void 0 : match.matches(options.matches)) ? match : null) : match;
313
319
  const selector = options === null || options === void 0 ? void 0 : options.selector;
314
320
  return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;
315
321
  }
@@ -332,7 +338,7 @@ function intersects(rect1, rect2) {
332
338
  rect2.bottom < rect1.top);
333
339
  }
334
340
 
335
- 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)}";
341
+ 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)}";
336
342
 
337
343
  let CalciteAccordionItem$1 = class extends HTMLElement$1 {
338
344
  constructor() {
@@ -2387,10 +2393,7 @@ let CalciteActionMenu$1 = class extends HTMLElement$1 {
2387
2393
  };
2388
2394
  this.getActions = () => {
2389
2395
  const { el } = this;
2390
- const assignedActions = this.getAssignedElements().filter((element) => element.tagName === "CALCITE-ACTION" && element.slot !== "trigger");
2391
- const actionElements = assignedActions.length
2392
- ? assignedActions
2393
- : Array.from(el.querySelectorAll("calcite-action:not([slot=trigger])"));
2396
+ const actionElements = getSlotted(el, { all: true, matches: "calcite-action" });
2394
2397
  this.updateActions(actionElements);
2395
2398
  this.actionElements = actionElements;
2396
2399
  this.connectMenuButtonEl();
@@ -2796,9 +2799,6 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2796
2799
  componentWillLoad() {
2797
2800
  this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
2798
2801
  }
2799
- componentDidLoad() {
2800
- this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
2801
- }
2802
2802
  disconnectedCallback() {
2803
2803
  window.clearTimeout(this.autoDismissTimeoutId);
2804
2804
  }
@@ -2839,11 +2839,12 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2839
2839
  //--------------------------------------------------------------------------
2840
2840
  /** Sets focus on the component. */
2841
2841
  async setFocus() {
2842
- if (!this.closeButton && !this.alertLinkEl) {
2842
+ const alertLinkEl = getSlotted(this.el, { selector: "calcite-link" });
2843
+ if (!this.closeButton && !alertLinkEl) {
2843
2844
  return;
2844
2845
  }
2845
- else if (this.alertLinkEl) {
2846
- this.alertLinkEl.setFocus();
2846
+ else if (alertLinkEl) {
2847
+ alertLinkEl.setFocus();
2847
2848
  }
2848
2849
  else if (this.closeButton) {
2849
2850
  this.closeButton.focus();
@@ -3722,6 +3723,12 @@ let CalciteCard$1 = class extends HTMLElement$1 {
3722
3723
  // Lifecycle
3723
3724
  //
3724
3725
  // --------------------------------------------------------------------------
3726
+ connectedCallback() {
3727
+ connectConditionalSlotComponent(this);
3728
+ }
3729
+ disonnectedCallback() {
3730
+ disconnectConditionalSlotComponent(this);
3731
+ }
3725
3732
  render() {
3726
3733
  return (h("div", { class: "calcite-card-container" }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, h("section", { "aria-busy": this.loading.toString(), class: { [CSS$I.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderThumbnail(), this.renderHeader(), h("div", { class: "card-content" }, h("slot", null)), this.renderFooter())));
3727
3734
  }
@@ -3730,22 +3737,23 @@ let CalciteCard$1 = class extends HTMLElement$1 {
3730
3737
  this.calciteCardSelect.emit();
3731
3738
  }
3732
3739
  renderThumbnail() {
3733
- const hasThumbnail = this.el.querySelector(`[slot=${SLOTS$j.thumbnail}]`);
3734
- return hasThumbnail ? (h("div", { class: CSS$I.thumbnailWrapper }, h("slot", { name: SLOTS$j.thumbnail }))) : null;
3740
+ return getSlotted(this.el, SLOTS$j.thumbnail) ? (h("div", { class: CSS$I.thumbnailWrapper, key: "thumbnail-wrapper" }, h("slot", { name: SLOTS$j.thumbnail }))) : null;
3735
3741
  }
3736
3742
  renderCheckbox() {
3737
3743
  const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
3738
3744
  return (h("calcite-label", { class: CSS$I.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, h("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
3739
3745
  }
3740
3746
  renderHeader() {
3741
- const title = this.el.querySelector(`[slot=${SLOTS$j.title}]`);
3742
- const subtitle = this.el.querySelector(`[slot=${SLOTS$j.subtitle}]`);
3747
+ const { el } = this;
3748
+ const title = getSlotted(el, SLOTS$j.title);
3749
+ const subtitle = getSlotted(el, SLOTS$j.subtitle);
3743
3750
  const hasHeader = title || subtitle;
3744
3751
  return hasHeader ? (h("header", { class: CSS$I.header }, h("slot", { name: SLOTS$j.title }), h("slot", { name: SLOTS$j.subtitle }))) : null;
3745
3752
  }
3746
3753
  renderFooter() {
3747
- const leadingFooter = this.el.querySelector(`[slot=${SLOTS$j.footerLeading}]`);
3748
- const trailingFooter = this.el.querySelector(`[slot=${SLOTS$j.footerTrailing}]`);
3754
+ const { el } = this;
3755
+ const leadingFooter = getSlotted(el, SLOTS$j.footerLeading);
3756
+ const trailingFooter = getSlotted(el, SLOTS$j.footerTrailing);
3749
3757
  const hasFooter = leadingFooter || trailingFooter;
3750
3758
  return hasFooter ? (h("footer", { class: CSS$I.footer }, h("slot", { name: SLOTS$j.footerLeading }), h("slot", { name: SLOTS$j.footerTrailing }))) : null;
3751
3759
  }
@@ -9831,7 +9839,6 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
9831
9839
  const item = document.createElement(ComboboxItem);
9832
9840
  item.value = value;
9833
9841
  item.textLabel = value;
9834
- item.guid = `${chipUidPrefix}${guid()}`;
9835
9842
  item.selected = true;
9836
9843
  this.el.appendChild(item);
9837
9844
  this.resetText();
@@ -9881,7 +9888,9 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
9881
9888
  focusChip() {
9882
9889
  var _a;
9883
9890
  const guid = (_a = this.selectedItems[this.activeChipIndex]) === null || _a === void 0 ? void 0 : _a.guid;
9884
- const chip = this.referenceEl.querySelector(`#${chipUidPrefix}${guid}`);
9891
+ const chip = guid
9892
+ ? this.referenceEl.querySelector(`#${chipUidPrefix}${guid}`)
9893
+ : null;
9885
9894
  chip === null || chip === void 0 ? void 0 : chip.setFocus();
9886
9895
  }
9887
9896
  shiftActiveItemIndex(delta) {
@@ -9936,7 +9945,7 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
9936
9945
  const ancestors = [...getItemAncestors(item)].reverse();
9937
9946
  const pathLabel = [...ancestors, item].map((el) => el.textLabel);
9938
9947
  const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
9939
- return (h("calcite-chip", { class: chipClasses, dismissLabel: intlRemoveTag, dismissible: true, icon: item.icon, id: `${chipUidPrefix}${item.guid}`, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));
9948
+ return (h("calcite-chip", { class: chipClasses, dismissLabel: intlRemoveTag, dismissible: true, icon: item.icon, id: item.guid ? `${chipUidPrefix}${item.guid}` : null, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));
9940
9949
  });
9941
9950
  }
9942
9951
  renderInput() {
@@ -9959,7 +9968,7 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
9959
9968
  }, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, ref: (el) => (this.textInput = el), type: "text" })));
9960
9969
  }
9961
9970
  renderListBoxOptions() {
9962
- return this.visibleItems.map((item) => (h("li", { "aria-selected": (!!item.selected).toString(), id: `${itemUidPrefix}${item.guid}`, role: "option", tabindex: "-1" }, item.textLabel)));
9971
+ return this.visibleItems.map((item) => (h("li", { "aria-selected": (!!item.selected).toString(), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
9963
9972
  }
9964
9973
  renderPopperContainer() {
9965
9974
  const { active, maxScrollerHeight, setMenuEl, setListContainerEl, hideList, open } = this;
@@ -10061,9 +10070,10 @@ let CalciteComboboxItem$1 = class extends HTMLElement$1 {
10061
10070
  connectedCallback() {
10062
10071
  this.ancestors = getAncestors(this.el);
10063
10072
  this.scale = getElementProp(this.el, "scale", this.scale);
10073
+ connectConditionalSlotComponent(this);
10064
10074
  }
10065
- componentWillLoad() {
10066
- this.hasDefaultSlot = this.el.querySelector(":not([slot])") !== null;
10075
+ disconnectedCallback() {
10076
+ disconnectConditionalSlotComponent(this);
10067
10077
  }
10068
10078
  // --------------------------------------------------------------------------
10069
10079
  //
@@ -10103,10 +10113,10 @@ let CalciteComboboxItem$1 = class extends HTMLElement$1 {
10103
10113
  }, icon: icon || iconPath, scale: "s" }));
10104
10114
  }
10105
10115
  renderChildren() {
10106
- if (!this.hasDefaultSlot) {
10107
- return null;
10116
+ if (getSlotted(this.el)) {
10117
+ return (h("ul", { key: "default-slot-container" }, h("slot", null)));
10108
10118
  }
10109
- return (h("ul", null, h("slot", null)));
10119
+ return null;
10110
10120
  }
10111
10121
  render() {
10112
10122
  const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
@@ -10361,10 +10371,14 @@ function getSupportedLocale(lang = "") {
10361
10371
  if (locales.indexOf(lang) > -1) {
10362
10372
  return lang;
10363
10373
  }
10364
- else {
10365
- const base = lang.split("-")[0];
10366
- return locales.indexOf(base) > -1 ? base : "en";
10374
+ lang = lang.toLowerCase();
10375
+ if (lang.includes("-")) {
10376
+ lang = lang.replace(/(\w+)-(\w+)/, (_match, language, region) => `${language}-${region.toUpperCase()}`);
10377
+ if (!locales.includes(lang)) {
10378
+ lang = lang.split("-")[0];
10379
+ }
10367
10380
  }
10381
+ return locales.includes(lang) ? lang : "en";
10368
10382
  }
10369
10383
  /**
10370
10384
  * CLDR cache.
@@ -11489,7 +11503,7 @@ let CalciteDropdown$1 = class extends HTMLElement$1 {
11489
11503
  //--------------------------------------------------------------------------
11490
11504
  this.updateItems = () => {
11491
11505
  this.updateSelectedItems();
11492
- this.triggers = Array.from(this.el.querySelectorAll("[slot=dropdown-trigger]"));
11506
+ this.triggers = getSlotted(this.el, "dropdown-trigger", { all: true });
11493
11507
  this.items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
11494
11508
  this.reposition();
11495
11509
  };
@@ -12780,26 +12794,31 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
12780
12794
  * @default "Save"
12781
12795
  */
12782
12796
  this.intlConfirmChanges = TEXT$c.intlConfirmChanges;
12797
+ this.mutationObserver = createObserver("mutation", () => this.mutationObserverCallback());
12783
12798
  this.transitionEnd = () => {
12784
12799
  if (!this.editingEnabled && !!this.shouldEmitCancel) {
12785
12800
  this.calciteInlineEditableEditCancel.emit();
12786
12801
  }
12787
12802
  };
12788
12803
  this.enableEditing = () => {
12789
- this.valuePriorToEditing = this.inputElement.value;
12804
+ var _a, _b;
12805
+ this.valuePriorToEditing = (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.value;
12790
12806
  this.editingEnabled = true;
12791
- this.inputElement.setFocus();
12807
+ (_b = this.inputElement) === null || _b === void 0 ? void 0 : _b.setFocus();
12792
12808
  this.calciteInlineEditableEnableEditingChange.emit();
12793
12809
  };
12794
12810
  this.disableEditing = () => {
12795
12811
  this.editingEnabled = false;
12796
12812
  };
12797
12813
  this.cancelEditing = () => {
12798
- this.inputElement.value = this.valuePriorToEditing;
12814
+ if (this.inputElement) {
12815
+ this.inputElement.value = this.valuePriorToEditing;
12816
+ }
12799
12817
  this.disableEditing();
12800
12818
  this.enableEditingButton.setFocus();
12801
12819
  };
12802
12820
  this.escapeKeyHandler = async (e) => {
12821
+ var _a;
12803
12822
  if (e.key !== "Escape") {
12804
12823
  if (e.key === "Tab" && this.shouldShowControls) {
12805
12824
  if (!e.shiftKey && e.target === this.inputElement) {
@@ -12809,7 +12828,7 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
12809
12828
  if (!!e.shiftKey && e.target === this.cancelEditingButton) {
12810
12829
  e.preventDefault();
12811
12830
  e.stopPropagation();
12812
- this.inputElement.setFocus();
12831
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus();
12813
12832
  }
12814
12833
  }
12815
12834
  return;
@@ -12851,10 +12870,14 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
12851
12870
  };
12852
12871
  }
12853
12872
  disabledWatcher(disabled) {
12854
- this.inputElement.disabled = disabled;
12873
+ if (this.inputElement) {
12874
+ this.inputElement.disabled = disabled;
12875
+ }
12855
12876
  }
12856
12877
  editingEnabledWatcher(newValue, oldValue) {
12857
- this.inputElement.editingEnabled = newValue;
12878
+ if (this.inputElement) {
12879
+ this.inputElement.editingEnabled = newValue;
12880
+ }
12858
12881
  if (!newValue && !!oldValue) {
12859
12882
  this.shouldEmitCancel = true;
12860
12883
  }
@@ -12865,17 +12888,15 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
12865
12888
  //
12866
12889
  //--------------------------------------------------------------------------
12867
12890
  connectedCallback() {
12891
+ var _a;
12868
12892
  connectLabel(this);
12893
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
12894
+ this.mutationObserverCallback();
12869
12895
  }
12870
12896
  disconnectedCallback() {
12897
+ var _a;
12871
12898
  disconnectLabel(this);
12872
- }
12873
- componentWillLoad() {
12874
- this.inputElement = this.el.querySelector("calcite-input");
12875
- this.inputElement.disabled = this.disabled;
12876
- this.inputElement.label = this.inputElement.label || getLabelText(this);
12877
- this.scale =
12878
- this.scale || this.inputElement.scale || getElementProp(this.el, "scale", undefined);
12899
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
12879
12900
  }
12880
12901
  render() {
12881
12902
  return (h("div", { class: CSS$t.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler, onTransitionEnd: this.transitionEnd }, h("div", { class: CSS$t.inputWrapper }, h("slot", null)), h("div", { class: CSS$t.controlsWrapper }, h("calcite-button", { appearance: "transparent", class: CSS$t.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
@@ -12915,9 +12936,26 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
12915
12936
  // Private Methods
12916
12937
  //
12917
12938
  //--------------------------------------------------------------------------
12939
+ mutationObserverCallback() {
12940
+ var _a;
12941
+ this.updateSlottedInput();
12942
+ this.scale =
12943
+ this.scale || ((_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.scale) || getElementProp(this.el, "scale", undefined);
12944
+ }
12918
12945
  onLabelClick() {
12919
12946
  this.setFocus();
12920
12947
  }
12948
+ updateSlottedInput() {
12949
+ const inputElement = getSlotted(this.el, {
12950
+ matches: "calcite-input"
12951
+ });
12952
+ this.inputElement = inputElement;
12953
+ if (!inputElement) {
12954
+ return;
12955
+ }
12956
+ this.inputElement.disabled = this.disabled;
12957
+ this.inputElement.label = this.inputElement.label || getLabelText(this);
12958
+ }
12921
12959
  get shouldShowControls() {
12922
12960
  return this.editingEnabled && this.controls;
12923
12961
  }
@@ -13027,6 +13065,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13027
13065
  this.childElType = "input";
13028
13066
  /** whether the value of the input was changed as a result of user typing or not */
13029
13067
  this.internalValueChange = false;
13068
+ this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
13030
13069
  //--------------------------------------------------------------------------
13031
13070
  //
13032
13071
  // Private Methods
@@ -13065,7 +13104,8 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13065
13104
  }
13066
13105
  };
13067
13106
  this.inputFocusHandler = (event) => {
13068
- if (event.target !== this.slottedActionEl) {
13107
+ const slottedActionEl = getSlotted(this.el, "action");
13108
+ if (event.target !== slottedActionEl) {
13069
13109
  this.setFocus();
13070
13110
  }
13071
13111
  this.calciteInputFocus.emit({
@@ -13309,6 +13349,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13309
13349
  //
13310
13350
  //--------------------------------------------------------------------------
13311
13351
  connectedCallback() {
13352
+ var _a;
13312
13353
  this.scale = getElementProp(this.el, "scale", this.scale);
13313
13354
  this.status = getElementProp(this.el, "status", this.status);
13314
13355
  this.inlineEditableEl = this.el.closest("calcite-inline-editable");
@@ -13325,10 +13366,14 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13325
13366
  }
13326
13367
  connectLabel(this);
13327
13368
  connectForm(this);
13369
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
13370
+ this.setDisabledAction();
13328
13371
  }
13329
13372
  disconnectedCallback() {
13373
+ var _a;
13330
13374
  disconnectLabel(this);
13331
13375
  disconnectForm(this);
13376
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
13332
13377
  }
13333
13378
  componentWillLoad() {
13334
13379
  var _a, _b;
@@ -13337,10 +13382,6 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13337
13382
  this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
13338
13383
  this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
13339
13384
  }
13340
- componentDidLoad() {
13341
- this.slottedActionEl = this.el.querySelector("[slot=action]");
13342
- this.setDisabledAction();
13343
- }
13344
13385
  componentShouldUpdate(newValue, oldValue, property) {
13345
13386
  if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
13346
13387
  this.setValue({
@@ -13412,10 +13453,10 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13412
13453
  }
13413
13454
  }
13414
13455
  setDisabledAction() {
13415
- if (!this.slottedActionEl) {
13456
+ const slottedActionEl = getSlotted(this.el, "action");
13457
+ if (!slottedActionEl) {
13416
13458
  return;
13417
13459
  }
13418
- const slottedActionEl = this.slottedActionEl;
13419
13460
  this.disabled
13420
13461
  ? slottedActionEl.setAttribute("disabled", "")
13421
13462
  : slottedActionEl.removeAttribute("disabled");
@@ -14931,7 +14972,7 @@ let CalciteModal$1 = class extends HTMLElement$1 {
14931
14972
  }
14932
14973
  };
14933
14974
  this.updateFooterVisibility = () => {
14934
- this.hasFooter = !!this.el.querySelector(`[slot=${SLOTS$e.back}], [slot=${SLOTS$e.secondary}], [slot=${SLOTS$e.primary}]`);
14975
+ this.hasFooter = !!getSlotted(this.el, [SLOTS$e.back, SLOTS$e.primary, SLOTS$e.secondary]);
14935
14976
  };
14936
14977
  }
14937
14978
  //--------------------------------------------------------------------------
@@ -15142,9 +15183,6 @@ let CalciteNotice$1 = class extends HTMLElement$1 {
15142
15183
  componentWillLoad() {
15143
15184
  this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
15144
15185
  }
15145
- componentDidLoad() {
15146
- this.noticeLinkEl = this.el.querySelector("calcite-link");
15147
- }
15148
15186
  render() {
15149
15187
  const { el } = this;
15150
15188
  const closeButton = (h("button", { "aria-label": this.intlClose, class: CSS$m.close, onClick: this.close, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
@@ -15158,11 +15196,12 @@ let CalciteNotice$1 = class extends HTMLElement$1 {
15158
15196
  //--------------------------------------------------------------------------
15159
15197
  /** Sets focus on the component. */
15160
15198
  async setFocus() {
15161
- if (!this.closeButton && !this.noticeLinkEl) {
15199
+ const noticeLinkEl = this.el.querySelector("calcite-link");
15200
+ if (!this.closeButton && !noticeLinkEl) {
15162
15201
  return;
15163
15202
  }
15164
- if (this.noticeLinkEl) {
15165
- this.noticeLinkEl.setFocus();
15203
+ if (noticeLinkEl) {
15204
+ noticeLinkEl.setFocus();
15166
15205
  }
15167
15206
  else if (this.closeButton) {
15168
15207
  this.closeButton.focus();
@@ -15604,6 +15643,20 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
15604
15643
  }
15605
15644
  (_c = this.containerEl) === null || _c === void 0 ? void 0 : _c.focus();
15606
15645
  }
15646
+ /** Scrolls panel content to a particular set of coordinates.
15647
+ *
15648
+ * ```
15649
+ * myCalcitePanel.scrollContentTo({
15650
+ * left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
15651
+ * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
15652
+ * behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
15653
+ * });
15654
+ * ```
15655
+ */
15656
+ async scrollContentTo(options) {
15657
+ var _a;
15658
+ (_a = this.panelScrollEl) === null || _a === void 0 ? void 0 : _a.scrollTo(options);
15659
+ }
15607
15660
  // --------------------------------------------------------------------------
15608
15661
  //
15609
15662
  // Render Methods
@@ -15672,7 +15725,9 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
15672
15725
  renderContent() {
15673
15726
  const { el } = this;
15674
15727
  const hasFab = getSlotted(el, SLOTS$c.fab);
15675
- return hasFab ? (h("div", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentHeight]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("section", { class: CSS$k.contentContainer }, h("slot", null)), this.renderFab())) : (h("section", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentContainer]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("slot", null)));
15728
+ const defaultSlotNode = h("slot", { key: "default-slot" });
15729
+ const contentWrapperKey = "content-wrapper";
15730
+ return hasFab ? (h("div", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: (el) => (this.panelScrollEl = el), tabIndex: 0 }, h("section", { class: CSS$k.contentContainer }, defaultSlotNode), this.renderFab())) : (h("section", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentContainer]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: (el) => (this.panelScrollEl = el), tabIndex: 0 }, defaultSlotNode));
15676
15731
  }
15677
15732
  renderFab() {
15678
15733
  return (h("div", { class: CSS$k.fabContainer }, h("slot", { name: SLOTS$c.fab })));
@@ -16864,10 +16919,6 @@ let CalciteRadioButton$1 = class extends HTMLElement$1 {
16864
16919
  }
16865
16920
  nameChanged() {
16866
16921
  this.checkLastRadioButton();
16867
- const currentValue = this.rootNode.querySelector(`input[name="${this.name}"]:checked`);
16868
- if (!(currentValue === null || currentValue === void 0 ? void 0 : currentValue.value)) {
16869
- this.uncheckAllRadioButtonsInGroup();
16870
- }
16871
16922
  }
16872
16923
  //--------------------------------------------------------------------------
16873
16924
  //
@@ -17011,6 +17062,12 @@ let CalciteRadioButtonGroup$1 = class extends HTMLElement$1 {
17011
17062
  this.required = false;
17012
17063
  /** The scale (size) of the radio button group. */
17013
17064
  this.scale = "m";
17065
+ // --------------------------------------------------------------------------
17066
+ //
17067
+ // Private Properties
17068
+ //
17069
+ // --------------------------------------------------------------------------
17070
+ this.mutationObserver = createObserver("mutation", () => this.passPropsToRadioButtons());
17014
17071
  //--------------------------------------------------------------------------
17015
17072
  //
17016
17073
  // Private Methods
@@ -17047,7 +17104,13 @@ let CalciteRadioButtonGroup$1 = class extends HTMLElement$1 {
17047
17104
  //
17048
17105
  //--------------------------------------------------------------------------
17049
17106
  connectedCallback() {
17107
+ var _a;
17050
17108
  this.passPropsToRadioButtons();
17109
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
17110
+ }
17111
+ disconnectedCallback() {
17112
+ var _a;
17113
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
17051
17114
  }
17052
17115
  //--------------------------------------------------------------------------
17053
17116
  //
@@ -17741,16 +17804,19 @@ let CalciteShell$1 = class extends HTMLElement$1 {
17741
17804
  return hasHeader ? h("slot", { key: "header", name: SLOTS$7.header }) : null;
17742
17805
  }
17743
17806
  renderContent() {
17807
+ const defaultSlotNode = h("slot", { key: "default-slot" });
17808
+ const centerRowSlotNode = h("slot", { key: "center-row-slot", name: SLOTS$7.centerRow });
17809
+ const contentContainerKey = "content-container";
17744
17810
  const content = !!this.contentBehind
17745
17811
  ? [
17746
17812
  h("div", { class: {
17747
17813
  [CSS$b.content]: true,
17748
- [CSS$b.contentBehind]: !!this.contentBehind
17749
- } }, h("slot", null)),
17750
- h("slot", { name: SLOTS$7.centerRow })
17814
+ [CSS$b.contentBehind]: true
17815
+ }, key: contentContainerKey }, defaultSlotNode),
17816
+ centerRowSlotNode
17751
17817
  ]
17752
17818
  : [
17753
- h("div", { class: CSS$b.content }, h("slot", null), h("slot", { name: SLOTS$7.centerRow }))
17819
+ h("div", { class: CSS$b.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
17754
17820
  ];
17755
17821
  return content;
17756
17822
  }
@@ -18155,9 +18221,7 @@ let CalciteSlider$1 = class extends HTMLElement$1 {
18155
18221
  }
18156
18222
  };
18157
18223
  this.dragEnd = (event) => {
18158
- document.removeEventListener("pointermove", this.dragUpdate);
18159
- document.removeEventListener("pointerup", this.dragEnd);
18160
- document.removeEventListener("pointercancel", this.dragEnd);
18224
+ this.removeDragListeners();
18161
18225
  this.focusActiveHandle(event.clientX);
18162
18226
  if (this.lastDragPropValue != this[this.dragProp]) {
18163
18227
  this.emitChange();
@@ -18192,6 +18256,7 @@ let CalciteSlider$1 = class extends HTMLElement$1 {
18192
18256
  disconnectedCallback() {
18193
18257
  disconnectLabel(this);
18194
18258
  disconnectForm(this);
18259
+ this.removeDragListeners();
18195
18260
  }
18196
18261
  componentWillLoad() {
18197
18262
  this.isRange = !!(this.maxValue || this.maxValue === 0);
@@ -18527,6 +18592,11 @@ let CalciteSlider$1 = class extends HTMLElement$1 {
18527
18592
  emitChange() {
18528
18593
  this.calciteSliderChange.emit();
18529
18594
  }
18595
+ removeDragListeners() {
18596
+ document.removeEventListener("pointermove", this.dragUpdate);
18597
+ document.removeEventListener("pointerup", this.dragEnd);
18598
+ document.removeEventListener("pointercancel", this.dragEnd);
18599
+ }
18530
18600
  /**
18531
18601
  * Set the prop value if changed at the component level
18532
18602
  * @param valueProp
@@ -24710,7 +24780,8 @@ let CalciteTree$1 = class extends HTMLElement$1 {
24710
24780
  onFocusIn(event) {
24711
24781
  const focusedFromRootOrOutsideTree = event.relatedTarget === this.el || !this.el.contains(event.relatedTarget);
24712
24782
  if (focusedFromRootOrOutsideTree) {
24713
- this.el.tabIndex = -1;
24783
+ // gives user the ability to tab into external elements (modifying tabindex property will not work in firefox)
24784
+ this.el.removeAttribute("tabindex");
24714
24785
  }
24715
24786
  }
24716
24787
  onFocusOut(event) {
@@ -24969,7 +25040,8 @@ let CalciteTreeItem$1 = class extends HTMLElement$1 {
24969
25040
  [CSS$1.chevron]: true,
24970
25041
  [CSS_UTILITY.rtl]: rtl
24971
25042
  }, "data-test-id": "icon", icon: ICONS$1.chevronRight, onClick: this.iconClickHandler, scale: "s" })) : null;
24972
- const checkbox = this.selectionMode === TreeSelectionMode.Ancestors ? (h("label", { class: CSS$1.checkboxLabel }, h("calcite-checkbox", { checked: this.selected, class: CSS$1.checkbox, "data-test-id": "checkbox", indeterminate: this.hasChildren && this.indeterminate, scale: this.scale, tabIndex: -1 }), h("slot", null))) : null;
25043
+ const defaultSlotNode = h("slot", { key: "default-slot" });
25044
+ const checkbox = this.selectionMode === TreeSelectionMode.Ancestors ? (h("label", { class: CSS$1.checkboxLabel, key: "checkbox-label" }, h("calcite-checkbox", { checked: this.selected, class: CSS$1.checkbox, "data-test-id": "checkbox", indeterminate: this.hasChildren && this.indeterminate, scale: this.scale, tabIndex: -1 }), defaultSlotNode)) : null;
24973
25045
  const selectedIcon = showBulletPoint
24974
25046
  ? ICONS$1.bulletPoint
24975
25047
  : showCheckmark
@@ -24984,7 +25056,7 @@ let CalciteTreeItem$1 = class extends HTMLElement$1 {
24984
25056
  return (h(Host, { "aria-expanded": this.hasChildren ? this.expanded.toString() : undefined, "aria-hidden": hidden.toString(), "aria-selected": this.selected ? "true" : showCheckmark ? "false" : undefined, "calcite-hydrated-hidden": hidden, role: "treeitem", tabindex: this.parentExpanded || this.depth === 1 ? "0" : "-1" }, h("div", { class: {
24985
25057
  [CSS$1.nodeContainer]: true,
24986
25058
  [CSS_UTILITY.rtl]: rtl
24987
- }, "data-selection-mode": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) }, chevron, bulletOrCheckIcon, checkbox ? checkbox : h("slot", null)), h("div", { class: {
25059
+ }, "data-selection-mode": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) }, chevron, bulletOrCheckIcon, checkbox ? checkbox : defaultSlotNode), h("div", { class: {
24988
25060
  [CSS$1.childrenContainer]: true,
24989
25061
  [CSS_UTILITY.rtl]: rtl
24990
25062
  }, "data-test-id": "calcite-tree-children", onClick: this.childrenClickHandler, ref: (el) => (this.childrenSlotWrapper = el), role: this.hasChildren ? "group" : undefined }, h("slot", { name: SLOTS$1.children }))));