@esri/calcite-components 1.0.0-next.313 → 1.0.0-next.317

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 (497) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/p-01c9406e.js +5 -0
  3. package/dist/calcite/{p-765fb8ed.entry.js → p-058ee7b0.entry.js} +1 -1
  4. package/dist/calcite/p-0b53c2c6.system.entry.js +5 -0
  5. package/dist/calcite/p-0d67d5bf.system.entry.js +5 -0
  6. package/dist/calcite/{p-59a285d8.system.entry.js → p-0f33798d.system.entry.js} +1 -1
  7. package/dist/calcite/{p-e70cb594.system.entry.js → p-0f9f1f89.system.entry.js} +1 -1
  8. package/dist/calcite/p-12a9599d.system.entry.js +5 -0
  9. package/dist/calcite/p-141051c4.entry.js +5 -0
  10. package/dist/calcite/{p-9338b0bc.entry.js → p-198902ca.entry.js} +1 -1
  11. package/dist/calcite/p-19d3c50f.system.entry.js +5 -0
  12. package/dist/calcite/{p-cc788d2e.entry.js → p-1ad123f9.entry.js} +1 -1
  13. package/dist/calcite/p-1de453ba.entry.js +5 -0
  14. package/dist/calcite/p-1e4955d7.entry.js +5 -0
  15. package/dist/calcite/{p-e33fe285.system.entry.js → p-1eb04aad.system.entry.js} +1 -1
  16. package/dist/calcite/p-1eb85972.entry.js +5 -0
  17. package/dist/calcite/{p-deb36fde.system.entry.js → p-1f809e6c.system.entry.js} +1 -1
  18. package/dist/calcite/{p-1c8fe17f.system.entry.js → p-2033f545.system.entry.js} +1 -1
  19. package/dist/calcite/{p-f9c46578.entry.js → p-23bc2d32.entry.js} +1 -1
  20. package/dist/calcite/{p-a19e423a.entry.js → p-266ee9db.entry.js} +1 -1
  21. package/dist/calcite/p-26f8f2d1.js +5 -0
  22. package/dist/calcite/{p-d6e30c54.entry.js → p-29d4765b.entry.js} +1 -1
  23. package/dist/calcite/p-2b137143.system.entry.js +5 -0
  24. package/dist/calcite/{p-4e16515a.system.entry.js → p-30afa3c6.system.entry.js} +1 -1
  25. package/dist/calcite/p-35c5e6bd.entry.js +5 -0
  26. package/dist/calcite/{p-ecc00ef0.entry.js → p-3d69fba9.entry.js} +1 -1
  27. package/dist/calcite/p-3ec67fae.entry.js +5 -0
  28. package/dist/calcite/{p-6484ffb7.system.entry.js → p-3f07a3e7.system.entry.js} +1 -1
  29. package/dist/calcite/p-3f82f702.system.entry.js +5 -0
  30. package/dist/calcite/p-41f87fe7.entry.js +5 -0
  31. package/dist/calcite/p-42091a1f.system.entry.js +5 -0
  32. package/dist/calcite/p-43020fb5.js +5 -0
  33. package/dist/calcite/p-437e9d52.entry.js +5 -0
  34. package/dist/calcite/p-44a07313.system.entry.js +5 -0
  35. package/dist/calcite/{p-c34c4414.system.js → p-47f55191.system.js} +1 -1
  36. package/dist/calcite/{p-e52495d3.system.entry.js → p-4a8b3cf3.system.entry.js} +1 -1
  37. package/dist/calcite/p-4af85388.system.entry.js +5 -0
  38. package/dist/calcite/p-4bd82e40.system.js +5 -0
  39. package/dist/calcite/p-4e47f1a5.entry.js +5 -0
  40. package/dist/calcite/{p-cced5508.system.entry.js → p-4ee2f6cf.system.entry.js} +1 -1
  41. package/dist/calcite/p-5035488d.entry.js +5 -0
  42. package/dist/calcite/p-52578054.js +5 -0
  43. package/dist/calcite/p-535d635b.system.entry.js +5 -0
  44. package/dist/calcite/{p-ef39847e.entry.js → p-55bfe4fc.entry.js} +1 -1
  45. package/dist/calcite/p-58e21391.system.entry.js +5 -0
  46. package/dist/calcite/p-5c606579.entry.js +5 -0
  47. package/dist/calcite/p-5dc52ebc.entry.js +5 -0
  48. package/dist/calcite/p-5dce20e5.system.entry.js +5 -0
  49. package/dist/calcite/{p-dff7dc90.system.js → p-60916f97.system.js} +1 -1
  50. package/dist/calcite/p-65748440.entry.js +5 -0
  51. package/dist/calcite/p-6af46786.entry.js +5 -0
  52. package/dist/calcite/{p-e6d05ad6.system.entry.js → p-6c5b849f.system.entry.js} +1 -1
  53. package/dist/calcite/{p-c61ebee9.entry.js → p-702140ce.entry.js} +1 -1
  54. package/dist/calcite/{p-523bc291.system.js → p-71cdeee3.system.js} +1 -1
  55. package/dist/calcite/p-71e299a6.system.js +5 -0
  56. package/dist/calcite/{p-a5e8f022.system.entry.js → p-730b8963.system.entry.js} +1 -1
  57. package/dist/calcite/p-7311f615.entry.js +5 -0
  58. package/dist/calcite/{p-4d11efdb.system.entry.js → p-7325e7fc.system.entry.js} +1 -1
  59. package/dist/calcite/p-732d4acf.entry.js +5 -0
  60. package/dist/calcite/{p-25caf637.system.entry.js → p-784e4e32.system.entry.js} +1 -1
  61. package/dist/calcite/p-7bf46f12.system.entry.js +5 -0
  62. package/dist/calcite/{p-cf03b144.system.entry.js → p-832affcb.system.entry.js} +1 -1
  63. package/dist/calcite/{p-38bd222a.entry.js → p-87f1831b.entry.js} +1 -1
  64. package/dist/calcite/p-88784777.system.entry.js +5 -0
  65. package/dist/calcite/{p-4acfb654.entry.js → p-88b4f504.entry.js} +1 -1
  66. package/dist/calcite/{p-f1c5e7cf.entry.js → p-89987575.entry.js} +1 -1
  67. package/dist/calcite/{p-c4cb4fab.system.entry.js → p-8b2d4eac.system.entry.js} +1 -1
  68. package/dist/calcite/p-8e252799.system.js +1 -1
  69. package/dist/calcite/{p-ace12b8d.entry.js → p-9339cca3.entry.js} +1 -1
  70. package/dist/calcite/{p-f07d3627.js → p-935ff1d1.js} +1 -1
  71. package/dist/calcite/{p-1dd440e6.system.entry.js → p-9470d123.system.entry.js} +1 -1
  72. package/dist/calcite/p-949c8f43.system.entry.js +5 -0
  73. package/dist/calcite/{p-840f2937.system.entry.js → p-95a17f62.system.entry.js} +1 -1
  74. package/dist/calcite/p-9634f89d.entry.js +5 -0
  75. package/dist/calcite/p-97f8034a.system.entry.js +5 -0
  76. package/dist/calcite/{p-004460a0.system.entry.js → p-99e52ea7.system.entry.js} +1 -1
  77. package/dist/calcite/{p-29771742.entry.js → p-9be50494.entry.js} +1 -1
  78. package/dist/calcite/p-9dff8dc8.system.entry.js +5 -0
  79. package/dist/calcite/p-a7be885b.entry.js +5 -0
  80. package/dist/calcite/{p-15f3a0d7.system.entry.js → p-a821e9b3.system.entry.js} +1 -1
  81. package/dist/calcite/{p-b94bf8ac.system.entry.js → p-a98e5444.system.entry.js} +2 -2
  82. package/dist/calcite/p-ab8ce668.system.entry.js +5 -0
  83. package/dist/calcite/{p-74f390e1.system.entry.js → p-ac38b743.system.entry.js} +2 -2
  84. package/dist/calcite/{p-6296644b.entry.js → p-b16b831d.entry.js} +1 -1
  85. package/dist/calcite/{p-e956e279.js → p-b22ebcf2.js} +1 -1
  86. package/dist/calcite/{p-16f2d814.system.entry.js → p-b37b7b9e.system.entry.js} +1 -1
  87. package/dist/calcite/{p-defcee80.system.entry.js → p-b5d21a5d.system.entry.js} +1 -1
  88. package/dist/calcite/p-b6aabc24.entry.js +5 -0
  89. package/dist/calcite/{p-0229a408.js → p-b6b6ec04.js} +1 -1
  90. package/dist/calcite/p-bf82491b.entry.js +5 -0
  91. package/dist/calcite/{p-c0e35328.entry.js → p-c0690971.entry.js} +1 -1
  92. package/dist/calcite/{p-05da7439.entry.js → p-c12e88cd.entry.js} +1 -1
  93. package/dist/calcite/p-c1794615.entry.js +5 -0
  94. package/dist/calcite/{p-8baa9ba4.entry.js → p-c9551366.entry.js} +1 -1
  95. package/dist/calcite/{p-efb2169a.entry.js → p-ca5c0679.entry.js} +1 -1
  96. package/dist/calcite/{p-e5e3b591.entry.js → p-cd1cdf3c.entry.js} +1 -1
  97. package/dist/calcite/{p-35a5c74c.system.js → p-d07ff1ee.system.js} +1 -1
  98. package/dist/calcite/{p-16bb48f6.system.entry.js → p-d102e280.system.entry.js} +1 -1
  99. package/dist/calcite/p-d4e9d7bb.system.entry.js +5 -0
  100. package/dist/calcite/p-dab6ebab.system.entry.js +5 -0
  101. package/dist/calcite/p-ddcf2620.system.entry.js +5 -0
  102. package/dist/calcite/p-e1da1646.entry.js +5 -0
  103. package/dist/calcite/{p-a5269f14.system.entry.js → p-e2d18d39.system.entry.js} +1 -1
  104. package/dist/calcite/p-e5305b02.js +5 -0
  105. package/dist/calcite/{p-10708f87.system.entry.js → p-e6a47d34.system.entry.js} +1 -1
  106. package/dist/calcite/p-e78e743b.entry.js +5 -0
  107. package/dist/calcite/p-e9e13891.entry.js +5 -0
  108. package/dist/calcite/{p-aec398f3.system.entry.js → p-eeb8dfe5.system.entry.js} +1 -1
  109. package/dist/calcite/p-f2620bc3.js +5 -0
  110. package/dist/calcite/{p-f278dd53.entry.js → p-f333e31b.entry.js} +1 -1
  111. package/dist/calcite/{p-4035444d.system.js → p-f825e054.system.js} +1 -1
  112. package/dist/calcite/{p-cbf6bb04.system.js → p-f8266626.system.js} +1 -1
  113. package/dist/calcite/p-f87ba8eb.system.js +5 -0
  114. package/dist/calcite/{p-578509a8.entry.js → p-f97e1a2d.entry.js} +1 -1
  115. package/dist/calcite/{p-2451da5b.entry.js → p-fba77b86.entry.js} +1 -1
  116. package/dist/calcite/{p-289bc56f.entry.js → p-fc32b022.entry.js} +1 -1
  117. package/dist/calcite/p-fccc1605.entry.js +5 -0
  118. package/dist/calcite/{p-5f2a9710.system.entry.js → p-fd1ddcd2.system.entry.js} +1 -1
  119. package/dist/cjs/{CalciteExpandToggle-5f60c98b.js → CalciteExpandToggle-ca629f39.js} +3 -3
  120. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -5
  121. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  122. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  123. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  124. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  125. package/dist/cjs/calcite-alert.cjs.entry.js +13 -18
  126. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  127. package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
  128. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  129. package/dist/cjs/calcite-card.cjs.entry.js +2 -3
  130. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  131. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  132. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -19
  133. package/dist/cjs/calcite-combobox_3.cjs.entry.js +6 -7
  134. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -14
  135. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -8
  136. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  137. package/dist/cjs/calcite-filter.cjs.entry.js +2 -16
  138. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -14
  139. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  140. package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
  141. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +8 -9
  142. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  143. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +26 -27
  144. package/dist/cjs/calcite-input.cjs.entry.js +16 -12
  145. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  146. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  147. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  148. package/dist/cjs/calcite-modal.cjs.entry.js +3 -4
  149. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  150. package/dist/cjs/calcite-option_3.cjs.entry.js +5 -4
  151. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  152. package/dist/cjs/calcite-panel.cjs.entry.js +2 -2
  153. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  154. package/dist/cjs/calcite-popover_2.cjs.entry.js +3 -3
  155. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +23 -26
  156. package/dist/cjs/calcite-radio_2.cjs.entry.js +10 -11
  157. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  158. package/dist/cjs/calcite-shell_3.cjs.entry.js +17 -8
  159. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  160. package/dist/cjs/calcite-stepper_2.cjs.entry.js +3 -4
  161. package/dist/cjs/calcite-switch.cjs.entry.js +5 -6
  162. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -7
  163. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  164. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  165. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  166. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +3 -4
  167. package/dist/cjs/calcite-tree_2.cjs.entry.js +2 -3
  168. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  169. package/dist/cjs/calcite.cjs.js +1 -1
  170. package/dist/cjs/{dom-19822169.js → dom-41ce6029.js} +7 -0
  171. package/dist/cjs/{form-a5b44a1f.js → form-7f276aa5.js} +1 -1
  172. package/dist/cjs/{label-8e3552b2.js → label-98a31f7d.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/{popper-a7580aca.js → popper-4c24a334.js} +1 -1
  177. package/dist/cjs/{resources-3f7b51c8.js → resources-c2496817.js} +1 -1
  178. package/dist/cjs/{resources-cd25dbae.js → resources-fee43dc4.js} +4 -4
  179. package/dist/collection/components/calcite-accordion/calcite-accordion.js +1 -2
  180. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +1 -2
  181. package/dist/collection/components/calcite-alert/calcite-alert.js +12 -17
  182. package/dist/collection/components/calcite-block-section/calcite-block-section.js +2 -2
  183. package/dist/collection/components/calcite-card/calcite-card.js +1 -2
  184. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +3 -4
  185. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +1 -2
  186. package/dist/collection/components/calcite-combobox/calcite-combobox.js +1 -2
  187. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +1 -2
  188. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +1 -2
  189. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +1 -2
  190. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +3 -4
  191. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +2 -3
  192. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +1 -2
  193. package/dist/collection/components/calcite-filter/calcite-filter.js +3 -37
  194. package/dist/collection/components/calcite-input/calcite-input.js +12 -7
  195. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +1 -2
  196. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +1 -2
  197. package/dist/collection/components/calcite-modal/calcite-modal.js +2 -3
  198. package/dist/collection/components/calcite-panel/calcite-panel.js +2 -2
  199. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +2 -2
  200. package/dist/collection/components/calcite-pick-list/shared-list-render.js +1 -1
  201. package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
  202. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +3 -5
  203. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +17 -20
  204. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +1 -1
  205. package/dist/collection/components/calcite-select/calcite-select.js +2 -1
  206. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +17 -8
  207. package/dist/collection/components/calcite-slider/calcite-slider.js +1 -2
  208. package/dist/collection/components/calcite-stepper/calcite-stepper.js +1 -2
  209. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +1 -2
  210. package/dist/collection/components/calcite-switch/calcite-switch.js +1 -2
  211. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
  212. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +4 -5
  213. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +7 -7
  214. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  215. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +1 -2
  216. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +1 -2
  217. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  218. package/dist/collection/utils/dom.js +6 -0
  219. package/dist/collection/utils/key.js +0 -23
  220. package/dist/components/CalciteExpandToggle.js +3 -3
  221. package/dist/components/calcite-accordion-item.js +1 -2
  222. package/dist/components/calcite-accordion.js +1 -2
  223. package/dist/components/calcite-alert.js +12 -17
  224. package/dist/components/calcite-avatar.js +1 -1
  225. package/dist/components/calcite-block-section.js +2 -2
  226. package/dist/components/calcite-button2.js +1 -1
  227. package/dist/components/calcite-card.js +1 -2
  228. package/dist/components/calcite-color-picker-hex-input2.js +1 -2
  229. package/dist/components/calcite-color-picker-swatch2.js +1 -1
  230. package/dist/components/calcite-color-picker.js +3 -4
  231. package/dist/components/calcite-combobox.js +1 -2
  232. package/dist/components/calcite-date-picker-day2.js +1 -2
  233. package/dist/components/calcite-date-picker-month-header2.js +3 -4
  234. package/dist/components/calcite-date-picker-month2.js +1 -2
  235. package/dist/components/calcite-date-picker2.js +1 -2
  236. package/dist/components/calcite-dropdown-item.js +1 -2
  237. package/dist/components/calcite-dropdown2.js +2 -3
  238. package/dist/components/calcite-filter2.js +1 -16
  239. package/dist/components/calcite-input-date-picker.js +1 -2
  240. package/dist/components/calcite-input-time-picker.js +1 -2
  241. package/dist/components/calcite-input2.js +11 -7
  242. package/dist/components/calcite-modal.js +3 -4
  243. package/dist/components/calcite-panel.js +2 -2
  244. package/dist/components/calcite-popover-manager.js +1 -1
  245. package/dist/components/calcite-popover2.js +1 -1
  246. package/dist/components/calcite-radio-button.js +3 -4
  247. package/dist/components/calcite-radio-group.js +17 -20
  248. package/dist/components/calcite-select.js +2 -1
  249. package/dist/components/calcite-shell-panel.js +17 -8
  250. package/dist/components/calcite-slider.js +2 -3
  251. package/dist/components/calcite-stepper-item.js +1 -2
  252. package/dist/components/calcite-stepper.js +1 -2
  253. package/dist/components/calcite-switch2.js +1 -2
  254. package/dist/components/calcite-tab-nav2.js +3 -3
  255. package/dist/components/calcite-tab-title2.js +4 -5
  256. package/dist/components/calcite-time-picker2.js +7 -8
  257. package/dist/components/calcite-tip-manager.js +2 -2
  258. package/dist/components/calcite-tooltip-manager2.js +1 -2
  259. package/dist/components/calcite-tree-item.js +2 -3
  260. package/dist/components/dom.js +7 -1
  261. package/dist/components/form.js +1 -1
  262. package/dist/components/label.js +1 -1
  263. package/dist/components/number.js +5 -2
  264. package/dist/components/shared-list-render.js +3 -3
  265. package/dist/custom-elements/index.js +118 -141
  266. package/dist/esm/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-4b38a7d1.js} +3 -3
  267. package/dist/esm/calcite-accordion_2.entry.js +3 -4
  268. package/dist/esm/calcite-action-bar.entry.js +2 -2
  269. package/dist/esm/calcite-action-group.entry.js +1 -1
  270. package/dist/esm/calcite-action-menu.entry.js +1 -1
  271. package/dist/esm/calcite-action-pad.entry.js +2 -2
  272. package/dist/esm/calcite-alert.entry.js +13 -18
  273. package/dist/esm/calcite-avatar.entry.js +1 -1
  274. package/dist/esm/calcite-block_2.entry.js +2 -2
  275. package/dist/esm/calcite-button.entry.js +2 -2
  276. package/dist/esm/calcite-card.entry.js +2 -3
  277. package/dist/esm/calcite-checkbox.entry.js +3 -3
  278. package/dist/esm/calcite-chip.entry.js +1 -1
  279. package/dist/esm/calcite-color-picker_3.entry.js +5 -6
  280. package/dist/esm/calcite-combobox_3.entry.js +5 -6
  281. package/dist/esm/calcite-date-picker_4.entry.js +10 -11
  282. package/dist/esm/calcite-dropdown_3.entry.js +5 -6
  283. package/dist/esm/calcite-fab.entry.js +1 -1
  284. package/dist/esm/calcite-filter.entry.js +2 -16
  285. package/dist/esm/calcite-graph_2.entry.js +4 -5
  286. package/dist/esm/calcite-icon.entry.js +1 -1
  287. package/dist/esm/calcite-inline-editable.entry.js +2 -2
  288. package/dist/esm/calcite-input-date-picker.entry.js +8 -9
  289. package/dist/esm/calcite-input-message.entry.js +1 -1
  290. package/dist/esm/calcite-input-time-picker_2.entry.js +11 -12
  291. package/dist/esm/calcite-input.entry.js +15 -11
  292. package/dist/esm/calcite-label.entry.js +1 -1
  293. package/dist/esm/calcite-link.entry.js +1 -1
  294. package/dist/esm/calcite-list_3.entry.js +1 -1
  295. package/dist/esm/calcite-modal.entry.js +3 -4
  296. package/dist/esm/calcite-notice.entry.js +1 -1
  297. package/dist/esm/calcite-option_3.entry.js +5 -4
  298. package/dist/esm/calcite-pagination.entry.js +1 -1
  299. package/dist/esm/calcite-panel.entry.js +2 -2
  300. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  301. package/dist/esm/calcite-popover_2.entry.js +3 -3
  302. package/dist/esm/calcite-radio-group_2.entry.js +19 -22
  303. package/dist/esm/calcite-radio_2.entry.js +5 -6
  304. package/dist/esm/calcite-rating.entry.js +3 -3
  305. package/dist/esm/calcite-shell_3.entry.js +17 -8
  306. package/dist/esm/calcite-split-button.entry.js +1 -1
  307. package/dist/esm/calcite-stepper_2.entry.js +3 -4
  308. package/dist/esm/calcite-switch.entry.js +4 -5
  309. package/dist/esm/calcite-tab_4.entry.js +6 -7
  310. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  311. package/dist/esm/calcite-tile.entry.js +1 -1
  312. package/dist/esm/calcite-tip_3.entry.js +2 -2
  313. package/dist/esm/calcite-tooltip_2.entry.js +3 -4
  314. package/dist/esm/calcite-tree_2.entry.js +2 -3
  315. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  316. package/dist/esm/calcite.js +1 -1
  317. package/dist/esm/{dom-f24e866c.js → dom-dc012a45.js} +7 -1
  318. package/dist/esm/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  319. package/dist/esm/{label-5559055d.js → label-0d804a87.js} +1 -1
  320. package/dist/esm/loader.js +1 -1
  321. package/dist/esm/{locale-6c1b85c7.js → locale-641b6af3.js} +1 -1
  322. package/dist/esm/{number-e7393766.js → number-2609a8bc.js} +5 -2
  323. package/dist/esm/{popper-f5caedc4.js → popper-ed1eefa6.js} +1 -1
  324. package/dist/esm/{resources-bece7a88.js → resources-1a5b5ecf.js} +1 -1
  325. package/dist/esm/{resources-16a2a25a.js → resources-c31631e5.js} +4 -4
  326. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +5 -0
  327. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  328. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  329. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  330. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  331. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  332. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  333. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  334. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  335. package/dist/esm-es5/calcite-button.entry.js +1 -1
  336. package/dist/esm-es5/calcite-card.entry.js +1 -1
  337. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  338. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  339. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  340. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  341. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  342. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  343. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  344. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  345. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  346. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  347. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  348. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  349. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  350. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  351. package/dist/esm-es5/calcite-input.entry.js +1 -1
  352. package/dist/esm-es5/calcite-label.entry.js +1 -1
  353. package/dist/esm-es5/calcite-link.entry.js +1 -1
  354. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  355. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  356. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  357. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  358. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  359. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  360. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  361. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  362. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  363. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  364. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  365. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  366. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  367. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  368. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  369. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  370. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  371. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  372. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  373. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  374. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  375. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  376. package/dist/esm-es5/calcite.js +1 -1
  377. package/dist/esm-es5/dom-dc012a45.js +5 -0
  378. package/dist/esm-es5/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  379. package/dist/esm-es5/{label-5559055d.js → label-0d804a87.js} +1 -1
  380. package/dist/esm-es5/loader.js +1 -1
  381. package/dist/esm-es5/locale-641b6af3.js +5 -0
  382. package/dist/esm-es5/number-2609a8bc.js +5 -0
  383. package/dist/esm-es5/{popper-f5caedc4.js → popper-ed1eefa6.js} +1 -1
  384. package/dist/esm-es5/{resources-bece7a88.js → resources-1a5b5ecf.js} +1 -1
  385. package/dist/esm-es5/{resources-16a2a25a.js → resources-c31631e5.js} +1 -1
  386. package/dist/extras/docs-json.json +3 -23
  387. package/dist/types/components/calcite-alert/calcite-alert.d.ts +2 -2
  388. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +2 -1
  389. package/dist/types/components/calcite-filter/calcite-filter.d.ts +1 -10
  390. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -2
  391. package/dist/types/components.d.ts +1 -11
  392. package/dist/types/utils/dom.d.ts +4 -0
  393. package/dist/types/utils/key.d.ts +0 -4
  394. package/hydrate/index.js +117 -141
  395. package/package.json +7 -6
  396. package/readme.md +2 -2
  397. package/dist/calcite/assets/calcite-icon/checkSquareF16.json +0 -1
  398. package/dist/calcite/assets/calcite-icon/checkSquareF24.json +0 -1
  399. package/dist/calcite/assets/calcite-icon/checkSquareF32.json +0 -1
  400. package/dist/calcite/assets/calcite-icon/lineSolid4.json +0 -1
  401. package/dist/calcite/assets/calcite-icon/squareF16.json +0 -1
  402. package/dist/calcite/assets/calcite-icon/squareF24.json +0 -1
  403. package/dist/calcite/assets/calcite-icon/squareF32.json +0 -1
  404. package/dist/calcite/assets/calcite-icon/xHexagon16.json +0 -1
  405. package/dist/calcite/assets/calcite-icon/xHexagon24.json +0 -1
  406. package/dist/calcite/assets/calcite-icon/xHexagon32.json +0 -1
  407. package/dist/calcite/assets/calcite-icon/xHexagonF16.json +0 -1
  408. package/dist/calcite/assets/calcite-icon/xHexagonF24.json +0 -1
  409. package/dist/calcite/assets/calcite-icon/xHexagonF32.json +0 -1
  410. package/dist/calcite/assets/calcite-icon/xOctagonF16.json +0 -1
  411. package/dist/calcite/assets/calcite-icon/xOctagonF24.json +0 -1
  412. package/dist/calcite/assets/calcite-icon/xOctagonF32.json +0 -1
  413. package/dist/calcite/p-044d603d.system.entry.js +0 -5
  414. package/dist/calcite/p-0bbe872e.system.entry.js +0 -5
  415. package/dist/calcite/p-0d807182.system.entry.js +0 -5
  416. package/dist/calcite/p-0f014648.entry.js +0 -5
  417. package/dist/calcite/p-0fa1ba75.entry.js +0 -5
  418. package/dist/calcite/p-127e3513.system.entry.js +0 -5
  419. package/dist/calcite/p-1434e37e.entry.js +0 -5
  420. package/dist/calcite/p-1942876c.js +0 -5
  421. package/dist/calcite/p-1a962bdd.js +0 -5
  422. package/dist/calcite/p-1aa89347.system.entry.js +0 -5
  423. package/dist/calcite/p-1b8c3060.entry.js +0 -5
  424. package/dist/calcite/p-2a714a22.entry.js +0 -5
  425. package/dist/calcite/p-2aa3007a.entry.js +0 -5
  426. package/dist/calcite/p-33226317.entry.js +0 -5
  427. package/dist/calcite/p-34038a94.system.entry.js +0 -5
  428. package/dist/calcite/p-34e89de8.entry.js +0 -5
  429. package/dist/calcite/p-362cb320.entry.js +0 -5
  430. package/dist/calcite/p-3b29e94a.entry.js +0 -5
  431. package/dist/calcite/p-3dae9da3.js +0 -5
  432. package/dist/calcite/p-3e6fcede.entry.js +0 -5
  433. package/dist/calcite/p-45b4443f.entry.js +0 -5
  434. package/dist/calcite/p-4778c5cf.system.entry.js +0 -5
  435. package/dist/calcite/p-4f1f83d2.entry.js +0 -5
  436. package/dist/calcite/p-52cc870b.js +0 -5
  437. package/dist/calcite/p-55a5535b.system.entry.js +0 -5
  438. package/dist/calcite/p-56b352bf.system.js +0 -5
  439. package/dist/calcite/p-592da79d.system.entry.js +0 -5
  440. package/dist/calcite/p-5eee672a.system.entry.js +0 -5
  441. package/dist/calcite/p-5efd81e1.entry.js +0 -5
  442. package/dist/calcite/p-63da2e34.system.entry.js +0 -5
  443. package/dist/calcite/p-63e60894.entry.js +0 -5
  444. package/dist/calcite/p-648af80f.system.entry.js +0 -5
  445. package/dist/calcite/p-6cc23c39.system.js +0 -5
  446. package/dist/calcite/p-6d44b7d9.system.js +0 -5
  447. package/dist/calcite/p-72563742.js +0 -5
  448. package/dist/calcite/p-7ba971b5.system.entry.js +0 -5
  449. package/dist/calcite/p-81ab443c.entry.js +0 -5
  450. package/dist/calcite/p-8445bc9c.system.entry.js +0 -5
  451. package/dist/calcite/p-85032edc.system.entry.js +0 -5
  452. package/dist/calcite/p-8603b2e1.entry.js +0 -5
  453. package/dist/calcite/p-91645bf7.system.js +0 -5
  454. package/dist/calcite/p-9577dfd9.entry.js +0 -5
  455. package/dist/calcite/p-9a3bed69.entry.js +0 -5
  456. package/dist/calcite/p-9be6633a.entry.js +0 -5
  457. package/dist/calcite/p-a46c3870.system.entry.js +0 -5
  458. package/dist/calcite/p-a61d85db.system.entry.js +0 -5
  459. package/dist/calcite/p-aaec0d11.system.entry.js +0 -5
  460. package/dist/calcite/p-b2ab0485.js +0 -5
  461. package/dist/calcite/p-bdb92546.entry.js +0 -5
  462. package/dist/calcite/p-bf1812b4.entry.js +0 -5
  463. package/dist/calcite/p-c87c04a9.entry.js +0 -5
  464. package/dist/calcite/p-ca3bb147.entry.js +0 -5
  465. package/dist/calcite/p-cbbfa133.system.entry.js +0 -5
  466. package/dist/calcite/p-d6f20229.js +0 -5
  467. package/dist/calcite/p-dbe899c6.system.entry.js +0 -5
  468. package/dist/calcite/p-e616f9b5.entry.js +0 -5
  469. package/dist/calcite/p-f1e111f4.system.entry.js +0 -5
  470. package/dist/cjs/key-8bfb93ec.js +0 -37
  471. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +0 -1
  472. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +0 -1
  473. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +0 -1
  474. package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +0 -1
  475. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +0 -1
  476. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +0 -1
  477. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +0 -1
  478. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +0 -1
  479. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +0 -1
  480. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +0 -1
  481. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +0 -1
  482. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +0 -1
  483. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +0 -1
  484. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +0 -1
  485. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +0 -1
  486. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +0 -1
  487. package/dist/collection/components/calcite-label/interfaces.js +0 -1
  488. package/dist/collection/demos/_assets/demo-spacer.js +0 -17
  489. package/dist/collection/demos/_assets/demo-template.js +0 -13
  490. package/dist/collection/demos/_assets/head.js +0 -45
  491. package/dist/components/key.js +0 -33
  492. package/dist/esm/key-69001a68.js +0 -33
  493. package/dist/esm-es5/CalciteExpandToggle-677f2f8b.js +0 -5
  494. package/dist/esm-es5/dom-f24e866c.js +0 -5
  495. package/dist/esm-es5/key-69001a68.js +0 -5
  496. package/dist/esm-es5/locale-6c1b85c7.js +0 -5
  497. package/dist/esm-es5/number-e7393766.js +0 -5
@@ -5,34 +5,6 @@
5
5
  import { HTMLElement as HTMLElement$1, createEvent, h, Host, Build, forceUpdate, Fragment, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
7
7
 
8
- /**
9
- * Standardize key property of keyboard event (mostly for ie11)
10
- */
11
- function getKey(key, dir) {
12
- const lookup = {
13
- Up: "ArrowUp",
14
- Down: "ArrowDown",
15
- Left: "ArrowLeft",
16
- Right: "ArrowRight",
17
- Spacebar: " ",
18
- Esc: "Escape"
19
- };
20
- const adjustedKey = lookup[key] || key;
21
- const isRTL = dir === "rtl";
22
- if (isRTL && adjustedKey === "ArrowLeft") {
23
- return "ArrowRight";
24
- }
25
- if (isRTL && adjustedKey === "ArrowRight") {
26
- return "ArrowLeft";
27
- }
28
- return adjustedKey;
29
- }
30
- function isActivationKey(key) {
31
- key = getKey(key);
32
- return key === "Enter" || key === " ";
33
- }
34
- const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
35
-
36
8
  const calciteAccordionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing: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]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{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]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0;border-color:transparent}:host([appearance=transparent]){border-color:transparent;--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}";
37
9
 
38
10
  let CalciteAccordion$1 = class extends HTMLElement$1 {
@@ -91,7 +63,7 @@ let CalciteAccordion$1 = class extends HTMLElement$1 {
91
63
  const item = e.detail.item;
92
64
  const parent = e.detail.parent;
93
65
  if (this.el === parent) {
94
- const key = getKey(item.key);
66
+ const key = item.key;
95
67
  const itemToFocus = e.target;
96
68
  const isFirstItem = this.itemIndex(itemToFocus) === 0;
97
69
  const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
@@ -216,6 +188,12 @@ function nodeListToArray(nodeList) {
216
188
  function getThemeName(el) {
217
189
  return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
218
190
  }
191
+ function getElementStyleDir(el) {
192
+ return window.getComputedStyle(el).direction || "ltr";
193
+ }
194
+ /**
195
+ * @deprecated use getElementStyleDir instead.
196
+ */
219
197
  function getElementDir(el) {
220
198
  const prop = "dir";
221
199
  const selector = `[${prop}]`;
@@ -392,7 +370,7 @@ let CalciteAccordionItem$1 = class extends HTMLElement$1 {
392
370
  //--------------------------------------------------------------------------
393
371
  keyDownHandler(e) {
394
372
  if (e.target === this.el) {
395
- switch (getKey(e.key)) {
373
+ switch (e.key) {
396
374
  case " ":
397
375
  case "Enter":
398
376
  this.emitRequestedItem();
@@ -689,7 +667,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
689
667
  return referenceElement;
690
668
  };
691
669
  const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
692
- const rtl = getElementDir(el) === "rtl";
670
+ const rtl = getElementStyleDir(el) === "rtl";
693
671
  const expandText = expanded ? intlCollapse : intlExpand;
694
672
  const icons = [ICONS$d.chevronsLeft, ICONS$d.chevronsRight];
695
673
  if (rtl) {
@@ -698,7 +676,7 @@ const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, p
698
676
  const end = getCalcitePosition(position, el) === "end";
699
677
  const expandIcon = end ? icons[1] : icons[0];
700
678
  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 }));
679
+ 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
680
  return tooltip ? h("calcite-tooltip-manager", null, actionNode) : actionNode;
703
681
  };
704
682
 
@@ -2683,13 +2661,11 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2683
2661
  this.queueLength = 0;
2684
2662
  /** is the alert queued */
2685
2663
  this.queued = false;
2686
- this.autoDismissTimeout = null;
2687
- this.trackTimer = new Date();
2664
+ this.autoDismissTimeoutId = null;
2665
+ this.trackTimer = Date.now();
2688
2666
  /** close and emit the closed alert and the queue */
2689
2667
  this.closeAlert = () => {
2690
- if (this.autoDismissTimeout) {
2691
- this.autoDismissTimeout = null;
2692
- }
2668
+ this.autoDismissTimeoutId = null;
2693
2669
  this.queued = false;
2694
2670
  this.active = false;
2695
2671
  this.queue = this.queue.filter((e) => e !== this.el);
@@ -2713,10 +2689,10 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2713
2689
  updateRequestedIcon() {
2714
2690
  this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
2715
2691
  }
2716
- updateDuration(newDuration, prevDuration) {
2717
- if (this.autoDismiss && prevDuration !== newDuration && this.autoDismissTimeout) {
2718
- window.clearTimeout(this.autoDismissTimeout);
2719
- this.autoDismissTimeout = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (new Date().valueOf() - this.trackTimer.valueOf()));
2692
+ updateDuration() {
2693
+ if (this.autoDismiss && this.autoDismissTimeoutId) {
2694
+ window.clearTimeout(this.autoDismissTimeoutId);
2695
+ this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
2720
2696
  }
2721
2697
  }
2722
2698
  //--------------------------------------------------------------------------
@@ -2736,9 +2712,7 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2736
2712
  this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
2737
2713
  }
2738
2714
  disconnectedCallback() {
2739
- if (this.autoDismissTimeout) {
2740
- window.clearTimeout(this.autoDismissTimeout);
2741
- }
2715
+ window.clearTimeout(this.autoDismissTimeoutId);
2742
2716
  }
2743
2717
  render() {
2744
2718
  const dir = getElementDir(this.el);
@@ -2746,14 +2720,13 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2746
2720
  const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;
2747
2721
  const queueCount = (h("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
2748
2722
  const { active, autoDismiss, label, queued, requestedIcon } = this;
2749
- const progressBar = h("div", { class: "alert-dismiss-progress" });
2750
2723
  const role = autoDismiss ? "alert" : "alertdialog";
2751
2724
  const hidden = !active;
2752
2725
  return (h(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, h("div", { class: {
2753
2726
  container: true,
2754
2727
  queued,
2755
2728
  [CSS_UTILITY.rtl]: dir === "rtl"
2756
- } }, 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 ? progressBar : null)));
2729
+ } }, 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)));
2757
2730
  }
2758
2731
  // when an alert is opened or closed, update queue and determine active alert
2759
2732
  alertSync(event) {
@@ -2799,9 +2772,9 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
2799
2772
  var _a;
2800
2773
  if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
2801
2774
  this.openAlert();
2802
- if (this.autoDismiss && !this.autoDismissTimeout) {
2803
- this.trackTimer = new Date();
2804
- this.autoDismissTimeout = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
2775
+ if (this.autoDismiss && !this.autoDismissTimeoutId) {
2776
+ this.trackTimer = Date.now();
2777
+ this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
2805
2778
  }
2806
2779
  }
2807
2780
  else {
@@ -3283,7 +3256,7 @@ let CalciteBlockSection$1 = class extends HTMLElement$1 {
3283
3256
  }
3284
3257
  render() {
3285
3258
  const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
3286
- const dir = getElementDir(el);
3259
+ const dir = getElementStyleDir(el);
3287
3260
  const arrowIcon = open
3288
3261
  ? ICONS$b.menuOpen
3289
3262
  : dir === "rtl"
@@ -3630,7 +3603,7 @@ let CalciteCard$1 = class extends HTMLElement$1 {
3630
3603
  this.selectCard();
3631
3604
  };
3632
3605
  this.cardSelectKeyDown = (e) => {
3633
- switch (getKey(e.key)) {
3606
+ switch (e.key) {
3634
3607
  case " ":
3635
3608
  case "Enter":
3636
3609
  this.selectCard();
@@ -6415,7 +6388,7 @@ let CalciteColorPicker$1 = class extends HTMLElement$1 {
6415
6388
  this.updateChannelsFromColor(this.color);
6416
6389
  };
6417
6390
  this.handleColorFieldScopeKeyDown = (event) => {
6418
- const key = getKey(event.key);
6391
+ const key = event.key;
6419
6392
  const arrowKeyToXYOffset = {
6420
6393
  ArrowUp: { x: 0, y: -10 },
6421
6394
  ArrowRight: { x: 10, y: 0 },
@@ -6430,7 +6403,7 @@ let CalciteColorPicker$1 = class extends HTMLElement$1 {
6430
6403
  };
6431
6404
  this.handleHueScopeKeyDown = (event) => {
6432
6405
  const modifier = event.shiftKey ? 10 : 1;
6433
- const key = getKey(event.key);
6406
+ const key = event.key;
6434
6407
  const arrowKeyToXOffset = {
6435
6408
  ArrowUp: 1,
6436
6409
  ArrowRight: 1,
@@ -6768,7 +6741,7 @@ let CalciteColorPicker$1 = class extends HTMLElement$1 {
6768
6741
  // using @Listen as a workaround for VDOM listener not firing
6769
6742
  handleChannelKeyUpOrDown(event) {
6770
6743
  this.shiftKeyChannelAdjustment = 0;
6771
- const key = getKey(event.key);
6744
+ const key = event.key;
6772
6745
  if ((key !== "ArrowUp" && key !== "ArrowDown") ||
6773
6746
  !event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$F.channel); })) {
6774
6747
  return;
@@ -7167,7 +7140,7 @@ let CalciteColorPickerHexInput$1 = class extends HTMLElement$1 {
7167
7140
  onInputKeyDown(event) {
7168
7141
  const { altKey, ctrlKey, metaKey, shiftKey } = event;
7169
7142
  const { internalColor, value } = this;
7170
- const key = getKey(event.key);
7143
+ const key = event.key;
7171
7144
  if (key === "Tab" || key === "Enter") {
7172
7145
  this.onInputChange();
7173
7146
  return;
@@ -9229,7 +9202,7 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
9229
9202
  this.setFocus();
9230
9203
  };
9231
9204
  this.keydownHandler = (event) => {
9232
- const key = getKey(event.key, getElementDir(this.el));
9205
+ const { key } = event;
9233
9206
  switch (key) {
9234
9207
  case "Tab":
9235
9208
  this.activeChipIndex = -1;
@@ -10038,6 +10011,11 @@ let CalciteComboboxItemGroup$1 = class extends HTMLElement$1 {
10038
10011
  static get style() { return calciteComboboxItemGroupCss; }
10039
10012
  };
10040
10013
 
10014
+ function isActivationKey(key) {
10015
+ return key === "Enter" || key === " ";
10016
+ }
10017
+ const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
10018
+
10041
10019
  function isValidNumber(numberString) {
10042
10020
  return !(!numberString || isNaN(Number(numberString)));
10043
10021
  }
@@ -10421,7 +10399,7 @@ let CalciteDatePicker$1 = class extends HTMLElement$1 {
10421
10399
  //
10422
10400
  //--------------------------------------------------------------------------
10423
10401
  this.keyUpHandler = (e) => {
10424
- if (getKey(e.key) === "Escape") {
10402
+ if (e.key === "Escape") {
10425
10403
  this.reset();
10426
10404
  }
10427
10405
  };
@@ -10805,7 +10783,7 @@ let CalciteDatePickerDay$1 = class extends HTMLElement$1 {
10805
10783
  !this.disabled && this.calciteDaySelect.emit();
10806
10784
  };
10807
10785
  this.keyDownHandler = (e) => {
10808
- const key = getKey(e.key);
10786
+ const key = e.key;
10809
10787
  if (key === " " || key === "Enter") {
10810
10788
  !this.disabled && this.calciteDaySelect.emit();
10811
10789
  }
@@ -10853,7 +10831,7 @@ let CalciteDatePickerMonth$1 = class extends HTMLElement$1 {
10853
10831
  //--------------------------------------------------------------------------
10854
10832
  this.keyDownHandler = (e) => {
10855
10833
  const isRTL = this.el.dir === "rtl";
10856
- switch (getKey(e.key)) {
10834
+ switch (e.key) {
10857
10835
  case "ArrowUp":
10858
10836
  e.preventDefault();
10859
10837
  this.addDays(-7);
@@ -11126,7 +11104,7 @@ let CalciteDatePickerMonthHeader$1 = class extends HTMLElement$1 {
11126
11104
  */
11127
11105
  this.onYearKey = (e) => {
11128
11106
  const year = e.target.value;
11129
- switch (getKey(e.key)) {
11107
+ switch (e.key) {
11130
11108
  case "ArrowDown":
11131
11109
  e.preventDefault();
11132
11110
  this.setYear(year, -1);
@@ -11144,7 +11122,7 @@ let CalciteDatePickerMonthHeader$1 = class extends HTMLElement$1 {
11144
11122
  this.handleArrowClick(e, this.prevMonthDate);
11145
11123
  };
11146
11124
  this.prevMonthKeydown = (e) => {
11147
- const key = getKey(e.key);
11125
+ const key = e.key;
11148
11126
  if (key === " " || key === "Enter") {
11149
11127
  this.prevMonthClick(e);
11150
11128
  }
@@ -11153,7 +11131,7 @@ let CalciteDatePickerMonthHeader$1 = class extends HTMLElement$1 {
11153
11131
  this.handleArrowClick(e, this.nextMonthDate);
11154
11132
  };
11155
11133
  this.nextMonthKeydown = (e) => {
11156
- const key = getKey(e.key);
11134
+ const key = e.key;
11157
11135
  if (key === " " || key === "Enter") {
11158
11136
  this.nextMonthClick(e);
11159
11137
  }
@@ -11331,7 +11309,7 @@ let CalciteDropdown$1 = class extends HTMLElement$1 {
11331
11309
  };
11332
11310
  this.keyDownHandler = (e) => {
11333
11311
  const target = e.target;
11334
- const key = getKey(e.key);
11312
+ const key = e.key;
11335
11313
  if (this.triggers.includes(target) ||
11336
11314
  this.triggers.some((trigger) => trigger.contains(target))) {
11337
11315
  if (target.nodeName !== "BUTTON" && target.nodeName !== "CALCITE-BUTTON") {
@@ -11452,7 +11430,7 @@ let CalciteDropdown$1 = class extends HTMLElement$1 {
11452
11430
  const itemToFocus = target.nodeName !== "A" ? target : target.parentNode;
11453
11431
  const isFirstItem = this.itemIndex(itemToFocus) === 0;
11454
11432
  const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
11455
- switch (getKey(keyboardEvent.key)) {
11433
+ switch (keyboardEvent.key) {
11456
11434
  case "Tab":
11457
11435
  if (isLastItem && !keyboardEvent.shiftKey) {
11458
11436
  this.closeCalciteDropdown();
@@ -11746,7 +11724,7 @@ let CalciteDropdownItem$1 = class extends HTMLElement$1 {
11746
11724
  this.emitRequestedItem();
11747
11725
  }
11748
11726
  keyDownHandler(e) {
11749
- switch (getKey(e.key)) {
11727
+ switch (e.key) {
11750
11728
  case " ":
11751
11729
  this.emitRequestedItem();
11752
11730
  if (this.href) {
@@ -11971,25 +11949,12 @@ let CalciteFilter$1 = class extends HTMLElement$1 {
11971
11949
  this.setFocus();
11972
11950
  };
11973
11951
  }
11974
- watchDataHandler(value) {
11975
- this.items = value;
11976
- }
11977
11952
  watchItemsHandler() {
11978
11953
  this.filter(this.value);
11979
11954
  }
11980
11955
  valueHandler(value) {
11981
11956
  this.filter(value);
11982
11957
  }
11983
- //--------------------------------------------------------------------------
11984
- //
11985
- // Lifecycle
11986
- //
11987
- //--------------------------------------------------------------------------
11988
- connectedCallback() {
11989
- if (this.data && !this.items) {
11990
- this.items = this.data;
11991
- }
11992
- }
11993
11958
  // --------------------------------------------------------------------------
11994
11959
  //
11995
11960
  // Public Methods
@@ -12002,7 +11967,7 @@ let CalciteFilter$1 = class extends HTMLElement$1 {
12002
11967
  updateFiltered(filtered) {
12003
11968
  this.filteredItems.length = 0;
12004
11969
  this.filteredItems = this.filteredItems.concat(filtered);
12005
- this.calciteFilterChange.emit(filtered);
11970
+ this.calciteFilterChange.emit();
12006
11971
  }
12007
11972
  // --------------------------------------------------------------------------
12008
11973
  //
@@ -12018,7 +11983,6 @@ let CalciteFilter$1 = class extends HTMLElement$1 {
12018
11983
  }
12019
11984
  get el() { return this; }
12020
11985
  static get watchers() { return {
12021
- "data": ["watchDataHandler"],
12022
11986
  "items": ["watchItemsHandler"],
12023
11987
  "value": ["valueHandler"]
12024
11988
  }; }
@@ -12845,6 +12809,8 @@ let CalciteInput$1 = class extends HTMLElement$1 {
12845
12809
  * Note that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`
12846
12810
  */
12847
12811
  this.type = "text";
12812
+ /** input value */
12813
+ this.value = "";
12848
12814
  /** keep track of the rendered child type */
12849
12815
  this.childElType = "input";
12850
12816
  //--------------------------------------------------------------------------
@@ -12860,13 +12826,13 @@ let CalciteInput$1 = class extends HTMLElement$1 {
12860
12826
  if (this.readOnly || this.disabled) {
12861
12827
  return;
12862
12828
  }
12863
- if (this.isClearable && getKey(event.key) === "Escape") {
12829
+ if (this.isClearable && event.key === "Escape") {
12864
12830
  this.clearInputValue(event);
12865
12831
  event.preventDefault();
12866
12832
  }
12867
12833
  };
12868
12834
  this.clearInputValue = (nativeEvent) => {
12869
- this.setValue(null, nativeEvent, true);
12835
+ this.setValue("", nativeEvent, true);
12870
12836
  };
12871
12837
  this.inputBlurHandler = () => {
12872
12838
  if (this.type === "number") {
@@ -13008,7 +12974,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13008
12974
  this.setLocalizedValue(this.value);
13009
12975
  }
13010
12976
  if (nativeEvent) {
13011
- if (this.type === "number" && (value === null || value === void 0 ? void 0 : value.endsWith("."))) {
12977
+ if (this.type === "number" && value.endsWith(".")) {
13012
12978
  return;
13013
12979
  }
13014
12980
  const calciteInputInputEvent = this.calciteInputInput.emit({
@@ -13043,6 +13009,10 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13043
13009
  this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
13044
13010
  }
13045
13011
  valueWatcher(newValue) {
13012
+ if (newValue == null) {
13013
+ this.value = "";
13014
+ return;
13015
+ }
13046
13016
  if (this.type === "number" &&
13047
13017
  this.localizedValue !== localizeNumberString(newValue, this.locale)) {
13048
13018
  this.setLocalizedValue(newValue);
@@ -13055,8 +13025,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13055
13025
  this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
13056
13026
  }
13057
13027
  get isClearable() {
13058
- var _a;
13059
- return !this.isTextarea && (this.clearable || this.type === "search") && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
13028
+ return !this.isTextarea && (this.clearable || this.type === "search") && this.value.length > 0;
13060
13029
  }
13061
13030
  get isTextarea() {
13062
13031
  return this.childElType === "textarea";
@@ -13289,7 +13258,7 @@ let CalciteInputDatePicker$1 = class extends HTMLElement$1 {
13289
13258
  this.active = false;
13290
13259
  };
13291
13260
  this.keyUpHandler = (e) => {
13292
- if (getKey(e.key) === "Escape") {
13261
+ if (e.key === "Escape") {
13293
13262
  this.active = false;
13294
13263
  }
13295
13264
  };
@@ -13881,7 +13850,7 @@ let CalciteInputTimePicker$1 = class extends HTMLElement$1 {
13881
13850
  this.internalValueChange = false;
13882
13851
  }
13883
13852
  keyUpHandler(event) {
13884
- if (getKey(event.key) === "Escape" && this.active) {
13853
+ if (event.key === "Escape" && this.active) {
13885
13854
  this.active = false;
13886
13855
  }
13887
13856
  }
@@ -14563,7 +14532,7 @@ let CalciteModal$1 = class extends HTMLElement$1 {
14563
14532
  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;
14564
14533
  }
14565
14534
  renderCloseButton() {
14566
- 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;
14535
+ 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;
14567
14536
  }
14568
14537
  renderStyle() {
14569
14538
  const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
@@ -14593,7 +14562,7 @@ let CalciteModal$1 = class extends HTMLElement$1 {
14593
14562
  //
14594
14563
  //--------------------------------------------------------------------------
14595
14564
  handleEscape(e) {
14596
- if (this.active && !this.disableEscape && getKey(e.key) === "Escape") {
14565
+ if (this.active && !this.disableEscape && e.key === "Escape") {
14597
14566
  this.close();
14598
14567
  }
14599
14568
  }
@@ -15189,7 +15158,7 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
15189
15158
  // --------------------------------------------------------------------------
15190
15159
  renderBackButton() {
15191
15160
  const { el } = this;
15192
- const rtl = getElementDir(el) === "rtl";
15161
+ const rtl = getElementStyleDir(el) === "rtl";
15193
15162
  const { showBackButton, intlBack, backButtonClick } = this;
15194
15163
  const label = intlBack || TEXT$8.back;
15195
15164
  const icon = rtl ? ICONS$5.backRight : ICONS$5.backLeft;
@@ -15496,8 +15465,8 @@ function selectSiblings(item, deselect = false) {
15496
15465
  }
15497
15466
  let groups;
15498
15467
  function handleFilter(event) {
15499
- const filteredData = event.detail;
15500
- const values = filteredData.map((item) => item.value);
15468
+ const { filteredItems } = event.currentTarget;
15469
+ const values = filteredItems.map((item) => item.value);
15501
15470
  let hasSelectedMatch = false;
15502
15471
  if (!groups) {
15503
15472
  groups = new Set();
@@ -15560,7 +15529,7 @@ const List = (_a) => {
15560
15529
  return (h(Host, Object.assign({ "aria-busy": loading.toString(), "aria-disabled": disabled.toString(), role: "menu" }, rest),
15561
15530
  h("section", null,
15562
15531
  h("header", { class: { [CSS$i.sticky]: true } },
15563
- filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, data: dataForFilter, dir: getElementDir(el), disabled: loading || disabled, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
15532
+ filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, dir: getElementDir(el), disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
15564
15533
  h("slot", { name: SLOTS$b.menuActions })),
15565
15534
  loading || disabled ? h("calcite-scrim", { loading: loading }) : null,
15566
15535
  defaultSlot)));
@@ -15928,7 +15897,7 @@ const ARIA_CONTROLS = "aria-controls";
15928
15897
  const ARIA_EXPANDED = "aria-expanded";
15929
15898
  const HEADING_LEVEL$2 = 2;
15930
15899
 
15931
- 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{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-popper-anim{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{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-popper-placement^=top]) .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-popper-placement^=left]) .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-popper-placement^=right]) .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-popper-placement]) .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.arrow,.arrow::before{position:absolute;width:8px;height:8px;z-index:-1}.arrow::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{bottom:-4px}:host([data-popper-placement^=bottom]) .arrow{top:-4px}:host([data-popper-placement^=left]) .arrow{right:-4px}:host([data-popper-placement^=right]) .arrow{left:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-popper-anim{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{outline:1px solid var(--calcite-ui-border-3)}.header{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{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{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{-ms-flex-direction:column;flex-direction:column}.content{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{border-radius:0.25rem 0 0 0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}";
15900
+ 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{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-popper-anim{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{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-popper-placement^=top]) .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-popper-placement^=left]) .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-popper-placement^=right]) .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-popper-placement]) .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.arrow,.arrow::before{position:absolute;width:8px;height:8px;z-index:-1}.arrow::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{bottom:-4px}:host([data-popper-placement^=bottom]) .arrow{top:-4px}:host([data-popper-placement^=left]) .arrow{right:-4px}:host([data-popper-placement^=right]) .arrow{left:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-popper-anim{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{outline:1px solid var(--calcite-ui-border-3)}.header{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{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{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{-ms-flex-direction:column;flex-direction:column}.content{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{border-radius:0.25rem 0 0 0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}";
15932
15901
 
15933
15902
  let CalcitePopover$1 = class extends HTMLElement$1 {
15934
15903
  constructor() {
@@ -16405,7 +16374,7 @@ let CalciteRadioButton$1 = class extends HTMLElement$1 {
16405
16374
  };
16406
16375
  this.handleKeyDown = (event) => {
16407
16376
  const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
16408
- const key = getKey(event.key);
16377
+ const key = event.key;
16409
16378
  const { el } = this;
16410
16379
  if (keys.indexOf(key) === -1) {
16411
16380
  return;
@@ -16415,7 +16384,7 @@ let CalciteRadioButton$1 = class extends HTMLElement$1 {
16415
16384
  return;
16416
16385
  }
16417
16386
  let adjustedKey = key;
16418
- if (getElementDir(el) === "rtl") {
16387
+ if (getElementStyleDir(el) === "rtl") {
16419
16388
  if (key === "ArrowRight") {
16420
16389
  adjustedKey = "ArrowLeft";
16421
16390
  }
@@ -16704,7 +16673,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16704
16673
  //--------------------------------------------------------------------------
16705
16674
  this.handleClick = (event) => {
16706
16675
  if (event.target.localName === "calcite-radio-group-item") {
16707
- this.selectItem(event.target);
16676
+ this.selectItem(event.target, true);
16708
16677
  }
16709
16678
  };
16710
16679
  }
@@ -16723,7 +16692,6 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16723
16692
  .pop();
16724
16693
  if (match) {
16725
16694
  this.selectItem(match);
16726
- this.calciteRadioGroupChange.emit(match.value);
16727
16695
  }
16728
16696
  else if (items[0]) {
16729
16697
  items[0].tabIndex = 0;
@@ -16734,7 +16702,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16734
16702
  // Lifecycle
16735
16703
  //
16736
16704
  //--------------------------------------------------------------------------
16737
- connectedCallback() {
16705
+ componentWillLoad() {
16738
16706
  const items = this.getItems();
16739
16707
  const lastChecked = Array.from(items)
16740
16708
  .filter((item) => item.checked)
@@ -16745,6 +16713,8 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16745
16713
  else if (items[0]) {
16746
16714
  items[0].tabIndex = 0;
16747
16715
  }
16716
+ }
16717
+ connectedCallback() {
16748
16718
  connectLabel(this);
16749
16719
  connectForm(this);
16750
16720
  }
@@ -16752,29 +16722,23 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16752
16722
  disconnectLabel(this);
16753
16723
  disconnectForm(this);
16754
16724
  }
16755
- componentDidLoad() {
16756
- this.hasLoaded = true;
16757
- }
16758
16725
  render() {
16759
16726
  return (h(Host, { onClick: this.handleClick, role: "radiogroup", tabIndex: this.disabled ? -1 : null }, h("slot", null), h(HiddenFormInputSlot, { component: this })));
16760
16727
  }
16761
16728
  handleSelected(event) {
16762
- // only fire after initial setup to prevent semi-infinite loops
16763
- if (this.hasLoaded) {
16764
- event.stopPropagation();
16765
- event.preventDefault();
16766
- this.selectItem(event.target);
16767
- }
16729
+ event.stopPropagation();
16730
+ event.preventDefault();
16731
+ this.selectItem(event.target);
16768
16732
  }
16769
16733
  handleKeyDown(event) {
16770
16734
  const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
16771
- const key = getKey(event.key);
16735
+ const key = event.key;
16772
16736
  const { el, selectedItem } = this;
16773
16737
  if (keys.indexOf(key) === -1) {
16774
16738
  return;
16775
16739
  }
16776
16740
  let adjustedKey = key;
16777
- if (getElementDir(el) === "rtl") {
16741
+ if (getElementStyleDir(el) === "rtl") {
16778
16742
  if (key === "ArrowRight") {
16779
16743
  adjustedKey = "ArrowLeft";
16780
16744
  }
@@ -16794,17 +16758,17 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16794
16758
  case "ArrowUp":
16795
16759
  event.preventDefault();
16796
16760
  const previous = selectedIndex < 1 ? items.item(items.length - 1) : items.item(selectedIndex - 1);
16797
- this.selectItem(previous);
16761
+ this.selectItem(previous, true);
16798
16762
  return;
16799
16763
  case "ArrowRight":
16800
16764
  case "ArrowDown":
16801
16765
  event.preventDefault();
16802
16766
  const next = selectedIndex === -1 ? items.item(1) : items.item(selectedIndex + 1) || items.item(0);
16803
- this.selectItem(next);
16767
+ this.selectItem(next, true);
16804
16768
  return;
16805
16769
  case " ":
16806
16770
  event.preventDefault();
16807
- this.selectItem(event.target);
16771
+ this.selectItem(event.target, true);
16808
16772
  return;
16809
16773
  default:
16810
16774
  return;
@@ -16831,7 +16795,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16831
16795
  getItems() {
16832
16796
  return this.el.querySelectorAll("calcite-radio-group-item");
16833
16797
  }
16834
- selectItem(selected) {
16798
+ selectItem(selected, emit = false) {
16835
16799
  if (selected === this.selectedItem) {
16836
16800
  return;
16837
16801
  }
@@ -16845,6 +16809,9 @@ let CalciteRadioGroup$1 = class extends HTMLElement$1 {
16845
16809
  item.tabIndex = matches ? 0 : -1;
16846
16810
  if (matches) {
16847
16811
  match = item;
16812
+ if (emit) {
16813
+ this.calciteRadioGroupChange.emit(match.value);
16814
+ }
16848
16815
  }
16849
16816
  });
16850
16817
  this.selectedItem = match;
@@ -17243,6 +17210,7 @@ let CalciteSelect$1 = class extends HTMLElement$1 {
17243
17210
  this.updateNativeElement(optionOrGroup, nativeEl);
17244
17211
  if (isOption(optionOrGroup) && optionOrGroup.selected) {
17245
17212
  this.deselectAllExcept(optionOrGroup);
17213
+ this.selectedOption = optionOrGroup;
17246
17214
  }
17247
17215
  }
17248
17216
  //--------------------------------------------------------------------------
@@ -17282,7 +17250,7 @@ let CalciteSelect$1 = class extends HTMLElement$1 {
17282
17250
  }
17283
17251
  });
17284
17252
  if (futureSelected) {
17285
- requestAnimationFrame(() => (this.selectedOption = futureSelected));
17253
+ this.selectedOption = futureSelected;
17286
17254
  }
17287
17255
  }
17288
17256
  toNativeElement(optionOrGroup) {
@@ -17527,7 +17495,7 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
17527
17495
  };
17528
17496
  this.getKeyAdjustedWidth = (event) => {
17529
17497
  const { key } = event;
17530
- const { step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
17498
+ const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
17531
17499
  const multipliedStep = step * stepMultiplier;
17532
17500
  const MOVEMENT_KEYS = [
17533
17501
  "ArrowUp",
@@ -17542,15 +17510,20 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
17542
17510
  if (MOVEMENT_KEYS.indexOf(key) > -1) {
17543
17511
  event.preventDefault();
17544
17512
  }
17545
- const increaseKeys = key === "ArrowUp" || (position === "end" ? key === "ArrowLeft" : key === "ArrowRight");
17513
+ const dir = getElementStyleDir(el);
17514
+ const directionKeys = ["ArrowLeft", "ArrowRight"];
17515
+ const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
17516
+ const increaseKeys = key === "ArrowUp" ||
17517
+ (position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
17546
17518
  if (increaseKeys) {
17547
17519
  const stepValue = event.shiftKey ? multipliedStep : step;
17548
- return initialContentWidth + stepValue;
17520
+ return initialContentWidth + directionFactor * stepValue;
17549
17521
  }
17550
- const decreaseKeys = key === "ArrowDown" || (position === "end" ? key === "ArrowRight" : key === "ArrowLeft");
17522
+ const decreaseKeys = key === "ArrowDown" ||
17523
+ (position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
17551
17524
  if (decreaseKeys) {
17552
17525
  const stepValue = event.shiftKey ? multipliedStep : step;
17553
- return initialContentWidth - stepValue;
17526
+ return initialContentWidth - directionFactor * stepValue;
17554
17527
  }
17555
17528
  if (typeof contentWidthMin === "number" && key === "Home") {
17556
17529
  return contentWidthMin;
@@ -17575,9 +17548,13 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
17575
17548
  };
17576
17549
  this.separatorPointerMove = (event) => {
17577
17550
  event.preventDefault();
17578
- const { initialContentWidth, position, initialClientX } = this;
17551
+ const { el, initialContentWidth, position, initialClientX } = this;
17579
17552
  const offset = event.clientX - initialClientX;
17580
- this.setContentWidth(position === "end" ? initialContentWidth - offset : initialContentWidth + offset);
17553
+ const dir = getElementStyleDir(el);
17554
+ const adjustmentDirection = dir === "rtl" ? -1 : 1;
17555
+ const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
17556
+ const width = initialContentWidth + adjustedOffset;
17557
+ this.setContentWidth(width);
17581
17558
  };
17582
17559
  this.separatorPointerUp = (event) => {
17583
17560
  event.preventDefault();
@@ -17998,7 +17975,7 @@ let CalciteSlider$1 = class extends HTMLElement$1 {
17998
17975
  const mirror = this.shouldMirror();
17999
17976
  const { activeProp, max, min, pageStep, step } = this;
18000
17977
  const value = this[activeProp];
18001
- const key = getKey(event.key);
17978
+ const key = event.key;
18002
17979
  if (key === "Enter" || key === " ") {
18003
17980
  event.preventDefault();
18004
17981
  return;
@@ -21693,7 +21670,7 @@ let CalciteStepper$1 = class extends HTMLElement$1 {
21693
21670
  const itemToFocus = e.target;
21694
21671
  const isFirstItem = this.itemIndex(itemToFocus) === 0;
21695
21672
  const isLastItem = this.itemIndex(itemToFocus) === this.sortedItems.length - 1;
21696
- switch (getKey(item.key)) {
21673
+ switch (item.key) {
21697
21674
  case "ArrowDown":
21698
21675
  case "ArrowRight":
21699
21676
  if (isLastItem) {
@@ -21908,7 +21885,7 @@ let CalciteStepperItem$1 = class extends HTMLElement$1 {
21908
21885
  //--------------------------------------------------------------------------
21909
21886
  keyDownHandler(e) {
21910
21887
  if (!this.disabled && e.target === this.el) {
21911
- switch (getKey(e.key)) {
21888
+ switch (e.key) {
21912
21889
  case " ":
21913
21890
  case "Enter":
21914
21891
  this.emitRequestedItem();
@@ -22012,7 +21989,7 @@ let CalciteSwitch$1 = class extends HTMLElement$1 {
22012
21989
  //
22013
21990
  //--------------------------------------------------------------------------
22014
21991
  this.keyDownHandler = (e) => {
22015
- const key = getKey(e.key);
21992
+ const key = e.key;
22016
21993
  if (!this.disabled && (key === " " || key === "Enter")) {
22017
21994
  this.toggle();
22018
21995
  }
@@ -22270,7 +22247,7 @@ let CalciteTabNav$1 = class extends HTMLElement$1 {
22270
22247
  }
22271
22248
  }
22272
22249
  render() {
22273
- const dir = getElementDir(this.el);
22250
+ const dir = getElementStyleDir(this.el);
22274
22251
  const width = `${this.indicatorWidth}px`;
22275
22252
  const offset = `${this.indicatorOffset}px`;
22276
22253
  const indicatorStyle = dir !== "rtl" ? { width, left: offset } : { width, right: offset };
@@ -22327,7 +22304,7 @@ let CalciteTabNav$1 = class extends HTMLElement$1 {
22327
22304
  }
22328
22305
  updateOffsetPosition() {
22329
22306
  var _a, _b, _c, _d, _e;
22330
- const dir = getElementDir(this.el);
22307
+ const dir = getElementStyleDir(this.el);
22331
22308
  const navWidth = (_a = this.activeIndicatorContainerEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;
22332
22309
  const tabLeft = (_b = this.selectedTabEl) === null || _b === void 0 ? void 0 : _b.offsetLeft;
22333
22310
  const tabWidth = (_c = this.selectedTabEl) === null || _c === void 0 ? void 0 : _c.offsetWidth;
@@ -22480,14 +22457,14 @@ let CalciteTabTitle$1 = class extends HTMLElement$1 {
22480
22457
  this.emitActiveTab();
22481
22458
  }
22482
22459
  keyDownHandler(e) {
22483
- switch (getKey(e.key)) {
22460
+ switch (e.key) {
22484
22461
  case " ":
22485
22462
  case "Enter":
22486
22463
  this.emitActiveTab();
22487
22464
  e.preventDefault();
22488
22465
  break;
22489
22466
  case "ArrowRight":
22490
- if (getElementDir(this.el) === "ltr") {
22467
+ if (getElementStyleDir(this.el) === "ltr") {
22491
22468
  this.calciteTabsFocusNext.emit();
22492
22469
  }
22493
22470
  else {
@@ -22495,7 +22472,7 @@ let CalciteTabTitle$1 = class extends HTMLElement$1 {
22495
22472
  }
22496
22473
  break;
22497
22474
  case "ArrowLeft":
22498
- if (getElementDir(this.el) === "ltr") {
22475
+ if (getElementStyleDir(this.el) === "ltr") {
22499
22476
  this.calciteTabsFocusPrevious.emit();
22500
22477
  }
22501
22478
  else {
@@ -23101,7 +23078,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23101
23078
  }
23102
23079
  };
23103
23080
  this.hourKeyDownHandler = (event) => {
23104
- const key = getKey(event.key);
23081
+ const key = event.key;
23105
23082
  if (numberKeys.includes(key)) {
23106
23083
  const keyAsNumber = parseInt(key);
23107
23084
  let newHour;
@@ -23189,7 +23166,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23189
23166
  }
23190
23167
  };
23191
23168
  this.meridiemKeyDownHandler = (event) => {
23192
- switch (getKey(event.key)) {
23169
+ switch (event.key) {
23193
23170
  case "a":
23194
23171
  this.setTime("meridiem", "AM");
23195
23172
  break;
@@ -23225,7 +23202,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23225
23202
  }
23226
23203
  };
23227
23204
  this.minuteKeyDownHandler = (event) => {
23228
- const key = getKey(event.key);
23205
+ const key = event.key;
23229
23206
  if (numberKeys.includes(key)) {
23230
23207
  const keyAsNumber = parseInt(key);
23231
23208
  let newMinute;
@@ -23273,7 +23250,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23273
23250
  }
23274
23251
  };
23275
23252
  this.secondKeyDownHandler = (event) => {
23276
- const key = getKey(event.key);
23253
+ const key = event.key;
23277
23254
  if (numberKeys.includes(key)) {
23278
23255
  const keyAsNumber = parseInt(key);
23279
23256
  let newSecond;
@@ -23382,7 +23359,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23382
23359
  this.calciteTimePickerFocus.emit();
23383
23360
  }
23384
23361
  keyDownHandler(event) {
23385
- const key = getKey(event.key);
23362
+ const key = event.key;
23386
23363
  switch (this.activeEl) {
23387
23364
  case this.hourEl:
23388
23365
  if (key === "ArrowRight") {
@@ -23441,7 +23418,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23441
23418
  (_a = this[`${target || "hour"}El`]) === null || _a === void 0 ? void 0 : _a.focus();
23442
23419
  }
23443
23420
  buttonActivated(event) {
23444
- const key = getKey(event.key);
23421
+ const key = event.key;
23445
23422
  if (key === " ") {
23446
23423
  event.preventDefault();
23447
23424
  }
@@ -23807,7 +23784,7 @@ let CalciteTipManager$1 = class extends HTMLElement$1 {
23807
23784
  //
23808
23785
  // --------------------------------------------------------------------------
23809
23786
  renderPagination() {
23810
- const dir = getElementDir(this.el);
23787
+ const dir = getElementStyleDir(this.el);
23811
23788
  const { selectedIndex, tips, total, intlNext, intlPrevious, intlPaginationLabel } = this;
23812
23789
  const nextLabel = intlNext || TEXT$1.next;
23813
23790
  const previousLabel = intlPrevious || TEXT$1.previous;
@@ -24143,7 +24120,7 @@ let CalciteTooltipManager$1 = class extends HTMLElement$1 {
24143
24120
  //
24144
24121
  //--------------------------------------------------------------------------
24145
24122
  keyUpHandler(event) {
24146
- if (getKey(event.key) === "Escape") {
24123
+ if (event.key === "Escape") {
24147
24124
  const { tooltipEl } = this;
24148
24125
  if (tooltipEl) {
24149
24126
  this.clearHoverTimeout(tooltipEl);
@@ -24537,7 +24514,7 @@ let CalciteTreeItem$1 = class extends HTMLElement$1 {
24537
24514
  }
24538
24515
  keyDownHandler(e) {
24539
24516
  let root;
24540
- switch (getKey(e.key)) {
24517
+ switch (e.key) {
24541
24518
  case " ":
24542
24519
  this.calciteTreeItemSelect.emit({
24543
24520
  modifyCurrentSelection: e.shiftKey,
@@ -24973,7 +24950,7 @@ const CalciteDropdown = /*@__PURE__*/proxyCustomElement(CalciteDropdown$1, [1,"c
24973
24950
  const CalciteDropdownGroup = /*@__PURE__*/proxyCustomElement(CalciteDropdownGroup$1, [1,"calcite-dropdown-group",{"groupTitle":[513,"group-title"],"selectionMode":[513,"selection-mode"],"scale":[513]},[[0,"calciteDropdownItemSelect","updateActiveItemOnChange"]]]);
24974
24951
  const CalciteDropdownItem = /*@__PURE__*/proxyCustomElement(CalciteDropdownItem$1, [1,"calcite-dropdown-item",{"active":[1540],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"href":[513],"label":[1],"rel":[1],"target":[1]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"],[16,"calciteDropdownItemChange","updateActiveItemOnChange"]]]);
24975
24952
  const CalciteFab = /*@__PURE__*/proxyCustomElement(CalciteFab$1, [1,"calcite-fab",{"appearance":[513],"color":[513],"disabled":[516],"icon":[1],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
24976
- const CalciteFilter = /*@__PURE__*/proxyCustomElement(CalciteFilter$1, [1,"calcite-filter",{"data":[16],"items":[1040],"disabled":[516],"filteredItems":[1040],"intlClear":[1,"intl-clear"],"intlLabel":[1,"intl-label"],"placeholder":[1],"value":[1025]}]);
24953
+ const CalciteFilter = /*@__PURE__*/proxyCustomElement(CalciteFilter$1, [1,"calcite-filter",{"items":[1040],"disabled":[516],"filteredItems":[1040],"intlClear":[1,"intl-clear"],"intlLabel":[1,"intl-label"],"placeholder":[1],"value":[1025]}]);
24977
24954
  const CalciteFlow = /*@__PURE__*/proxyCustomElement(CalciteFlow$1, [1,"calcite-flow",{"panelCount":[32],"flowDirection":[32],"panels":[32]},[[0,"calcitePanelBackClick","handleCalcitePanelBackClick"]]]);
24978
24955
  const CalciteGraph = /*@__PURE__*/proxyCustomElement(CalciteGraph$1, [1,"calcite-graph",{"data":[16],"colorStops":[16],"width":[2],"height":[2],"highlightMin":[2,"highlight-min"],"highlightMax":[2,"highlight-max"],"min":[2],"max":[2]}]);
24979
24956
  const CalciteHandle = /*@__PURE__*/proxyCustomElement(CalciteHandle$1, [1,"calcite-handle",{"activated":[1540],"textTitle":[513,"text-title"]}]);