@esri/calcite-components 1.0.0-next.315 → 1.0.0-next.319

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 (479) hide show
  1. package/dist/calcite/assets/calcite-icon/centerAlign16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/centerAlign24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/centerAlign32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/convert16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/convert24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/convert32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/formDropdown16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/formDropdown24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/formDropdown32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/language16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/language24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/language32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/languageTranslate16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/languageTranslate24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/languageTranslate32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/leftAlign16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/leftAlign24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/leftAlign32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/terminal16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/terminal24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/terminal32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/touch16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/touch24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/touch32.json +1 -0
  25. package/dist/calcite/calcite.esm.js +1 -1
  26. package/dist/calcite/p-01c9406e.js +5 -0
  27. package/dist/calcite/{p-7cf78fe8.entry.js → p-058ee7b0.entry.js} +1 -1
  28. package/dist/calcite/p-0b53c2c6.system.entry.js +5 -0
  29. package/dist/calcite/p-0d67d5bf.system.entry.js +5 -0
  30. package/dist/calcite/{p-7473ca03.system.entry.js → p-0f33798d.system.entry.js} +1 -1
  31. package/dist/calcite/{p-d354a150.system.entry.js → p-0f9f1f89.system.entry.js} +1 -1
  32. package/dist/calcite/p-12a9599d.system.entry.js +5 -0
  33. package/dist/calcite/p-141051c4.entry.js +5 -0
  34. package/dist/calcite/{p-fa9f1f68.entry.js → p-198902ca.entry.js} +1 -1
  35. package/dist/calcite/p-19d3c50f.system.entry.js +5 -0
  36. package/dist/calcite/{p-0ea2fe39.entry.js → p-1ad123f9.entry.js} +1 -1
  37. package/dist/calcite/p-1de453ba.entry.js +5 -0
  38. package/dist/calcite/p-1e4955d7.entry.js +5 -0
  39. package/dist/calcite/{p-5e640aae.system.entry.js → p-1eb04aad.system.entry.js} +1 -1
  40. package/dist/calcite/p-1eb85972.entry.js +5 -0
  41. package/dist/calcite/{p-b1dc66f5.system.entry.js → p-1f809e6c.system.entry.js} +1 -1
  42. package/dist/calcite/{p-506f7b44.system.entry.js → p-2033f545.system.entry.js} +1 -1
  43. package/dist/calcite/{p-d86e7196.entry.js → p-23bc2d32.entry.js} +1 -1
  44. package/dist/calcite/{p-258ec2b0.entry.js → p-266ee9db.entry.js} +1 -1
  45. package/dist/calcite/p-26f8f2d1.js +5 -0
  46. package/dist/calcite/{p-a487e88d.entry.js → p-29d4765b.entry.js} +1 -1
  47. package/dist/calcite/p-2b137143.system.entry.js +5 -0
  48. package/dist/calcite/p-2cd9d307.entry.js +5 -0
  49. package/dist/calcite/{p-e0ab317f.system.entry.js → p-30afa3c6.system.entry.js} +1 -1
  50. package/dist/calcite/p-35c5e6bd.entry.js +5 -0
  51. package/dist/calcite/{p-8b5d497a.entry.js → p-3d69fba9.entry.js} +1 -1
  52. package/dist/calcite/{p-30223b4f.entry.js → p-3ec67fae.entry.js} +1 -1
  53. package/dist/calcite/{p-8fb2f219.system.entry.js → p-3f07a3e7.system.entry.js} +1 -1
  54. package/dist/calcite/p-3f82f702.system.entry.js +5 -0
  55. package/dist/calcite/p-41f87fe7.entry.js +5 -0
  56. package/dist/calcite/{p-1e17f99a.system.entry.js → p-42091a1f.system.entry.js} +1 -1
  57. package/dist/calcite/p-43020fb5.js +5 -0
  58. package/dist/calcite/p-437e9d52.entry.js +5 -0
  59. package/dist/calcite/{p-7ca82e29.system.js → p-47f55191.system.js} +1 -1
  60. package/dist/calcite/{p-eb90a677.system.entry.js → p-4a8b3cf3.system.entry.js} +1 -1
  61. package/dist/calcite/p-4af85388.system.entry.js +5 -0
  62. package/dist/calcite/p-4bd82e40.system.js +5 -0
  63. package/dist/calcite/p-4e47f1a5.entry.js +5 -0
  64. package/dist/calcite/{p-86d0119b.system.entry.js → p-4ee2f6cf.system.entry.js} +1 -1
  65. package/dist/calcite/{p-030da538.entry.js → p-5035488d.entry.js} +1 -1
  66. package/dist/calcite/p-52578054.js +5 -0
  67. package/dist/calcite/p-535d635b.system.entry.js +5 -0
  68. package/dist/calcite/{p-fb49b087.entry.js → p-55bfe4fc.entry.js} +1 -1
  69. package/dist/calcite/p-58e21391.system.entry.js +5 -0
  70. package/dist/calcite/p-5c606579.entry.js +5 -0
  71. package/dist/calcite/p-5dc52ebc.entry.js +5 -0
  72. package/dist/calcite/p-5dce20e5.system.entry.js +5 -0
  73. package/dist/calcite/{p-dff7dc90.system.js → p-60916f97.system.js} +1 -1
  74. package/dist/calcite/p-65748440.entry.js +5 -0
  75. package/dist/calcite/p-6af46786.entry.js +5 -0
  76. package/dist/calcite/{p-187b6eb4.system.entry.js → p-6c5b849f.system.entry.js} +1 -1
  77. package/dist/calcite/p-6e050609.entry.js +5 -0
  78. package/dist/calcite/{p-d9827a69.entry.js → p-702140ce.entry.js} +1 -1
  79. package/dist/calcite/{p-75075d43.system.js → p-71cdeee3.system.js} +1 -1
  80. package/dist/calcite/p-71e299a6.system.js +5 -0
  81. package/dist/calcite/{p-fc3e40ed.system.entry.js → p-730b8963.system.entry.js} +1 -1
  82. package/dist/calcite/p-7311f615.entry.js +5 -0
  83. package/dist/calcite/{p-c6ff2008.system.entry.js → p-7325e7fc.system.entry.js} +1 -1
  84. package/dist/calcite/p-732d4acf.entry.js +5 -0
  85. package/dist/calcite/{p-e513b7e6.system.entry.js → p-784e4e32.system.entry.js} +1 -1
  86. package/dist/calcite/p-7bf46f12.system.entry.js +5 -0
  87. package/dist/calcite/{p-fc0dfaf2.system.entry.js → p-832affcb.system.entry.js} +1 -1
  88. package/dist/calcite/{p-b82034da.entry.js → p-87f1831b.entry.js} +1 -1
  89. package/dist/calcite/{p-1f3e9f1f.entry.js → p-88b4f504.entry.js} +1 -1
  90. package/dist/calcite/{p-a1e60186.entry.js → p-89987575.entry.js} +1 -1
  91. package/dist/calcite/{p-e67a4d2f.system.entry.js → p-8b2d4eac.system.entry.js} +1 -1
  92. package/dist/calcite/p-8e252799.system.js +1 -1
  93. package/dist/calcite/{p-0c200636.entry.js → p-9339cca3.entry.js} +1 -1
  94. package/dist/calcite/{p-f07d3627.js → p-935ff1d1.js} +1 -1
  95. package/dist/calcite/{p-8dc5dec9.system.entry.js → p-9470d123.system.entry.js} +1 -1
  96. package/dist/calcite/p-949c8f43.system.entry.js +5 -0
  97. package/dist/calcite/{p-29b5e94d.system.entry.js → p-95a17f62.system.entry.js} +1 -1
  98. package/dist/calcite/p-9634f89d.entry.js +5 -0
  99. package/dist/calcite/p-96bbc815.system.entry.js +5 -0
  100. package/dist/calcite/p-97f8034a.system.entry.js +5 -0
  101. package/dist/calcite/{p-7b892b42.system.entry.js → p-99e52ea7.system.entry.js} +1 -1
  102. package/dist/calcite/{p-5a4f9c91.entry.js → p-9be50494.entry.js} +1 -1
  103. package/dist/calcite/p-9dff8dc8.system.entry.js +5 -0
  104. package/dist/calcite/p-a7be885b.entry.js +5 -0
  105. package/dist/calcite/{p-27301daf.system.entry.js → p-a821e9b3.system.entry.js} +1 -1
  106. package/dist/calcite/{p-8cf86067.system.entry.js → p-a98e5444.system.entry.js} +1 -1
  107. package/dist/calcite/p-ab8ce668.system.entry.js +5 -0
  108. package/dist/calcite/{p-3a197e57.system.entry.js → p-ac38b743.system.entry.js} +2 -2
  109. package/dist/calcite/{p-ee157d50.entry.js → p-b16b831d.entry.js} +1 -1
  110. package/dist/calcite/{p-e956e279.js → p-b22ebcf2.js} +1 -1
  111. package/dist/calcite/{p-669e4d6b.system.entry.js → p-b5d21a5d.system.entry.js} +1 -1
  112. package/dist/calcite/p-b6aabc24.entry.js +5 -0
  113. package/dist/calcite/{p-4ddce847.js → p-b6b6ec04.js} +1 -1
  114. package/dist/calcite/p-bf82491b.entry.js +5 -0
  115. package/dist/calcite/{p-d7f1ae6c.entry.js → p-c0690971.entry.js} +1 -1
  116. package/dist/calcite/{p-e580856e.entry.js → p-c12e88cd.entry.js} +1 -1
  117. package/dist/calcite/p-c1794615.entry.js +5 -0
  118. package/dist/calcite/{p-f966b102.entry.js → p-c9551366.entry.js} +1 -1
  119. package/dist/calcite/{p-d1af2194.entry.js → p-ca5c0679.entry.js} +1 -1
  120. package/dist/calcite/p-cb55c32c.system.entry.js +5 -0
  121. package/dist/calcite/{p-5832e8cd.entry.js → p-cd1cdf3c.entry.js} +1 -1
  122. package/dist/calcite/{p-d653cdf5.system.js → p-d07ff1ee.system.js} +1 -1
  123. package/dist/calcite/{p-2911f610.system.entry.js → p-d102e280.system.entry.js} +1 -1
  124. package/dist/calcite/p-d4e9d7bb.system.entry.js +5 -0
  125. package/dist/calcite/p-dab6ebab.system.entry.js +5 -0
  126. package/dist/calcite/p-ddcf2620.system.entry.js +5 -0
  127. package/dist/calcite/{p-03d586c8.system.entry.js → p-e2d18d39.system.entry.js} +1 -1
  128. package/dist/calcite/{p-5ba48bb2.js → p-e5305b02.js} +1 -1
  129. package/dist/calcite/{p-c97163e9.system.entry.js → p-e6a47d34.system.entry.js} +1 -1
  130. package/dist/calcite/p-e817ded0.entry.js +5 -0
  131. package/dist/calcite/p-e9e13891.entry.js +5 -0
  132. package/dist/calcite/{p-4c52ac47.system.entry.js → p-eeb8dfe5.system.entry.js} +1 -1
  133. package/dist/calcite/{p-444f054f.js → p-f2620bc3.js} +1 -1
  134. package/dist/calcite/p-f7b5dd98.system.entry.js +5 -0
  135. package/dist/calcite/{p-4035444d.system.js → p-f825e054.system.js} +1 -1
  136. package/dist/calcite/{p-8e0f4f5e.system.js → p-f8266626.system.js} +1 -1
  137. package/dist/calcite/{p-4c48d68d.system.js → p-f87ba8eb.system.js} +1 -1
  138. package/dist/calcite/{p-0128b04c.entry.js → p-f97e1a2d.entry.js} +1 -1
  139. package/dist/calcite/{p-9a1a0cfb.entry.js → p-fba77b86.entry.js} +1 -1
  140. package/dist/calcite/{p-22df1092.entry.js → p-fc32b022.entry.js} +1 -1
  141. package/dist/calcite/p-fccc1605.entry.js +5 -0
  142. package/dist/calcite/{p-3fc9017a.system.entry.js → p-fd1ddcd2.system.entry.js} +1 -1
  143. package/dist/cjs/{CalciteExpandToggle-4d77fa1c.js → CalciteExpandToggle-ca629f39.js} +2 -2
  144. package/dist/cjs/calcite-accordion_2.cjs.entry.js +3 -4
  145. package/dist/cjs/calcite-action-bar.cjs.entry.js +25 -1
  146. package/dist/cjs/calcite-action-pad.cjs.entry.js +1 -1
  147. package/dist/cjs/calcite-block_2.cjs.entry.js +1 -1
  148. package/dist/cjs/calcite-card.cjs.entry.js +1 -2
  149. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +20 -21
  150. package/dist/cjs/calcite-combobox_3.cjs.entry.js +2 -3
  151. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -13
  152. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +5 -6
  153. package/dist/cjs/calcite-filter.cjs.entry.js +1 -15
  154. package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -11
  155. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -5
  156. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +23 -24
  157. package/dist/cjs/calcite-input.cjs.entry.js +13 -9
  158. package/dist/cjs/calcite-modal.cjs.entry.js +1 -2
  159. package/dist/cjs/calcite-option_3.cjs.entry.js +2 -1
  160. package/dist/cjs/calcite-panel.cjs.entry.js +4 -4
  161. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +1 -1
  162. package/dist/cjs/calcite-popover_2.cjs.entry.js +1 -1
  163. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +20 -23
  164. package/dist/cjs/calcite-radio_2.cjs.entry.js +7 -8
  165. package/dist/cjs/calcite-stepper_2.cjs.entry.js +2 -3
  166. package/dist/cjs/calcite-switch.cjs.entry.js +2 -3
  167. package/dist/cjs/calcite-tab_4.cjs.entry.js +5 -6
  168. package/dist/cjs/calcite-tip_3.cjs.entry.js +1 -1
  169. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +1 -2
  170. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -2
  171. package/dist/cjs/calcite-value-list_2.cjs.entry.js +1 -1
  172. package/dist/cjs/calcite.cjs.js +1 -1
  173. package/dist/cjs/loader.cjs.js +1 -1
  174. package/dist/cjs/{locale-69dc9583.js → locale-d223548e.js} +1 -1
  175. package/dist/cjs/{number-e6448e15.js → number-7d42a856.js} +8 -3
  176. package/dist/cjs/{resources-3f7b51c8.js → resources-c2496817.js} +1 -1
  177. package/dist/cjs/{resources-1177e39b.js → resources-fee43dc4.js} +3 -3
  178. package/dist/collection/components/calcite-accordion/calcite-accordion.js +1 -2
  179. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +1 -2
  180. package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +3 -0
  181. package/dist/collection/components/calcite-block-section/calcite-block-section.js +2 -2
  182. package/dist/collection/components/calcite-card/calcite-card.js +1 -2
  183. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +3 -4
  184. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +1 -2
  185. package/dist/collection/components/calcite-combobox/calcite-combobox.js +1 -2
  186. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +1 -2
  187. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +1 -2
  188. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +1 -2
  189. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +3 -4
  190. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +2 -3
  191. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +1 -2
  192. package/dist/collection/components/calcite-filter/calcite-filter.js +4 -38
  193. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign16.json +1 -0
  194. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign24.json +1 -0
  195. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign32.json +1 -0
  196. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert16.json +1 -0
  197. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert24.json +1 -0
  198. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert32.json +1 -0
  199. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown16.json +1 -0
  200. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown24.json +1 -0
  201. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown32.json +1 -0
  202. package/dist/collection/components/calcite-icon/assets/calcite-icon/language16.json +1 -0
  203. package/dist/collection/components/calcite-icon/assets/calcite-icon/language24.json +1 -0
  204. package/dist/collection/components/calcite-icon/assets/calcite-icon/language32.json +1 -0
  205. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate16.json +1 -0
  206. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate24.json +1 -0
  207. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate32.json +1 -0
  208. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign16.json +1 -0
  209. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign24.json +1 -0
  210. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign32.json +1 -0
  211. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal16.json +1 -0
  212. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal24.json +1 -0
  213. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal32.json +1 -0
  214. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch16.json +1 -0
  215. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch24.json +1 -0
  216. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch32.json +1 -0
  217. package/dist/collection/components/calcite-input/calcite-input.js +12 -7
  218. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +1 -2
  219. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +1 -2
  220. package/dist/collection/components/calcite-modal/calcite-modal.js +1 -2
  221. package/dist/collection/components/calcite-panel/calcite-panel.js +5 -5
  222. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +2 -2
  223. package/dist/collection/components/calcite-pick-list/shared-list-render.js +1 -1
  224. package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
  225. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +3 -5
  226. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +17 -20
  227. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +1 -1
  228. package/dist/collection/components/calcite-select/calcite-select.js +2 -1
  229. package/dist/collection/components/calcite-slider/calcite-slider.js +1 -2
  230. package/dist/collection/components/calcite-stepper/calcite-stepper.js +1 -2
  231. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +1 -2
  232. package/dist/collection/components/calcite-switch/calcite-switch.js +1 -2
  233. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
  234. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +4 -5
  235. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +7 -7
  236. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  237. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +1 -2
  238. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +1 -2
  239. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  240. package/dist/collection/utils/conditionalSlot.js +26 -0
  241. package/dist/collection/utils/key.js +0 -23
  242. package/dist/components/CalciteExpandToggle.js +3 -3
  243. package/dist/components/calcite-accordion-item.js +1 -2
  244. package/dist/components/calcite-accordion.js +1 -2
  245. package/dist/components/calcite-action-bar.js +25 -1
  246. package/dist/components/calcite-avatar.js +1 -1
  247. package/dist/components/calcite-block-section.js +2 -2
  248. package/dist/components/calcite-button2.js +1 -1
  249. package/dist/components/calcite-card.js +1 -2
  250. package/dist/components/calcite-color-picker-hex-input2.js +1 -2
  251. package/dist/components/calcite-color-picker-swatch2.js +4 -4
  252. package/dist/components/calcite-color-picker.js +3 -4
  253. package/dist/components/calcite-combobox.js +1 -2
  254. package/dist/components/calcite-date-picker-day2.js +1 -2
  255. package/dist/components/calcite-date-picker-month-header2.js +3 -4
  256. package/dist/components/calcite-date-picker-month2.js +1 -2
  257. package/dist/components/calcite-date-picker2.js +1 -2
  258. package/dist/components/calcite-dropdown-item.js +1 -2
  259. package/dist/components/calcite-dropdown2.js +2 -3
  260. package/dist/components/calcite-filter2.js +1 -16
  261. package/dist/components/calcite-input-date-picker.js +1 -2
  262. package/dist/components/calcite-input-time-picker.js +1 -2
  263. package/dist/components/calcite-input2.js +11 -7
  264. package/dist/components/calcite-modal.js +2 -3
  265. package/dist/components/calcite-panel.js +5 -5
  266. package/dist/components/calcite-popover-manager.js +1 -1
  267. package/dist/components/calcite-popover2.js +1 -1
  268. package/dist/components/calcite-radio-button.js +3 -4
  269. package/dist/components/calcite-radio-group.js +17 -20
  270. package/dist/components/calcite-select.js +2 -1
  271. package/dist/components/calcite-shell-panel.js +1 -1
  272. package/dist/components/calcite-slider.js +1 -2
  273. package/dist/components/calcite-stepper-item.js +1 -2
  274. package/dist/components/calcite-stepper.js +1 -2
  275. package/dist/components/calcite-switch2.js +1 -2
  276. package/dist/components/calcite-tab-nav2.js +3 -3
  277. package/dist/components/calcite-tab-title2.js +4 -5
  278. package/dist/components/calcite-time-picker2.js +7 -8
  279. package/dist/components/calcite-tip-manager.js +2 -2
  280. package/dist/components/calcite-tooltip-manager2.js +1 -2
  281. package/dist/components/calcite-tree-item.js +2 -3
  282. package/dist/components/dom.js +1 -1
  283. package/dist/components/form.js +1 -1
  284. package/dist/components/label.js +1 -1
  285. package/dist/components/number.js +5 -2
  286. package/dist/components/shared-list-render.js +3 -3
  287. package/dist/custom-elements/index.js +113 -122
  288. package/dist/esm/{CalciteExpandToggle-a08896cc.js → CalciteExpandToggle-4b38a7d1.js} +3 -3
  289. package/dist/esm/calcite-accordion_2.entry.js +3 -4
  290. package/dist/esm/calcite-action-bar.entry.js +27 -3
  291. package/dist/esm/calcite-action-group.entry.js +1 -1
  292. package/dist/esm/calcite-action-menu.entry.js +1 -1
  293. package/dist/esm/calcite-action-pad.entry.js +2 -2
  294. package/dist/esm/calcite-alert.entry.js +1 -1
  295. package/dist/esm/calcite-avatar.entry.js +1 -1
  296. package/dist/esm/calcite-block_2.entry.js +2 -2
  297. package/dist/esm/calcite-button.entry.js +2 -2
  298. package/dist/esm/calcite-card.entry.js +2 -3
  299. package/dist/esm/calcite-checkbox.entry.js +3 -3
  300. package/dist/esm/calcite-chip.entry.js +1 -1
  301. package/dist/esm/calcite-color-picker_3.entry.js +8 -9
  302. package/dist/esm/calcite-combobox_3.entry.js +5 -6
  303. package/dist/esm/calcite-date-picker_4.entry.js +10 -11
  304. package/dist/esm/calcite-dropdown_3.entry.js +5 -6
  305. package/dist/esm/calcite-fab.entry.js +1 -1
  306. package/dist/esm/calcite-filter.entry.js +2 -16
  307. package/dist/esm/calcite-graph_2.entry.js +4 -5
  308. package/dist/esm/calcite-icon.entry.js +1 -1
  309. package/dist/esm/calcite-inline-editable.entry.js +2 -2
  310. package/dist/esm/calcite-input-date-picker.entry.js +8 -9
  311. package/dist/esm/calcite-input-message.entry.js +1 -1
  312. package/dist/esm/calcite-input-time-picker_2.entry.js +11 -12
  313. package/dist/esm/calcite-input.entry.js +15 -11
  314. package/dist/esm/calcite-label.entry.js +1 -1
  315. package/dist/esm/calcite-link.entry.js +1 -1
  316. package/dist/esm/calcite-list_3.entry.js +1 -1
  317. package/dist/esm/calcite-modal.entry.js +2 -3
  318. package/dist/esm/calcite-notice.entry.js +1 -1
  319. package/dist/esm/calcite-option_3.entry.js +5 -4
  320. package/dist/esm/calcite-pagination.entry.js +1 -1
  321. package/dist/esm/calcite-panel.entry.js +5 -5
  322. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  323. package/dist/esm/calcite-popover_2.entry.js +3 -3
  324. package/dist/esm/calcite-radio-group_2.entry.js +19 -22
  325. package/dist/esm/calcite-radio_2.entry.js +5 -6
  326. package/dist/esm/calcite-rating.entry.js +3 -3
  327. package/dist/esm/calcite-shell_3.entry.js +1 -1
  328. package/dist/esm/calcite-split-button.entry.js +1 -1
  329. package/dist/esm/calcite-stepper_2.entry.js +3 -4
  330. package/dist/esm/calcite-switch.entry.js +4 -5
  331. package/dist/esm/calcite-tab_4.entry.js +6 -7
  332. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  333. package/dist/esm/calcite-tile.entry.js +1 -1
  334. package/dist/esm/calcite-tip_3.entry.js +2 -2
  335. package/dist/esm/calcite-tooltip_2.entry.js +3 -4
  336. package/dist/esm/calcite-tree_2.entry.js +2 -3
  337. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  338. package/dist/esm/calcite.js +1 -1
  339. package/dist/esm/{dom-fce0996b.js → dom-dc012a45.js} +1 -1
  340. package/dist/esm/{form-aed20747.js → form-6b717ce8.js} +1 -1
  341. package/dist/esm/{label-326df1c3.js → label-0d804a87.js} +1 -1
  342. package/dist/esm/loader.js +1 -1
  343. package/dist/esm/{locale-6c1b85c7.js → locale-641b6af3.js} +1 -1
  344. package/dist/esm/{number-e7393766.js → number-2609a8bc.js} +5 -2
  345. package/dist/esm/{popper-d8ea1200.js → popper-ed1eefa6.js} +1 -1
  346. package/dist/esm/{resources-bece7a88.js → resources-1a5b5ecf.js} +1 -1
  347. package/dist/esm/{resources-581b6bd0.js → resources-c31631e5.js} +4 -4
  348. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +5 -0
  349. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  350. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  351. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  352. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  353. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  354. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  355. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  356. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  357. package/dist/esm-es5/calcite-button.entry.js +1 -1
  358. package/dist/esm-es5/calcite-card.entry.js +1 -1
  359. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  360. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  361. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  362. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  363. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  364. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  365. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  366. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  367. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  368. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  369. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  370. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  371. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  372. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  373. package/dist/esm-es5/calcite-input.entry.js +1 -1
  374. package/dist/esm-es5/calcite-label.entry.js +1 -1
  375. package/dist/esm-es5/calcite-link.entry.js +1 -1
  376. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  377. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  378. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  379. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  380. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  381. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  382. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  383. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  384. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  385. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  386. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  387. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  388. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  389. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  390. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  391. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  392. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  393. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  394. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  395. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  396. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  397. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  398. package/dist/esm-es5/calcite.js +1 -1
  399. package/dist/esm-es5/{dom-fce0996b.js → dom-dc012a45.js} +1 -1
  400. package/dist/esm-es5/{form-aed20747.js → form-6b717ce8.js} +1 -1
  401. package/dist/esm-es5/{label-326df1c3.js → label-0d804a87.js} +1 -1
  402. package/dist/esm-es5/loader.js +1 -1
  403. package/dist/esm-es5/locale-641b6af3.js +5 -0
  404. package/dist/esm-es5/number-2609a8bc.js +5 -0
  405. package/dist/esm-es5/{popper-d8ea1200.js → popper-ed1eefa6.js} +1 -1
  406. package/dist/esm-es5/{resources-bece7a88.js → resources-1a5b5ecf.js} +1 -1
  407. package/dist/esm-es5/{resources-581b6bd0.js → resources-c31631e5.js} +1 -1
  408. package/dist/extras/docs-json.json +4 -24
  409. package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +2 -1
  410. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +2 -1
  411. package/dist/types/components/calcite-filter/calcite-filter.d.ts +1 -10
  412. package/dist/types/components/calcite-panel/calcite-panel.d.ts +1 -1
  413. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -2
  414. package/dist/types/components.d.ts +2 -12
  415. package/dist/types/utils/conditionalSlot.d.ts +17 -0
  416. package/dist/types/utils/key.d.ts +0 -4
  417. package/hydrate/index.js +112 -122
  418. package/package.json +14 -14
  419. package/readme.md +2 -2
  420. package/dist/calcite/p-011cf302.entry.js +0 -5
  421. package/dist/calcite/p-0c5e1f92.js +0 -5
  422. package/dist/calcite/p-13051845.system.entry.js +0 -5
  423. package/dist/calcite/p-206dbc67.system.entry.js +0 -5
  424. package/dist/calcite/p-226c2070.entry.js +0 -5
  425. package/dist/calcite/p-24f47f18.system.entry.js +0 -5
  426. package/dist/calcite/p-25e0a2a6.system.entry.js +0 -5
  427. package/dist/calcite/p-2964c736.entry.js +0 -5
  428. package/dist/calcite/p-2e658461.system.entry.js +0 -5
  429. package/dist/calcite/p-32e0cbd7.system.entry.js +0 -5
  430. package/dist/calcite/p-37676cd2.entry.js +0 -5
  431. package/dist/calcite/p-3bfce0ff.entry.js +0 -5
  432. package/dist/calcite/p-3ce1ce39.system.entry.js +0 -5
  433. package/dist/calcite/p-43fd1a31.entry.js +0 -5
  434. package/dist/calcite/p-56b352bf.system.js +0 -5
  435. package/dist/calcite/p-5f55075d.system.entry.js +0 -5
  436. package/dist/calcite/p-646c2fbb.entry.js +0 -5
  437. package/dist/calcite/p-672b7667.entry.js +0 -5
  438. package/dist/calcite/p-72563742.js +0 -5
  439. package/dist/calcite/p-770478dd.system.entry.js +0 -5
  440. package/dist/calcite/p-7c9ccdb5.system.entry.js +0 -5
  441. package/dist/calcite/p-81d6b146.system.entry.js +0 -5
  442. package/dist/calcite/p-874ea2cb.system.entry.js +0 -5
  443. package/dist/calcite/p-8805ccab.system.entry.js +0 -5
  444. package/dist/calcite/p-8cc309a1.system.entry.js +0 -5
  445. package/dist/calcite/p-8e55d8a0.entry.js +0 -5
  446. package/dist/calcite/p-8f097f80.entry.js +0 -5
  447. package/dist/calcite/p-90d75515.system.entry.js +0 -5
  448. package/dist/calcite/p-91645bf7.system.js +0 -5
  449. package/dist/calcite/p-9274789b.js +0 -5
  450. package/dist/calcite/p-9c6e5c3d.system.entry.js +0 -5
  451. package/dist/calcite/p-a48511af.system.entry.js +0 -5
  452. package/dist/calcite/p-ade623c3.system.entry.js +0 -5
  453. package/dist/calcite/p-b2ab0485.js +0 -5
  454. package/dist/calcite/p-b463b6eb.entry.js +0 -5
  455. package/dist/calcite/p-b612e7a8.entry.js +0 -5
  456. package/dist/calcite/p-cc9061b4.system.js +0 -5
  457. package/dist/calcite/p-cd0016bb.entry.js +0 -5
  458. package/dist/calcite/p-cd980c27.entry.js +0 -5
  459. package/dist/calcite/p-cf104aa4.entry.js +0 -5
  460. package/dist/calcite/p-d2d96a44.entry.js +0 -5
  461. package/dist/calcite/p-db274711.entry.js +0 -5
  462. package/dist/calcite/p-e47ee5e0.entry.js +0 -5
  463. package/dist/calcite/p-e488c785.system.entry.js +0 -5
  464. package/dist/calcite/p-e7598b5c.entry.js +0 -5
  465. package/dist/calcite/p-e8b7e0df.entry.js +0 -5
  466. package/dist/calcite/p-e97342f5.js +0 -5
  467. package/dist/calcite/p-eb16cf75.entry.js +0 -5
  468. package/dist/calcite/p-effd9e72.entry.js +0 -5
  469. package/dist/calcite/p-f234ff81.entry.js +0 -5
  470. package/dist/calcite/p-f4825bbd.entry.js +0 -5
  471. package/dist/calcite/p-f63cb0df.system.entry.js +0 -5
  472. package/dist/calcite/p-fc4e10c1.system.entry.js +0 -5
  473. package/dist/cjs/key-8bfb93ec.js +0 -37
  474. package/dist/components/key.js +0 -33
  475. package/dist/esm/key-69001a68.js +0 -33
  476. package/dist/esm-es5/CalciteExpandToggle-a08896cc.js +0 -5
  477. package/dist/esm-es5/key-69001a68.js +0 -5
  478. package/dist/esm-es5/locale-6c1b85c7.js +0 -5
  479. package/dist/esm-es5/number-e7393766.js +0 -5
package/hydrate/index.js CHANGED
@@ -5511,34 +5511,6 @@ const cmpModules = new Map, getModule = e => {
5511
5511
  e["s-p"] = [], e["s-rc"] = [], addHostEventListeners(e, o, t.$listeners$), hostRefs.set(e, o);
5512
5512
  }, styles = new Map;
5513
5513
 
5514
- /**
5515
- * Standardize key property of keyboard event (mostly for ie11)
5516
- */
5517
- function getKey(key, dir) {
5518
- const lookup = {
5519
- Up: "ArrowUp",
5520
- Down: "ArrowDown",
5521
- Left: "ArrowLeft",
5522
- Right: "ArrowRight",
5523
- Spacebar: " ",
5524
- Esc: "Escape"
5525
- };
5526
- const adjustedKey = lookup[key] || key;
5527
- const isRTL = dir === "rtl";
5528
- if (isRTL && adjustedKey === "ArrowLeft") {
5529
- return "ArrowRight";
5530
- }
5531
- if (isRTL && adjustedKey === "ArrowRight") {
5532
- return "ArrowLeft";
5533
- }
5534
- return adjustedKey;
5535
- }
5536
- function isActivationKey(key) {
5537
- key = getKey(key);
5538
- return key === "Enter" || key === " ";
5539
- }
5540
- const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
5541
-
5542
5514
  const calciteAccordionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-accordion:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-accordion{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*/.calcite-animate__in.sc-calcite-accordion{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-accordion{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-accordion{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-accordion{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-accordion:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-accordion-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-accordion-h{--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-accordion-h{--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-accordion-h{--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host*/.sc-calcite-accordion-h{display:block;position:relative;max-width:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);border-bottom-width:0;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}/*!@:host([appearance=minimal])*/[appearance=minimal].sc-calcite-accordion-h{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0;border-color:transparent}/*!@:host([appearance=transparent])*/[appearance=transparent].sc-calcite-accordion-h{border-color:transparent;--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}";
5543
5515
 
5544
5516
  /**
@@ -5598,7 +5570,7 @@ class CalciteAccordion {
5598
5570
  const item = e.detail.item;
5599
5571
  const parent = e.detail.parent;
5600
5572
  if (this.el === parent) {
5601
- const key = getKey(item.key);
5573
+ const key = item.key;
5602
5574
  const itemToFocus = e.target;
5603
5575
  const isFirstItem = this.itemIndex(itemToFocus) === 0;
5604
5576
  const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
@@ -5920,7 +5892,7 @@ class CalciteAccordionItem {
5920
5892
  //--------------------------------------------------------------------------
5921
5893
  keyDownHandler(e) {
5922
5894
  if (e.target === this.el) {
5923
- switch (getKey(e.key)) {
5895
+ switch (e.key) {
5924
5896
  case " ":
5925
5897
  case "Enter":
5926
5898
  this.emitRequestedItem();
@@ -6250,7 +6222,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
6250
6222
  return referenceElement;
6251
6223
  };
6252
6224
  const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
6253
- const rtl = getElementDir(el) === "rtl";
6225
+ const rtl = getElementStyleDir(el) === "rtl";
6254
6226
  const expandText = expanded ? intlCollapse : intlExpand;
6255
6227
  const icons = [ICONS$d.chevronsLeft, ICONS$d.chevronsRight];
6256
6228
  if (rtl) {
@@ -6259,7 +6231,7 @@ const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, p
6259
6231
  const end = getCalcitePosition(position, el) === "end";
6260
6232
  const expandIcon = end ? icons[1] : icons[0];
6261
6233
  const collapseIcon = end ? icons[0] : icons[1];
6262
- const actionNode = (hAsync("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 }));
6234
+ const actionNode = (hAsync("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 }));
6263
6235
  return tooltip ? hAsync("calcite-tooltip-manager", null, actionNode) : actionNode;
6264
6236
  };
6265
6237
 
@@ -7538,6 +7510,28 @@ function throttle$1(func, wait, options) {
7538
7510
  });
7539
7511
  }
7540
7512
 
7513
+ const slotChangedMap = new WeakMap();
7514
+ function onSlotChange() {
7515
+ forceUpdate$1(this);
7516
+ }
7517
+ const eventType = "slotchange";
7518
+ /**
7519
+ * Helper to set up a conditional slot component on connectedCallback.
7520
+ */
7521
+ function connectConditionalSlotComponent(component) {
7522
+ const boundSlotChange = onSlotChange.bind(component);
7523
+ component.el.shadowRoot.addEventListener(eventType, boundSlotChange);
7524
+ slotChangedMap.set(component, boundSlotChange);
7525
+ }
7526
+ /**
7527
+ * Helper to tear down a conditional slot component on disconnectedCallback.
7528
+ */
7529
+ function disconnectConditionalSlotComponent(component) {
7530
+ const boundSlotChange = slotChangedMap.get(component);
7531
+ component.el.shadowRoot.removeEventListener(eventType, boundSlotChange);
7532
+ slotChangedMap.delete(component);
7533
+ }
7534
+
7541
7535
  const calciteActionBarCss = "@-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*/.sc-calcite-action-bar:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-bar{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*/.calcite-animate__in.sc-calcite-action-bar{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-bar{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-bar{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-bar{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-bar-h{-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 **/.sc-calcite-action-bar-h *.sc-calcite-action-bar{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action-bar:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-action-bar-h{display:none}/*!@:host*/.sc-calcite-action-bar-h{-ms-flex-item-align:stretch;align-self:stretch;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;pointer-events:auto;max-width:15vw}/*!@:host([overflow-actions-disabled])*/[overflow-actions-disabled].sc-calcite-action-bar-h{overflow-y:auto}/*!@:host([expanded])*/[expanded].sc-calcite-action-bar-h{max-width:20vw}/*!@::slotted(calcite-action-group)*/.sc-calcite-action-bar-s>calcite-action-group{border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2)}/*!@::slotted(calcite-action-group:last-child)*/.sc-calcite-action-bar-s>calcite-action-group:last-child{border-bottom-width:0}/*!@.action-group--bottom*/.action-group--bottom.sc-calcite-action-bar{padding-bottom:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end}";
7542
7536
 
7543
7537
  /**
@@ -7662,11 +7656,13 @@ class CalciteActionBar {
7662
7656
  (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
7663
7657
  }
7664
7658
  this.conditionallyOverflowActions();
7659
+ connectConditionalSlotComponent(this);
7665
7660
  }
7666
7661
  disconnectedCallback() {
7667
7662
  var _a, _b;
7668
7663
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
7669
7664
  (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
7665
+ disconnectConditionalSlotComponent(this);
7670
7666
  }
7671
7667
  // --------------------------------------------------------------------------
7672
7668
  //
@@ -8982,7 +8978,7 @@ class CalciteBlockSection {
8982
8978
  }
8983
8979
  render() {
8984
8980
  const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
8985
- const dir = getElementDir(el);
8981
+ const dir = getElementStyleDir(el);
8986
8982
  const arrowIcon = open
8987
8983
  ? ICONS$b.menuOpen
8988
8984
  : dir === "rtl"
@@ -9381,7 +9377,7 @@ class CalciteCard {
9381
9377
  this.selectCard();
9382
9378
  };
9383
9379
  this.cardSelectKeyDown = (e) => {
9384
- switch (getKey(e.key)) {
9380
+ switch (e.key) {
9385
9381
  case " ":
9386
9382
  case "Enter":
9387
9383
  this.selectCard();
@@ -10108,7 +10104,7 @@ cs.get.rgb = function (string) {
10108
10104
 
10109
10105
  var abbr = /^#([a-f0-9]{3,4})$/i;
10110
10106
  var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;
10111
- var rgba = /^rgba?\(\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
10107
+ var rgba = /^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
10112
10108
  var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
10113
10109
  var keyword = /^(\w+)$/;
10114
10110
 
@@ -10195,7 +10191,7 @@ cs.get.hsl = function (string) {
10195
10191
  return null;
10196
10192
  }
10197
10193
 
10198
- var hsl = /^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?[\d\.]+)\s*)?\)$/;
10194
+ var hsl = /^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;
10199
10195
  var match = string.match(hsl);
10200
10196
 
10201
10197
  if (match) {
@@ -10216,7 +10212,7 @@ cs.get.hwb = function (string) {
10216
10212
  return null;
10217
10213
  }
10218
10214
 
10219
- var hwb = /^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;
10215
+ var hwb = /^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;
10220
10216
  var match = string.match(hwb);
10221
10217
 
10222
10218
  if (match) {
@@ -12217,7 +12213,7 @@ class CalciteColorPicker {
12217
12213
  this.updateChannelsFromColor(this.color);
12218
12214
  };
12219
12215
  this.handleColorFieldScopeKeyDown = (event) => {
12220
- const key = getKey(event.key);
12216
+ const key = event.key;
12221
12217
  const arrowKeyToXYOffset = {
12222
12218
  ArrowUp: { x: 0, y: -10 },
12223
12219
  ArrowRight: { x: 10, y: 0 },
@@ -12232,7 +12228,7 @@ class CalciteColorPicker {
12232
12228
  };
12233
12229
  this.handleHueScopeKeyDown = (event) => {
12234
12230
  const modifier = event.shiftKey ? 10 : 1;
12235
- const key = getKey(event.key);
12231
+ const key = event.key;
12236
12232
  const arrowKeyToXOffset = {
12237
12233
  ArrowUp: 1,
12238
12234
  ArrowRight: 1,
@@ -12570,7 +12566,7 @@ class CalciteColorPicker {
12570
12566
  // using @Listen as a workaround for VDOM listener not firing
12571
12567
  handleChannelKeyUpOrDown(event) {
12572
12568
  this.shiftKeyChannelAdjustment = 0;
12573
- const key = getKey(event.key);
12569
+ const key = event.key;
12574
12570
  if ((key !== "ArrowUp" && key !== "ArrowDown") ||
12575
12571
  !event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$F.channel); })) {
12576
12572
  return;
@@ -13016,7 +13012,7 @@ class CalciteColorPickerHexInput {
13016
13012
  onInputKeyDown(event) {
13017
13013
  const { altKey, ctrlKey, metaKey, shiftKey } = event;
13018
13014
  const { internalColor, value } = this;
13019
- const key = getKey(event.key);
13015
+ const key = event.key;
13020
13016
  if (key === "Tab" || key === "Enter") {
13021
13017
  this.onInputChange();
13022
13018
  return;
@@ -15103,7 +15099,7 @@ class CalciteCombobox {
15103
15099
  this.setFocus();
15104
15100
  };
15105
15101
  this.keydownHandler = (event) => {
15106
- const key = getKey(event.key, getElementDir(this.el));
15102
+ const { key } = event;
15107
15103
  switch (key) {
15108
15104
  case "Tab":
15109
15105
  this.activeChipIndex = -1;
@@ -15979,6 +15975,11 @@ class CalciteComboboxItemGroup {
15979
15975
  }; }
15980
15976
  }
15981
15977
 
15978
+ function isActivationKey(key) {
15979
+ return key === "Enter" || key === " ";
15980
+ }
15981
+ const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
15982
+
15982
15983
  function isValidNumber(numberString) {
15983
15984
  return !(!numberString || isNaN(Number(numberString)));
15984
15985
  }
@@ -16262,7 +16263,7 @@ class CalciteDatePicker {
16262
16263
  //
16263
16264
  //--------------------------------------------------------------------------
16264
16265
  this.keyUpHandler = (e) => {
16265
- if (getKey(e.key) === "Escape") {
16266
+ if (e.key === "Escape") {
16266
16267
  this.reset();
16267
16268
  }
16268
16269
  };
@@ -16674,7 +16675,7 @@ class CalciteDatePickerDay {
16674
16675
  !this.disabled && this.calciteDaySelect.emit();
16675
16676
  };
16676
16677
  this.keyDownHandler = (e) => {
16677
- const key = getKey(e.key);
16678
+ const key = e.key;
16678
16679
  if (key === " " || key === "Enter") {
16679
16680
  !this.disabled && this.calciteDaySelect.emit();
16680
16681
  }
@@ -16742,7 +16743,7 @@ class CalciteDatePickerMonth {
16742
16743
  //--------------------------------------------------------------------------
16743
16744
  this.keyDownHandler = (e) => {
16744
16745
  const isRTL = this.el.dir === "rtl";
16745
- switch (getKey(e.key)) {
16746
+ switch (e.key) {
16746
16747
  case "ArrowUp":
16747
16748
  e.preventDefault();
16748
16749
  this.addDays(-7);
@@ -17031,7 +17032,7 @@ class CalciteDatePickerMonthHeader {
17031
17032
  */
17032
17033
  this.onYearKey = (e) => {
17033
17034
  const year = e.target.value;
17034
- switch (getKey(e.key)) {
17035
+ switch (e.key) {
17035
17036
  case "ArrowDown":
17036
17037
  e.preventDefault();
17037
17038
  this.setYear(year, -1);
@@ -17049,7 +17050,7 @@ class CalciteDatePickerMonthHeader {
17049
17050
  this.handleArrowClick(e, this.prevMonthDate);
17050
17051
  };
17051
17052
  this.prevMonthKeydown = (e) => {
17052
- const key = getKey(e.key);
17053
+ const key = e.key;
17053
17054
  if (key === " " || key === "Enter") {
17054
17055
  this.prevMonthClick(e);
17055
17056
  }
@@ -17058,7 +17059,7 @@ class CalciteDatePickerMonthHeader {
17058
17059
  this.handleArrowClick(e, this.nextMonthDate);
17059
17060
  };
17060
17061
  this.nextMonthKeydown = (e) => {
17061
- const key = getKey(e.key);
17062
+ const key = e.key;
17062
17063
  if (key === " " || key === "Enter") {
17063
17064
  this.nextMonthClick(e);
17064
17065
  }
@@ -17259,7 +17260,7 @@ class CalciteDropdown {
17259
17260
  };
17260
17261
  this.keyDownHandler = (e) => {
17261
17262
  const target = e.target;
17262
- const key = getKey(e.key);
17263
+ const key = e.key;
17263
17264
  if (this.triggers.includes(target) ||
17264
17265
  this.triggers.some((trigger) => trigger.contains(target))) {
17265
17266
  if (target.nodeName !== "BUTTON" && target.nodeName !== "CALCITE-BUTTON") {
@@ -17380,7 +17381,7 @@ class CalciteDropdown {
17380
17381
  const itemToFocus = target.nodeName !== "A" ? target : target.parentNode;
17381
17382
  const isFirstItem = this.itemIndex(itemToFocus) === 0;
17382
17383
  const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
17383
- switch (getKey(keyboardEvent.key)) {
17384
+ switch (keyboardEvent.key) {
17384
17385
  case "Tab":
17385
17386
  if (isLastItem && !keyboardEvent.shiftKey) {
17386
17387
  this.closeCalciteDropdown();
@@ -17708,7 +17709,7 @@ class CalciteDropdownItem {
17708
17709
  this.emitRequestedItem();
17709
17710
  }
17710
17711
  keyDownHandler(e) {
17711
- switch (getKey(e.key)) {
17712
+ switch (e.key) {
17712
17713
  case " ":
17713
17714
  this.emitRequestedItem();
17714
17715
  if (this.href) {
@@ -17966,25 +17967,12 @@ class CalciteFilter {
17966
17967
  this.setFocus();
17967
17968
  };
17968
17969
  }
17969
- watchDataHandler(value) {
17970
- this.items = value;
17971
- }
17972
17970
  watchItemsHandler() {
17973
17971
  this.filter(this.value);
17974
17972
  }
17975
17973
  valueHandler(value) {
17976
17974
  this.filter(value);
17977
17975
  }
17978
- //--------------------------------------------------------------------------
17979
- //
17980
- // Lifecycle
17981
- //
17982
- //--------------------------------------------------------------------------
17983
- connectedCallback() {
17984
- if (this.data && !this.items) {
17985
- this.items = this.data;
17986
- }
17987
- }
17988
17976
  // --------------------------------------------------------------------------
17989
17977
  //
17990
17978
  // Public Methods
@@ -17997,7 +17985,7 @@ class CalciteFilter {
17997
17985
  updateFiltered(filtered) {
17998
17986
  this.filteredItems.length = 0;
17999
17987
  this.filteredItems = this.filteredItems.concat(filtered);
18000
- this.calciteFilterChange.emit(filtered);
17988
+ this.calciteFilterChange.emit();
18001
17989
  }
18002
17990
  // --------------------------------------------------------------------------
18003
17991
  //
@@ -18013,7 +18001,6 @@ class CalciteFilter {
18013
18001
  }
18014
18002
  get el() { return getElement(this); }
18015
18003
  static get watchers() { return {
18016
- "data": ["watchDataHandler"],
18017
18004
  "items": ["watchItemsHandler"],
18018
18005
  "value": ["valueHandler"]
18019
18006
  }; }
@@ -18022,7 +18009,6 @@ class CalciteFilter {
18022
18009
  "$flags$": 9,
18023
18010
  "$tagName$": "calcite-filter",
18024
18011
  "$members$": {
18025
- "data": [16],
18026
18012
  "items": [1040],
18027
18013
  "disabled": [516],
18028
18014
  "filteredItems": [1040],
@@ -18868,6 +18854,8 @@ class CalciteInput {
18868
18854
  * Note that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`
18869
18855
  */
18870
18856
  this.type = "text";
18857
+ /** input value */
18858
+ this.value = "";
18871
18859
  /** keep track of the rendered child type */
18872
18860
  this.childElType = "input";
18873
18861
  //--------------------------------------------------------------------------
@@ -18883,13 +18871,13 @@ class CalciteInput {
18883
18871
  if (this.readOnly || this.disabled) {
18884
18872
  return;
18885
18873
  }
18886
- if (this.isClearable && getKey(event.key) === "Escape") {
18874
+ if (this.isClearable && event.key === "Escape") {
18887
18875
  this.clearInputValue(event);
18888
18876
  event.preventDefault();
18889
18877
  }
18890
18878
  };
18891
18879
  this.clearInputValue = (nativeEvent) => {
18892
- this.setValue(null, nativeEvent, true);
18880
+ this.setValue("", nativeEvent, true);
18893
18881
  };
18894
18882
  this.inputBlurHandler = () => {
18895
18883
  if (this.type === "number") {
@@ -19031,7 +19019,7 @@ class CalciteInput {
19031
19019
  this.setLocalizedValue(this.value);
19032
19020
  }
19033
19021
  if (nativeEvent) {
19034
- if (this.type === "number" && (value === null || value === void 0 ? void 0 : value.endsWith("."))) {
19022
+ if (this.type === "number" && value.endsWith(".")) {
19035
19023
  return;
19036
19024
  }
19037
19025
  const calciteInputInputEvent = this.calciteInputInput.emit({
@@ -19066,6 +19054,10 @@ class CalciteInput {
19066
19054
  this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
19067
19055
  }
19068
19056
  valueWatcher(newValue) {
19057
+ if (newValue == null) {
19058
+ this.value = "";
19059
+ return;
19060
+ }
19069
19061
  if (this.type === "number" &&
19070
19062
  this.localizedValue !== localizeNumberString(newValue, this.locale)) {
19071
19063
  this.setLocalizedValue(newValue);
@@ -19078,8 +19070,7 @@ class CalciteInput {
19078
19070
  this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
19079
19071
  }
19080
19072
  get isClearable() {
19081
- var _a;
19082
- return !this.isTextarea && (this.clearable || this.type === "search") && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
19073
+ return !this.isTextarea && (this.clearable || this.type === "search") && this.value.length > 0;
19083
19074
  }
19084
19075
  get isTextarea() {
19085
19076
  return this.childElType === "textarea";
@@ -19352,7 +19343,7 @@ class CalciteInputDatePicker {
19352
19343
  this.active = false;
19353
19344
  };
19354
19345
  this.keyUpHandler = (e) => {
19355
- if (getKey(e.key) === "Escape") {
19346
+ if (e.key === "Escape") {
19356
19347
  this.active = false;
19357
19348
  }
19358
19349
  };
@@ -19991,7 +19982,7 @@ class CalciteInputTimePicker {
19991
19982
  this.internalValueChange = false;
19992
19983
  }
19993
19984
  keyUpHandler(event) {
19994
- if (getKey(event.key) === "Escape" && this.active) {
19985
+ if (event.key === "Escape" && this.active) {
19995
19986
  this.active = false;
19996
19987
  }
19997
19988
  }
@@ -20834,7 +20825,7 @@ class CalciteModal {
20834
20825
  //
20835
20826
  //--------------------------------------------------------------------------
20836
20827
  handleEscape(e) {
20837
- if (this.active && !this.disableEscape && getKey(e.key) === "Escape") {
20828
+ if (this.active && !this.disableEscape && e.key === "Escape") {
20838
20829
  this.close();
20839
20830
  }
20840
20831
  }
@@ -21483,7 +21474,7 @@ class CalcitePanel {
21483
21474
  this.setBackRef = (node) => {
21484
21475
  this.backButtonEl = node;
21485
21476
  };
21486
- this.panelKeyUpHandler = (event) => {
21477
+ this.panelKeyDownHandler = (event) => {
21487
21478
  if (event.key === "Escape") {
21488
21479
  this.dismiss();
21489
21480
  }
@@ -21526,7 +21517,7 @@ class CalcitePanel {
21526
21517
  // --------------------------------------------------------------------------
21527
21518
  renderBackButton() {
21528
21519
  const { el } = this;
21529
- const rtl = getElementDir(el) === "rtl";
21520
+ const rtl = getElementStyleDir(el) === "rtl";
21530
21521
  const { showBackButton, intlBack, backButtonClick } = this;
21531
21522
  const label = intlBack || TEXT$8.back;
21532
21523
  const icon = rtl ? ICONS$5.backRight : ICONS$5.backLeft;
@@ -21600,12 +21591,12 @@ class CalcitePanel {
21600
21591
  return (hAsync("div", { class: CSS$j.fabContainer }, hAsync("slot", { name: SLOTS$c.fab })));
21601
21592
  }
21602
21593
  render() {
21603
- const { dismissed, disabled, dismissible, el, loading, panelKeyUpHandler } = this;
21594
+ const { dismissed, disabled, dismissible, el, loading, panelKeyDownHandler } = this;
21604
21595
  const rtl = getElementDir(el) === "rtl";
21605
21596
  const panelNode = (hAsync("article", { "aria-busy": loading.toString(), class: {
21606
21597
  [CSS$j.container]: true,
21607
21598
  [CSS_UTILITY.rtl]: rtl
21608
- }, hidden: dismissible && dismissed, onKeyUp: panelKeyUpHandler, ref: this.setContainerRef, tabIndex: dismissible ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterSlottedContent() || this.renderFooterActions()));
21599
+ }, hidden: dismissible && dismissed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: dismissible ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterSlottedContent() || this.renderFooterActions()));
21609
21600
  return (hAsync(Fragment, null, loading || disabled ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
21610
21601
  }
21611
21602
  get el() { return getElement(this); }
@@ -21858,8 +21849,8 @@ function selectSiblings(item, deselect = false) {
21858
21849
  }
21859
21850
  let groups;
21860
21851
  function handleFilter(event) {
21861
- const filteredData = event.detail;
21862
- const values = filteredData.map((item) => item.value);
21852
+ const { filteredItems } = event.currentTarget;
21853
+ const values = filteredItems.map((item) => item.value);
21863
21854
  let hasSelectedMatch = false;
21864
21855
  if (!groups) {
21865
21856
  groups = new Set();
@@ -21922,7 +21913,7 @@ const List = (_a) => {
21922
21913
  return (hAsync(Host, Object.assign({ "aria-busy": loading.toString(), "aria-disabled": disabled.toString(), role: "menu" }, rest),
21923
21914
  hAsync("section", null,
21924
21915
  hAsync("header", { class: { [CSS$i.sticky]: true } },
21925
- filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, data: dataForFilter, dir: getElementDir(el), disabled: loading || disabled, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
21916
+ filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, dir: getElementDir(el), disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
21926
21917
  hAsync("slot", { name: SLOTS$b.menuActions })),
21927
21918
  loading || disabled ? hAsync("calcite-scrim", { loading: loading }) : null,
21928
21919
  defaultSlot)));
@@ -22348,7 +22339,7 @@ const ARIA_CONTROLS = "aria-controls";
22348
22339
  const ARIA_EXPANDED = "aria-expanded";
22349
22340
  const HEADING_LEVEL$2 = 2;
22350
22341
 
22351
- const calcitePopoverCss = "@-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*/.sc-calcite-popover:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-popover{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*/.calcite-animate__in.sc-calcite-popover{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-popover{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-popover{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-popover{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-popover:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-popover-h{display:none}/*!@:host*/.sc-calcite-popover-h{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}/*!@.calcite-popper-anim*/.calcite-popper-anim.sc-calcite-popover{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}/*!@:host([data-popper-placement^=bottom]) .calcite-popper-anim*/[data-popper-placement^=bottom].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@:host([data-popper-placement^=top]) .calcite-popper-anim*/[data-popper-placement^=top].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@:host([data-popper-placement^=left]) .calcite-popper-anim*/[data-popper-placement^=left].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@:host([data-popper-placement^=right]) .calcite-popper-anim*/[data-popper-placement^=right].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@:host([data-popper-placement]) .calcite-popper-anim--active*/[data-popper-placement].sc-calcite-popover-h .calcite-popper-anim--active.sc-calcite-popover{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-popover,.arrow.sc-calcite-popover::before{position:absolute;width:8px;height:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{content:\"\";-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);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}/*!@:host([data-popper-placement^=top]) .arrow*/[data-popper-placement^=top].sc-calcite-popover-h .arrow.sc-calcite-popover{bottom:-4px}/*!@:host([data-popper-placement^=bottom]) .arrow*/[data-popper-placement^=bottom].sc-calcite-popover-h .arrow.sc-calcite-popover{top:-4px}/*!@:host([data-popper-placement^=left]) .arrow*/[data-popper-placement^=left].sc-calcite-popover-h .arrow.sc-calcite-popover{right:-4px}/*!@:host([data-popper-placement^=right]) .arrow*/[data-popper-placement^=right].sc-calcite-popover-h .arrow.sc-calcite-popover{left:-4px}/*!@:host*/.sc-calcite-popover-h{pointer-events:none}/*!@:host([open])*/[open].sc-calcite-popover-h{pointer-events:initial}/*!@.calcite-popper-anim*/.calcite-popper-anim.sc-calcite-popover{background-color:var(--calcite-ui-foreground-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);border-radius:0.25rem}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{outline:1px solid var(--calcite-ui-border-3)}/*!@.header*/.header.sc-calcite-popover{border-width:0;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-3);border-style:solid;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start}/*!@.heading*/.heading.sc-calcite-popover{display:block;-ms-flex:1 1 auto;flex:1 1 auto;font-weight:var(--calcite-font-weight-medium);margin:0;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-font-size-0);line-height:1.375;white-space:normal;word-wrap:break-word;word-break:break-word}/*!@.container*/.container.sc-calcite-popover{background-color:var(--calcite-ui-foreground-1);position:relative;display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:row;flex-direction:row;height:100%;color:var(--calcite-ui-text-1);border-radius:0.25rem}/*!@.container.has-header*/.container.has-header.sc-calcite-popover{-ms-flex-direction:column;flex-direction:column}/*!@.content*/.content.sc-calcite-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;height:100%;width:100%}/*!@.calcite--rtl .close-button*/.calcite--rtl.sc-calcite-popover .close-button.sc-calcite-popover{border-radius:0.25rem 0 0 0.25rem}/*!@::slotted(calcite-panel),\n::slotted(calcite-flow)*/.sc-calcite-popover-s>calcite-panel,.sc-calcite-popover-s>calcite-flow{height:100%}";
22342
+ const calcitePopoverCss = "@-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*/.sc-calcite-popover:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-popover{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*/.calcite-animate__in.sc-calcite-popover{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-popover{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-popover{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-popover{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-popover:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-popover-h{display:none}/*!@:host*/.sc-calcite-popover-h{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}/*!@.calcite-popper-anim*/.calcite-popper-anim.sc-calcite-popover{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}/*!@:host([data-popper-placement^=bottom]) .calcite-popper-anim*/[data-popper-placement^=bottom].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@:host([data-popper-placement^=top]) .calcite-popper-anim*/[data-popper-placement^=top].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@:host([data-popper-placement^=left]) .calcite-popper-anim*/[data-popper-placement^=left].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@:host([data-popper-placement^=right]) .calcite-popper-anim*/[data-popper-placement^=right].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@:host([data-popper-placement]) .calcite-popper-anim--active*/[data-popper-placement].sc-calcite-popover-h .calcite-popper-anim--active.sc-calcite-popover{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-popover,.arrow.sc-calcite-popover::before{position:absolute;width:8px;height:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{content:\"\";-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);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}/*!@:host([data-popper-placement^=top]) .arrow*/[data-popper-placement^=top].sc-calcite-popover-h .arrow.sc-calcite-popover{bottom:-4px}/*!@:host([data-popper-placement^=bottom]) .arrow*/[data-popper-placement^=bottom].sc-calcite-popover-h .arrow.sc-calcite-popover{top:-4px}/*!@:host([data-popper-placement^=left]) .arrow*/[data-popper-placement^=left].sc-calcite-popover-h .arrow.sc-calcite-popover{right:-4px}/*!@:host([data-popper-placement^=right]) .arrow*/[data-popper-placement^=right].sc-calcite-popover-h .arrow.sc-calcite-popover{left:-4px}/*!@:host*/.sc-calcite-popover-h{pointer-events:none}/*!@:host([open])*/[open].sc-calcite-popover-h{pointer-events:initial}/*!@.calcite-popper-anim*/.calcite-popper-anim.sc-calcite-popover{background-color:var(--calcite-ui-foreground-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);border-radius:0.25rem}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{outline:1px solid var(--calcite-ui-border-3)}/*!@.header*/.header.sc-calcite-popover{border-width:0;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-3);border-style:solid;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start}/*!@.heading*/.heading.sc-calcite-popover{display:block;-ms-flex:1 1 auto;flex:1 1 auto;font-weight:var(--calcite-font-weight-medium);margin:0;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-font-size-0);line-height:1.375;white-space:normal;word-wrap:break-word;word-break:break-word}/*!@.container*/.container.sc-calcite-popover{background-color:var(--calcite-ui-foreground-1);position:relative;display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:row;flex-direction:row;height:100%;color:var(--calcite-ui-text-1);border-radius:0.25rem}/*!@.container.has-header*/.container.has-header.sc-calcite-popover{-ms-flex-direction:column;flex-direction:column}/*!@.content*/.content.sc-calcite-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;overflow:hidden;height:100%;width:100%}/*!@.calcite--rtl .close-button*/.calcite--rtl.sc-calcite-popover .close-button.sc-calcite-popover{border-radius:0.25rem 0 0 0.25rem}/*!@::slotted(calcite-panel),\n::slotted(calcite-flow)*/.sc-calcite-popover-s>calcite-panel,.sc-calcite-popover-s>calcite-flow{height:100%}";
22352
22343
 
22353
22344
  /**
22354
22345
  * @slot - A slot for adding custom content.
@@ -22889,7 +22880,7 @@ class CalciteRadioButton {
22889
22880
  };
22890
22881
  this.handleKeyDown = (event) => {
22891
22882
  const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
22892
- const key = getKey(event.key);
22883
+ const key = event.key;
22893
22884
  const { el } = this;
22894
22885
  if (keys.indexOf(key) === -1) {
22895
22886
  return;
@@ -22899,7 +22890,7 @@ class CalciteRadioButton {
22899
22890
  return;
22900
22891
  }
22901
22892
  let adjustedKey = key;
22902
- if (getElementDir(el) === "rtl") {
22893
+ if (getElementStyleDir(el) === "rtl") {
22903
22894
  if (key === "ArrowRight") {
22904
22895
  adjustedKey = "ArrowLeft";
22905
22896
  }
@@ -23227,7 +23218,7 @@ class CalciteRadioGroup {
23227
23218
  //--------------------------------------------------------------------------
23228
23219
  this.handleClick = (event) => {
23229
23220
  if (event.target.localName === "calcite-radio-group-item") {
23230
- this.selectItem(event.target);
23221
+ this.selectItem(event.target, true);
23231
23222
  }
23232
23223
  };
23233
23224
  }
@@ -23246,7 +23237,6 @@ class CalciteRadioGroup {
23246
23237
  .pop();
23247
23238
  if (match) {
23248
23239
  this.selectItem(match);
23249
- this.calciteRadioGroupChange.emit(match.value);
23250
23240
  }
23251
23241
  else if (items[0]) {
23252
23242
  items[0].tabIndex = 0;
@@ -23257,7 +23247,7 @@ class CalciteRadioGroup {
23257
23247
  // Lifecycle
23258
23248
  //
23259
23249
  //--------------------------------------------------------------------------
23260
- connectedCallback() {
23250
+ componentWillLoad() {
23261
23251
  const items = this.getItems();
23262
23252
  const lastChecked = Array.from(items)
23263
23253
  .filter((item) => item.checked)
@@ -23268,6 +23258,8 @@ class CalciteRadioGroup {
23268
23258
  else if (items[0]) {
23269
23259
  items[0].tabIndex = 0;
23270
23260
  }
23261
+ }
23262
+ connectedCallback() {
23271
23263
  connectLabel(this);
23272
23264
  connectForm(this);
23273
23265
  }
@@ -23275,29 +23267,23 @@ class CalciteRadioGroup {
23275
23267
  disconnectLabel(this);
23276
23268
  disconnectForm(this);
23277
23269
  }
23278
- componentDidLoad() {
23279
- this.hasLoaded = true;
23280
- }
23281
23270
  render() {
23282
23271
  return (hAsync(Host, { onClick: this.handleClick, role: "radiogroup", tabIndex: this.disabled ? -1 : null }, hAsync("slot", null), hAsync(HiddenFormInputSlot, { component: this })));
23283
23272
  }
23284
23273
  handleSelected(event) {
23285
- // only fire after initial setup to prevent semi-infinite loops
23286
- if (this.hasLoaded) {
23287
- event.stopPropagation();
23288
- event.preventDefault();
23289
- this.selectItem(event.target);
23290
- }
23274
+ event.stopPropagation();
23275
+ event.preventDefault();
23276
+ this.selectItem(event.target);
23291
23277
  }
23292
23278
  handleKeyDown(event) {
23293
23279
  const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
23294
- const key = getKey(event.key);
23280
+ const key = event.key;
23295
23281
  const { el, selectedItem } = this;
23296
23282
  if (keys.indexOf(key) === -1) {
23297
23283
  return;
23298
23284
  }
23299
23285
  let adjustedKey = key;
23300
- if (getElementDir(el) === "rtl") {
23286
+ if (getElementStyleDir(el) === "rtl") {
23301
23287
  if (key === "ArrowRight") {
23302
23288
  adjustedKey = "ArrowLeft";
23303
23289
  }
@@ -23317,17 +23303,17 @@ class CalciteRadioGroup {
23317
23303
  case "ArrowUp":
23318
23304
  event.preventDefault();
23319
23305
  const previous = selectedIndex < 1 ? items.item(items.length - 1) : items.item(selectedIndex - 1);
23320
- this.selectItem(previous);
23306
+ this.selectItem(previous, true);
23321
23307
  return;
23322
23308
  case "ArrowRight":
23323
23309
  case "ArrowDown":
23324
23310
  event.preventDefault();
23325
23311
  const next = selectedIndex === -1 ? items.item(1) : items.item(selectedIndex + 1) || items.item(0);
23326
- this.selectItem(next);
23312
+ this.selectItem(next, true);
23327
23313
  return;
23328
23314
  case " ":
23329
23315
  event.preventDefault();
23330
- this.selectItem(event.target);
23316
+ this.selectItem(event.target, true);
23331
23317
  return;
23332
23318
  default:
23333
23319
  return;
@@ -23354,7 +23340,7 @@ class CalciteRadioGroup {
23354
23340
  getItems() {
23355
23341
  return this.el.querySelectorAll("calcite-radio-group-item");
23356
23342
  }
23357
- selectItem(selected) {
23343
+ selectItem(selected, emit = false) {
23358
23344
  if (selected === this.selectedItem) {
23359
23345
  return;
23360
23346
  }
@@ -23368,6 +23354,9 @@ class CalciteRadioGroup {
23368
23354
  item.tabIndex = matches ? 0 : -1;
23369
23355
  if (matches) {
23370
23356
  match = item;
23357
+ if (emit) {
23358
+ this.calciteRadioGroupChange.emit(match.value);
23359
+ }
23371
23360
  }
23372
23361
  });
23373
23362
  this.selectedItem = match;
@@ -23830,6 +23819,7 @@ class CalciteSelect {
23830
23819
  this.updateNativeElement(optionOrGroup, nativeEl);
23831
23820
  if (isOption(optionOrGroup) && optionOrGroup.selected) {
23832
23821
  this.deselectAllExcept(optionOrGroup);
23822
+ this.selectedOption = optionOrGroup;
23833
23823
  }
23834
23824
  }
23835
23825
  //--------------------------------------------------------------------------
@@ -23869,7 +23859,7 @@ class CalciteSelect {
23869
23859
  }
23870
23860
  });
23871
23861
  if (futureSelected) {
23872
- requestAnimationFrame(() => (this.selectedOption = futureSelected));
23862
+ this.selectedOption = futureSelected;
23873
23863
  }
23874
23864
  }
23875
23865
  toNativeElement(optionOrGroup) {
@@ -24659,7 +24649,7 @@ class CalciteSlider {
24659
24649
  const mirror = this.shouldMirror();
24660
24650
  const { activeProp, max, min, pageStep, step } = this;
24661
24651
  const value = this[activeProp];
24662
- const key = getKey(event.key);
24652
+ const key = event.key;
24663
24653
  if (key === "Enter" || key === " ") {
24664
24654
  event.preventDefault();
24665
24655
  return;
@@ -28429,7 +28419,7 @@ class CalciteStepper {
28429
28419
  const itemToFocus = e.target;
28430
28420
  const isFirstItem = this.itemIndex(itemToFocus) === 0;
28431
28421
  const isLastItem = this.itemIndex(itemToFocus) === this.sortedItems.length - 1;
28432
- switch (getKey(item.key)) {
28422
+ switch (item.key) {
28433
28423
  case "ArrowDown":
28434
28424
  case "ArrowRight":
28435
28425
  if (isLastItem) {
@@ -28664,7 +28654,7 @@ class CalciteStepperItem {
28664
28654
  //--------------------------------------------------------------------------
28665
28655
  keyDownHandler(e) {
28666
28656
  if (!this.disabled && e.target === this.el) {
28667
- switch (getKey(e.key)) {
28657
+ switch (e.key) {
28668
28658
  case " ":
28669
28659
  case "Enter":
28670
28660
  this.emitRequestedItem();
@@ -28785,7 +28775,7 @@ class CalciteSwitch {
28785
28775
  //
28786
28776
  //--------------------------------------------------------------------------
28787
28777
  this.keyDownHandler = (e) => {
28788
- const key = getKey(e.key);
28778
+ const key = e.key;
28789
28779
  if (!this.disabled && (key === " " || key === "Enter")) {
28790
28780
  this.toggle();
28791
28781
  }
@@ -29078,7 +29068,7 @@ class CalciteTabNav {
29078
29068
  }
29079
29069
  }
29080
29070
  render() {
29081
- const dir = getElementDir(this.el);
29071
+ const dir = getElementStyleDir(this.el);
29082
29072
  const width = `${this.indicatorWidth}px`;
29083
29073
  const offset = `${this.indicatorOffset}px`;
29084
29074
  const indicatorStyle = dir !== "rtl" ? { width, left: offset } : { width, right: offset };
@@ -29135,7 +29125,7 @@ class CalciteTabNav {
29135
29125
  }
29136
29126
  updateOffsetPosition() {
29137
29127
  var _a, _b, _c, _d, _e;
29138
- const dir = getElementDir(this.el);
29128
+ const dir = getElementStyleDir(this.el);
29139
29129
  const navWidth = (_a = this.activeIndicatorContainerEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;
29140
29130
  const tabLeft = (_b = this.selectedTabEl) === null || _b === void 0 ? void 0 : _b.offsetLeft;
29141
29131
  const tabWidth = (_c = this.selectedTabEl) === null || _c === void 0 ? void 0 : _c.offsetWidth;
@@ -29305,14 +29295,14 @@ class CalciteTabTitle {
29305
29295
  this.emitActiveTab();
29306
29296
  }
29307
29297
  keyDownHandler(e) {
29308
- switch (getKey(e.key)) {
29298
+ switch (e.key) {
29309
29299
  case " ":
29310
29300
  case "Enter":
29311
29301
  this.emitActiveTab();
29312
29302
  e.preventDefault();
29313
29303
  break;
29314
29304
  case "ArrowRight":
29315
- if (getElementDir(this.el) === "ltr") {
29305
+ if (getElementStyleDir(this.el) === "ltr") {
29316
29306
  this.calciteTabsFocusNext.emit();
29317
29307
  }
29318
29308
  else {
@@ -29320,7 +29310,7 @@ class CalciteTabTitle {
29320
29310
  }
29321
29311
  break;
29322
29312
  case "ArrowLeft":
29323
- if (getElementDir(this.el) === "ltr") {
29313
+ if (getElementStyleDir(this.el) === "ltr") {
29324
29314
  this.calciteTabsFocusPrevious.emit();
29325
29315
  }
29326
29316
  else {
@@ -30020,7 +30010,7 @@ class CalciteTimePicker {
30020
30010
  }
30021
30011
  };
30022
30012
  this.hourKeyDownHandler = (event) => {
30023
- const key = getKey(event.key);
30013
+ const key = event.key;
30024
30014
  if (numberKeys.includes(key)) {
30025
30015
  const keyAsNumber = parseInt(key);
30026
30016
  let newHour;
@@ -30108,7 +30098,7 @@ class CalciteTimePicker {
30108
30098
  }
30109
30099
  };
30110
30100
  this.meridiemKeyDownHandler = (event) => {
30111
- switch (getKey(event.key)) {
30101
+ switch (event.key) {
30112
30102
  case "a":
30113
30103
  this.setTime("meridiem", "AM");
30114
30104
  break;
@@ -30144,7 +30134,7 @@ class CalciteTimePicker {
30144
30134
  }
30145
30135
  };
30146
30136
  this.minuteKeyDownHandler = (event) => {
30147
- const key = getKey(event.key);
30137
+ const key = event.key;
30148
30138
  if (numberKeys.includes(key)) {
30149
30139
  const keyAsNumber = parseInt(key);
30150
30140
  let newMinute;
@@ -30192,7 +30182,7 @@ class CalciteTimePicker {
30192
30182
  }
30193
30183
  };
30194
30184
  this.secondKeyDownHandler = (event) => {
30195
- const key = getKey(event.key);
30185
+ const key = event.key;
30196
30186
  if (numberKeys.includes(key)) {
30197
30187
  const keyAsNumber = parseInt(key);
30198
30188
  let newSecond;
@@ -30301,7 +30291,7 @@ class CalciteTimePicker {
30301
30291
  this.calciteTimePickerFocus.emit();
30302
30292
  }
30303
30293
  keyDownHandler(event) {
30304
- const key = getKey(event.key);
30294
+ const key = event.key;
30305
30295
  switch (this.activeEl) {
30306
30296
  case this.hourEl:
30307
30297
  if (key === "ArrowRight") {
@@ -30360,7 +30350,7 @@ class CalciteTimePicker {
30360
30350
  (_a = this[`${target || "hour"}El`]) === null || _a === void 0 ? void 0 : _a.focus();
30361
30351
  }
30362
30352
  buttonActivated(event) {
30363
- const key = getKey(event.key);
30353
+ const key = event.key;
30364
30354
  if (key === " ") {
30365
30355
  event.preventDefault();
30366
30356
  }
@@ -30785,7 +30775,7 @@ class CalciteTipManager {
30785
30775
  //
30786
30776
  // --------------------------------------------------------------------------
30787
30777
  renderPagination() {
30788
- const dir = getElementDir(this.el);
30778
+ const dir = getElementStyleDir(this.el);
30789
30779
  const { selectedIndex, tips, total, intlNext, intlPrevious, intlPaginationLabel } = this;
30790
30780
  const nextLabel = intlNext || TEXT$1.next;
30791
30781
  const previousLabel = intlPrevious || TEXT$1.previous;
@@ -31164,7 +31154,7 @@ class CalciteTooltipManager {
31164
31154
  //
31165
31155
  //--------------------------------------------------------------------------
31166
31156
  keyUpHandler(event) {
31167
- if (getKey(event.key) === "Escape") {
31157
+ if (event.key === "Escape") {
31168
31158
  const { tooltipEl } = this;
31169
31159
  if (tooltipEl) {
31170
31160
  this.clearHoverTimeout(tooltipEl);
@@ -31585,7 +31575,7 @@ class CalciteTreeItem {
31585
31575
  }
31586
31576
  keyDownHandler(e) {
31587
31577
  let root;
31588
- switch (getKey(e.key)) {
31578
+ switch (e.key) {
31589
31579
  case " ":
31590
31580
  this.calciteTreeItemSelect.emit({
31591
31581
  modifyCurrentSelection: e.shiftKey,