@esri/calcite-components 1.0.0-beta.66 → 1.0.0-beta.67

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 (517) hide show
  1. package/dist/calcite/assets/calcite-icon/classifyObjects16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/classifyObjects24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/classifyObjects32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/classifyPixels16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/classifyPixels24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/classifyPixels32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/dataCloud16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/dataCloud24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/dataCloud32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/dataFolder16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/dataFolder24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/dataFolder32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/dataRaster16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/dataRaster24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/dataRaster32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/distributeHeightEvenly16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/distributeWidthEvenly32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/gridUnit16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/gridUnit24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/gridUnit32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/horizontalDistribute16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/horizontalDistribute24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/horizontalDistribute32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/imageChips16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/imageChips24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/imageChips32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/imageUnit16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/imageUnit24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/imageUnit32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/newTraining16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/newTraining24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/newTraining32.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/retrain16.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/retrain24.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/retrain32.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/smartForm16.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/smartForm24.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/smartForm32.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/verticalDistribute16.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/verticalDistribute24.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/verticalDistribute32.json +1 -0
  46. package/dist/calcite/calcite.esm.js +1 -1
  47. package/dist/calcite/calcite.js +1 -1
  48. package/dist/calcite/{p-ba9a6f8f.system.entry.js → p-00f2f64d.system.entry.js} +1 -1
  49. package/dist/calcite/p-010e5fb9.entry.js +1 -0
  50. package/dist/calcite/p-03b25bb5.entry.js +1 -0
  51. package/dist/calcite/{p-77520d33.system.entry.js → p-058f3354.system.entry.js} +1 -1
  52. package/dist/calcite/p-0671d67f.entry.js +1 -0
  53. package/dist/calcite/p-0a465f92.entry.js +1 -0
  54. package/dist/calcite/p-0aa3fc7e.entry.js +1 -0
  55. package/dist/calcite/{p-e9216986.system.entry.js → p-0b539bae.system.entry.js} +1 -1
  56. package/dist/calcite/p-0c356cca.entry.js +1 -0
  57. package/dist/calcite/p-1114dae7.entry.js +1 -0
  58. package/dist/calcite/{p-15e25ab3.system.entry.js → p-14893331.system.entry.js} +1 -1
  59. package/dist/calcite/p-19a2021f.entry.js +1 -0
  60. package/dist/calcite/{p-cfa93160.system.entry.js → p-1a53829b.system.entry.js} +1 -1
  61. package/dist/calcite/p-1c3c9e42.entry.js +1 -0
  62. package/dist/calcite/{p-45e12d86.system.entry.js → p-1df0fd29.system.entry.js} +1 -1
  63. package/dist/calcite/p-203e04e5.entry.js +1 -0
  64. package/dist/calcite/p-23edddc9.entry.js +1 -0
  65. package/dist/calcite/p-2e9e2b7c.entry.js +1 -0
  66. package/dist/calcite/p-32a0f498.entry.js +1 -0
  67. package/dist/calcite/p-340e1f88.entry.js +1 -0
  68. package/dist/calcite/p-38b3ff5f.system.entry.js +1 -0
  69. package/dist/calcite/{p-7e2c1399.system.entry.js → p-39b743d9.system.entry.js} +1 -1
  70. package/dist/calcite/p-3b55b390.entry.js +1 -0
  71. package/dist/calcite/p-3cdef0cd.entry.js +1 -0
  72. package/dist/calcite/p-44810e63.entry.js +1 -0
  73. package/dist/calcite/p-4936ee1a.entry.js +1 -0
  74. package/dist/calcite/p-4a69f94f.entry.js +1 -0
  75. package/dist/calcite/p-4bb3e49c.entry.js +1 -0
  76. package/dist/calcite/p-4dc4c758.entry.js +1 -0
  77. package/dist/calcite/p-4e3dcb60.entry.js +1 -0
  78. package/dist/calcite/{p-e65cf6e0.system.entry.js → p-4f24139e.system.entry.js} +1 -1
  79. package/dist/calcite/{p-f5ad69e5.system.entry.js → p-55379ee6.system.entry.js} +1 -1
  80. package/dist/calcite/{p-c2cdcf33.system.entry.js → p-55f7adaa.system.entry.js} +1 -1
  81. package/dist/calcite/{p-676484bf.system.entry.js → p-59f7b582.system.entry.js} +1 -1
  82. package/dist/calcite/p-5eab55c1.entry.js +1 -0
  83. package/dist/calcite/{p-01f6db2b.system.entry.js → p-5f50d376.system.entry.js} +1 -1
  84. package/dist/calcite/p-62977e6b.system.entry.js +1 -0
  85. package/dist/calcite/p-6350bcd3.system.js +1 -0
  86. package/dist/calcite/p-65f4f1e9.entry.js +1 -0
  87. package/dist/calcite/{p-e3342b5f.system.js → p-674bc090.system.js} +1 -1
  88. package/dist/calcite/p-69837b80.entry.js +1 -0
  89. package/dist/calcite/p-69e382de.entry.js +1 -0
  90. package/dist/calcite/p-6a7d2f7c.entry.js +1 -0
  91. package/dist/calcite/p-6cb2f24f.entry.js +1 -0
  92. package/dist/calcite/{p-8066a582.system.entry.js → p-6d98d9dc.system.entry.js} +1 -1
  93. package/dist/calcite/{p-90887bf6.system.entry.js → p-6edac967.system.entry.js} +1 -1
  94. package/dist/calcite/{p-b3324059.system.entry.js → p-771da7ed.system.entry.js} +1 -1
  95. package/dist/calcite/{p-7112ec9e.system.entry.js → p-79e0b61b.system.entry.js} +1 -1
  96. package/dist/calcite/{p-f1f596a0.system.entry.js → p-7a241325.system.entry.js} +1 -1
  97. package/dist/calcite/{p-441fcc89.js → p-7b71e1d4.js} +1 -1
  98. package/dist/calcite/p-7c5c2b30.js +1 -0
  99. package/dist/calcite/p-7e4036a3.system.entry.js +1 -0
  100. package/dist/calcite/{p-906e0684.system.entry.js → p-7e4be59e.system.entry.js} +1 -1
  101. package/dist/calcite/p-81371076.entry.js +1 -0
  102. package/dist/calcite/p-8242ef10.entry.js +1 -0
  103. package/dist/calcite/{p-4107613e.system.entry.js → p-835b14f7.system.entry.js} +1 -1
  104. package/dist/calcite/p-875b172e.entry.js +1 -0
  105. package/dist/calcite/p-8975e7c8.entry.js +1 -0
  106. package/dist/calcite/p-8a16620b.system.js +1 -0
  107. package/dist/calcite/p-8cfab352.entry.js +1 -0
  108. package/dist/calcite/p-8d9bf455.entry.js +1 -0
  109. package/dist/calcite/p-8e46c987.entry.js +1 -0
  110. package/dist/calcite/{p-0ee0512b.system.entry.js → p-8ef1afae.system.entry.js} +1 -1
  111. package/dist/calcite/p-8fb7b17f.system.entry.js +1 -0
  112. package/dist/calcite/p-90ee6b48.entry.js +1 -0
  113. package/dist/calcite/p-93a7d961.system.entry.js +1 -0
  114. package/dist/calcite/{p-840de724.system.entry.js → p-950bdd5b.system.entry.js} +1 -1
  115. package/dist/calcite/p-97b06cc3.entry.js +1 -0
  116. package/dist/calcite/{p-4d1cae73.system.js → p-987310d2.system.js} +1 -1
  117. package/dist/calcite/{p-3e9f473a.system.entry.js → p-9c371694.system.entry.js} +1 -1
  118. package/dist/calcite/{p-db2a9048.system.entry.js → p-a096738b.system.entry.js} +1 -1
  119. package/dist/calcite/p-a09cd797.entry.js +1 -0
  120. package/dist/calcite/p-a0d4c79d.entry.js +1 -0
  121. package/dist/calcite/{p-653f00bd.system.entry.js → p-a54a11ee.system.entry.js} +1 -1
  122. package/dist/calcite/p-a75f07ae.entry.js +1 -0
  123. package/dist/calcite/p-a83557c6.entry.js +1 -0
  124. package/dist/calcite/{p-2f744f8a.system.entry.js → p-ac44517b.system.entry.js} +1 -1
  125. package/dist/calcite/{p-e7713081.system.entry.js → p-ad290529.system.entry.js} +1 -1
  126. package/dist/calcite/{p-b97e3263.system.entry.js → p-b10d0018.system.entry.js} +1 -1
  127. package/dist/calcite/p-b286e0a5.system.entry.js +1 -0
  128. package/dist/calcite/p-b2a6687b.system.js +1 -0
  129. package/dist/calcite/{p-51593443.system.entry.js → p-b2a79aa2.system.entry.js} +1 -1
  130. package/dist/calcite/p-b4cc79dc.system.js +1 -0
  131. package/dist/calcite/p-bd291e00.entry.js +1 -0
  132. package/dist/calcite/p-be531ce4.system.entry.js +1 -0
  133. package/dist/calcite/p-be6b31d0.entry.js +1 -0
  134. package/dist/calcite/p-bfca7d51.entry.js +1 -0
  135. package/dist/calcite/{p-6f99158e.system.entry.js → p-c0ee1569.system.entry.js} +1 -1
  136. package/dist/calcite/p-c15a632e.system.entry.js +1 -0
  137. package/dist/calcite/{p-322095a3.system.entry.js → p-c23bfaf9.system.entry.js} +1 -1
  138. package/dist/calcite/{p-7dff967a.system.entry.js → p-c2cd9c1d.system.entry.js} +1 -1
  139. package/dist/calcite/{p-8b943830.system.entry.js → p-c4953aa6.system.entry.js} +1 -1
  140. package/dist/calcite/p-c5257119.entry.js +1 -0
  141. package/dist/calcite/{p-eeb1583a.system.entry.js → p-c59d3bb3.system.entry.js} +1 -1
  142. package/dist/calcite/p-c95a18d4.entry.js +1 -0
  143. package/dist/calcite/p-cd8d0dda.entry.js +1 -0
  144. package/dist/calcite/p-cfdbd2e1.entry.js +1 -0
  145. package/dist/calcite/p-d2907af5.entry.js +1 -0
  146. package/dist/calcite/p-d2b9513d.entry.js +1 -0
  147. package/dist/calcite/p-d5e63242.entry.js +1 -0
  148. package/dist/calcite/p-d74caa31.system.entry.js +1 -0
  149. package/dist/calcite/p-d78a24bb.entry.js +1 -0
  150. package/dist/calcite/{p-8f7497a3.system.entry.js → p-d7e0ef91.system.entry.js} +1 -1
  151. package/dist/calcite/{p-dc61109d.system.entry.js → p-d8a015cb.system.entry.js} +1 -1
  152. package/dist/calcite/{p-39c9b962.js → p-dc825c55.js} +0 -0
  153. package/dist/calcite/{p-981dc477.js → p-dcfa0bba.js} +1 -1
  154. package/dist/calcite/{p-c48b236c.system.entry.js → p-dd3f7c73.system.entry.js} +1 -1
  155. package/dist/calcite/{p-e47e38f1.system.entry.js → p-ddf50685.system.entry.js} +1 -1
  156. package/dist/calcite/p-de00c01f.entry.js +1 -0
  157. package/dist/calcite/{p-cf8a3739.system.entry.js → p-de9b7982.system.entry.js} +1 -1
  158. package/dist/calcite/p-ebb0ef70.entry.js +1 -0
  159. package/dist/calcite/p-ec397dae.entry.js +1 -0
  160. package/dist/calcite/{p-7e7fd06e.system.entry.js → p-ef0ea98b.system.entry.js} +1 -1
  161. package/dist/calcite/p-ef38dee8.js +1 -0
  162. package/dist/calcite/{p-680ad0f4.system.entry.js → p-efe6556c.system.entry.js} +1 -1
  163. package/dist/calcite/{p-33e41953.system.entry.js → p-f1eddb0f.system.entry.js} +1 -1
  164. package/dist/calcite/p-f95c5864.entry.js +1 -0
  165. package/dist/calcite/p-fc725435.entry.js +1 -0
  166. package/dist/cjs/{CalciteExpandToggle-e35b7189.js → CalciteExpandToggle-b5735fd2.js} +3 -1
  167. package/dist/cjs/calcite-accordion_2.cjs.entry.js +3 -3
  168. package/dist/cjs/calcite-action-bar.cjs.entry.js +4 -5
  169. package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
  170. package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
  171. package/dist/cjs/calcite-action-pad.cjs.entry.js +3 -3
  172. package/dist/cjs/calcite-action.cjs.entry.js +3 -3
  173. package/dist/cjs/calcite-alert.cjs.entry.js +2 -2
  174. package/dist/cjs/calcite-avatar.cjs.entry.js +2 -2
  175. package/dist/cjs/calcite-block_2.cjs.entry.js +4 -4
  176. package/dist/cjs/calcite-button.cjs.entry.js +3 -3
  177. package/dist/cjs/calcite-card.cjs.entry.js +2 -2
  178. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -10
  179. package/dist/cjs/calcite-chip.cjs.entry.js +2 -2
  180. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +4 -4
  181. package/dist/cjs/calcite-combobox_3.cjs.entry.js +11 -11
  182. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +5 -5
  183. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
  185. package/dist/cjs/calcite-filter.cjs.entry.js +2 -2
  186. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  187. package/dist/cjs/calcite-graph_2.cjs.entry.js +48 -13
  188. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  189. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  190. package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
  191. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
  192. package/dist/cjs/calcite-input-message.cjs.entry.js +2 -2
  193. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +4 -4
  194. package/dist/cjs/calcite-input.cjs.entry.js +3 -3
  195. package/dist/cjs/calcite-label.cjs.entry.js +7 -5
  196. package/dist/cjs/calcite-link.cjs.entry.js +2 -2
  197. package/dist/cjs/calcite-list_3.cjs.entry.js +4 -4
  198. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  199. package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
  200. package/dist/cjs/calcite-notice.cjs.entry.js +2 -2
  201. package/dist/cjs/calcite-option_3.cjs.entry.js +5 -5
  202. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  203. package/dist/cjs/calcite-panel.cjs.entry.js +2 -2
  204. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +5 -5
  205. package/dist/cjs/calcite-popover_2.cjs.entry.js +4 -4
  206. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  207. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  208. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +4 -4
  209. package/dist/cjs/calcite-radio_2.cjs.entry.js +18 -20
  210. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  211. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  212. package/dist/cjs/calcite-shell_3.cjs.entry.js +4 -4
  213. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  214. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
  215. package/dist/cjs/calcite-stepper_2.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-switch.cjs.entry.js +22 -15
  217. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  218. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +20 -7
  219. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  220. package/dist/cjs/calcite-tip_3.cjs.entry.js +4 -4
  221. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +4 -4
  222. package/dist/cjs/calcite-tree_2.cjs.entry.js +3 -3
  223. package/dist/cjs/calcite-value-list_2.cjs.entry.js +4 -4
  224. package/dist/cjs/calcite.cjs.js +2 -2
  225. package/dist/cjs/{dom-ee66dd65.js → dom-c9cafa59.js} +6 -3
  226. package/dist/cjs/{label-b6516b5f.js → label-80f9023b.js} +23 -6
  227. package/dist/cjs/loader.cjs.js +2 -2
  228. package/dist/cjs/{popper-cadf2c79.js → popper-a103e375.js} +1 -1
  229. package/dist/cjs/{resources-5df8daed.js → resources-bbca3cea.js} +1 -1
  230. package/dist/collection/collection-manifest.json +1 -1
  231. package/dist/collection/components/calcite-action/calcite-action.css +1 -1
  232. package/dist/collection/components/calcite-action/calcite-action.js +1 -1
  233. package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +2 -3
  234. package/dist/collection/components/calcite-action-bar/utils.js +1 -0
  235. package/dist/collection/components/calcite-block-section/calcite-block-section.js +1 -1
  236. package/dist/collection/components/calcite-button/calcite-button.js +1 -1
  237. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +29 -13
  238. package/dist/collection/components/calcite-combobox/calcite-combobox.css +2 -1
  239. package/dist/collection/components/calcite-combobox/calcite-combobox.js +3 -3
  240. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +0 -1
  241. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects16.json +1 -0
  242. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects24.json +1 -0
  243. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects32.json +1 -0
  244. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels16.json +1 -0
  245. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels24.json +1 -0
  246. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels32.json +1 -0
  247. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud16.json +1 -0
  248. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud24.json +1 -0
  249. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud32.json +1 -0
  250. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder16.json +1 -0
  251. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder24.json +1 -0
  252. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder32.json +1 -0
  253. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster16.json +1 -0
  254. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster24.json +1 -0
  255. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster32.json +1 -0
  256. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly16.json +1 -0
  257. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
  258. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
  259. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
  260. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
  261. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly32.json +1 -0
  262. package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit16.json +1 -0
  263. package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit24.json +1 -0
  264. package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit32.json +1 -0
  265. package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute16.json +1 -0
  266. package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute24.json +1 -0
  267. package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute32.json +1 -0
  268. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips16.json +1 -0
  269. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips24.json +1 -0
  270. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips32.json +1 -0
  271. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit16.json +1 -0
  272. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit24.json +1 -0
  273. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit32.json +1 -0
  274. package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining16.json +1 -0
  275. package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining24.json +1 -0
  276. package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining32.json +1 -0
  277. package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain16.json +1 -0
  278. package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain24.json +1 -0
  279. package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain32.json +1 -0
  280. package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm16.json +1 -0
  281. package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm24.json +1 -0
  282. package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm32.json +1 -0
  283. package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute16.json +1 -0
  284. package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute24.json +1 -0
  285. package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute32.json +1 -0
  286. package/dist/collection/components/calcite-label/calcite-label.js +13 -7
  287. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +38 -22
  288. package/dist/collection/components/calcite-shell/calcite-shell.js +1 -1
  289. package/dist/collection/components/calcite-slider/calcite-slider.js +60 -11
  290. package/dist/collection/components/calcite-switch/calcite-switch.css +7 -7
  291. package/dist/collection/components/calcite-switch/calcite-switch.js +42 -12
  292. package/dist/collection/components/calcite-tab/calcite-tab.css +0 -1
  293. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +0 -1
  294. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +46 -12
  295. package/dist/collection/components/calcite-value-list/calcite-value-list.js +1 -1
  296. package/dist/collection/utils/filter.js +1 -1
  297. package/dist/collection/utils/label.js +22 -5
  298. package/dist/collection/utils/resources.js +20 -3
  299. package/dist/custom-elements/index.js +237 -164
  300. package/dist/custom-elements/index.mjs +237 -164
  301. package/dist/esm/{CalciteExpandToggle-bc0a6dce.js → CalciteExpandToggle-a149fed4.js} +3 -2
  302. package/dist/esm/calcite-accordion_2.entry.js +3 -3
  303. package/dist/esm/calcite-action-bar.entry.js +4 -5
  304. package/dist/esm/calcite-action-group.entry.js +2 -2
  305. package/dist/esm/calcite-action-menu.entry.js +2 -2
  306. package/dist/esm/calcite-action-pad.entry.js +3 -3
  307. package/dist/esm/calcite-action.entry.js +3 -3
  308. package/dist/esm/calcite-alert.entry.js +2 -2
  309. package/dist/esm/calcite-avatar.entry.js +2 -2
  310. package/dist/esm/calcite-block_2.entry.js +4 -4
  311. package/dist/esm/calcite-button.entry.js +3 -3
  312. package/dist/esm/calcite-card.entry.js +2 -2
  313. package/dist/esm/calcite-checkbox.entry.js +9 -11
  314. package/dist/esm/calcite-chip.entry.js +2 -2
  315. package/dist/esm/calcite-color-picker_3.entry.js +4 -4
  316. package/dist/esm/calcite-combobox_3.entry.js +11 -11
  317. package/dist/esm/calcite-date-picker_4.entry.js +5 -5
  318. package/dist/esm/calcite-dropdown_3.entry.js +6 -6
  319. package/dist/esm/calcite-fab.entry.js +2 -2
  320. package/dist/esm/calcite-filter.entry.js +2 -2
  321. package/dist/esm/calcite-flow.entry.js +1 -1
  322. package/dist/esm/calcite-graph_2.entry.js +48 -13
  323. package/dist/esm/calcite-handle.entry.js +1 -1
  324. package/dist/esm/calcite-icon.entry.js +2 -2
  325. package/dist/esm/calcite-inline-editable.entry.js +3 -3
  326. package/dist/esm/calcite-input-date-picker.entry.js +4 -4
  327. package/dist/esm/calcite-input-message.entry.js +2 -2
  328. package/dist/esm/calcite-input-time-picker_2.entry.js +4 -4
  329. package/dist/esm/calcite-input.entry.js +3 -3
  330. package/dist/esm/calcite-label.entry.js +7 -5
  331. package/dist/esm/calcite-link.entry.js +2 -2
  332. package/dist/esm/calcite-list_3.entry.js +4 -4
  333. package/dist/esm/calcite-loader.entry.js +1 -1
  334. package/dist/esm/calcite-modal.entry.js +2 -2
  335. package/dist/esm/calcite-notice.entry.js +2 -2
  336. package/dist/esm/calcite-option_3.entry.js +5 -5
  337. package/dist/esm/calcite-pagination.entry.js +2 -2
  338. package/dist/esm/calcite-panel.entry.js +2 -2
  339. package/dist/esm/calcite-pick-list_3.entry.js +5 -5
  340. package/dist/esm/calcite-popover_2.entry.js +4 -4
  341. package/dist/esm/calcite-progress.entry.js +1 -1
  342. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  343. package/dist/esm/calcite-radio-group_2.entry.js +4 -4
  344. package/dist/esm/calcite-radio_2.entry.js +19 -21
  345. package/dist/esm/calcite-rating.entry.js +3 -3
  346. package/dist/esm/calcite-scrim.entry.js +1 -1
  347. package/dist/esm/calcite-shell_3.entry.js +4 -4
  348. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  349. package/dist/esm/calcite-split-button.entry.js +2 -2
  350. package/dist/esm/calcite-stepper_2.entry.js +3 -3
  351. package/dist/esm/calcite-switch.entry.js +22 -15
  352. package/dist/esm/calcite-tab_4.entry.js +7 -7
  353. package/dist/esm/calcite-tile-select_2.entry.js +21 -8
  354. package/dist/esm/calcite-tile.entry.js +2 -2
  355. package/dist/esm/calcite-tip_3.entry.js +4 -4
  356. package/dist/esm/calcite-tooltip_2.entry.js +4 -4
  357. package/dist/esm/calcite-tree_2.entry.js +3 -3
  358. package/dist/esm/calcite-value-list_2.entry.js +4 -4
  359. package/dist/esm/calcite.js +2 -2
  360. package/dist/esm/{dom-ec7a9520.js → dom-b369a031.js} +6 -3
  361. package/dist/esm/{label-8ac2645e.js → label-7b249c54.js} +23 -6
  362. package/dist/esm/loader.js +2 -2
  363. package/dist/esm/{popper-0d4b3dd2.js → popper-2757192a.js} +1 -1
  364. package/dist/esm/{resources-ea3035c7.js → resources-c651d73a.js} +1 -1
  365. package/dist/esm-es5/CalciteExpandToggle-a149fed4.js +1 -0
  366. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  367. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  368. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  369. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  370. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  371. package/dist/esm-es5/calcite-action.entry.js +1 -1
  372. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  373. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  374. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  375. package/dist/esm-es5/calcite-button.entry.js +1 -1
  376. package/dist/esm-es5/calcite-card.entry.js +1 -1
  377. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  378. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  379. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  380. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  381. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  382. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  383. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  384. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  385. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  386. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  387. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  388. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  389. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  390. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  391. package/dist/esm-es5/calcite-input.entry.js +1 -1
  392. package/dist/esm-es5/calcite-label.entry.js +1 -1
  393. package/dist/esm-es5/calcite-link.entry.js +1 -1
  394. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  395. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  396. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  397. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  398. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  399. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  400. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  401. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  402. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  403. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  404. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  405. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  406. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  407. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  408. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  409. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  410. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  411. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  412. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  413. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  414. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  415. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  416. package/dist/esm-es5/calcite.js +1 -1
  417. package/dist/esm-es5/dom-b369a031.js +1 -0
  418. package/dist/esm-es5/label-7b249c54.js +1 -0
  419. package/dist/esm-es5/loader.js +1 -1
  420. package/dist/esm-es5/{popper-0d4b3dd2.js → popper-2757192a.js} +1 -1
  421. package/dist/esm-es5/{resources-ea3035c7.js → resources-c651d73a.js} +1 -1
  422. package/dist/extras/docs-json.json +81 -24
  423. package/dist/loader/index.d.ts +0 -1
  424. package/dist/types/components/calcite-action/calcite-action.d.ts +1 -1
  425. package/dist/types/components/calcite-action-bar/utils.d.ts +1 -0
  426. package/dist/types/components/calcite-button/calcite-button.d.ts +3 -0
  427. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +8 -2
  428. package/dist/types/components/calcite-label/calcite-label.d.ts +5 -3
  429. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +8 -3
  430. package/dist/types/components/calcite-shell/calcite-shell.d.ts +1 -1
  431. package/dist/types/components/calcite-slider/calcite-slider.d.ts +22 -1
  432. package/dist/types/components/calcite-switch/calcite-switch.d.ts +8 -3
  433. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +10 -5
  434. package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +1 -1
  435. package/dist/types/components/interfaces.d.ts +1 -0
  436. package/dist/types/components.d.ts +25 -7
  437. package/dist/types/preact.d.ts +12 -7
  438. package/dist/types/utils/resources.d.ts +7 -0
  439. package/hydrate/index.js +155 -78
  440. package/package.json +12 -12
  441. package/readme.md +3 -3
  442. package/CHANGELOG.md +0 -1431
  443. package/dist/calcite/p-01f309de.entry.js +0 -1
  444. package/dist/calcite/p-02013380.entry.js +0 -1
  445. package/dist/calcite/p-06af2b97.entry.js +0 -1
  446. package/dist/calcite/p-0957989c.entry.js +0 -1
  447. package/dist/calcite/p-115c2989.entry.js +0 -1
  448. package/dist/calcite/p-132025e5.entry.js +0 -1
  449. package/dist/calcite/p-1441bba1.entry.js +0 -1
  450. package/dist/calcite/p-17f66e5b.system.js +0 -1
  451. package/dist/calcite/p-1d7d17f3.entry.js +0 -1
  452. package/dist/calcite/p-235a5000.entry.js +0 -1
  453. package/dist/calcite/p-2648d645.entry.js +0 -1
  454. package/dist/calcite/p-2844f72a.entry.js +0 -1
  455. package/dist/calcite/p-284523f0.entry.js +0 -1
  456. package/dist/calcite/p-2d76967a.entry.js +0 -1
  457. package/dist/calcite/p-3217f221.entry.js +0 -1
  458. package/dist/calcite/p-321ed163.system.entry.js +0 -1
  459. package/dist/calcite/p-3466b8f4.entry.js +0 -1
  460. package/dist/calcite/p-3468de6a.entry.js +0 -1
  461. package/dist/calcite/p-3b3f0d31.entry.js +0 -1
  462. package/dist/calcite/p-3f79ed38.entry.js +0 -1
  463. package/dist/calcite/p-40174e0b.entry.js +0 -1
  464. package/dist/calcite/p-42c55e48.entry.js +0 -1
  465. package/dist/calcite/p-43c67a28.entry.js +0 -1
  466. package/dist/calcite/p-50856554.entry.js +0 -1
  467. package/dist/calcite/p-51d664e2.system.js +0 -1
  468. package/dist/calcite/p-53090d53.entry.js +0 -1
  469. package/dist/calcite/p-5aa9d5e8.entry.js +0 -1
  470. package/dist/calcite/p-5d57b25e.entry.js +0 -1
  471. package/dist/calcite/p-5e3f50f6.system.entry.js +0 -1
  472. package/dist/calcite/p-6543184d.entry.js +0 -1
  473. package/dist/calcite/p-6aefea3d.entry.js +0 -1
  474. package/dist/calcite/p-6ef90810.entry.js +0 -1
  475. package/dist/calcite/p-6fe6db0a.entry.js +0 -1
  476. package/dist/calcite/p-771338f3.system.entry.js +0 -1
  477. package/dist/calcite/p-7d1978f4.entry.js +0 -1
  478. package/dist/calcite/p-7d61c919.entry.js +0 -1
  479. package/dist/calcite/p-7e06dd39.system.entry.js +0 -1
  480. package/dist/calcite/p-7e40fbb9.entry.js +0 -1
  481. package/dist/calcite/p-82be2fac.entry.js +0 -1
  482. package/dist/calcite/p-84d0c6a3.entry.js +0 -1
  483. package/dist/calcite/p-8943850c.entry.js +0 -1
  484. package/dist/calcite/p-8b2501bb.entry.js +0 -1
  485. package/dist/calcite/p-8c9b39be.system.js +0 -1
  486. package/dist/calcite/p-8e5b56cd.entry.js +0 -1
  487. package/dist/calcite/p-8e9fa7f4.entry.js +0 -1
  488. package/dist/calcite/p-902299da.entry.js +0 -1
  489. package/dist/calcite/p-927bee80.system.entry.js +0 -1
  490. package/dist/calcite/p-95a853ee.system.entry.js +0 -1
  491. package/dist/calcite/p-991a02de.entry.js +0 -1
  492. package/dist/calcite/p-9c6146b8.js +0 -1
  493. package/dist/calcite/p-a2781944.entry.js +0 -1
  494. package/dist/calcite/p-a478337e.system.entry.js +0 -1
  495. package/dist/calcite/p-a84cffce.js +0 -1
  496. package/dist/calcite/p-b6e53e2a.entry.js +0 -1
  497. package/dist/calcite/p-b80dbaa5.entry.js +0 -1
  498. package/dist/calcite/p-bdc19f64.system.entry.js +0 -1
  499. package/dist/calcite/p-bfff060e.entry.js +0 -1
  500. package/dist/calcite/p-c2113d43.entry.js +0 -1
  501. package/dist/calcite/p-c3a502d6.entry.js +0 -1
  502. package/dist/calcite/p-d01479f8.system.entry.js +0 -1
  503. package/dist/calcite/p-d4ade74e.entry.js +0 -1
  504. package/dist/calcite/p-d8e7123d.entry.js +0 -1
  505. package/dist/calcite/p-de3c777a.entry.js +0 -1
  506. package/dist/calcite/p-e3a68dcd.entry.js +0 -1
  507. package/dist/calcite/p-e3fd77ce.system.js +0 -1
  508. package/dist/calcite/p-e5f1adf8.entry.js +0 -1
  509. package/dist/calcite/p-e67bb19c.entry.js +0 -1
  510. package/dist/calcite/p-ea094bdf.entry.js +0 -1
  511. package/dist/calcite/p-f5155eea.entry.js +0 -1
  512. package/dist/calcite/p-f633307c.entry.js +0 -1
  513. package/dist/calcite/p-faac0f15.entry.js +0 -1
  514. package/dist/calcite/p-fd91755c.entry.js +0 -1
  515. package/dist/esm-es5/CalciteExpandToggle-bc0a6dce.js +0 -1
  516. package/dist/esm-es5/dom-ec7a9520.js +0 -1
  517. package/dist/esm-es5/label-8ac2645e.js +0 -1
@@ -74,22 +74,32 @@ export class CalciteSlider {
74
74
  }
75
75
  }
76
76
  else {
77
- this[this.dragProp] = this.clamp(value, this.dragProp);
77
+ this.setValue(this.dragProp, this.clamp(value, this.dragProp));
78
78
  }
79
- this.emitChange();
80
79
  }
81
80
  };
82
81
  this.dragEnd = () => {
83
82
  document.removeEventListener("pointermove", this.dragUpdate);
84
83
  document.removeEventListener("pointerup", this.dragEnd);
85
84
  document.removeEventListener("pointercancel", this.dragEnd);
86
- this.emitChange();
87
85
  this.focusActiveHandle();
86
+ if (this.lastDragPropValue != this[this.dragProp]) {
87
+ this.emitChange();
88
+ }
88
89
  this.dragProp = null;
90
+ this.lastDragPropValue = null;
89
91
  this.minValueDragRange = null;
90
92
  this.maxValueDragRange = null;
91
93
  this.minMaxValueRange = null;
92
94
  };
95
+ /**
96
+ * Set the reference of the track Element
97
+ * @internal
98
+ * @param node
99
+ */
100
+ this.storeTrackRef = (node) => {
101
+ this.trackEl = node;
102
+ };
93
103
  }
94
104
  histogramWatcher(newHistogram) {
95
105
  this.hasHistogram = !!newHistogram;
@@ -248,7 +258,7 @@ export class CalciteSlider {
248
258
  return (h(Host, { id: id, onTouchStart: this.handleTouchStart },
249
259
  h("div", { class: { container: true, "container--range": this.isRange } },
250
260
  this.renderGraph(),
251
- h("div", { class: "track" },
261
+ h("div", { class: "track", ref: this.storeTrackRef },
252
262
  h("div", { class: "track__range", onPointerDown: () => this.dragStart("minMaxValue"), style: {
253
263
  left: `${mirror ? 100 - maxInterval : minInterval}%`,
254
264
  right: `${mirror ? minInterval : 100 - maxInterval}%`
@@ -393,8 +403,7 @@ export class CalciteSlider {
393
403
  return;
394
404
  }
395
405
  event.preventDefault();
396
- this[activeProp] = this.clamp(adjustment, activeProp);
397
- this.emitChange();
406
+ this.setValue(activeProp, this.clamp(adjustment, activeProp));
398
407
  }
399
408
  clickHandler() {
400
409
  this.focusActiveHandle();
@@ -413,8 +422,12 @@ export class CalciteSlider {
413
422
  prop = closerToMax || position > this.maxValue ? "maxValue" : "minValue";
414
423
  }
415
424
  }
416
- this[prop] = this.clamp(position, prop);
425
+ this.lastDragPropValue = this[prop];
417
426
  this.dragStart(prop);
427
+ const isThumbActive = this.el.shadowRoot.querySelector(".thumb:active");
428
+ if (!isThumbActive) {
429
+ this.setValue(prop, this.clamp(position, prop));
430
+ }
418
431
  }
419
432
  handleTouchStart(event) {
420
433
  // needed to prevent extra click at the end of a handle drag
@@ -469,9 +482,30 @@ export class CalciteSlider {
469
482
  break;
470
483
  }
471
484
  }
485
+ emitInput() {
486
+ this.calciteSliderInput.emit();
487
+ this.calciteSliderUpdate.emit();
488
+ }
472
489
  emitChange() {
473
490
  this.calciteSliderChange.emit();
474
- this.calciteSliderUpdate.emit();
491
+ }
492
+ /**
493
+ * Set the prop value if changed at the component level
494
+ * @param valueProp
495
+ * @param value
496
+ */
497
+ setValue(valueProp, value) {
498
+ const oldValue = this[valueProp];
499
+ const valueChanged = oldValue !== value;
500
+ if (!valueChanged) {
501
+ return;
502
+ }
503
+ this[valueProp] = value;
504
+ const dragging = this.dragProp;
505
+ if (!dragging) {
506
+ this.emitChange();
507
+ }
508
+ this.emitInput();
475
509
  }
476
510
  /**
477
511
  * If number is outside range, constrain to min or max
@@ -494,7 +528,7 @@ export class CalciteSlider {
494
528
  */
495
529
  translate(x) {
496
530
  const range = this.max - this.min;
497
- const { left, width } = this.el.getBoundingClientRect();
531
+ const { left, width } = this.trackEl.getBoundingClientRect();
498
532
  const percent = (x - left) / width;
499
533
  const mirror = this.shouldMirror();
500
534
  let value = this.clamp(this.min + range * (mirror ? 1 - percent : percent));
@@ -1057,6 +1091,21 @@ export class CalciteSlider {
1057
1091
  "tickValues": {}
1058
1092
  }; }
1059
1093
  static get events() { return [{
1094
+ "method": "calciteSliderInput",
1095
+ "name": "calciteSliderInput",
1096
+ "bubbles": true,
1097
+ "cancelable": true,
1098
+ "composed": true,
1099
+ "docs": {
1100
+ "tags": [],
1101
+ "text": "Fires on all updates to the slider.\n:warning: Will be fired frequently during drag. If you are performing any\nexpensive operations consider using a debounce or throttle to avoid\nlocking up the main thread."
1102
+ },
1103
+ "complexType": {
1104
+ "original": "any",
1105
+ "resolved": "any",
1106
+ "references": {}
1107
+ }
1108
+ }, {
1060
1109
  "method": "calciteSliderChange",
1061
1110
  "name": "calciteSliderChange",
1062
1111
  "bubbles": true,
@@ -1064,7 +1113,7 @@ export class CalciteSlider {
1064
1113
  "composed": true,
1065
1114
  "docs": {
1066
1115
  "tags": [],
1067
- "text": "Fires on all updates to the slider.\n:warning: Will be fired frequently during drag. If you are performing any\nexpensive operations consider using a debounce or throttle to avoid\nlocking up the main thread."
1116
+ "text": "Fires on when the thumb is released on slider\nIf you need to constantly listen to the drag event,\nplease use calciteSliderInput instead"
1068
1117
  },
1069
1118
  "complexType": {
1070
1119
  "original": "any",
@@ -1079,7 +1128,7 @@ export class CalciteSlider {
1079
1128
  "composed": true,
1080
1129
  "docs": {
1081
1130
  "tags": [{
1082
- "text": "use calciteSliderChange instead",
1131
+ "text": "use calciteSliderInput instead",
1083
1132
  "name": "deprecated"
1084
1133
  }],
1085
1134
  "text": "Fires on all updates to the slider.\n:warning: Will be fired frequently during drag. If you are performing any\nexpensive operations consider using a debounce or throttle to avoid\nlocking up the main thread."
@@ -194,23 +194,23 @@
194
194
  box-shadow: inset 0 0 0 1px var(--calcite-ui-brand);
195
195
  }
196
196
 
197
- :host([switched]) .track {
197
+ :host([checked]) .track {
198
198
  background-color: var(--calcite-ui-brand);
199
199
  border-color: var(--calcite-ui-brand-hover);
200
200
  }
201
201
 
202
- :host([switched]) .handle {
202
+ :host([checked]) .handle {
203
203
  left: auto;
204
204
  border-color: var(--calcite-ui-brand);
205
205
  right: -1px;
206
206
  }
207
207
 
208
- :host([switched]:hover) .track {
208
+ :host([checked]:hover) .track {
209
209
  background-color: var(--calcite-ui-brand);
210
210
  border-color: var(--calcite-ui-brand-hover);
211
211
  }
212
212
 
213
- :host([switched]:hover) .handle {
213
+ :host([checked]:hover) .handle {
214
214
  border-color: var(--calcite-ui-brand-hover);
215
215
  box-shadow: inset 0 0 0 1px var(--calcite-ui-brand-hover);
216
216
  }
@@ -220,17 +220,17 @@
220
220
  right: -1px;
221
221
  }
222
222
 
223
- :host([switched]) .calcite--rtl .handle {
223
+ :host([checked]) .calcite--rtl .handle {
224
224
  right: auto;
225
225
  left: -1px;
226
226
  }
227
227
 
228
- :host([switched]:active) .calcite--rtl .handle {
228
+ :host([checked]:active) .calcite--rtl .handle {
229
229
  right: auto;
230
230
  left: -1px;
231
231
  }
232
232
 
233
- :host([switched]:focus) .calcite--rtl .handle {
233
+ :host([checked]:focus) .calcite--rtl .handle {
234
234
  right: auto;
235
235
  left: -1px;
236
236
  }
@@ -16,8 +16,12 @@ export class CalciteSwitch {
16
16
  this.disabled = false;
17
17
  /** The scale of the switch */
18
18
  this.scale = "m";
19
- /** True if the switch is initially on */
19
+ /** True if the switch is initially on
20
+ * @deprecated use 'checked' instead.
21
+ */
20
22
  this.switched = false;
23
+ /** True if the switch is initially on */
24
+ this.checked = false;
21
25
  this.inputEl = document.createElement("input");
22
26
  //--------------------------------------------------------------------------
23
27
  //
@@ -31,9 +35,6 @@ export class CalciteSwitch {
31
35
  }
32
36
  };
33
37
  this.clickHandler = () => {
34
- if (this.labelEl) {
35
- return;
36
- }
37
38
  this.toggle();
38
39
  };
39
40
  }
@@ -44,8 +45,11 @@ export class CalciteSwitch {
44
45
  nameChanged(newName) {
45
46
  this.inputEl.name = newName;
46
47
  }
47
- switchedWatcher(newSwitched) {
48
- this.inputEl.checked = newSwitched;
48
+ switchedWatcher(switched) {
49
+ this.checked = switched;
50
+ }
51
+ checkedWatcher(checked) {
52
+ this.inputEl.checked = checked;
49
53
  }
50
54
  //--------------------------------------------------------------------------
51
55
  //
@@ -57,7 +61,7 @@ export class CalciteSwitch {
57
61
  this.el.focus();
58
62
  }
59
63
  setupInput() {
60
- this.switched && this.inputEl.setAttribute("checked", "");
64
+ this.checked && this.inputEl.setAttribute("checked", "");
61
65
  this.inputEl.disabled = this.disabled;
62
66
  this.inputEl.id = `${this.guid}-input`;
63
67
  this.inputEl.name = this.name;
@@ -69,9 +73,11 @@ export class CalciteSwitch {
69
73
  this.el.appendChild(this.inputEl);
70
74
  }
71
75
  toggle() {
72
- this.switched = !this.switched;
76
+ this.checked = !this.checked;
73
77
  this.calciteSwitchChange.emit({
74
- switched: this.switched
78
+ // todo: We should remove emmitting redudant props in event payload.
79
+ // https://github.com/Esri/calcite-components/issues/3163
80
+ switched: this.checked
75
81
  });
76
82
  }
77
83
  //--------------------------------------------------------------------------
@@ -108,7 +114,7 @@ export class CalciteSwitch {
108
114
  // --------------------------------------------------------------------------
109
115
  render() {
110
116
  const dir = getElementDir(this.el);
111
- return (h(Host, { "aria-checked": this.switched.toString(), "aria-label": getLabelText(this), onClick: this.clickHandler, role: "switch", tabindex: this.tabindex },
117
+ return (h(Host, { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), onClick: this.clickHandler, role: "switch", tabindex: this.tabindex },
112
118
  h("div", { class: { container: true, [CSS_UTILITY.rtl]: dir === "rtl" } },
113
119
  h("div", { class: "track" },
114
120
  h("div", { class: "handle" })))));
@@ -198,6 +204,27 @@ export class CalciteSwitch {
198
204
  "defaultValue": "\"m\""
199
205
  },
200
206
  "switched": {
207
+ "type": "boolean",
208
+ "mutable": false,
209
+ "complexType": {
210
+ "original": "boolean",
211
+ "resolved": "boolean",
212
+ "references": {}
213
+ },
214
+ "required": false,
215
+ "optional": false,
216
+ "docs": {
217
+ "tags": [{
218
+ "text": "use 'checked' instead.",
219
+ "name": "deprecated"
220
+ }],
221
+ "text": "True if the switch is initially on"
222
+ },
223
+ "attribute": "switched",
224
+ "reflect": false,
225
+ "defaultValue": "false"
226
+ },
227
+ "checked": {
201
228
  "type": "boolean",
202
229
  "mutable": true,
203
230
  "complexType": {
@@ -211,7 +238,7 @@ export class CalciteSwitch {
211
238
  "tags": [],
212
239
  "text": "True if the switch is initially on"
213
240
  },
214
- "attribute": "switched",
241
+ "attribute": "checked",
215
242
  "reflect": true,
216
243
  "defaultValue": "false"
217
244
  },
@@ -245,7 +272,7 @@ export class CalciteSwitch {
245
272
  "composed": true,
246
273
  "docs": {
247
274
  "tags": [],
248
- "text": "Fires when the switched value has changed."
275
+ "text": "Fires when the checked value has changed."
249
276
  },
250
277
  "complexType": {
251
278
  "original": "any",
@@ -281,6 +308,9 @@ export class CalciteSwitch {
281
308
  }, {
282
309
  "propName": "switched",
283
310
  "methodName": "switchedWatcher"
311
+ }, {
312
+ "propName": "checked",
313
+ "methodName": "checkedWatcher"
284
314
  }]; }
285
315
  static get listeners() { return [{
286
316
  "name": "keydown",
@@ -90,7 +90,6 @@
90
90
 
91
91
  :host {
92
92
  display: none;
93
- z-index: 10;
94
93
  color: var(--calcite-ui-text-3);
95
94
  }
96
95
 
@@ -85,7 +85,6 @@
85
85
  }
86
86
 
87
87
  :host {
88
- z-index: 20;
89
88
  position: relative;
90
89
  display: flex;
91
90
  }
@@ -1,4 +1,4 @@
1
- import { Component, Element, h, Prop, Listen, Watch, State, Method } from "@stencil/core";
1
+ import { Component, Element, Event, h, Prop, Listen, Watch, State, Method } from "@stencil/core";
2
2
  import { getElementDir } from "../../utils/dom";
3
3
  import { CSS_UTILITY } from "../../utils/resources";
4
4
  import { guid } from "../../utils/guid";
@@ -57,30 +57,42 @@ export class CalciteTileSelect {
57
57
  // Event Listeners
58
58
  //
59
59
  //--------------------------------------------------------------------------
60
- calciteCheckboxChangeEvent(event) {
60
+ checkboxChangeHandler(event) {
61
61
  const checkbox = event.target;
62
62
  if (checkbox === this.input) {
63
63
  this.checked = checkbox.checked;
64
64
  }
65
+ event.stopPropagation();
66
+ this.calciteTileSelectChange.emit();
65
67
  }
66
- calciteCheckboxFocusedChangeEvent(event) {
68
+ checkboxFocusHandler(event) {
67
69
  const checkbox = event.target;
68
70
  if (checkbox === this.input) {
69
71
  this.focused = event.detail;
70
72
  }
73
+ event.stopPropagation();
71
74
  }
72
- calciteRadioButtonCheckedChangeEvent(event) {
75
+ radioButtonChangeHandler(event) {
73
76
  const radioButton = event.target;
74
77
  if (radioButton === this.input) {
75
78
  this.checked = radioButton.checked;
76
79
  }
77
80
  event.stopPropagation();
81
+ this.calciteTileSelectChange.emit();
78
82
  }
79
- calciteRadioButtonFocusedChangeEvent(event) {
83
+ radioButtonCheckedChangeHandler(event) {
84
+ const radioButton = event.target;
85
+ if (radioButton === this.input) {
86
+ this.checked = radioButton.checked;
87
+ }
88
+ event.stopPropagation();
89
+ }
90
+ radioButtonFocusHandler(event) {
80
91
  const radioButton = event.target;
81
92
  if (radioButton === this.input) {
82
93
  this.focused = radioButton.focused;
83
94
  }
95
+ event.stopPropagation();
84
96
  }
85
97
  click(event) {
86
98
  const target = event.target;
@@ -388,6 +400,22 @@ export class CalciteTileSelect {
388
400
  static get states() { return {
389
401
  "focused": {}
390
402
  }; }
403
+ static get events() { return [{
404
+ "method": "calciteTileSelectChange",
405
+ "name": "calciteTileSelectChange",
406
+ "bubbles": true,
407
+ "cancelable": true,
408
+ "composed": true,
409
+ "docs": {
410
+ "tags": [],
411
+ "text": "Emits a custom change event. For checkboxes, it emits when the checkbox is checked or unchecked. For radios it only emits when it is checked."
412
+ },
413
+ "complexType": {
414
+ "original": "any",
415
+ "resolved": "any",
416
+ "references": {}
417
+ }
418
+ }]; }
391
419
  static get methods() { return {
392
420
  "setFocus": {
393
421
  "complexType": {
@@ -416,25 +444,31 @@ export class CalciteTileSelect {
416
444
  }]; }
417
445
  static get listeners() { return [{
418
446
  "name": "calciteCheckboxChange",
419
- "method": "calciteCheckboxChangeEvent",
447
+ "method": "checkboxChangeHandler",
448
+ "target": undefined,
449
+ "capture": false,
450
+ "passive": false
451
+ }, {
452
+ "name": "calciteInternalCheckboxFocus",
453
+ "method": "checkboxFocusHandler",
420
454
  "target": undefined,
421
455
  "capture": false,
422
456
  "passive": false
423
457
  }, {
424
- "name": "calciteCheckboxFocusedChange",
425
- "method": "calciteCheckboxFocusedChangeEvent",
458
+ "name": "calciteRadioButtonChange",
459
+ "method": "radioButtonChangeHandler",
426
460
  "target": undefined,
427
461
  "capture": false,
428
462
  "passive": false
429
463
  }, {
430
- "name": "calciteRadioButtonCheckedChange",
431
- "method": "calciteRadioButtonCheckedChangeEvent",
464
+ "name": "calciteInternalRadioButtonCheckedChange",
465
+ "method": "radioButtonCheckedChangeHandler",
432
466
  "target": undefined,
433
467
  "capture": false,
434
468
  "passive": false
435
469
  }, {
436
- "name": "calciteRadioButtonFocusedChange",
437
- "method": "calciteRadioButtonFocusedChangeEvent",
470
+ "name": "calciteInternalRadioButtonFocus",
471
+ "method": "radioButtonFocusHandler",
438
472
  "target": undefined,
439
473
  "capture": false,
440
474
  "passive": false
@@ -6,7 +6,7 @@ import List from "../calcite-pick-list/shared-list-render";
6
6
  import { getRoundRobinIndex } from "../../utils/array";
7
7
  import { createObserver } from "../../utils/observers";
8
8
  /**
9
- * @slot - A slot for adding `calcite-pick-list-item` elements or `calcite-pick-list-group` elements. Items are displayed as a vertical list.
9
+ * @slot - A slot for adding `calcite-value-list-item` elements. Items are displayed as a vertical list.
10
10
  * @slot menu-actions - A slot for adding a button + menu combo for performing actions like sorting.
11
11
  */
12
12
  export class CalciteValueList {
@@ -1,7 +1,7 @@
1
1
  import { escapeRegExp, forIn } from "lodash-es";
2
2
  export const filter = (data, value) => {
3
3
  const escapedValue = escapeRegExp(value);
4
- const regex = new RegExp(escapedValue, "ig");
4
+ const regex = new RegExp(escapedValue, "i");
5
5
  if (data.length === 0) {
6
6
  console.warn(`No data was passed to the filter function.
7
7
  The data argument should be an array of objects`);
@@ -1,6 +1,7 @@
1
1
  import { closestElementCrossShadowBoundary, queryElementRoots } from "./dom";
2
2
  const labelTagName = "calcite-label";
3
3
  const labelClickEvent = "calciteInternalLabelClick";
4
+ const onLabelClickMap = new WeakMap();
4
5
  const findLabelForComponent = (componentEl) => {
5
6
  const id = componentEl.id;
6
7
  return ((id && queryElementRoots(componentEl, `${labelTagName}[for="${id}"]`)) ||
@@ -10,16 +11,25 @@ const findLabelForComponent = (componentEl) => {
10
11
  * Helper to set up label interactions on connectedCallback.
11
12
  */
12
13
  export function connectLabel(component) {
13
- var _a;
14
- component.labelEl = findLabelForComponent(component.el);
15
- (_a = component.labelEl) === null || _a === void 0 ? void 0 : _a.addEventListener(labelClickEvent, component.onLabelClick);
14
+ const labelEl = findLabelForComponent(component.el);
15
+ if (!labelEl) {
16
+ return;
17
+ }
18
+ component.labelEl = labelEl;
19
+ const boundOnLabelClick = onLabelClick.bind(component);
20
+ onLabelClickMap.set(component.el, boundOnLabelClick);
21
+ component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
16
22
  }
17
23
  /**
18
24
  * Helper to tear down label interactions on disconnectedCallback.
19
25
  */
20
26
  export function disconnectLabel(component) {
21
- var _a;
22
- (_a = component.labelEl) === null || _a === void 0 ? void 0 : _a.removeEventListener(labelClickEvent, component.onLabelClick);
27
+ if (!component.labelEl) {
28
+ return;
29
+ }
30
+ const boundOnLabelClick = onLabelClickMap.get(component.el);
31
+ component.labelEl.removeEventListener(labelClickEvent, boundOnLabelClick);
32
+ onLabelClickMap.delete(component.el);
23
33
  }
24
34
  /**
25
35
  * Helper to get the label text from a component.
@@ -28,3 +38,10 @@ export function getLabelText(component) {
28
38
  var _a, _b;
29
39
  return component.label || ((_b = (_a = component.labelEl) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || "";
30
40
  }
41
+ function onLabelClick(event) {
42
+ const containedLabelableChildClicked = this.el.contains(event.detail.sourceEvent.target);
43
+ if (containedLabelableChildClicked) {
44
+ return;
45
+ }
46
+ this.onLabelClick(event);
47
+ }
@@ -1,7 +1,24 @@
1
+ const autoTheme = "calcite-theme-auto";
2
+ const darkTheme = "calcite-theme-dark";
3
+ const lightTheme = "calcite-theme-light";
4
+ export const THEMES = [
5
+ {
6
+ name: "light",
7
+ className: lightTheme
8
+ },
9
+ {
10
+ name: "dark",
11
+ className: darkTheme
12
+ },
13
+ {
14
+ name: "auto",
15
+ className: autoTheme
16
+ }
17
+ ];
1
18
  export const CSS_UTILITY = {
2
- autoTheme: "calcite-theme-auto",
3
- darkTheme: "calcite-theme-dark",
4
- lightTheme: "calcite-theme-light",
19
+ autoTheme,
20
+ darkTheme,
21
+ lightTheme,
5
22
  rtl: "calcite--rtl"
6
23
  };
7
24
  export const TEXT = {