@esri/calcite-components 1.0.0-beta.70 → 1.0.0-beta.71

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 (481) hide show
  1. package/dist/calcite/assets/calcite-icon/cloudy16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/cloudy24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/cloudy32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/displaySelectionLock16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/displaySelectionLock24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/displaySelectionLock32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/fog16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/fog24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/fog32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/heavyRain16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/heavyRain24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/heavyRain32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/heavySnow16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/heavySnow24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/heavySnow32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/lightRain16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/lightRain24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/lightRain32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/lightSnow16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/lightSnow24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/lightSnow32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/partlyCloud16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/partlyCloud24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/partlyCloud32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/rain16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/rain24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/rain32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/rainSnow16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/rainSnow24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/rainSnow32.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/rainThunder16.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/rainThunder24.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/rainThunder32.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/ringsThreshold16.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/ringsThreshold24.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/ringsThreshold32.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/selectVisible16.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/selectVisible24.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/selectVisible32.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/snow16.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/snow24.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/snow32.json +1 -0
  49. package/dist/calcite/assets/calcite-icon/snowThunder16.json +1 -0
  50. package/dist/calcite/assets/calcite-icon/snowThunder24.json +1 -0
  51. package/dist/calcite/assets/calcite-icon/snowThunder32.json +1 -0
  52. package/dist/calcite/calcite.esm.js +1 -1
  53. package/dist/calcite/{p-2a714a22.entry.js → p-04a2538a.entry.js} +1 -1
  54. package/dist/calcite/{p-d6e30c54.entry.js → p-051cc8c6.entry.js} +1 -1
  55. package/dist/calcite/{p-765fb8ed.entry.js → p-058ee7b0.entry.js} +1 -1
  56. package/dist/calcite/{p-5efd81e1.entry.js → p-0c827dec.entry.js} +1 -1
  57. package/dist/calcite/{p-59a285d8.system.entry.js → p-0f33798d.system.entry.js} +1 -1
  58. package/dist/calcite/{p-e70cb594.system.entry.js → p-0f9f1f89.system.entry.js} +1 -1
  59. package/dist/calcite/{p-1a962bdd.js → p-1161e56f.js} +1 -1
  60. package/dist/calcite/{p-044d603d.system.entry.js → p-18fbf2af.system.entry.js} +1 -1
  61. package/dist/calcite/{p-9338b0bc.entry.js → p-198902ca.entry.js} +1 -1
  62. package/dist/calcite/{p-cc788d2e.entry.js → p-1ad123f9.entry.js} +1 -1
  63. package/dist/calcite/{p-e33fe285.system.entry.js → p-1eb04aad.system.entry.js} +1 -1
  64. package/dist/calcite/{p-deb36fde.system.entry.js → p-1f809e6c.system.entry.js} +1 -1
  65. package/dist/calcite/{p-1c8fe17f.system.entry.js → p-2033f545.system.entry.js} +1 -1
  66. package/dist/calcite/p-20f91a4e.system.entry.js +5 -0
  67. package/dist/calcite/{p-7ba971b5.system.entry.js → p-227bc238.system.entry.js} +1 -1
  68. package/dist/calcite/p-239b44dd.system.entry.js +5 -0
  69. package/dist/calcite/{p-f9c46578.entry.js → p-23bc2d32.entry.js} +1 -1
  70. package/dist/calcite/p-266ee9db.entry.js +5 -0
  71. package/dist/calcite/{p-4f1f83d2.entry.js → p-2c66fb61.entry.js} +1 -1
  72. package/dist/calcite/{p-63e60894.entry.js → p-343cd887.entry.js} +1 -1
  73. package/dist/calcite/{p-ecc00ef0.entry.js → p-3d69fba9.entry.js} +1 -1
  74. package/dist/calcite/p-3ec67fae.entry.js +5 -0
  75. package/dist/calcite/p-42091a1f.system.entry.js +5 -0
  76. package/dist/calcite/p-42c7e2f0.system.entry.js +5 -0
  77. package/dist/calcite/p-43020fb5.js +5 -0
  78. package/dist/calcite/p-44a07313.system.entry.js +5 -0
  79. package/dist/calcite/{p-c34c4414.system.js → p-47f55191.system.js} +1 -1
  80. package/dist/calcite/{p-e52495d3.system.entry.js → p-4a8b3cf3.system.entry.js} +1 -1
  81. package/dist/calcite/p-4cc182af.system.entry.js +5 -0
  82. package/dist/calcite/{p-cced5508.system.entry.js → p-4ee2f6cf.system.entry.js} +1 -1
  83. package/dist/calcite/{p-c87c04a9.entry.js → p-50273eed.entry.js} +1 -1
  84. package/dist/calcite/p-5035488d.entry.js +5 -0
  85. package/dist/calcite/p-52578054.js +5 -0
  86. package/dist/calcite/{p-3a592bf3.system.entry.js → p-538e542a.system.entry.js} +1 -1
  87. package/dist/calcite/{p-ef39847e.entry.js → p-55bfe4fc.entry.js} +1 -1
  88. package/dist/calcite/{p-dd464e44.system.entry.js → p-57e9b7cb.system.entry.js} +1 -1
  89. package/dist/calcite/{p-e6d05ad6.system.entry.js → p-6c5b849f.system.entry.js} +1 -1
  90. package/dist/calcite/{p-9577dfd9.entry.js → p-6ca051ef.entry.js} +1 -1
  91. package/dist/calcite/{p-c61ebee9.entry.js → p-702140ce.entry.js} +1 -1
  92. package/dist/calcite/{p-523bc291.system.js → p-71cdeee3.system.js} +1 -1
  93. package/dist/calcite/p-71e299a6.system.js +5 -0
  94. package/dist/calcite/{p-243d95ab.system.entry.js → p-730b8963.system.entry.js} +2 -2
  95. package/dist/calcite/{p-4d11efdb.system.entry.js → p-7325e7fc.system.entry.js} +1 -1
  96. package/dist/calcite/{p-a8dc2982.system.entry.js → p-784e4e32.system.entry.js} +1 -1
  97. package/dist/calcite/{p-2aa3007a.entry.js → p-80a527ef.entry.js} +1 -1
  98. package/dist/calcite/{p-cf03b144.system.entry.js → p-832affcb.system.entry.js} +1 -1
  99. package/dist/calcite/p-837f9bb4.system.entry.js +5 -0
  100. package/dist/calcite/{p-840f2937.system.entry.js → p-83fca16e.system.entry.js} +1 -1
  101. package/dist/calcite/{p-e616f9b5.entry.js → p-84d6696b.entry.js} +1 -1
  102. package/dist/calcite/{p-38bd222a.entry.js → p-87f1831b.entry.js} +1 -1
  103. package/dist/calcite/{p-4acfb654.entry.js → p-88b4f504.entry.js} +1 -1
  104. package/dist/calcite/{p-f1c5e7cf.entry.js → p-89987575.entry.js} +1 -1
  105. package/dist/calcite/{p-c4cb4fab.system.entry.js → p-8b2d4eac.system.entry.js} +1 -1
  106. package/dist/calcite/p-8da7ad4b.entry.js +5 -0
  107. package/dist/calcite/p-8e252799.system.js +1 -1
  108. package/dist/calcite/{p-1dd440e6.system.entry.js → p-9470d123.system.entry.js} +1 -1
  109. package/dist/calcite/{p-4e16515a.system.entry.js → p-99de28b4.system.entry.js} +1 -1
  110. package/dist/calcite/{p-004460a0.system.entry.js → p-99e52ea7.system.entry.js} +1 -1
  111. package/dist/calcite/{p-29771742.entry.js → p-9be50494.entry.js} +1 -1
  112. package/dist/calcite/{p-15f3a0d7.system.entry.js → p-a821e9b3.system.entry.js} +1 -1
  113. package/dist/calcite/{p-b94bf8ac.system.entry.js → p-a98e5444.system.entry.js} +2 -2
  114. package/dist/calcite/p-ab9c6a18.entry.js +5 -0
  115. package/dist/calcite/{p-6484ffb7.system.entry.js → p-abdc7a4b.system.entry.js} +1 -1
  116. package/dist/calcite/{p-74f390e1.system.entry.js → p-ac38b743.system.entry.js} +2 -2
  117. package/dist/calcite/{p-dbe899c6.system.entry.js → p-b0b6baf4.system.entry.js} +1 -1
  118. package/dist/calcite/{p-6296644b.entry.js → p-b16b831d.entry.js} +1 -1
  119. package/dist/calcite/p-b174f9ac.entry.js +5 -0
  120. package/dist/calcite/{p-16f2d814.system.entry.js → p-b37b7b9e.system.entry.js} +1 -1
  121. package/dist/calcite/{p-502ea583.entry.js → p-b3e418f0.entry.js} +1 -1
  122. package/dist/calcite/{p-defcee80.system.entry.js → p-b5d21a5d.system.entry.js} +1 -1
  123. package/dist/calcite/p-b5f412fb.entry.js +5 -0
  124. package/dist/calcite/p-b6b6ec04.js +5 -0
  125. package/dist/calcite/{p-127e3513.system.entry.js → p-b7518275.system.entry.js} +1 -1
  126. package/dist/calcite/{p-85032edc.system.entry.js → p-b75ffebb.system.entry.js} +1 -1
  127. package/dist/calcite/{p-8603b2e1.entry.js → p-bef1f0d9.entry.js} +1 -1
  128. package/dist/calcite/{p-c0e35328.entry.js → p-c0690971.entry.js} +1 -1
  129. package/dist/calcite/{p-05da7439.entry.js → p-c12e88cd.entry.js} +1 -1
  130. package/dist/calcite/p-c1794615.entry.js +5 -0
  131. package/dist/calcite/{p-cbf6bb04.system.js → p-c937f25f.system.js} +1 -1
  132. package/dist/calcite/{p-8baa9ba4.entry.js → p-c9551366.entry.js} +1 -1
  133. package/dist/calcite/{p-efb2169a.entry.js → p-ca5c0679.entry.js} +1 -1
  134. package/dist/calcite/{p-e5e3b591.entry.js → p-cd1cdf3c.entry.js} +1 -1
  135. package/dist/calcite/p-d07ff1ee.system.js +5 -0
  136. package/dist/calcite/{p-16bb48f6.system.entry.js → p-d102e280.system.entry.js} +1 -1
  137. package/dist/calcite/p-d830efad.entry.js +5 -0
  138. package/dist/calcite/p-dacd3cf8.entry.js +5 -0
  139. package/dist/calcite/{p-9be6633a.entry.js → p-dcc6b40f.entry.js} +1 -1
  140. package/dist/calcite/p-dccb5ffd.entry.js +5 -0
  141. package/dist/calcite/{p-a5269f14.system.entry.js → p-e2d18d39.system.entry.js} +1 -1
  142. package/dist/calcite/p-e5305b02.js +5 -0
  143. package/dist/calcite/{p-10708f87.system.entry.js → p-e6a47d34.system.entry.js} +1 -1
  144. package/dist/calcite/p-e78e743b.entry.js +5 -0
  145. package/dist/calcite/{p-fc643963.entry.js → p-ea3fee96.entry.js} +1 -1
  146. package/dist/calcite/{p-109049e6.system.entry.js → p-eb0f1e0f.system.entry.js} +1 -1
  147. package/dist/calcite/{p-5eee672a.system.entry.js → p-ed3f000d.system.entry.js} +1 -1
  148. package/dist/calcite/{p-592da79d.system.entry.js → p-ee40deba.system.entry.js} +1 -1
  149. package/dist/calcite/p-ee45cff5.system.entry.js +5 -0
  150. package/dist/calcite/{p-aec398f3.system.entry.js → p-eeb8dfe5.system.entry.js} +1 -1
  151. package/dist/calcite/{p-63da2e34.system.entry.js → p-f05b5dc9.system.entry.js} +1 -1
  152. package/dist/calcite/{p-a61d85db.system.entry.js → p-f1832595.system.entry.js} +1 -1
  153. package/dist/calcite/p-f2620bc3.js +5 -0
  154. package/dist/calcite/{p-f278dd53.entry.js → p-f333e31b.entry.js} +1 -1
  155. package/dist/calcite/{p-4778c5cf.system.entry.js → p-f6323ffa.system.entry.js} +1 -1
  156. package/dist/calcite/p-f87ba8eb.system.js +5 -0
  157. package/dist/calcite/{p-578509a8.entry.js → p-f97e1a2d.entry.js} +1 -1
  158. package/dist/calcite/p-fb817417.entry.js +5 -0
  159. package/dist/calcite/{p-ace12b8d.entry.js → p-fb8b2c96.entry.js} +1 -1
  160. package/dist/calcite/{p-2451da5b.entry.js → p-fba77b86.entry.js} +1 -1
  161. package/dist/calcite/{p-289bc56f.entry.js → p-fc32b022.entry.js} +1 -1
  162. package/dist/calcite/p-fccc1605.entry.js +5 -0
  163. package/dist/calcite/{p-5f2a9710.system.entry.js → p-fd1ddcd2.system.entry.js} +1 -1
  164. package/dist/cjs/{CalciteExpandToggle-5f60c98b.js → CalciteExpandToggle-ca629f39.js} +3 -3
  165. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  166. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  167. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  168. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  169. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  170. package/dist/cjs/calcite-alert.cjs.entry.js +19 -7
  171. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  172. package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
  173. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  174. package/dist/cjs/calcite-card.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  176. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  177. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +20 -12
  178. package/dist/cjs/calcite-combobox_3.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +1 -1
  180. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +3 -3
  181. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  182. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  183. package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
  184. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
  186. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
  187. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  188. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  189. package/dist/cjs/calcite-input.cjs.entry.js +23 -17
  190. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  191. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  192. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  193. package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
  194. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  195. package/dist/cjs/calcite-option_3.cjs.entry.js +5 -4
  196. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  197. package/dist/cjs/calcite-panel.cjs.entry.js +8 -7
  198. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  199. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  200. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +18 -20
  201. package/dist/cjs/calcite-radio_2.cjs.entry.js +4 -4
  202. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-shell_3.cjs.entry.js +166 -6
  204. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -2
  205. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  206. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-tab_4.cjs.entry.js +5 -5
  208. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  209. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  210. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  212. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  213. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  214. package/dist/cjs/calcite.cjs.js +1 -1
  215. package/dist/cjs/{dom-19822169.js → dom-41ce6029.js} +7 -0
  216. package/dist/cjs/{form-a5b44a1f.js → form-7f276aa5.js} +1 -1
  217. package/dist/cjs/{label-8e3552b2.js → label-98a31f7d.js} +1 -1
  218. package/dist/cjs/loader.cjs.js +1 -1
  219. package/dist/cjs/{popper-87bf13e6.js → popper-4c24a334.js} +91 -65
  220. package/dist/cjs/{resources-cd25dbae.js → resources-1177e39b.js} +1 -1
  221. package/dist/collection/components/calcite-alert/calcite-alert.js +19 -5
  222. package/dist/collection/components/calcite-block-section/calcite-block-section.js +2 -2
  223. package/dist/collection/components/calcite-combobox/calcite-combobox.js +2 -2
  224. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +1 -1
  225. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy16.json +1 -0
  226. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy24.json +1 -0
  227. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy32.json +1 -0
  228. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock16.json +1 -0
  229. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock24.json +1 -0
  230. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock32.json +1 -0
  231. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  232. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  233. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  234. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  235. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  236. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  237. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog16.json +1 -0
  238. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog24.json +1 -0
  239. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog32.json +1 -0
  240. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain16.json +1 -0
  241. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain24.json +1 -0
  242. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain32.json +1 -0
  243. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow16.json +1 -0
  244. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow24.json +1 -0
  245. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow32.json +1 -0
  246. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain16.json +1 -0
  247. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain24.json +1 -0
  248. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain32.json +1 -0
  249. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow16.json +1 -0
  250. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow24.json +1 -0
  251. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow32.json +1 -0
  252. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud16.json +1 -0
  253. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud24.json +1 -0
  254. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud32.json +1 -0
  255. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain16.json +1 -0
  256. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain24.json +1 -0
  257. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain32.json +1 -0
  258. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow16.json +1 -0
  259. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow24.json +1 -0
  260. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow32.json +1 -0
  261. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder16.json +1 -0
  262. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder24.json +1 -0
  263. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder32.json +1 -0
  264. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold16.json +1 -0
  265. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold24.json +1 -0
  266. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold32.json +1 -0
  267. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible16.json +1 -0
  268. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible24.json +1 -0
  269. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible32.json +1 -0
  270. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow16.json +1 -0
  271. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow24.json +1 -0
  272. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow32.json +1 -0
  273. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder16.json +1 -0
  274. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder24.json +1 -0
  275. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder32.json +1 -0
  276. package/dist/collection/components/calcite-input/calcite-input.css +2 -0
  277. package/dist/collection/components/calcite-input/calcite-input.js +21 -14
  278. package/dist/collection/components/calcite-modal/calcite-modal.js +1 -1
  279. package/dist/collection/components/calcite-panel/calcite-panel.css +4 -1
  280. package/dist/collection/components/calcite-panel/calcite-panel.js +9 -8
  281. package/dist/collection/components/calcite-panel/resources.js +1 -0
  282. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +2 -3
  283. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +16 -18
  284. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +1 -1
  285. package/dist/collection/components/calcite-select/calcite-select.js +2 -1
  286. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +44 -0
  287. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +204 -6
  288. package/dist/collection/components/calcite-shell-panel/resources.js +5 -1
  289. package/dist/collection/components/calcite-split-button/calcite-split-button.js +26 -1
  290. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
  291. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +3 -3
  292. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  293. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  294. package/dist/collection/utils/dom.js +6 -0
  295. package/dist/components/CalciteExpandToggle.js +3 -3
  296. package/dist/components/calcite-alert.js +18 -6
  297. package/dist/components/calcite-avatar.js +1 -1
  298. package/dist/components/calcite-block-section.js +2 -2
  299. package/dist/components/calcite-button2.js +1 -1
  300. package/dist/components/calcite-color-picker-swatch2.js +20 -12
  301. package/dist/components/calcite-combobox.js +2 -2
  302. package/dist/components/calcite-dropdown2.js +1 -1
  303. package/dist/components/calcite-input2.js +20 -14
  304. package/dist/components/calcite-modal.js +2 -2
  305. package/dist/components/calcite-panel.js +8 -7
  306. package/dist/components/calcite-popover-manager.js +1 -1
  307. package/dist/components/calcite-radio-button.js +2 -2
  308. package/dist/components/calcite-radio-group.js +16 -18
  309. package/dist/components/calcite-select.js +2 -1
  310. package/dist/components/calcite-shell-panel.js +171 -8
  311. package/dist/components/calcite-slider.js +1 -1
  312. package/dist/components/calcite-split-button.js +4 -1
  313. package/dist/components/calcite-tab-nav2.js +3 -3
  314. package/dist/components/calcite-tab-title2.js +3 -3
  315. package/dist/components/calcite-tip-manager.js +2 -2
  316. package/dist/components/calcite-tree-item.js +1 -1
  317. package/dist/components/dom.js +7 -1
  318. package/dist/components/form.js +1 -1
  319. package/dist/components/label.js +1 -1
  320. package/dist/components/popper.js +90 -64
  321. package/dist/custom-elements/index.js +451 -232
  322. package/dist/esm/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-4b38a7d1.js} +3 -3
  323. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  324. package/dist/esm/calcite-action-bar.entry.js +2 -2
  325. package/dist/esm/calcite-action-group.entry.js +1 -1
  326. package/dist/esm/calcite-action-menu.entry.js +1 -1
  327. package/dist/esm/calcite-action-pad.entry.js +2 -2
  328. package/dist/esm/calcite-alert.entry.js +19 -7
  329. package/dist/esm/calcite-avatar.entry.js +1 -1
  330. package/dist/esm/calcite-block_2.entry.js +2 -2
  331. package/dist/esm/calcite-button.entry.js +2 -2
  332. package/dist/esm/calcite-card.entry.js +1 -1
  333. package/dist/esm/calcite-checkbox.entry.js +3 -3
  334. package/dist/esm/calcite-chip.entry.js +1 -1
  335. package/dist/esm/calcite-color-picker_3.entry.js +20 -12
  336. package/dist/esm/calcite-combobox_3.entry.js +5 -5
  337. package/dist/esm/calcite-date-picker_4.entry.js +1 -1
  338. package/dist/esm/calcite-dropdown_3.entry.js +3 -3
  339. package/dist/esm/calcite-fab.entry.js +1 -1
  340. package/dist/esm/calcite-filter.entry.js +1 -1
  341. package/dist/esm/calcite-graph_2.entry.js +3 -3
  342. package/dist/esm/calcite-icon.entry.js +1 -1
  343. package/dist/esm/calcite-inline-editable.entry.js +2 -2
  344. package/dist/esm/calcite-input-date-picker.entry.js +4 -4
  345. package/dist/esm/calcite-input-message.entry.js +1 -1
  346. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  347. package/dist/esm/calcite-input.entry.js +23 -17
  348. package/dist/esm/calcite-label.entry.js +1 -1
  349. package/dist/esm/calcite-link.entry.js +1 -1
  350. package/dist/esm/calcite-list_3.entry.js +1 -1
  351. package/dist/esm/calcite-modal.entry.js +2 -2
  352. package/dist/esm/calcite-notice.entry.js +1 -1
  353. package/dist/esm/calcite-option_3.entry.js +5 -4
  354. package/dist/esm/calcite-pagination.entry.js +1 -1
  355. package/dist/esm/calcite-panel.entry.js +8 -7
  356. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  357. package/dist/esm/calcite-popover_2.entry.js +2 -2
  358. package/dist/esm/calcite-radio-group_2.entry.js +18 -20
  359. package/dist/esm/calcite-radio_2.entry.js +4 -4
  360. package/dist/esm/calcite-rating.entry.js +3 -3
  361. package/dist/esm/calcite-shell_3.entry.js +167 -7
  362. package/dist/esm/calcite-split-button.entry.js +4 -2
  363. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  364. package/dist/esm/calcite-switch.entry.js +3 -3
  365. package/dist/esm/calcite-tab_4.entry.js +5 -5
  366. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  367. package/dist/esm/calcite-tile.entry.js +1 -1
  368. package/dist/esm/calcite-tip_3.entry.js +2 -2
  369. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  370. package/dist/esm/calcite-tree_2.entry.js +1 -1
  371. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  372. package/dist/esm/calcite.js +1 -1
  373. package/dist/esm/{dom-f24e866c.js → dom-dc012a45.js} +7 -1
  374. package/dist/esm/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  375. package/dist/esm/{label-5559055d.js → label-0d804a87.js} +1 -1
  376. package/dist/esm/loader.js +1 -1
  377. package/dist/esm/{popper-dc4b45cf.js → popper-ed1eefa6.js} +91 -65
  378. package/dist/esm/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
  379. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +5 -0
  380. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  381. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  382. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  383. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  384. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  385. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  386. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  387. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  388. package/dist/esm-es5/calcite-button.entry.js +1 -1
  389. package/dist/esm-es5/calcite-card.entry.js +1 -1
  390. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  391. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  392. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  393. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  394. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  395. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  396. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  397. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  398. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  399. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  400. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  401. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  402. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  403. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  404. package/dist/esm-es5/calcite-input.entry.js +1 -1
  405. package/dist/esm-es5/calcite-label.entry.js +1 -1
  406. package/dist/esm-es5/calcite-link.entry.js +1 -1
  407. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  408. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  409. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  410. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  411. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  412. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  413. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  414. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  415. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  416. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  417. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  418. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  419. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  420. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  421. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  422. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  423. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  424. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  425. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  426. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  427. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  428. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  429. package/dist/esm-es5/calcite.js +1 -1
  430. package/dist/esm-es5/dom-dc012a45.js +5 -0
  431. package/dist/esm-es5/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  432. package/dist/esm-es5/{label-5559055d.js → label-0d804a87.js} +1 -1
  433. package/dist/esm-es5/loader.js +1 -1
  434. package/dist/esm-es5/popper-ed1eefa6.js +5 -0
  435. package/dist/esm-es5/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
  436. package/dist/extras/docs-json.json +63 -1
  437. package/dist/types/components/calcite-alert/calcite-alert.d.ts +4 -1
  438. package/dist/types/components/calcite-panel/resources.d.ts +1 -0
  439. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -2
  440. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +31 -0
  441. package/dist/types/components/calcite-shell-panel/resources.d.ts +4 -0
  442. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +3 -0
  443. package/dist/types/components.d.ts +26 -0
  444. package/dist/types/utils/dom.d.ts +4 -0
  445. package/hydrate/index.js +455 -232
  446. package/package.json +17 -16
  447. package/readme.md +2 -2
  448. package/CHANGELOG.md +0 -1540
  449. package/dist/calcite/p-047e1000.system.entry.js +0 -5
  450. package/dist/calcite/p-08d707c4.entry.js +0 -5
  451. package/dist/calcite/p-1434e37e.entry.js +0 -5
  452. package/dist/calcite/p-1942876c.js +0 -5
  453. package/dist/calcite/p-1aa89347.system.entry.js +0 -5
  454. package/dist/calcite/p-33226317.entry.js +0 -5
  455. package/dist/calcite/p-3dae9da3.js +0 -5
  456. package/dist/calcite/p-3e6fcede.entry.js +0 -5
  457. package/dist/calcite/p-52cc870b.js +0 -5
  458. package/dist/calcite/p-54394dfe.system.entry.js +0 -5
  459. package/dist/calcite/p-5c0c29bc.entry.js +0 -5
  460. package/dist/calcite/p-5f817b79.entry.js +0 -5
  461. package/dist/calcite/p-6cc23c39.system.js +0 -5
  462. package/dist/calcite/p-6d44b7d9.system.js +0 -5
  463. package/dist/calcite/p-75264173.entry.js +0 -5
  464. package/dist/calcite/p-75955cef.entry.js +0 -5
  465. package/dist/calcite/p-7cbc72b6.system.entry.js +0 -5
  466. package/dist/calcite/p-81ab443c.entry.js +0 -5
  467. package/dist/calcite/p-8445bc9c.system.entry.js +0 -5
  468. package/dist/calcite/p-968ea270.entry.js +0 -5
  469. package/dist/calcite/p-aa47308a.entry.js +0 -5
  470. package/dist/calcite/p-b1351c3e.system.entry.js +0 -5
  471. package/dist/calcite/p-b1a96c72.system.entry.js +0 -5
  472. package/dist/calcite/p-b1f88d45.system.js +0 -5
  473. package/dist/calcite/p-ca3bb147.entry.js +0 -5
  474. package/dist/calcite/p-d53cc958.js +0 -5
  475. package/dist/calcite/p-d550ee4d.entry.js +0 -5
  476. package/dist/calcite/p-d6f20229.js +0 -5
  477. package/dist/calcite/p-ed15771f.system.entry.js +0 -5
  478. package/dist/calcite/p-ed453bfb.entry.js +0 -5
  479. package/dist/esm-es5/CalciteExpandToggle-677f2f8b.js +0 -5
  480. package/dist/esm-es5/dom-f24e866c.js +0 -5
  481. package/dist/esm-es5/popper-dc4b45cf.js +0 -5
@@ -180,7 +180,7 @@ const CSS_UTILITY = {
180
180
  lightTheme,
181
181
  rtl: "calcite--rtl"
182
182
  };
183
- const TEXT$p = {
183
+ const TEXT$q = {
184
184
  loading: "Loading"
185
185
  };
186
186
 
@@ -216,6 +216,12 @@ function nodeListToArray(nodeList) {
216
216
  function getThemeName(el) {
217
217
  return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
218
218
  }
219
+ function getElementStyleDir(el) {
220
+ return window.getComputedStyle(el).direction || "ltr";
221
+ }
222
+ /**
223
+ * @deprecated use getElementStyleDir instead.
224
+ */
219
225
  function getElementDir(el) {
220
226
  const prop = "dir";
221
227
  const selector = `[${prop}]`;
@@ -461,7 +467,7 @@ const CSS$O = {
461
467
  textContainer: "text-container",
462
468
  textContainerVisible: "text-container--visible"
463
469
  };
464
- const TEXT$o = {
470
+ const TEXT$p = {
465
471
  loading: "Loading"
466
472
  };
467
473
 
@@ -514,7 +520,7 @@ let CalciteAction$1 = class extends HTMLElement$1 {
514
520
  /** string to override English loading text
515
521
  * @default "Loading"
516
522
  */
517
- this.intlLoading = TEXT$o.loading;
523
+ this.intlLoading = TEXT$p.loading;
518
524
  /**
519
525
  * When true, content is waiting to be loaded. This state shows a busy indicator.
520
526
  */
@@ -618,7 +624,7 @@ const SLOTS$o = {
618
624
  menuActions: "menu-actions",
619
625
  menuTooltip: "menu-tooltip"
620
626
  };
621
- const TEXT$n = {
627
+ const TEXT$o = {
622
628
  more: "More"
623
629
  };
624
630
  const ICONS$e = {
@@ -689,7 +695,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
689
695
  return referenceElement;
690
696
  };
691
697
  const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
692
- const rtl = getElementDir(el) === "rtl";
698
+ const rtl = getElementStyleDir(el) === "rtl";
693
699
  const expandText = expanded ? intlCollapse : intlExpand;
694
700
  const icons = [ICONS$d.chevronsLeft, ICONS$d.chevronsRight];
695
701
  if (rtl) {
@@ -698,7 +704,7 @@ const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, p
698
704
  const end = getCalcitePosition(position, el) === "end";
699
705
  const expandIcon = end ? icons[1] : icons[0];
700
706
  const collapseIcon = end ? icons[0] : icons[1];
701
- 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 }));
707
+ 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 }));
702
708
  return tooltip ? h("calcite-tooltip-manager", null, actionNode) : actionNode;
703
709
  };
704
710
 
@@ -709,7 +715,7 @@ const SLOTS$n = {
709
715
  bottomActions: "bottom-actions",
710
716
  expandTooltip: "expand-tooltip"
711
717
  };
712
- const TEXT$m = {
718
+ const TEXT$n = {
713
719
  expand: "Expand",
714
720
  collapse: "Collapse"
715
721
  };
@@ -2136,8 +2142,8 @@ let CalciteActionBar$1 = class extends HTMLElement$1 {
2136
2142
  renderBottomActionGroup() {
2137
2143
  const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
2138
2144
  const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
2139
- const expandLabel = intlExpand || TEXT$m.expand;
2140
- const collapseLabel = intlCollapse || TEXT$m.collapse;
2145
+ const expandLabel = intlExpand || TEXT$n.expand;
2146
+ const collapseLabel = intlCollapse || TEXT$n.collapse;
2141
2147
  const expandToggleNode = !expandDisabled ? (h(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
2142
2148
  return getSlotted(el, SLOTS$n.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$M.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$n.bottomActions }), h("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
2143
2149
  }
@@ -2202,7 +2208,7 @@ let CalciteActionGroup$1 = class extends HTMLElement$1 {
2202
2208
  renderMenu() {
2203
2209
  const { el, expanded, intlMore, menuOpen, scale } = this;
2204
2210
  const hasMenuItems = getSlotted(el, SLOTS$o.menuActions);
2205
- return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$n.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, h("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$p.trigger, text: intlMore || TEXT$n.more, textEnabled: expanded }), h("slot", { name: SLOTS$o.menuActions }), this.renderTooltip())) : null;
2211
+ return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$o.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, h("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$p.trigger, text: intlMore || TEXT$o.more, textEnabled: expanded }), h("slot", { name: SLOTS$o.menuActions }), this.renderTooltip())) : null;
2206
2212
  }
2207
2213
  render() {
2208
2214
  return (h(Fragment, null, h("slot", null), this.renderMenu()));
@@ -2501,7 +2507,7 @@ const CSS$L = {
2501
2507
  actionGroupBottom: "action-group--bottom",
2502
2508
  container: "container"
2503
2509
  };
2504
- const TEXT$l = {
2510
+ const TEXT$m = {
2505
2511
  expand: "Expand",
2506
2512
  collapse: "Collapse"
2507
2513
  };
@@ -2599,8 +2605,8 @@ let CalciteActionPad$1 = class extends HTMLElement$1 {
2599
2605
  renderBottomActionGroup() {
2600
2606
  const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
2601
2607
  const tooltip = getSlotted(el, SLOTS$m.expandTooltip);
2602
- const expandLabel = intlExpand || TEXT$l.expand;
2603
- const collapseLabel = intlCollapse || TEXT$l.collapse;
2608
+ const expandLabel = intlExpand || TEXT$m.expand;
2609
+ const collapseLabel = intlCollapse || TEXT$m.collapse;
2604
2610
  const expandToggleNode = !expandDisabled ? (h(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
2605
2611
  return expandToggleNode ? (h("calcite-action-group", { class: CSS$L.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$m.expandTooltip }), expandToggleNode)) : null;
2606
2612
  }
@@ -2620,7 +2626,7 @@ let CalciteActionPad$1 = class extends HTMLElement$1 {
2620
2626
  static get style() { return calciteActionPadCss; }
2621
2627
  };
2622
2628
 
2623
- const TEXT$k = {
2629
+ const TEXT$l = {
2624
2630
  intlClose: "Close"
2625
2631
  };
2626
2632
  const DURATIONS = {
@@ -2669,7 +2675,7 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2669
2675
  /** string to override English close text
2670
2676
  * @default "Close"
2671
2677
  */
2672
- this.intlClose = TEXT$k.intlClose;
2678
+ this.intlClose = TEXT$l.intlClose;
2673
2679
  /** specify the scale of the button, defaults to m */
2674
2680
  this.scale = "m";
2675
2681
  //--------------------------------------------------------------------------
@@ -2683,8 +2689,11 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2683
2689
  this.queueLength = 0;
2684
2690
  /** is the alert queued */
2685
2691
  this.queued = false;
2692
+ this.autoDismissTimeoutId = null;
2693
+ this.trackTimer = Date.now();
2686
2694
  /** close and emit the closed alert and the queue */
2687
2695
  this.closeAlert = () => {
2696
+ this.autoDismissTimeoutId = null;
2688
2697
  this.queued = false;
2689
2698
  this.active = false;
2690
2699
  this.queue = this.queue.filter((e) => e !== this.el);
@@ -2708,6 +2717,12 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2708
2717
  updateRequestedIcon() {
2709
2718
  this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
2710
2719
  }
2720
+ updateDuration() {
2721
+ if (this.autoDismiss && this.autoDismissTimeoutId) {
2722
+ window.clearTimeout(this.autoDismissTimeoutId);
2723
+ this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
2724
+ }
2725
+ }
2711
2726
  //--------------------------------------------------------------------------
2712
2727
  //
2713
2728
  // Lifecycle
@@ -2724,20 +2739,22 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2724
2739
  componentDidLoad() {
2725
2740
  this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
2726
2741
  }
2742
+ disconnectedCallback() {
2743
+ window.clearTimeout(this.autoDismissTimeoutId);
2744
+ }
2727
2745
  render() {
2728
2746
  const dir = getElementDir(this.el);
2729
2747
  const closeButton = (h("button", { "aria-label": this.intlClose, class: "alert-close", onClick: this.closeAlert, ref: (el) => (this.closeButton = el), type: "button" }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
2730
2748
  const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;
2731
2749
  const queueCount = (h("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
2732
2750
  const { active, autoDismiss, label, queued, requestedIcon } = this;
2733
- const progress = h("div", { class: "alert-dismiss-progress" });
2734
2751
  const role = autoDismiss ? "alert" : "alertdialog";
2735
2752
  const hidden = !active;
2736
2753
  return (h(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, h("div", { class: {
2737
2754
  container: true,
2738
2755
  queued,
2739
2756
  [CSS_UTILITY.rtl]: dir === "rtl"
2740
- } }, 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$l.title }), h("slot", { name: SLOTS$l.message }), h("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? progress : null)));
2757
+ } }, 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$l.title }), h("slot", { name: SLOTS$l.message }), h("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
2741
2758
  }
2742
2759
  // when an alert is opened or closed, update queue and determine active alert
2743
2760
  alertSync(event) {
@@ -2783,9 +2800,9 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2783
2800
  var _a;
2784
2801
  if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
2785
2802
  this.openAlert();
2786
- clearTimeout(this.autoDismissTimeout);
2787
- if (this.autoDismiss) {
2788
- this.autoDismissTimeout = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
2803
+ if (this.autoDismiss && !this.autoDismissTimeoutId) {
2804
+ this.trackTimer = Date.now();
2805
+ this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
2789
2806
  }
2790
2807
  }
2791
2808
  else {
@@ -2805,7 +2822,8 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2805
2822
  static get watchers() { return {
2806
2823
  "active": ["watchActive"],
2807
2824
  "icon": ["updateRequestedIcon"],
2808
- "color": ["updateRequestedIcon"]
2825
+ "color": ["updateRequestedIcon"],
2826
+ "autoDismissDuration": ["updateDuration"]
2809
2827
  }; }
2810
2828
  static get style() { return calciteAlertCss; }
2811
2829
  };
@@ -3070,7 +3088,7 @@ const CSS$K = {
3070
3088
  invalid: "invalid",
3071
3089
  loading: "loading"
3072
3090
  };
3073
- const TEXT$j = {
3091
+ const TEXT$k = {
3074
3092
  collapse: "Collapse",
3075
3093
  expand: "Expand",
3076
3094
  loading: "Loading",
@@ -3127,11 +3145,11 @@ let CalciteBlock$1 = class extends HTMLElement$1 {
3127
3145
  /** string to override English loading text
3128
3146
  * @default "Loading"
3129
3147
  */
3130
- this.intlLoading = TEXT$j.loading;
3148
+ this.intlLoading = TEXT$k.loading;
3131
3149
  /** Text string used for the actions menu
3132
3150
  * @default "Options"
3133
3151
  */
3134
- this.intlOptions = TEXT$j.options;
3152
+ this.intlOptions = TEXT$k.options;
3135
3153
  /**
3136
3154
  * When true, content is waiting to be loaded. This state shows a busy indicator.
3137
3155
  */
@@ -3175,12 +3193,12 @@ let CalciteBlock$1 = class extends HTMLElement$1 {
3175
3193
  }
3176
3194
  render() {
3177
3195
  const { collapsible, disabled, el, heading, intlCollapse, intlExpand, loading, open, summary, intlLoading, headingLevel } = this;
3178
- const toggleLabel = open ? intlCollapse || TEXT$j.collapse : intlExpand || TEXT$j.expand;
3196
+ const toggleLabel = open ? intlCollapse || TEXT$k.collapse : intlExpand || TEXT$k.expand;
3179
3197
  const headerContent = (h("header", { class: CSS$K.header }, this.renderIcon(), h("div", { class: CSS$K.title }, h(CalciteHeading, { class: CSS$K.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary ? h("div", { class: CSS$K.summary }, summary) : null)));
3180
3198
  const hasControl = !!getSlotted(el, SLOTS$k.control);
3181
3199
  const hasMenuActions = !!getSlotted(el, SLOTS$k.headerMenuActions);
3182
3200
  const collapseIcon = open ? ICONS$c.opened : ICONS$c.closed;
3183
- const headerNode = (h("div", { class: CSS$K.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-expanded": collapsible ? open.toString() : null, "aria-label": toggleLabel, class: CSS$K.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (h("calcite-icon", { "aria-hidden": "true", class: CSS$K.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (h("div", { class: CSS$K.controlContainer }, h("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (h("calcite-action-menu", { label: this.intlOptions || TEXT$j.options }, h("slot", { name: SLOTS$k.headerMenuActions }))) : null));
3201
+ const headerNode = (h("div", { class: CSS$K.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-expanded": collapsible ? open.toString() : null, "aria-label": toggleLabel, class: CSS$K.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (h("calcite-icon", { "aria-hidden": "true", class: CSS$K.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (h("div", { class: CSS$K.controlContainer }, h("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (h("calcite-action-menu", { label: this.intlOptions || TEXT$k.options }, h("slot", { name: SLOTS$k.headerMenuActions }))) : null));
3184
3202
  return (h(Host, { tabIndex: disabled ? -1 : null }, h("article", { "aria-busy": loading.toString(), class: {
3185
3203
  [CSS$K.article]: true
3186
3204
  } }, headerNode, h("div", { class: CSS$K.content, hidden: !open }, this.renderScrim()))));
@@ -3201,7 +3219,7 @@ const CSS$J = {
3201
3219
  statusIcon: "status-icon",
3202
3220
  valid: "valid"
3203
3221
  };
3204
- const TEXT$i = {
3222
+ const TEXT$j = {
3205
3223
  collapse: "Collapse",
3206
3224
  expand: "Expand"
3207
3225
  };
@@ -3266,13 +3284,13 @@ let CalciteBlockSection$1 = class extends HTMLElement$1 {
3266
3284
  }
3267
3285
  render() {
3268
3286
  const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
3269
- const dir = getElementDir(el);
3287
+ const dir = getElementStyleDir(el);
3270
3288
  const arrowIcon = open
3271
3289
  ? ICONS$b.menuOpen
3272
3290
  : dir === "rtl"
3273
3291
  ? ICONS$b.menuClosedLeft
3274
3292
  : ICONS$b.menuClosedRight;
3275
- const toggleLabel = open ? intlCollapse || TEXT$i.collapse : intlExpand || TEXT$i.expand;
3293
+ const toggleLabel = open ? intlCollapse || TEXT$j.collapse : intlExpand || TEXT$j.expand;
3276
3294
  const headerNode = toggleDisplay === "switch" ? (h("div", { "aria-label": toggleLabel, class: {
3277
3295
  [CSS$J.toggle]: true,
3278
3296
  [CSS$J.toggleSwitch]: true
@@ -3324,7 +3342,7 @@ const CSS$I = {
3324
3342
  loadingIn: "loading-in",
3325
3343
  loadingOut: "loading-out"
3326
3344
  };
3327
- const TEXT$h = {
3345
+ const TEXT$i = {
3328
3346
  loading: "Loading"
3329
3347
  };
3330
3348
 
@@ -3427,7 +3445,7 @@ let CalciteButton$1 = class extends HTMLElement$1 {
3427
3445
  /** string to override English loading text
3428
3446
  * @default "Loading"
3429
3447
  */
3430
- this.intlLoading = TEXT$h.loading;
3448
+ this.intlLoading = TEXT$i.loading;
3431
3449
  /** optionally add a calcite-loader component to the button, disabling interaction. */
3432
3450
  this.loading = false;
3433
3451
  /** optionally add a round style to the button */
@@ -3562,7 +3580,7 @@ const SLOTS$j = {
3562
3580
  footerLeading: "footer-leading",
3563
3581
  footerTrailing: "footer-trailing"
3564
3582
  };
3565
- const TEXT$g = {
3583
+ const TEXT$h = {
3566
3584
  select: "Select",
3567
3585
  deselect: "Deselect",
3568
3586
  loading: "Loading"
@@ -3590,15 +3608,15 @@ let CalciteCard$1 = class extends HTMLElement$1 {
3590
3608
  /** string to override English loading text
3591
3609
  * @default "Loading"
3592
3610
  */
3593
- this.intlLoading = TEXT$g.loading;
3611
+ this.intlLoading = TEXT$h.loading;
3594
3612
  /** string to override English select text for checkbox when selectable is true
3595
3613
  * @default "Select"
3596
3614
  */
3597
- this.intlSelect = TEXT$g.select;
3615
+ this.intlSelect = TEXT$h.select;
3598
3616
  /** string to override English deselect text for checkbox when selectable is true
3599
3617
  * @default "Deselect"
3600
3618
  */
3601
- this.intlDeselect = TEXT$g.deselect;
3619
+ this.intlDeselect = TEXT$h.deselect;
3602
3620
  //--------------------------------------------------------------------------
3603
3621
  //
3604
3622
  // Private State/Props
@@ -3950,7 +3968,7 @@ const CSS$G = {
3950
3968
  chipImageContainer: "chip-image-container",
3951
3969
  calciteChipIcon: "calcite-chip--icon"
3952
3970
  };
3953
- const TEXT$f = {
3971
+ const TEXT$g = {
3954
3972
  close: "Close"
3955
3973
  };
3956
3974
  const SLOTS$i = {
@@ -3982,7 +4000,7 @@ let CalciteChip$1 = class extends HTMLElement$1 {
3982
4000
  /** Aria label for the "x" button
3983
4001
  * @default "Close"
3984
4002
  */
3985
- this.dismissLabel = TEXT$f.close;
4003
+ this.dismissLabel = TEXT$g.close;
3986
4004
  /** flip the icon in rtl */
3987
4005
  this.iconFlipRtl = false;
3988
4006
  /** specify the scale of the chip, defaults to m */
@@ -4238,12 +4256,13 @@ var colorString = createCommonjsModule(function (module) {
4238
4256
  /* MIT license */
4239
4257
 
4240
4258
 
4259
+ var hasOwnProperty = Object.hasOwnProperty;
4241
4260
 
4242
4261
  var reverseNames = {};
4243
4262
 
4244
4263
  // create a list of reverse color names
4245
4264
  for (var name in colorName$1) {
4246
- if (colorName$1.hasOwnProperty(name)) {
4265
+ if (hasOwnProperty.call(colorName$1, name)) {
4247
4266
  reverseNames[colorName$1[name]] = name;
4248
4267
  }
4249
4268
  }
@@ -4286,9 +4305,9 @@ cs.get.rgb = function (string) {
4286
4305
 
4287
4306
  var abbr = /^#([a-f0-9]{3,4})$/i;
4288
4307
  var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;
4289
- var rgba = /^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;
4290
- var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;
4291
- var keyword = /(\D+)/;
4308
+ var rgba = /^rgba?\(\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
4309
+ var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
4310
+ var keyword = /^(\w+)$/;
4292
4311
 
4293
4312
  var rgb = [0, 0, 0, 1];
4294
4313
  var match;
@@ -4325,7 +4344,11 @@ cs.get.rgb = function (string) {
4325
4344
  }
4326
4345
 
4327
4346
  if (match[4]) {
4328
- rgb[3] = parseFloat(match[4]);
4347
+ if (match[5]) {
4348
+ rgb[3] = parseFloat(match[4]) * 0.01;
4349
+ } else {
4350
+ rgb[3] = parseFloat(match[4]);
4351
+ }
4329
4352
  }
4330
4353
  } else if (match = string.match(per)) {
4331
4354
  for (i = 0; i < 3; i++) {
@@ -4333,19 +4356,22 @@ cs.get.rgb = function (string) {
4333
4356
  }
4334
4357
 
4335
4358
  if (match[4]) {
4336
- rgb[3] = parseFloat(match[4]);
4359
+ if (match[5]) {
4360
+ rgb[3] = parseFloat(match[4]) * 0.01;
4361
+ } else {
4362
+ rgb[3] = parseFloat(match[4]);
4363
+ }
4337
4364
  }
4338
4365
  } else if (match = string.match(keyword)) {
4339
4366
  if (match[1] === 'transparent') {
4340
4367
  return [0, 0, 0, 0];
4341
4368
  }
4342
4369
 
4343
- rgb = colorName$1[match[1]];
4344
-
4345
- if (!rgb) {
4370
+ if (!hasOwnProperty.call(colorName$1, match[1])) {
4346
4371
  return null;
4347
4372
  }
4348
4373
 
4374
+ rgb = colorName$1[match[1]];
4349
4375
  rgb[3] = 1;
4350
4376
 
4351
4377
  return rgb;
@@ -4371,7 +4397,7 @@ cs.get.hsl = function (string) {
4371
4397
 
4372
4398
  if (match) {
4373
4399
  var alpha = parseFloat(match[4]);
4374
- var h = (parseFloat(match[1]) + 360) % 360;
4400
+ var h = ((parseFloat(match[1]) % 360) + 360) % 360;
4375
4401
  var s = clamp(parseFloat(match[2]), 0, 100);
4376
4402
  var l = clamp(parseFloat(match[3]), 0, 100);
4377
4403
  var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
@@ -4466,7 +4492,7 @@ function clamp(num, min, max) {
4466
4492
  }
4467
4493
 
4468
4494
  function hexDouble(num) {
4469
- var str = num.toString(16).toUpperCase();
4495
+ var str = Math.round(num).toString(16).toUpperCase();
4470
4496
  return (str.length < 2) ? '0' + str : str;
4471
4497
  }
4472
4498
  });
@@ -6162,7 +6188,7 @@ const HSV_LIMITS = {
6162
6188
  s: 100,
6163
6189
  v: 100
6164
6190
  };
6165
- const TEXT$e = {
6191
+ const TEXT$f = {
6166
6192
  b: "B",
6167
6193
  blue: "Blue",
6168
6194
  deleteColor: "Delete color",
@@ -6285,80 +6311,80 @@ let CalciteColorPicker$1 = class extends HTMLElement$1 {
6285
6311
  /** Label used for the blue channel
6286
6312
  * @default "B"
6287
6313
  */
6288
- this.intlB = TEXT$e.b;
6314
+ this.intlB = TEXT$f.b;
6289
6315
  /** Label used for the blue channel description
6290
6316
  * @default "Blue"
6291
6317
  */
6292
- this.intlBlue = TEXT$e.blue;
6318
+ this.intlBlue = TEXT$f.blue;
6293
6319
  /** Label used for the delete color button.
6294
6320
  * @default "Delete color"
6295
6321
  */
6296
- this.intlDeleteColor = TEXT$e.deleteColor;
6322
+ this.intlDeleteColor = TEXT$f.deleteColor;
6297
6323
  /** Label used for the green channel
6298
6324
  * @default "G"
6299
6325
  */
6300
- this.intlG = TEXT$e.g;
6326
+ this.intlG = TEXT$f.g;
6301
6327
  /** Label used for the green channel description
6302
6328
  * @default "Green"
6303
6329
  */
6304
- this.intlGreen = TEXT$e.green;
6330
+ this.intlGreen = TEXT$f.green;
6305
6331
  /** Label used for the hue channel
6306
6332
  * @default "H"
6307
6333
  */
6308
- this.intlH = TEXT$e.h;
6334
+ this.intlH = TEXT$f.h;
6309
6335
  /** Label used for the HSV mode
6310
6336
  * @default "HSV"
6311
6337
  */
6312
- this.intlHsv = TEXT$e.hsv;
6338
+ this.intlHsv = TEXT$f.hsv;
6313
6339
  /** Label used for the hex input
6314
6340
  * @default "Hex"
6315
6341
  */
6316
- this.intlHex = TEXT$e.hex;
6342
+ this.intlHex = TEXT$f.hex;
6317
6343
  /** Label used for the hue channel description
6318
6344
  * @default "Hue"
6319
6345
  */
6320
- this.intlHue = TEXT$e.hue;
6346
+ this.intlHue = TEXT$f.hue;
6321
6347
  /**
6322
6348
  * Label used for the hex input when there is no color selected.
6323
6349
  * @default "No color"
6324
6350
  */
6325
- this.intlNoColor = TEXT$e.noColor;
6351
+ this.intlNoColor = TEXT$f.noColor;
6326
6352
  /** Label used for the red channel
6327
6353
  * @default "R"
6328
6354
  */
6329
- this.intlR = TEXT$e.r;
6355
+ this.intlR = TEXT$f.r;
6330
6356
  /** Label used for the red channel description
6331
6357
  * @default "Red"
6332
6358
  */
6333
- this.intlRed = TEXT$e.red;
6359
+ this.intlRed = TEXT$f.red;
6334
6360
  /** Label used for the RGB mode
6335
6361
  * @default "RGB"
6336
6362
  */
6337
- this.intlRgb = TEXT$e.rgb;
6363
+ this.intlRgb = TEXT$f.rgb;
6338
6364
  /** Label used for the saturation channel
6339
6365
  * @default "S"
6340
6366
  */
6341
- this.intlS = TEXT$e.s;
6367
+ this.intlS = TEXT$f.s;
6342
6368
  /** Label used for the saturation channel description
6343
6369
  * @default "Saturation"
6344
6370
  */
6345
- this.intlSaturation = TEXT$e.saturation;
6371
+ this.intlSaturation = TEXT$f.saturation;
6346
6372
  /** Label used for the save color button.
6347
6373
  * @default "Save color"
6348
6374
  */
6349
- this.intlSaveColor = TEXT$e.saveColor;
6375
+ this.intlSaveColor = TEXT$f.saveColor;
6350
6376
  /** Label used for the saved colors section
6351
6377
  * @default "Saved"
6352
6378
  */
6353
- this.intlSaved = TEXT$e.saved;
6379
+ this.intlSaved = TEXT$f.saved;
6354
6380
  /** Label used for the value channel
6355
6381
  * @default "V"
6356
6382
  */
6357
- this.intlV = TEXT$e.v;
6383
+ this.intlV = TEXT$f.v;
6358
6384
  /** Label used for the
6359
6385
  * @default "Value"
6360
6386
  */
6361
- this.intlValue = TEXT$e.value;
6387
+ this.intlValue = TEXT$f.value;
6362
6388
  /**
6363
6389
  * The scale of the color picker.
6364
6390
  */
@@ -7036,12 +7062,12 @@ let CalciteColorPickerHexInput$1 = class extends HTMLElement$1 {
7036
7062
  * Label used for the hex input.
7037
7063
  * @default "Hex"
7038
7064
  */
7039
- this.intlHex = TEXT$e.hex;
7065
+ this.intlHex = TEXT$f.hex;
7040
7066
  /**
7041
7067
  * Label used for the hex input when there is no color selected.
7042
7068
  * @default "No color"
7043
7069
  */
7044
- this.intlNoColor = TEXT$e.noColor;
7070
+ this.intlNoColor = TEXT$f.noColor;
7045
7071
  /**
7046
7072
  * The component's scale.
7047
7073
  */
@@ -7446,29 +7472,32 @@ function getBasePlacement(placement) {
7446
7472
  return placement.split('-')[0];
7447
7473
  }
7448
7474
 
7449
- // import { isHTMLElement } from './instanceOf';
7450
- function getBoundingClientRect(element, // eslint-disable-next-line unused-imports/no-unused-vars
7451
- includeScale) {
7475
+ var max = Math.max;
7476
+ var min = Math.min;
7477
+ var round = Math.round;
7478
+
7479
+ function getBoundingClientRect(element, includeScale) {
7480
+ if (includeScale === void 0) {
7481
+ includeScale = false;
7482
+ }
7452
7483
 
7453
7484
  var rect = element.getBoundingClientRect();
7454
7485
  var scaleX = 1;
7455
- var scaleY = 1; // FIXME:
7456
- // `offsetWidth` returns an integer while `getBoundingClientRect`
7457
- // returns a float. This results in `scaleX` or `scaleY` being
7458
- // non-1 when it should be for elements that aren't a full pixel in
7459
- // width or height.
7460
- // if (isHTMLElement(element) && includeScale) {
7461
- // const offsetHeight = element.offsetHeight;
7462
- // const offsetWidth = element.offsetWidth;
7463
- // // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
7464
- // // Fallback to 1 in case both values are `0`
7465
- // if (offsetWidth > 0) {
7466
- // scaleX = rect.width / offsetWidth || 1;
7467
- // }
7468
- // if (offsetHeight > 0) {
7469
- // scaleY = rect.height / offsetHeight || 1;
7470
- // }
7471
- // }
7486
+ var scaleY = 1;
7487
+
7488
+ if (isHTMLElement(element) && includeScale) {
7489
+ var offsetHeight = element.offsetHeight;
7490
+ var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
7491
+ // Fallback to 1 in case both values are `0`
7492
+
7493
+ if (offsetWidth > 0) {
7494
+ scaleX = round(rect.width) / offsetWidth || 1;
7495
+ }
7496
+
7497
+ if (offsetHeight > 0) {
7498
+ scaleY = round(rect.height) / offsetHeight || 1;
7499
+ }
7500
+ }
7472
7501
 
7473
7502
  return {
7474
7503
  width: rect.width / scaleX,
@@ -7530,7 +7559,7 @@ function contains(parent, child) {
7530
7559
  return false;
7531
7560
  }
7532
7561
 
7533
- function getComputedStyle(element) {
7562
+ function getComputedStyle$1(element) {
7534
7563
  return getWindow(element).getComputedStyle(element);
7535
7564
  }
7536
7565
 
@@ -7563,7 +7592,7 @@ function getParentNode(element) {
7563
7592
 
7564
7593
  function getTrueOffsetParent(element) {
7565
7594
  if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
7566
- getComputedStyle(element).position === 'fixed') {
7595
+ getComputedStyle$1(element).position === 'fixed') {
7567
7596
  return null;
7568
7597
  }
7569
7598
 
@@ -7578,7 +7607,7 @@ function getContainingBlock(element) {
7578
7607
 
7579
7608
  if (isIE && isHTMLElement(element)) {
7580
7609
  // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
7581
- var elementCss = getComputedStyle(element);
7610
+ var elementCss = getComputedStyle$1(element);
7582
7611
 
7583
7612
  if (elementCss.position === 'fixed') {
7584
7613
  return null;
@@ -7588,7 +7617,7 @@ function getContainingBlock(element) {
7588
7617
  var currentNode = getParentNode(element);
7589
7618
 
7590
7619
  while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
7591
- var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
7620
+ var css = getComputedStyle$1(currentNode); // This is non-exhaustive but covers the most common CSS properties that
7592
7621
  // create a containing block.
7593
7622
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
7594
7623
 
@@ -7608,11 +7637,11 @@ function getOffsetParent(element) {
7608
7637
  var window = getWindow(element);
7609
7638
  var offsetParent = getTrueOffsetParent(element);
7610
7639
 
7611
- while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
7640
+ while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
7612
7641
  offsetParent = getTrueOffsetParent(offsetParent);
7613
7642
  }
7614
7643
 
7615
- if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {
7644
+ if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static')) {
7616
7645
  return window;
7617
7646
  }
7618
7647
 
@@ -7623,13 +7652,13 @@ function getMainAxisFromPlacement(placement) {
7623
7652
  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
7624
7653
  }
7625
7654
 
7626
- var max = Math.max;
7627
- var min = Math.min;
7628
- var round = Math.round;
7629
-
7630
7655
  function within(min$1, value, max$1) {
7631
7656
  return max(min$1, min(value, max$1));
7632
7657
  }
7658
+ function withinMaxClamp(min, value, max) {
7659
+ var v = within(min, value, max);
7660
+ return v > max ? max : v;
7661
+ }
7633
7662
 
7634
7663
  function getFreshSideObject() {
7635
7664
  return {
@@ -7752,8 +7781,8 @@ function roundOffsetsByDPR(_ref) {
7752
7781
  var win = window;
7753
7782
  var dpr = win.devicePixelRatio || 1;
7754
7783
  return {
7755
- x: round(round(x * dpr) / dpr) || 0,
7756
- y: round(round(y * dpr) / dpr) || 0
7784
+ x: round(x * dpr) / dpr || 0,
7785
+ y: round(y * dpr) / dpr || 0
7757
7786
  };
7758
7787
  }
7759
7788
 
@@ -7768,7 +7797,8 @@ function mapToStyles(_ref2) {
7768
7797
  position = _ref2.position,
7769
7798
  gpuAcceleration = _ref2.gpuAcceleration,
7770
7799
  adaptive = _ref2.adaptive,
7771
- roundOffsets = _ref2.roundOffsets;
7800
+ roundOffsets = _ref2.roundOffsets,
7801
+ isFixed = _ref2.isFixed;
7772
7802
 
7773
7803
  var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
7774
7804
  _ref3$x = _ref3.x,
@@ -7790,7 +7820,7 @@ function mapToStyles(_ref2) {
7790
7820
  if (offsetParent === getWindow(popper)) {
7791
7821
  offsetParent = getDocumentElement(popper);
7792
7822
 
7793
- if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {
7823
+ if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
7794
7824
  heightProp = 'scrollHeight';
7795
7825
  widthProp = 'scrollWidth';
7796
7826
  }
@@ -7800,16 +7830,18 @@ function mapToStyles(_ref2) {
7800
7830
  offsetParent = offsetParent;
7801
7831
 
7802
7832
  if (placement === top || (placement === left || placement === right) && variation === end) {
7803
- sideY = bottom; // $FlowFixMe[prop-missing]
7804
-
7805
- y -= offsetParent[heightProp] - popperRect.height;
7833
+ sideY = bottom;
7834
+ var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
7835
+ offsetParent[heightProp];
7836
+ y -= offsetY - popperRect.height;
7806
7837
  y *= gpuAcceleration ? 1 : -1;
7807
7838
  }
7808
7839
 
7809
7840
  if (placement === left || (placement === top || placement === bottom) && variation === end) {
7810
- sideX = right; // $FlowFixMe[prop-missing]
7811
-
7812
- x -= offsetParent[widthProp] - popperRect.width;
7841
+ sideX = right;
7842
+ var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
7843
+ offsetParent[widthProp];
7844
+ x -= offsetX - popperRect.width;
7813
7845
  x *= gpuAcceleration ? 1 : -1;
7814
7846
  }
7815
7847
  }
@@ -7842,7 +7874,8 @@ function computeStyles(_ref4) {
7842
7874
  variation: getVariation(state.placement),
7843
7875
  popper: state.elements.popper,
7844
7876
  popperRect: state.rects.popper,
7845
- gpuAcceleration: gpuAcceleration
7877
+ gpuAcceleration: gpuAcceleration,
7878
+ isFixed: state.options.strategy === 'fixed'
7846
7879
  };
7847
7880
 
7848
7881
  if (state.modifiersData.popperOffsets != null) {
@@ -8019,7 +8052,7 @@ function getDocumentRect(element) {
8019
8052
  var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
8020
8053
  var y = -winScroll.scrollTop;
8021
8054
 
8022
- if (getComputedStyle(body || html).direction === 'rtl') {
8055
+ if (getComputedStyle$1(body || html).direction === 'rtl') {
8023
8056
  x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
8024
8057
  }
8025
8058
 
@@ -8033,7 +8066,7 @@ function getDocumentRect(element) {
8033
8066
 
8034
8067
  function isScrollParent(element) {
8035
8068
  // Firefox wants us to check `-x` and `-y` variations as well
8036
- var _getComputedStyle = getComputedStyle(element),
8069
+ var _getComputedStyle = getComputedStyle$1(element),
8037
8070
  overflow = _getComputedStyle.overflow,
8038
8071
  overflowX = _getComputedStyle.overflowX,
8039
8072
  overflowY = _getComputedStyle.overflowY;
@@ -8100,7 +8133,7 @@ function getInnerBoundingClientRect(element) {
8100
8133
  }
8101
8134
 
8102
8135
  function getClientRectFromMixedType(element, clippingParent) {
8103
- return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
8136
+ return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
8104
8137
  } // A "clipping parent" is an overflowable container with the characteristic of
8105
8138
  // clipping (or hiding) overflowing elements with a position different from
8106
8139
  // `initial`
@@ -8108,7 +8141,7 @@ function getClientRectFromMixedType(element, clippingParent) {
8108
8141
 
8109
8142
  function getClippingParents(element) {
8110
8143
  var clippingParents = listScrollParents(getParentNode(element));
8111
- var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;
8144
+ var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$1(element).position) >= 0;
8112
8145
  var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
8113
8146
 
8114
8147
  if (!isElement(clipperElement)) {
@@ -8117,7 +8150,7 @@ function getClippingParents(element) {
8117
8150
 
8118
8151
 
8119
8152
  return clippingParents.filter(function (clippingParent) {
8120
- return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
8153
+ return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle$1(clippingParent).position !== 'static' : true);
8121
8154
  });
8122
8155
  } // Gets the maximum area that the element is visible in due to any number of
8123
8156
  // clipping parents
@@ -8613,6 +8646,14 @@ function preventOverflow(_ref) {
8613
8646
  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
8614
8647
  placement: state.placement
8615
8648
  })) : tetherOffset;
8649
+ var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
8650
+ mainAxis: tetherOffsetValue,
8651
+ altAxis: tetherOffsetValue
8652
+ } : Object.assign({
8653
+ mainAxis: 0,
8654
+ altAxis: 0
8655
+ }, tetherOffsetValue);
8656
+ var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
8616
8657
  var data = {
8617
8658
  x: 0,
8618
8659
  y: 0
@@ -8622,13 +8663,15 @@ function preventOverflow(_ref) {
8622
8663
  return;
8623
8664
  }
8624
8665
 
8625
- if (checkMainAxis || checkAltAxis) {
8666
+ if (checkMainAxis) {
8667
+ var _offsetModifierState$;
8668
+
8626
8669
  var mainSide = mainAxis === 'y' ? top : left;
8627
8670
  var altSide = mainAxis === 'y' ? bottom : right;
8628
8671
  var len = mainAxis === 'y' ? 'height' : 'width';
8629
8672
  var offset = popperOffsets[mainAxis];
8630
- var min$1 = popperOffsets[mainAxis] + overflow[mainSide];
8631
- var max$1 = popperOffsets[mainAxis] - overflow[altSide];
8673
+ var min$1 = offset + overflow[mainSide];
8674
+ var max$1 = offset - overflow[altSide];
8632
8675
  var additive = tether ? -popperRect[len] / 2 : 0;
8633
8676
  var minLen = variation === start ? referenceRect[len] : popperRect[len];
8634
8677
  var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
@@ -8648,36 +8691,45 @@ function preventOverflow(_ref) {
8648
8691
  // width or height)
8649
8692
 
8650
8693
  var arrowLen = within(0, referenceRect[len], arrowRect[len]);
8651
- var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;
8652
- var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;
8694
+ var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
8695
+ var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
8653
8696
  var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
8654
8697
  var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
8655
- var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
8656
- var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
8657
- var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;
8698
+ var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
8699
+ var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
8700
+ var tetherMax = offset + maxOffset - offsetModifierValue;
8701
+ var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
8702
+ popperOffsets[mainAxis] = preventedOffset;
8703
+ data[mainAxis] = preventedOffset - offset;
8704
+ }
8658
8705
 
8659
- if (checkMainAxis) {
8660
- var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
8661
- popperOffsets[mainAxis] = preventedOffset;
8662
- data[mainAxis] = preventedOffset - offset;
8663
- }
8706
+ if (checkAltAxis) {
8707
+ var _offsetModifierState$2;
8664
8708
 
8665
- if (checkAltAxis) {
8666
- var _mainSide = mainAxis === 'x' ? top : left;
8709
+ var _mainSide = mainAxis === 'x' ? top : left;
8667
8710
 
8668
- var _altSide = mainAxis === 'x' ? bottom : right;
8711
+ var _altSide = mainAxis === 'x' ? bottom : right;
8669
8712
 
8670
- var _offset = popperOffsets[altAxis];
8713
+ var _offset = popperOffsets[altAxis];
8671
8714
 
8672
- var _min = _offset + overflow[_mainSide];
8715
+ var _len = altAxis === 'y' ? 'height' : 'width';
8673
8716
 
8674
- var _max = _offset - overflow[_altSide];
8717
+ var _min = _offset + overflow[_mainSide];
8675
8718
 
8676
- var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
8719
+ var _max = _offset - overflow[_altSide];
8677
8720
 
8678
- popperOffsets[altAxis] = _preventedOffset;
8679
- data[altAxis] = _preventedOffset - _offset;
8680
- }
8721
+ var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
8722
+
8723
+ var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
8724
+
8725
+ var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
8726
+
8727
+ var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
8728
+
8729
+ var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
8730
+
8731
+ popperOffsets[altAxis] = _preventedOffset;
8732
+ data[altAxis] = _preventedOffset - _offset;
8681
8733
  }
8682
8734
 
8683
8735
  state.modifiersData[name] = data;
@@ -8709,8 +8761,8 @@ function getNodeScroll(node) {
8709
8761
 
8710
8762
  function isElementScaled(element) {
8711
8763
  var rect = element.getBoundingClientRect();
8712
- var scaleX = rect.width / element.offsetWidth || 1;
8713
- var scaleY = rect.height / element.offsetHeight || 1;
8764
+ var scaleX = round(rect.width) / element.offsetWidth || 1;
8765
+ var scaleY = round(rect.height) / element.offsetHeight || 1;
8714
8766
  return scaleX !== 1 || scaleY !== 1;
8715
8767
  } // Returns the composite rect of an element relative to its offsetParent.
8716
8768
  // Composite means it takes into account transforms as well as layout.
@@ -8722,9 +8774,9 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
8722
8774
  }
8723
8775
 
8724
8776
  var isOffsetParentAnElement = isHTMLElement(offsetParent);
8725
- isHTMLElement(offsetParent) && isElementScaled(offsetParent);
8777
+ var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
8726
8778
  var documentElement = getDocumentElement(offsetParent);
8727
- var rect = getBoundingClientRect(elementOrVirtualElement);
8779
+ var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
8728
8780
  var scroll = {
8729
8781
  scrollLeft: 0,
8730
8782
  scrollTop: 0
@@ -8741,7 +8793,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
8741
8793
  }
8742
8794
 
8743
8795
  if (isHTMLElement(offsetParent)) {
8744
- offsets = getBoundingClientRect(offsetParent);
8796
+ offsets = getBoundingClientRect(offsetParent, true);
8745
8797
  offsets.x += offsetParent.clientLeft;
8746
8798
  offsets.y += offsetParent.clientTop;
8747
8799
  } else if (documentElement) {
@@ -9178,7 +9230,7 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
9178
9230
  this.setFocus();
9179
9231
  };
9180
9232
  this.keydownHandler = (event) => {
9181
- const key = getKey(event.key, getElementDir(this.el));
9233
+ const key = getKey(event.key, getElementStyleDir(this.el));
9182
9234
  switch (key) {
9183
9235
  case "Tab":
9184
9236
  this.activeChipIndex = -1;
@@ -10334,7 +10386,7 @@ function getDaysDiff(date1, date2) {
10334
10386
  }
10335
10387
 
10336
10388
  const HEADING_LEVEL$6 = 2;
10337
- const TEXT$d = {
10389
+ const TEXT$e = {
10338
10390
  nextMonth: "Next month",
10339
10391
  prevMonth: "Previous month"
10340
10392
  };
@@ -10351,11 +10403,11 @@ let CalciteDatePicker$1 = class extends HTMLElement$1 {
10351
10403
  /** Localized string for "previous month" (used for aria label)
10352
10404
  * @default "Previous month"
10353
10405
  */
10354
- this.intlPrevMonth = TEXT$d.prevMonth;
10406
+ this.intlPrevMonth = TEXT$e.prevMonth;
10355
10407
  /** Localized string for "next month" (used for aria label)
10356
10408
  * @default "Next month"
10357
10409
  */
10358
- this.intlNextMonth = TEXT$d.nextMonth;
10410
+ this.intlNextMonth = TEXT$e.nextMonth;
10359
10411
  /** BCP 47 language tag for desired language and country format */
10360
10412
  this.locale = document.documentElement.lang || "en";
10361
10413
  /** specify the scale of the date picker */
@@ -11244,7 +11296,7 @@ let CalciteDropdown$1 = class extends HTMLElement$1 {
11244
11296
  //
11245
11297
  //--------------------------------------------------------------------------
11246
11298
  this.items = [];
11247
- this.activeTransitionProp = "opacity";
11299
+ this.activeTransitionProp = "visibility";
11248
11300
  this.mutationObserver = createObserver("mutation", () => this.updateItems());
11249
11301
  //--------------------------------------------------------------------------
11250
11302
  //
@@ -11845,7 +11897,7 @@ const CSS$w = {
11845
11897
  searchIcon: "search-icon",
11846
11898
  clearButton: "clear-button"
11847
11899
  };
11848
- const TEXT$c = {
11900
+ const TEXT$d = {
11849
11901
  filterLabel: "Filter",
11850
11902
  clear: "Clear filter"
11851
11903
  };
@@ -11961,9 +12013,9 @@ let CalciteFilter$1 = class extends HTMLElement$1 {
11961
12013
  render() {
11962
12014
  const rtl = getElementDir(this.el) === "rtl";
11963
12015
  const { disabled } = this;
11964
- return (h(Fragment, null, disabled ? h("calcite-scrim", null) : null, h("div", { class: CSS$w.container }, h("label", { class: rtl ? CSS_UTILITY.rtl : null }, h("calcite-input", { "aria-label": this.intlLabel || TEXT$c.filterLabel, class: rtl ? CSS_UTILITY.rtl : null, disabled: this.disabled, icon: ICONS$8.search, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
12016
+ return (h(Fragment, null, disabled ? h("calcite-scrim", null) : null, h("div", { class: CSS$w.container }, h("label", { class: rtl ? CSS_UTILITY.rtl : null }, h("calcite-input", { "aria-label": this.intlLabel || TEXT$d.filterLabel, class: rtl ? CSS_UTILITY.rtl : null, disabled: this.disabled, icon: ICONS$8.search, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
11965
12017
  this.textInput = el;
11966
- }, type: "text", value: this.value })), this.value ? (h("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$w.clearButton, onClick: this.clear }, h("calcite-icon", { icon: ICONS$8.close }))) : null)));
12018
+ }, type: "text", value: this.value })), this.value ? (h("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$w.clearButton, onClick: this.clear }, h("calcite-icon", { icon: ICONS$8.close }))) : null)));
11967
12019
  }
11968
12020
  get el() { return this; }
11969
12021
  static get watchers() { return {
@@ -12512,7 +12564,7 @@ const CSS$s = {
12512
12564
  enableEditingButton: "enable-editing-button",
12513
12565
  controlsWrapper: "controls-wrapper"
12514
12566
  };
12515
- const TEXT$b = {
12567
+ const TEXT$c = {
12516
12568
  intlEnablingEditing: "Click to edit",
12517
12569
  intlCancelEditing: "Cancel",
12518
12570
  intlConfirmChanges: "Save"
@@ -12544,15 +12596,15 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
12544
12596
  /** specify text to be user for the enable editing button's aria-label, defaults to `Click to edit`
12545
12597
  * @default "Click to edit"
12546
12598
  */
12547
- this.intlEnableEditing = TEXT$b.intlEnablingEditing;
12599
+ this.intlEnableEditing = TEXT$c.intlEnablingEditing;
12548
12600
  /** specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`
12549
12601
  * @default "Cancel"
12550
12602
  */
12551
- this.intlCancelEditing = TEXT$b.intlCancelEditing;
12603
+ this.intlCancelEditing = TEXT$c.intlCancelEditing;
12552
12604
  /** specify text to be user for the confirm changes button's aria-label, defaults to `Save`
12553
12605
  * @default "Save"
12554
12606
  */
12555
- this.intlConfirmChanges = TEXT$b.intlConfirmChanges;
12607
+ this.intlConfirmChanges = TEXT$c.intlConfirmChanges;
12556
12608
  this.transitionEnd = (event) => {
12557
12609
  if (!this.editingEnabled && !!this.shouldEmitCancel) {
12558
12610
  this.calciteInlineEditableEditingCancel.emit(event);
@@ -12730,7 +12782,7 @@ const SLOTS$g = {
12730
12782
  action: "action"
12731
12783
  };
12732
12784
 
12733
- const calciteInputCss = "@-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([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;height:auto}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;height:auto}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;height:auto}:host([disabled]){pointer-events:none}:host([disabled]) .wrapper{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) button,:host([disabled]) textarea,:host([disabled]) input{pointer-events:none}:host([disabled]) textarea{resize:none}:host textarea,:host input{-webkit-transition:150ms ease-in-out, height 0s;transition:150ms ease-in-out, height 0s;-webkit-appearance:none;width:100%;border-radius:0;position:relative;max-height:100%;max-width:100%;margin:0;font-weight:var(--calcite-font-weight-normal);font-family:inherit;-ms-flex:1 1 0%;flex:1 1 0%;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-1);-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{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 textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{left:0.5rem}:host([scale=s]) .calcite--rtl .icon{left:unset;right:0.5rem}:host([scale=m]) .icon{left:0.75rem}:host([scale=m]) .calcite--rtl .icon{left:unset;right:0.75rem}:host([scale=l]) .icon{left:1rem}:host([scale=l]) .calcite--rtl .icon{left:unset;right:1rem}:host([icon][scale=s]) input{padding-left:2rem}:host([icon][scale=s]) .calcite--rtl input{padding-right:2rem;padding-left:0.5rem}:host([icon][scale=m]) input{padding-left:2.5rem}:host([icon][scale=m]) .calcite--rtl input{padding-right:2.5rem;padding-left:0.5rem}:host([icon][scale=l]) input{padding-left:3rem}:host([icon][scale=l]) .calcite--rtl input{padding-right:3rem;padding-left:0.5rem}.element-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 0%;flex:1 1 0%;position:relative;-ms-flex-order:3;order:3}.icon{display:block;position:absolute;pointer-events:none;z-index:10;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;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;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;min-height:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-ms-flex-order:4;order:4;margin:0}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.calcite--rtl .clear-button{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}.loader{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}.action-wrapper{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}.prefix,.suffix{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:var(--calcite-font-weight-medium);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);color:var(--calcite-ui-text-2);line-height:1;word-wrap:break-word;overflow-wrap:break-word}.prefix{-ms-flex-order:2;order:2;border-right-width:0}.suffix{-ms-flex-order:5;order:5;border-left-width:0}.calcite--rtl .prefix{border-right-width:1px;border-left-width:0}.calcite--rtl .suffix{border-left-width:1px;border-right-width:0}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:left}:host([alignment=start]) .calcite--rtl textarea,:host([alignment=start]) .calcite--rtl input{text-align:right}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:right}:host([alignment=end]) .calcite--rtl textarea,:host([alignment=end]) .calcite--rtl input{text-align:left}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;pointer-events:none;-ms-flex-order:6;order:6;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{min-height:100%;max-height:100%;-ms-flex-order:1;order:1;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-left-width:0;border-color:var(--calcite-ui-border-input)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=up]{border-width:1px;border-right-width:0;border-color:var(--calcite-ui-border-input)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down],:host([number-button-type=vertical]) .calcite--rtl .number-button-item[data-adjustment=down]{border-top-width:0}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;padding-top:0;padding-bottom:0;padding-left:0.5rem;padding-right:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;margin:0}.number-button-item calcite-icon{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}:host([number-button-type=vertical]) .calcite--rtl .number-button-item{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;position:relative}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;bottom:0;right:0;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.resize-icon-wrapper{display:none}}.resize-icon-wrapper{bottom:2px;right:2px;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);position:absolute;z-index:10;pointer-events:none;width:0.75rem;height:0.75rem}.resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl textarea::-webkit-resizer{right:unset;left:0}.calcite--rtl .resize-icon-wrapper{left:2px;right:unset}.calcite--rtl .resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0}:host(.border-t-color-1) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;background-color:transparent}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
12785
+ const calciteInputCss = "@-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([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;height:auto}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;height:auto}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;height:auto}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .wrapper{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) button,:host([disabled]) textarea,:host([disabled]) input{pointer-events:none}:host([disabled]) textarea{resize:none}:host textarea,:host input{-webkit-transition:150ms ease-in-out, height 0s;transition:150ms ease-in-out, height 0s;-webkit-appearance:none;width:100%;border-radius:0;position:relative;max-height:100%;max-width:100%;margin:0;font-weight:var(--calcite-font-weight-normal);font-family:inherit;-ms-flex:1 1 0%;flex:1 1 0%;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-1);-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{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 textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{left:0.5rem}:host([scale=s]) .calcite--rtl .icon{left:unset;right:0.5rem}:host([scale=m]) .icon{left:0.75rem}:host([scale=m]) .calcite--rtl .icon{left:unset;right:0.75rem}:host([scale=l]) .icon{left:1rem}:host([scale=l]) .calcite--rtl .icon{left:unset;right:1rem}:host([icon][scale=s]) input{padding-left:2rem}:host([icon][scale=s]) .calcite--rtl input{padding-right:2rem;padding-left:0.5rem}:host([icon][scale=m]) input{padding-left:2.5rem}:host([icon][scale=m]) .calcite--rtl input{padding-right:2.5rem;padding-left:0.5rem}:host([icon][scale=l]) input{padding-left:3rem}:host([icon][scale=l]) .calcite--rtl input{padding-right:3rem;padding-left:0.5rem}.element-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 0%;flex:1 1 0%;position:relative;-ms-flex-order:3;order:3}.icon{display:block;position:absolute;pointer-events:none;z-index:10;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;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;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;min-height:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-ms-flex-order:4;order:4;margin:0}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.calcite--rtl .clear-button{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}.loader{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}.action-wrapper{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}.prefix,.suffix{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:var(--calcite-font-weight-medium);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);color:var(--calcite-ui-text-2);line-height:1;word-wrap:break-word;overflow-wrap:break-word}.prefix{-ms-flex-order:2;order:2;border-right-width:0}.suffix{-ms-flex-order:5;order:5;border-left-width:0}.calcite--rtl .prefix{border-right-width:1px;border-left-width:0}.calcite--rtl .suffix{border-left-width:1px;border-right-width:0}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:left}:host([alignment=start]) .calcite--rtl textarea,:host([alignment=start]) .calcite--rtl input{text-align:right}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:right}:host([alignment=end]) .calcite--rtl textarea,:host([alignment=end]) .calcite--rtl input{text-align:left}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;pointer-events:none;-ms-flex-order:6;order:6;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{min-height:100%;max-height:100%;-ms-flex-order:1;order:1;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-left-width:0;border-color:var(--calcite-ui-border-input)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=up]{border-width:1px;border-right-width:0;border-color:var(--calcite-ui-border-input)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down],:host([number-button-type=vertical]) .calcite--rtl .number-button-item[data-adjustment=down]{border-top-width:0}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;padding-top:0;padding-bottom:0;padding-left:0.5rem;padding-right:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;margin:0}.number-button-item calcite-icon{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}:host([number-button-type=vertical]) .calcite--rtl .number-button-item{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;position:relative}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;bottom:0;right:0;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.resize-icon-wrapper{display:none}}.resize-icon-wrapper{bottom:2px;right:2px;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);position:absolute;z-index:10;pointer-events:none;width:0.75rem;height:0.75rem}.resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl textarea::-webkit-resizer{right:unset;left:0}.calcite--rtl .resize-icon-wrapper{left:2px;right:unset}.calcite--rtl .resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0}:host(.border-t-color-1) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;background-color:transparent}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
12734
12786
 
12735
12787
  let CalciteInput$1 = class extends HTMLElement$1 {
12736
12788
  constructor() {
@@ -12764,7 +12816,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
12764
12816
  * string to override English loading text
12765
12817
  * @default "Loading"
12766
12818
  */
12767
- this.intlLoading = TEXT$p.loading;
12819
+ this.intlLoading = TEXT$q.loading;
12768
12820
  /** flip the icon in rtl */
12769
12821
  this.iconFlipRtl = false;
12770
12822
  /** specify if the input is in loading state */
@@ -12794,6 +12846,8 @@ let CalciteInput$1 = class extends HTMLElement$1 {
12794
12846
  * Note that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`
12795
12847
  */
12796
12848
  this.type = "text";
12849
+ /** input value */
12850
+ this.value = "";
12797
12851
  /** keep track of the rendered child type */
12798
12852
  this.childElType = "input";
12799
12853
  //--------------------------------------------------------------------------
@@ -12815,7 +12869,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
12815
12869
  }
12816
12870
  };
12817
12871
  this.clearInputValue = (nativeEvent) => {
12818
- this.setValue(null, nativeEvent, true);
12872
+ this.setValue("", nativeEvent, true);
12819
12873
  };
12820
12874
  this.inputBlurHandler = () => {
12821
12875
  if (this.type === "number") {
@@ -12922,12 +12976,13 @@ let CalciteInput$1 = class extends HTMLElement$1 {
12922
12976
  const inputMin = this.minString ? parseFloat(this.minString) : null;
12923
12977
  const valueNudgeDelayInMs = 100;
12924
12978
  this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
12925
- let nudgeNumberValueIntervalCount = 0;
12979
+ let firstValueNudge = true;
12926
12980
  this.nudgeNumberValueIntervalId = setInterval(() => {
12927
- nudgeNumberValueIntervalCount !== 0
12928
- ? this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent)
12929
- : null;
12930
- nudgeNumberValueIntervalCount++;
12981
+ if (firstValueNudge) {
12982
+ firstValueNudge = false;
12983
+ return;
12984
+ }
12985
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
12931
12986
  }, valueNudgeDelayInMs);
12932
12987
  };
12933
12988
  this.numberButtonMouseUpAndMouseOutHandler = () => {
@@ -12956,7 +13011,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
12956
13011
  this.setLocalizedValue(this.value);
12957
13012
  }
12958
13013
  if (nativeEvent) {
12959
- if (this.type === "number" && (value === null || value === void 0 ? void 0 : value.endsWith("."))) {
13014
+ if (this.type === "number" && value.endsWith(".")) {
12960
13015
  return;
12961
13016
  }
12962
13017
  const calciteInputInputEvent = this.calciteInputInput.emit({
@@ -12991,6 +13046,10 @@ let CalciteInput$1 = class extends HTMLElement$1 {
12991
13046
  this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
12992
13047
  }
12993
13048
  valueWatcher(newValue) {
13049
+ if (newValue == null) {
13050
+ this.value = "";
13051
+ return;
13052
+ }
12994
13053
  if (this.type === "number" &&
12995
13054
  this.localizedValue !== localizeNumberString(newValue, this.locale)) {
12996
13055
  this.setLocalizedValue(newValue);
@@ -13003,8 +13062,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13003
13062
  this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
13004
13063
  }
13005
13064
  get isClearable() {
13006
- var _a;
13007
- return !this.isTextarea && (this.clearable || this.type === "search") && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
13065
+ return !this.isTextarea && (this.clearable || this.type === "search") && this.value.length > 0;
13008
13066
  }
13009
13067
  get isTextarea() {
13010
13068
  return this.childElType === "textarea";
@@ -13139,7 +13197,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13139
13197
  const numberButtonsVertical = (h("div", { class: CSS$r.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
13140
13198
  const prefixText = h("div", { class: CSS$r.prefix }, this.prefixText);
13141
13199
  const suffixText = h("div", { class: CSS$r.suffix }, this.suffixText);
13142
- const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, tabIndex: this.disabled ? -1 : 0, type: "text", value: this.localizedValue })) : null;
13200
+ const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
13143
13201
  const childEl = this.type !== "number"
13144
13202
  ? [
13145
13203
  h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
@@ -13149,11 +13207,11 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13149
13207
  this.isTextarea ? (h("div", { class: CSS$r.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
13150
13208
  ]
13151
13209
  : null;
13152
- return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$r.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal"
13210
+ return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$r.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
13153
13211
  ? numberButtonsHorizontalDown
13154
- : null, this.prefixText ? prefixText : null, h("div", { class: CSS$r.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$r.actionWrapper }, h("slot", { name: SLOTS$g.action })), this.type === "number" && this.numberButtonType === "vertical"
13212
+ : null, this.prefixText ? prefixText : null, h("div", { class: CSS$r.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$r.actionWrapper }, h("slot", { name: SLOTS$g.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
13155
13213
  ? numberButtonsVertical
13156
- : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal"
13214
+ : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
13157
13215
  ? numberButtonsHorizontalUp
13158
13216
  : null, h(HiddenFormInputSlot, { component: this }))));
13159
13217
  }
@@ -13195,11 +13253,11 @@ let CalciteInputDatePicker$1 = class extends HTMLElement$1 {
13195
13253
  /** Localized string for "previous month" (used for aria label)
13196
13254
  * @default "Previous month"
13197
13255
  */
13198
- this.intlPrevMonth = TEXT$d.prevMonth;
13256
+ this.intlPrevMonth = TEXT$e.prevMonth;
13199
13257
  /** Localized string for "next month" (used for aria label)
13200
13258
  * @default "Next month"
13201
13259
  */
13202
- this.intlNextMonth = TEXT$d.nextMonth;
13260
+ this.intlNextMonth = TEXT$e.nextMonth;
13203
13261
  /** BCP 47 language tag for desired language and country format */
13204
13262
  this.locale = document.documentElement.lang || "en";
13205
13263
  /** specify the scale of the date picker */
@@ -14382,7 +14440,7 @@ const SLOTS$e = {
14382
14440
  secondary: "secondary",
14383
14441
  primary: "primary"
14384
14442
  };
14385
- const TEXT$a = {
14443
+ const TEXT$b = {
14386
14444
  close: "Close"
14387
14445
  };
14388
14446
 
@@ -14415,7 +14473,7 @@ let CalciteModal$1 = class extends HTMLElement$1 {
14415
14473
  /** Disables the closing of the Modal when clicked outside. */
14416
14474
  this.disableOutsideClose = false;
14417
14475
  /** Aria label for the close button */
14418
- this.intlClose = TEXT$a.close;
14476
+ this.intlClose = TEXT$b.close;
14419
14477
  /** Flag to disable the default close on escape behavior */
14420
14478
  this.disableEscape = false;
14421
14479
  /** specify the scale of modal, defaults to m */
@@ -14511,7 +14569,7 @@ let CalciteModal$1 = class extends HTMLElement$1 {
14511
14569
  return this.hasFooter ? (h("div", { class: CSS$m.footer }, h("span", { class: CSS$m.back }, h("slot", { name: SLOTS$e.back })), h("span", { class: CSS$m.secondary }, h("slot", { name: SLOTS$e.secondary })), h("span", { class: CSS$m.primary }, h("slot", { name: SLOTS$e.primary })))) : null;
14512
14570
  }
14513
14571
  renderCloseButton() {
14514
- return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS$m.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : "l" }))) : null;
14572
+ return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS$m.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
14515
14573
  }
14516
14574
  renderStyle() {
14517
14575
  const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
@@ -14613,7 +14671,7 @@ let CalciteModal$1 = class extends HTMLElement$1 {
14613
14671
  static get style() { return calciteModalCss; }
14614
14672
  };
14615
14673
 
14616
- const TEXT$9 = {
14674
+ const TEXT$a = {
14617
14675
  close: "Close"
14618
14676
  };
14619
14677
  const SLOTS$d = {
@@ -14653,7 +14711,7 @@ let CalciteNotice$1 = class extends HTMLElement$1 {
14653
14711
  /** String for the close button.
14654
14712
  * @default "Close"
14655
14713
  */
14656
- this.intlClose = TEXT$9.close;
14714
+ this.intlClose = TEXT$a.close;
14657
14715
  /** specify the scale of the notice, defaults to m */
14658
14716
  this.scale = "m";
14659
14717
  /** specify the width of the notice, defaults to auto */
@@ -14839,7 +14897,7 @@ const CSS$k = {
14839
14897
  ellipsisStart: "ellipsis--start",
14840
14898
  ellipsisEnd: "ellipsis--end"
14841
14899
  };
14842
- const TEXT$8 = {
14900
+ const TEXT$9 = {
14843
14901
  nextLabel: "Next",
14844
14902
  previousLabel: "Previous"
14845
14903
  };
@@ -14868,11 +14926,11 @@ let CalcitePagination$1 = class extends HTMLElement$1 {
14868
14926
  /** Used as an accessible label (aria-label) for the next button
14869
14927
  * @default "Next"
14870
14928
  */
14871
- this.textLabelNext = TEXT$8.nextLabel;
14929
+ this.textLabelNext = TEXT$9.nextLabel;
14872
14930
  /** Used as an accessible label (aria-label) of the previous button
14873
14931
  * @default "Previous"
14874
14932
  */
14875
- this.textLabelPrevious = TEXT$8.previousLabel;
14933
+ this.textLabelPrevious = TEXT$9.previousLabel;
14876
14934
  /** The scale of the pagination */
14877
14935
  this.scale = "m";
14878
14936
  this.previousClicked = () => {
@@ -15010,6 +15068,7 @@ const CSS$j = {
15010
15068
  headerActionsStart: "header-actions--start",
15011
15069
  contentWrapper: "content-wrapper",
15012
15070
  contentContainer: "content-container",
15071
+ contentHeight: "content-height",
15013
15072
  fabContainer: "fab-container",
15014
15073
  footer: "footer",
15015
15074
  menuContainer: "menu-container",
@@ -15032,7 +15091,7 @@ const SLOTS$c = {
15032
15091
  footer: "footer",
15033
15092
  footerActions: "footer-actions"
15034
15093
  };
15035
- const TEXT$7 = {
15094
+ const TEXT$8 = {
15036
15095
  back: "Back",
15037
15096
  close: "Close",
15038
15097
  open: "Open",
@@ -15040,7 +15099,7 @@ const TEXT$7 = {
15040
15099
  };
15041
15100
  const HEADING_LEVEL$4 = 3;
15042
15101
 
15043
- 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}";
15102
+ 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}";
15044
15103
 
15045
15104
  let CalcitePanel$1 = class extends HTMLElement$1 {
15046
15105
  constructor() {
@@ -15136,9 +15195,9 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
15136
15195
  // --------------------------------------------------------------------------
15137
15196
  renderBackButton() {
15138
15197
  const { el } = this;
15139
- const rtl = getElementDir(el) === "rtl";
15198
+ const rtl = getElementStyleDir(el) === "rtl";
15140
15199
  const { showBackButton, intlBack, backButtonClick } = this;
15141
- const label = intlBack || TEXT$7.back;
15200
+ const label = intlBack || TEXT$8.back;
15142
15201
  const icon = rtl ? ICONS$5.backRight : ICONS$5.backLeft;
15143
15202
  return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS$j.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: SLOTS$c.headerActionsStart, text: label })) : null;
15144
15203
  }
@@ -15161,7 +15220,7 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
15161
15220
  }
15162
15221
  renderHeaderActionsEnd() {
15163
15222
  const { dismiss, dismissible, el, intlClose } = this;
15164
- const text = intlClose || TEXT$7.close;
15223
+ const text = intlClose || TEXT$8.close;
15165
15224
  const dismissibleNode = dismissible ? (h("calcite-action", { "aria-label": text, icon: ICONS$5.close, onClick: dismiss, ref: this.setDismissRef, text: text })) : null;
15166
15225
  const slotNode = h("slot", { name: SLOTS$c.headerActionsEnd });
15167
15226
  const hasEndActions = getSlotted(el, SLOTS$c.headerActionsEnd);
@@ -15170,7 +15229,7 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
15170
15229
  renderMenu() {
15171
15230
  const { el, intlOptions, menuOpen } = this;
15172
15231
  const hasMenuItems = getSlotted(el, SLOTS$c.headerMenuActions);
15173
- return hasMenuItems ? (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], label: intlOptions || TEXT$7.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$p.trigger, text: intlOptions || TEXT$7.options }), h("slot", { name: SLOTS$c.headerMenuActions }))) : null;
15232
+ return hasMenuItems ? (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$p.trigger, text: intlOptions || TEXT$8.options }), h("slot", { name: SLOTS$c.headerMenuActions }))) : null;
15174
15233
  }
15175
15234
  renderHeaderNode() {
15176
15235
  const { el, showBackButton } = this;
@@ -15202,12 +15261,12 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
15202
15261
  return hasFooterActions ? (h("footer", { class: CSS$j.footer }, h("slot", { name: SLOTS$c.footerActions }))) : null;
15203
15262
  }
15204
15263
  renderContent() {
15205
- return (h("div", { class: CSS$j.contentWrapper, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("section", { class: CSS$j.contentContainer }, h("slot", null)), this.renderFab()));
15206
- }
15207
- renderFab() {
15208
15264
  const { el } = this;
15209
15265
  const hasFab = getSlotted(el, SLOTS$c.fab);
15210
- return hasFab ? (h("div", { class: CSS$j.fabContainer }, h("slot", { name: SLOTS$c.fab }))) : null;
15266
+ return hasFab ? (h("div", { class: { [CSS$j.contentWrapper]: true, [CSS$j.contentHeight]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("section", { class: CSS$j.contentContainer }, h("slot", null)), this.renderFab())) : (h("section", { class: { [CSS$j.contentWrapper]: true, [CSS$j.contentContainer]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("slot", null)));
15267
+ }
15268
+ renderFab() {
15269
+ return (h("div", { class: CSS$j.fabContainer }, h("slot", { name: SLOTS$c.fab })));
15211
15270
  }
15212
15271
  render() {
15213
15272
  const { dismissed, disabled, dismissible, el, loading, panelKeyUpHandler } = this;
@@ -15702,7 +15761,7 @@ const SLOTS$9 = {
15702
15761
  actionsEnd: "actions-end",
15703
15762
  actionsStart: "actions-start"
15704
15763
  };
15705
- const TEXT$6 = {
15764
+ const TEXT$7 = {
15706
15765
  remove: "Remove"
15707
15766
  };
15708
15767
 
@@ -15746,7 +15805,7 @@ let CalcitePickListItem$1 = class extends HTMLElement$1 {
15746
15805
  * Used as an accessible label (aria-label) for the "remove item" action. Only applicable if removable is true.
15747
15806
  * @default "Remove"
15748
15807
  */
15749
- this.intlRemove = TEXT$6.remove;
15808
+ this.intlRemove = TEXT$7.remove;
15750
15809
  // --------------------------------------------------------------------------
15751
15810
  //
15752
15811
  // Private Methods
@@ -15867,7 +15926,7 @@ const CSS$f = {
15867
15926
  headerContent: "header-content",
15868
15927
  heading: "heading"
15869
15928
  };
15870
- const TEXT$5 = {
15929
+ const TEXT$6 = {
15871
15930
  close: "Close"
15872
15931
  };
15873
15932
  const POPOVER_REFERENCE = "data-calcite-popover-reference";
@@ -15929,7 +15988,7 @@ let CalcitePopover$1 = class extends HTMLElement$1 {
15929
15988
  /** Text for close button.
15930
15989
  * @default "Close"
15931
15990
  */
15932
- this.intlClose = TEXT$5.close;
15991
+ this.intlClose = TEXT$6.close;
15933
15992
  this.guid = `calcite-popover-${guid()}`;
15934
15993
  this.activeTransitionProp = "opacity";
15935
15994
  // --------------------------------------------------------------------------
@@ -16362,7 +16421,7 @@ let CalciteRadioButton$1 = class extends HTMLElement$1 {
16362
16421
  return;
16363
16422
  }
16364
16423
  let adjustedKey = key;
16365
- if (getElementDir(el) === "rtl") {
16424
+ if (getElementStyleDir(el) === "rtl") {
16366
16425
  if (key === "ArrowRight") {
16367
16426
  adjustedKey = "ArrowLeft";
16368
16427
  }
@@ -16651,7 +16710,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16651
16710
  //--------------------------------------------------------------------------
16652
16711
  this.handleClick = (event) => {
16653
16712
  if (event.target.localName === "calcite-radio-group-item") {
16654
- this.selectItem(event.target);
16713
+ this.selectItem(event.target, true);
16655
16714
  }
16656
16715
  };
16657
16716
  }
@@ -16670,7 +16729,6 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16670
16729
  .pop();
16671
16730
  if (match) {
16672
16731
  this.selectItem(match);
16673
- this.calciteRadioGroupChange.emit(match.value);
16674
16732
  }
16675
16733
  else if (items[0]) {
16676
16734
  items[0].tabIndex = 0;
@@ -16681,7 +16739,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16681
16739
  // Lifecycle
16682
16740
  //
16683
16741
  //--------------------------------------------------------------------------
16684
- connectedCallback() {
16742
+ componentWillLoad() {
16685
16743
  const items = this.getItems();
16686
16744
  const lastChecked = Array.from(items)
16687
16745
  .filter((item) => item.checked)
@@ -16692,6 +16750,8 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16692
16750
  else if (items[0]) {
16693
16751
  items[0].tabIndex = 0;
16694
16752
  }
16753
+ }
16754
+ connectedCallback() {
16695
16755
  connectLabel(this);
16696
16756
  connectForm(this);
16697
16757
  }
@@ -16699,19 +16759,13 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16699
16759
  disconnectLabel(this);
16700
16760
  disconnectForm(this);
16701
16761
  }
16702
- componentDidLoad() {
16703
- this.hasLoaded = true;
16704
- }
16705
16762
  render() {
16706
16763
  return (h(Host, { onClick: this.handleClick, role: "radiogroup", tabIndex: this.disabled ? -1 : null }, h("slot", null), h(HiddenFormInputSlot, { component: this })));
16707
16764
  }
16708
16765
  handleSelected(event) {
16709
- // only fire after initial setup to prevent semi-infinite loops
16710
- if (this.hasLoaded) {
16711
- event.stopPropagation();
16712
- event.preventDefault();
16713
- this.selectItem(event.target);
16714
- }
16766
+ event.stopPropagation();
16767
+ event.preventDefault();
16768
+ this.selectItem(event.target);
16715
16769
  }
16716
16770
  handleKeyDown(event) {
16717
16771
  const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
@@ -16721,7 +16775,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16721
16775
  return;
16722
16776
  }
16723
16777
  let adjustedKey = key;
16724
- if (getElementDir(el) === "rtl") {
16778
+ if (getElementStyleDir(el) === "rtl") {
16725
16779
  if (key === "ArrowRight") {
16726
16780
  adjustedKey = "ArrowLeft";
16727
16781
  }
@@ -16741,17 +16795,17 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16741
16795
  case "ArrowUp":
16742
16796
  event.preventDefault();
16743
16797
  const previous = selectedIndex < 1 ? items.item(items.length - 1) : items.item(selectedIndex - 1);
16744
- this.selectItem(previous);
16798
+ this.selectItem(previous, true);
16745
16799
  return;
16746
16800
  case "ArrowRight":
16747
16801
  case "ArrowDown":
16748
16802
  event.preventDefault();
16749
16803
  const next = selectedIndex === -1 ? items.item(1) : items.item(selectedIndex + 1) || items.item(0);
16750
- this.selectItem(next);
16804
+ this.selectItem(next, true);
16751
16805
  return;
16752
16806
  case " ":
16753
16807
  event.preventDefault();
16754
- this.selectItem(event.target);
16808
+ this.selectItem(event.target, true);
16755
16809
  return;
16756
16810
  default:
16757
16811
  return;
@@ -16778,7 +16832,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16778
16832
  getItems() {
16779
16833
  return this.el.querySelectorAll("calcite-radio-group-item");
16780
16834
  }
16781
- selectItem(selected) {
16835
+ selectItem(selected, emit = false) {
16782
16836
  if (selected === this.selectedItem) {
16783
16837
  return;
16784
16838
  }
@@ -16792,6 +16846,9 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16792
16846
  item.tabIndex = matches ? 0 : -1;
16793
16847
  if (matches) {
16794
16848
  match = item;
16849
+ if (emit) {
16850
+ this.calciteRadioGroupChange.emit(match.value);
16851
+ }
16795
16852
  }
16796
16853
  });
16797
16854
  this.selectedItem = match;
@@ -16909,7 +16966,7 @@ let CalciteRadioGroupItem$1 = class extends HTMLElement$1 {
16909
16966
  static get style() { return calciteRadioGroupItemCss; }
16910
16967
  };
16911
16968
 
16912
- const TEXT$4 = {
16969
+ const TEXT$5 = {
16913
16970
  rating: "Rating",
16914
16971
  stars: "Stars: ${num}"
16915
16972
  };
@@ -16940,11 +16997,11 @@ let CalciteRating$1 = class extends HTMLElement$1 {
16940
16997
  /** Localized string for "Rating" (used for aria label)
16941
16998
  * @default "Rating"
16942
16999
  */
16943
- this.intlRating = TEXT$4.rating;
17000
+ this.intlRating = TEXT$5.rating;
16944
17001
  /** Localized string for labelling each star, `${num}` in the string will be replaced by the number
16945
17002
  * @default "Stars: ${num}"
16946
17003
  */
16947
- this.intlStars = TEXT$4.stars;
17004
+ this.intlStars = TEXT$5.stars;
16948
17005
  /**
16949
17006
  * When true, makes the component required for form-submission.
16950
17007
  *
@@ -17030,7 +17087,7 @@ const CSS$c = {
17030
17087
  scrim: "scrim",
17031
17088
  content: "content"
17032
17089
  };
17033
- const TEXT$3 = {
17090
+ const TEXT$4 = {
17034
17091
  loading: "Loading"
17035
17092
  };
17036
17093
 
@@ -17049,7 +17106,7 @@ let CalciteScrim$1 = class extends HTMLElement$1 {
17049
17106
  /** string to override English loading text
17050
17107
  * @default "Loading"
17051
17108
  */
17052
- this.intlLoading = TEXT$3.loading;
17109
+ this.intlLoading = TEXT$4.loading;
17053
17110
  /**
17054
17111
  * Determines if the component will have the loader overlay.
17055
17112
  * Otherwise, will render opaque disabled state.
@@ -17190,6 +17247,7 @@ let CalciteSelect$1 = class extends HTMLElement$1 {
17190
17247
  this.updateNativeElement(optionOrGroup, nativeEl);
17191
17248
  if (isOption(optionOrGroup) && optionOrGroup.selected) {
17192
17249
  this.deselectAllExcept(optionOrGroup);
17250
+ this.selectedOption = optionOrGroup;
17193
17251
  }
17194
17252
  }
17195
17253
  //--------------------------------------------------------------------------
@@ -17229,7 +17287,7 @@ let CalciteSelect$1 = class extends HTMLElement$1 {
17229
17287
  }
17230
17288
  });
17231
17289
  if (futureSelected) {
17232
- requestAnimationFrame(() => (this.selectedOption = futureSelected));
17290
+ this.selectedOption = futureSelected;
17233
17291
  }
17234
17292
  }
17235
17293
  toNativeElement(optionOrGroup) {
@@ -17413,14 +17471,18 @@ const CSS$8 = {
17413
17471
  content: "content",
17414
17472
  contentHeader: "content__header",
17415
17473
  contentBody: "content__body",
17416
- contentDetached: "content--detached"
17474
+ contentDetached: "content--detached",
17475
+ separator: "separator"
17417
17476
  };
17418
17477
  const SLOTS$5 = {
17419
17478
  actionBar: "action-bar",
17420
17479
  header: "header"
17421
17480
  };
17481
+ const TEXT$3 = {
17482
+ resize: "Resize"
17483
+ };
17422
17484
 
17423
- const calciteShellPanelCss = "@-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:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex:0 1 auto;flex:0 1 auto;--calcite-shell-panel-detached-max-height:unset}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(calcite-panel),::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;height:100%;width:100%;max-height:unset;max-width:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;padding:0;pointer-events:auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out;transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out}.content__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{border-radius:0.25rem;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);height:auto;overflow:hidden;margin-top:0.5rem;margin-bottom:auto;margin-left:0.5rem;margin-right:0.5rem;max-height:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-height:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel){border-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";
17485
+ const calciteShellPanelCss = "@-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:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex:0 1 auto;flex:0 1 auto;pointer-events:none;--calcite-shell-panel-detached-max-height:unset}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{position:absolute;background-color:transparent;bottom:0;display:-ms-flexbox;display:flex;height:100%;opacity:0;pointer-events:auto;top:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;width:0.125rem;z-index:10;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;height:100%;width:100%;max-height:unset;max-width:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;padding:0;pointer-events:auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out;transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out}.content__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{border-radius:0.25rem;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);height:auto;overflow:hidden;margin-top:0.5rem;margin-bottom:auto;margin-left:0.5rem;margin-right:0.5rem;max-height:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-height:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel){border-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";
17424
17486
 
17425
17487
  let CalciteShellPanel$1 = class extends HTMLElement$1 {
17426
17488
  constructor() {
@@ -17449,10 +17511,130 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
17449
17511
  * This sets width of the content area.
17450
17512
  */
17451
17513
  this.widthScale = "m";
17514
+ /**
17515
+ * Accessible label for resize separator.
17516
+ * @default "Resize"
17517
+ */
17518
+ this.intlResize = TEXT$3.resize;
17519
+ /**
17520
+ * This property makes the content area resizable if the calcite-shell-panel is not 'detached'.
17521
+ */
17522
+ this.resizable = false;
17523
+ this.contentWidth = null;
17524
+ this.initialContentWidth = null;
17525
+ this.initialClientX = null;
17526
+ this.contentWidthMax = null;
17527
+ this.contentWidthMin = null;
17528
+ this.step = 1;
17529
+ this.stepMultiplier = 10;
17530
+ this.storeContentEl = (contentEl) => {
17531
+ this.contentEl = contentEl;
17532
+ };
17533
+ this.getKeyAdjustedWidth = (event) => {
17534
+ const { key } = event;
17535
+ const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
17536
+ const multipliedStep = step * stepMultiplier;
17537
+ const MOVEMENT_KEYS = [
17538
+ "ArrowUp",
17539
+ "ArrowDown",
17540
+ "ArrowLeft",
17541
+ "ArrowRight",
17542
+ "Home",
17543
+ "End",
17544
+ "PageUp",
17545
+ "PageDown"
17546
+ ];
17547
+ if (MOVEMENT_KEYS.indexOf(key) > -1) {
17548
+ event.preventDefault();
17549
+ }
17550
+ const dir = getElementStyleDir(el);
17551
+ const directionKeys = ["ArrowLeft", "ArrowRight"];
17552
+ const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
17553
+ const increaseKeys = key === "ArrowUp" ||
17554
+ (position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
17555
+ if (increaseKeys) {
17556
+ const stepValue = event.shiftKey ? multipliedStep : step;
17557
+ return initialContentWidth + directionFactor * stepValue;
17558
+ }
17559
+ const decreaseKeys = key === "ArrowDown" ||
17560
+ (position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
17561
+ if (decreaseKeys) {
17562
+ const stepValue = event.shiftKey ? multipliedStep : step;
17563
+ return initialContentWidth - directionFactor * stepValue;
17564
+ }
17565
+ if (typeof contentWidthMin === "number" && key === "Home") {
17566
+ return contentWidthMin;
17567
+ }
17568
+ if (typeof contentWidthMax === "number" && key === "End") {
17569
+ return contentWidthMax;
17570
+ }
17571
+ if (key === "PageDown") {
17572
+ return initialContentWidth - multipliedStep;
17573
+ }
17574
+ if (key === "PageUp") {
17575
+ return initialContentWidth + multipliedStep;
17576
+ }
17577
+ return null;
17578
+ };
17579
+ this.separatorKeyDown = (event) => {
17580
+ this.setInitialContentWidth();
17581
+ const width = this.getKeyAdjustedWidth(event);
17582
+ if (typeof width === "number") {
17583
+ this.setContentWidth(width);
17584
+ }
17585
+ };
17586
+ this.separatorPointerMove = (event) => {
17587
+ event.preventDefault();
17588
+ const { el, initialContentWidth, position, initialClientX } = this;
17589
+ const offset = event.clientX - initialClientX;
17590
+ const dir = getElementStyleDir(el);
17591
+ const adjustmentDirection = dir === "rtl" ? -1 : 1;
17592
+ const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
17593
+ const width = initialContentWidth + adjustedOffset;
17594
+ this.setContentWidth(width);
17595
+ };
17596
+ this.separatorPointerUp = (event) => {
17597
+ event.preventDefault();
17598
+ document.removeEventListener("pointerup", this.separatorPointerUp);
17599
+ document.removeEventListener("pointermove", this.separatorPointerMove);
17600
+ };
17601
+ this.setInitialContentWidth = () => {
17602
+ var _a;
17603
+ this.initialContentWidth = (_a = this.contentEl) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width;
17604
+ };
17605
+ this.separatorPointerDown = (event) => {
17606
+ event.preventDefault();
17607
+ const { separatorEl } = this;
17608
+ separatorEl && document.activeElement !== separatorEl && separatorEl.focus();
17609
+ this.setInitialContentWidth();
17610
+ this.initialClientX = event.clientX;
17611
+ document.addEventListener("pointerup", this.separatorPointerUp);
17612
+ document.addEventListener("pointermove", this.separatorPointerMove);
17613
+ };
17614
+ this.connectSeparator = (separatorEl) => {
17615
+ this.disconnectSeparator();
17616
+ this.separatorEl = separatorEl;
17617
+ separatorEl.addEventListener("pointerdown", this.separatorPointerDown);
17618
+ };
17619
+ this.disconnectSeparator = () => {
17620
+ var _a;
17621
+ (_a = this.separatorEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("pointerdown", this.separatorPointerDown);
17622
+ };
17452
17623
  }
17453
17624
  watchHandler() {
17454
17625
  this.calciteShellPanelToggle.emit();
17455
17626
  }
17627
+ //--------------------------------------------------------------------------
17628
+ //
17629
+ // Lifecycle
17630
+ //
17631
+ //--------------------------------------------------------------------------
17632
+ disconnectedCallback() {
17633
+ this.disconnectSeparator();
17634
+ }
17635
+ componentDidLoad() {
17636
+ this.updateAriaValues();
17637
+ }
17456
17638
  // --------------------------------------------------------------------------
17457
17639
  //
17458
17640
  // Render Methods
@@ -17464,15 +17646,50 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
17464
17646
  return hasHeader ? (h("div", { class: CSS$8.contentHeader }, h("slot", { name: SLOTS$5.header }))) : null;
17465
17647
  }
17466
17648
  render() {
17467
- const { collapsed, detached, position } = this;
17468
- const contentNode = (h("div", { class: { [CSS$8.content]: true, [CSS$8.contentDetached]: detached }, hidden: collapsed }, this.renderHeader(), h("div", { class: CSS$8.contentBody }, h("slot", null))));
17649
+ const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;
17650
+ const allowResizing = !detached && resizable;
17651
+ const contentNode = (h("div", { class: { [CSS$8.content]: true, [CSS$8.contentDetached]: detached }, hidden: collapsed, ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), h("div", { class: CSS$8.contentBody }, h("slot", null))));
17652
+ const separatorNode = allowResizing ? (h("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS$8.separator, onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
17469
17653
  const actionBarNode = h("slot", { name: SLOTS$5.actionBar });
17470
- const mainNodes = [actionBarNode, contentNode];
17654
+ const mainNodes = [actionBarNode, contentNode, separatorNode];
17471
17655
  if (position === "end") {
17472
17656
  mainNodes.reverse();
17473
17657
  }
17474
17658
  return h("div", { class: { [CSS$8.container]: true } }, mainNodes);
17475
17659
  }
17660
+ // --------------------------------------------------------------------------
17661
+ //
17662
+ // private Methods
17663
+ //
17664
+ // --------------------------------------------------------------------------
17665
+ setContentWidth(width) {
17666
+ const { contentWidthMax, contentWidthMin } = this;
17667
+ const roundedWidth = Math.round(width);
17668
+ this.contentWidth =
17669
+ typeof contentWidthMax === "number" && typeof contentWidthMin === "number"
17670
+ ? clamp(roundedWidth, contentWidthMin, contentWidthMax)
17671
+ : roundedWidth;
17672
+ }
17673
+ updateAriaValues() {
17674
+ const { contentEl } = this;
17675
+ const computedStyle = contentEl && getComputedStyle(contentEl);
17676
+ if (!computedStyle) {
17677
+ return;
17678
+ }
17679
+ const max = parseInt(computedStyle.getPropertyValue("max-width"), 10);
17680
+ const min = parseInt(computedStyle.getPropertyValue("min-width"), 10);
17681
+ const valueNow = parseInt(computedStyle.getPropertyValue("width"), 10);
17682
+ if (typeof valueNow === "number" && !isNaN(valueNow)) {
17683
+ this.initialContentWidth = valueNow;
17684
+ }
17685
+ if (typeof max === "number" && !isNaN(max)) {
17686
+ this.contentWidthMax = max;
17687
+ }
17688
+ if (typeof min === "number" && !isNaN(min)) {
17689
+ this.contentWidthMin = min;
17690
+ }
17691
+ forceUpdate(this);
17692
+ }
17476
17693
  get el() { return this; }
17477
17694
  static get watchers() { return {
17478
17695
  "collapsed": ["watchHandler"]
@@ -21386,6 +21603,8 @@ let CalciteSplitButton$1 = class extends HTMLElement$1 {
21386
21603
  /** optionally add a calcite-loader component to the control,
21387
21604
  disabling interaction. with the primary button */
21388
21605
  this.loading = false;
21606
+ /** Describes the type of positioning to use for the dropdown. If your element is in a fixed container, use the 'fixed' value. */
21607
+ this.overlayPositioning = "absolute";
21389
21608
  /** specify the scale of the control, defaults to m */
21390
21609
  this.scale = "m";
21391
21610
  /** specify the width of the button, defaults to auto */
@@ -21402,7 +21621,7 @@ let CalciteSplitButton$1 = class extends HTMLElement$1 {
21402
21621
  [CSS$6.widthFull]: this.width === "full"
21403
21622
  };
21404
21623
  const buttonWidth = this.width === "auto" ? "auto" : "full";
21405
- return (h("div", { class: widthClasses, dir: dir }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", width: buttonWidth }, this.primaryText), h("div", { class: CSS$6.dividerContainer }, h("div", { class: CSS$6.divider })), h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, placement: "bottom-trailing", scale: this.scale, width: this.scale }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "dropdown-trigger", splitChild: "secondary" }), h("slot", null))));
21624
+ return (h("div", { class: widthClasses, dir: dir }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", width: buttonWidth }, this.primaryText), h("div", { class: CSS$6.dividerContainer }, h("div", { class: CSS$6.divider })), h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, overlayPositioning: this.overlayPositioning, placement: "bottom-trailing", scale: this.scale, width: this.scale }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "dropdown-trigger", splitChild: "secondary" }), h("slot", null))));
21406
21625
  }
21407
21626
  get dropdownIcon() {
21408
21627
  return this.dropdownIconType === "chevron"
@@ -22065,7 +22284,7 @@ let CalciteTabNav$1 = class extends HTMLElement$1 {
22065
22284
  }
22066
22285
  }
22067
22286
  render() {
22068
- const dir = getElementDir(this.el);
22287
+ const dir = getElementStyleDir(this.el);
22069
22288
  const width = `${this.indicatorWidth}px`;
22070
22289
  const offset = `${this.indicatorOffset}px`;
22071
22290
  const indicatorStyle = dir !== "rtl" ? { width, left: offset } : { width, right: offset };
@@ -22122,7 +22341,7 @@ let CalciteTabNav$1 = class extends HTMLElement$1 {
22122
22341
  }
22123
22342
  updateOffsetPosition() {
22124
22343
  var _a, _b, _c, _d, _e;
22125
- const dir = getElementDir(this.el);
22344
+ const dir = getElementStyleDir(this.el);
22126
22345
  const navWidth = (_a = this.activeIndicatorContainerEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;
22127
22346
  const tabLeft = (_b = this.selectedTabEl) === null || _b === void 0 ? void 0 : _b.offsetLeft;
22128
22347
  const tabWidth = (_c = this.selectedTabEl) === null || _c === void 0 ? void 0 : _c.offsetWidth;
@@ -22282,7 +22501,7 @@ let CalciteTabTitle$1 = class extends HTMLElement$1 {
22282
22501
  e.preventDefault();
22283
22502
  break;
22284
22503
  case "ArrowRight":
22285
- if (getElementDir(this.el) === "ltr") {
22504
+ if (getElementStyleDir(this.el) === "ltr") {
22286
22505
  this.calciteTabsFocusNext.emit();
22287
22506
  }
22288
22507
  else {
@@ -22290,7 +22509,7 @@ let CalciteTabTitle$1 = class extends HTMLElement$1 {
22290
22509
  }
22291
22510
  break;
22292
22511
  case "ArrowLeft":
22293
- if (getElementDir(this.el) === "ltr") {
22512
+ if (getElementStyleDir(this.el) === "ltr") {
22294
22513
  this.calciteTabsFocusPrevious.emit();
22295
22514
  }
22296
22515
  else {
@@ -23602,7 +23821,7 @@ let CalciteTipManager$1 = class extends HTMLElement$1 {
23602
23821
  //
23603
23822
  // --------------------------------------------------------------------------
23604
23823
  renderPagination() {
23605
- const dir = getElementDir(this.el);
23824
+ const dir = getElementStyleDir(this.el);
23606
23825
  const { selectedIndex, tips, total, intlNext, intlPrevious, intlPaginationLabel } = this;
23607
23826
  const nextLabel = intlNext || TEXT$1.next;
23608
23827
  const previousLabel = intlPrevious || TEXT$1.previous;
@@ -24806,10 +25025,10 @@ const CalciteScrim = /*@__PURE__*/proxyCustomElement(CalciteScrim$1, [1,"calcite
24806
25025
  const CalciteSelect = /*@__PURE__*/proxyCustomElement(CalciteSelect$1, [1,"calcite-select",{"disabled":[516],"label":[1],"name":[1],"required":[516],"scale":[513],"value":[1025],"selectedOption":[1040],"width":[513]},[[0,"calciteOptionChange","handleOptionOrGroupChange"],[0,"calciteOptionGroupChange","handleOptionOrGroupChange"]]]);
24807
25026
  const CalciteShell = /*@__PURE__*/proxyCustomElement(CalciteShell$1, [1,"calcite-shell",{"contentBehind":[516,"content-behind"]}]);
24808
25027
  const CalciteShellCenterRow = /*@__PURE__*/proxyCustomElement(CalciteShellCenterRow$1, [1,"calcite-shell-center-row",{"detached":[516],"heightScale":[513,"height-scale"],"position":[513]}]);
24809
- const CalciteShellPanel = /*@__PURE__*/proxyCustomElement(CalciteShellPanel$1, [1,"calcite-shell-panel",{"collapsed":[516],"detached":[516],"detachedHeightScale":[513,"detached-height-scale"],"widthScale":[513,"width-scale"],"position":[513]}]);
25028
+ const CalciteShellPanel = /*@__PURE__*/proxyCustomElement(CalciteShellPanel$1, [1,"calcite-shell-panel",{"collapsed":[516],"detached":[516],"detachedHeightScale":[513,"detached-height-scale"],"widthScale":[513,"width-scale"],"position":[513],"intlResize":[1,"intl-resize"],"resizable":[516],"contentWidth":[32]}]);
24810
25029
  const CalciteSlider = /*@__PURE__*/proxyCustomElement(CalciteSlider$1, [1,"calcite-slider",{"disabled":[516],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"pageStep":[2,"page-step"],"precise":[4],"required":[516],"snap":[4],"step":[2],"ticks":[2],"value":[1538],"activeProp":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32]},[[0,"keydown","keyDownHandler"],[0,"click","clickHandler"],[1,"pointerdown","pointerDownHandler"]]]);
24811
25030
  const CalciteSortableList = /*@__PURE__*/proxyCustomElement(CalciteSortableList$1, [1,"calcite-sortable-list",{"dragSelector":[1,"drag-selector"],"group":[1],"handleSelector":[1,"handle-selector"],"layout":[1],"disabled":[516],"loading":[516],"handleActivated":[32]},[[0,"calciteHandleNudge","calciteHandleNudgeHandler"]]]);
24812
- const CalciteSplitButton = /*@__PURE__*/proxyCustomElement(CalciteSplitButton$1, [1,"calcite-split-button",{"appearance":[513],"color":[513],"disabled":[516],"active":[516],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513]}]);
25031
+ const CalciteSplitButton = /*@__PURE__*/proxyCustomElement(CalciteSplitButton$1, [1,"calcite-split-button",{"appearance":[513],"color":[513],"disabled":[516],"active":[516],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"overlayPositioning":[1,"overlay-positioning"],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513]}]);
24813
25032
  const CalciteStepper = /*@__PURE__*/proxyCustomElement(CalciteStepper$1, [1,"calcite-stepper",{"icon":[516],"layout":[513],"numbered":[516],"scale":[513],"requestedContent":[1040]},[[0,"calciteStepperItemKeyEvent","calciteStepperItemKeyEvent"],[0,"calciteStepperItemRegister","registerItem"],[0,"calciteStepperItemSelect","updateItem"]]]);
24814
25033
  const CalciteStepperItem = /*@__PURE__*/proxyCustomElement(CalciteStepperItem$1, [1,"calcite-stepper-item",{"active":[1540],"complete":[516],"error":[4],"disabled":[4],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"layout":[1537],"icon":[1028],"numbered":[1028],"scale":[1537]},[[0,"keydown","keyDownHandler"],[16,"calciteStepperItemChange","updateActiveItemOnChange"]]]);
24815
25034
  const CalciteSwitch = /*@__PURE__*/proxyCustomElement(CalciteSwitch$1, [1,"calcite-switch",{"disabled":[516],"label":[1],"name":[513],"scale":[513],"switched":[1028],"checked":[1540],"value":[8],"tabindex":[32]}]);