@esri/calcite-components 1.0.0-next.360 → 1.0.0-next.364

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 (315) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/{p-84738edb.system.entry.js → p-02589ad3.system.entry.js} +1 -1
  3. package/dist/calcite/{p-3e8cf990.entry.js → p-05dc6806.entry.js} +1 -1
  4. package/dist/calcite/{p-e62edb4d.system.entry.js → p-088a096d.system.entry.js} +1 -1
  5. package/dist/calcite/{p-481366ac.entry.js → p-0af820bf.entry.js} +1 -1
  6. package/dist/calcite/{p-6dbcd698.system.entry.js → p-0cf878ed.system.entry.js} +1 -1
  7. package/dist/calcite/p-10f1a096.system.entry.js +5 -0
  8. package/dist/calcite/{p-d00fbd1e.entry.js → p-132d55c2.entry.js} +1 -1
  9. package/dist/calcite/{p-1ae01548.system.js → p-14ff4cbd.system.js} +1 -1
  10. package/dist/calcite/{p-f63b9411.entry.js → p-16cfe8e8.entry.js} +1 -1
  11. package/dist/calcite/p-1894562d.system.entry.js +5 -0
  12. package/dist/calcite/{p-ad81283a.entry.js → p-1a5dae4a.entry.js} +1 -1
  13. package/dist/calcite/{p-082c3059.system.entry.js → p-1d7a9909.system.entry.js} +1 -1
  14. package/dist/calcite/{p-770c1d6b.entry.js → p-21f26f77.entry.js} +1 -1
  15. package/dist/calcite/{p-a88d8075.entry.js → p-253efee4.entry.js} +1 -1
  16. package/dist/calcite/{p-d5b221b1.entry.js → p-2618de8a.entry.js} +1 -1
  17. package/dist/calcite/p-26fd946c.entry.js +5 -0
  18. package/dist/calcite/{p-b55fa7bc.entry.js → p-273cd5ab.entry.js} +1 -1
  19. package/dist/calcite/{p-26755e82.system.js → p-28dea60a.system.js} +1 -1
  20. package/dist/calcite/{p-1d26d522.system.entry.js → p-2a8938c7.system.entry.js} +1 -1
  21. package/dist/calcite/p-2b48aa8c.entry.js +5 -0
  22. package/dist/calcite/{p-e5130ebf.system.entry.js → p-2c954eaa.system.entry.js} +1 -1
  23. package/dist/calcite/p-320ef3e6.system.entry.js +5 -0
  24. package/dist/calcite/{p-55d683e1.system.entry.js → p-3280f0ac.system.entry.js} +1 -1
  25. package/dist/calcite/p-32f6f7df.entry.js +5 -0
  26. package/dist/calcite/{p-f8c99ef3.system.entry.js → p-37bddb73.system.entry.js} +1 -1
  27. package/dist/calcite/{p-475b5015.entry.js → p-38e64c6b.entry.js} +1 -1
  28. package/dist/calcite/{p-07284a52.system.js → p-3a20f93d.system.js} +1 -1
  29. package/dist/calcite/{p-ac234622.system.entry.js → p-3ab992ff.system.entry.js} +1 -1
  30. package/dist/calcite/{p-74365957.system.entry.js → p-3b73b785.system.entry.js} +1 -1
  31. package/dist/calcite/{p-26481e18.js → p-3d4c34e5.js} +1 -1
  32. package/dist/calcite/{p-bccf787f.entry.js → p-3e9e4992.entry.js} +1 -1
  33. package/dist/calcite/p-409d0a3f.entry.js +5 -0
  34. package/dist/calcite/p-40bb088d.entry.js +5 -0
  35. package/dist/calcite/{p-12c57970.js → p-41894582.js} +1 -1
  36. package/dist/calcite/{p-bb4dcd31.js → p-41e2198b.js} +1 -1
  37. package/dist/calcite/{p-3baf4001.system.entry.js → p-436d9f0e.system.entry.js} +1 -1
  38. package/dist/calcite/{p-5dcd2088.system.entry.js → p-45bfe5bf.system.entry.js} +1 -1
  39. package/dist/calcite/{p-b63dfa63.entry.js → p-4659df78.entry.js} +1 -1
  40. package/dist/calcite/{p-6cd93563.entry.js → p-46b63d75.entry.js} +1 -1
  41. package/dist/calcite/{p-a57bd5e6.entry.js → p-4d22b788.entry.js} +1 -1
  42. package/dist/calcite/{p-e7103edc.entry.js → p-51550014.entry.js} +1 -1
  43. package/dist/calcite/{p-92ad7d95.entry.js → p-51a85436.entry.js} +1 -1
  44. package/dist/calcite/{p-cbea8bac.system.js → p-52871e84.system.js} +1 -1
  45. package/dist/calcite/{p-57555baa.system.entry.js → p-54e271c9.system.entry.js} +1 -1
  46. package/dist/calcite/{p-2c278864.entry.js → p-57558d4b.entry.js} +1 -1
  47. package/dist/calcite/{p-5cce1e8b.entry.js → p-59133b9b.entry.js} +1 -1
  48. package/dist/calcite/{p-b5bb4618.system.entry.js → p-5c256f31.system.entry.js} +1 -1
  49. package/dist/calcite/{p-18c9da83.entry.js → p-5df1936f.entry.js} +1 -1
  50. package/dist/calcite/{p-4aa28569.entry.js → p-6515e0a5.entry.js} +1 -1
  51. package/dist/calcite/{p-6e0fd056.entry.js → p-698167ac.entry.js} +1 -1
  52. package/dist/calcite/{p-6173cf08.system.js → p-781ebed0.system.js} +1 -1
  53. package/dist/calcite/{p-c5761666.entry.js → p-799f0655.entry.js} +1 -1
  54. package/dist/calcite/p-7cf09784.system.entry.js +5 -0
  55. package/dist/calcite/{p-b01c3a89.system.entry.js → p-7d355abe.system.entry.js} +1 -1
  56. package/dist/calcite/p-7ed5b78e.system.entry.js +5 -0
  57. package/dist/calcite/{p-afa72097.system.entry.js → p-7f32a681.system.entry.js} +1 -1
  58. package/dist/calcite/{p-557f31e6.system.entry.js → p-7f5bd070.system.entry.js} +1 -1
  59. package/dist/calcite/{p-cd54c8d0.system.entry.js → p-8468ddb0.system.entry.js} +1 -1
  60. package/dist/calcite/{p-917e53a2.system.entry.js → p-897fc280.system.entry.js} +1 -1
  61. package/dist/calcite/p-8a237191.system.entry.js +5 -0
  62. package/dist/calcite/{p-a07e9c46.system.entry.js → p-8b145872.system.entry.js} +1 -1
  63. package/dist/calcite/{p-bc00846c.entry.js → p-8d36bc7c.entry.js} +1 -1
  64. package/dist/calcite/{p-e8270c76.system.entry.js → p-8ebed170.system.entry.js} +1 -1
  65. package/dist/calcite/{p-7bd71ff0.system.entry.js → p-8f4ea148.system.entry.js} +1 -1
  66. package/dist/calcite/{p-4fee156d.system.entry.js → p-99d29b5c.system.entry.js} +1 -1
  67. package/dist/calcite/p-99d32fc3.system.js +1 -1
  68. package/dist/calcite/p-9b05c3fd.js +5 -0
  69. package/dist/calcite/p-9bfe6679.system.entry.js +5 -0
  70. package/dist/calcite/{p-6fb2082b.entry.js → p-9d81d229.entry.js} +1 -1
  71. package/dist/calcite/p-9f349c92.entry.js +5 -0
  72. package/dist/calcite/{p-d6e8d643.entry.js → p-a0043c61.entry.js} +1 -1
  73. package/dist/calcite/{p-cc63f8f9.entry.js → p-a1f65f6e.entry.js} +1 -1
  74. package/dist/calcite/{p-1509da0f.system.entry.js → p-a4dec1f6.system.entry.js} +1 -1
  75. package/dist/calcite/{p-90f7c357.system.entry.js → p-a9c50960.system.entry.js} +1 -1
  76. package/dist/calcite/{p-f8f128a2.entry.js → p-aaed1677.entry.js} +1 -1
  77. package/dist/calcite/{p-70566b09.system.entry.js → p-ac778725.system.entry.js} +1 -1
  78. package/dist/calcite/{p-9acd0a18.entry.js → p-ac8cf248.entry.js} +1 -1
  79. package/dist/calcite/{p-bfd9f64a.entry.js → p-b4d3f1c1.entry.js} +1 -1
  80. package/dist/calcite/{p-fc3c1e91.entry.js → p-b80ab9ba.entry.js} +1 -1
  81. package/dist/calcite/{p-3c14f089.system.entry.js → p-bb9fb183.system.entry.js} +1 -1
  82. package/dist/calcite/{p-2015299a.entry.js → p-bda51610.entry.js} +1 -1
  83. package/dist/calcite/{p-d6bfa9b1.entry.js → p-c0ed9eff.entry.js} +1 -1
  84. package/dist/calcite/{p-c3124245.system.entry.js → p-cb9cd28c.system.entry.js} +1 -1
  85. package/dist/calcite/p-d1794edd.entry.js +5 -0
  86. package/dist/calcite/{p-9a0a29a7.system.entry.js → p-d578e568.system.entry.js} +1 -1
  87. package/dist/calcite/{p-94398466.system.entry.js → p-d5d91f34.system.entry.js} +1 -1
  88. package/dist/calcite/{p-6f0c4739.system.entry.js → p-e0fa3b13.system.entry.js} +1 -1
  89. package/dist/calcite/{p-7017ca05.js → p-e1944963.js} +1 -1
  90. package/dist/calcite/{p-227da2a5.system.entry.js → p-e564004a.system.entry.js} +1 -1
  91. package/dist/calcite/{p-0ac72794.system.entry.js → p-e606e9ae.system.entry.js} +1 -1
  92. package/dist/calcite/{p-f70f5521.system.entry.js → p-e690993e.system.entry.js} +1 -1
  93. package/dist/calcite/{p-ae224016.system.entry.js → p-e6d14bc5.system.entry.js} +1 -1
  94. package/dist/calcite/{p-83d41684.entry.js → p-eea18662.entry.js} +1 -1
  95. package/dist/calcite/{p-3c1841bd.entry.js → p-f09810e7.entry.js} +1 -1
  96. package/dist/calcite/{p-0134e87c.system.entry.js → p-f5469b62.system.entry.js} +1 -1
  97. package/dist/calcite/p-f6559122.entry.js +5 -0
  98. package/dist/calcite/{p-a76aa7d2.system.entry.js → p-f6fc151d.system.entry.js} +1 -1
  99. package/dist/calcite/{p-c077d664.entry.js → p-f73124d0.entry.js} +1 -1
  100. package/dist/calcite/{p-59222393.entry.js → p-f90b2e7f.entry.js} +1 -1
  101. package/dist/calcite/{p-4364e76a.system.js → p-fbcaa23c.system.js} +1 -1
  102. package/dist/calcite/{p-f3b489d9.js → p-fcd62e97.js} +1 -1
  103. package/dist/cjs/{CalciteExpandToggle-38ca208f.js → CalciteExpandToggle-65468585.js} +1 -1
  104. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  105. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  106. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  107. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  108. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  109. package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
  110. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  111. package/dist/cjs/calcite-block_2.cjs.entry.js +1 -1
  112. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  113. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  114. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  115. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -1
  116. package/dist/cjs/calcite-combobox_3.cjs.entry.js +13 -6
  117. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +3 -2
  118. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -10
  119. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  120. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  121. package/dist/cjs/calcite-graph_2.cjs.entry.js +18 -11
  122. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  123. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  124. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +9 -4
  125. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  126. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  127. package/dist/cjs/calcite-input.cjs.entry.js +6 -3
  128. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  129. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  130. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  131. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  132. package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
  133. package/dist/cjs/calcite-panel.cjs.entry.js +1 -1
  134. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  135. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  136. package/dist/cjs/calcite-radio-button.cjs.entry.js +4 -4
  137. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +3 -3
  138. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  139. package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
  140. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  141. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  142. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  143. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  144. package/dist/cjs/calcite-tip_3.cjs.entry.js +1 -1
  145. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  146. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  147. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  148. package/dist/cjs/calcite.cjs.js +1 -1
  149. package/dist/cjs/{dom-db7722f2.js → dom-0de9fb18.js} +17 -4
  150. package/dist/cjs/{form-ad18d4fc.js → form-4b7c317e.js} +1 -1
  151. package/dist/cjs/{label-4776bb0e.js → label-1bca211b.js} +1 -1
  152. package/dist/cjs/loader.cjs.js +1 -1
  153. package/dist/cjs/{popper-adfdc032.js → popper-09105f6f.js} +1 -1
  154. package/dist/cjs/{resources-8273cb31.js → resources-405cc2c4.js} +1 -1
  155. package/dist/collection/components/calcite-combobox/calcite-combobox.js +28 -3
  156. package/dist/collection/components/calcite-combobox/resources.js +3 -0
  157. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +2 -1
  158. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +1 -1
  159. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +12 -7
  160. package/dist/collection/components/calcite-graph/calcite-graph.css +3 -5
  161. package/dist/collection/components/calcite-graph/calcite-graph.js +13 -42
  162. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +15 -21
  163. package/dist/collection/components/calcite-input/calcite-input.js +3 -0
  164. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +38 -1
  165. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +10 -0
  166. package/dist/collection/components/calcite-slider/calcite-slider.css +1 -0
  167. package/dist/collection/components/calcite-slider/calcite-slider.js +1 -2
  168. package/dist/collection/utils/dom.js +17 -4
  169. package/dist/components/calcite-color-picker-swatch2.js +15 -0
  170. package/dist/components/calcite-combobox.js +8 -3
  171. package/dist/components/calcite-date-picker2.js +2 -1
  172. package/dist/components/calcite-dropdown2.js +12 -8
  173. package/dist/components/calcite-graph2.js +14 -9
  174. package/dist/components/calcite-inline-editable.js +5 -5
  175. package/dist/components/calcite-input-date-picker.js +6 -1
  176. package/dist/components/calcite-input2.js +3 -0
  177. package/dist/components/calcite-radio-button.js +1 -1
  178. package/dist/components/calcite-slider.js +2 -2
  179. package/dist/components/dom.js +17 -4
  180. package/dist/components/utils2.js +4 -1
  181. package/dist/custom-elements/index.js +137 -83
  182. package/dist/esm/{CalciteExpandToggle-1b1bf600.js → CalciteExpandToggle-48b6e955.js} +1 -1
  183. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  184. package/dist/esm/calcite-action-bar.entry.js +2 -2
  185. package/dist/esm/calcite-action-group.entry.js +1 -1
  186. package/dist/esm/calcite-action-menu.entry.js +1 -1
  187. package/dist/esm/calcite-action-pad.entry.js +2 -2
  188. package/dist/esm/calcite-alert.entry.js +1 -1
  189. package/dist/esm/calcite-avatar.entry.js +1 -1
  190. package/dist/esm/calcite-block_2.entry.js +1 -1
  191. package/dist/esm/calcite-button.entry.js +2 -2
  192. package/dist/esm/calcite-checkbox.entry.js +3 -3
  193. package/dist/esm/calcite-chip.entry.js +1 -1
  194. package/dist/esm/calcite-color-picker_3.entry.js +16 -1
  195. package/dist/esm/calcite-combobox_3.entry.js +13 -6
  196. package/dist/esm/calcite-date-picker_4.entry.js +3 -2
  197. package/dist/esm/calcite-dropdown_3.entry.js +14 -10
  198. package/dist/esm/calcite-fab.entry.js +1 -1
  199. package/dist/esm/calcite-filter.entry.js +1 -1
  200. package/dist/esm/calcite-graph_2.entry.js +19 -12
  201. package/dist/esm/calcite-icon.entry.js +1 -1
  202. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  203. package/dist/esm/calcite-input-date-picker.entry.js +9 -4
  204. package/dist/esm/calcite-input-message.entry.js +1 -1
  205. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  206. package/dist/esm/calcite-input.entry.js +6 -3
  207. package/dist/esm/calcite-link.entry.js +1 -1
  208. package/dist/esm/calcite-list_3.entry.js +1 -1
  209. package/dist/esm/calcite-modal.entry.js +1 -1
  210. package/dist/esm/calcite-notice.entry.js +1 -1
  211. package/dist/esm/calcite-option_3.entry.js +3 -3
  212. package/dist/esm/calcite-panel.entry.js +1 -1
  213. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  214. package/dist/esm/calcite-popover_2.entry.js +2 -2
  215. package/dist/esm/calcite-radio-button.entry.js +4 -4
  216. package/dist/esm/calcite-radio-group_2.entry.js +3 -3
  217. package/dist/esm/calcite-rating.entry.js +3 -3
  218. package/dist/esm/calcite-shell_3.entry.js +1 -1
  219. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  220. package/dist/esm/calcite-switch.entry.js +3 -3
  221. package/dist/esm/calcite-tab_4.entry.js +1 -1
  222. package/dist/esm/calcite-tile.entry.js +1 -1
  223. package/dist/esm/calcite-tip_3.entry.js +1 -1
  224. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  225. package/dist/esm/calcite-tree_2.entry.js +1 -1
  226. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  227. package/dist/esm/calcite.js +1 -1
  228. package/dist/esm/{dom-e55f9eaf.js → dom-037dc374.js} +17 -4
  229. package/dist/esm/{form-147bc6d7.js → form-72369b73.js} +1 -1
  230. package/dist/esm/{label-240ef148.js → label-712646d2.js} +1 -1
  231. package/dist/esm/loader.js +1 -1
  232. package/dist/esm/{popper-1814b3c1.js → popper-7a7fd3b5.js} +1 -1
  233. package/dist/esm/{resources-a6abee37.js → resources-03c0a433.js} +1 -1
  234. package/dist/esm-es5/{CalciteExpandToggle-1b1bf600.js → CalciteExpandToggle-48b6e955.js} +1 -1
  235. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  236. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  237. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  238. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  239. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  240. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  241. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  242. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  243. package/dist/esm-es5/calcite-button.entry.js +1 -1
  244. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  245. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  246. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  247. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  248. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  249. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  250. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  251. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  252. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  253. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  254. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  255. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  256. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  257. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  258. package/dist/esm-es5/calcite-input.entry.js +1 -1
  259. package/dist/esm-es5/calcite-link.entry.js +1 -1
  260. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  261. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  262. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  263. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  264. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  265. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  266. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  267. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  268. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  269. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  270. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  271. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  272. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  273. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  274. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  275. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  276. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  277. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  278. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  279. package/dist/esm-es5/calcite.js +1 -1
  280. package/dist/esm-es5/dom-037dc374.js +5 -0
  281. package/dist/esm-es5/{form-147bc6d7.js → form-72369b73.js} +1 -1
  282. package/dist/esm-es5/{label-240ef148.js → label-712646d2.js} +1 -1
  283. package/dist/esm-es5/loader.js +1 -1
  284. package/dist/esm-es5/{popper-1814b3c1.js → popper-7a7fd3b5.js} +1 -1
  285. package/dist/esm-es5/{resources-a6abee37.js → resources-03c0a433.js} +1 -1
  286. package/dist/extras/docs-json.json +75 -38
  287. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +4 -0
  288. package/dist/types/components/calcite-combobox/resources.d.ts +3 -0
  289. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +1 -0
  290. package/dist/types/components/calcite-graph/calcite-graph.d.ts +3 -4
  291. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -5
  292. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +9 -0
  293. package/dist/types/components.d.ts +24 -16
  294. package/dist/types/preact.d.ts +5 -4
  295. package/dist/types/utils/dom.d.ts +4 -2
  296. package/hydrate/index.js +136 -83
  297. package/package.json +13 -13
  298. package/readme.md +2 -2
  299. package/dist/calcite/p-0b187e6a.system.entry.js +0 -5
  300. package/dist/calcite/p-15a38242.system.entry.js +0 -5
  301. package/dist/calcite/p-428412b9.entry.js +0 -5
  302. package/dist/calcite/p-55e6b0b2.entry.js +0 -5
  303. package/dist/calcite/p-5c0e75f5.system.entry.js +0 -5
  304. package/dist/calcite/p-634115dd.entry.js +0 -5
  305. package/dist/calcite/p-765d6b57.system.entry.js +0 -5
  306. package/dist/calcite/p-7f4866eb.entry.js +0 -5
  307. package/dist/calcite/p-805c94b9.entry.js +0 -5
  308. package/dist/calcite/p-b43f2e28.entry.js +0 -5
  309. package/dist/calcite/p-c13560e5.system.entry.js +0 -5
  310. package/dist/calcite/p-e39173ae.entry.js +0 -5
  311. package/dist/calcite/p-ef6f8370.entry.js +0 -5
  312. package/dist/calcite/p-f65fdcde.system.entry.js +0 -5
  313. package/dist/calcite/p-f87c1273.js +0 -5
  314. package/dist/calcite/p-fbcdf667.system.entry.js +0 -5
  315. package/dist/esm-es5/dom-e55f9eaf.js +0 -5
@@ -161,6 +161,9 @@ export class CalciteInputDatePicker {
161
161
  // Event Listeners
162
162
  //
163
163
  //--------------------------------------------------------------------------
164
+ handleDateOrRangeChange() {
165
+ this.calciteInputDatePickerChange.emit();
166
+ }
164
167
  calciteDaySelectHandler() {
165
168
  if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
166
169
  return;
@@ -351,6 +354,7 @@ export class CalciteInputDatePicker {
351
354
  }
352
355
  if (!this.range) {
353
356
  this.value = dateToISO(date);
357
+ this.calciteDatePickerChange.emit(date);
354
358
  return;
355
359
  }
356
360
  const { focusedInput } = this;
@@ -925,7 +929,10 @@ export class CalciteInputDatePicker {
925
929
  "cancelable": true,
926
930
  "composed": true,
927
931
  "docs": {
928
- "tags": [],
932
+ "tags": [{
933
+ "name": "deprecated",
934
+ "text": "use `calciteInputDatePickerChange` instead."
935
+ }],
929
936
  "text": "Trigger calcite date change when a user changes the date."
930
937
  },
931
938
  "complexType": {
@@ -947,6 +954,9 @@ export class CalciteInputDatePicker {
947
954
  "tags": [{
948
955
  "name": "see",
949
956
  "text": " [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)"
957
+ }, {
958
+ "name": "deprecated",
959
+ "text": "use `calciteInputDatePickerChange` instead."
950
960
  }],
951
961
  "text": "Trigger calcite date change when a user changes the date range."
952
962
  },
@@ -960,6 +970,21 @@ export class CalciteInputDatePicker {
960
970
  }
961
971
  }
962
972
  }
973
+ }, {
974
+ "method": "calciteInputDatePickerChange",
975
+ "name": "calciteInputDatePickerChange",
976
+ "bubbles": true,
977
+ "cancelable": true,
978
+ "composed": true,
979
+ "docs": {
980
+ "tags": [],
981
+ "text": "This event fires when the input date picker value changes."
982
+ },
983
+ "complexType": {
984
+ "original": "void",
985
+ "resolved": "void",
986
+ "references": {}
987
+ }
963
988
  }, {
964
989
  "method": "calciteInputDatePickerOpen",
965
990
  "name": "calciteInputDatePickerOpen",
@@ -1061,6 +1086,18 @@ export class CalciteInputDatePicker {
1061
1086
  "methodName": "loadLocaleData"
1062
1087
  }]; }
1063
1088
  static get listeners() { return [{
1089
+ "name": "calciteDatePickerChange",
1090
+ "method": "handleDateOrRangeChange",
1091
+ "target": undefined,
1092
+ "capture": false,
1093
+ "passive": false
1094
+ }, {
1095
+ "name": "calciteDatePickerRangeChange",
1096
+ "method": "handleDateOrRangeChange",
1097
+ "target": undefined,
1098
+ "capture": false,
1099
+ "passive": false
1100
+ }, {
1064
1101
  "name": "calciteDaySelect",
1065
1102
  "method": "calciteDaySelectHandler",
1066
1103
  "target": undefined,
@@ -159,6 +159,16 @@
159
159
  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);
160
160
  }
161
161
 
162
+ @media (forced-colors: active) {
163
+ :host([checked]) .radio::after,
164
+ :host([checked][disabled]) .radio::after {
165
+ content: "";
166
+ width: 1rem;
167
+ height: 1rem;
168
+ background-color: windowText;
169
+ display: block;
170
+ }
171
+ }
162
172
  ::slotted(input[slot=hidden-form-input]) {
163
173
  bottom: 0 !important;
164
174
  left: 0 !important;
@@ -326,6 +326,7 @@
326
326
 
327
327
  .graph {
328
328
  color: var(--calcite-ui-foreground-3);
329
+ height: 48px;
329
330
  }
330
331
 
331
332
  :host([label-ticks][ticks]) .container {
@@ -315,8 +315,7 @@ export class CalciteSlider {
315
315
  h(HiddenFormInputSlot, { component: this })))));
316
316
  }
317
317
  renderGraph() {
318
- return this.histogram ? (h("div", { class: "graph" },
319
- h("calcite-graph", { colorStops: this.histogramStops, data: this.histogram, "data-style": "slider-histogram", height: 48, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, max: this.max, min: this.min, width: 300 }))) : null;
318
+ return this.histogram ? (h("calcite-graph", { class: "graph", colorStops: this.histogramStops, data: this.histogram, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, max: this.max, min: this.min })) : null;
320
319
  }
321
320
  renderTickLabel(tick) {
322
321
  const isMinTickLabel = tick === this.min;
@@ -109,10 +109,17 @@ export async function focusElement(el) {
109
109
  }
110
110
  return isCalciteFocusable(el) ? el.setFocus() : el.focus();
111
111
  }
112
+ const defaultSlotSelector = "> :not([slot])";
112
113
  export function getSlotted(element, slotName, options) {
113
- const slotSelector = Array.isArray(slotName)
114
- ? slotName.map((name) => `[slot="${name}"]`).join(",")
115
- : `[slot="${slotName}"]`;
114
+ if (!Array.isArray(slotName) && typeof slotName !== "string") {
115
+ options = slotName;
116
+ slotName = null;
117
+ }
118
+ const slotSelector = slotName
119
+ ? Array.isArray(slotName)
120
+ ? slotName.map((name) => `[slot="${name}"]`).join(",")
121
+ : `[slot="${slotName}"]`
122
+ : defaultSlotSelector;
116
123
  if (options === null || options === void 0 ? void 0 : options.all) {
117
124
  return queryMultiple(element, slotSelector, options);
118
125
  }
@@ -121,6 +128,9 @@ export function getSlotted(element, slotName, options) {
121
128
  function queryMultiple(element, slotSelector, options) {
122
129
  let matches = Array.from(element.querySelectorAll(slotSelector));
123
130
  matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
131
+ if (slotSelector === defaultSlotSelector) {
132
+ matches = matches.filter((match) => match === null || match === void 0 ? void 0 : match.assignedSlot);
133
+ }
124
134
  const selector = options === null || options === void 0 ? void 0 : options.selector;
125
135
  return selector
126
136
  ? matches
@@ -131,9 +141,12 @@ function queryMultiple(element, slotSelector, options) {
131
141
  }
132
142
  function querySingle(element, slotSelector, options) {
133
143
  let match = element.querySelector(slotSelector);
144
+ if (slotSelector === defaultSlotSelector) {
145
+ match = (match === null || match === void 0 ? void 0 : match.assignedSlot) ? match : null;
146
+ }
134
147
  match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
135
148
  const selector = options === null || options === void 0 ? void 0 : options.selector;
136
- return selector ? match.querySelector(selector) : match;
149
+ return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;
137
150
  }
138
151
  export function filterDirectChildren(el, selector) {
139
152
  return Array.from(el.children).filter((child) => child.matches(selector));
@@ -1876,6 +1876,21 @@ Color.prototype = {
1876
1876
  return colorString.to.hex(this.rgb().round().color);
1877
1877
  },
1878
1878
 
1879
+ hexa(value) {
1880
+ if (arguments.length > 0) {
1881
+ return new Color(value);
1882
+ }
1883
+
1884
+ const rgbArray = this.rgb().round().color;
1885
+ let alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase();
1886
+
1887
+ if (alphaHex.length === 1) {
1888
+ alphaHex = '0' + alphaHex;
1889
+ }
1890
+
1891
+ return colorString.to.hex(rgbArray) + alphaHex;
1892
+ },
1893
+
1879
1894
  rgbNumber() {
1880
1895
  const rgb = this.rgb().color;
1881
1896
  return (rgb[0] & 0xFF) << 16 | (rgb[1] & 0xFF) << 8 | rgb[2] & 0xFF;
@@ -7,7 +7,7 @@ import { a as isSymbol, S as Symbol, d as debounce } from './debounce.js';
7
7
  import { i as isArray, f as forIn } from './forIn.js';
8
8
  import { u as updatePopper, c as createPopper, C as CSS } from './popper.js';
9
9
  import { g as guid } from './guid.js';
10
- import { C as ComboboxChildSelector, g as getItemAncestors, a as getItemChildren, h as hasActiveChildren, b as ComboboxItem, c as ComboboxItemGroup, d as ComboboxDefaultPlacement } from './utils2.js';
10
+ import { T as TEXT, C as ComboboxChildSelector, g as getItemAncestors, a as getItemChildren, h as hasActiveChildren, b as ComboboxItem, c as ComboboxItemGroup, d as ComboboxDefaultPlacement } from './utils2.js';
11
11
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
12
12
  import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
13
13
  import { c as createObserver } from './observers.js';
@@ -196,6 +196,10 @@ let CalciteCombobox$1 = class extends HTMLElement {
196
196
  this.scale = "m";
197
197
  /** The value(s) of the selectedItem(s) */
198
198
  this.value = null;
199
+ /** string to override the English "Remove tag" text for when an item is selected.
200
+ * @default "Remove tag"
201
+ */
202
+ this.intlRemoveTag = TEXT.removeTag;
199
203
  //--------------------------------------------------------------------------
200
204
  //
201
205
  // Private State/Props
@@ -801,7 +805,7 @@ let CalciteCombobox$1 = class extends HTMLElement {
801
805
  //
802
806
  //--------------------------------------------------------------------------
803
807
  renderChips() {
804
- const { activeChipIndex, scale, selectionMode } = this;
808
+ const { activeChipIndex, scale, selectionMode, intlRemoveTag } = this;
805
809
  return this.selectedItems.map((item, i) => {
806
810
  const chipClasses = {
807
811
  chip: true,
@@ -810,7 +814,7 @@ let CalciteCombobox$1 = class extends HTMLElement {
810
814
  const ancestors = [...getItemAncestors(item)].reverse();
811
815
  const pathLabel = [...ancestors, item].map((el) => el.textLabel);
812
816
  const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
813
- return (h("calcite-chip", { "aria-label": label, class: chipClasses, dismissLabel: "remove tag", dismissible: true, icon: item.icon, id: `chip-${item.guid}`, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));
817
+ return (h("calcite-chip", { "aria-label": label, class: chipClasses, dismissLabel: intlRemoveTag, dismissible: true, icon: item.icon, id: `chip-${item.guid}`, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));
814
818
  });
815
819
  }
816
820
  renderInput() {
@@ -889,6 +893,7 @@ CalciteCombobox$1 = /*@__PURE__*/ proxyCustomElement(CalciteCombobox$1, [1, "cal
889
893
  "selectionMode": [513, "selection-mode"],
890
894
  "scale": [513],
891
895
  "value": [1025],
896
+ "intlRemoveTag": [1, "intl-remove-tag"],
892
897
  "items": [32],
893
898
  "groupItems": [32],
894
899
  "selectedItems": [32],
@@ -230,6 +230,7 @@ let CalciteDatePicker = class extends HTMLElement {
230
230
  this.value = date ? dateToISO(date) : "";
231
231
  this.valueAsDate = date || null;
232
232
  this.activeDate = date || null;
233
+ this.calciteDatePickerChange.emit(date);
233
234
  return;
234
235
  }
235
236
  if (!this.startAsDate || (!this.endAsDate && date < this.startAsDate)) {
@@ -278,12 +279,12 @@ let CalciteDatePicker = class extends HTMLElement {
278
279
  this.endAsDate = this.activeEndDate = this.end = undefined;
279
280
  }
280
281
  }
282
+ this.calciteDatePickerChange.emit(date);
281
283
  };
282
284
  }
283
285
  handleValueAsDate(date) {
284
286
  if (!Array.isArray(date) && date && date !== this.activeDate) {
285
287
  this.activeDate = date;
286
- this.calciteDatePickerChange.emit(date);
287
288
  }
288
289
  }
289
290
  handleRangeChange() {
@@ -12,7 +12,7 @@ const SLOTS = {
12
12
  dropdownTrigger: "dropdown-trigger"
13
13
  };
14
14
 
15
- const calciteDropdownCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{overflow-y:auto;background-color:var(--calcite-ui-foreground-1);overflow:hidden;max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
15
+ const calciteDropdownCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
16
16
 
17
17
  let CalciteDropdown = class extends HTMLElement {
18
18
  constructor() {
@@ -68,6 +68,7 @@ let CalciteDropdown = class extends HTMLElement {
68
68
  this.items = [];
69
69
  this.activeTransitionProp = "visibility";
70
70
  this.mutationObserver = createObserver("mutation", () => this.updateItems());
71
+ this.resizeObserver = createObserver("resize", () => this.setMaxScrollerHeight());
71
72
  //--------------------------------------------------------------------------
72
73
  //
73
74
  // Private Methods
@@ -80,13 +81,15 @@ let CalciteDropdown = class extends HTMLElement {
80
81
  this.reposition();
81
82
  };
82
83
  this.setMaxScrollerHeight = () => {
83
- const { scrollerEl } = this;
84
- if (scrollerEl) {
85
- const maxScrollerHeight = this.getMaxScrollerHeight();
86
- scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
84
+ const { active, scrollerEl } = this;
85
+ if (!scrollerEl || !active) {
86
+ return;
87
87
  }
88
+ const maxScrollerHeight = this.getMaxScrollerHeight();
89
+ scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
88
90
  };
89
91
  this.setScrollerEl = (scrollerEl) => {
92
+ this.resizeObserver.observe(scrollerEl);
90
93
  this.scrollerEl = scrollerEl;
91
94
  };
92
95
  this.transitionEnd = (event) => {
@@ -142,6 +145,7 @@ let CalciteDropdown = class extends HTMLElement {
142
145
  }
143
146
  maxItemsHandler() {
144
147
  this.reposition();
148
+ this.setMaxScrollerHeight();
145
149
  }
146
150
  placementHandler() {
147
151
  this.reposition();
@@ -161,8 +165,9 @@ let CalciteDropdown = class extends HTMLElement {
161
165
  this.reposition();
162
166
  }
163
167
  disconnectedCallback() {
164
- var _a;
168
+ var _a, _b;
165
169
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
170
+ (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
166
171
  this.destroyPopper();
167
172
  }
168
173
  render() {
@@ -171,7 +176,7 @@ let CalciteDropdown = class extends HTMLElement {
171
176
  ["calcite-dropdown-content"]: true,
172
177
  [CSS.animation]: true,
173
178
  [CSS.animationActive]: active
174
- }, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("slot", null)))));
179
+ }, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !this.active }, h("slot", null))))));
175
180
  }
176
181
  //--------------------------------------------------------------------------
177
182
  //
@@ -181,7 +186,6 @@ let CalciteDropdown = class extends HTMLElement {
181
186
  /** Updates the position of the component. */
182
187
  async reposition() {
183
188
  const { popper, menuEl, placement } = this;
184
- this.setMaxScrollerHeight();
185
189
  const modifiers = this.getModifiers();
186
190
  popper
187
191
  ? await updatePopper({
@@ -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 { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, forceUpdate, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as guid } from './guid.js';
7
+ import { c as createObserver } from './observers.js';
7
8
 
8
9
  /**
9
10
  * Calculate slope of the tangents
@@ -104,7 +105,7 @@ function area({ data, min, max, t }) {
104
105
  return `${commands} ${end} L ${maxX},${minY} Z`;
105
106
  }
106
107
 
107
- const calciteGraphCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;padding:0px}:host([data-style=slider-histogram]) svg{width:100%}:host([data-style=slider-histogram]) svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";
108
+ const calciteGraphCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";
108
109
 
109
110
  let CalciteGraph = class extends HTMLElement {
110
111
  constructor() {
@@ -121,25 +122,31 @@ let CalciteGraph = class extends HTMLElement {
121
122
  * These data points should be sorted by x-axis value
122
123
  */
123
124
  this.data = [];
124
- /** Width of graph in pixels*/
125
- this.width = 300;
126
- /** Width of graph in pixels*/
127
- this.height = 100;
128
125
  //--------------------------------------------------------------------------
129
126
  //
130
127
  // Private State/Props
131
128
  //
132
129
  //--------------------------------------------------------------------------
133
130
  this.graphId = `calcite-graph-${guid()}`;
131
+ this.resizeObserver = createObserver("resize", () => forceUpdate(this));
134
132
  }
135
133
  //--------------------------------------------------------------------------
136
134
  //
137
135
  // Lifecycle
138
136
  //
139
137
  //--------------------------------------------------------------------------
138
+ connectedCallback() {
139
+ var _a;
140
+ (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el);
141
+ }
142
+ disconnectedCallback() {
143
+ var _a;
144
+ (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
145
+ }
140
146
  render() {
141
- const { data, colorStops, width, height, highlightMax, highlightMin, min, max } = this;
147
+ const { data, colorStops, el, highlightMax, highlightMin, min, max } = this;
142
148
  const id = this.graphId;
149
+ const { clientHeight: height, clientWidth: width } = el;
143
150
  // if we have no data, return empty svg
144
151
  if (!data || data.length === 0) {
145
152
  return (h("svg", { class: "svg", height: height, preserveAspectRatio: "none", viewBox: `0 0 ${width} ${height}`, width: width }));
@@ -191,8 +198,6 @@ let CalciteGraph = class extends HTMLElement {
191
198
  CalciteGraph = /*@__PURE__*/ proxyCustomElement(CalciteGraph, [1, "calcite-graph", {
192
199
  "data": [16],
193
200
  "colorStops": [16],
194
- "width": [2],
195
- "height": [2],
196
201
  "highlightMin": [2, "highlight-min"],
197
202
  "highlightMax": [2, "highlight-max"],
198
203
  "min": [2],
@@ -31,8 +31,8 @@ let CalciteInlineEditable$1 = class extends HTMLElement {
31
31
  super();
32
32
  this.__registerHost();
33
33
  this.__attachShadow();
34
- this.calciteInlineEditableEditingCancel = createEvent(this, "calciteInlineEditableEditingCancel", 7);
35
- this.calciteInlineEditableChangesConfirm = createEvent(this, "calciteInlineEditableChangesConfirm", 7);
34
+ this.calciteInlineEditableEditCancel = createEvent(this, "calciteInlineEditableEditCancel", 7);
35
+ this.calciteInlineEditableEditConfirm = createEvent(this, "calciteInlineEditableEditConfirm", 7);
36
36
  this.calciteInlineEditableEnableEditingChange = createEvent(this, "calciteInlineEditableEnableEditingChange", 7);
37
37
  //--------------------------------------------------------------------------
38
38
  //
@@ -59,9 +59,9 @@ let CalciteInlineEditable$1 = class extends HTMLElement {
59
59
  * @default "Save"
60
60
  */
61
61
  this.intlConfirmChanges = TEXT.intlConfirmChanges;
62
- this.transitionEnd = (event) => {
62
+ this.transitionEnd = () => {
63
63
  if (!this.editingEnabled && !!this.shouldEmitCancel) {
64
- this.calciteInlineEditableEditingCancel.emit(event);
64
+ this.calciteInlineEditableEditCancel.emit();
65
65
  }
66
66
  };
67
67
  this.enableEditing = () => {
@@ -113,7 +113,7 @@ let CalciteInlineEditable$1 = class extends HTMLElement {
113
113
  this.confirmChangesHandler = async (e) => {
114
114
  e.preventDefault();
115
115
  e.stopPropagation();
116
- this.calciteInlineEditableChangesConfirm.emit();
116
+ this.calciteInlineEditableEditConfirm.emit();
117
117
  try {
118
118
  if (this.afterConfirm) {
119
119
  this.loading = true;
@@ -25,6 +25,7 @@ let CalciteInputDatePicker$1 = class extends HTMLElement {
25
25
  this.__attachShadow();
26
26
  this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
27
27
  this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
28
+ this.calciteInputDatePickerChange = createEvent(this, "calciteInputDatePickerChange", 7);
28
29
  this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen", 7);
29
30
  this.calciteInputDatePickerClose = createEvent(this, "calciteInputDatePickerClose", 7);
30
31
  //--------------------------------------------------------------------------
@@ -176,6 +177,9 @@ let CalciteInputDatePicker$1 = class extends HTMLElement {
176
177
  // Event Listeners
177
178
  //
178
179
  //--------------------------------------------------------------------------
180
+ handleDateOrRangeChange() {
181
+ this.calciteInputDatePickerChange.emit();
182
+ }
179
183
  calciteDaySelectHandler() {
180
184
  if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
181
185
  return;
@@ -353,6 +357,7 @@ let CalciteInputDatePicker$1 = class extends HTMLElement {
353
357
  }
354
358
  if (!this.range) {
355
359
  this.value = dateToISO(date);
360
+ this.calciteDatePickerChange.emit(date);
356
361
  return;
357
362
  }
358
363
  const { focusedInput } = this;
@@ -485,7 +490,7 @@ CalciteInputDatePicker$1 = /*@__PURE__*/ proxyCustomElement(CalciteInputDatePick
485
490
  "localeData": [32],
486
491
  "setFocus": [64],
487
492
  "reposition": [64]
488
- }, [[0, "calciteDaySelect", "calciteDaySelectHandler"]]]);
493
+ }, [[0, "calciteDatePickerChange", "handleDateOrRangeChange"], [0, "calciteDatePickerRangeChange", "handleDateOrRangeChange"], [0, "calciteDaySelect", "calciteDaySelectHandler"]]]);
489
494
  function defineCustomElement$1() {
490
495
  if (typeof customElements === "undefined") {
491
496
  return;
@@ -249,6 +249,9 @@ let CalciteInput = class extends HTMLElement {
249
249
  const inputMin = this.minString ? parseFloat(this.minString) : null;
250
250
  const valueNudgeDelayInMs = 100;
251
251
  this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
252
+ if (this.nudgeNumberValueIntervalId) {
253
+ window.clearInterval(this.nudgeNumberValueIntervalId);
254
+ }
252
255
  let firstValueNudge = true;
253
256
  this.nudgeNumberValueIntervalId = window.setInterval(() => {
254
257
  if (firstValueNudge) {
@@ -13,7 +13,7 @@ const CSS = {
13
13
  container: "container"
14
14
  };
15
15
 
16
- 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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-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]:not([disabled])) .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]){cursor:pointer}: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]:not([disabled])) .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]:not([disabled])) .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]:not([disabled])) .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)}::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
+ 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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-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]:not([disabled])) .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]){cursor:pointer}: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]:not([disabled])) .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]:not([disabled])) .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]:not([disabled])) .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)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:\"\";width:1rem;height:1rem;background-color:windowText;display:block}}::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}";
17
17
 
18
18
  let CalciteRadioButton$1 = class extends HTMLElement {
19
19
  constructor() {
@@ -10,7 +10,7 @@ import { c as connectLabel, d as disconnectLabel } from './label.js';
10
10
  import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form.js';
11
11
  import { d as defineCustomElement$2 } from './calcite-graph2.js';
12
12
 
13
- const calciteSliderCss = "@charset \"UTF-8\";@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3)}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::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}";
13
+ const calciteSliderCss = "@charset \"UTF-8\";@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);height:48px}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::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}";
14
14
 
15
15
  let CalciteSlider$1 = class extends HTMLElement {
16
16
  constructor() {
@@ -267,7 +267,7 @@ let CalciteSlider$1 = class extends HTMLElement {
267
267
  histogramLabeledPreciseHandle, h(HiddenFormInputSlot, { component: this })))));
268
268
  }
269
269
  renderGraph() {
270
- return this.histogram ? (h("div", { class: "graph" }, h("calcite-graph", { colorStops: this.histogramStops, data: this.histogram, "data-style": "slider-histogram", height: 48, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, max: this.max, min: this.min, width: 300 }))) : null;
270
+ return this.histogram ? (h("calcite-graph", { class: "graph", colorStops: this.histogramStops, data: this.histogram, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, max: this.max, min: this.min })) : null;
271
271
  }
272
272
  renderTickLabel(tick) {
273
273
  const isMinTickLabel = tick === this.min;