@esri/calcite-components 1.0.0-beta.68 → 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 (834) hide show
  1. package/dist/calcite/assets/calcite-icon/checkExtent16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/checkExtent24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/checkExtent32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/cloudy16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/cloudy24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/cloudy32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/displaySelectionLock16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/displaySelectionLock24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/displaySelectionLock32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/driveTime16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/driveTime24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/driveTime32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/driveTimeLargest16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/driveTimeLargest24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/driveTimeLargest32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/driveTimeXBar16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/driveTimeXBar24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/driveTimeXBar32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/fog16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/fog24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/fog32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/groupItems16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/groupItems24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/groupItems32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/groupLayoutElements16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/groupLayoutElements24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/groupLayoutElements32.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/heavyRain16.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/heavyRain24.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/heavyRain32.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/heavySnow16.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/heavySnow24.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/heavySnow32.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/lightRain16.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/lightRain24.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/lightRain32.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/lightSnow16.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/lightSnow24.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/lightSnow32.json +1 -0
  49. package/dist/calcite/assets/calcite-icon/partlyCloud16.json +1 -0
  50. package/dist/calcite/assets/calcite-icon/partlyCloud24.json +1 -0
  51. package/dist/calcite/assets/calcite-icon/partlyCloud32.json +1 -0
  52. package/dist/calcite/assets/calcite-icon/rain16.json +1 -0
  53. package/dist/calcite/assets/calcite-icon/rain24.json +1 -0
  54. package/dist/calcite/assets/calcite-icon/rain32.json +1 -0
  55. package/dist/calcite/assets/calcite-icon/rainSnow16.json +1 -0
  56. package/dist/calcite/assets/calcite-icon/rainSnow24.json +1 -0
  57. package/dist/calcite/assets/calcite-icon/rainSnow32.json +1 -0
  58. package/dist/calcite/assets/calcite-icon/rainThunder16.json +1 -0
  59. package/dist/calcite/assets/calcite-icon/rainThunder24.json +1 -0
  60. package/dist/calcite/assets/calcite-icon/rainThunder32.json +1 -0
  61. package/dist/calcite/assets/calcite-icon/ringsLargest16.json +1 -0
  62. package/dist/calcite/assets/calcite-icon/ringsLargest24.json +1 -0
  63. package/dist/calcite/assets/calcite-icon/ringsLargest32.json +1 -0
  64. package/dist/calcite/assets/calcite-icon/ringsSmallest16.json +1 -0
  65. package/dist/calcite/assets/calcite-icon/ringsSmallest24.json +1 -0
  66. package/dist/calcite/assets/calcite-icon/ringsSmallest32.json +1 -0
  67. package/dist/calcite/assets/calcite-icon/ringsThreshold16.json +1 -0
  68. package/dist/calcite/assets/calcite-icon/ringsThreshold24.json +1 -0
  69. package/dist/calcite/assets/calcite-icon/ringsThreshold32.json +1 -0
  70. package/dist/calcite/assets/calcite-icon/ringsXBar16.json +1 -0
  71. package/dist/calcite/assets/calcite-icon/ringsXBar24.json +1 -0
  72. package/dist/calcite/assets/calcite-icon/ringsXBar32.json +1 -0
  73. package/dist/calcite/assets/calcite-icon/selectVisible16.json +1 -0
  74. package/dist/calcite/assets/calcite-icon/selectVisible24.json +1 -0
  75. package/dist/calcite/assets/calcite-icon/selectVisible32.json +1 -0
  76. package/dist/calcite/assets/calcite-icon/snow16.json +1 -0
  77. package/dist/calcite/assets/calcite-icon/snow24.json +1 -0
  78. package/dist/calcite/assets/calcite-icon/snow32.json +1 -0
  79. package/dist/calcite/assets/calcite-icon/snowThunder16.json +1 -0
  80. package/dist/calcite/assets/calcite-icon/snowThunder24.json +1 -0
  81. package/dist/calcite/assets/calcite-icon/snowThunder32.json +1 -0
  82. package/dist/calcite/assets/calcite-icon/ungroupItems16.json +1 -0
  83. package/dist/calcite/assets/calcite-icon/ungroupItems24.json +1 -0
  84. package/dist/calcite/assets/calcite-icon/ungroupItems32.json +1 -0
  85. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  86. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  87. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  88. package/dist/calcite/calcite.css +1 -1
  89. package/dist/calcite/calcite.esm.js +1 -1
  90. package/dist/calcite/calcite.js +1 -1
  91. package/dist/calcite/p-04a2538a.entry.js +5 -0
  92. package/dist/calcite/{p-18078190.entry.js → p-051cc8c6.entry.js} +1 -1
  93. package/dist/calcite/{p-41e9b889.entry.js → p-058ee7b0.entry.js} +1 -1
  94. package/dist/calcite/p-0c827dec.entry.js +5 -0
  95. package/dist/calcite/{p-021d44b7.system.entry.js → p-0f33798d.system.entry.js} +1 -1
  96. package/dist/calcite/{p-5cb26137.system.entry.js → p-0f9f1f89.system.entry.js} +1 -1
  97. package/dist/calcite/{p-61038b30.js → p-1161e56f.js} +1 -1
  98. package/dist/calcite/{p-69548a7d.system.entry.js → p-18fbf2af.system.entry.js} +1 -1
  99. package/dist/calcite/{p-1aaf7f83.entry.js → p-198902ca.entry.js} +1 -1
  100. package/dist/calcite/{p-ac3d8784.entry.js → p-1ad123f9.entry.js} +1 -1
  101. package/dist/calcite/{p-318e95d7.system.entry.js → p-1eb04aad.system.entry.js} +1 -1
  102. package/dist/calcite/{p-bd555b2e.system.entry.js → p-1f809e6c.system.entry.js} +1 -1
  103. package/dist/calcite/{p-7c0debe0.system.entry.js → p-2033f545.system.entry.js} +1 -1
  104. package/dist/calcite/p-20f91a4e.system.entry.js +5 -0
  105. package/dist/calcite/{p-9e4f2697.system.entry.js → p-227bc238.system.entry.js} +1 -1
  106. package/dist/calcite/p-239b44dd.system.entry.js +5 -0
  107. package/dist/calcite/{p-9dbb69f7.entry.js → p-23bc2d32.entry.js} +1 -1
  108. package/dist/calcite/p-266ee9db.entry.js +5 -0
  109. package/dist/calcite/p-288bc438.system.js +5 -0
  110. package/dist/calcite/p-2c66fb61.entry.js +5 -0
  111. package/dist/calcite/p-2d09cc25.js +5 -0
  112. package/dist/calcite/p-2e29554c.js +5 -0
  113. package/dist/calcite/{p-8efb43fc.entry.js → p-33802886.entry.js} +1 -1
  114. package/dist/calcite/p-343cd887.entry.js +5 -0
  115. package/dist/calcite/{p-32fbf8cd.system.js → p-34e5baa7.system.js} +1 -1
  116. package/dist/calcite/{p-eb3ee207.entry.js → p-3d69fba9.entry.js} +1 -1
  117. package/dist/calcite/p-3ec67fae.entry.js +5 -0
  118. package/dist/calcite/p-42091a1f.system.entry.js +5 -0
  119. package/dist/calcite/p-42c7e2f0.system.entry.js +5 -0
  120. package/dist/calcite/p-43020fb5.js +5 -0
  121. package/dist/calcite/p-44a07313.system.entry.js +5 -0
  122. package/dist/calcite/p-47f55191.system.js +5 -0
  123. package/dist/calcite/p-4a8b3cf3.system.entry.js +5 -0
  124. package/dist/calcite/p-4cc182af.system.entry.js +5 -0
  125. package/dist/calcite/p-4ee2f6cf.system.entry.js +5 -0
  126. package/dist/calcite/p-50273eed.entry.js +5 -0
  127. package/dist/calcite/p-5035488d.entry.js +5 -0
  128. package/dist/calcite/p-52578054.js +5 -0
  129. package/dist/calcite/p-538e542a.system.entry.js +5 -0
  130. package/dist/calcite/{p-51cb078a.entry.js → p-55bfe4fc.entry.js} +1 -1
  131. package/dist/calcite/{p-99da965d.system.entry.js → p-57e9b7cb.system.entry.js} +1 -1
  132. package/dist/calcite/{p-8655c0a1.entry.js → p-659898bf.entry.js} +1 -1
  133. package/dist/calcite/{p-87e83c0d.system.entry.js → p-6c5b849f.system.entry.js} +1 -1
  134. package/dist/calcite/p-6ca051ef.entry.js +5 -0
  135. package/dist/calcite/p-702140ce.entry.js +5 -0
  136. package/dist/calcite/{p-7839d1c9.entry.js → p-714ae4f6.entry.js} +1 -1
  137. package/dist/calcite/p-71cdeee3.system.js +5 -0
  138. package/dist/calcite/p-71e299a6.system.js +5 -0
  139. package/dist/calcite/{p-4c7e3d8e.system.entry.js → p-730b8963.system.entry.js} +2 -2
  140. package/dist/calcite/{p-3929447c.system.entry.js → p-7325e7fc.system.entry.js} +1 -1
  141. package/dist/calcite/{p-31c4a271.system.entry.js → p-784e4e32.system.entry.js} +1 -1
  142. package/dist/calcite/{p-c57f8690.entry.js → p-7bb94bfa.entry.js} +1 -1
  143. package/dist/calcite/{p-c0dd929a.entry.js → p-80a527ef.entry.js} +1 -1
  144. package/dist/calcite/{p-20042561.entry.js → p-82c6cd9a.entry.js} +1 -1
  145. package/dist/calcite/{p-45d123be.system.entry.js → p-832affcb.system.entry.js} +1 -1
  146. package/dist/calcite/p-8340b572.js +5 -0
  147. package/dist/calcite/p-837f9bb4.system.entry.js +5 -0
  148. package/dist/calcite/{p-a93678c6.system.entry.js → p-83fca16e.system.entry.js} +2 -2
  149. package/dist/calcite/p-84d6696b.entry.js +5 -0
  150. package/dist/calcite/p-87f1831b.entry.js +5 -0
  151. package/dist/calcite/{p-22ad79b1.entry.js → p-88b4f504.entry.js} +1 -1
  152. package/dist/calcite/{p-95a3a0ce.entry.js → p-89987575.entry.js} +1 -1
  153. package/dist/calcite/{p-cd8f7781.system.entry.js → p-8b2d4eac.system.entry.js} +1 -1
  154. package/dist/calcite/{p-57f5866d.system.entry.js → p-8b2ead09.system.entry.js} +1 -1
  155. package/dist/calcite/p-8da7ad4b.entry.js +5 -0
  156. package/dist/calcite/p-8e252799.system.js +5 -0
  157. package/dist/calcite/p-8fef13ca.system.entry.js +5 -0
  158. package/dist/calcite/{p-473cfb74.system.entry.js → p-9470d123.system.entry.js} +1 -1
  159. package/dist/calcite/{p-c3922ef7.system.entry.js → p-95b9a0f2.system.entry.js} +1 -1
  160. package/dist/calcite/{p-0fc8b24c.system.entry.js → p-99de28b4.system.entry.js} +1 -1
  161. package/dist/calcite/p-99e52ea7.system.entry.js +5 -0
  162. package/dist/calcite/{p-9358deb1.system.entry.js → p-9abbbcbd.system.entry.js} +1 -1
  163. package/dist/calcite/{p-10ccc21d.entry.js → p-9be50494.entry.js} +1 -1
  164. package/dist/calcite/{p-050dc7e6.system.entry.js → p-a821e9b3.system.entry.js} +1 -1
  165. package/dist/calcite/p-a98e5444.system.entry.js +5 -0
  166. package/dist/calcite/p-ab9c6a18.entry.js +5 -0
  167. package/dist/calcite/{p-acaad99b.system.entry.js → p-abdc7a4b.system.entry.js} +1 -1
  168. package/dist/calcite/{p-9d83f268.system.entry.js → p-ac38b743.system.entry.js} +2 -2
  169. package/dist/calcite/{p-1b2c1f55.entry.js → p-aced5f01.entry.js} +1 -1
  170. package/dist/calcite/p-b0b6baf4.system.entry.js +5 -0
  171. package/dist/calcite/{p-e693758c.entry.js → p-b16b831d.entry.js} +1 -1
  172. package/dist/calcite/p-b174f9ac.entry.js +5 -0
  173. package/dist/calcite/{p-3ba8024a.system.entry.js → p-b37b7b9e.system.entry.js} +1 -1
  174. package/dist/calcite/p-b3e418f0.entry.js +5 -0
  175. package/dist/calcite/{p-bb916828.system.entry.js → p-b4b1081f.system.entry.js} +1 -1
  176. package/dist/calcite/{p-ba9b4f62.system.entry.js → p-b5d21a5d.system.entry.js} +1 -1
  177. package/dist/calcite/p-b5f412fb.entry.js +5 -0
  178. package/dist/calcite/p-b6b6ec04.js +5 -0
  179. package/dist/calcite/{p-d7e5b807.system.entry.js → p-b7518275.system.entry.js} +1 -1
  180. package/dist/calcite/p-b75ffebb.system.entry.js +5 -0
  181. package/dist/calcite/p-bef1f0d9.entry.js +5 -0
  182. package/dist/calcite/p-c0690971.entry.js +5 -0
  183. package/dist/calcite/{p-37cee0ea.entry.js → p-c12e88cd.entry.js} +1 -1
  184. package/dist/calcite/p-c1794615.entry.js +5 -0
  185. package/dist/calcite/{p-0e30afe6.entry.js → p-c3ba61ea.entry.js} +1 -1
  186. package/dist/calcite/{p-64d90b14.system.js → p-c937f25f.system.js} +1 -1
  187. package/dist/calcite/p-c9551366.entry.js +5 -0
  188. package/dist/calcite/{p-f141da0f.entry.js → p-ca5c0679.entry.js} +1 -1
  189. package/dist/calcite/{p-34a6550f.system.entry.js → p-cbe9f1a2.system.entry.js} +1 -1
  190. package/dist/calcite/{p-7b600760.entry.js → p-cd1cdf3c.entry.js} +1 -1
  191. package/dist/calcite/p-d07ff1ee.system.js +5 -0
  192. package/dist/calcite/{p-c20278e8.system.entry.js → p-d102e280.system.entry.js} +1 -1
  193. package/dist/calcite/p-d830efad.entry.js +5 -0
  194. package/dist/calcite/p-dacd3cf8.entry.js +5 -0
  195. package/dist/calcite/p-dcc6b40f.entry.js +5 -0
  196. package/dist/calcite/p-dccb5ffd.entry.js +5 -0
  197. package/dist/calcite/{p-3b17d8d0.system.js → p-dff7dc90.system.js} +1 -1
  198. package/dist/calcite/{p-aad45edf.system.js → p-e095517f.system.js} +1 -1
  199. package/dist/calcite/{p-e3a30266.system.entry.js → p-e2d18d39.system.entry.js} +1 -1
  200. package/dist/calcite/p-e5305b02.js +5 -0
  201. package/dist/calcite/{p-e33a2dd2.system.entry.js → p-e6a47d34.system.entry.js} +1 -1
  202. package/dist/calcite/p-e78e743b.entry.js +5 -0
  203. package/dist/calcite/{p-a20df95c.js → p-e956e279.js} +1 -1
  204. package/dist/calcite/p-ea3fee96.entry.js +5 -0
  205. package/dist/calcite/p-eada9cef.entry.js +5 -0
  206. package/dist/calcite/p-eb0f1e0f.system.entry.js +5 -0
  207. package/dist/calcite/p-ed3f000d.system.entry.js +5 -0
  208. package/dist/calcite/p-ee40deba.system.entry.js +5 -0
  209. package/dist/calcite/p-ee45cff5.system.entry.js +5 -0
  210. package/dist/calcite/{p-85a2bf7c.system.entry.js → p-eeb8dfe5.system.entry.js} +1 -1
  211. package/dist/calcite/{p-a8cd5cde.system.entry.js → p-f0338acf.system.entry.js} +1 -1
  212. package/dist/calcite/p-f05b5dc9.system.entry.js +5 -0
  213. package/dist/calcite/{p-ff04f827.system.entry.js → p-f1832595.system.entry.js} +1 -1
  214. package/dist/calcite/p-f2620bc3.js +5 -0
  215. package/dist/calcite/{p-1f99b038.entry.js → p-f333e31b.entry.js} +1 -1
  216. package/dist/calcite/p-f6323ffa.system.entry.js +5 -0
  217. package/dist/calcite/p-f87ba8eb.system.js +5 -0
  218. package/dist/calcite/p-f97e1a2d.entry.js +5 -0
  219. package/dist/calcite/p-fb817417.entry.js +5 -0
  220. package/dist/calcite/{p-75793454.entry.js → p-fb8b2c96.entry.js} +1 -1
  221. package/dist/calcite/{p-2920aa02.entry.js → p-fba77b86.entry.js} +1 -1
  222. package/dist/calcite/{p-da9603a3.entry.js → p-fc32b022.entry.js} +1 -1
  223. package/dist/calcite/{p-32faf98b.system.entry.js → p-fc47547f.system.entry.js} +1 -1
  224. package/dist/calcite/p-fccc1605.entry.js +5 -0
  225. package/dist/calcite/{p-175764f3.system.entry.js → p-fd1ddcd2.system.entry.js} +1 -1
  226. package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-ca629f39.js} +4 -4
  227. package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-112c19f9.js} +1 -1
  228. package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -2
  229. package/dist/cjs/calcite-action-bar.cjs.entry.js +3 -3
  230. package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
  231. package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
  232. package/dist/cjs/calcite-action-pad.cjs.entry.js +3 -3
  233. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  234. package/dist/cjs/calcite-alert.cjs.entry.js +20 -8
  235. package/dist/cjs/calcite-avatar.cjs.entry.js +2 -2
  236. package/dist/cjs/calcite-block_2.cjs.entry.js +6 -8
  237. package/dist/cjs/calcite-button.cjs.entry.js +4 -4
  238. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  239. package/dist/cjs/calcite-checkbox.cjs.entry.js +36 -85
  240. package/dist/cjs/calcite-chip.cjs.entry.js +2 -2
  241. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +50 -45
  242. package/dist/cjs/calcite-combobox_3.cjs.entry.js +85 -26
  243. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +29 -11
  244. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +6 -6
  245. package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
  246. package/dist/cjs/calcite-filter.cjs.entry.js +44 -15
  247. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  248. package/dist/cjs/calcite-graph_2.cjs.entry.js +49 -25
  249. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  250. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  251. package/dist/cjs/calcite-inline-editable.cjs.entry.js +52 -43
  252. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +71 -18
  253. package/dist/cjs/calcite-input-message.cjs.entry.js +2 -2
  254. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -6
  255. package/dist/cjs/calcite-input.cjs.entry.js +126 -78
  256. package/dist/cjs/calcite-label.cjs.entry.js +2 -2
  257. package/dist/cjs/calcite-link.cjs.entry.js +2 -2
  258. package/dist/cjs/calcite-list_3.cjs.entry.js +4 -4
  259. package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
  260. package/dist/cjs/calcite-modal.cjs.entry.js +3 -3
  261. package/dist/cjs/calcite-notice.cjs.entry.js +2 -2
  262. package/dist/cjs/calcite-option_3.cjs.entry.js +34 -7
  263. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  264. package/dist/cjs/calcite-panel.cjs.entry.js +11 -9
  265. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +4 -4
  266. package/dist/cjs/calcite-popover_2.cjs.entry.js +6 -6
  267. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  268. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  269. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +36 -42
  270. package/dist/cjs/calcite-radio_2.cjs.entry.js +84 -82
  271. package/dist/cjs/calcite-rating.cjs.entry.js +14 -5
  272. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  273. package/dist/cjs/calcite-shell_3.cjs.entry.js +170 -9
  274. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  275. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -3
  276. package/dist/cjs/calcite-stepper_2.cjs.entry.js +2 -2
  277. package/dist/cjs/calcite-switch.cjs.entry.js +30 -49
  278. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  279. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -6
  280. package/dist/cjs/calcite-tile.cjs.entry.js +3 -3
  281. package/dist/cjs/calcite-tip_3.cjs.entry.js +4 -4
  282. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +4 -4
  283. package/dist/cjs/calcite-tree_2.cjs.entry.js +18 -11
  284. package/dist/cjs/calcite-value-list_2.cjs.entry.js +3 -3
  285. package/dist/cjs/calcite.cjs.js +3 -3
  286. package/dist/cjs/{dom-19822169.js → dom-41ce6029.js} +7 -0
  287. package/dist/cjs/form-7f276aa5.js +179 -0
  288. package/dist/cjs/{index-1987a382.js → index-6b5d2de5.js} +81 -429
  289. package/dist/cjs/{label-549c3d9d.js → label-98a31f7d.js} +34 -5
  290. package/dist/cjs/loader.cjs.js +3 -3
  291. package/dist/cjs/math-145c80e2.js +21 -0
  292. package/dist/cjs/{popper-cd9c0742.js → popper-4c24a334.js} +93 -67
  293. package/dist/cjs/{resources-d0619f6a.js → resources-1177e39b.js} +2 -2
  294. package/dist/cjs/{resources-7dcd68d1.js → resources-3f7b51c8.js} +1 -1
  295. package/dist/collection/collection-manifest.json +2 -2
  296. package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
  297. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +11 -8
  298. package/dist/collection/components/calcite-action/calcite-action.js +4 -4
  299. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +2 -2
  300. package/dist/collection/components/calcite-alert/calcite-alert.js +25 -11
  301. package/dist/collection/components/calcite-block/calcite-block.css +7 -22
  302. package/dist/collection/components/calcite-block/calcite-block.js +6 -9
  303. package/dist/collection/components/calcite-block-section/calcite-block-section.js +2 -2
  304. package/dist/collection/components/calcite-button/calcite-button.css +20 -14
  305. package/dist/collection/components/calcite-button/calcite-button.js +4 -4
  306. package/dist/collection/components/calcite-card/calcite-card.js +8 -8
  307. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +22 -11
  308. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +71 -120
  309. package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
  310. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +63 -62
  311. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +15 -19
  312. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
  313. package/dist/collection/components/calcite-combobox/calcite-combobox.css +15 -0
  314. package/dist/collection/components/calcite-combobox/calcite-combobox.js +148 -28
  315. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +51 -21
  316. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
  317. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
  318. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +6 -6
  319. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
  320. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
  321. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
  322. package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
  323. package/dist/collection/components/calcite-filter/calcite-filter.js +108 -19
  324. package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
  325. package/dist/collection/components/calcite-graph/util.js +1 -1
  326. package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
  327. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent16.json +1 -0
  328. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent24.json +1 -0
  329. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent32.json +1 -0
  330. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy16.json +1 -0
  331. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy24.json +1 -0
  332. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy32.json +1 -0
  333. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock16.json +1 -0
  334. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock24.json +1 -0
  335. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock32.json +1 -0
  336. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  337. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  338. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  339. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime16.json +1 -0
  340. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime24.json +1 -0
  341. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime32.json +1 -0
  342. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest16.json +1 -0
  343. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest24.json +1 -0
  344. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest32.json +1 -0
  345. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  346. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  347. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  348. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  349. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  350. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  351. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar16.json +1 -0
  352. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar24.json +1 -0
  353. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar32.json +1 -0
  354. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog16.json +1 -0
  355. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog24.json +1 -0
  356. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog32.json +1 -0
  357. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems16.json +1 -0
  358. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems24.json +1 -0
  359. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems32.json +1 -0
  360. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements16.json +1 -0
  361. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements24.json +1 -0
  362. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements32.json +1 -0
  363. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain16.json +1 -0
  364. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain24.json +1 -0
  365. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain32.json +1 -0
  366. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow16.json +1 -0
  367. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow24.json +1 -0
  368. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow32.json +1 -0
  369. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain16.json +1 -0
  370. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain24.json +1 -0
  371. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain32.json +1 -0
  372. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow16.json +1 -0
  373. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow24.json +1 -0
  374. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow32.json +1 -0
  375. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud16.json +1 -0
  376. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud24.json +1 -0
  377. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud32.json +1 -0
  378. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain16.json +1 -0
  379. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain24.json +1 -0
  380. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain32.json +1 -0
  381. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow16.json +1 -0
  382. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow24.json +1 -0
  383. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow32.json +1 -0
  384. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder16.json +1 -0
  385. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder24.json +1 -0
  386. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder32.json +1 -0
  387. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest16.json +1 -0
  388. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest24.json +1 -0
  389. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest32.json +1 -0
  390. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest16.json +1 -0
  391. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest24.json +1 -0
  392. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest32.json +1 -0
  393. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold16.json +1 -0
  394. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold24.json +1 -0
  395. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold32.json +1 -0
  396. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar16.json +1 -0
  397. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar24.json +1 -0
  398. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar32.json +1 -0
  399. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible16.json +1 -0
  400. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible24.json +1 -0
  401. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible32.json +1 -0
  402. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow16.json +1 -0
  403. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow24.json +1 -0
  404. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow32.json +1 -0
  405. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder16.json +1 -0
  406. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder24.json +1 -0
  407. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder32.json +1 -0
  408. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems16.json +1 -0
  409. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems24.json +1 -0
  410. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems32.json +1 -0
  411. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  412. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  413. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  414. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +8 -54
  415. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +55 -44
  416. package/dist/collection/components/calcite-inline-editable/resources.js +7 -7
  417. package/dist/collection/components/calcite-input/calcite-input.css +104 -68
  418. package/dist/collection/components/calcite-input/calcite-input.js +170 -93
  419. package/dist/collection/components/calcite-input/resources.js +14 -12
  420. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +15 -0
  421. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +174 -51
  422. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
  423. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +15 -0
  424. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +36 -5
  425. package/dist/collection/components/calcite-label/calcite-label.js +2 -2
  426. package/dist/collection/components/calcite-list-item/calcite-list-item.css +7 -0
  427. package/dist/collection/components/calcite-loader/calcite-loader.css +0 -3
  428. package/dist/collection/components/calcite-modal/calcite-modal.js +3 -3
  429. package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
  430. package/dist/collection/components/calcite-option/calcite-option.js +2 -2
  431. package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
  432. package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
  433. package/dist/collection/components/calcite-panel/calcite-panel.css +19 -6
  434. package/dist/collection/components/calcite-panel/calcite-panel.js +11 -9
  435. package/dist/collection/components/calcite-panel/resources.js +2 -0
  436. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
  437. package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
  438. package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
  439. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
  440. package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
  441. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -1
  442. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +96 -102
  443. package/dist/collection/components/calcite-radio-button/resources.js +1 -1
  444. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +15 -0
  445. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +74 -40
  446. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +3 -3
  447. package/dist/collection/components/calcite-rating/calcite-rating.css +15 -0
  448. package/dist/collection/components/calcite-rating/calcite-rating.js +53 -5
  449. package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
  450. package/dist/collection/components/calcite-select/calcite-select.css +15 -0
  451. package/dist/collection/components/calcite-select/calcite-select.js +93 -6
  452. package/dist/collection/components/calcite-shell/calcite-shell.css +11 -11
  453. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +82 -21
  454. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +205 -7
  455. package/dist/collection/components/calcite-shell-panel/resources.js +6 -1
  456. package/dist/collection/components/calcite-slider/calcite-slider.css +18 -4
  457. package/dist/collection/components/calcite-slider/calcite-slider.js +74 -17
  458. package/dist/collection/components/calcite-split-button/calcite-split-button.js +28 -3
  459. package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
  460. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
  461. package/dist/collection/components/calcite-switch/calcite-switch.css +15 -0
  462. package/dist/collection/components/calcite-switch/calcite-switch.js +35 -66
  463. package/dist/collection/components/calcite-tab/calcite-tab.css +5 -0
  464. package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
  465. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +17 -17
  466. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +19 -19
  467. package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
  468. package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
  469. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +20 -11
  470. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
  471. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  472. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
  473. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +2 -2
  474. package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
  475. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +47 -69
  476. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +35 -28
  477. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
  478. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  479. package/dist/collection/utils/dom.js +6 -0
  480. package/dist/collection/utils/form.js +167 -14
  481. package/dist/collection/utils/label.js +33 -4
  482. package/dist/collection/utils/math.js +11 -0
  483. package/dist/collection/utils/popper.js +2 -2
  484. package/dist/components/CalciteExpandToggle.js +3 -3
  485. package/dist/components/calcite-accordion-item.js +8 -2
  486. package/dist/components/calcite-accordion.js +5 -2
  487. package/dist/components/calcite-action-bar.js +5 -2
  488. package/dist/components/calcite-action-group2.js +5 -2
  489. package/dist/components/calcite-action-menu2.js +5 -2
  490. package/dist/components/calcite-action-pad.js +5 -2
  491. package/dist/components/calcite-action2.js +5 -2
  492. package/dist/components/calcite-alert.js +23 -8
  493. package/dist/components/calcite-avatar.js +6 -3
  494. package/dist/components/calcite-block-section.js +7 -4
  495. package/dist/components/calcite-block.js +8 -7
  496. package/dist/components/calcite-button2.js +8 -5
  497. package/dist/components/calcite-card.js +14 -5
  498. package/dist/components/calcite-checkbox2.js +42 -89
  499. package/dist/components/calcite-chip2.js +5 -2
  500. package/dist/components/calcite-color-picker-hex-input2.js +16 -17
  501. package/dist/components/calcite-color-picker-swatch2.js +25 -14
  502. package/dist/components/calcite-color-picker.js +22 -18
  503. package/dist/components/calcite-combobox-item-group.js +5 -2
  504. package/dist/components/calcite-combobox-item.js +5 -2
  505. package/dist/components/calcite-combobox.js +90 -25
  506. package/dist/components/calcite-date-picker-day2.js +5 -2
  507. package/dist/components/calcite-date-picker-month-header2.js +5 -2
  508. package/dist/components/calcite-date-picker-month2.js +5 -2
  509. package/dist/components/calcite-date-picker2.js +30 -9
  510. package/dist/components/calcite-dropdown-group.js +5 -2
  511. package/dist/components/calcite-dropdown-item.js +6 -3
  512. package/dist/components/calcite-dropdown2.js +7 -4
  513. package/dist/components/calcite-fab.js +5 -2
  514. package/dist/components/calcite-filter2.js +50 -16
  515. package/dist/components/calcite-flow.js +5 -2
  516. package/dist/components/calcite-graph2.js +23 -10
  517. package/dist/components/calcite-handle2.js +5 -2
  518. package/dist/components/calcite-icon2.js +5 -2
  519. package/dist/components/calcite-inline-editable.js +56 -43
  520. package/dist/components/calcite-input-date-picker.js +74 -15
  521. package/dist/components/calcite-input-message.js +5 -2
  522. package/dist/components/calcite-input-time-picker.js +18 -5
  523. package/dist/components/calcite-input2.js +133 -79
  524. package/dist/components/calcite-label.js +1 -75
  525. package/dist/components/calcite-label2.js +84 -0
  526. package/dist/components/calcite-link2.js +5 -2
  527. package/dist/components/calcite-list-item-group.js +5 -2
  528. package/dist/components/calcite-list-item.js +6 -3
  529. package/dist/components/calcite-list.js +5 -2
  530. package/dist/components/calcite-loader2.js +6 -3
  531. package/dist/components/calcite-modal.js +7 -4
  532. package/dist/components/calcite-notice.js +5 -2
  533. package/dist/components/calcite-option-group.js +5 -2
  534. package/dist/components/calcite-option.js +5 -2
  535. package/dist/components/calcite-pagination.js +5 -2
  536. package/dist/components/calcite-panel.js +14 -9
  537. package/dist/components/calcite-pick-list-group.js +5 -2
  538. package/dist/components/calcite-pick-list-item2.js +5 -2
  539. package/dist/components/calcite-pick-list.js +5 -2
  540. package/dist/components/calcite-popover-manager.js +6 -3
  541. package/dist/components/calcite-popover2.js +7 -4
  542. package/dist/components/calcite-progress2.js +5 -2
  543. package/dist/components/calcite-radio-button-group.js +5 -2
  544. package/dist/components/calcite-radio-button.js +89 -83
  545. package/dist/components/calcite-radio-group-item.js +5 -2
  546. package/dist/components/calcite-radio-group.js +41 -42
  547. package/dist/components/calcite-radio2.js +5 -2
  548. package/dist/components/calcite-rating.js +18 -4
  549. package/dist/components/calcite-scrim2.js +5 -2
  550. package/dist/components/calcite-select.js +39 -6
  551. package/dist/components/calcite-shell-center-row.js +5 -2
  552. package/dist/components/calcite-shell-panel.js +177 -10
  553. package/dist/components/calcite-shell.js +6 -3
  554. package/dist/components/calcite-slider.js +38 -17
  555. package/dist/components/calcite-sortable-list.js +5 -2
  556. package/dist/components/calcite-split-button.js +9 -3
  557. package/dist/components/calcite-stepper-item.js +5 -2
  558. package/dist/components/calcite-stepper.js +5 -2
  559. package/dist/components/calcite-switch2.js +35 -53
  560. package/dist/components/calcite-tab-nav2.js +8 -5
  561. package/dist/components/calcite-tab-title2.js +8 -5
  562. package/dist/components/calcite-tab2.js +6 -3
  563. package/dist/components/calcite-tabs2.js +5 -2
  564. package/dist/components/calcite-tile-select-group.js +5 -2
  565. package/dist/components/calcite-tile-select.js +9 -8
  566. package/dist/components/calcite-tile2.js +6 -3
  567. package/dist/components/calcite-time-picker2.js +5 -2
  568. package/dist/components/calcite-tip-group.js +5 -2
  569. package/dist/components/calcite-tip-manager.js +7 -4
  570. package/dist/components/calcite-tip.js +5 -2
  571. package/dist/components/calcite-tooltip-manager2.js +5 -2
  572. package/dist/components/calcite-tooltip.js +6 -3
  573. package/dist/components/calcite-tree-item.js +22 -12
  574. package/dist/components/calcite-tree.js +5 -2
  575. package/dist/components/calcite-value-list-item.js +5 -2
  576. package/dist/components/calcite-value-list.js +5 -2
  577. package/dist/components/dom.js +7 -1
  578. package/dist/components/form.js +169 -15
  579. package/dist/components/label.js +34 -5
  580. package/dist/components/math.js +12 -1
  581. package/dist/components/popper.js +92 -66
  582. package/dist/custom-elements/index.js +1532 -916
  583. package/dist/esm/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-4b38a7d1.js} +4 -4
  584. package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-1d6cd311.js} +1 -1
  585. package/dist/esm/calcite-accordion_2.entry.js +5 -2
  586. package/dist/esm/calcite-action-bar.entry.js +3 -3
  587. package/dist/esm/calcite-action-group.entry.js +2 -2
  588. package/dist/esm/calcite-action-menu.entry.js +2 -2
  589. package/dist/esm/calcite-action-pad.entry.js +3 -3
  590. package/dist/esm/calcite-action.entry.js +1 -1
  591. package/dist/esm/calcite-alert.entry.js +20 -8
  592. package/dist/esm/calcite-avatar.entry.js +2 -2
  593. package/dist/esm/calcite-block_2.entry.js +6 -8
  594. package/dist/esm/calcite-button.entry.js +4 -4
  595. package/dist/esm/calcite-card.entry.js +3 -3
  596. package/dist/esm/calcite-checkbox.entry.js +36 -85
  597. package/dist/esm/calcite-chip.entry.js +2 -2
  598. package/dist/esm/calcite-color-picker_3.entry.js +50 -45
  599. package/dist/esm/calcite-combobox_3.entry.js +85 -26
  600. package/dist/esm/calcite-date-picker_4.entry.js +29 -11
  601. package/dist/esm/calcite-dropdown_3.entry.js +6 -6
  602. package/dist/esm/calcite-fab.entry.js +2 -2
  603. package/dist/esm/calcite-filter.entry.js +44 -15
  604. package/dist/esm/calcite-flow.entry.js +1 -1
  605. package/dist/esm/calcite-graph_2.entry.js +49 -25
  606. package/dist/esm/calcite-handle.entry.js +1 -1
  607. package/dist/esm/calcite-icon.entry.js +2 -2
  608. package/dist/esm/calcite-inline-editable.entry.js +52 -43
  609. package/dist/esm/calcite-input-date-picker.entry.js +71 -18
  610. package/dist/esm/calcite-input-message.entry.js +2 -2
  611. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -6
  612. package/dist/esm/calcite-input.entry.js +126 -78
  613. package/dist/esm/calcite-label.entry.js +2 -2
  614. package/dist/esm/calcite-link.entry.js +2 -2
  615. package/dist/esm/calcite-list_3.entry.js +4 -4
  616. package/dist/esm/calcite-loader.entry.js +2 -2
  617. package/dist/esm/calcite-modal.entry.js +3 -3
  618. package/dist/esm/calcite-notice.entry.js +2 -2
  619. package/dist/esm/calcite-option_3.entry.js +34 -7
  620. package/dist/esm/calcite-pagination.entry.js +2 -2
  621. package/dist/esm/calcite-panel.entry.js +11 -9
  622. package/dist/esm/calcite-pick-list_3.entry.js +4 -4
  623. package/dist/esm/calcite-popover_2.entry.js +6 -6
  624. package/dist/esm/calcite-progress.entry.js +1 -1
  625. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  626. package/dist/esm/calcite-radio-group_2.entry.js +36 -42
  627. package/dist/esm/calcite-radio_2.entry.js +84 -82
  628. package/dist/esm/calcite-rating.entry.js +14 -5
  629. package/dist/esm/calcite-scrim.entry.js +1 -1
  630. package/dist/esm/calcite-shell_3.entry.js +170 -9
  631. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  632. package/dist/esm/calcite-split-button.entry.js +5 -3
  633. package/dist/esm/calcite-stepper_2.entry.js +2 -2
  634. package/dist/esm/calcite-switch.entry.js +30 -49
  635. package/dist/esm/calcite-tab_4.entry.js +7 -7
  636. package/dist/esm/calcite-tile-select_2.entry.js +4 -6
  637. package/dist/esm/calcite-tile.entry.js +3 -3
  638. package/dist/esm/calcite-tip_3.entry.js +4 -4
  639. package/dist/esm/calcite-tooltip_2.entry.js +4 -4
  640. package/dist/esm/calcite-tree_2.entry.js +18 -11
  641. package/dist/esm/calcite-value-list_2.entry.js +3 -3
  642. package/dist/esm/calcite.js +3 -3
  643. package/dist/esm/{dom-f24e866c.js → dom-dc012a45.js} +7 -1
  644. package/dist/esm/form-6b717ce8.js +174 -0
  645. package/dist/esm/{index-d653c37f.js → index-9de00868.js} +81 -429
  646. package/dist/esm/{label-bb61bdef.js → label-0d804a87.js} +34 -5
  647. package/dist/esm/loader.js +3 -3
  648. package/dist/esm/math-456207f5.js +18 -0
  649. package/dist/esm/{popper-7499ea4f.js → popper-ed1eefa6.js} +93 -67
  650. package/dist/esm/{resources-3b481489.js → resources-bece7a88.js} +1 -1
  651. package/dist/esm/{resources-510eed1a.js → resources-eafda211.js} +2 -2
  652. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +5 -0
  653. package/dist/esm-es5/{CalciteHeading-1735f17a.js → CalciteHeading-1d6cd311.js} +1 -1
  654. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  655. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  656. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  657. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  658. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  659. package/dist/esm-es5/calcite-action.entry.js +1 -1
  660. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  661. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  662. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  663. package/dist/esm-es5/calcite-button.entry.js +1 -1
  664. package/dist/esm-es5/calcite-card.entry.js +1 -1
  665. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  666. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  667. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  668. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  669. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  670. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  671. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  672. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  673. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  674. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  675. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  676. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  677. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  678. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  679. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  680. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  681. package/dist/esm-es5/calcite-input.entry.js +2 -2
  682. package/dist/esm-es5/calcite-label.entry.js +1 -1
  683. package/dist/esm-es5/calcite-link.entry.js +1 -1
  684. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  685. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  686. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  687. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  688. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  689. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  690. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  691. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  692. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  693. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  694. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  695. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  696. package/dist/esm-es5/calcite-radio_2.entry.js +2 -2
  697. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  698. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  699. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  700. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  701. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  702. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  703. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  704. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  705. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  706. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  707. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  708. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  709. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  710. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  711. package/dist/esm-es5/calcite.js +1 -1
  712. package/dist/esm-es5/dom-dc012a45.js +5 -0
  713. package/dist/esm-es5/form-6b717ce8.js +5 -0
  714. package/dist/esm-es5/index-9de00868.js +5 -0
  715. package/dist/esm-es5/label-0d804a87.js +5 -0
  716. package/dist/esm-es5/loader.js +1 -1
  717. package/dist/esm-es5/math-456207f5.js +5 -0
  718. package/dist/esm-es5/popper-ed1eefa6.js +5 -0
  719. package/dist/esm-es5/{resources-3b481489.js → resources-bece7a88.js} +1 -1
  720. package/dist/esm-es5/{resources-510eed1a.js → resources-eafda211.js} +1 -1
  721. package/dist/extras/docs-json.json +887 -484
  722. package/dist/types/components/calcite-alert/calcite-alert.d.ts +4 -1
  723. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +22 -23
  724. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -2
  725. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +21 -3
  726. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +20 -8
  727. package/dist/types/components/calcite-filter/calcite-filter.d.ts +24 -1
  728. package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
  729. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -6
  730. package/dist/types/components/calcite-input/calcite-input.d.ts +22 -11
  731. package/dist/types/components/calcite-input/resources.d.ts +2 -0
  732. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +37 -8
  733. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +12 -3
  734. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
  735. package/dist/types/components/calcite-panel/resources.d.ts +2 -0
  736. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +14 -15
  737. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +14 -6
  738. package/dist/types/components/calcite-rating/calcite-rating.d.ts +12 -1
  739. package/dist/types/components/calcite-select/calcite-select.d.ts +19 -1
  740. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +31 -0
  741. package/dist/types/components/calcite-shell-panel/resources.d.ts +5 -0
  742. package/dist/types/components/calcite-slider/calcite-slider.d.ts +17 -3
  743. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +3 -0
  744. package/dist/types/components/calcite-switch/calcite-switch.d.ts +10 -9
  745. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +3 -3
  746. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
  747. package/dist/types/components.d.ts +235 -26
  748. package/dist/types/utils/dom.d.ts +4 -0
  749. package/dist/types/utils/form.d.ts +112 -1
  750. package/dist/types/utils/label.d.ts +5 -0
  751. package/dist/types/utils/math.d.ts +1 -0
  752. package/dist/types/utils/popper.d.ts +1 -1
  753. package/hydrate/index.js +1388 -749
  754. package/package.json +34 -34
  755. package/readme.md +2 -2
  756. package/dist/calcite/p-00d72f16.entry.js +0 -5
  757. package/dist/calcite/p-01c3783e.system.entry.js +0 -5
  758. package/dist/calcite/p-07ba39b6.js +0 -5
  759. package/dist/calcite/p-0fb8cdc5.entry.js +0 -5
  760. package/dist/calcite/p-0fd333ff.entry.js +0 -5
  761. package/dist/calcite/p-157d05ce.js +0 -5
  762. package/dist/calcite/p-18574b32.entry.js +0 -5
  763. package/dist/calcite/p-24b86e03.entry.js +0 -5
  764. package/dist/calcite/p-26045881.entry.js +0 -5
  765. package/dist/calcite/p-29b110b2.entry.js +0 -5
  766. package/dist/calcite/p-2ba00b89.js +0 -5
  767. package/dist/calcite/p-349333f8.system.entry.js +0 -5
  768. package/dist/calcite/p-34a1c944.entry.js +0 -5
  769. package/dist/calcite/p-361ddbb6.entry.js +0 -5
  770. package/dist/calcite/p-378b83de.entry.js +0 -5
  771. package/dist/calcite/p-43494684.entry.js +0 -5
  772. package/dist/calcite/p-47313747.system.js +0 -5
  773. package/dist/calcite/p-485062f4.system.entry.js +0 -5
  774. package/dist/calcite/p-4e06a168.entry.js +0 -5
  775. package/dist/calcite/p-52cc870b.js +0 -5
  776. package/dist/calcite/p-530584ff.system.entry.js +0 -5
  777. package/dist/calcite/p-568ed3d6.system.entry.js +0 -5
  778. package/dist/calcite/p-5c221c33.system.entry.js +0 -5
  779. package/dist/calcite/p-67fd79db.entry.js +0 -5
  780. package/dist/calcite/p-693a4d5f.entry.js +0 -5
  781. package/dist/calcite/p-6cc23c39.system.js +0 -5
  782. package/dist/calcite/p-727c8f36.system.entry.js +0 -5
  783. package/dist/calcite/p-728501db.system.js +0 -5
  784. package/dist/calcite/p-72ffc6d7.entry.js +0 -5
  785. package/dist/calcite/p-745e41ea.entry.js +0 -5
  786. package/dist/calcite/p-7a544774.system.entry.js +0 -5
  787. package/dist/calcite/p-7b01fe89.js +0 -5
  788. package/dist/calcite/p-7cdfec27.system.js +0 -5
  789. package/dist/calcite/p-7f4a5f8e.system.entry.js +0 -5
  790. package/dist/calcite/p-81a82d01.system.entry.js +0 -5
  791. package/dist/calcite/p-87b93729.entry.js +0 -5
  792. package/dist/calcite/p-8fcfe861.js +0 -5
  793. package/dist/calcite/p-93d8a7d5.entry.js +0 -5
  794. package/dist/calcite/p-9965ea81.system.js +0 -5
  795. package/dist/calcite/p-9ac1fa0b.system.entry.js +0 -5
  796. package/dist/calcite/p-9caae570.entry.js +0 -5
  797. package/dist/calcite/p-9d3ee5cf.system.entry.js +0 -5
  798. package/dist/calcite/p-a7521c0d.entry.js +0 -5
  799. package/dist/calcite/p-b701101e.entry.js +0 -5
  800. package/dist/calcite/p-ba255377.entry.js +0 -5
  801. package/dist/calcite/p-bc02d9ef.system.entry.js +0 -5
  802. package/dist/calcite/p-bcc323ec.system.entry.js +0 -5
  803. package/dist/calcite/p-be3b0fee.entry.js +0 -5
  804. package/dist/calcite/p-bfc162ee.system.entry.js +0 -5
  805. package/dist/calcite/p-c1995144.system.entry.js +0 -5
  806. package/dist/calcite/p-c31243c5.entry.js +0 -5
  807. package/dist/calcite/p-c74fc589.system.js +0 -5
  808. package/dist/calcite/p-cb228ac0.entry.js +0 -5
  809. package/dist/calcite/p-cbdf0e6c.js +0 -5
  810. package/dist/calcite/p-d35e423d.js +0 -5
  811. package/dist/calcite/p-d5d62977.entry.js +0 -5
  812. package/dist/calcite/p-d7a7a544.system.entry.js +0 -5
  813. package/dist/calcite/p-de0f4633.entry.js +0 -5
  814. package/dist/calcite/p-e9044cc1.entry.js +0 -5
  815. package/dist/calcite/p-f37563ac.system.entry.js +0 -5
  816. package/dist/calcite/p-f4299b95.entry.js +0 -5
  817. package/dist/calcite/p-f5d25746.system.entry.js +0 -5
  818. package/dist/calcite/p-f8d975a1.system.entry.js +0 -5
  819. package/dist/calcite/p-fb1da0f5.system.js +0 -5
  820. package/dist/calcite/p-fc4846f0.system.entry.js +0 -5
  821. package/dist/calcite/p-fe52131d.entry.js +0 -5
  822. package/dist/calcite/p-fff0a881.entry.js +0 -5
  823. package/dist/cjs/form-00fb301c.js +0 -22
  824. package/dist/cjs/math-9d44163f.js +0 -9
  825. package/dist/collection/components/calcite-label/interfaces.js +0 -1
  826. package/dist/esm/form-cee9f632.js +0 -20
  827. package/dist/esm/math-250d4476.js +0 -7
  828. package/dist/esm-es5/CalciteExpandToggle-151a563a.js +0 -5
  829. package/dist/esm-es5/dom-f24e866c.js +0 -5
  830. package/dist/esm-es5/form-cee9f632.js +0 -5
  831. package/dist/esm-es5/index-d653c37f.js +0 -5
  832. package/dist/esm-es5/label-bb61bdef.js +0 -5
  833. package/dist/esm-es5/math-250d4476.js +0 -5
  834. package/dist/esm-es5/popper-7499ea4f.js +0 -5
@@ -2,11 +2,13 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, h, c as createEvent, H as Host, g as getElement } from './index-d653c37f.js';
5
+ import { r as registerInstance, h, c as createEvent, H as Host, g as getElement } from './index-9de00868.js';
6
6
  import { g as guid } from './guid-196bd5ea.js';
7
- import { f as focusElement, c as closestElementCrossShadowBoundary } from './dom-f24e866c.js';
8
- import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-bb61bdef.js';
9
- import { h as hiddenInputStyle } from './form-cee9f632.js';
7
+ import { a as getElementStyleDir, f as focusElement } from './dom-dc012a45.js';
8
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-0d804a87.js';
9
+ import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-6b717ce8.js';
10
+ import { g as getKey } from './key-69001a68.js';
11
+ import { g as getRoundRobinIndex } from './array-91a648e2.js';
10
12
 
11
13
  const calciteRadioCss = "@-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}:host .radio{background-color:var(--calcite-ui-foreground-1);border-radius:9999px;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([hidden]){display:none}";
12
14
 
@@ -49,10 +51,10 @@ let CalciteRadio = class {
49
51
  CalciteRadio.style = calciteRadioCss;
50
52
 
51
53
  const CSS = {
52
- container: "calcite-radio-button__container"
54
+ container: "container"
53
55
  };
54
56
 
55
- const calciteRadioButtonCss = "@-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)}}.sc-calcite-radio-button:root{--calcite-animation-timing:300ms}.calcite-animate.sc-calcite-radio-button{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.sc-calcite-radio-button{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down.sc-calcite-radio-button{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up.sc-calcite-radio-button{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale.sc-calcite-radio-button{-webkit-animation-name:in-scale;animation-name:in-scale}.sc-calcite-radio-button:root{--calcite-popper-transition:150ms ease-in-out}[hidden].sc-calcite-radio-button-h{display:none}.sc-calcite-radio-button-h{cursor:pointer;display:block}.sc-calcite-radio-button-h .calcite-radio-button__container.sc-calcite-radio-button{position:relative}[disabled].sc-calcite-radio-button-h{cursor:pointer}";
57
+ const calciteRadioButtonCss = "@-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{cursor:pointer;display:block}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host([disabled]){cursor:pointer}::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}";
56
58
 
57
59
  let CalciteRadioButton = class {
58
60
  constructor(hostRef) {
@@ -92,37 +94,79 @@ let CalciteRadioButton = class {
92
94
  //
93
95
  //--------------------------------------------------------------------------
94
96
  this.selectItem = (items, selectedIndex) => {
95
- items.forEach((item, index) => {
96
- const selected = index === selectedIndex;
97
- item.checked = selected;
98
- item.focused = selected;
99
- });
97
+ items[selectedIndex].click();
98
+ };
99
+ this.queryButtons = () => {
100
+ return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((radioButton) => radioButton.name === this.name);
100
101
  };
101
- this.toggle = () => {
102
+ this.isDefaultSelectable = () => {
103
+ const radioButtons = this.queryButtons();
104
+ return !radioButtons.some((radioButton) => radioButton.checked) && radioButtons[0] === this.el;
105
+ };
106
+ this.check = () => {
107
+ if (this.disabled) {
108
+ return;
109
+ }
102
110
  this.uncheckAllRadioButtonsInGroup();
103
111
  this.checked = true;
104
- this.focused = true;
105
112
  this.calciteRadioButtonChange.emit();
113
+ this.setFocus();
106
114
  };
107
115
  this.clickHandler = () => {
108
- this.toggle();
116
+ this.check();
109
117
  };
110
- this.setInputEl = (el) => {
111
- this.inputEl = el;
118
+ this.setContainerEl = (el) => {
119
+ this.containerEl = el;
112
120
  };
113
- this.formResetHandler = () => {
114
- var _a;
115
- this.checked = this.initialChecked;
116
- this.initialChecked && ((_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.setAttribute("checked", ""));
117
- };
118
- this.hideInputEl = () => {
119
- this.inputEl.style.cssText = hiddenInputStyle;
121
+ this.handleKeyDown = (event) => {
122
+ const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
123
+ const key = getKey(event.key);
124
+ const { el } = this;
125
+ if (keys.indexOf(key) === -1) {
126
+ return;
127
+ }
128
+ if (key === " ") {
129
+ this.check();
130
+ return;
131
+ }
132
+ let adjustedKey = key;
133
+ if (getElementStyleDir(el) === "rtl") {
134
+ if (key === "ArrowRight") {
135
+ adjustedKey = "ArrowLeft";
136
+ }
137
+ if (key === "ArrowLeft") {
138
+ adjustedKey = "ArrowRight";
139
+ }
140
+ }
141
+ const radioButtons = Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((radioButton) => radioButton.name === this.name);
142
+ let currentIndex = 0;
143
+ const radioButtonsLength = radioButtons.length;
144
+ radioButtons.some((item, index) => {
145
+ if (item.checked) {
146
+ currentIndex = index;
147
+ return true;
148
+ }
149
+ });
150
+ switch (adjustedKey) {
151
+ case "ArrowLeft":
152
+ case "ArrowUp":
153
+ event.preventDefault();
154
+ this.selectItem(radioButtons, getRoundRobinIndex(Math.max(currentIndex - 1, -1), radioButtonsLength));
155
+ return;
156
+ case "ArrowRight":
157
+ case "ArrowDown":
158
+ event.preventDefault();
159
+ this.selectItem(radioButtons, getRoundRobinIndex(currentIndex + 1, radioButtonsLength));
160
+ return;
161
+ default:
162
+ return;
163
+ }
120
164
  };
121
- this.onInputBlur = () => {
165
+ this.onContainerBlur = () => {
122
166
  this.focused = false;
123
167
  this.calciteInternalRadioButtonBlur.emit();
124
168
  };
125
- this.onInputFocus = () => {
169
+ this.onContainerFocus = () => {
126
170
  this.focused = true;
127
171
  this.calciteInternalRadioButtonFocus.emit();
128
172
  };
@@ -131,44 +175,15 @@ let CalciteRadioButton = class {
131
175
  if (newChecked) {
132
176
  this.uncheckOtherRadioButtonsInGroup();
133
177
  }
134
- if (this.inputEl) {
135
- this.inputEl.checked = newChecked;
136
- }
137
178
  this.calciteInternalRadioButtonCheckedChange.emit(newChecked);
138
179
  }
139
- disabledChanged(disabled) {
140
- this.inputEl.disabled = disabled;
141
- }
142
- focusedChanged(focused) {
143
- if (!this.inputEl) {
144
- return;
145
- }
146
- if (focused && !this.el.hasAttribute("hidden")) {
147
- this.inputEl.focus();
148
- }
149
- else {
150
- this.inputEl.blur();
151
- }
152
- }
153
- hiddenChanged(newHidden) {
154
- this.inputEl.hidden = newHidden;
155
- }
156
- nameChanged(newName) {
157
- if (this.name === newName) {
158
- return;
159
- }
160
- if (this.inputEl) {
161
- this.inputEl.name = newName;
162
- }
180
+ nameChanged() {
163
181
  this.checkLastRadioButton();
164
182
  const currentValue = this.rootNode.querySelector(`input[name="${this.name}"]:checked`);
165
183
  if (!(currentValue === null || currentValue === void 0 ? void 0 : currentValue.value)) {
166
184
  this.uncheckAllRadioButtonsInGroup();
167
185
  }
168
186
  }
169
- requiredChanged(required) {
170
- this.inputEl.required = required;
171
- }
172
187
  //--------------------------------------------------------------------------
173
188
  //
174
189
  // Public Methods
@@ -176,7 +191,7 @@ let CalciteRadioButton = class {
176
191
  //--------------------------------------------------------------------------
177
192
  /** Sets focus on the component. */
178
193
  async setFocus() {
179
- focusElement(this.inputEl);
194
+ focusElement(this.containerEl);
180
195
  }
181
196
  onLabelClick(event) {
182
197
  if (!this.disabled && !this.hidden) {
@@ -194,7 +209,7 @@ let CalciteRadioButton = class {
194
209
  }
195
210
  }
196
211
  checkLastRadioButton() {
197
- const radioButtons = Array.from(this.rootNode.querySelectorAll("calcite-radio-button")).filter((radioButton) => radioButton.name === this.name);
212
+ const radioButtons = this.queryButtons();
198
213
  const checkedRadioButtons = radioButtons.filter((radioButton) => radioButton.checked);
199
214
  if ((checkedRadioButtons === null || checkedRadioButtons === void 0 ? void 0 : checkedRadioButtons.length) > 1) {
200
215
  const lastCheckedRadioButton = checkedRadioButtons[checkedRadioButtons.length - 1];
@@ -211,16 +226,17 @@ let CalciteRadioButton = class {
211
226
  this.calciteInternalRadioButtonCheckedChange.emit();
212
227
  }
213
228
  uncheckAllRadioButtonsInGroup() {
214
- const otherRadioButtons = Array.from(this.rootNode.querySelectorAll("calcite-radio-button")).filter((radioButton) => radioButton.name === this.name);
215
- otherRadioButtons.forEach((otherRadioButton) => {
216
- if (otherRadioButton.checked) {
217
- otherRadioButton.checked = false;
218
- otherRadioButton.focused = false;
229
+ const radioButtons = this.queryButtons();
230
+ radioButtons.forEach((radioButton) => {
231
+ if (radioButton.checked) {
232
+ radioButton.checked = false;
233
+ radioButton.focused = false;
219
234
  }
220
235
  });
221
236
  }
222
237
  uncheckOtherRadioButtonsInGroup() {
223
- const otherRadioButtons = Array.from(this.rootNode.querySelectorAll("calcite-radio-button")).filter((radioButton) => radioButton.name === this.name && radioButton.guid !== this.guid);
238
+ const radioButtons = this.queryButtons();
239
+ const otherRadioButtons = radioButtons.filter((radioButton) => radioButton.guid !== this.guid);
224
240
  otherRadioButtons.forEach((otherRadioButton) => {
225
241
  if (otherRadioButton.checked) {
226
242
  otherRadioButton.checked = false;
@@ -247,28 +263,20 @@ let CalciteRadioButton = class {
247
263
  connectedCallback() {
248
264
  this.rootNode = this.el.getRootNode();
249
265
  this.guid = this.el.id || `calcite-radio-button-${guid()}`;
250
- this.initialChecked = this.checked;
251
266
  if (this.name) {
252
267
  this.checkLastRadioButton();
253
268
  }
254
- const form = closestElementCrossShadowBoundary(this.el, "form");
255
- if (form) {
256
- form.addEventListener("reset", this.formResetHandler);
257
- }
258
269
  connectLabel(this);
270
+ connectForm(this);
259
271
  }
260
272
  componentDidLoad() {
261
- this.hideInputEl();
262
273
  if (this.focused) {
263
- this.inputEl.focus();
274
+ this.setFocus();
264
275
  }
265
276
  }
266
277
  disconnectedCallback() {
267
- const form = closestElementCrossShadowBoundary(this.el, "form");
268
- if (form) {
269
- form.removeEventListener("reset", this.formResetHandler);
270
- }
271
278
  disconnectLabel(this);
279
+ disconnectForm(this);
272
280
  }
273
281
  // --------------------------------------------------------------------------
274
282
  //
@@ -276,18 +284,12 @@ let CalciteRadioButton = class {
276
284
  //
277
285
  // --------------------------------------------------------------------------
278
286
  render() {
279
- var _a;
280
- const value = (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString();
281
- return (h(Host, { onClick: this.clickHandler }, h("div", { class: CSS.container }, h("input", { "aria-label": getLabelText(this), checked: this.checked, disabled: this.disabled, hidden: this.hidden, id: `${this.guid}-input`, name: this.name, onBlur: this.onInputBlur, onFocus: this.onInputFocus, ref: this.setInputEl, required: this.required, type: "radio", value: value }), h("calcite-radio", { checked: this.checked, disabled: this.disabled, focused: this.focused, hidden: this.hidden, hovered: this.hovered, scale: this.scale }))));
287
+ return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, h("div", { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), class: CSS.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, ref: this.setContainerEl, role: "radio", tabIndex: this.checked || this.isDefaultSelectable() ? 0 : -1 }, h("calcite-radio", { checked: this.checked, disabled: this.disabled, focused: this.focused, hidden: this.hidden, hovered: this.hovered, scale: this.scale })), h(HiddenFormInputSlot, { component: this })));
282
288
  }
283
289
  get el() { return getElement(this); }
284
290
  static get watchers() { return {
285
291
  "checked": ["checkedChanged"],
286
- "disabled": ["disabledChanged"],
287
- "focused": ["focusedChanged"],
288
- "hidden": ["hiddenChanged"],
289
- "name": ["nameChanged"],
290
- "required": ["requiredChanged"]
292
+ "name": ["nameChanged"]
291
293
  }; }
292
294
  };
293
295
  CalciteRadioButton.style = calciteRadioButtonCss;
@@ -2,17 +2,18 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-d653c37f.js';
6
- import { a as getElementDir, C as CSS_UTILITY } from './dom-f24e866c.js';
5
+ import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-9de00868.js';
6
+ import { b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
7
7
  import { g as guid } from './guid-196bd5ea.js';
8
- import { c as connectLabel, d as disconnectLabel } from './label-bb61bdef.js';
8
+ import { c as connectLabel, d as disconnectLabel } from './label-0d804a87.js';
9
+ import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-6b717ce8.js';
9
10
 
10
11
  const TEXT = {
11
12
  rating: "Rating",
12
13
  stars: "Stars: ${num}"
13
14
  };
14
15
 
15
- const calciteRatingCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content}:host([scale=s]){height:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){height:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){height:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([disabled]){pointer-events:none;opacity:0.5}:host([read-only]){pointer-events:none}.fieldset{padding:0;margin:0;border-width:0;display:-ms-flexbox;display:flex}.wrapper{display:inline-block;margin-right:var(--calcite-rating-spacing-unit)}.calcite--rtl .wrapper{margin-right:0;margin-left:var(--calcite-rating-spacing-unit)}.star{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;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;color:var(--calcite-ui-border-input);-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;-webkit-transform:scale(1);transform:scale(1)}.star:active{-webkit-transform:scale(1.1);transform:scale(1.1)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected,:host([read-only]) .average,:host([read-only]) .fraction{color:var(--calcite-ui-brand)}.hovered:not(.selected){-webkit-transform:scale(0.9);transform:scale(0.9)}:host .fraction{position:absolute;overflow:hidden;pointer-events:none;top:0;left:0;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out}.calcite--rtl .fraction{right:0;left:auto}calcite-chip{cursor:default;pointer-events:none}.number--average{font-weight:var(--calcite-font-weight-bold)}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-left:var(--calcite-rating-spacing-unit)}.calcite--rtl .number--count:not(:first-child){margin-left:0;margin-right:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}";
16
+ const calciteRatingCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content}:host([scale=s]){height:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){height:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){height:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([disabled]){pointer-events:none;opacity:0.5}:host([read-only]){pointer-events:none}.fieldset{padding:0;margin:0;border-width:0;display:-ms-flexbox;display:flex}.wrapper{display:inline-block;margin-right:var(--calcite-rating-spacing-unit)}.calcite--rtl .wrapper{margin-right:0;margin-left:var(--calcite-rating-spacing-unit)}.star{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;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;color:var(--calcite-ui-border-input);-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;-webkit-transform:scale(1);transform:scale(1)}.star:active{-webkit-transform:scale(1.1);transform:scale(1.1)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected,:host([read-only]) .average,:host([read-only]) .fraction{color:var(--calcite-ui-brand)}.hovered:not(.selected){-webkit-transform:scale(0.9);transform:scale(0.9)}:host .fraction{position:absolute;overflow:hidden;pointer-events:none;top:0;left:0;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out}.calcite--rtl .fraction{right:0;left:auto}calcite-chip{cursor:default;pointer-events:none}.number--average{font-weight:var(--calcite-font-weight-bold)}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-left:var(--calcite-rating-spacing-unit)}.calcite--rtl .number--count:not(:first-child){margin-left:0;margin-right:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width: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}";
16
17
 
17
18
  let CalciteRating = class {
18
19
  constructor(hostRef) {
@@ -41,6 +42,12 @@ let CalciteRating = class {
41
42
  * @default "Stars: ${num}"
42
43
  */
43
44
  this.intlStars = TEXT.stars;
45
+ /**
46
+ * When true, makes the component required for form-submission.
47
+ *
48
+ * @internal
49
+ */
50
+ this.required = false;
44
51
  this.guid = `calcite-ratings-${guid()}`;
45
52
  }
46
53
  //--------------------------------------------------------------------------
@@ -50,9 +57,11 @@ let CalciteRating = class {
50
57
  //--------------------------------------------------------------------------
51
58
  connectedCallback() {
52
59
  connectLabel(this);
60
+ connectForm(this);
53
61
  }
54
62
  disconnectedCallback() {
55
63
  disconnectLabel(this);
64
+ disconnectForm(this);
56
65
  }
57
66
  //--------------------------------------------------------------------------
58
67
  //
@@ -87,7 +96,7 @@ let CalciteRating = class {
87
96
  const { intlRating, showChip, scale, count, average } = this;
88
97
  const dir = getElementDir(this.el);
89
98
  return (h(Fragment, null, h("fieldset", { class: { fieldset: true, [CSS_UTILITY.rtl]: dir === "rtl" }, onBlur: () => (this.hoverValue = null), onMouseLeave: () => (this.hoverValue = null), onTouchEnd: () => (this.hoverValue = null) }, h("legend", { class: "visually-hidden" }, intlRating), this.renderStars()), (count || average) && showChip ? (h("calcite-chip", { class: { [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir, scale: scale, value: count === null || count === void 0 ? void 0 : count.toString() }, !!average && h("span", { class: "number--average" }, average.toString()), !!count && h("span", { class: "number--count" }, "(", count === null || count === void 0 ? void 0 :
90
- count.toString(), ")"))) : null));
99
+ count.toString(), ")"))) : null, h(HiddenFormInputSlot, { component: this })));
91
100
  }
92
101
  //--------------------------------------------------------------------------
93
102
  //
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, h, g as getElement } from './index-d653c37f.js';
5
+ import { r as registerInstance, h, g as getElement } from './index-9de00868.js';
6
6
 
7
7
  const CSS = {
8
8
  scrim: "scrim",
@@ -2,8 +2,9 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, h, F as Fragment, g as getElement, c as createEvent } from './index-d653c37f.js';
6
- import { g as getSlotted, a as getElementDir, C as CSS_UTILITY } from './dom-f24e866c.js';
5
+ import { r as registerInstance, h, F as Fragment, g as getElement, c as createEvent, f as forceUpdate } from './index-9de00868.js';
6
+ import { g as getSlotted, b as getElementDir, C as CSS_UTILITY, a as getElementStyleDir } from './dom-dc012a45.js';
7
+ import { c as clamp } from './math-456207f5.js';
7
8
  import './guid-196bd5ea.js';
8
9
 
9
10
  const CSS$2 = {
@@ -21,7 +22,7 @@ const SLOTS$2 = {
21
22
  footer: "footer"
22
23
  };
23
24
 
24
- const calciteShellCss = "@-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{width:100%;height:100%;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;top:0;right:0;bottom:0;left:0;--calcite-shell-tip-spacing:26vw}.main{height:100%;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;position:relative;border-width:0;border-top-width:1px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;height:100%;overflow:auto;width:100%;border-width:0;border-left-width:1px;border-right-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}.content--behind{border-width:0;position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;display:initial}::slotted(calcite-shell-center-row){width:unset}::slotted(.header .heading){font-weight:var(--calcite-font-weight-normal);font-size:var(--calcite-font-size--2);line-height:1.375}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-left-width:1px;border-right-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){border-radius:0.25rem;-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);position:absolute;-webkit-animation:in-up var(--calcite-animation-timing) ease-in-out;animation:in-up var(--calcite-animation-timing) ease-in-out;-webkit-box-sizing:border-box;box-sizing:border-box;bottom:0.5rem;left:var(--calcite-shell-tip-spacing);right:var(--calcite-shell-tip-spacing);z-index:2}";
25
+ const calciteShellCss = "@-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{width:100%;height:100%;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;top:0;right:0;bottom:0;left:0;--calcite-shell-tip-spacing:26vw}.main{height:100%;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;position:relative;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;overflow:auto;width:100%}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}.content--behind{border-width:0;position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;display:initial}::slotted(calcite-shell-center-row){width:unset}::slotted(.header .heading){font-weight:var(--calcite-font-weight-normal);font-size:var(--calcite-font-size--2);line-height:1.375}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;border-left-width:0;border-right-width:0}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-left-width:1px;border-right-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){border-radius:0.25rem;-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);position:absolute;-webkit-animation:in-up var(--calcite-animation-timing) ease-in-out;animation:in-up var(--calcite-animation-timing) ease-in-out;-webkit-box-sizing:border-box;box-sizing:border-box;bottom:0.5rem;left:var(--calcite-shell-tip-spacing);right:var(--calcite-shell-tip-spacing);z-index:2}";
25
26
 
26
27
  let CalciteShell = class {
27
28
  constructor(hostRef) {
@@ -131,17 +132,22 @@ let CalciteShellCenterRow = class {
131
132
  CalciteShellCenterRow.style = calciteShellCenterRowCss;
132
133
 
133
134
  const CSS = {
135
+ container: "container",
134
136
  content: "content",
135
137
  contentHeader: "content__header",
136
138
  contentBody: "content__body",
137
- contentDetached: "content--detached"
139
+ contentDetached: "content--detached",
140
+ separator: "separator"
138
141
  };
139
142
  const SLOTS = {
140
143
  actionBar: "action-bar",
141
144
  header: "header"
142
145
  };
146
+ const TEXT = {
147
+ resize: "Resize"
148
+ };
143
149
 
144
- const calciteShellPanelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}: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-align:stretch;align-items:stretch;background-color:transparent;pointer-events:none;--calcite-shell-panel-detached-max-height:unset}::slotted(calcite-panel),::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;height:100%;width:100%;max-height:unset;max-width:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;padding:0;pointer-events:auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out;transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out}.content__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{border-radius:0.25rem;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);height:auto;overflow:hidden;margin-top:0.5rem;margin-bottom:auto;margin-left:0.5rem;margin-right:0.5rem;max-height:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-height:unset}.content[hidden]{display:none}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar){border-right-width:1px;border-right-color:var(--calcite-ui-border-3);border-right-style:solid}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar){border-left-width:1px;border-left-color:var(--calcite-ui-border-3);border-left-style:solid}";
150
+ const calciteShellPanelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex:0 1 auto;flex:0 1 auto;pointer-events:none;--calcite-shell-panel-detached-max-height:unset}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{position:absolute;background-color:transparent;bottom:0;display:-ms-flexbox;display:flex;height:100%;opacity:0;pointer-events:auto;top:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;width:0.125rem;z-index:10;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;height:100%;width:100%;max-height:unset;max-width:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;padding:0;pointer-events:auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out;transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out}.content__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{border-radius:0.25rem;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);height:auto;overflow:hidden;margin-top:0.5rem;margin-bottom:auto;margin-left:0.5rem;margin-right:0.5rem;max-height:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-height:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel){border-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";
145
151
 
146
152
  let CalciteShellPanel = class {
147
153
  constructor(hostRef) {
@@ -168,10 +174,130 @@ let CalciteShellPanel = class {
168
174
  * This sets width of the content area.
169
175
  */
170
176
  this.widthScale = "m";
177
+ /**
178
+ * Accessible label for resize separator.
179
+ * @default "Resize"
180
+ */
181
+ this.intlResize = TEXT.resize;
182
+ /**
183
+ * This property makes the content area resizable if the calcite-shell-panel is not 'detached'.
184
+ */
185
+ this.resizable = false;
186
+ this.contentWidth = null;
187
+ this.initialContentWidth = null;
188
+ this.initialClientX = null;
189
+ this.contentWidthMax = null;
190
+ this.contentWidthMin = null;
191
+ this.step = 1;
192
+ this.stepMultiplier = 10;
193
+ this.storeContentEl = (contentEl) => {
194
+ this.contentEl = contentEl;
195
+ };
196
+ this.getKeyAdjustedWidth = (event) => {
197
+ const { key } = event;
198
+ const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
199
+ const multipliedStep = step * stepMultiplier;
200
+ const MOVEMENT_KEYS = [
201
+ "ArrowUp",
202
+ "ArrowDown",
203
+ "ArrowLeft",
204
+ "ArrowRight",
205
+ "Home",
206
+ "End",
207
+ "PageUp",
208
+ "PageDown"
209
+ ];
210
+ if (MOVEMENT_KEYS.indexOf(key) > -1) {
211
+ event.preventDefault();
212
+ }
213
+ const dir = getElementStyleDir(el);
214
+ const directionKeys = ["ArrowLeft", "ArrowRight"];
215
+ const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
216
+ const increaseKeys = key === "ArrowUp" ||
217
+ (position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
218
+ if (increaseKeys) {
219
+ const stepValue = event.shiftKey ? multipliedStep : step;
220
+ return initialContentWidth + directionFactor * stepValue;
221
+ }
222
+ const decreaseKeys = key === "ArrowDown" ||
223
+ (position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
224
+ if (decreaseKeys) {
225
+ const stepValue = event.shiftKey ? multipliedStep : step;
226
+ return initialContentWidth - directionFactor * stepValue;
227
+ }
228
+ if (typeof contentWidthMin === "number" && key === "Home") {
229
+ return contentWidthMin;
230
+ }
231
+ if (typeof contentWidthMax === "number" && key === "End") {
232
+ return contentWidthMax;
233
+ }
234
+ if (key === "PageDown") {
235
+ return initialContentWidth - multipliedStep;
236
+ }
237
+ if (key === "PageUp") {
238
+ return initialContentWidth + multipliedStep;
239
+ }
240
+ return null;
241
+ };
242
+ this.separatorKeyDown = (event) => {
243
+ this.setInitialContentWidth();
244
+ const width = this.getKeyAdjustedWidth(event);
245
+ if (typeof width === "number") {
246
+ this.setContentWidth(width);
247
+ }
248
+ };
249
+ this.separatorPointerMove = (event) => {
250
+ event.preventDefault();
251
+ const { el, initialContentWidth, position, initialClientX } = this;
252
+ const offset = event.clientX - initialClientX;
253
+ const dir = getElementStyleDir(el);
254
+ const adjustmentDirection = dir === "rtl" ? -1 : 1;
255
+ const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
256
+ const width = initialContentWidth + adjustedOffset;
257
+ this.setContentWidth(width);
258
+ };
259
+ this.separatorPointerUp = (event) => {
260
+ event.preventDefault();
261
+ document.removeEventListener("pointerup", this.separatorPointerUp);
262
+ document.removeEventListener("pointermove", this.separatorPointerMove);
263
+ };
264
+ this.setInitialContentWidth = () => {
265
+ var _a;
266
+ this.initialContentWidth = (_a = this.contentEl) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width;
267
+ };
268
+ this.separatorPointerDown = (event) => {
269
+ event.preventDefault();
270
+ const { separatorEl } = this;
271
+ separatorEl && document.activeElement !== separatorEl && separatorEl.focus();
272
+ this.setInitialContentWidth();
273
+ this.initialClientX = event.clientX;
274
+ document.addEventListener("pointerup", this.separatorPointerUp);
275
+ document.addEventListener("pointermove", this.separatorPointerMove);
276
+ };
277
+ this.connectSeparator = (separatorEl) => {
278
+ this.disconnectSeparator();
279
+ this.separatorEl = separatorEl;
280
+ separatorEl.addEventListener("pointerdown", this.separatorPointerDown);
281
+ };
282
+ this.disconnectSeparator = () => {
283
+ var _a;
284
+ (_a = this.separatorEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("pointerdown", this.separatorPointerDown);
285
+ };
171
286
  }
172
287
  watchHandler() {
173
288
  this.calciteShellPanelToggle.emit();
174
289
  }
290
+ //--------------------------------------------------------------------------
291
+ //
292
+ // Lifecycle
293
+ //
294
+ //--------------------------------------------------------------------------
295
+ disconnectedCallback() {
296
+ this.disconnectSeparator();
297
+ }
298
+ componentDidLoad() {
299
+ this.updateAriaValues();
300
+ }
175
301
  // --------------------------------------------------------------------------
176
302
  //
177
303
  // Render Methods
@@ -183,14 +309,49 @@ let CalciteShellPanel = class {
183
309
  return hasHeader ? (h("div", { class: CSS.contentHeader }, h("slot", { name: SLOTS.header }))) : null;
184
310
  }
185
311
  render() {
186
- const { collapsed, detached, position } = this;
187
- const contentNode = (h("div", { class: { [CSS.content]: true, [CSS.contentDetached]: detached }, hidden: collapsed }, this.renderHeader(), h("div", { class: CSS.contentBody }, h("slot", null))));
312
+ const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;
313
+ const allowResizing = !detached && resizable;
314
+ const contentNode = (h("div", { class: { [CSS.content]: true, [CSS.contentDetached]: detached }, hidden: collapsed, ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), h("div", { class: CSS.contentBody }, h("slot", null))));
315
+ const separatorNode = allowResizing ? (h("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS.separator, onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
188
316
  const actionBarNode = h("slot", { name: SLOTS.actionBar });
189
- const mainNodes = [actionBarNode, contentNode];
317
+ const mainNodes = [actionBarNode, contentNode, separatorNode];
190
318
  if (position === "end") {
191
319
  mainNodes.reverse();
192
320
  }
193
- return h(Fragment, null, mainNodes);
321
+ return h("div", { class: { [CSS.container]: true } }, mainNodes);
322
+ }
323
+ // --------------------------------------------------------------------------
324
+ //
325
+ // private Methods
326
+ //
327
+ // --------------------------------------------------------------------------
328
+ setContentWidth(width) {
329
+ const { contentWidthMax, contentWidthMin } = this;
330
+ const roundedWidth = Math.round(width);
331
+ this.contentWidth =
332
+ typeof contentWidthMax === "number" && typeof contentWidthMin === "number"
333
+ ? clamp(roundedWidth, contentWidthMin, contentWidthMax)
334
+ : roundedWidth;
335
+ }
336
+ updateAriaValues() {
337
+ const { contentEl } = this;
338
+ const computedStyle = contentEl && getComputedStyle(contentEl);
339
+ if (!computedStyle) {
340
+ return;
341
+ }
342
+ const max = parseInt(computedStyle.getPropertyValue("max-width"), 10);
343
+ const min = parseInt(computedStyle.getPropertyValue("min-width"), 10);
344
+ const valueNow = parseInt(computedStyle.getPropertyValue("width"), 10);
345
+ if (typeof valueNow === "number" && !isNaN(valueNow)) {
346
+ this.initialContentWidth = valueNow;
347
+ }
348
+ if (typeof max === "number" && !isNaN(max)) {
349
+ this.contentWidthMax = max;
350
+ }
351
+ if (typeof min === "number" && !isNaN(min)) {
352
+ this.contentWidthMin = min;
353
+ }
354
+ forceUpdate(this);
194
355
  }
195
356
  get el() { return getElement(this); }
196
357
  static get watchers() { return {