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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (481) hide show
  1. package/dist/calcite/assets/calcite-icon/cloudy16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/cloudy24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/cloudy32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/displaySelectionLock16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/displaySelectionLock24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/displaySelectionLock32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/fog16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/fog24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/fog32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/heavyRain16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/heavyRain24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/heavyRain32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/heavySnow16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/heavySnow24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/heavySnow32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/lightRain16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/lightRain24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/lightRain32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/lightSnow16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/lightSnow24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/lightSnow32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/partlyCloud16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/partlyCloud24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/partlyCloud32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/rain16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/rain24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/rain32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/rainSnow16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/rainSnow24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/rainSnow32.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/rainThunder16.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/rainThunder24.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/rainThunder32.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/ringsThreshold16.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/ringsThreshold24.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/ringsThreshold32.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/selectVisible16.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/selectVisible24.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/selectVisible32.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/snow16.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/snow24.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/snow32.json +1 -0
  49. package/dist/calcite/assets/calcite-icon/snowThunder16.json +1 -0
  50. package/dist/calcite/assets/calcite-icon/snowThunder24.json +1 -0
  51. package/dist/calcite/assets/calcite-icon/snowThunder32.json +1 -0
  52. package/dist/calcite/calcite.esm.js +1 -1
  53. package/dist/calcite/{p-2a714a22.entry.js → p-04a2538a.entry.js} +1 -1
  54. package/dist/calcite/{p-d6e30c54.entry.js → p-051cc8c6.entry.js} +1 -1
  55. package/dist/calcite/{p-765fb8ed.entry.js → p-058ee7b0.entry.js} +1 -1
  56. package/dist/calcite/{p-5efd81e1.entry.js → p-0c827dec.entry.js} +1 -1
  57. package/dist/calcite/{p-59a285d8.system.entry.js → p-0f33798d.system.entry.js} +1 -1
  58. package/dist/calcite/{p-e70cb594.system.entry.js → p-0f9f1f89.system.entry.js} +1 -1
  59. package/dist/calcite/{p-1a962bdd.js → p-1161e56f.js} +1 -1
  60. package/dist/calcite/{p-044d603d.system.entry.js → p-18fbf2af.system.entry.js} +1 -1
  61. package/dist/calcite/{p-9338b0bc.entry.js → p-198902ca.entry.js} +1 -1
  62. package/dist/calcite/{p-cc788d2e.entry.js → p-1ad123f9.entry.js} +1 -1
  63. package/dist/calcite/{p-e33fe285.system.entry.js → p-1eb04aad.system.entry.js} +1 -1
  64. package/dist/calcite/{p-deb36fde.system.entry.js → p-1f809e6c.system.entry.js} +1 -1
  65. package/dist/calcite/{p-1c8fe17f.system.entry.js → p-2033f545.system.entry.js} +1 -1
  66. package/dist/calcite/p-20f91a4e.system.entry.js +5 -0
  67. package/dist/calcite/{p-7ba971b5.system.entry.js → p-227bc238.system.entry.js} +1 -1
  68. package/dist/calcite/p-239b44dd.system.entry.js +5 -0
  69. package/dist/calcite/{p-f9c46578.entry.js → p-23bc2d32.entry.js} +1 -1
  70. package/dist/calcite/p-266ee9db.entry.js +5 -0
  71. package/dist/calcite/{p-4f1f83d2.entry.js → p-2c66fb61.entry.js} +1 -1
  72. package/dist/calcite/{p-63e60894.entry.js → p-343cd887.entry.js} +1 -1
  73. package/dist/calcite/{p-ecc00ef0.entry.js → p-3d69fba9.entry.js} +1 -1
  74. package/dist/calcite/p-3ec67fae.entry.js +5 -0
  75. package/dist/calcite/p-42091a1f.system.entry.js +5 -0
  76. package/dist/calcite/p-42c7e2f0.system.entry.js +5 -0
  77. package/dist/calcite/p-43020fb5.js +5 -0
  78. package/dist/calcite/p-44a07313.system.entry.js +5 -0
  79. package/dist/calcite/{p-c34c4414.system.js → p-47f55191.system.js} +1 -1
  80. package/dist/calcite/{p-e52495d3.system.entry.js → p-4a8b3cf3.system.entry.js} +1 -1
  81. package/dist/calcite/p-4cc182af.system.entry.js +5 -0
  82. package/dist/calcite/{p-cced5508.system.entry.js → p-4ee2f6cf.system.entry.js} +1 -1
  83. package/dist/calcite/{p-c87c04a9.entry.js → p-50273eed.entry.js} +1 -1
  84. package/dist/calcite/p-5035488d.entry.js +5 -0
  85. package/dist/calcite/p-52578054.js +5 -0
  86. package/dist/calcite/{p-3a592bf3.system.entry.js → p-538e542a.system.entry.js} +1 -1
  87. package/dist/calcite/{p-ef39847e.entry.js → p-55bfe4fc.entry.js} +1 -1
  88. package/dist/calcite/{p-dd464e44.system.entry.js → p-57e9b7cb.system.entry.js} +1 -1
  89. package/dist/calcite/{p-e6d05ad6.system.entry.js → p-6c5b849f.system.entry.js} +1 -1
  90. package/dist/calcite/{p-9577dfd9.entry.js → p-6ca051ef.entry.js} +1 -1
  91. package/dist/calcite/{p-c61ebee9.entry.js → p-702140ce.entry.js} +1 -1
  92. package/dist/calcite/{p-523bc291.system.js → p-71cdeee3.system.js} +1 -1
  93. package/dist/calcite/p-71e299a6.system.js +5 -0
  94. package/dist/calcite/{p-243d95ab.system.entry.js → p-730b8963.system.entry.js} +2 -2
  95. package/dist/calcite/{p-4d11efdb.system.entry.js → p-7325e7fc.system.entry.js} +1 -1
  96. package/dist/calcite/{p-a8dc2982.system.entry.js → p-784e4e32.system.entry.js} +1 -1
  97. package/dist/calcite/{p-2aa3007a.entry.js → p-80a527ef.entry.js} +1 -1
  98. package/dist/calcite/{p-cf03b144.system.entry.js → p-832affcb.system.entry.js} +1 -1
  99. package/dist/calcite/p-837f9bb4.system.entry.js +5 -0
  100. package/dist/calcite/{p-840f2937.system.entry.js → p-83fca16e.system.entry.js} +1 -1
  101. package/dist/calcite/{p-e616f9b5.entry.js → p-84d6696b.entry.js} +1 -1
  102. package/dist/calcite/{p-38bd222a.entry.js → p-87f1831b.entry.js} +1 -1
  103. package/dist/calcite/{p-4acfb654.entry.js → p-88b4f504.entry.js} +1 -1
  104. package/dist/calcite/{p-f1c5e7cf.entry.js → p-89987575.entry.js} +1 -1
  105. package/dist/calcite/{p-c4cb4fab.system.entry.js → p-8b2d4eac.system.entry.js} +1 -1
  106. package/dist/calcite/p-8da7ad4b.entry.js +5 -0
  107. package/dist/calcite/p-8e252799.system.js +1 -1
  108. package/dist/calcite/{p-1dd440e6.system.entry.js → p-9470d123.system.entry.js} +1 -1
  109. package/dist/calcite/{p-4e16515a.system.entry.js → p-99de28b4.system.entry.js} +1 -1
  110. package/dist/calcite/{p-004460a0.system.entry.js → p-99e52ea7.system.entry.js} +1 -1
  111. package/dist/calcite/{p-29771742.entry.js → p-9be50494.entry.js} +1 -1
  112. package/dist/calcite/{p-15f3a0d7.system.entry.js → p-a821e9b3.system.entry.js} +1 -1
  113. package/dist/calcite/{p-b94bf8ac.system.entry.js → p-a98e5444.system.entry.js} +2 -2
  114. package/dist/calcite/p-ab9c6a18.entry.js +5 -0
  115. package/dist/calcite/{p-6484ffb7.system.entry.js → p-abdc7a4b.system.entry.js} +1 -1
  116. package/dist/calcite/{p-74f390e1.system.entry.js → p-ac38b743.system.entry.js} +2 -2
  117. package/dist/calcite/{p-dbe899c6.system.entry.js → p-b0b6baf4.system.entry.js} +1 -1
  118. package/dist/calcite/{p-6296644b.entry.js → p-b16b831d.entry.js} +1 -1
  119. package/dist/calcite/p-b174f9ac.entry.js +5 -0
  120. package/dist/calcite/{p-16f2d814.system.entry.js → p-b37b7b9e.system.entry.js} +1 -1
  121. package/dist/calcite/{p-502ea583.entry.js → p-b3e418f0.entry.js} +1 -1
  122. package/dist/calcite/{p-defcee80.system.entry.js → p-b5d21a5d.system.entry.js} +1 -1
  123. package/dist/calcite/p-b5f412fb.entry.js +5 -0
  124. package/dist/calcite/p-b6b6ec04.js +5 -0
  125. package/dist/calcite/{p-127e3513.system.entry.js → p-b7518275.system.entry.js} +1 -1
  126. package/dist/calcite/{p-85032edc.system.entry.js → p-b75ffebb.system.entry.js} +1 -1
  127. package/dist/calcite/{p-8603b2e1.entry.js → p-bef1f0d9.entry.js} +1 -1
  128. package/dist/calcite/{p-c0e35328.entry.js → p-c0690971.entry.js} +1 -1
  129. package/dist/calcite/{p-05da7439.entry.js → p-c12e88cd.entry.js} +1 -1
  130. package/dist/calcite/p-c1794615.entry.js +5 -0
  131. package/dist/calcite/{p-cbf6bb04.system.js → p-c937f25f.system.js} +1 -1
  132. package/dist/calcite/{p-8baa9ba4.entry.js → p-c9551366.entry.js} +1 -1
  133. package/dist/calcite/{p-efb2169a.entry.js → p-ca5c0679.entry.js} +1 -1
  134. package/dist/calcite/{p-e5e3b591.entry.js → p-cd1cdf3c.entry.js} +1 -1
  135. package/dist/calcite/p-d07ff1ee.system.js +5 -0
  136. package/dist/calcite/{p-16bb48f6.system.entry.js → p-d102e280.system.entry.js} +1 -1
  137. package/dist/calcite/p-d830efad.entry.js +5 -0
  138. package/dist/calcite/p-dacd3cf8.entry.js +5 -0
  139. package/dist/calcite/{p-9be6633a.entry.js → p-dcc6b40f.entry.js} +1 -1
  140. package/dist/calcite/p-dccb5ffd.entry.js +5 -0
  141. package/dist/calcite/{p-a5269f14.system.entry.js → p-e2d18d39.system.entry.js} +1 -1
  142. package/dist/calcite/p-e5305b02.js +5 -0
  143. package/dist/calcite/{p-10708f87.system.entry.js → p-e6a47d34.system.entry.js} +1 -1
  144. package/dist/calcite/p-e78e743b.entry.js +5 -0
  145. package/dist/calcite/{p-fc643963.entry.js → p-ea3fee96.entry.js} +1 -1
  146. package/dist/calcite/{p-109049e6.system.entry.js → p-eb0f1e0f.system.entry.js} +1 -1
  147. package/dist/calcite/{p-5eee672a.system.entry.js → p-ed3f000d.system.entry.js} +1 -1
  148. package/dist/calcite/{p-592da79d.system.entry.js → p-ee40deba.system.entry.js} +1 -1
  149. package/dist/calcite/p-ee45cff5.system.entry.js +5 -0
  150. package/dist/calcite/{p-aec398f3.system.entry.js → p-eeb8dfe5.system.entry.js} +1 -1
  151. package/dist/calcite/{p-63da2e34.system.entry.js → p-f05b5dc9.system.entry.js} +1 -1
  152. package/dist/calcite/{p-a61d85db.system.entry.js → p-f1832595.system.entry.js} +1 -1
  153. package/dist/calcite/p-f2620bc3.js +5 -0
  154. package/dist/calcite/{p-f278dd53.entry.js → p-f333e31b.entry.js} +1 -1
  155. package/dist/calcite/{p-4778c5cf.system.entry.js → p-f6323ffa.system.entry.js} +1 -1
  156. package/dist/calcite/p-f87ba8eb.system.js +5 -0
  157. package/dist/calcite/{p-578509a8.entry.js → p-f97e1a2d.entry.js} +1 -1
  158. package/dist/calcite/p-fb817417.entry.js +5 -0
  159. package/dist/calcite/{p-ace12b8d.entry.js → p-fb8b2c96.entry.js} +1 -1
  160. package/dist/calcite/{p-2451da5b.entry.js → p-fba77b86.entry.js} +1 -1
  161. package/dist/calcite/{p-289bc56f.entry.js → p-fc32b022.entry.js} +1 -1
  162. package/dist/calcite/p-fccc1605.entry.js +5 -0
  163. package/dist/calcite/{p-5f2a9710.system.entry.js → p-fd1ddcd2.system.entry.js} +1 -1
  164. package/dist/cjs/{CalciteExpandToggle-5f60c98b.js → CalciteExpandToggle-ca629f39.js} +3 -3
  165. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  166. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  167. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  168. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  169. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  170. package/dist/cjs/calcite-alert.cjs.entry.js +19 -7
  171. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  172. package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
  173. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  174. package/dist/cjs/calcite-card.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  176. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  177. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +20 -12
  178. package/dist/cjs/calcite-combobox_3.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +1 -1
  180. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +3 -3
  181. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  182. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  183. package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
  184. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
  186. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
  187. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  188. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  189. package/dist/cjs/calcite-input.cjs.entry.js +23 -17
  190. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  191. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  192. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  193. package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
  194. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  195. package/dist/cjs/calcite-option_3.cjs.entry.js +5 -4
  196. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  197. package/dist/cjs/calcite-panel.cjs.entry.js +8 -7
  198. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  199. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  200. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +18 -20
  201. package/dist/cjs/calcite-radio_2.cjs.entry.js +4 -4
  202. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-shell_3.cjs.entry.js +166 -6
  204. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -2
  205. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  206. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-tab_4.cjs.entry.js +5 -5
  208. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  209. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  210. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  212. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  213. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  214. package/dist/cjs/calcite.cjs.js +1 -1
  215. package/dist/cjs/{dom-19822169.js → dom-41ce6029.js} +7 -0
  216. package/dist/cjs/{form-a5b44a1f.js → form-7f276aa5.js} +1 -1
  217. package/dist/cjs/{label-8e3552b2.js → label-98a31f7d.js} +1 -1
  218. package/dist/cjs/loader.cjs.js +1 -1
  219. package/dist/cjs/{popper-87bf13e6.js → popper-4c24a334.js} +91 -65
  220. package/dist/cjs/{resources-cd25dbae.js → resources-1177e39b.js} +1 -1
  221. package/dist/collection/components/calcite-alert/calcite-alert.js +19 -5
  222. package/dist/collection/components/calcite-block-section/calcite-block-section.js +2 -2
  223. package/dist/collection/components/calcite-combobox/calcite-combobox.js +2 -2
  224. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +1 -1
  225. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy16.json +1 -0
  226. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy24.json +1 -0
  227. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy32.json +1 -0
  228. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock16.json +1 -0
  229. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock24.json +1 -0
  230. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock32.json +1 -0
  231. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  232. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  233. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  234. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  235. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  236. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  237. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog16.json +1 -0
  238. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog24.json +1 -0
  239. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog32.json +1 -0
  240. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain16.json +1 -0
  241. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain24.json +1 -0
  242. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain32.json +1 -0
  243. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow16.json +1 -0
  244. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow24.json +1 -0
  245. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow32.json +1 -0
  246. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain16.json +1 -0
  247. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain24.json +1 -0
  248. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain32.json +1 -0
  249. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow16.json +1 -0
  250. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow24.json +1 -0
  251. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow32.json +1 -0
  252. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud16.json +1 -0
  253. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud24.json +1 -0
  254. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud32.json +1 -0
  255. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain16.json +1 -0
  256. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain24.json +1 -0
  257. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain32.json +1 -0
  258. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow16.json +1 -0
  259. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow24.json +1 -0
  260. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow32.json +1 -0
  261. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder16.json +1 -0
  262. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder24.json +1 -0
  263. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder32.json +1 -0
  264. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold16.json +1 -0
  265. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold24.json +1 -0
  266. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold32.json +1 -0
  267. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible16.json +1 -0
  268. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible24.json +1 -0
  269. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible32.json +1 -0
  270. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow16.json +1 -0
  271. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow24.json +1 -0
  272. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow32.json +1 -0
  273. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder16.json +1 -0
  274. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder24.json +1 -0
  275. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder32.json +1 -0
  276. package/dist/collection/components/calcite-input/calcite-input.css +2 -0
  277. package/dist/collection/components/calcite-input/calcite-input.js +21 -14
  278. package/dist/collection/components/calcite-modal/calcite-modal.js +1 -1
  279. package/dist/collection/components/calcite-panel/calcite-panel.css +4 -1
  280. package/dist/collection/components/calcite-panel/calcite-panel.js +9 -8
  281. package/dist/collection/components/calcite-panel/resources.js +1 -0
  282. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +2 -3
  283. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +16 -18
  284. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +1 -1
  285. package/dist/collection/components/calcite-select/calcite-select.js +2 -1
  286. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +44 -0
  287. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +204 -6
  288. package/dist/collection/components/calcite-shell-panel/resources.js +5 -1
  289. package/dist/collection/components/calcite-split-button/calcite-split-button.js +26 -1
  290. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
  291. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +3 -3
  292. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  293. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  294. package/dist/collection/utils/dom.js +6 -0
  295. package/dist/components/CalciteExpandToggle.js +3 -3
  296. package/dist/components/calcite-alert.js +18 -6
  297. package/dist/components/calcite-avatar.js +1 -1
  298. package/dist/components/calcite-block-section.js +2 -2
  299. package/dist/components/calcite-button2.js +1 -1
  300. package/dist/components/calcite-color-picker-swatch2.js +20 -12
  301. package/dist/components/calcite-combobox.js +2 -2
  302. package/dist/components/calcite-dropdown2.js +1 -1
  303. package/dist/components/calcite-input2.js +20 -14
  304. package/dist/components/calcite-modal.js +2 -2
  305. package/dist/components/calcite-panel.js +8 -7
  306. package/dist/components/calcite-popover-manager.js +1 -1
  307. package/dist/components/calcite-radio-button.js +2 -2
  308. package/dist/components/calcite-radio-group.js +16 -18
  309. package/dist/components/calcite-select.js +2 -1
  310. package/dist/components/calcite-shell-panel.js +171 -8
  311. package/dist/components/calcite-slider.js +1 -1
  312. package/dist/components/calcite-split-button.js +4 -1
  313. package/dist/components/calcite-tab-nav2.js +3 -3
  314. package/dist/components/calcite-tab-title2.js +3 -3
  315. package/dist/components/calcite-tip-manager.js +2 -2
  316. package/dist/components/calcite-tree-item.js +1 -1
  317. package/dist/components/dom.js +7 -1
  318. package/dist/components/form.js +1 -1
  319. package/dist/components/label.js +1 -1
  320. package/dist/components/popper.js +90 -64
  321. package/dist/custom-elements/index.js +451 -232
  322. package/dist/esm/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-4b38a7d1.js} +3 -3
  323. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  324. package/dist/esm/calcite-action-bar.entry.js +2 -2
  325. package/dist/esm/calcite-action-group.entry.js +1 -1
  326. package/dist/esm/calcite-action-menu.entry.js +1 -1
  327. package/dist/esm/calcite-action-pad.entry.js +2 -2
  328. package/dist/esm/calcite-alert.entry.js +19 -7
  329. package/dist/esm/calcite-avatar.entry.js +1 -1
  330. package/dist/esm/calcite-block_2.entry.js +2 -2
  331. package/dist/esm/calcite-button.entry.js +2 -2
  332. package/dist/esm/calcite-card.entry.js +1 -1
  333. package/dist/esm/calcite-checkbox.entry.js +3 -3
  334. package/dist/esm/calcite-chip.entry.js +1 -1
  335. package/dist/esm/calcite-color-picker_3.entry.js +20 -12
  336. package/dist/esm/calcite-combobox_3.entry.js +5 -5
  337. package/dist/esm/calcite-date-picker_4.entry.js +1 -1
  338. package/dist/esm/calcite-dropdown_3.entry.js +3 -3
  339. package/dist/esm/calcite-fab.entry.js +1 -1
  340. package/dist/esm/calcite-filter.entry.js +1 -1
  341. package/dist/esm/calcite-graph_2.entry.js +3 -3
  342. package/dist/esm/calcite-icon.entry.js +1 -1
  343. package/dist/esm/calcite-inline-editable.entry.js +2 -2
  344. package/dist/esm/calcite-input-date-picker.entry.js +4 -4
  345. package/dist/esm/calcite-input-message.entry.js +1 -1
  346. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  347. package/dist/esm/calcite-input.entry.js +23 -17
  348. package/dist/esm/calcite-label.entry.js +1 -1
  349. package/dist/esm/calcite-link.entry.js +1 -1
  350. package/dist/esm/calcite-list_3.entry.js +1 -1
  351. package/dist/esm/calcite-modal.entry.js +2 -2
  352. package/dist/esm/calcite-notice.entry.js +1 -1
  353. package/dist/esm/calcite-option_3.entry.js +5 -4
  354. package/dist/esm/calcite-pagination.entry.js +1 -1
  355. package/dist/esm/calcite-panel.entry.js +8 -7
  356. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  357. package/dist/esm/calcite-popover_2.entry.js +2 -2
  358. package/dist/esm/calcite-radio-group_2.entry.js +18 -20
  359. package/dist/esm/calcite-radio_2.entry.js +4 -4
  360. package/dist/esm/calcite-rating.entry.js +3 -3
  361. package/dist/esm/calcite-shell_3.entry.js +167 -7
  362. package/dist/esm/calcite-split-button.entry.js +4 -2
  363. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  364. package/dist/esm/calcite-switch.entry.js +3 -3
  365. package/dist/esm/calcite-tab_4.entry.js +5 -5
  366. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  367. package/dist/esm/calcite-tile.entry.js +1 -1
  368. package/dist/esm/calcite-tip_3.entry.js +2 -2
  369. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  370. package/dist/esm/calcite-tree_2.entry.js +1 -1
  371. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  372. package/dist/esm/calcite.js +1 -1
  373. package/dist/esm/{dom-f24e866c.js → dom-dc012a45.js} +7 -1
  374. package/dist/esm/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  375. package/dist/esm/{label-5559055d.js → label-0d804a87.js} +1 -1
  376. package/dist/esm/loader.js +1 -1
  377. package/dist/esm/{popper-dc4b45cf.js → popper-ed1eefa6.js} +91 -65
  378. package/dist/esm/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
  379. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +5 -0
  380. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  381. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  382. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  383. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  384. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  385. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  386. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  387. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  388. package/dist/esm-es5/calcite-button.entry.js +1 -1
  389. package/dist/esm-es5/calcite-card.entry.js +1 -1
  390. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  391. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  392. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  393. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  394. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  395. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  396. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  397. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  398. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  399. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  400. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  401. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  402. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  403. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  404. package/dist/esm-es5/calcite-input.entry.js +1 -1
  405. package/dist/esm-es5/calcite-label.entry.js +1 -1
  406. package/dist/esm-es5/calcite-link.entry.js +1 -1
  407. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  408. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  409. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  410. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  411. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  412. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  413. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  414. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  415. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  416. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  417. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  418. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  419. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  420. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  421. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  422. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  423. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  424. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  425. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  426. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  427. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  428. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  429. package/dist/esm-es5/calcite.js +1 -1
  430. package/dist/esm-es5/dom-dc012a45.js +5 -0
  431. package/dist/esm-es5/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  432. package/dist/esm-es5/{label-5559055d.js → label-0d804a87.js} +1 -1
  433. package/dist/esm-es5/loader.js +1 -1
  434. package/dist/esm-es5/popper-ed1eefa6.js +5 -0
  435. package/dist/esm-es5/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
  436. package/dist/extras/docs-json.json +63 -1
  437. package/dist/types/components/calcite-alert/calcite-alert.d.ts +4 -1
  438. package/dist/types/components/calcite-panel/resources.d.ts +1 -0
  439. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -2
  440. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +31 -0
  441. package/dist/types/components/calcite-shell-panel/resources.d.ts +4 -0
  442. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +3 -0
  443. package/dist/types/components.d.ts +26 -0
  444. package/dist/types/utils/dom.d.ts +4 -0
  445. package/hydrate/index.js +455 -232
  446. package/package.json +17 -16
  447. package/readme.md +2 -2
  448. package/CHANGELOG.md +0 -1540
  449. package/dist/calcite/p-047e1000.system.entry.js +0 -5
  450. package/dist/calcite/p-08d707c4.entry.js +0 -5
  451. package/dist/calcite/p-1434e37e.entry.js +0 -5
  452. package/dist/calcite/p-1942876c.js +0 -5
  453. package/dist/calcite/p-1aa89347.system.entry.js +0 -5
  454. package/dist/calcite/p-33226317.entry.js +0 -5
  455. package/dist/calcite/p-3dae9da3.js +0 -5
  456. package/dist/calcite/p-3e6fcede.entry.js +0 -5
  457. package/dist/calcite/p-52cc870b.js +0 -5
  458. package/dist/calcite/p-54394dfe.system.entry.js +0 -5
  459. package/dist/calcite/p-5c0c29bc.entry.js +0 -5
  460. package/dist/calcite/p-5f817b79.entry.js +0 -5
  461. package/dist/calcite/p-6cc23c39.system.js +0 -5
  462. package/dist/calcite/p-6d44b7d9.system.js +0 -5
  463. package/dist/calcite/p-75264173.entry.js +0 -5
  464. package/dist/calcite/p-75955cef.entry.js +0 -5
  465. package/dist/calcite/p-7cbc72b6.system.entry.js +0 -5
  466. package/dist/calcite/p-81ab443c.entry.js +0 -5
  467. package/dist/calcite/p-8445bc9c.system.entry.js +0 -5
  468. package/dist/calcite/p-968ea270.entry.js +0 -5
  469. package/dist/calcite/p-aa47308a.entry.js +0 -5
  470. package/dist/calcite/p-b1351c3e.system.entry.js +0 -5
  471. package/dist/calcite/p-b1a96c72.system.entry.js +0 -5
  472. package/dist/calcite/p-b1f88d45.system.js +0 -5
  473. package/dist/calcite/p-ca3bb147.entry.js +0 -5
  474. package/dist/calcite/p-d53cc958.js +0 -5
  475. package/dist/calcite/p-d550ee4d.entry.js +0 -5
  476. package/dist/calcite/p-d6f20229.js +0 -5
  477. package/dist/calcite/p-ed15771f.system.entry.js +0 -5
  478. package/dist/calcite/p-ed453bfb.entry.js +0 -5
  479. package/dist/esm-es5/CalciteExpandToggle-677f2f8b.js +0 -5
  480. package/dist/esm-es5/dom-f24e866c.js +0 -5
  481. package/dist/esm-es5/popper-dc4b45cf.js +0 -5
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { c as getThemeName } from './dom.js';
6
+ import { d as getThemeName } from './dom.js';
7
7
 
8
8
  function createCommonjsModule(fn, basedir, module) {
9
9
  return module = {
@@ -215,12 +215,13 @@ var colorString = createCommonjsModule(function (module) {
215
215
  /* MIT license */
216
216
 
217
217
 
218
+ var hasOwnProperty = Object.hasOwnProperty;
218
219
 
219
220
  var reverseNames = {};
220
221
 
221
222
  // create a list of reverse color names
222
223
  for (var name in colorName$1) {
223
- if (colorName$1.hasOwnProperty(name)) {
224
+ if (hasOwnProperty.call(colorName$1, name)) {
224
225
  reverseNames[colorName$1[name]] = name;
225
226
  }
226
227
  }
@@ -263,9 +264,9 @@ cs.get.rgb = function (string) {
263
264
 
264
265
  var abbr = /^#([a-f0-9]{3,4})$/i;
265
266
  var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;
266
- var rgba = /^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;
267
- var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;
268
- var keyword = /(\D+)/;
267
+ var rgba = /^rgba?\(\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
268
+ var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
269
+ var keyword = /^(\w+)$/;
269
270
 
270
271
  var rgb = [0, 0, 0, 1];
271
272
  var match;
@@ -302,7 +303,11 @@ cs.get.rgb = function (string) {
302
303
  }
303
304
 
304
305
  if (match[4]) {
305
- rgb[3] = parseFloat(match[4]);
306
+ if (match[5]) {
307
+ rgb[3] = parseFloat(match[4]) * 0.01;
308
+ } else {
309
+ rgb[3] = parseFloat(match[4]);
310
+ }
306
311
  }
307
312
  } else if (match = string.match(per)) {
308
313
  for (i = 0; i < 3; i++) {
@@ -310,19 +315,22 @@ cs.get.rgb = function (string) {
310
315
  }
311
316
 
312
317
  if (match[4]) {
313
- rgb[3] = parseFloat(match[4]);
318
+ if (match[5]) {
319
+ rgb[3] = parseFloat(match[4]) * 0.01;
320
+ } else {
321
+ rgb[3] = parseFloat(match[4]);
322
+ }
314
323
  }
315
324
  } else if (match = string.match(keyword)) {
316
325
  if (match[1] === 'transparent') {
317
326
  return [0, 0, 0, 0];
318
327
  }
319
328
 
320
- rgb = colorName$1[match[1]];
321
-
322
- if (!rgb) {
329
+ if (!hasOwnProperty.call(colorName$1, match[1])) {
323
330
  return null;
324
331
  }
325
332
 
333
+ rgb = colorName$1[match[1]];
326
334
  rgb[3] = 1;
327
335
 
328
336
  return rgb;
@@ -348,7 +356,7 @@ cs.get.hsl = function (string) {
348
356
 
349
357
  if (match) {
350
358
  var alpha = parseFloat(match[4]);
351
- var h = (parseFloat(match[1]) + 360) % 360;
359
+ var h = ((parseFloat(match[1]) % 360) + 360) % 360;
352
360
  var s = clamp(parseFloat(match[2]), 0, 100);
353
361
  var l = clamp(parseFloat(match[3]), 0, 100);
354
362
  var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
@@ -443,7 +451,7 @@ function clamp(num, min, max) {
443
451
  }
444
452
 
445
453
  function hexDouble(num) {
446
- var str = num.toString(16).toUpperCase();
454
+ var str = Math.round(num).toString(16).toUpperCase();
447
455
  return (str.length < 2) ? '0' + str : str;
448
456
  }
449
457
  });
@@ -5,7 +5,7 @@
5
5
  import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as isSymbol, S as Symbol, d as debounce } from './debounce.js';
7
7
  import { i as isArray, f as forIn } from './forIn.js';
8
- import { a as getElementDir } from './dom.js';
8
+ import { c as getElementStyleDir, a as getElementDir } from './dom.js';
9
9
  import { g as getKey } from './key.js';
10
10
  import { u as updatePopper, c as createPopper, C as CSS } from './popper.js';
11
11
  import { g as guid } from './guid.js';
@@ -235,7 +235,7 @@ let CalciteCombobox$1 = class extends HTMLElement {
235
235
  this.setFocus();
236
236
  };
237
237
  this.keydownHandler = (event) => {
238
- const key = getKey(event.key, getElementDir(this.el));
238
+ const key = getKey(event.key, getElementStyleDir(this.el));
239
239
  switch (key) {
240
240
  case "Tab":
241
241
  this.activeChipIndex = -1;
@@ -67,7 +67,7 @@ let CalciteDropdown = class extends HTMLElement {
67
67
  //
68
68
  //--------------------------------------------------------------------------
69
69
  this.items = [];
70
- this.activeTransitionProp = "opacity";
70
+ this.activeTransitionProp = "visibility";
71
71
  this.mutationObserver = createObserver("mutation", () => this.updateItems());
72
72
  //--------------------------------------------------------------------------
73
73
  //
@@ -41,7 +41,7 @@ const SLOTS = {
41
41
  action: "action"
42
42
  };
43
43
 
44
- const calciteInputCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;height:auto}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;height:auto}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;height:auto}:host([disabled]){pointer-events:none}:host([disabled]) .wrapper{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) button,:host([disabled]) textarea,:host([disabled]) input{pointer-events:none}:host([disabled]) textarea{resize:none}:host textarea,:host input{-webkit-transition:150ms ease-in-out, height 0s;transition:150ms ease-in-out, height 0s;-webkit-appearance:none;width:100%;border-radius:0;position:relative;max-height:100%;max-width:100%;margin:0;font-weight:var(--calcite-font-weight-normal);font-family:inherit;-ms-flex:1 1 0%;flex:1 1 0%;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-1);-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{left:0.5rem}:host([scale=s]) .calcite--rtl .icon{left:unset;right:0.5rem}:host([scale=m]) .icon{left:0.75rem}:host([scale=m]) .calcite--rtl .icon{left:unset;right:0.75rem}:host([scale=l]) .icon{left:1rem}:host([scale=l]) .calcite--rtl .icon{left:unset;right:1rem}:host([icon][scale=s]) input{padding-left:2rem}:host([icon][scale=s]) .calcite--rtl input{padding-right:2rem;padding-left:0.5rem}:host([icon][scale=m]) input{padding-left:2.5rem}:host([icon][scale=m]) .calcite--rtl input{padding-right:2.5rem;padding-left:0.5rem}:host([icon][scale=l]) input{padding-left:3rem}:host([icon][scale=l]) .calcite--rtl input{padding-right:3rem;padding-left:0.5rem}.element-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 0%;flex:1 1 0%;position:relative;-ms-flex-order:3;order:3}.icon{display:block;position:absolute;pointer-events:none;z-index:10;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;min-height:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-ms-flex-order:4;order:4;margin:0}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.calcite--rtl .clear-button{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}.loader{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}.action-wrapper{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}.prefix,.suffix{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:var(--calcite-font-weight-medium);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);color:var(--calcite-ui-text-2);line-height:1;word-wrap:break-word;overflow-wrap:break-word}.prefix{-ms-flex-order:2;order:2;border-right-width:0}.suffix{-ms-flex-order:5;order:5;border-left-width:0}.calcite--rtl .prefix{border-right-width:1px;border-left-width:0}.calcite--rtl .suffix{border-left-width:1px;border-right-width:0}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:left}:host([alignment=start]) .calcite--rtl textarea,:host([alignment=start]) .calcite--rtl input{text-align:right}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:right}:host([alignment=end]) .calcite--rtl textarea,:host([alignment=end]) .calcite--rtl input{text-align:left}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;pointer-events:none;-ms-flex-order:6;order:6;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{min-height:100%;max-height:100%;-ms-flex-order:1;order:1;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-left-width:0;border-color:var(--calcite-ui-border-input)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=up]{border-width:1px;border-right-width:0;border-color:var(--calcite-ui-border-input)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down],:host([number-button-type=vertical]) .calcite--rtl .number-button-item[data-adjustment=down]{border-top-width:0}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;padding-top:0;padding-bottom:0;padding-left:0.5rem;padding-right:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;margin:0}.number-button-item calcite-icon{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}:host([number-button-type=vertical]) .calcite--rtl .number-button-item{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;position:relative}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;bottom:0;right:0;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.resize-icon-wrapper{display:none}}.resize-icon-wrapper{bottom:2px;right:2px;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);position:absolute;z-index:10;pointer-events:none;width:0.75rem;height:0.75rem}.resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl textarea::-webkit-resizer{right:unset;left:0}.calcite--rtl .resize-icon-wrapper{left:2px;right:unset}.calcite--rtl .resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0}:host(.border-t-color-1) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;background-color:transparent}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
44
+ const calciteInputCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;height:auto}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;height:auto}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;height:auto}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .wrapper{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) button,:host([disabled]) textarea,:host([disabled]) input{pointer-events:none}:host([disabled]) textarea{resize:none}:host textarea,:host input{-webkit-transition:150ms ease-in-out, height 0s;transition:150ms ease-in-out, height 0s;-webkit-appearance:none;width:100%;border-radius:0;position:relative;max-height:100%;max-width:100%;margin:0;font-weight:var(--calcite-font-weight-normal);font-family:inherit;-ms-flex:1 1 0%;flex:1 1 0%;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-1);-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{left:0.5rem}:host([scale=s]) .calcite--rtl .icon{left:unset;right:0.5rem}:host([scale=m]) .icon{left:0.75rem}:host([scale=m]) .calcite--rtl .icon{left:unset;right:0.75rem}:host([scale=l]) .icon{left:1rem}:host([scale=l]) .calcite--rtl .icon{left:unset;right:1rem}:host([icon][scale=s]) input{padding-left:2rem}:host([icon][scale=s]) .calcite--rtl input{padding-right:2rem;padding-left:0.5rem}:host([icon][scale=m]) input{padding-left:2.5rem}:host([icon][scale=m]) .calcite--rtl input{padding-right:2.5rem;padding-left:0.5rem}:host([icon][scale=l]) input{padding-left:3rem}:host([icon][scale=l]) .calcite--rtl input{padding-right:3rem;padding-left:0.5rem}.element-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 0%;flex:1 1 0%;position:relative;-ms-flex-order:3;order:3}.icon{display:block;position:absolute;pointer-events:none;z-index:10;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;min-height:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-ms-flex-order:4;order:4;margin:0}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.calcite--rtl .clear-button{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}.loader{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}.action-wrapper{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}.prefix,.suffix{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:var(--calcite-font-weight-medium);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);color:var(--calcite-ui-text-2);line-height:1;word-wrap:break-word;overflow-wrap:break-word}.prefix{-ms-flex-order:2;order:2;border-right-width:0}.suffix{-ms-flex-order:5;order:5;border-left-width:0}.calcite--rtl .prefix{border-right-width:1px;border-left-width:0}.calcite--rtl .suffix{border-left-width:1px;border-right-width:0}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:left}:host([alignment=start]) .calcite--rtl textarea,:host([alignment=start]) .calcite--rtl input{text-align:right}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:right}:host([alignment=end]) .calcite--rtl textarea,:host([alignment=end]) .calcite--rtl input{text-align:left}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;pointer-events:none;-ms-flex-order:6;order:6;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{min-height:100%;max-height:100%;-ms-flex-order:1;order:1;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-left-width:0;border-color:var(--calcite-ui-border-input)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=up]{border-width:1px;border-right-width:0;border-color:var(--calcite-ui-border-input)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down],:host([number-button-type=vertical]) .calcite--rtl .number-button-item[data-adjustment=down]{border-top-width:0}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;padding-top:0;padding-bottom:0;padding-left:0.5rem;padding-right:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;margin:0}.number-button-item calcite-icon{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}:host([number-button-type=vertical]) .calcite--rtl .number-button-item{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;position:relative}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;bottom:0;right:0;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.resize-icon-wrapper{display:none}}.resize-icon-wrapper{bottom:2px;right:2px;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);position:absolute;z-index:10;pointer-events:none;width:0.75rem;height:0.75rem}.resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl textarea::-webkit-resizer{right:unset;left:0}.calcite--rtl .resize-icon-wrapper{left:2px;right:unset}.calcite--rtl .resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0}:host(.border-t-color-1) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;background-color:transparent}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
45
45
 
46
46
  let CalciteInput = class extends HTMLElement {
47
47
  constructor() {
@@ -105,6 +105,8 @@ let CalciteInput = class extends HTMLElement {
105
105
  * Note that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`
106
106
  */
107
107
  this.type = "text";
108
+ /** input value */
109
+ this.value = "";
108
110
  /** keep track of the rendered child type */
109
111
  this.childElType = "input";
110
112
  //--------------------------------------------------------------------------
@@ -126,7 +128,7 @@ let CalciteInput = class extends HTMLElement {
126
128
  }
127
129
  };
128
130
  this.clearInputValue = (nativeEvent) => {
129
- this.setValue(null, nativeEvent, true);
131
+ this.setValue("", nativeEvent, true);
130
132
  };
131
133
  this.inputBlurHandler = () => {
132
134
  if (this.type === "number") {
@@ -233,12 +235,13 @@ let CalciteInput = class extends HTMLElement {
233
235
  const inputMin = this.minString ? parseFloat(this.minString) : null;
234
236
  const valueNudgeDelayInMs = 100;
235
237
  this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
236
- let nudgeNumberValueIntervalCount = 0;
238
+ let firstValueNudge = true;
237
239
  this.nudgeNumberValueIntervalId = setInterval(() => {
238
- nudgeNumberValueIntervalCount !== 0
239
- ? this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent)
240
- : null;
241
- nudgeNumberValueIntervalCount++;
240
+ if (firstValueNudge) {
241
+ firstValueNudge = false;
242
+ return;
243
+ }
244
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
242
245
  }, valueNudgeDelayInMs);
243
246
  };
244
247
  this.numberButtonMouseUpAndMouseOutHandler = () => {
@@ -267,7 +270,7 @@ let CalciteInput = class extends HTMLElement {
267
270
  this.setLocalizedValue(this.value);
268
271
  }
269
272
  if (nativeEvent) {
270
- if (this.type === "number" && (value === null || value === void 0 ? void 0 : value.endsWith("."))) {
273
+ if (this.type === "number" && value.endsWith(".")) {
271
274
  return;
272
275
  }
273
276
  const calciteInputInputEvent = this.calciteInputInput.emit({
@@ -302,6 +305,10 @@ let CalciteInput = class extends HTMLElement {
302
305
  this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
303
306
  }
304
307
  valueWatcher(newValue) {
308
+ if (newValue == null) {
309
+ this.value = "";
310
+ return;
311
+ }
305
312
  if (this.type === "number" &&
306
313
  this.localizedValue !== localizeNumberString(newValue, this.locale)) {
307
314
  this.setLocalizedValue(newValue);
@@ -314,8 +321,7 @@ let CalciteInput = class extends HTMLElement {
314
321
  this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
315
322
  }
316
323
  get isClearable() {
317
- var _a;
318
- return !this.isTextarea && (this.clearable || this.type === "search") && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
324
+ return !this.isTextarea && (this.clearable || this.type === "search") && this.value.length > 0;
319
325
  }
320
326
  get isTextarea() {
321
327
  return this.childElType === "textarea";
@@ -450,7 +456,7 @@ let CalciteInput = class extends HTMLElement {
450
456
  const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
451
457
  const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
452
458
  const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
453
- const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, tabIndex: this.disabled ? -1 : 0, type: "text", value: this.localizedValue })) : null;
459
+ const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
454
460
  const childEl = this.type !== "number"
455
461
  ? [
456
462
  h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
@@ -460,11 +466,11 @@ let CalciteInput = class extends HTMLElement {
460
466
  this.isTextarea ? (h("div", { class: CSS.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
461
467
  ]
462
468
  : null;
463
- return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal"
469
+ return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
464
470
  ? numberButtonsHorizontalDown
465
- : null, this.prefixText ? prefixText : null, h("div", { class: CSS.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS.actionWrapper }, h("slot", { name: SLOTS.action })), this.type === "number" && this.numberButtonType === "vertical"
471
+ : null, this.prefixText ? prefixText : null, h("div", { class: CSS.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS.actionWrapper }, h("slot", { name: SLOTS.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
466
472
  ? numberButtonsVertical
467
- : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal"
473
+ : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
468
474
  ? numberButtonsHorizontalUp
469
475
  : null, h(HiddenFormInputSlot, { component: this }))));
470
476
  }
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { f as focusElement, a as getElementDir, C as CSS_UTILITY, b as getSlotted, h as ensureId, i as isCalciteFocusable } from './dom.js';
6
+ import { f as focusElement, a as getElementDir, C as CSS_UTILITY, b as getSlotted, i as ensureId, j as isCalciteFocusable } from './dom.js';
7
7
  import { g as getKey } from './key.js';
8
8
  import { c as createObserver } from './observers.js';
9
9
  import { d as defineCustomElement$4 } from './calcite-icon2.js';
@@ -263,7 +263,7 @@ let CalciteModal$1 = class extends HTMLElement {
263
263
  return this.hasFooter ? (h("div", { class: CSS.footer }, h("span", { class: CSS.back }, h("slot", { name: SLOTS.back })), h("span", { class: CSS.secondary }, h("slot", { name: SLOTS.secondary })), h("span", { class: CSS.primary }, h("slot", { name: SLOTS.primary })))) : null;
264
264
  }
265
265
  renderCloseButton() {
266
- return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h("calcite-icon", { icon: ICONS.close, scale: this.scale === "s" ? "s" : "l" }))) : null;
266
+ return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h("calcite-icon", { icon: ICONS.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
267
267
  }
268
268
  renderStyle() {
269
269
  const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement, createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { a as getElementDir, b as getSlotted, C as CSS_UTILITY } from './dom.js';
6
+ import { c as getElementStyleDir, b as getSlotted, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { C as CalciteHeading } from './CalciteHeading.js';
8
8
  import { S as SLOTS$1, d as defineCustomElement$7 } from './calcite-action-menu2.js';
9
9
  import { d as defineCustomElement$8 } from './calcite-action2.js';
@@ -25,6 +25,7 @@ const CSS = {
25
25
  headerActionsStart: "header-actions--start",
26
26
  contentWrapper: "content-wrapper",
27
27
  contentContainer: "content-container",
28
+ contentHeight: "content-height",
28
29
  fabContainer: "fab-container",
29
30
  footer: "footer",
30
31
  menuContainer: "menu-container",
@@ -55,7 +56,7 @@ const TEXT = {
55
56
  };
56
57
  const HEADING_LEVEL = 3;
57
58
 
58
- const calcitePanelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative;z-index:1}.header{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}.header-content{overflow:hidden;margin-right:auto;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.header-content .heading,.header-content .summary{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}.header-content .heading{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.header-content .heading:only-child{margin-bottom:0}.header-content .summary{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}.back-button{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}.calcite--rtl .back-button{border-right-width:0;border-left-width:1px}.header-actions{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.header-actions--end{margin-left:auto}.menu-container:only-child{margin-left:auto}.menu-button{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{height:100%;overflow:auto}.content-container{-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:column;flex-direction:column}.footer{border-top:1px solid;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;position:-webkit-sticky;position:sticky;bottom:0;width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}.calcite--rtl .header-content{margin-left:auto;margin-right:unset}.calcite--rtl .header-actions--end{margin-right:auto;margin-left:unset}.calcite--rtl .menu-container:only-child{margin-right:auto;margin-left:unset}.fab-container{display:block;position:-webkit-sticky;position:sticky;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0.5rem;bottom:0;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;z-index:1}";
59
+ const calcitePanelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative;z-index:1}.header{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}.header-content{overflow:hidden;margin-right:auto;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.header-content .heading,.header-content .summary{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}.header-content .heading{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.header-content .heading:only-child{margin-bottom:0}.header-content .summary{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}.back-button{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}.calcite--rtl .back-button{border-right-width:0;border-left-width:1px}.header-actions{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.header-actions--end{margin-left:auto}.menu-container:only-child{margin-left:auto}.menu-button{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{overflow:auto}.content-height{height:100%}.content-container{-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:column;flex-direction:column}.footer{border-top:1px solid;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;position:-webkit-sticky;position:sticky;bottom:0;width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}.calcite--rtl .header-content{margin-left:auto;margin-right:unset}.calcite--rtl .header-actions--end{margin-right:auto;margin-left:unset}.calcite--rtl .menu-container:only-child{margin-right:auto;margin-left:unset}.fab-container{display:block;position:-webkit-sticky;position:sticky;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0.5rem;bottom:0;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;z-index:1}";
59
60
 
60
61
  let CalcitePanel$1 = class extends HTMLElement {
61
62
  constructor() {
@@ -151,7 +152,7 @@ let CalcitePanel$1 = class extends HTMLElement {
151
152
  // --------------------------------------------------------------------------
152
153
  renderBackButton() {
153
154
  const { el } = this;
154
- const rtl = getElementDir(el) === "rtl";
155
+ const rtl = getElementStyleDir(el) === "rtl";
155
156
  const { showBackButton, intlBack, backButtonClick } = this;
156
157
  const label = intlBack || TEXT.back;
157
158
  const icon = rtl ? ICONS.backRight : ICONS.backLeft;
@@ -217,12 +218,12 @@ let CalcitePanel$1 = class extends HTMLElement {
217
218
  return hasFooterActions ? (h("footer", { class: CSS.footer }, h("slot", { name: SLOTS.footerActions }))) : null;
218
219
  }
219
220
  renderContent() {
220
- return (h("div", { class: CSS.contentWrapper, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("section", { class: CSS.contentContainer }, h("slot", null)), this.renderFab()));
221
- }
222
- renderFab() {
223
221
  const { el } = this;
224
222
  const hasFab = getSlotted(el, SLOTS.fab);
225
- return hasFab ? (h("div", { class: CSS.fabContainer }, h("slot", { name: SLOTS.fab }))) : null;
223
+ return hasFab ? (h("div", { class: { [CSS.contentWrapper]: true, [CSS.contentHeight]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("section", { class: CSS.contentContainer }, h("slot", null)), this.renderFab())) : (h("section", { class: { [CSS.contentWrapper]: true, [CSS.contentContainer]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 }, h("slot", null)));
224
+ }
225
+ renderFab() {
226
+ return (h("div", { class: CSS.fabContainer }, h("slot", { name: SLOTS.fab })));
226
227
  }
227
228
  render() {
228
229
  const { dismissed, disabled, dismissible, el, loading, panelKeyUpHandler } = this;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { P as POPOVER_REFERENCE } from './resources.js';
7
- import { q as queryElementRoots, j as queryElementsRoots } from './dom.js';
7
+ import { q as queryElementRoots, k as queryElementsRoots } from './dom.js';
8
8
 
9
9
  const calcitePopoverManagerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}";
10
10
 
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as guid } from './guid.js';
7
- import { a as getElementDir, f as focusElement } from './dom.js';
7
+ import { c as getElementStyleDir, f as focusElement } from './dom.js';
8
8
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
9
9
  import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
10
10
  import { g as getKey } from './key.js';
@@ -93,7 +93,7 @@ let CalciteRadioButton$1 = class extends HTMLElement {
93
93
  return;
94
94
  }
95
95
  let adjustedKey = key;
96
- if (getElementDir(el) === "rtl") {
96
+ if (getElementStyleDir(el) === "rtl") {
97
97
  if (key === "ArrowRight") {
98
98
  adjustedKey = "ArrowLeft";
99
99
  }
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement, createEvent, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { a as getElementDir } from './dom.js';
6
+ import { c as getElementStyleDir } from './dom.js';
7
7
  import { g as getKey } from './key.js';
8
8
  import { c as connectLabel, d as disconnectLabel } from './label.js';
9
9
  import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
@@ -46,7 +46,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
46
46
  //--------------------------------------------------------------------------
47
47
  this.handleClick = (event) => {
48
48
  if (event.target.localName === "calcite-radio-group-item") {
49
- this.selectItem(event.target);
49
+ this.selectItem(event.target, true);
50
50
  }
51
51
  };
52
52
  }
@@ -65,7 +65,6 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
65
65
  .pop();
66
66
  if (match) {
67
67
  this.selectItem(match);
68
- this.calciteRadioGroupChange.emit(match.value);
69
68
  }
70
69
  else if (items[0]) {
71
70
  items[0].tabIndex = 0;
@@ -76,7 +75,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
76
75
  // Lifecycle
77
76
  //
78
77
  //--------------------------------------------------------------------------
79
- connectedCallback() {
78
+ componentWillLoad() {
80
79
  const items = this.getItems();
81
80
  const lastChecked = Array.from(items)
82
81
  .filter((item) => item.checked)
@@ -87,6 +86,8 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
87
86
  else if (items[0]) {
88
87
  items[0].tabIndex = 0;
89
88
  }
89
+ }
90
+ connectedCallback() {
90
91
  connectLabel(this);
91
92
  connectForm(this);
92
93
  }
@@ -94,19 +95,13 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
94
95
  disconnectLabel(this);
95
96
  disconnectForm(this);
96
97
  }
97
- componentDidLoad() {
98
- this.hasLoaded = true;
99
- }
100
98
  render() {
101
99
  return (h(Host, { onClick: this.handleClick, role: "radiogroup", tabIndex: this.disabled ? -1 : null }, h("slot", null), h(HiddenFormInputSlot, { component: this })));
102
100
  }
103
101
  handleSelected(event) {
104
- // only fire after initial setup to prevent semi-infinite loops
105
- if (this.hasLoaded) {
106
- event.stopPropagation();
107
- event.preventDefault();
108
- this.selectItem(event.target);
109
- }
102
+ event.stopPropagation();
103
+ event.preventDefault();
104
+ this.selectItem(event.target);
110
105
  }
111
106
  handleKeyDown(event) {
112
107
  const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
@@ -116,7 +111,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
116
111
  return;
117
112
  }
118
113
  let adjustedKey = key;
119
- if (getElementDir(el) === "rtl") {
114
+ if (getElementStyleDir(el) === "rtl") {
120
115
  if (key === "ArrowRight") {
121
116
  adjustedKey = "ArrowLeft";
122
117
  }
@@ -136,17 +131,17 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
136
131
  case "ArrowUp":
137
132
  event.preventDefault();
138
133
  const previous = selectedIndex < 1 ? items.item(items.length - 1) : items.item(selectedIndex - 1);
139
- this.selectItem(previous);
134
+ this.selectItem(previous, true);
140
135
  return;
141
136
  case "ArrowRight":
142
137
  case "ArrowDown":
143
138
  event.preventDefault();
144
139
  const next = selectedIndex === -1 ? items.item(1) : items.item(selectedIndex + 1) || items.item(0);
145
- this.selectItem(next);
140
+ this.selectItem(next, true);
146
141
  return;
147
142
  case " ":
148
143
  event.preventDefault();
149
- this.selectItem(event.target);
144
+ this.selectItem(event.target, true);
150
145
  return;
151
146
  default:
152
147
  return;
@@ -173,7 +168,7 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
173
168
  getItems() {
174
169
  return this.el.querySelectorAll("calcite-radio-group-item");
175
170
  }
176
- selectItem(selected) {
171
+ selectItem(selected, emit = false) {
177
172
  if (selected === this.selectedItem) {
178
173
  return;
179
174
  }
@@ -187,6 +182,9 @@ let CalciteRadioGroup$1 = class extends HTMLElement {
187
182
  item.tabIndex = matches ? 0 : -1;
188
183
  if (matches) {
189
184
  match = item;
185
+ if (emit) {
186
+ this.calciteRadioGroupChange.emit(match.value);
187
+ }
190
188
  }
191
189
  });
192
190
  this.selectedItem = match;
@@ -127,6 +127,7 @@ let CalciteSelect$1 = class extends HTMLElement {
127
127
  this.updateNativeElement(optionOrGroup, nativeEl);
128
128
  if (isOption(optionOrGroup) && optionOrGroup.selected) {
129
129
  this.deselectAllExcept(optionOrGroup);
130
+ this.selectedOption = optionOrGroup;
130
131
  }
131
132
  }
132
133
  //--------------------------------------------------------------------------
@@ -166,7 +167,7 @@ let CalciteSelect$1 = class extends HTMLElement {
166
167
  }
167
168
  });
168
169
  if (futureSelected) {
169
- requestAnimationFrame(() => (this.selectedOption = futureSelected));
170
+ this.selectedOption = futureSelected;
170
171
  }
171
172
  }
172
173
  toNativeElement(optionOrGroup) {