@esri/calcite-components 1.0.0-next.312 → 1.0.0-next.316

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 (391) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/{p-2a714a22.entry.js → p-04a2538a.entry.js} +1 -1
  3. package/dist/calcite/{p-d6e30c54.entry.js → p-051cc8c6.entry.js} +1 -1
  4. package/dist/calcite/{p-765fb8ed.entry.js → p-058ee7b0.entry.js} +1 -1
  5. package/dist/calcite/{p-5efd81e1.entry.js → p-0c827dec.entry.js} +1 -1
  6. package/dist/calcite/{p-59a285d8.system.entry.js → p-0f33798d.system.entry.js} +1 -1
  7. package/dist/calcite/{p-e70cb594.system.entry.js → p-0f9f1f89.system.entry.js} +1 -1
  8. package/dist/calcite/{p-1a962bdd.js → p-1161e56f.js} +1 -1
  9. package/dist/calcite/{p-044d603d.system.entry.js → p-18fbf2af.system.entry.js} +1 -1
  10. package/dist/calcite/{p-9338b0bc.entry.js → p-198902ca.entry.js} +1 -1
  11. package/dist/calcite/{p-cc788d2e.entry.js → p-1ad123f9.entry.js} +1 -1
  12. package/dist/calcite/{p-e33fe285.system.entry.js → p-1eb04aad.system.entry.js} +1 -1
  13. package/dist/calcite/{p-deb36fde.system.entry.js → p-1f809e6c.system.entry.js} +1 -1
  14. package/dist/calcite/{p-1c8fe17f.system.entry.js → p-2033f545.system.entry.js} +1 -1
  15. package/dist/calcite/{p-f1e111f4.system.entry.js → p-20f91a4e.system.entry.js} +1 -1
  16. package/dist/calcite/{p-7ba971b5.system.entry.js → p-227bc238.system.entry.js} +1 -1
  17. package/dist/calcite/p-239b44dd.system.entry.js +5 -0
  18. package/dist/calcite/{p-f9c46578.entry.js → p-23bc2d32.entry.js} +1 -1
  19. package/dist/calcite/{p-a19e423a.entry.js → p-266ee9db.entry.js} +1 -1
  20. package/dist/calcite/{p-4f1f83d2.entry.js → p-2c66fb61.entry.js} +1 -1
  21. package/dist/calcite/{p-63e60894.entry.js → p-343cd887.entry.js} +1 -1
  22. package/dist/calcite/{p-ecc00ef0.entry.js → p-3d69fba9.entry.js} +1 -1
  23. package/dist/calcite/p-3ec67fae.entry.js +5 -0
  24. package/dist/calcite/p-42091a1f.system.entry.js +5 -0
  25. package/dist/calcite/p-42c7e2f0.system.entry.js +5 -0
  26. package/dist/calcite/p-43020fb5.js +5 -0
  27. package/dist/calcite/p-44a07313.system.entry.js +5 -0
  28. package/dist/calcite/{p-c34c4414.system.js → p-47f55191.system.js} +1 -1
  29. package/dist/calcite/{p-e52495d3.system.entry.js → p-4a8b3cf3.system.entry.js} +1 -1
  30. package/dist/calcite/p-4cc182af.system.entry.js +5 -0
  31. package/dist/calcite/{p-cced5508.system.entry.js → p-4ee2f6cf.system.entry.js} +1 -1
  32. package/dist/calcite/{p-c87c04a9.entry.js → p-50273eed.entry.js} +1 -1
  33. package/dist/calcite/p-5035488d.entry.js +5 -0
  34. package/dist/calcite/p-52578054.js +5 -0
  35. package/dist/calcite/{p-34038a94.system.entry.js → p-538e542a.system.entry.js} +1 -1
  36. package/dist/calcite/{p-ef39847e.entry.js → p-55bfe4fc.entry.js} +1 -1
  37. package/dist/calcite/{p-55a5535b.system.entry.js → p-57e9b7cb.system.entry.js} +1 -1
  38. package/dist/calcite/{p-e6d05ad6.system.entry.js → p-6c5b849f.system.entry.js} +1 -1
  39. package/dist/calcite/{p-9577dfd9.entry.js → p-6ca051ef.entry.js} +1 -1
  40. package/dist/calcite/{p-c61ebee9.entry.js → p-702140ce.entry.js} +1 -1
  41. package/dist/calcite/{p-523bc291.system.js → p-71cdeee3.system.js} +1 -1
  42. package/dist/calcite/p-71e299a6.system.js +5 -0
  43. package/dist/calcite/{p-a5e8f022.system.entry.js → p-730b8963.system.entry.js} +1 -1
  44. package/dist/calcite/{p-4d11efdb.system.entry.js → p-7325e7fc.system.entry.js} +1 -1
  45. package/dist/calcite/{p-25caf637.system.entry.js → p-784e4e32.system.entry.js} +1 -1
  46. package/dist/calcite/{p-2aa3007a.entry.js → p-80a527ef.entry.js} +1 -1
  47. package/dist/calcite/{p-cf03b144.system.entry.js → p-832affcb.system.entry.js} +1 -1
  48. package/dist/calcite/p-837f9bb4.system.entry.js +5 -0
  49. package/dist/calcite/{p-840f2937.system.entry.js → p-83fca16e.system.entry.js} +1 -1
  50. package/dist/calcite/{p-e616f9b5.entry.js → p-84d6696b.entry.js} +1 -1
  51. package/dist/calcite/{p-38bd222a.entry.js → p-87f1831b.entry.js} +1 -1
  52. package/dist/calcite/{p-4acfb654.entry.js → p-88b4f504.entry.js} +1 -1
  53. package/dist/calcite/{p-f1c5e7cf.entry.js → p-89987575.entry.js} +1 -1
  54. package/dist/calcite/{p-c4cb4fab.system.entry.js → p-8b2d4eac.system.entry.js} +1 -1
  55. package/dist/calcite/p-8da7ad4b.entry.js +5 -0
  56. package/dist/calcite/p-8e252799.system.js +1 -1
  57. package/dist/calcite/{p-1dd440e6.system.entry.js → p-9470d123.system.entry.js} +1 -1
  58. package/dist/calcite/{p-4e16515a.system.entry.js → p-99de28b4.system.entry.js} +1 -1
  59. package/dist/calcite/{p-004460a0.system.entry.js → p-99e52ea7.system.entry.js} +1 -1
  60. package/dist/calcite/{p-29771742.entry.js → p-9be50494.entry.js} +1 -1
  61. package/dist/calcite/{p-15f3a0d7.system.entry.js → p-a821e9b3.system.entry.js} +1 -1
  62. package/dist/calcite/{p-b94bf8ac.system.entry.js → p-a98e5444.system.entry.js} +2 -2
  63. package/dist/calcite/p-ab9c6a18.entry.js +5 -0
  64. package/dist/calcite/{p-6484ffb7.system.entry.js → p-abdc7a4b.system.entry.js} +1 -1
  65. package/dist/calcite/{p-74f390e1.system.entry.js → p-ac38b743.system.entry.js} +2 -2
  66. package/dist/calcite/{p-dbe899c6.system.entry.js → p-b0b6baf4.system.entry.js} +1 -1
  67. package/dist/calcite/{p-6296644b.entry.js → p-b16b831d.entry.js} +1 -1
  68. package/dist/calcite/{p-0f014648.entry.js → p-b174f9ac.entry.js} +1 -1
  69. package/dist/calcite/{p-16f2d814.system.entry.js → p-b37b7b9e.system.entry.js} +1 -1
  70. package/dist/calcite/{p-9a3bed69.entry.js → p-b3e418f0.entry.js} +1 -1
  71. package/dist/calcite/{p-defcee80.system.entry.js → p-b5d21a5d.system.entry.js} +1 -1
  72. package/dist/calcite/p-b5f412fb.entry.js +5 -0
  73. package/dist/calcite/{p-0229a408.js → p-b6b6ec04.js} +1 -1
  74. package/dist/calcite/{p-127e3513.system.entry.js → p-b7518275.system.entry.js} +1 -1
  75. package/dist/calcite/{p-85032edc.system.entry.js → p-b75ffebb.system.entry.js} +1 -1
  76. package/dist/calcite/{p-8603b2e1.entry.js → p-bef1f0d9.entry.js} +1 -1
  77. package/dist/calcite/{p-c0e35328.entry.js → p-c0690971.entry.js} +1 -1
  78. package/dist/calcite/{p-05da7439.entry.js → p-c12e88cd.entry.js} +1 -1
  79. package/dist/calcite/p-c1794615.entry.js +5 -0
  80. package/dist/calcite/{p-cbf6bb04.system.js → p-c937f25f.system.js} +1 -1
  81. package/dist/calcite/{p-8baa9ba4.entry.js → p-c9551366.entry.js} +1 -1
  82. package/dist/calcite/{p-efb2169a.entry.js → p-ca5c0679.entry.js} +1 -1
  83. package/dist/calcite/{p-e5e3b591.entry.js → p-cd1cdf3c.entry.js} +1 -1
  84. package/dist/calcite/{p-35a5c74c.system.js → p-d07ff1ee.system.js} +1 -1
  85. package/dist/calcite/{p-16bb48f6.system.entry.js → p-d102e280.system.entry.js} +1 -1
  86. package/dist/calcite/p-d830efad.entry.js +5 -0
  87. package/dist/calcite/p-dacd3cf8.entry.js +5 -0
  88. package/dist/calcite/{p-9be6633a.entry.js → p-dcc6b40f.entry.js} +1 -1
  89. package/dist/calcite/p-dccb5ffd.entry.js +5 -0
  90. package/dist/calcite/{p-a5269f14.system.entry.js → p-e2d18d39.system.entry.js} +1 -1
  91. package/dist/calcite/p-e5305b02.js +5 -0
  92. package/dist/calcite/{p-10708f87.system.entry.js → p-e6a47d34.system.entry.js} +1 -1
  93. package/dist/calcite/p-e78e743b.entry.js +5 -0
  94. package/dist/calcite/{p-45b4443f.entry.js → p-ea3fee96.entry.js} +1 -1
  95. package/dist/calcite/{p-aaec0d11.system.entry.js → p-eb0f1e0f.system.entry.js} +1 -1
  96. package/dist/calcite/{p-5eee672a.system.entry.js → p-ed3f000d.system.entry.js} +1 -1
  97. package/dist/calcite/{p-592da79d.system.entry.js → p-ee40deba.system.entry.js} +1 -1
  98. package/dist/calcite/{p-a46c3870.system.entry.js → p-ee45cff5.system.entry.js} +1 -1
  99. package/dist/calcite/{p-aec398f3.system.entry.js → p-eeb8dfe5.system.entry.js} +1 -1
  100. package/dist/calcite/{p-63da2e34.system.entry.js → p-f05b5dc9.system.entry.js} +1 -1
  101. package/dist/calcite/{p-a61d85db.system.entry.js → p-f1832595.system.entry.js} +1 -1
  102. package/dist/calcite/p-f2620bc3.js +5 -0
  103. package/dist/calcite/{p-f278dd53.entry.js → p-f333e31b.entry.js} +1 -1
  104. package/dist/calcite/{p-4778c5cf.system.entry.js → p-f6323ffa.system.entry.js} +1 -1
  105. package/dist/calcite/p-f87ba8eb.system.js +5 -0
  106. package/dist/calcite/{p-578509a8.entry.js → p-f97e1a2d.entry.js} +1 -1
  107. package/dist/calcite/p-fb817417.entry.js +5 -0
  108. package/dist/calcite/{p-ace12b8d.entry.js → p-fb8b2c96.entry.js} +1 -1
  109. package/dist/calcite/{p-2451da5b.entry.js → p-fba77b86.entry.js} +1 -1
  110. package/dist/calcite/{p-289bc56f.entry.js → p-fc32b022.entry.js} +1 -1
  111. package/dist/calcite/p-fccc1605.entry.js +5 -0
  112. package/dist/calcite/{p-5f2a9710.system.entry.js → p-fd1ddcd2.system.entry.js} +1 -1
  113. package/dist/cjs/{CalciteExpandToggle-5f60c98b.js → CalciteExpandToggle-ca629f39.js} +3 -3
  114. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  115. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  116. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  117. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  118. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  119. package/dist/cjs/calcite-alert.cjs.entry.js +13 -18
  120. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  121. package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
  122. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  123. package/dist/cjs/calcite-card.cjs.entry.js +1 -1
  124. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  125. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  126. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
  127. package/dist/cjs/calcite-combobox_3.cjs.entry.js +5 -5
  128. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +1 -1
  129. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +3 -3
  130. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  131. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  132. package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
  133. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  134. package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
  135. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
  136. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  137. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  138. package/dist/cjs/calcite-input.cjs.entry.js +12 -7
  139. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  140. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  141. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  142. package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
  143. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  144. package/dist/cjs/calcite-option_3.cjs.entry.js +5 -4
  145. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  146. package/dist/cjs/calcite-panel.cjs.entry.js +8 -7
  147. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  148. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  149. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +18 -20
  150. package/dist/cjs/calcite-radio_2.cjs.entry.js +4 -4
  151. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  152. package/dist/cjs/calcite-shell_3.cjs.entry.js +17 -8
  153. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  154. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  155. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  156. package/dist/cjs/calcite-tab_4.cjs.entry.js +5 -5
  157. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  158. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  159. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  160. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  161. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  162. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  163. package/dist/cjs/{dom-19822169.js → dom-41ce6029.js} +7 -0
  164. package/dist/cjs/{form-a5b44a1f.js → form-7f276aa5.js} +1 -1
  165. package/dist/cjs/{label-8e3552b2.js → label-98a31f7d.js} +1 -1
  166. package/dist/cjs/{popper-a7580aca.js → popper-4c24a334.js} +1 -1
  167. package/dist/cjs/{resources-cd25dbae.js → resources-1177e39b.js} +1 -1
  168. package/dist/collection/components/calcite-alert/calcite-alert.js +12 -17
  169. package/dist/collection/components/calcite-block-section/calcite-block-section.js +2 -2
  170. package/dist/collection/components/calcite-combobox/calcite-combobox.js +2 -2
  171. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +1 -1
  172. package/dist/collection/components/calcite-input/calcite-input.js +11 -5
  173. package/dist/collection/components/calcite-modal/calcite-modal.js +1 -1
  174. package/dist/collection/components/calcite-panel/calcite-panel.css +4 -1
  175. package/dist/collection/components/calcite-panel/calcite-panel.js +9 -8
  176. package/dist/collection/components/calcite-panel/resources.js +1 -0
  177. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +2 -3
  178. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +16 -18
  179. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +1 -1
  180. package/dist/collection/components/calcite-select/calcite-select.js +2 -1
  181. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +17 -8
  182. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
  183. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +3 -3
  184. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  185. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  186. package/dist/collection/utils/dom.js +6 -0
  187. package/dist/components/CalciteExpandToggle.js +3 -3
  188. package/dist/components/calcite-alert.js +12 -17
  189. package/dist/components/calcite-avatar.js +1 -1
  190. package/dist/components/calcite-block-section.js +2 -2
  191. package/dist/components/calcite-button2.js +1 -1
  192. package/dist/components/calcite-color-picker-swatch2.js +1 -1
  193. package/dist/components/calcite-combobox.js +2 -2
  194. package/dist/components/calcite-dropdown2.js +1 -1
  195. package/dist/components/calcite-input2.js +9 -4
  196. package/dist/components/calcite-modal.js +2 -2
  197. package/dist/components/calcite-panel.js +8 -7
  198. package/dist/components/calcite-popover-manager.js +1 -1
  199. package/dist/components/calcite-radio-button.js +2 -2
  200. package/dist/components/calcite-radio-group.js +16 -18
  201. package/dist/components/calcite-select.js +2 -1
  202. package/dist/components/calcite-shell-panel.js +17 -8
  203. package/dist/components/calcite-slider.js +1 -1
  204. package/dist/components/calcite-tab-nav2.js +3 -3
  205. package/dist/components/calcite-tab-title2.js +3 -3
  206. package/dist/components/calcite-tip-manager.js +2 -2
  207. package/dist/components/calcite-tree-item.js +1 -1
  208. package/dist/components/dom.js +7 -1
  209. package/dist/components/form.js +1 -1
  210. package/dist/components/label.js +1 -1
  211. package/dist/custom-elements/index.js +79 -64
  212. package/dist/esm/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-4b38a7d1.js} +3 -3
  213. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  214. package/dist/esm/calcite-action-bar.entry.js +2 -2
  215. package/dist/esm/calcite-action-group.entry.js +1 -1
  216. package/dist/esm/calcite-action-menu.entry.js +1 -1
  217. package/dist/esm/calcite-action-pad.entry.js +2 -2
  218. package/dist/esm/calcite-alert.entry.js +13 -18
  219. package/dist/esm/calcite-avatar.entry.js +1 -1
  220. package/dist/esm/calcite-block_2.entry.js +2 -2
  221. package/dist/esm/calcite-button.entry.js +2 -2
  222. package/dist/esm/calcite-card.entry.js +1 -1
  223. package/dist/esm/calcite-checkbox.entry.js +3 -3
  224. package/dist/esm/calcite-chip.entry.js +1 -1
  225. package/dist/esm/calcite-color-picker_3.entry.js +1 -1
  226. package/dist/esm/calcite-combobox_3.entry.js +5 -5
  227. package/dist/esm/calcite-date-picker_4.entry.js +1 -1
  228. package/dist/esm/calcite-dropdown_3.entry.js +3 -3
  229. package/dist/esm/calcite-fab.entry.js +1 -1
  230. package/dist/esm/calcite-filter.entry.js +1 -1
  231. package/dist/esm/calcite-graph_2.entry.js +3 -3
  232. package/dist/esm/calcite-icon.entry.js +1 -1
  233. package/dist/esm/calcite-inline-editable.entry.js +2 -2
  234. package/dist/esm/calcite-input-date-picker.entry.js +4 -4
  235. package/dist/esm/calcite-input-message.entry.js +1 -1
  236. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  237. package/dist/esm/calcite-input.entry.js +12 -7
  238. package/dist/esm/calcite-label.entry.js +1 -1
  239. package/dist/esm/calcite-link.entry.js +1 -1
  240. package/dist/esm/calcite-list_3.entry.js +1 -1
  241. package/dist/esm/calcite-modal.entry.js +2 -2
  242. package/dist/esm/calcite-notice.entry.js +1 -1
  243. package/dist/esm/calcite-option_3.entry.js +5 -4
  244. package/dist/esm/calcite-pagination.entry.js +1 -1
  245. package/dist/esm/calcite-panel.entry.js +8 -7
  246. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  247. package/dist/esm/calcite-popover_2.entry.js +2 -2
  248. package/dist/esm/calcite-radio-group_2.entry.js +18 -20
  249. package/dist/esm/calcite-radio_2.entry.js +4 -4
  250. package/dist/esm/calcite-rating.entry.js +3 -3
  251. package/dist/esm/calcite-shell_3.entry.js +17 -8
  252. package/dist/esm/calcite-split-button.entry.js +1 -1
  253. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  254. package/dist/esm/calcite-switch.entry.js +3 -3
  255. package/dist/esm/calcite-tab_4.entry.js +5 -5
  256. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  257. package/dist/esm/calcite-tile.entry.js +1 -1
  258. package/dist/esm/calcite-tip_3.entry.js +2 -2
  259. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  260. package/dist/esm/calcite-tree_2.entry.js +1 -1
  261. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  262. package/dist/esm/{dom-f24e866c.js → dom-dc012a45.js} +7 -1
  263. package/dist/esm/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  264. package/dist/esm/{label-5559055d.js → label-0d804a87.js} +1 -1
  265. package/dist/esm/{popper-f5caedc4.js → popper-ed1eefa6.js} +1 -1
  266. package/dist/esm/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
  267. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +5 -0
  268. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  269. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  270. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  271. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  272. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  273. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  274. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  275. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  276. package/dist/esm-es5/calcite-button.entry.js +1 -1
  277. package/dist/esm-es5/calcite-card.entry.js +1 -1
  278. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  279. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  280. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  281. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  282. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  283. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  284. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  285. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  286. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  287. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  288. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  289. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  290. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  291. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  292. package/dist/esm-es5/calcite-input.entry.js +1 -1
  293. package/dist/esm-es5/calcite-label.entry.js +1 -1
  294. package/dist/esm-es5/calcite-link.entry.js +1 -1
  295. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  296. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  297. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  298. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  299. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  300. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  301. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  302. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  303. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  304. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  305. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  306. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  307. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  308. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  309. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  310. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  311. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  312. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  313. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  314. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  315. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  316. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  317. package/dist/esm-es5/dom-dc012a45.js +5 -0
  318. package/dist/esm-es5/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  319. package/dist/esm-es5/{label-5559055d.js → label-0d804a87.js} +1 -1
  320. package/dist/esm-es5/{popper-f5caedc4.js → popper-ed1eefa6.js} +1 -1
  321. package/dist/esm-es5/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
  322. package/dist/extras/docs-json.json +2 -1
  323. package/dist/types/components/calcite-alert/calcite-alert.d.ts +2 -2
  324. package/dist/types/components/calcite-panel/resources.d.ts +1 -0
  325. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -2
  326. package/dist/types/utils/dom.d.ts +4 -0
  327. package/hydrate/index.js +79 -64
  328. package/package.json +4 -3
  329. package/readme.md +2 -2
  330. package/dist/calcite/assets/calcite-icon/checkSquareF16.json +0 -1
  331. package/dist/calcite/assets/calcite-icon/checkSquareF24.json +0 -1
  332. package/dist/calcite/assets/calcite-icon/checkSquareF32.json +0 -1
  333. package/dist/calcite/assets/calcite-icon/lineSolid4.json +0 -1
  334. package/dist/calcite/assets/calcite-icon/squareF16.json +0 -1
  335. package/dist/calcite/assets/calcite-icon/squareF24.json +0 -1
  336. package/dist/calcite/assets/calcite-icon/squareF32.json +0 -1
  337. package/dist/calcite/assets/calcite-icon/xHexagon16.json +0 -1
  338. package/dist/calcite/assets/calcite-icon/xHexagon24.json +0 -1
  339. package/dist/calcite/assets/calcite-icon/xHexagon32.json +0 -1
  340. package/dist/calcite/assets/calcite-icon/xHexagonF16.json +0 -1
  341. package/dist/calcite/assets/calcite-icon/xHexagonF24.json +0 -1
  342. package/dist/calcite/assets/calcite-icon/xHexagonF32.json +0 -1
  343. package/dist/calcite/assets/calcite-icon/xOctagonF16.json +0 -1
  344. package/dist/calcite/assets/calcite-icon/xOctagonF24.json +0 -1
  345. package/dist/calcite/assets/calcite-icon/xOctagonF32.json +0 -1
  346. package/dist/calcite/p-0d807182.system.entry.js +0 -5
  347. package/dist/calcite/p-0fa1ba75.entry.js +0 -5
  348. package/dist/calcite/p-1434e37e.entry.js +0 -5
  349. package/dist/calcite/p-1942876c.js +0 -5
  350. package/dist/calcite/p-1aa89347.system.entry.js +0 -5
  351. package/dist/calcite/p-21290fba.system.entry.js +0 -5
  352. package/dist/calcite/p-33226317.entry.js +0 -5
  353. package/dist/calcite/p-34e89de8.entry.js +0 -5
  354. package/dist/calcite/p-362cb320.entry.js +0 -5
  355. package/dist/calcite/p-3b29e94a.entry.js +0 -5
  356. package/dist/calcite/p-3dae9da3.js +0 -5
  357. package/dist/calcite/p-3e6fcede.entry.js +0 -5
  358. package/dist/calcite/p-52cc870b.js +0 -5
  359. package/dist/calcite/p-6cc23c39.system.js +0 -5
  360. package/dist/calcite/p-6d44b7d9.system.js +0 -5
  361. package/dist/calcite/p-81ab443c.entry.js +0 -5
  362. package/dist/calcite/p-8445bc9c.system.entry.js +0 -5
  363. package/dist/calcite/p-bab99544.entry.js +0 -5
  364. package/dist/calcite/p-bdb92546.entry.js +0 -5
  365. package/dist/calcite/p-ca3bb147.entry.js +0 -5
  366. package/dist/calcite/p-cbbfa133.system.entry.js +0 -5
  367. package/dist/calcite/p-d6f20229.js +0 -5
  368. package/dist/calcite/p-ed15771f.system.entry.js +0 -5
  369. package/dist/calcite/p-ed453bfb.entry.js +0 -5
  370. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +0 -1
  371. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +0 -1
  372. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +0 -1
  373. package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +0 -1
  374. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +0 -1
  375. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +0 -1
  376. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +0 -1
  377. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +0 -1
  378. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +0 -1
  379. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +0 -1
  380. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +0 -1
  381. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +0 -1
  382. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +0 -1
  383. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +0 -1
  384. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +0 -1
  385. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +0 -1
  386. package/dist/collection/components/calcite-label/interfaces.js +0 -1
  387. package/dist/collection/demos/_assets/demo-spacer.js +0 -17
  388. package/dist/collection/demos/_assets/demo-template.js +0 -13
  389. package/dist/collection/demos/_assets/head.js +0 -45
  390. package/dist/esm-es5/CalciteExpandToggle-677f2f8b.js +0 -5
  391. package/dist/esm-es5/dom-f24e866c.js +0 -5
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { Component, Element, Event, Prop, Watch, h, State, forceUpdate } from "@stencil/core";
6
6
  import { CSS, SLOTS, TEXT } from "./resources";
7
- import { getSlotted } from "../../utils/dom";
7
+ import { getSlotted, getElementStyleDir } from "../../utils/dom";
8
8
  import { clamp } from "../../utils/math";
9
9
  /**
10
10
  * @slot - A slot for adding content to the shell panel.
@@ -54,7 +54,7 @@ export class CalciteShellPanel {
54
54
  };
55
55
  this.getKeyAdjustedWidth = (event) => {
56
56
  const { key } = event;
57
- const { step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
57
+ const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
58
58
  const multipliedStep = step * stepMultiplier;
59
59
  const MOVEMENT_KEYS = [
60
60
  "ArrowUp",
@@ -69,15 +69,20 @@ export class CalciteShellPanel {
69
69
  if (MOVEMENT_KEYS.indexOf(key) > -1) {
70
70
  event.preventDefault();
71
71
  }
72
- const increaseKeys = key === "ArrowUp" || (position === "end" ? key === "ArrowLeft" : key === "ArrowRight");
72
+ const dir = getElementStyleDir(el);
73
+ const directionKeys = ["ArrowLeft", "ArrowRight"];
74
+ const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
75
+ const increaseKeys = key === "ArrowUp" ||
76
+ (position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
73
77
  if (increaseKeys) {
74
78
  const stepValue = event.shiftKey ? multipliedStep : step;
75
- return initialContentWidth + stepValue;
79
+ return initialContentWidth + directionFactor * stepValue;
76
80
  }
77
- const decreaseKeys = key === "ArrowDown" || (position === "end" ? key === "ArrowRight" : key === "ArrowLeft");
81
+ const decreaseKeys = key === "ArrowDown" ||
82
+ (position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
78
83
  if (decreaseKeys) {
79
84
  const stepValue = event.shiftKey ? multipliedStep : step;
80
- return initialContentWidth - stepValue;
85
+ return initialContentWidth - directionFactor * stepValue;
81
86
  }
82
87
  if (typeof contentWidthMin === "number" && key === "Home") {
83
88
  return contentWidthMin;
@@ -102,9 +107,13 @@ export class CalciteShellPanel {
102
107
  };
103
108
  this.separatorPointerMove = (event) => {
104
109
  event.preventDefault();
105
- const { initialContentWidth, position, initialClientX } = this;
110
+ const { el, initialContentWidth, position, initialClientX } = this;
106
111
  const offset = event.clientX - initialClientX;
107
- this.setContentWidth(position === "end" ? initialContentWidth - offset : initialContentWidth + offset);
112
+ const dir = getElementStyleDir(el);
113
+ const adjustmentDirection = dir === "rtl" ? -1 : 1;
114
+ const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
115
+ const width = initialContentWidth + adjustedOffset;
116
+ this.setContentWidth(width);
108
117
  };
109
118
  this.separatorPointerUp = (event) => {
110
119
  event.preventDefault();
@@ -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, Listen, Prop, State, Watch } from "@stencil/core";
6
- import { getElementDir, filterDirectChildren } from "../../utils/dom";
6
+ import { getElementStyleDir, filterDirectChildren } from "../../utils/dom";
7
7
  /**
8
8
  * @slot - A slot for adding `calcite-tab-title`s.
9
9
  */
@@ -86,7 +86,7 @@ export class CalciteTabNav {
86
86
  }
87
87
  }
88
88
  render() {
89
- const dir = getElementDir(this.el);
89
+ const dir = getElementStyleDir(this.el);
90
90
  const width = `${this.indicatorWidth}px`;
91
91
  const offset = `${this.indicatorOffset}px`;
92
92
  const indicatorStyle = dir !== "rtl" ? { width, left: offset } : { width, right: offset };
@@ -147,7 +147,7 @@ export class CalciteTabNav {
147
147
  }
148
148
  updateOffsetPosition() {
149
149
  var _a, _b, _c, _d, _e;
150
- const dir = getElementDir(this.el);
150
+ const dir = getElementStyleDir(this.el);
151
151
  const navWidth = (_a = this.activeIndicatorContainerEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;
152
152
  const tabLeft = (_b = this.selectedTabEl) === null || _b === void 0 ? void 0 : _b.offsetLeft;
153
153
  const tabWidth = (_c = this.selectedTabEl) === null || _c === void 0 ? void 0 : _c.offsetWidth;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { Component, Prop, Event, Listen, Element, Method, h, Host, State, Build, Watch } from "@stencil/core";
6
6
  import { guid } from "../../utils/guid";
7
- import { getElementDir, getElementProp } from "../../utils/dom";
7
+ import { getElementDir, getElementProp, getElementStyleDir } from "../../utils/dom";
8
8
  import { getKey } from "../../utils/key";
9
9
  import { CSS_UTILITY } from "../../utils/resources";
10
10
  import { createObserver } from "../../utils/observers";
@@ -130,7 +130,7 @@ export class CalciteTabTitle {
130
130
  e.preventDefault();
131
131
  break;
132
132
  case "ArrowRight":
133
- if (getElementDir(this.el) === "ltr") {
133
+ if (getElementStyleDir(this.el) === "ltr") {
134
134
  this.calciteTabsFocusNext.emit();
135
135
  }
136
136
  else {
@@ -138,7 +138,7 @@ export class CalciteTabTitle {
138
138
  }
139
139
  break;
140
140
  case "ArrowLeft":
141
- if (getElementDir(this.el) === "ltr") {
141
+ if (getElementStyleDir(this.el) === "ltr") {
142
142
  this.calciteTabsFocusPrevious.emit();
143
143
  }
144
144
  else {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { Component, Element, Event, Method, Prop, State, Watch, h } from "@stencil/core";
6
6
  import { CSS, ICONS, TEXT, HEADING_LEVEL } from "./resources";
7
- import { getElementDir } from "../../utils/dom";
7
+ import { getElementStyleDir } from "../../utils/dom";
8
8
  import { CalciteHeading } from "../functional/CalciteHeading";
9
9
  import { createObserver } from "../../utils/observers";
10
10
  /**
@@ -136,7 +136,7 @@ export class CalciteTipManager {
136
136
  //
137
137
  // --------------------------------------------------------------------------
138
138
  renderPagination() {
139
- const dir = getElementDir(this.el);
139
+ const dir = getElementStyleDir(this.el);
140
140
  const { selectedIndex, tips, total, intlNext, intlPrevious, intlPaginationLabel } = this;
141
141
  const nextLabel = intlNext || TEXT.next;
142
142
  const previousLabel = intlPrevious || TEXT.previous;
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { h } from "@stencil/core";
6
- import { getElementDir } from "../../utils/dom";
6
+ import { getElementDir, getElementStyleDir } from "../../utils/dom";
7
7
  import { queryActions } from "../calcite-action-bar/utils";
8
8
  import { SLOTS as ACTION_GROUP_SLOTS } from "../calcite-action-group/resources";
9
9
  const ICONS = {
@@ -30,7 +30,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
30
30
  return referenceElement;
31
31
  };
32
32
  export const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
33
- const rtl = getElementDir(el) === "rtl";
33
+ const rtl = getElementStyleDir(el) === "rtl";
34
34
  const expandText = expanded ? intlCollapse : intlExpand;
35
35
  const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];
36
36
  if (rtl) {
@@ -39,6 +39,6 @@ export const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle
39
39
  const end = getCalcitePosition(position, el) === "end";
40
40
  const expandIcon = end ? icons[1] : icons[0];
41
41
  const collapseIcon = end ? icons[0] : icons[1];
42
- const actionNode = (h("calcite-action", { dir: rtl ? "rtl" : "ltr", icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
42
+ const actionNode = (h("calcite-action", { dir: getElementDir(el) === "rtl" ? "rtl" : "ltr", icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
43
43
  return tooltip ? h("calcite-tooltip-manager", null, actionNode) : actionNode;
44
44
  };
@@ -23,6 +23,12 @@ export function nodeListToArray(nodeList) {
23
23
  export function getThemeName(el) {
24
24
  return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
25
25
  }
26
+ export function getElementStyleDir(el) {
27
+ return window.getComputedStyle(el).direction || "ltr";
28
+ }
29
+ /**
30
+ * @deprecated use getElementStyleDir instead.
31
+ */
26
32
  export function getElementDir(el) {
27
33
  const prop = "dir";
28
34
  const selector = `[${prop}]`;
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { forceUpdate, h } from '@stencil/core/internal/client';
6
- import { a as getElementDir } from './dom.js';
6
+ import { c as getElementStyleDir, a as getElementDir } from './dom.js';
7
7
  import { S as SLOTS } from './calcite-action-menu2.js';
8
8
  import { S as SLOTS$1 } from './calcite-action-group2.js';
9
9
 
@@ -71,7 +71,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
71
71
  return referenceElement;
72
72
  };
73
73
  const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
74
- const rtl = getElementDir(el) === "rtl";
74
+ const rtl = getElementStyleDir(el) === "rtl";
75
75
  const expandText = expanded ? intlCollapse : intlExpand;
76
76
  const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];
77
77
  if (rtl) {
@@ -80,7 +80,7 @@ const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, p
80
80
  const end = getCalcitePosition(position, el) === "end";
81
81
  const expandIcon = end ? icons[1] : icons[0];
82
82
  const collapseIcon = end ? icons[0] : icons[1];
83
- const actionNode = (h("calcite-action", { dir: rtl ? "rtl" : "ltr", icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
83
+ const actionNode = (h("calcite-action", { dir: getElementDir(el) === "rtl" ? "rtl" : "ltr", icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
84
84
  return tooltip ? h("calcite-tooltip-manager", null, actionNode) : actionNode;
85
85
  };
86
86
 
@@ -63,13 +63,11 @@ let CalciteAlert$1 = class extends HTMLElement {
63
63
  this.queueLength = 0;
64
64
  /** is the alert queued */
65
65
  this.queued = false;
66
- this.autoDismissTimeout = null;
67
- this.trackTimer = new Date();
66
+ this.autoDismissTimeoutId = null;
67
+ this.trackTimer = Date.now();
68
68
  /** close and emit the closed alert and the queue */
69
69
  this.closeAlert = () => {
70
- if (this.autoDismissTimeout) {
71
- this.autoDismissTimeout = null;
72
- }
70
+ this.autoDismissTimeoutId = null;
73
71
  this.queued = false;
74
72
  this.active = false;
75
73
  this.queue = this.queue.filter((e) => e !== this.el);
@@ -93,10 +91,10 @@ let CalciteAlert$1 = class extends HTMLElement {
93
91
  updateRequestedIcon() {
94
92
  this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
95
93
  }
96
- updateDuration(newDuration, prevDuration) {
97
- if (this.autoDismiss && prevDuration !== newDuration && this.autoDismissTimeout) {
98
- window.clearTimeout(this.autoDismissTimeout);
99
- this.autoDismissTimeout = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (new Date().valueOf() - this.trackTimer.valueOf()));
94
+ updateDuration() {
95
+ if (this.autoDismiss && this.autoDismissTimeoutId) {
96
+ window.clearTimeout(this.autoDismissTimeoutId);
97
+ this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
100
98
  }
101
99
  }
102
100
  //--------------------------------------------------------------------------
@@ -116,9 +114,7 @@ let CalciteAlert$1 = class extends HTMLElement {
116
114
  this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
117
115
  }
118
116
  disconnectedCallback() {
119
- if (this.autoDismissTimeout) {
120
- window.clearTimeout(this.autoDismissTimeout);
121
- }
117
+ window.clearTimeout(this.autoDismissTimeoutId);
122
118
  }
123
119
  render() {
124
120
  const dir = getElementDir(this.el);
@@ -126,14 +122,13 @@ let CalciteAlert$1 = class extends HTMLElement {
126
122
  const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;
127
123
  const queueCount = (h("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
128
124
  const { active, autoDismiss, label, queued, requestedIcon } = this;
129
- const progressBar = h("div", { class: "alert-dismiss-progress" });
130
125
  const role = autoDismiss ? "alert" : "alertdialog";
131
126
  const hidden = !active;
132
127
  return (h(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, h("div", { class: {
133
128
  container: true,
134
129
  queued,
135
130
  [CSS_UTILITY.rtl]: dir === "rtl"
136
- } }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? progressBar : null)));
131
+ } }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
137
132
  }
138
133
  // when an alert is opened or closed, update queue and determine active alert
139
134
  alertSync(event) {
@@ -179,9 +174,9 @@ let CalciteAlert$1 = class extends HTMLElement {
179
174
  var _a;
180
175
  if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
181
176
  this.openAlert();
182
- if (this.autoDismiss && !this.autoDismissTimeout) {
183
- this.trackTimer = new Date();
184
- this.autoDismissTimeout = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
177
+ if (this.autoDismiss && !this.autoDismissTimeoutId) {
178
+ this.trackTimer = Date.now();
179
+ this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
185
180
  }
186
181
  }
187
182
  else {
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { a as getElementDir, c as getThemeName } from './dom.js';
6
+ import { a as getElementDir, d as getThemeName } from './dom.js';
7
7
  import { h as hexToRGB, i as isValidHex } from './utils.js';
8
8
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
9
9
 
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
6
+ import { c as getElementStyleDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { d as defineCustomElement$3 } from './calcite-icon2.js';
8
8
  import { d as defineCustomElement$2 } from './calcite-switch2.js';
9
9
 
@@ -84,7 +84,7 @@ let CalciteBlockSection$1 = class extends HTMLElement {
84
84
  }
85
85
  render() {
86
86
  const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
87
- const dir = getElementDir(el);
87
+ const dir = getElementStyleDir(el);
88
88
  const arrowIcon = open
89
89
  ? ICONS.menuOpen
90
90
  : dir === "rtl"
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement as HTMLElement$1, Build, h, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { d as closestElementCrossShadowBoundary, a as getElementDir, C as CSS_UTILITY } from './dom.js';
6
+ import { e as closestElementCrossShadowBoundary, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
8
8
  import { c as createObserver } from './observers.js';
9
9
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { c as getThemeName } from './dom.js';
6
+ import { d as getThemeName } from './dom.js';
7
7
 
8
8
  function createCommonjsModule(fn, basedir, module) {
9
9
  return module = {
@@ -5,7 +5,7 @@
5
5
  import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as isSymbol, S as Symbol, d as debounce } from './debounce.js';
7
7
  import { i as isArray, f as forIn } from './forIn.js';
8
- import { a as getElementDir } from './dom.js';
8
+ import { c as getElementStyleDir, a as getElementDir } from './dom.js';
9
9
  import { g as getKey } from './key.js';
10
10
  import { u as updatePopper, c as createPopper, C as CSS } from './popper.js';
11
11
  import { g as guid } from './guid.js';
@@ -235,7 +235,7 @@ let CalciteCombobox$1 = class extends HTMLElement {
235
235
  this.setFocus();
236
236
  };
237
237
  this.keydownHandler = (event) => {
238
- const key = getKey(event.key, getElementDir(this.el));
238
+ const key = getKey(event.key, getElementStyleDir(this.el));
239
239
  switch (key) {
240
240
  case "Tab":
241
241
  this.activeChipIndex = -1;
@@ -67,7 +67,7 @@ let CalciteDropdown = class extends HTMLElement {
67
67
  //
68
68
  //--------------------------------------------------------------------------
69
69
  this.items = [];
70
- this.activeTransitionProp = "opacity";
70
+ this.activeTransitionProp = "visibility";
71
71
  this.mutationObserver = createObserver("mutation", () => this.updateItems());
72
72
  //--------------------------------------------------------------------------
73
73
  //
@@ -105,6 +105,8 @@ let CalciteInput = class extends HTMLElement {
105
105
  * Note that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`
106
106
  */
107
107
  this.type = "text";
108
+ /** input value */
109
+ this.value = "";
108
110
  /** keep track of the rendered child type */
109
111
  this.childElType = "input";
110
112
  //--------------------------------------------------------------------------
@@ -126,7 +128,7 @@ let CalciteInput = class extends HTMLElement {
126
128
  }
127
129
  };
128
130
  this.clearInputValue = (nativeEvent) => {
129
- this.setValue(null, nativeEvent, true);
131
+ this.setValue("", nativeEvent, true);
130
132
  };
131
133
  this.inputBlurHandler = () => {
132
134
  if (this.type === "number") {
@@ -268,7 +270,7 @@ let CalciteInput = class extends HTMLElement {
268
270
  this.setLocalizedValue(this.value);
269
271
  }
270
272
  if (nativeEvent) {
271
- if (this.type === "number" && (value === null || value === void 0 ? void 0 : value.endsWith("."))) {
273
+ if (this.type === "number" && value.endsWith(".")) {
272
274
  return;
273
275
  }
274
276
  const calciteInputInputEvent = this.calciteInputInput.emit({
@@ -303,6 +305,10 @@ let CalciteInput = class extends HTMLElement {
303
305
  this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
304
306
  }
305
307
  valueWatcher(newValue) {
308
+ if (newValue == null) {
309
+ this.value = "";
310
+ return;
311
+ }
306
312
  if (this.type === "number" &&
307
313
  this.localizedValue !== localizeNumberString(newValue, this.locale)) {
308
314
  this.setLocalizedValue(newValue);
@@ -315,8 +321,7 @@ let CalciteInput = class extends HTMLElement {
315
321
  this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
316
322
  }
317
323
  get isClearable() {
318
- var _a;
319
- return !this.isTextarea && (this.clearable || this.type === "search") && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
324
+ return !this.isTextarea && (this.clearable || this.type === "search") && this.value.length > 0;
320
325
  }
321
326
  get isTextarea() {
322
327
  return this.childElType === "textarea";
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { f as focusElement, a as getElementDir, C as CSS_UTILITY, b as getSlotted, h as ensureId, i as isCalciteFocusable } from './dom.js';
6
+ import { f as focusElement, a as getElementDir, C as CSS_UTILITY, b as getSlotted, i as ensureId, j as isCalciteFocusable } from './dom.js';
7
7
  import { g as getKey } from './key.js';
8
8
  import { c as createObserver } from './observers.js';
9
9
  import { d as defineCustomElement$4 } from './calcite-icon2.js';
@@ -263,7 +263,7 @@ let CalciteModal$1 = class extends HTMLElement {
263
263
  return this.hasFooter ? (h("div", { class: CSS.footer }, h("span", { class: CSS.back }, h("slot", { name: SLOTS.back })), h("span", { class: CSS.secondary }, h("slot", { name: SLOTS.secondary })), h("span", { class: CSS.primary }, h("slot", { name: SLOTS.primary })))) : null;
264
264
  }
265
265
  renderCloseButton() {
266
- return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h("calcite-icon", { icon: ICONS.close, scale: this.scale === "s" ? "s" : "l" }))) : null;
266
+ return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h("calcite-icon", { icon: ICONS.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
267
267
  }
268
268
  renderStyle() {
269
269
  const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement, createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { a as getElementDir, b as getSlotted, C as CSS_UTILITY } from './dom.js';
6
+ import { c as getElementStyleDir, b as getSlotted, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { C as CalciteHeading } from './CalciteHeading.js';
8
8
  import { S as SLOTS$1, d as defineCustomElement$7 } from './calcite-action-menu2.js';
9
9
  import { d as defineCustomElement$8 } from './calcite-action2.js';
@@ -25,6 +25,7 @@ const CSS = {
25
25
  headerActionsStart: "header-actions--start",
26
26
  contentWrapper: "content-wrapper",
27
27
  contentContainer: "content-container",
28
+ contentHeight: "content-height",
28
29
  fabContainer: "fab-container",
29
30
  footer: "footer",
30
31
  menuContainer: "menu-container",
@@ -55,7 +56,7 @@ const TEXT = {
55
56
  };
56
57
  const HEADING_LEVEL = 3;
57
58
 
58
- const calcitePanelCss = "@-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:300ms}.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative;z-index:1}.header{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}.header-content{overflow:hidden;margin-right:auto;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.header-content .heading,.header-content .summary{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}.header-content .heading{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.header-content .heading:only-child{margin-bottom:0}.header-content .summary{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}.back-button{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}.calcite--rtl .back-button{border-right-width:0;border-left-width:1px}.header-actions{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.header-actions--end{margin-left:auto}.menu-container:only-child{margin-left:auto}.menu-button{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{height:100%;overflow:auto}.content-container{-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:column;flex-direction:column}.footer{border-top:1px solid;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;position:-webkit-sticky;position:sticky;bottom:0;width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}.calcite--rtl .header-content{margin-left:auto;margin-right:unset}.calcite--rtl .header-actions--end{margin-right:auto;margin-left:unset}.calcite--rtl .menu-container:only-child{margin-right:auto;margin-left:unset}.fab-container{display:block;position:-webkit-sticky;position:sticky;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0.5rem;bottom:0;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;z-index:1}";
59
+ const calcitePanelCss = "@-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:300ms}.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative;z-index:1}.header{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}.header-content{overflow:hidden;margin-right:auto;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.header-content .heading,.header-content .summary{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}.header-content .heading{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.header-content .heading:only-child{margin-bottom:0}.header-content .summary{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}.back-button{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}.calcite--rtl .back-button{border-right-width:0;border-left-width:1px}.header-actions{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.header-actions--end{margin-left:auto}.menu-container:only-child{margin-left:auto}.menu-button{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{overflow:auto}.content-height{height:100%}.content-container{-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:column;flex-direction:column}.footer{border-top:1px solid;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;position:-webkit-sticky;position:sticky;bottom:0;width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}.calcite--rtl .header-content{margin-left:auto;margin-right:unset}.calcite--rtl .header-actions--end{margin-right:auto;margin-left:unset}.calcite--rtl .menu-container:only-child{margin-right:auto;margin-left:unset}.fab-container{display:block;position:-webkit-sticky;position:sticky;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0.5rem;bottom:0;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;z-index:1}";
59
60
 
60
61
  let CalcitePanel$1 = class extends HTMLElement {
61
62
  constructor() {
@@ -151,7 +152,7 @@ let CalcitePanel$1 = class extends HTMLElement {
151
152
  // --------------------------------------------------------------------------
152
153
  renderBackButton() {
153
154
  const { el } = this;
154
- const rtl = getElementDir(el) === "rtl";
155
+ const rtl = getElementStyleDir(el) === "rtl";
155
156
  const { showBackButton, intlBack, backButtonClick } = this;
156
157
  const label = intlBack || TEXT.back;
157
158
  const icon = rtl ? ICONS.backRight : ICONS.backLeft;
@@ -217,12 +218,12 @@ let CalcitePanel$1 = class extends HTMLElement {
217
218
  return hasFooterActions ? (h("footer", { class: CSS.footer }, h("slot", { name: SLOTS.footerActions }))) : null;
218
219
  }
219
220
  renderContent() {
220
- return (h("div", { class: CSS.contentWrapper, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("section", { class: CSS.contentContainer }, h("slot", null)), this.renderFab()));
221
- }
222
- renderFab() {
223
221
  const { el } = this;
224
222
  const hasFab = getSlotted(el, SLOTS.fab);
225
- return hasFab ? (h("div", { class: CSS.fabContainer }, h("slot", { name: SLOTS.fab }))) : null;
223
+ return hasFab ? (h("div", { class: { [CSS.contentWrapper]: true, [CSS.contentHeight]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("section", { class: CSS.contentContainer }, h("slot", null)), this.renderFab())) : (h("section", { class: { [CSS.contentWrapper]: true, [CSS.contentContainer]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("slot", null)));
224
+ }
225
+ renderFab() {
226
+ return (h("div", { class: CSS.fabContainer }, h("slot", { name: SLOTS.fab })));
226
227
  }
227
228
  render() {
228
229
  const { dismissed, disabled, dismissible, el, loading, panelKeyUpHandler } = this;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { P as POPOVER_REFERENCE } from './resources.js';
7
- import { q as queryElementRoots, j as queryElementsRoots } from './dom.js';
7
+ import { q as queryElementRoots, k as queryElementsRoots } from './dom.js';
8
8
 
9
9
  const calcitePopoverManagerCss = "@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}";
10
10
 
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as guid } from './guid.js';
7
- import { a as getElementDir, f as focusElement } from './dom.js';
7
+ import { c as getElementStyleDir, f as focusElement } from './dom.js';
8
8
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
9
9
  import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
10
10
  import { g as getKey } from './key.js';
@@ -93,7 +93,7 @@ let CalciteRadioButton$1 = class extends HTMLElement {
93
93
  return;
94
94
  }
95
95
  let adjustedKey = key;
96
- if (getElementDir(el) === "rtl") {
96
+ if (getElementStyleDir(el) === "rtl") {
97
97
  if (key === "ArrowRight") {
98
98
  adjustedKey = "ArrowLeft";
99
99
  }