@esri/calcite-components 1.0.0-beta.78 → 1.0.0-beta.81

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 (1084) hide show
  1. package/dist/calcite/assets/icon/clockForward16.json +1 -0
  2. package/dist/calcite/assets/icon/clockForward24.json +1 -0
  3. package/dist/calcite/assets/icon/clockForward32.json +1 -0
  4. package/dist/calcite/assets/icon/contingentValues16.json +1 -0
  5. package/dist/calcite/assets/icon/contingentValues24.json +1 -0
  6. package/dist/calcite/assets/icon/contingentValues32.json +1 -0
  7. package/dist/calcite/assets/icon/creditCard16.json +1 -0
  8. package/dist/calcite/assets/icon/creditCard24.json +1 -0
  9. package/dist/calcite/assets/icon/creditCard32.json +1 -0
  10. package/dist/calcite/assets/icon/credits16.json +1 -1
  11. package/dist/calcite/assets/icon/credits24.json +1 -1
  12. package/dist/calcite/assets/icon/credits32.json +1 -1
  13. package/dist/calcite/assets/icon/fileEcd16.json +1 -0
  14. package/dist/calcite/assets/icon/fileEcd24.json +1 -0
  15. package/dist/calcite/assets/icon/fileEcd32.json +1 -0
  16. package/dist/calcite/assets/icon/keyboard16.json +1 -0
  17. package/dist/calcite/assets/icon/keyboard24.json +1 -0
  18. package/dist/calcite/assets/icon/keyboard32.json +1 -0
  19. package/dist/calcite/assets/icon/premiumContentUserCredit24.json +1 -1
  20. package/dist/calcite/assets/icon/premiumContentUserCredit32.json +1 -1
  21. package/dist/calcite/assets/icon/select16.json +1 -1
  22. package/dist/calcite/assets/icon/select24.json +1 -1
  23. package/dist/calcite/assets/icon/select32.json +1 -1
  24. package/dist/calcite/assets/icon/userDown16.json +1 -0
  25. package/dist/calcite/assets/icon/userDown24.json +1 -0
  26. package/dist/calcite/assets/icon/userDown32.json +1 -0
  27. package/dist/calcite/assets/icon/userKey16.json +1 -0
  28. package/dist/calcite/assets/icon/userKey24.json +1 -0
  29. package/dist/calcite/assets/icon/userKey32.json +1 -0
  30. package/dist/calcite/assets/icon/userMinus16.json +1 -0
  31. package/dist/calcite/assets/icon/userMinus24.json +1 -0
  32. package/dist/calcite/assets/icon/userMinus32.json +1 -0
  33. package/dist/calcite/assets/icon/userUp16.json +1 -0
  34. package/dist/calcite/assets/icon/userUp24.json +1 -0
  35. package/dist/calcite/assets/icon/userUp32.json +1 -0
  36. package/dist/calcite/assets/icon/userX16.json +1 -0
  37. package/dist/calcite/assets/icon/userX24.json +1 -0
  38. package/dist/calcite/assets/icon/userX32.json +1 -0
  39. package/dist/calcite/assets/icon/utilityNetworkTrace16.json +1 -0
  40. package/dist/calcite/assets/icon/utilityNetworkTrace24.json +1 -0
  41. package/dist/calcite/assets/icon/utilityNetworkTrace32.json +1 -0
  42. package/dist/calcite/calcite.esm.js +2 -1
  43. package/dist/calcite/calcite.js +1 -1
  44. package/dist/calcite/index.esm.js +1 -0
  45. package/dist/calcite/{p-d1060fb1.system.entry.js → p-023a27d2.system.entry.js} +2 -1
  46. package/dist/calcite/p-045f28b2.entry.js +6 -0
  47. package/dist/calcite/p-0a6b6898.system.entry.js +6 -0
  48. package/dist/calcite/p-0ba791df.entry.js +6 -0
  49. package/dist/calcite/{p-fedbc6e6.js → p-0ee86cc3.js} +2 -1
  50. package/dist/calcite/p-0f0713c7.entry.js +6 -0
  51. package/dist/calcite/p-0f8c3ea0.entry.js +6 -0
  52. package/dist/calcite/p-1084cd40.entry.js +6 -0
  53. package/dist/calcite/{p-3543ddfe.system.entry.js → p-117836c2.system.entry.js} +2 -1
  54. package/dist/calcite/p-14be4304.system.entry.js +6 -0
  55. package/dist/calcite/{p-7d937b47.entry.js → p-14ca50d9.entry.js} +2 -1
  56. package/dist/calcite/p-181bd093.entry.js +6 -0
  57. package/dist/calcite/p-1866c3d6.entry.js +6 -0
  58. package/dist/calcite/{p-1d345756.system.entry.js → p-19987cfa.system.entry.js} +3 -2
  59. package/dist/calcite/{p-05bf835f.js → p-1b7e43a7.js} +2 -1
  60. package/dist/calcite/{p-0bd5bb31.system.entry.js → p-1d0db848.system.entry.js} +2 -1
  61. package/dist/calcite/p-1d3ba736.system.entry.js +6 -0
  62. package/dist/calcite/p-21461822.entry.js +6 -0
  63. package/dist/calcite/p-22e1813c.entry.js +6 -0
  64. package/dist/calcite/{p-36fa8b0f.system.entry.js → p-2363fc48.system.entry.js} +2 -1
  65. package/dist/calcite/p-23c9c6f9.js +12 -0
  66. package/dist/calcite/{p-a117af56.system.js → p-24db2b0a.system.js} +1 -0
  67. package/dist/calcite/p-26fc61bb.system.js +6 -0
  68. package/dist/calcite/p-2789e3e2.system.js +6 -0
  69. package/dist/calcite/p-2a4bbfa2.system.entry.js +6 -0
  70. package/dist/calcite/p-2bcf0f54.js +6 -0
  71. package/dist/calcite/p-2c0fdd49.entry.js +6 -0
  72. package/dist/calcite/{p-7ed4c551.system.js → p-2f07bcb4.system.js} +1 -0
  73. package/dist/calcite/p-2f42b00e.system.entry.js +6 -0
  74. package/dist/calcite/p-300c0203.system.entry.js +6 -0
  75. package/dist/calcite/{p-0a5d059d.js → p-3113528a.js} +1 -0
  76. package/dist/calcite/p-3119474f.entry.js +6 -0
  77. package/dist/calcite/{p-4ff0e3a9.system.entry.js → p-329ade24.system.entry.js} +2 -1
  78. package/dist/calcite/p-33391f44.entry.js +6 -0
  79. package/dist/calcite/{p-6a541e77.system.js → p-3412c57d.system.js} +2 -1
  80. package/dist/calcite/{p-296c1d5a.system.entry.js → p-34a92432.system.entry.js} +2 -1
  81. package/dist/calcite/p-34cf7a42.entry.js +6 -0
  82. package/dist/calcite/p-3b38f3f5.system.entry.js +6 -0
  83. package/dist/calcite/p-3b6e600a.entry.js +6 -0
  84. package/dist/calcite/p-3c732519.entry.js +6 -0
  85. package/dist/calcite/{p-ba2c5e07.js → p-3ceba891.js} +2 -1
  86. package/dist/calcite/p-3e5f8e93.system.entry.js +6 -0
  87. package/dist/calcite/{p-a4cc864a.system.entry.js → p-3ebff946.system.entry.js} +2 -1
  88. package/dist/calcite/p-40334853.system.js +6 -0
  89. package/dist/calcite/{p-129954f1.system.entry.js → p-40a15f4a.system.entry.js} +2 -1
  90. package/dist/calcite/p-4275a429.system.js +6 -0
  91. package/dist/calcite/p-44f00a2a.system.entry.js +6 -0
  92. package/dist/calcite/p-469490f8.js +6 -0
  93. package/dist/calcite/p-47913e44.system.entry.js +6 -0
  94. package/dist/calcite/p-482956de.entry.js +6 -0
  95. package/dist/calcite/p-48aa73e5.entry.js +6 -0
  96. package/dist/calcite/p-4a543a6e.entry.js +6 -0
  97. package/dist/calcite/p-4b6a7167.entry.js +6 -0
  98. package/dist/calcite/p-4f04264f.system.entry.js +6 -0
  99. package/dist/calcite/{p-579d1f1a.system.entry.js → p-4f443e21.system.entry.js} +2 -1
  100. package/dist/calcite/p-4ff2f38c.entry.js +6 -0
  101. package/dist/calcite/p-50f49b13.system.entry.js +6 -0
  102. package/dist/calcite/p-52c9824d.system.entry.js +6 -0
  103. package/dist/calcite/p-55d64bae.system.entry.js +6 -0
  104. package/dist/calcite/p-5857c533.system.entry.js +6 -0
  105. package/dist/calcite/{p-7fc69a9d.js → p-5a3414c7.js} +1 -0
  106. package/dist/calcite/{p-e095517f.system.js → p-5dd1e943.system.js} +1 -0
  107. package/dist/calcite/{p-2d09cc25.js → p-5ed8397b.js} +1 -0
  108. package/dist/calcite/{p-2277b440.js → p-608aaf1d.js} +2 -1
  109. package/dist/calcite/p-609f05ef.entry.js +6 -0
  110. package/dist/calcite/p-60f78917.system.entry.js +6 -0
  111. package/dist/calcite/{p-e020662f.system.js → p-61021069.system.js} +1 -0
  112. package/dist/calcite/p-6294787b.system.js +6 -0
  113. package/dist/calcite/p-62a93131.entry.js +6 -0
  114. package/dist/calcite/p-6750e68e.entry.js +6 -0
  115. package/dist/calcite/p-678e83fe.entry.js +6 -0
  116. package/dist/calcite/p-693cc0cd.system.entry.js +6 -0
  117. package/dist/calcite/p-69fdc534.entry.js +6 -0
  118. package/dist/calcite/p-6c9ab1d6.system.entry.js +6 -0
  119. package/dist/calcite/p-6ebbdae4.entry.js +6 -0
  120. package/dist/calcite/p-7225f4ed.js +6 -0
  121. package/dist/calcite/p-72ab20ed.system.entry.js +6 -0
  122. package/dist/calcite/p-7463e93d.entry.js +6 -0
  123. package/dist/calcite/p-7549f33d.entry.js +6 -0
  124. package/dist/calcite/p-769054e6.entry.js +6 -0
  125. package/dist/calcite/p-7c32da09.entry.js +6 -0
  126. package/dist/calcite/{p-02854dce.system.entry.js → p-7e9cac29.system.entry.js} +2 -1
  127. package/dist/calcite/p-7ebc956d.system.js +6 -0
  128. package/dist/calcite/{p-3c34f20d.system.js → p-8117e07b.system.js} +2 -1
  129. package/dist/calcite/p-82c05795.js +6 -0
  130. package/dist/calcite/p-8729fefb.entry.js +6 -0
  131. package/dist/calcite/p-88f476f3.system.entry.js +6 -0
  132. package/dist/calcite/p-89146101.entry.js +6 -0
  133. package/dist/calcite/p-8d372581.entry.js +6 -0
  134. package/dist/calcite/p-8d9d8984.system.entry.js +6 -0
  135. package/dist/calcite/p-90660203.js +6 -0
  136. package/dist/calcite/p-941b8b06.js +6 -0
  137. package/dist/calcite/{p-df3775ba.system.entry.js → p-948a5bba.system.entry.js} +2 -1
  138. package/dist/calcite/{p-079a3322.js → p-99520e50.js} +1 -0
  139. package/dist/calcite/{p-5958acc8.system.js → p-99bd5049.system.js} +1 -0
  140. package/dist/calcite/p-9b7b6b30.entry.js +6 -0
  141. package/dist/calcite/p-9d488536.entry.js +6 -0
  142. package/dist/calcite/p-9da64897.system.js +6 -0
  143. package/dist/calcite/p-a2b46564.entry.js +6 -0
  144. package/dist/calcite/{p-accdb0ce.js → p-a3478523.js} +1 -0
  145. package/dist/calcite/p-a4b72090.system.entry.js +6 -0
  146. package/dist/calcite/{p-63624a01.js → p-a9630b98.js} +1 -0
  147. package/dist/calcite/{p-08c58589.system.js → p-aad21300.system.js} +2 -1
  148. package/dist/calcite/{p-9d071e3c.system.js → p-ae4a167e.system.js} +2 -1
  149. package/dist/calcite/p-af100a3b.entry.js +6 -0
  150. package/dist/calcite/p-b15cde3f.js +6 -0
  151. package/dist/calcite/p-b3d74df1.entry.js +6 -0
  152. package/dist/calcite/p-b50b0f92.system.entry.js +6 -0
  153. package/dist/calcite/p-b6dad672.system.entry.js +6 -0
  154. package/dist/calcite/p-bae3c0b1.entry.js +6 -0
  155. package/dist/calcite/p-bc873e26.system.js +6 -0
  156. package/dist/calcite/{p-847fc3a4.system.entry.js → p-bddde234.system.entry.js} +2 -1
  157. package/dist/calcite/{p-7b8707b2.system.js → p-be0551f8.system.js} +1 -0
  158. package/dist/calcite/{p-f78023f1.system.js → p-bef4c06f.system.js} +1 -0
  159. package/dist/calcite/p-c0ab6c20.system.entry.js +6 -0
  160. package/dist/calcite/p-c22bd1df.system.entry.js +6 -0
  161. package/dist/calcite/p-c2770291.js +6 -0
  162. package/dist/calcite/{p-aa336fc3.system.entry.js → p-c477a6ac.system.entry.js} +2 -1
  163. package/dist/calcite/{p-cd406e29.system.entry.js → p-c62291e6.system.entry.js} +2 -1
  164. package/dist/calcite/p-c66cce4a.js +6 -0
  165. package/dist/calcite/p-c76d5a12.entry.js +6 -0
  166. package/dist/calcite/p-c82c3a08.entry.js +6 -0
  167. package/dist/calcite/p-c91e5ce6.system.entry.js +6 -0
  168. package/dist/calcite/p-cb3633ce.system.entry.js +6 -0
  169. package/dist/calcite/p-cc881354.entry.js +6 -0
  170. package/dist/calcite/{p-1f82294e.system.entry.js → p-ceae054a.system.entry.js} +2 -1
  171. package/dist/calcite/p-cec925c5.system.entry.js +6 -0
  172. package/dist/calcite/{p-475869c9.system.entry.js → p-d0ae73bc.system.entry.js} +2 -1
  173. package/dist/calcite/p-d2aad5f9.system.entry.js +6 -0
  174. package/dist/calcite/{p-e4c317a4.system.js → p-d441a36b.system.js} +2 -1
  175. package/dist/calcite/p-d668cc57.entry.js +6 -0
  176. package/dist/calcite/p-d7f31cff.system.js +12 -0
  177. package/dist/calcite/{p-c9f280c1.system.js → p-d8c1d1bb.system.js} +2 -1
  178. package/dist/calcite/p-d9669187.entry.js +6 -0
  179. package/dist/calcite/p-da5a9916.system.entry.js +6 -0
  180. package/dist/calcite/p-daf452fa.entry.js +6 -0
  181. package/dist/calcite/{p-6b5776af.js → p-db2360e6.js} +1 -0
  182. package/dist/calcite/p-ddc498f5.entry.js +6 -0
  183. package/dist/calcite/p-de040bc0.entry.js +6 -0
  184. package/dist/calcite/{p-8a63221d.js → p-dfd0c1ce.js} +1 -0
  185. package/dist/calcite/{p-3c773436.system.entry.js → p-e131dae7.system.entry.js} +2 -1
  186. package/dist/calcite/{p-f56ce7ea.js → p-e21b549b.js} +2 -1
  187. package/dist/calcite/{p-41806a13.system.entry.js → p-e3f1b697.system.entry.js} +2 -1
  188. package/dist/calcite/{p-ee88180e.system.entry.js → p-e4a047e7.system.entry.js} +2 -1
  189. package/dist/calcite/p-e6034e51.entry.js +6 -0
  190. package/dist/calcite/p-e64fc8d7.entry.js +6 -0
  191. package/dist/calcite/p-e6b83b93.entry.js +6 -0
  192. package/dist/calcite/{p-4de6f4fd.system.js → p-e837987d.system.js} +1 -0
  193. package/dist/calcite/p-e8698d9f.system.entry.js +6 -0
  194. package/dist/calcite/p-ea09f02f.system.entry.js +6 -0
  195. package/dist/calcite/p-eaf8f62d.entry.js +6 -0
  196. package/dist/calcite/{p-f5e91588.system.entry.js → p-ec6942a8.system.entry.js} +2 -1
  197. package/dist/calcite/{p-1d6404b5.system.js → p-ed535fb3.system.js} +1 -0
  198. package/dist/calcite/p-ef8bcab3.entry.js +6 -0
  199. package/dist/calcite/p-f3ba8a0a.entry.js +6 -0
  200. package/dist/calcite/p-f5a00782.entry.js +6 -0
  201. package/dist/calcite/p-f753e964.entry.js +6 -0
  202. package/dist/calcite/{p-5d52246b.system.js → p-f839293b.system.js} +3 -2
  203. package/dist/calcite/{p-2eb067c8.system.entry.js → p-f89876d3.system.entry.js} +2 -1
  204. package/dist/calcite/{p-b06207bb.js → p-f8d2efa3.js} +1 -0
  205. package/dist/calcite/{p-ac4aec20.system.js → p-fb726bdd.system.js} +1 -0
  206. package/dist/calcite/p-fc2aa57a.system.entry.js +6 -0
  207. package/dist/calcite/p-ffc13e2d.entry.js +6 -0
  208. package/dist/calcite/p-ffeda3eb.system.entry.js +6 -0
  209. package/dist/cjs/{ExpandToggle-dbdede53.js → ExpandToggle-e3bd3e9d.js} +5 -4
  210. package/dist/cjs/{Heading-1870bc0e.js → Heading-b864aca1.js} +2 -1
  211. package/dist/cjs/{array-a5dedf5a.js → array-00db7b4e.js} +1 -0
  212. package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -5
  213. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -21
  214. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -8
  215. package/dist/cjs/calcite-action-menu.cjs.entry.js +11 -10
  216. package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -22
  217. package/dist/cjs/calcite-action.cjs.entry.js +9 -4
  218. package/dist/cjs/calcite-alert.cjs.entry.js +6 -5
  219. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -5
  220. package/dist/cjs/calcite-block_2.cjs.entry.js +23 -13
  221. package/dist/cjs/calcite-button.cjs.entry.js +22 -17
  222. package/dist/cjs/calcite-card.cjs.entry.js +7 -6
  223. package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -7
  224. package/dist/cjs/calcite-chip.cjs.entry.js +7 -6
  225. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +113 -107
  226. package/dist/cjs/calcite-combobox_3.cjs.entry.js +119 -77
  227. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +48 -32
  228. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +75 -46
  229. package/dist/cjs/calcite-fab.cjs.entry.js +15 -5
  230. package/dist/cjs/calcite-filter.cjs.entry.js +54 -16
  231. package/dist/cjs/calcite-flow.cjs.entry.js +4 -3
  232. package/dist/cjs/calcite-graph_2.cjs.entry.js +99 -67
  233. package/dist/cjs/calcite-handle.cjs.entry.js +3 -2
  234. package/dist/cjs/calcite-icon.cjs.entry.js +6 -5
  235. package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -14
  236. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +62 -25
  237. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
  238. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +33 -17
  239. package/dist/cjs/calcite-input.cjs.entry.js +17 -12
  240. package/dist/cjs/calcite-label.cjs.entry.js +18 -4
  241. package/dist/cjs/calcite-link.cjs.entry.js +11 -6
  242. package/dist/cjs/calcite-list_3.cjs.entry.js +47 -14
  243. package/dist/cjs/calcite-loader.cjs.entry.js +4 -3
  244. package/dist/cjs/calcite-modal.cjs.entry.js +8 -7
  245. package/dist/cjs/calcite-notice.cjs.entry.js +8 -7
  246. package/dist/cjs/calcite-option_3.cjs.entry.js +15 -10
  247. package/dist/cjs/calcite-pagination.cjs.entry.js +3 -2
  248. package/dist/cjs/calcite-panel.cjs.entry.js +21 -11
  249. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +27 -32
  250. package/dist/cjs/calcite-popover_2.cjs.entry.js +32 -13
  251. package/dist/cjs/calcite-progress.cjs.entry.js +3 -2
  252. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -3
  253. package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -8
  254. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +14 -9
  255. package/dist/cjs/calcite-rating.cjs.entry.js +17 -10
  256. package/dist/cjs/calcite-scrim.cjs.entry.js +3 -2
  257. package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -9
  258. package/dist/cjs/calcite-sortable-list.cjs.entry.js +10 -5
  259. package/dist/cjs/calcite-split-button.cjs.entry.js +28 -4
  260. package/dist/cjs/calcite-stepper_2.cjs.entry.js +14 -8
  261. package/dist/cjs/calcite-switch.cjs.entry.js +13 -14
  262. package/dist/cjs/calcite-tab_4.cjs.entry.js +85 -65
  263. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +22 -6
  264. package/dist/cjs/calcite-tile.cjs.entry.js +12 -7
  265. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -10
  266. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +14 -13
  267. package/dist/cjs/calcite-tree_2.cjs.entry.js +63 -62
  268. package/dist/cjs/calcite-value-list_2.cjs.entry.js +25 -16
  269. package/dist/cjs/calcite.cjs.js +4 -3
  270. package/dist/cjs/{conditionalSlot-2917212e.js → conditionalSlot-8468d1b6.js} +3 -2
  271. package/dist/cjs/{debounce-95979061.js → debounce-a29e2f71.js} +1 -0
  272. package/dist/cjs/{dom-f3df220d.js → dom-66c5cb56.js} +9 -2
  273. package/dist/cjs/{forIn-a5d553af.js → forIn-d4941a7b.js} +2 -1
  274. package/dist/cjs/{form-d540f0cb.js → form-cfcc3b12.js} +3 -2
  275. package/dist/cjs/{guid-b270f0db.js → guid-364777e6.js} +1 -0
  276. package/dist/cjs/{index-8760acaf.js → index-ab066772.js} +5 -1
  277. package/dist/cjs/index.cjs.js +1 -0
  278. package/dist/cjs/interactive-3808ad50.js +45 -0
  279. package/dist/cjs/{interfaces-7216af30.js → interfaces-597482d7.js} +1 -0
  280. package/dist/cjs/{label-6b18ca08.js → label-e53e11ab.js} +42 -7
  281. package/dist/cjs/loader.cjs.js +4 -3
  282. package/dist/cjs/{locale-02462821.js → locale-2f9c939d.js} +11 -2
  283. package/dist/cjs/{math-145c80e2.js → math-b81c3249.js} +1 -0
  284. package/dist/cjs/{number-e813e801.js → number-99949cb0.js} +2 -1
  285. package/dist/cjs/{observers-79bfb8bc.js → observers-2dc895e1.js} +1 -0
  286. package/dist/cjs/{popper-13a2bb46.js → popper-5aeab272.js} +44 -3
  287. package/dist/cjs/{resources-7d5449fb.js → resources-39df6d9b.js} +1 -0
  288. package/dist/cjs/{resources-1e94d43c.js → resources-7b0c6b5a.js} +3 -2
  289. package/dist/cjs/{resources-00f23831.js → resources-9baed1da.js} +52 -14
  290. package/dist/cjs/{resources-ac80e82c.js → resources-ff2cae6a.js} +1 -0
  291. package/dist/cjs/{sortable.esm-d7a4560b.js → sortable.esm-6d0d59e8.js} +63 -54
  292. package/dist/cjs/{utils-6579522f.js → utils-9f674b6a.js} +1 -0
  293. package/dist/collection/collection-manifest.json +1 -1
  294. package/dist/collection/components/accordion/accordion.js +1 -0
  295. package/dist/collection/components/accordion/interfaces.js +1 -0
  296. package/dist/collection/components/accordion-item/accordion-item.js +1 -0
  297. package/dist/collection/components/action/action.css +9 -0
  298. package/dist/collection/components/action/action.js +5 -0
  299. package/dist/collection/components/action/resources.js +1 -0
  300. package/dist/collection/components/action-bar/action-bar.js +5 -11
  301. package/dist/collection/components/action-bar/resources.js +1 -0
  302. package/dist/collection/components/action-bar/utils.js +1 -0
  303. package/dist/collection/components/action-group/action-group.js +1 -0
  304. package/dist/collection/components/action-group/resources.js +1 -0
  305. package/dist/collection/components/action-menu/action-menu.js +7 -6
  306. package/dist/collection/components/action-menu/resources.js +1 -0
  307. package/dist/collection/components/action-pad/action-pad.js +4 -15
  308. package/dist/collection/components/action-pad/resources.js +1 -0
  309. package/dist/collection/components/alert/alert.js +1 -0
  310. package/dist/collection/components/alert/interfaces.js +1 -0
  311. package/dist/collection/components/alert/resources.js +1 -0
  312. package/dist/collection/components/avatar/avatar.js +1 -0
  313. package/dist/collection/components/avatar/utils.js +1 -0
  314. package/dist/collection/components/block/block.css +13 -9
  315. package/dist/collection/components/block/block.js +14 -4
  316. package/dist/collection/components/block/resources.js +1 -0
  317. package/dist/collection/components/block-section/block-section.js +1 -0
  318. package/dist/collection/components/block-section/interfaces.js +1 -0
  319. package/dist/collection/components/block-section/resources.js +1 -0
  320. package/dist/collection/components/button/button.css +15 -2
  321. package/dist/collection/components/button/button.js +18 -12
  322. package/dist/collection/components/button/interfaces.js +1 -0
  323. package/dist/collection/components/button/resources.js +1 -0
  324. package/dist/collection/components/card/card.js +1 -0
  325. package/dist/collection/components/card/resources.js +1 -0
  326. package/dist/collection/components/checkbox/checkbox.css +7 -0
  327. package/dist/collection/components/checkbox/checkbox.js +5 -0
  328. package/dist/collection/components/chip/chip.js +1 -0
  329. package/dist/collection/components/chip/interfaces.js +1 -0
  330. package/dist/collection/components/chip/resources.js +1 -0
  331. package/dist/collection/components/color-picker/color-picker.css +13 -0
  332. package/dist/collection/components/color-picker/color-picker.js +46 -19
  333. package/dist/collection/components/color-picker/interfaces.js +1 -0
  334. package/dist/collection/components/color-picker/resources.js +1 -0
  335. package/dist/collection/components/color-picker/utils.js +1 -0
  336. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +39 -48
  337. package/dist/collection/components/color-picker-hex-input/resources.js +1 -0
  338. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -0
  339. package/dist/collection/components/color-picker-swatch/resources.js +1 -0
  340. package/dist/collection/components/combobox/combobox.css +7 -1
  341. package/dist/collection/components/combobox/combobox.js +129 -67
  342. package/dist/collection/components/combobox/interfaces.js +1 -0
  343. package/dist/collection/components/combobox/resources.js +1 -1
  344. package/dist/collection/components/combobox/utils.js +1 -0
  345. package/dist/collection/components/combobox-item/combobox-item.css +14 -1
  346. package/dist/collection/components/combobox-item/combobox-item.js +5 -0
  347. package/dist/collection/components/combobox-item/resources.js +1 -0
  348. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -0
  349. package/dist/collection/components/combobox-item-group/resources.js +1 -0
  350. package/dist/collection/components/date-picker/date-picker.js +1 -0
  351. package/dist/collection/components/date-picker/interfaces.js +1 -0
  352. package/dist/collection/components/date-picker/resources.js +1 -0
  353. package/dist/collection/components/date-picker/utils.js +1 -0
  354. package/dist/collection/components/date-picker-day/date-picker-day.css +13 -5
  355. package/dist/collection/components/date-picker-day/date-picker-day.js +9 -1
  356. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -0
  357. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +28 -19
  358. package/dist/collection/components/dropdown/dropdown.css +8 -0
  359. package/dist/collection/components/dropdown/dropdown.js +85 -37
  360. package/dist/collection/components/dropdown/interfaces.js +1 -0
  361. package/dist/collection/components/dropdown/resources.js +1 -1
  362. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -0
  363. package/dist/collection/components/dropdown-group/interfaces.js +1 -0
  364. package/dist/collection/components/dropdown-group/resources.js +1 -0
  365. package/dist/collection/components/dropdown-item/dropdown-item.js +12 -5
  366. package/dist/collection/components/dropdown-item/resources.js +1 -0
  367. package/dist/collection/components/fab/fab.css +13 -0
  368. package/dist/collection/components/fab/fab.js +10 -0
  369. package/dist/collection/components/fab/resources.js +1 -0
  370. package/dist/collection/components/filter/filter.css +13 -0
  371. package/dist/collection/components/filter/filter.js +53 -15
  372. package/dist/collection/components/filter/resources.js +2 -0
  373. package/dist/collection/components/flow/flow.js +1 -0
  374. package/dist/collection/components/flow/interfaces.js +1 -0
  375. package/dist/collection/components/flow/resources.js +1 -0
  376. package/dist/collection/components/functional/ExpandToggle.js +1 -0
  377. package/dist/collection/components/functional/Heading.js +1 -0
  378. package/dist/collection/components/graph/graph.js +1 -0
  379. package/dist/collection/components/graph/interfaces.js +1 -0
  380. package/dist/collection/components/graph/util.js +1 -0
  381. package/dist/collection/components/handle/handle.js +1 -0
  382. package/dist/collection/components/handle/resources.js +1 -0
  383. package/dist/collection/components/icon/assets/icon/clockForward16.json +1 -0
  384. package/dist/collection/components/icon/assets/icon/clockForward24.json +1 -0
  385. package/dist/collection/components/icon/assets/icon/clockForward32.json +1 -0
  386. package/dist/collection/components/icon/assets/icon/contingentValues16.json +1 -0
  387. package/dist/collection/components/icon/assets/icon/contingentValues24.json +1 -0
  388. package/dist/collection/components/icon/assets/icon/contingentValues32.json +1 -0
  389. package/dist/collection/components/icon/assets/icon/creditCard16.json +1 -0
  390. package/dist/collection/components/icon/assets/icon/creditCard24.json +1 -0
  391. package/dist/collection/components/icon/assets/icon/creditCard32.json +1 -0
  392. package/dist/collection/components/icon/assets/icon/credits16.json +1 -1
  393. package/dist/collection/components/icon/assets/icon/credits24.json +1 -1
  394. package/dist/collection/components/icon/assets/icon/credits32.json +1 -1
  395. package/dist/collection/components/icon/assets/icon/fileEcd16.json +1 -0
  396. package/dist/collection/components/icon/assets/icon/fileEcd24.json +1 -0
  397. package/dist/collection/components/icon/assets/icon/fileEcd32.json +1 -0
  398. package/dist/collection/components/icon/assets/icon/keyboard16.json +1 -0
  399. package/dist/collection/components/icon/assets/icon/keyboard24.json +1 -0
  400. package/dist/collection/components/icon/assets/icon/keyboard32.json +1 -0
  401. package/dist/collection/components/icon/assets/icon/premiumContentUserCredit24.json +1 -1
  402. package/dist/collection/components/icon/assets/icon/premiumContentUserCredit32.json +1 -1
  403. package/dist/collection/components/icon/assets/icon/select16.json +1 -1
  404. package/dist/collection/components/icon/assets/icon/select24.json +1 -1
  405. package/dist/collection/components/icon/assets/icon/select32.json +1 -1
  406. package/dist/collection/components/icon/assets/icon/userDown16.json +1 -0
  407. package/dist/collection/components/icon/assets/icon/userDown24.json +1 -0
  408. package/dist/collection/components/icon/assets/icon/userDown32.json +1 -0
  409. package/dist/collection/components/icon/assets/icon/userKey16.json +1 -0
  410. package/dist/collection/components/icon/assets/icon/userKey24.json +1 -0
  411. package/dist/collection/components/icon/assets/icon/userKey32.json +1 -0
  412. package/dist/collection/components/icon/assets/icon/userMinus16.json +1 -0
  413. package/dist/collection/components/icon/assets/icon/userMinus24.json +1 -0
  414. package/dist/collection/components/icon/assets/icon/userMinus32.json +1 -0
  415. package/dist/collection/components/icon/assets/icon/userUp16.json +1 -0
  416. package/dist/collection/components/icon/assets/icon/userUp24.json +1 -0
  417. package/dist/collection/components/icon/assets/icon/userUp32.json +1 -0
  418. package/dist/collection/components/icon/assets/icon/userX16.json +1 -0
  419. package/dist/collection/components/icon/assets/icon/userX24.json +1 -0
  420. package/dist/collection/components/icon/assets/icon/userX32.json +1 -0
  421. package/dist/collection/components/icon/assets/icon/utilityNetworkTrace16.json +1 -0
  422. package/dist/collection/components/icon/assets/icon/utilityNetworkTrace24.json +1 -0
  423. package/dist/collection/components/icon/assets/icon/utilityNetworkTrace32.json +1 -0
  424. package/dist/collection/components/icon/icon.js +1 -0
  425. package/dist/collection/components/icon/resources.js +1 -0
  426. package/dist/collection/components/icon/utils.js +1 -0
  427. package/dist/collection/components/inline-editable/inline-editable.css +12 -0
  428. package/dist/collection/components/inline-editable/inline-editable.js +10 -7
  429. package/dist/collection/components/inline-editable/resources.js +1 -0
  430. package/dist/collection/components/input/input.css +8 -7
  431. package/dist/collection/components/input/input.js +6 -1
  432. package/dist/collection/components/input/interfaces.js +1 -0
  433. package/dist/collection/components/input/resources.js +1 -0
  434. package/dist/collection/components/input-date-picker/input-date-picker.css +68 -26
  435. package/dist/collection/components/input-date-picker/input-date-picker.js +102 -15
  436. package/dist/collection/components/input-message/input-message.js +1 -0
  437. package/dist/collection/components/input-message/interfaces.js +1 -0
  438. package/dist/collection/components/input-time-picker/input-time-picker.css +13 -0
  439. package/dist/collection/components/input-time-picker/input-time-picker.js +53 -1
  440. package/dist/collection/components/interfaces.js +1 -0
  441. package/dist/collection/components/label/label.css +12 -0
  442. package/dist/collection/components/label/label.js +17 -2
  443. package/dist/collection/components/label/resources.js +1 -0
  444. package/dist/collection/components/link/link.css +13 -8
  445. package/dist/collection/components/link/link.js +6 -1
  446. package/dist/collection/components/list/list.css +13 -0
  447. package/dist/collection/components/list/list.js +39 -0
  448. package/dist/collection/components/list/resources.js +1 -0
  449. package/dist/collection/components/list-item/list-item.css +25 -1
  450. package/dist/collection/components/list-item/list-item.js +17 -2
  451. package/dist/collection/components/list-item/resources.js +3 -1
  452. package/dist/collection/components/list-item-group/list-item-group.js +1 -0
  453. package/dist/collection/components/list-item-group/resources.js +1 -0
  454. package/dist/collection/components/loader/loader.js +1 -0
  455. package/dist/collection/components/modal/interfaces.js +1 -0
  456. package/dist/collection/components/modal/modal.js +2 -1
  457. package/dist/collection/components/modal/resources.js +1 -0
  458. package/dist/collection/components/notice/notice.js +1 -0
  459. package/dist/collection/components/notice/resources.js +1 -0
  460. package/dist/collection/components/option/option.js +1 -0
  461. package/dist/collection/components/option-group/option-group.js +1 -0
  462. package/dist/collection/components/pagination/pagination.js +1 -0
  463. package/dist/collection/components/pagination/resources.js +1 -0
  464. package/dist/collection/components/panel/panel.css +13 -3
  465. package/dist/collection/components/panel/panel.js +12 -2
  466. package/dist/collection/components/panel/resources.js +1 -0
  467. package/dist/collection/components/pick-list/pick-list.css +13 -0
  468. package/dist/collection/components/pick-list/pick-list.js +5 -0
  469. package/dist/collection/components/pick-list/resources.js +1 -0
  470. package/dist/collection/components/pick-list/shared-list-logic.js +33 -8
  471. package/dist/collection/components/pick-list/shared-list-render.js +3 -2
  472. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -0
  473. package/dist/collection/components/pick-list-group/resources.js +1 -0
  474. package/dist/collection/components/pick-list-item/pick-list-item.css +13 -0
  475. package/dist/collection/components/pick-list-item/pick-list-item.js +6 -4
  476. package/dist/collection/components/pick-list-item/resources.js +1 -0
  477. package/dist/collection/components/popover/popover.css +1 -1
  478. package/dist/collection/components/popover/popover.js +32 -12
  479. package/dist/collection/components/popover/resources.js +2 -0
  480. package/dist/collection/components/popover-manager/popover-manager.js +1 -0
  481. package/dist/collection/components/progress/progress.js +1 -0
  482. package/dist/collection/components/radio-button/radio-button.css +10 -1
  483. package/dist/collection/components/radio-button/radio-button.js +5 -0
  484. package/dist/collection/components/radio-button/resources.js +1 -0
  485. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -0
  486. package/dist/collection/components/radio-group/interfaces.js +1 -0
  487. package/dist/collection/components/radio-group/radio-group.css +13 -5
  488. package/dist/collection/components/radio-group/radio-group.js +6 -1
  489. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -0
  490. package/dist/collection/components/radio-group-item/resources.js +1 -0
  491. package/dist/collection/components/rating/rating.css +13 -5
  492. package/dist/collection/components/rating/rating.js +10 -3
  493. package/dist/collection/components/rating/resources.js +1 -0
  494. package/dist/collection/components/scrim/resources.js +1 -0
  495. package/dist/collection/components/scrim/scrim.js +1 -0
  496. package/dist/collection/components/select/resources.js +1 -0
  497. package/dist/collection/components/select/select.css +13 -7
  498. package/dist/collection/components/select/select.js +5 -0
  499. package/dist/collection/components/shell/resources.js +1 -0
  500. package/dist/collection/components/shell/shell.js +1 -0
  501. package/dist/collection/components/shell-center-row/resources.js +1 -0
  502. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -0
  503. package/dist/collection/components/shell-panel/resources.js +1 -0
  504. package/dist/collection/components/shell-panel/shell-panel.js +1 -0
  505. package/dist/collection/components/slider/slider.css +8 -0
  506. package/dist/collection/components/slider/slider.js +98 -60
  507. package/dist/collection/components/sortable-list/resources.js +1 -0
  508. package/dist/collection/components/sortable-list/sortable-list.css +13 -0
  509. package/dist/collection/components/sortable-list/sortable-list.js +5 -0
  510. package/dist/collection/components/split-button/resources.js +1 -0
  511. package/dist/collection/components/split-button/split-button.css +12 -0
  512. package/dist/collection/components/split-button/split-button.js +30 -3
  513. package/dist/collection/components/stepper/stepper.js +1 -0
  514. package/dist/collection/components/stepper-item/stepper-item.css +8 -4
  515. package/dist/collection/components/stepper-item/stepper-item.js +9 -3
  516. package/dist/collection/components/switch/switch.css +7 -0
  517. package/dist/collection/components/switch/switch.js +8 -14
  518. package/dist/collection/components/tab/interfaces.js +1 -0
  519. package/dist/collection/components/tab/tab.js +14 -15
  520. package/dist/collection/components/tab-nav/tab-nav.js +65 -26
  521. package/dist/collection/components/tab-title/tab-title.css +9 -0
  522. package/dist/collection/components/tab-title/tab-title.js +62 -27
  523. package/dist/collection/components/tabs/interfaces.js +1 -0
  524. package/dist/collection/components/tabs/resources.js +1 -0
  525. package/dist/collection/components/tabs/tabs.js +1 -3
  526. package/dist/collection/components/tile/resources.js +1 -0
  527. package/dist/collection/components/tile/tile.css +19 -3
  528. package/dist/collection/components/tile/tile.js +5 -0
  529. package/dist/collection/components/tile-select/interfaces.js +1 -0
  530. package/dist/collection/components/tile-select/resources.js +1 -0
  531. package/dist/collection/components/tile-select/tile-select.css +9 -1
  532. package/dist/collection/components/tile-select/tile-select.js +5 -0
  533. package/dist/collection/components/tile-select-group/interfaces.js +1 -0
  534. package/dist/collection/components/tile-select-group/tile-select-group.css +13 -0
  535. package/dist/collection/components/tile-select-group/tile-select-group.js +32 -1
  536. package/dist/collection/components/time-picker/resources.js +1 -0
  537. package/dist/collection/components/time-picker/time-picker.js +1 -8
  538. package/dist/collection/components/tip/resources.js +1 -0
  539. package/dist/collection/components/tip/tip.js +1 -0
  540. package/dist/collection/components/tip-group/tip-group.js +1 -0
  541. package/dist/collection/components/tip-manager/resources.js +1 -0
  542. package/dist/collection/components/tip-manager/tip-manager.js +3 -2
  543. package/dist/collection/components/tooltip/resources.js +1 -0
  544. package/dist/collection/components/tooltip/tooltip.css +1 -1
  545. package/dist/collection/components/tooltip/tooltip.js +6 -1
  546. package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -5
  547. package/dist/collection/components/tree/interfaces.js +1 -0
  548. package/dist/collection/components/tree/tree.js +62 -0
  549. package/dist/collection/components/tree-item/interfaces.js +1 -0
  550. package/dist/collection/components/tree-item/resources.js +1 -0
  551. package/dist/collection/components/tree-item/tree-item.js +1 -55
  552. package/dist/collection/components/value-list/resources.js +1 -0
  553. package/dist/collection/components/value-list/value-list.css +13 -0
  554. package/dist/collection/components/value-list/value-list.js +16 -5
  555. package/dist/collection/components/value-list-item/resources.js +1 -0
  556. package/dist/collection/components/value-list-item/value-list-item.css +13 -0
  557. package/dist/collection/components/value-list-item/value-list-item.js +6 -1
  558. package/dist/collection/utils/array.js +1 -0
  559. package/dist/collection/utils/conditionalSlot.js +1 -0
  560. package/dist/collection/utils/date.js +1 -0
  561. package/dist/collection/utils/dom.js +8 -1
  562. package/dist/collection/utils/filter.js +1 -0
  563. package/dist/collection/utils/form.js +1 -0
  564. package/dist/collection/utils/globalAttributes.js +1 -0
  565. package/dist/collection/utils/guid.js +1 -0
  566. package/dist/collection/utils/interactive.js +43 -0
  567. package/dist/collection/utils/key.js +1 -0
  568. package/dist/collection/utils/label.js +39 -6
  569. package/dist/collection/utils/locale.js +10 -1
  570. package/dist/collection/utils/math.js +1 -0
  571. package/dist/collection/utils/number.js +2 -1
  572. package/dist/collection/utils/observers.js +1 -0
  573. package/dist/collection/utils/popper.js +81 -0
  574. package/dist/collection/utils/resources.js +1 -0
  575. package/dist/collection/utils/time.js +1 -0
  576. package/dist/components/ExpandToggle.js +1 -0
  577. package/dist/components/Heading.js +1 -0
  578. package/dist/components/action-group.js +4 -4
  579. package/dist/components/action-menu.js +6 -6
  580. package/dist/components/action.js +9 -5
  581. package/dist/components/array.js +1 -0
  582. package/dist/components/button.js +19 -15
  583. package/dist/components/calcite-accordion-item.js +4 -4
  584. package/dist/components/calcite-accordion.js +4 -4
  585. package/dist/components/calcite-action-bar.js +8 -15
  586. package/dist/components/calcite-action-group.js +1 -0
  587. package/dist/components/calcite-action-menu.js +1 -0
  588. package/dist/components/calcite-action-pad.js +7 -17
  589. package/dist/components/calcite-action.js +1 -0
  590. package/dist/components/calcite-alert.js +4 -4
  591. package/dist/components/calcite-avatar.js +4 -4
  592. package/dist/components/calcite-block-section.js +4 -4
  593. package/dist/components/calcite-block.js +18 -9
  594. package/dist/components/calcite-button.js +1 -0
  595. package/dist/components/calcite-card.js +4 -4
  596. package/dist/components/calcite-checkbox.js +1 -0
  597. package/dist/components/calcite-chip.js +1 -0
  598. package/dist/components/calcite-color-picker-hex-input.js +1 -0
  599. package/dist/components/calcite-color-picker-swatch.js +1 -0
  600. package/dist/components/calcite-color-picker.js +33 -24
  601. package/dist/components/calcite-combobox-item-group.js +5 -5
  602. package/dist/components/calcite-combobox-item.js +10 -6
  603. package/dist/components/calcite-combobox.js +108 -70
  604. package/dist/components/calcite-date-picker-day.js +1 -0
  605. package/dist/components/calcite-date-picker-month-header.js +1 -0
  606. package/dist/components/calcite-date-picker-month.js +1 -0
  607. package/dist/components/calcite-date-picker.js +1 -0
  608. package/dist/components/calcite-dropdown-group.js +4 -4
  609. package/dist/components/calcite-dropdown-item.js +15 -9
  610. package/dist/components/calcite-dropdown.js +1 -0
  611. package/dist/components/calcite-fab.js +14 -5
  612. package/dist/components/calcite-filter.js +1 -0
  613. package/dist/components/calcite-flow.js +4 -4
  614. package/dist/components/calcite-graph.js +1 -0
  615. package/dist/components/calcite-handle.js +1 -0
  616. package/dist/components/calcite-icon.js +1 -0
  617. package/dist/components/calcite-inline-editable.js +14 -12
  618. package/dist/components/calcite-input-date-picker.js +58 -20
  619. package/dist/components/calcite-input-message.js +4 -4
  620. package/dist/components/calcite-input-time-picker.js +28 -6
  621. package/dist/components/calcite-input.js +1 -0
  622. package/dist/components/calcite-label.js +1 -0
  623. package/dist/components/calcite-link.js +1 -0
  624. package/dist/components/calcite-list-item-group.js +4 -4
  625. package/dist/components/calcite-list-item.js +23 -8
  626. package/dist/components/calcite-list.js +24 -5
  627. package/dist/components/calcite-loader.js +1 -0
  628. package/dist/components/calcite-modal.js +5 -5
  629. package/dist/components/calcite-notice.js +4 -4
  630. package/dist/components/calcite-option-group.js +4 -4
  631. package/dist/components/calcite-option.js +4 -4
  632. package/dist/components/calcite-pagination.js +4 -4
  633. package/dist/components/calcite-panel.js +16 -7
  634. package/dist/components/calcite-pick-list-group.js +5 -14
  635. package/dist/components/calcite-pick-list-item.js +1 -0
  636. package/dist/components/calcite-pick-list.js +9 -5
  637. package/dist/components/calcite-popover-manager.js +4 -4
  638. package/dist/components/calcite-popover.js +1 -0
  639. package/dist/components/calcite-progress.js +1 -0
  640. package/dist/components/calcite-radio-button-group.js +4 -4
  641. package/dist/components/calcite-radio-button.js +9 -5
  642. package/dist/components/calcite-radio-group-item.js +4 -4
  643. package/dist/components/calcite-radio-group.js +10 -6
  644. package/dist/components/calcite-rating.js +14 -8
  645. package/dist/components/calcite-scrim.js +1 -0
  646. package/dist/components/calcite-select.js +9 -5
  647. package/dist/components/calcite-shell-center-row.js +4 -4
  648. package/dist/components/calcite-shell-panel.js +4 -4
  649. package/dist/components/calcite-shell.js +4 -4
  650. package/dist/components/calcite-slider.js +93 -62
  651. package/dist/components/calcite-sortable-list.js +9 -5
  652. package/dist/components/calcite-split-button.js +30 -7
  653. package/dist/components/calcite-stepper-item.js +13 -8
  654. package/dist/components/calcite-stepper.js +4 -4
  655. package/dist/components/calcite-switch.js +1 -0
  656. package/dist/components/calcite-tab-nav.js +1 -0
  657. package/dist/components/calcite-tab-title.js +1 -0
  658. package/dist/components/calcite-tab.js +1 -0
  659. package/dist/components/calcite-tabs.js +1 -0
  660. package/dist/components/calcite-tile-select-group.js +18 -5
  661. package/dist/components/calcite-tile-select.js +9 -5
  662. package/dist/components/calcite-tile.js +1 -0
  663. package/dist/components/calcite-time-picker.js +1 -0
  664. package/dist/components/calcite-tip-group.js +4 -4
  665. package/dist/components/calcite-tip-manager.js +6 -6
  666. package/dist/components/calcite-tip.js +5 -5
  667. package/dist/components/calcite-tooltip-manager.js +1 -0
  668. package/dist/components/calcite-tooltip.js +10 -6
  669. package/dist/components/calcite-tree-item.js +4 -59
  670. package/dist/components/calcite-tree.js +60 -5
  671. package/dist/components/calcite-value-list-item.js +9 -5
  672. package/dist/components/calcite-value-list.js +15 -11
  673. package/dist/components/checkbox.js +9 -5
  674. package/dist/components/chip.js +4 -4
  675. package/dist/components/color-picker-hex-input.js +42 -52
  676. package/dist/components/color-picker-swatch.js +43 -36
  677. package/dist/components/conditionalSlot.js +1 -0
  678. package/dist/components/date-picker-day.js +13 -6
  679. package/dist/components/date-picker-month-header.js +31 -23
  680. package/dist/components/date-picker-month.js +4 -4
  681. package/dist/components/date-picker.js +4 -4
  682. package/dist/components/date.js +1 -0
  683. package/dist/components/debounce.js +1 -0
  684. package/dist/components/dom.js +8 -1
  685. package/dist/components/dropdown.js +61 -38
  686. package/dist/components/filter.js +57 -32
  687. package/dist/components/forIn.js +1 -0
  688. package/dist/components/form.js +1 -0
  689. package/dist/components/graph.js +4 -4
  690. package/dist/components/guid.js +1 -0
  691. package/dist/components/handle.js +4 -4
  692. package/dist/components/icon.js +4 -4
  693. package/dist/components/index.d.ts +1 -1
  694. package/dist/components/index.js +1 -0
  695. package/dist/components/input.js +10 -6
  696. package/dist/components/interactive.js +43 -0
  697. package/dist/components/interfaces.js +1 -0
  698. package/dist/components/interfaces2.js +1 -0
  699. package/dist/components/label.js +40 -7
  700. package/dist/components/label2.js +17 -6
  701. package/dist/components/link.js +10 -6
  702. package/dist/components/loader.js +4 -4
  703. package/dist/components/locale.js +10 -1
  704. package/dist/components/math.js +1 -0
  705. package/dist/components/number.js +2 -1
  706. package/dist/components/observers.js +1 -0
  707. package/dist/components/pick-list-item.js +9 -8
  708. package/dist/components/popover.js +29 -12
  709. package/dist/components/popper.js +41 -3
  710. package/dist/components/progress.js +4 -4
  711. package/dist/components/resources.js +3 -1
  712. package/dist/components/resources2.js +1 -0
  713. package/dist/components/resources3.js +1 -0
  714. package/dist/components/resources4.js +6 -22
  715. package/dist/components/resources5.js +33 -0
  716. package/dist/components/scrim.js +4 -4
  717. package/dist/components/shared-list-render.js +38 -13
  718. package/dist/components/sortable.esm.js +63 -54
  719. package/dist/components/switch.js +10 -13
  720. package/dist/components/tab-nav.js +39 -23
  721. package/dist/components/tab-title.js +37 -28
  722. package/dist/components/tab.js +16 -18
  723. package/dist/components/tabs.js +4 -7
  724. package/dist/components/tile.js +9 -5
  725. package/dist/components/time-picker.js +5 -11
  726. package/dist/components/tooltip-manager.js +5 -9
  727. package/dist/components/utils.js +1 -0
  728. package/dist/components/utils2.js +2 -2
  729. package/dist/custom-elements/index.js +1251 -732
  730. package/dist/esm/{ExpandToggle-ed0ae55a.js → ExpandToggle-847b61ba.js} +5 -4
  731. package/dist/esm/{Heading-8289fa96.js → Heading-f4ee0499.js} +2 -1
  732. package/dist/esm/{array-91a648e2.js → array-328a8961.js} +1 -0
  733. package/dist/esm/calcite-accordion_2.entry.js +6 -5
  734. package/dist/esm/calcite-action-bar.entry.js +15 -21
  735. package/dist/esm/calcite-action-group.entry.js +9 -8
  736. package/dist/esm/calcite-action-menu.entry.js +11 -10
  737. package/dist/esm/calcite-action-pad.entry.js +13 -22
  738. package/dist/esm/calcite-action.entry.js +9 -4
  739. package/dist/esm/calcite-alert.entry.js +6 -5
  740. package/dist/esm/calcite-avatar.entry.js +6 -5
  741. package/dist/esm/calcite-block_2.entry.js +23 -13
  742. package/dist/esm/calcite-button.entry.js +22 -17
  743. package/dist/esm/calcite-card.entry.js +7 -6
  744. package/dist/esm/calcite-checkbox.entry.js +12 -7
  745. package/dist/esm/calcite-chip.entry.js +7 -6
  746. package/dist/esm/calcite-color-picker_3.entry.js +113 -107
  747. package/dist/esm/calcite-combobox_3.entry.js +119 -77
  748. package/dist/esm/calcite-date-picker_4.entry.js +48 -32
  749. package/dist/esm/calcite-dropdown_3.entry.js +75 -46
  750. package/dist/esm/calcite-fab.entry.js +15 -5
  751. package/dist/esm/calcite-filter.entry.js +54 -16
  752. package/dist/esm/calcite-flow.entry.js +4 -3
  753. package/dist/esm/calcite-graph_2.entry.js +99 -67
  754. package/dist/esm/calcite-handle.entry.js +3 -2
  755. package/dist/esm/calcite-icon.entry.js +6 -5
  756. package/dist/esm/calcite-inline-editable.entry.js +17 -14
  757. package/dist/esm/calcite-input-date-picker.entry.js +62 -25
  758. package/dist/esm/calcite-input-message.entry.js +5 -4
  759. package/dist/esm/calcite-input-time-picker_2.entry.js +33 -17
  760. package/dist/esm/calcite-input.entry.js +17 -12
  761. package/dist/esm/calcite-label.entry.js +18 -4
  762. package/dist/esm/calcite-link.entry.js +11 -6
  763. package/dist/esm/calcite-list_3.entry.js +47 -14
  764. package/dist/esm/calcite-loader.entry.js +4 -3
  765. package/dist/esm/calcite-modal.entry.js +8 -7
  766. package/dist/esm/calcite-notice.entry.js +8 -7
  767. package/dist/esm/calcite-option_3.entry.js +15 -10
  768. package/dist/esm/calcite-pagination.entry.js +3 -2
  769. package/dist/esm/calcite-panel.entry.js +21 -11
  770. package/dist/esm/calcite-pick-list_3.entry.js +22 -27
  771. package/dist/esm/calcite-popover_2.entry.js +32 -13
  772. package/dist/esm/calcite-progress.entry.js +3 -2
  773. package/dist/esm/calcite-radio-button-group.entry.js +4 -3
  774. package/dist/esm/calcite-radio-button.entry.js +13 -8
  775. package/dist/esm/calcite-radio-group_2.entry.js +14 -9
  776. package/dist/esm/calcite-rating.entry.js +17 -10
  777. package/dist/esm/calcite-scrim.entry.js +3 -2
  778. package/dist/esm/calcite-shell_3.entry.js +10 -9
  779. package/dist/esm/calcite-sortable-list.entry.js +10 -5
  780. package/dist/esm/calcite-split-button.entry.js +28 -4
  781. package/dist/esm/calcite-stepper_2.entry.js +14 -8
  782. package/dist/esm/calcite-switch.entry.js +13 -14
  783. package/dist/esm/calcite-tab_4.entry.js +85 -65
  784. package/dist/esm/calcite-tile-select_2.entry.js +22 -6
  785. package/dist/esm/calcite-tile.entry.js +12 -7
  786. package/dist/esm/calcite-tip_3.entry.js +11 -10
  787. package/dist/esm/calcite-tooltip_2.entry.js +14 -13
  788. package/dist/esm/calcite-tree_2.entry.js +63 -62
  789. package/dist/esm/calcite-value-list_2.entry.js +25 -16
  790. package/dist/esm/calcite.js +4 -3
  791. package/dist/esm/{conditionalSlot-c4b6c8b1.js → conditionalSlot-a8a2c2f8.js} +3 -2
  792. package/dist/esm/{debounce-79648d42.js → debounce-f689f579.js} +1 -0
  793. package/dist/esm/{dom-e7fa77b9.js → dom-0dcd3a1e.js} +9 -2
  794. package/dist/esm/{forIn-48d8fb84.js → forIn-8f588c7b.js} +2 -1
  795. package/dist/esm/{form-d07b2414.js → form-2b88b33a.js} +3 -2
  796. package/dist/esm/{guid-196bd5ea.js → guid-174508ff.js} +1 -0
  797. package/dist/esm/{index-0fefddd1.js → index-221092de.js} +5 -1
  798. package/dist/esm/index.js +1 -0
  799. package/dist/esm/interactive-b11a6c05.js +43 -0
  800. package/dist/esm/{interfaces-0e5b954c.js → interfaces-2bc002ac.js} +1 -0
  801. package/dist/esm/{label-2bffc9f4.js → label-2dac3c62.js} +41 -8
  802. package/dist/esm/loader.js +4 -3
  803. package/dist/esm/{locale-fc850b7c.js → locale-9c18bf7f.js} +11 -2
  804. package/dist/esm/{math-456207f5.js → math-4cd9449e.js} +1 -0
  805. package/dist/esm/{number-8779395f.js → number-a39356c7.js} +2 -1
  806. package/dist/esm/{observers-46118290.js → observers-232c6ed6.js} +1 -0
  807. package/dist/esm/{popper-ae231554.js → popper-66bcddc6.js} +42 -4
  808. package/dist/esm/{resources-966bb21a.js → resources-762aa55a.js} +49 -15
  809. package/dist/esm/{resources-431fa051.js → resources-886efb7e.js} +3 -2
  810. package/dist/esm/{resources-027bd8f9.js → resources-8ade5fae.js} +1 -0
  811. package/dist/esm/{resources-34334875.js → resources-df870d40.js} +1 -0
  812. package/dist/esm/{sortable.esm-04824d33.js → sortable.esm-0891f88f.js} +63 -54
  813. package/dist/esm/{utils-e84055a3.js → utils-79203b5b.js} +1 -0
  814. package/dist/esm-es5/{ExpandToggle-ed0ae55a.js → ExpandToggle-847b61ba.js} +2 -1
  815. package/dist/esm-es5/{Heading-8289fa96.js → Heading-f4ee0499.js} +2 -1
  816. package/dist/esm-es5/{array-91a648e2.js → array-328a8961.js} +1 -0
  817. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -1
  818. package/dist/esm-es5/calcite-action-bar.entry.js +2 -1
  819. package/dist/esm-es5/calcite-action-group.entry.js +2 -1
  820. package/dist/esm-es5/calcite-action-menu.entry.js +3 -2
  821. package/dist/esm-es5/calcite-action-pad.entry.js +3 -2
  822. package/dist/esm-es5/calcite-action.entry.js +2 -1
  823. package/dist/esm-es5/calcite-alert.entry.js +2 -1
  824. package/dist/esm-es5/calcite-avatar.entry.js +2 -1
  825. package/dist/esm-es5/calcite-block_2.entry.js +2 -1
  826. package/dist/esm-es5/calcite-button.entry.js +2 -1
  827. package/dist/esm-es5/calcite-card.entry.js +2 -1
  828. package/dist/esm-es5/calcite-checkbox.entry.js +2 -1
  829. package/dist/esm-es5/calcite-chip.entry.js +2 -1
  830. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -1
  831. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -2
  832. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -1
  833. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -1
  834. package/dist/esm-es5/calcite-fab.entry.js +3 -2
  835. package/dist/esm-es5/calcite-filter.entry.js +2 -1
  836. package/dist/esm-es5/calcite-flow.entry.js +2 -1
  837. package/dist/esm-es5/calcite-graph_2.entry.js +2 -1
  838. package/dist/esm-es5/calcite-handle.entry.js +2 -1
  839. package/dist/esm-es5/calcite-icon.entry.js +2 -1
  840. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -1
  841. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -1
  842. package/dist/esm-es5/calcite-input-message.entry.js +2 -1
  843. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +3 -2
  844. package/dist/esm-es5/calcite-input.entry.js +2 -1
  845. package/dist/esm-es5/calcite-label.entry.js +2 -1
  846. package/dist/esm-es5/calcite-link.entry.js +3 -2
  847. package/dist/esm-es5/calcite-list_3.entry.js +3 -2
  848. package/dist/esm-es5/calcite-loader.entry.js +2 -1
  849. package/dist/esm-es5/calcite-modal.entry.js +2 -1
  850. package/dist/esm-es5/calcite-notice.entry.js +3 -2
  851. package/dist/esm-es5/calcite-option_3.entry.js +3 -2
  852. package/dist/esm-es5/calcite-pagination.entry.js +2 -1
  853. package/dist/esm-es5/calcite-panel.entry.js +3 -2
  854. package/dist/esm-es5/calcite-pick-list_3.entry.js +3 -2
  855. package/dist/esm-es5/calcite-popover_2.entry.js +3 -2
  856. package/dist/esm-es5/calcite-progress.entry.js +2 -1
  857. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -1
  858. package/dist/esm-es5/calcite-radio-button.entry.js +2 -1
  859. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -1
  860. package/dist/esm-es5/calcite-rating.entry.js +3 -2
  861. package/dist/esm-es5/calcite-scrim.entry.js +2 -1
  862. package/dist/esm-es5/calcite-shell_3.entry.js +2 -1
  863. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -1
  864. package/dist/esm-es5/calcite-split-button.entry.js +2 -1
  865. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -1
  866. package/dist/esm-es5/calcite-switch.entry.js +2 -1
  867. package/dist/esm-es5/calcite-tab_4.entry.js +3 -2
  868. package/dist/esm-es5/calcite-tile-select_2.entry.js +3 -2
  869. package/dist/esm-es5/calcite-tile.entry.js +2 -1
  870. package/dist/esm-es5/calcite-tip_3.entry.js +2 -1
  871. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -2
  872. package/dist/esm-es5/calcite-tree_2.entry.js +2 -1
  873. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -1
  874. package/dist/esm-es5/calcite.js +2 -1
  875. package/dist/esm-es5/{conditionalSlot-c4b6c8b1.js → conditionalSlot-a8a2c2f8.js} +2 -1
  876. package/dist/esm-es5/{debounce-79648d42.js → debounce-f689f579.js} +1 -0
  877. package/dist/esm-es5/{dom-e7fa77b9.js → dom-0dcd3a1e.js} +2 -1
  878. package/dist/esm-es5/{forIn-48d8fb84.js → forIn-8f588c7b.js} +2 -1
  879. package/dist/esm-es5/{form-d07b2414.js → form-2b88b33a.js} +2 -1
  880. package/dist/esm-es5/{guid-196bd5ea.js → guid-174508ff.js} +1 -0
  881. package/dist/esm-es5/{index-0fefddd1.js → index-221092de.js} +2 -1
  882. package/dist/esm-es5/index.js +1 -0
  883. package/dist/esm-es5/interactive-b11a6c05.js +6 -0
  884. package/dist/esm-es5/{interfaces-0e5b954c.js → interfaces-2bc002ac.js} +1 -0
  885. package/dist/esm-es5/label-2dac3c62.js +6 -0
  886. package/dist/esm-es5/loader.js +2 -1
  887. package/dist/esm-es5/locale-9c18bf7f.js +6 -0
  888. package/dist/esm-es5/{math-456207f5.js → math-4cd9449e.js} +1 -0
  889. package/dist/esm-es5/number-a39356c7.js +6 -0
  890. package/dist/esm-es5/{observers-46118290.js → observers-232c6ed6.js} +1 -0
  891. package/dist/esm-es5/popper-66bcddc6.js +6 -0
  892. package/dist/esm-es5/resources-762aa55a.js +6 -0
  893. package/dist/esm-es5/{resources-431fa051.js → resources-886efb7e.js} +2 -1
  894. package/dist/esm-es5/{resources-027bd8f9.js → resources-8ade5fae.js} +1 -0
  895. package/dist/esm-es5/{resources-34334875.js → resources-df870d40.js} +1 -0
  896. package/dist/esm-es5/sortable.esm-0891f88f.js +12 -0
  897. package/dist/esm-es5/{utils-e84055a3.js → utils-79203b5b.js} +1 -0
  898. package/dist/extras/docs-json.json +236 -43
  899. package/dist/loader/cdn.js +1 -0
  900. package/dist/loader/index.cjs.js +1 -0
  901. package/dist/loader/index.es2017.js +1 -0
  902. package/dist/loader/index.js +1 -0
  903. package/dist/types/components/action/action.d.ts +3 -1
  904. package/dist/types/components/action-bar/action-bar.d.ts +1 -1
  905. package/dist/types/components/action-menu/action-menu.d.ts +2 -3
  906. package/dist/types/components/action-pad/action-pad.d.ts +0 -1
  907. package/dist/types/components/block/block.d.ts +3 -1
  908. package/dist/types/components/button/button.d.ts +4 -2
  909. package/dist/types/components/checkbox/checkbox.d.ts +3 -1
  910. package/dist/types/components/color-picker/color-picker.d.ts +9 -1
  911. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -0
  912. package/dist/types/components/combobox/combobox.d.ts +15 -6
  913. package/dist/types/components/combobox/resources.d.ts +0 -1
  914. package/dist/types/components/combobox-item/combobox-item.d.ts +3 -1
  915. package/dist/types/components/date-picker-day/date-picker-day.d.ts +4 -1
  916. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +3 -1
  917. package/dist/types/components/dropdown/dropdown.d.ts +14 -4
  918. package/dist/types/components/dropdown/interfaces.d.ts +0 -2
  919. package/dist/types/components/dropdown/resources.d.ts +0 -1
  920. package/dist/types/components/dropdown-item/dropdown-item.d.ts +2 -0
  921. package/dist/types/components/fab/fab.d.ts +3 -1
  922. package/dist/types/components/filter/filter.d.ts +7 -4
  923. package/dist/types/components/filter/resources.d.ts +1 -0
  924. package/dist/types/components/inline-editable/inline-editable.d.ts +4 -1
  925. package/dist/types/components/input/input.d.ts +3 -1
  926. package/dist/types/components/input-date-picker/input-date-picker.d.ts +17 -2
  927. package/dist/types/components/input-time-picker/input-time-picker.d.ts +11 -1
  928. package/dist/types/components/label/label.d.ts +7 -1
  929. package/dist/types/components/link/link.d.ts +3 -1
  930. package/dist/types/components/list/list.d.ts +7 -1
  931. package/dist/types/components/list-item/list-item.d.ts +3 -1
  932. package/dist/types/components/list-item/resources.d.ts +1 -0
  933. package/dist/types/components/panel/panel.d.ts +3 -1
  934. package/dist/types/components/pick-list/pick-list.d.ts +3 -1
  935. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
  936. package/dist/types/components/pick-list-item/pick-list-item.d.ts +4 -2
  937. package/dist/types/components/popover/popover.d.ts +7 -3
  938. package/dist/types/components/popover/resources.d.ts +1 -0
  939. package/dist/types/components/radio-button/radio-button.d.ts +3 -1
  940. package/dist/types/components/radio-group/radio-group.d.ts +3 -1
  941. package/dist/types/components/rating/rating.d.ts +3 -1
  942. package/dist/types/components/select/select.d.ts +3 -1
  943. package/dist/types/components/slider/slider.d.ts +9 -5
  944. package/dist/types/components/sortable-list/sortable-list.d.ts +3 -1
  945. package/dist/types/components/split-button/split-button.d.ts +5 -1
  946. package/dist/types/components/stepper-item/stepper-item.d.ts +3 -1
  947. package/dist/types/components/switch/switch.d.ts +3 -4
  948. package/dist/types/components/tab/tab.d.ts +5 -6
  949. package/dist/types/components/tab-nav/tab-nav.d.ts +23 -21
  950. package/dist/types/components/tab-title/tab-title.d.ts +19 -20
  951. package/dist/types/components/tabs/tabs.d.ts +1 -4
  952. package/dist/types/components/tile/tile.d.ts +3 -1
  953. package/dist/types/components/tile-select/tile-select.d.ts +3 -1
  954. package/dist/types/components/tile-select-group/tile-select-group.d.ts +6 -1
  955. package/dist/types/components/time-picker/time-picker.d.ts +0 -1
  956. package/dist/types/components/tip-manager/tip-manager.d.ts +1 -1
  957. package/dist/types/components/tree/tree.d.ts +1 -0
  958. package/dist/types/components/value-list/value-list.d.ts +4 -1
  959. package/dist/types/components/value-list-item/value-list-item.d.ts +4 -2
  960. package/dist/types/components.d.ts +87 -18
  961. package/dist/types/preact.d.ts +92 -90
  962. package/dist/types/utils/dom.d.ts +2 -2
  963. package/dist/types/utils/interactive.d.ts +28 -0
  964. package/dist/types/utils/label.d.ts +3 -1
  965. package/dist/types/utils/locale.d.ts +1 -0
  966. package/dist/types/utils/popper.d.ts +9 -1
  967. package/hydrate/index.d.ts +1 -1
  968. package/hydrate/index.js +1166 -642
  969. package/package.json +41 -42
  970. package/readme.md +2 -3
  971. package/dist/calcite/p-00d4b36e.entry.js +0 -5
  972. package/dist/calcite/p-02a3ad67.entry.js +0 -5
  973. package/dist/calcite/p-02b4bcec.entry.js +0 -5
  974. package/dist/calcite/p-02cc50b9.entry.js +0 -5
  975. package/dist/calcite/p-03a6680c.entry.js +0 -5
  976. package/dist/calcite/p-11413626.system.entry.js +0 -5
  977. package/dist/calcite/p-12a4eac6.system.entry.js +0 -5
  978. package/dist/calcite/p-1370cabf.entry.js +0 -5
  979. package/dist/calcite/p-13e36552.system.entry.js +0 -5
  980. package/dist/calcite/p-1a34e1df.system.entry.js +0 -5
  981. package/dist/calcite/p-1a3a366d.system.js +0 -5
  982. package/dist/calcite/p-1fe5a777.entry.js +0 -5
  983. package/dist/calcite/p-26bcdb22.entry.js +0 -5
  984. package/dist/calcite/p-2a3d08b7.entry.js +0 -5
  985. package/dist/calcite/p-2c293ed2.entry.js +0 -5
  986. package/dist/calcite/p-2fbc2a9b.system.entry.js +0 -5
  987. package/dist/calcite/p-313fa6fa.system.entry.js +0 -5
  988. package/dist/calcite/p-33cff2d9.js +0 -5
  989. package/dist/calcite/p-35461165.system.entry.js +0 -5
  990. package/dist/calcite/p-362522e5.js +0 -5
  991. package/dist/calcite/p-383b48a0.system.entry.js +0 -5
  992. package/dist/calcite/p-38c4fbab.system.entry.js +0 -5
  993. package/dist/calcite/p-3955bdff.entry.js +0 -5
  994. package/dist/calcite/p-3a7606c8.entry.js +0 -5
  995. package/dist/calcite/p-3e522dbe.entry.js +0 -5
  996. package/dist/calcite/p-417c7d5d.entry.js +0 -5
  997. package/dist/calcite/p-43ec3d32.system.entry.js +0 -5
  998. package/dist/calcite/p-44dcac16.entry.js +0 -5
  999. package/dist/calcite/p-458933db.system.entry.js +0 -5
  1000. package/dist/calcite/p-55fa7908.entry.js +0 -5
  1001. package/dist/calcite/p-5a4b0056.system.entry.js +0 -5
  1002. package/dist/calcite/p-5a7b1bd1.system.entry.js +0 -5
  1003. package/dist/calcite/p-5c425028.entry.js +0 -5
  1004. package/dist/calcite/p-5ea8668d.entry.js +0 -5
  1005. package/dist/calcite/p-5ecd3b72.system.entry.js +0 -5
  1006. package/dist/calcite/p-633a2c7f.entry.js +0 -5
  1007. package/dist/calcite/p-673a3cd9.entry.js +0 -5
  1008. package/dist/calcite/p-6a3357f9.system.js +0 -5
  1009. package/dist/calcite/p-71d1bfb2.entry.js +0 -5
  1010. package/dist/calcite/p-743597e4.entry.js +0 -5
  1011. package/dist/calcite/p-75d8fd87.system.entry.js +0 -5
  1012. package/dist/calcite/p-783bfba1.entry.js +0 -5
  1013. package/dist/calcite/p-7863deb5.entry.js +0 -5
  1014. package/dist/calcite/p-793659d0.entry.js +0 -5
  1015. package/dist/calcite/p-7a0e8fab.system.entry.js +0 -5
  1016. package/dist/calcite/p-7ccf6273.entry.js +0 -5
  1017. package/dist/calcite/p-7d9f20b8.entry.js +0 -5
  1018. package/dist/calcite/p-7dfe915f.entry.js +0 -5
  1019. package/dist/calcite/p-80ab216e.entry.js +0 -5
  1020. package/dist/calcite/p-818b3ac7.entry.js +0 -5
  1021. package/dist/calcite/p-81a3de30.system.entry.js +0 -5
  1022. package/dist/calcite/p-81f7b919.entry.js +0 -5
  1023. package/dist/calcite/p-82c142d8.entry.js +0 -5
  1024. package/dist/calcite/p-84f8db8e.entry.js +0 -5
  1025. package/dist/calcite/p-874ac36f.entry.js +0 -5
  1026. package/dist/calcite/p-8f3a3e4e.js +0 -5
  1027. package/dist/calcite/p-8f93be14.system.js +0 -5
  1028. package/dist/calcite/p-93bf2f70.entry.js +0 -5
  1029. package/dist/calcite/p-993a9701.system.entry.js +0 -5
  1030. package/dist/calcite/p-99da584e.system.entry.js +0 -5
  1031. package/dist/calcite/p-9a7c4812.js +0 -5
  1032. package/dist/calcite/p-9c86f528.entry.js +0 -5
  1033. package/dist/calcite/p-9cfa3928.entry.js +0 -5
  1034. package/dist/calcite/p-9d102b23.system.entry.js +0 -5
  1035. package/dist/calcite/p-9f2e3d1e.entry.js +0 -5
  1036. package/dist/calcite/p-a5397c9d.entry.js +0 -5
  1037. package/dist/calcite/p-a5e8d728.entry.js +0 -5
  1038. package/dist/calcite/p-a7e2bf9b.system.entry.js +0 -5
  1039. package/dist/calcite/p-ac9607f2.system.js +0 -11
  1040. package/dist/calcite/p-b03b03d5.entry.js +0 -5
  1041. package/dist/calcite/p-b55643f5.entry.js +0 -5
  1042. package/dist/calcite/p-b58cdaca.entry.js +0 -5
  1043. package/dist/calcite/p-b76ee102.system.entry.js +0 -5
  1044. package/dist/calcite/p-b85064fc.entry.js +0 -5
  1045. package/dist/calcite/p-bac18793.system.entry.js +0 -5
  1046. package/dist/calcite/p-bb401f25.system.js +0 -5
  1047. package/dist/calcite/p-bfaed65e.entry.js +0 -5
  1048. package/dist/calcite/p-c0e695bd.js +0 -5
  1049. package/dist/calcite/p-c5ec8d74.js +0 -11
  1050. package/dist/calcite/p-c6851d0b.system.entry.js +0 -5
  1051. package/dist/calcite/p-cc894f09.entry.js +0 -5
  1052. package/dist/calcite/p-d08d1450.entry.js +0 -5
  1053. package/dist/calcite/p-d359def7.system.entry.js +0 -5
  1054. package/dist/calcite/p-d44165c7.entry.js +0 -5
  1055. package/dist/calcite/p-d4ba6e66.entry.js +0 -5
  1056. package/dist/calcite/p-d648a677.entry.js +0 -5
  1057. package/dist/calcite/p-d7395b71.system.entry.js +0 -5
  1058. package/dist/calcite/p-da78fbb6.system.entry.js +0 -5
  1059. package/dist/calcite/p-daf1d0cf.system.js +0 -5
  1060. package/dist/calcite/p-dc9ff95e.system.entry.js +0 -5
  1061. package/dist/calcite/p-dcf17450.system.entry.js +0 -5
  1062. package/dist/calcite/p-dd9f2e61.js +0 -5
  1063. package/dist/calcite/p-e2047621.system.js +0 -5
  1064. package/dist/calcite/p-e23de208.entry.js +0 -5
  1065. package/dist/calcite/p-e5c3f4f6.system.entry.js +0 -5
  1066. package/dist/calcite/p-e7dd0a9f.entry.js +0 -5
  1067. package/dist/calcite/p-e88fd904.system.entry.js +0 -5
  1068. package/dist/calcite/p-ec9bab33.system.js +0 -5
  1069. package/dist/calcite/p-eeb91710.js +0 -5
  1070. package/dist/calcite/p-ef6b4184.js +0 -5
  1071. package/dist/calcite/p-efb21590.system.entry.js +0 -5
  1072. package/dist/calcite/p-f20b0a41.system.entry.js +0 -5
  1073. package/dist/calcite/p-f31de031.system.entry.js +0 -5
  1074. package/dist/calcite/p-f542ba26.entry.js +0 -5
  1075. package/dist/calcite/p-f681fbba.entry.js +0 -5
  1076. package/dist/calcite/p-f6d994ff.entry.js +0 -5
  1077. package/dist/calcite/p-f9d1a58e.entry.js +0 -5
  1078. package/dist/calcite/p-fd0d5d44.system.entry.js +0 -5
  1079. package/dist/esm-es5/label-2bffc9f4.js +0 -5
  1080. package/dist/esm-es5/locale-fc850b7c.js +0 -5
  1081. package/dist/esm-es5/number-8779395f.js +0 -5
  1082. package/dist/esm-es5/popper-ae231554.js +0 -5
  1083. package/dist/esm-es5/resources-966bb21a.js +0 -5
  1084. package/dist/esm-es5/sortable.esm-04824d33.js +0 -11
@@ -1,13 +1,15 @@
1
1
  /*!
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
+ * v1.0.0-beta.81
4
5
  */
5
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-0fefddd1.js';
6
- import { f as focusElement, b as getThemeName } from './dom-e7fa77b9.js';
7
- import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, h as hexToRGB, b as hexChar } from './utils-e84055a3.js';
8
- import { c as clamp } from './math-456207f5.js';
9
- import { d as debounce, i as isObject } from './debounce-79648d42.js';
10
- import './guid-196bd5ea.js';
6
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-221092de.js';
7
+ import { a as getElementDir, f as focusElement, b as getThemeName } from './dom-0dcd3a1e.js';
8
+ import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-79203b5b.js';
9
+ import { c as clamp } from './math-4cd9449e.js';
10
+ import { u as updateHostInteraction } from './interactive-b11a6c05.js';
11
+ import { d as debounce, i as isObject } from './debounce-f689f579.js';
12
+ import './guid-174508ff.js';
11
13
 
12
14
  /** Error message constants. */
13
15
  var FUNC_ERROR_TEXT = 'Expected a function';
@@ -1716,7 +1718,6 @@ models.forEach(fromModel => {
1716
1718
  });
1717
1719
  var colorConvert = convert;
1718
1720
 
1719
- const _slice = [].slice;
1720
1721
  const skippedModels = [// To be honest, I don't really feel like keyword belongs in color convert, but eh.
1721
1722
  'keyword', // Gray conflicts with some method names, and has its own method defined.
1722
1723
  'gray', // Shouldn't really be in color-convert either...
@@ -1724,7 +1725,7 @@ const skippedModels = [// To be honest, I don't really feel like keyword belongs
1724
1725
  const hashedModelKeys = {};
1725
1726
 
1726
1727
  for (const model of Object.keys(colorConvert)) {
1727
- hashedModelKeys[_slice.call(colorConvert[model].labels).sort().join('')] = model;
1728
+ hashedModelKeys[[...colorConvert[model].labels].sort().join('')] = model;
1728
1729
  }
1729
1730
 
1730
1731
  const limiters = {};
@@ -1752,7 +1753,7 @@ function Color(object, model) {
1752
1753
  this.valpha = 1;
1753
1754
  } else if (object instanceof Color) {
1754
1755
  this.model = object.model;
1755
- this.color = object.color.slice();
1756
+ this.color = [...object.color];
1756
1757
  this.valpha = object.valpha;
1757
1758
  } else if (typeof object === 'string') {
1758
1759
  const result = colorString.get(object);
@@ -1768,9 +1769,7 @@ function Color(object, model) {
1768
1769
  } else if (object.length > 0) {
1769
1770
  this.model = model || 'rgb';
1770
1771
  channels = colorConvert[this.model].channels;
1771
-
1772
- const newArray = _slice.call(object, 0, channels);
1773
-
1772
+ const newArray = Array.prototype.slice.call(object, 0, channels);
1774
1773
  this.color = zeroArray(newArray, channels);
1775
1774
  this.valpha = typeof object[channels] === 'number' ? object[channels] : 1;
1776
1775
  } else if (typeof object === 'number') {
@@ -1794,7 +1793,9 @@ function Color(object, model) {
1794
1793
  }
1795
1794
 
1796
1795
  this.model = hashedModelKeys[hashedKeys];
1797
- const labels = colorConvert[this.model].labels;
1796
+ const {
1797
+ labels
1798
+ } = colorConvert[this.model];
1798
1799
  const color = [];
1799
1800
 
1800
1801
  for (i = 0; i < labels.length; i++) {
@@ -1836,24 +1837,28 @@ Color.prototype = {
1836
1837
  string(places) {
1837
1838
  let self = this.model in colorString.to ? this : this.rgb();
1838
1839
  self = self.round(typeof places === 'number' ? places : 1);
1839
- const args = self.valpha === 1 ? self.color : self.color.concat(this.valpha);
1840
+ const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
1840
1841
  return colorString.to[self.model](args);
1841
1842
  },
1842
1843
 
1843
1844
  percentString(places) {
1844
1845
  const self = this.rgb().round(typeof places === 'number' ? places : 1);
1845
- const args = self.valpha === 1 ? self.color : self.color.concat(this.valpha);
1846
+ const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
1846
1847
  return colorString.to.rgb.percent(args);
1847
1848
  },
1848
1849
 
1849
1850
  array() {
1850
- return this.valpha === 1 ? this.color.slice() : this.color.concat(this.valpha);
1851
+ return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];
1851
1852
  },
1852
1853
 
1853
1854
  object() {
1854
1855
  const result = {};
1855
- const channels = colorConvert[this.model].channels;
1856
- const labels = colorConvert[this.model].labels;
1856
+ const {
1857
+ channels
1858
+ } = colorConvert[this.model];
1859
+ const {
1860
+ labels
1861
+ } = colorConvert[this.model];
1857
1862
 
1858
1863
  for (let i = 0; i < channels; i++) {
1859
1864
  result[labels[i]] = this.color[i];
@@ -1894,12 +1899,12 @@ Color.prototype = {
1894
1899
 
1895
1900
  round(places) {
1896
1901
  places = Math.max(places || 0, 0);
1897
- return new Color(this.color.map(roundToPlace(places)).concat(this.valpha), this.model);
1902
+ return new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);
1898
1903
  },
1899
1904
 
1900
1905
  alpha(value) {
1901
- if (arguments.length > 0) {
1902
- return new Color(this.color.concat(Math.max(0, Math.min(1, value))), this.model);
1906
+ if (value !== undefined) {
1907
+ return new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);
1903
1908
  }
1904
1909
 
1905
1910
  return this.valpha;
@@ -1922,15 +1927,15 @@ Color.prototype = {
1922
1927
  magenta: getset('cmyk', 1, maxfn(100)),
1923
1928
  yellow: getset('cmyk', 2, maxfn(100)),
1924
1929
  black: getset('cmyk', 3, maxfn(100)),
1925
- x: getset('xyz', 0, maxfn(100)),
1930
+ x: getset('xyz', 0, maxfn(95.047)),
1926
1931
  y: getset('xyz', 1, maxfn(100)),
1927
- z: getset('xyz', 2, maxfn(100)),
1932
+ z: getset('xyz', 2, maxfn(108.833)),
1928
1933
  l: getset('lab', 0, maxfn(100)),
1929
1934
  a: getset('lab', 1),
1930
1935
  b: getset('lab', 2),
1931
1936
 
1932
1937
  keyword(value) {
1933
- if (arguments.length > 0) {
1938
+ if (value !== undefined) {
1934
1939
  return new Color(value);
1935
1940
  }
1936
1941
 
@@ -1938,7 +1943,7 @@ Color.prototype = {
1938
1943
  },
1939
1944
 
1940
1945
  hex(value) {
1941
- if (arguments.length > 0) {
1946
+ if (value !== undefined) {
1942
1947
  return new Color(value);
1943
1948
  }
1944
1949
 
@@ -1946,7 +1951,7 @@ Color.prototype = {
1946
1951
  },
1947
1952
 
1948
1953
  hexa(value) {
1949
- if (arguments.length > 0) {
1954
+ if (value !== undefined) {
1950
1955
  return new Color(value);
1951
1956
  }
1952
1957
 
@@ -1972,7 +1977,7 @@ Color.prototype = {
1972
1977
 
1973
1978
  for (const [i, element] of rgb.entries()) {
1974
1979
  const chan = element / 255;
1975
- lum[i] = chan <= 0.03928 ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;
1980
+ lum[i] = chan <= 0.04045 ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;
1976
1981
  }
1977
1982
 
1978
1983
  return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];
@@ -1991,9 +1996,10 @@ Color.prototype = {
1991
1996
  },
1992
1997
 
1993
1998
  level(color2) {
1999
+ // https://www.w3.org/TR/WCAG/#contrast-enhanced
1994
2000
  const contrastRatio = this.contrast(color2);
1995
2001
 
1996
- if (contrastRatio >= 7.1) {
2002
+ if (contrastRatio >= 7) {
1997
2003
  return 'AAA';
1998
2004
  }
1999
2005
 
@@ -2003,7 +2009,7 @@ Color.prototype = {
2003
2009
  isDark() {
2004
2010
  // YIQ equation from http://24ways.org/2010/calculating-color-contrast
2005
2011
  const rgb = this.rgb().color;
2006
- const yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;
2012
+ const yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;
2007
2013
  return yiq < 128;
2008
2014
  },
2009
2015
 
@@ -2105,25 +2111,28 @@ for (const model of Object.keys(colorConvert)) {
2105
2111
  continue;
2106
2112
  }
2107
2113
 
2108
- const channels = colorConvert[model].channels; // Conversion methods
2114
+ const {
2115
+ channels
2116
+ } = colorConvert[model]; // Conversion methods
2109
2117
 
2110
- Color.prototype[model] = function () {
2118
+ Color.prototype[model] = function (...args) {
2111
2119
  if (this.model === model) {
2112
2120
  return new Color(this);
2113
2121
  }
2114
2122
 
2115
- if (arguments.length > 0) {
2116
- return new Color(arguments, model);
2123
+ if (args.length > 0) {
2124
+ return new Color(args, model);
2117
2125
  }
2118
2126
 
2119
- const newAlpha = typeof arguments[channels] === 'number' ? channels : this.valpha;
2120
- return new Color(assertArray(colorConvert[this.model][model].raw(this.color)).concat(newAlpha), model);
2127
+ return new Color([...assertArray(colorConvert[this.model][model].raw(this.color)), this.valpha], model);
2121
2128
  }; // 'static' construction methods
2122
2129
 
2123
2130
 
2124
- Color[model] = function (color) {
2131
+ Color[model] = function (...args) {
2132
+ let color = args[0];
2133
+
2125
2134
  if (typeof color === 'number') {
2126
- color = zeroArray(_slice.call(arguments), channels);
2135
+ color = zeroArray(args, channels);
2127
2136
  }
2128
2137
 
2129
2138
  return new Color(color, model);
@@ -2151,7 +2160,7 @@ function getset(model, channel, modifier) {
2151
2160
  return function (value) {
2152
2161
  let result;
2153
2162
 
2154
- if (arguments.length > 0) {
2163
+ if (value !== undefined) {
2155
2164
  if (modifier) {
2156
2165
  value = modifier(value);
2157
2166
  }
@@ -2294,12 +2303,12 @@ const DIMENSIONS = {
2294
2303
  }
2295
2304
  };
2296
2305
 
2297
- const colorPickerCss = "@-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:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .container{width:160px}:host([scale=s]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}:host([scale=s]) .channels{-ms-flex-direction:column;flex-direction:column}:host([scale=s]) .channel{width:100%;margin-bottom:4px}:host([scale=s]) .channel:last-child{margin-bottom:0}:host([scale=m]) .container{width:272px}:host([scale=l]) .header{padding-bottom:0px}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{width:464px}:host([scale=l]) .color-field-and-slider{margin-bottom:-20px}:host([scale=l]) .section{padding:0 16px 16px}:host([scale=l]) .section:first-of-type{padding-top:16px}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(28px, 1fr));grid-gap:12px;padding-top:16px}:host([scale=l]) .control-section{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:baseline;align-items:baseline}:host([scale=l]) .control-section>:nth-child(2){-webkit-margin-start:12px;margin-inline-start:12px}:host([scale=l]) .color-hex-options{display:-ms-flexbox;display:flex;-ms-flex-negative:1;flex-shrink:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;min-height:98px;width:160px}:host([scale=l]) .color-mode-container{-ms-flex-negative:3;flex-shrink:3}:host([appearance=minimal]) .container{border:none}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.color-field-and-slider-wrap{position:relative}.scope{pointer-events:none;position:absolute;margin-bottom:0px;margin-right:0px;height:0.5rem;width:0.5rem;padding:0px;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;margin-top:-0.25rem;margin-left:-0.25rem;outline-offset:10px}.scope:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:12px}.color-field-and-slider{margin-bottom:-16px}.color-field-and-slider--interactive{cursor:pointer}.control-section{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.section{padding:0 12px 12px}.section:first-of-type{padding-top:12px}.color-hex-options,.section--split{-ms-flex-positive:1;flex-grow:1}.header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:0.25rem;color:var(--calcite-ui-text-1)}.header--hex,.color-mode-container{padding-top:12px}.channels{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.channel{width:31%}.saved-colors{padding-top:12px;display:grid;grid-template-columns:repeat(auto-fill, minmax(24px, 1fr));grid-gap:8px;width:100%}.saved-colors-buttons{display:-ms-flexbox;display:flex}.saved-color{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{-webkit-transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}";
2306
+ const colorPickerCss = "@-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:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]) .container{width:160px}:host([scale=s]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}:host([scale=s]) .channels{-ms-flex-direction:column;flex-direction:column}:host([scale=s]) .channel{width:100%;margin-bottom:4px}:host([scale=s]) .channel:last-child{margin-bottom:0}:host([scale=m]) .container{width:272px}:host([scale=l]) .header{padding-bottom:0px}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{width:464px}:host([scale=l]) .color-field-and-slider{margin-bottom:-20px}:host([scale=l]) .section{padding:0 16px 16px}:host([scale=l]) .section:first-of-type{padding-top:16px}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(28px, 1fr));grid-gap:12px;padding-top:16px}:host([scale=l]) .control-section{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:baseline;align-items:baseline}:host([scale=l]) .control-section>:nth-child(2){-webkit-margin-start:12px;margin-inline-start:12px}:host([scale=l]) .color-hex-options{display:-ms-flexbox;display:flex;-ms-flex-negative:1;flex-shrink:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;min-height:98px;width:160px}:host([scale=l]) .color-mode-container{-ms-flex-negative:3;flex-shrink:3}:host([appearance=minimal]) .container{border:none}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.color-field-and-slider-wrap{position:relative}.scope{pointer-events:none;position:absolute;margin-bottom:0px;margin-right:0px;height:0.5rem;width:0.5rem;padding:0px;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;margin-top:-0.25rem;margin-left:-0.25rem;outline-offset:10px}.scope:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:12px}.color-field-and-slider{margin-bottom:-16px}.color-field-and-slider--interactive{cursor:pointer}.control-section{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.section{padding:0 12px 12px}.section:first-of-type{padding-top:12px}.color-hex-options,.section--split{-ms-flex-positive:1;flex-grow:1}.header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:0.25rem;color:var(--calcite-ui-text-1)}.header--hex,.color-mode-container{padding-top:12px}.channels{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.channel{width:31%}.saved-colors{padding-top:12px;display:grid;grid-template-columns:repeat(auto-fill, minmax(24px, 1fr));grid-gap:8px;width:100%}.saved-colors-buttons{display:-ms-flexbox;display:flex}.saved-color{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{-webkit-transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}";
2298
2307
 
2299
2308
  const throttleFor60FpsInMs = 16;
2300
2309
  const defaultValue = normalizeHex(DEFAULT_COLOR$1.hex());
2301
2310
  const defaultFormat = "auto";
2302
- let ColorPicker = class {
2311
+ const ColorPicker = class {
2303
2312
  constructor(hostRef) {
2304
2313
  registerInstance(this, hostRef);
2305
2314
  this.calciteColorPickerChange = createEvent(this, "calciteColorPickerChange", 7);
@@ -2323,6 +2332,10 @@ let ColorPicker = class {
2323
2332
  * @internal
2324
2333
  */
2325
2334
  this.color = DEFAULT_COLOR$1;
2335
+ /**
2336
+ * When true, disabled prevents user interaction.
2337
+ */
2338
+ this.disabled = false;
2326
2339
  /**
2327
2340
  * The format of the value property.
2328
2341
  *
@@ -2546,10 +2559,12 @@ let ColorPicker = class {
2546
2559
  if (region === "color-field") {
2547
2560
  this.hueThumbState = "drag";
2548
2561
  this.captureColorFieldColor(offsetX, offsetY);
2562
+ this.colorFieldScopeNode.focus();
2549
2563
  }
2550
2564
  else if (region === "slider") {
2551
2565
  this.sliderThumbState = "drag";
2552
2566
  this.captureHueSliderColor(offsetX);
2567
+ this.hueScopeNode.focus();
2553
2568
  }
2554
2569
  // prevent text selection outside of color field & slider area
2555
2570
  event.preventDefault();
@@ -2668,6 +2683,9 @@ let ColorPicker = class {
2668
2683
  this.storeColorFieldScope = (node) => {
2669
2684
  this.colorFieldScopeNode = node;
2670
2685
  };
2686
+ this.storeHueScope = (node) => {
2687
+ this.hueScopeNode = node;
2688
+ };
2671
2689
  this.renderChannelsTabTitle = (channelMode) => {
2672
2690
  const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
2673
2691
  const active = channelMode === activeChannelMode;
@@ -2682,9 +2700,12 @@ let ColorPicker = class {
2682
2700
  const channelAriaLabels = isRgb
2683
2701
  ? [intlRed, intlGreen, intlBlue]
2684
2702
  : [intlHue, intlSaturation, intlValue];
2685
- return (h("calcite-tab", { active: active, class: CSS$2.control, key: channelMode }, h("div", { class: CSS$2.channels }, channels.map((channel, index) => this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index])))));
2703
+ const direction = getElementDir(this.el);
2704
+ return (h("calcite-tab", { active: active, class: CSS$2.control, key: channelMode }, h("div", { class: CSS$2.channels, dir: "ltr" }, channels.map((channel, index) =>
2705
+ /* the channel container is ltr, so we apply the host's direction */
2706
+ this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
2686
2707
  };
2687
- this.renderChannel = (value, index, label, ariaLabel) => (h("calcite-input", { class: CSS$2.channel, "data-channel-index": index, label: ariaLabel, numberButtonType: "none", onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
2708
+ this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$2.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
2688
2709
  this.deleteColor = () => {
2689
2710
  const colorToDelete = this.color.hex();
2690
2711
  const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
@@ -2739,14 +2760,10 @@ let ColorPicker = class {
2739
2760
  this.drawColorFieldAndSlider();
2740
2761
  this.updateChannelsFromColor(color);
2741
2762
  this.previousColor = oldColor;
2742
- if (this.internalColorUpdateContext) {
2743
- return;
2744
- }
2745
- this.value = this.toValue(color);
2746
2763
  }
2747
2764
  handleFormatChange(format) {
2748
2765
  this.setMode(format);
2749
- this.value = this.toValue(this.color);
2766
+ this.internalColorSet(this.color, false, "internal");
2750
2767
  }
2751
2768
  handleScaleChange(scale = "m") {
2752
2769
  this.updateDimensions(scale);
@@ -2766,10 +2783,10 @@ let ColorPicker = class {
2766
2783
  this.setMode(nextMode);
2767
2784
  }
2768
2785
  const dragging = this.sliderThumbState === "drag" || this.hueThumbState === "drag";
2769
- if (this.internalColorUpdateContext) {
2770
- if (this.internalColorUpdateContext === "initial") {
2771
- return;
2772
- }
2786
+ if (this.internalColorUpdateContext === "initial") {
2787
+ return;
2788
+ }
2789
+ if (this.internalColorUpdateContext === "user-interaction") {
2773
2790
  this.calciteColorPickerInput.emit();
2774
2791
  if (!dragging) {
2775
2792
  this.calciteColorPickerChange.emit();
@@ -2779,11 +2796,7 @@ let ColorPicker = class {
2779
2796
  const color$1 = allowEmpty && !value ? null : color(value);
2780
2797
  const colorChanged = !colorEqual(color$1, this.color);
2781
2798
  if (modeChanged || colorChanged) {
2782
- this.color = color$1;
2783
- this.calciteColorPickerInput.emit();
2784
- if (!dragging) {
2785
- this.calciteColorPickerChange.emit();
2786
- }
2799
+ this.internalColorSet(color$1, true, "internal");
2787
2800
  }
2788
2801
  }
2789
2802
  //--------------------------------------------------------------------------
@@ -2853,6 +2866,9 @@ let ColorPicker = class {
2853
2866
  document.removeEventListener("mousemove", this.globalMouseMoveHandler);
2854
2867
  document.removeEventListener("mouseup", this.globalMouseUpHandler);
2855
2868
  }
2869
+ componentDidRender() {
2870
+ updateHostInteraction(this);
2871
+ }
2856
2872
  //--------------------------------------------------------------------------
2857
2873
  //
2858
2874
  // Render Methods
@@ -2870,7 +2886,7 @@ let ColorPicker = class {
2870
2886
  return (h("div", { class: CSS$2.container }, h("div", { class: CSS$2.colorFieldAndSliderWrap }, h("canvas", { class: {
2871
2887
  [CSS$2.colorFieldAndSlider]: true,
2872
2888
  [CSS$2.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
2873
- }, onMouseDown: this.handleColorFieldAndSliderMouseDown, onMouseEnter: this.handleColorFieldAndSliderMouseEnterOrMove, onMouseLeave: this.handleColorFieldAndSliderMouseLeave, onMouseMove: this.handleColorFieldAndSliderMouseEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$2.scope]: true, [CSS$2.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$2.scope]: true, [CSS$2.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (h("div", { class: {
2889
+ }, onMouseDown: this.handleColorFieldAndSliderMouseDown, onMouseEnter: this.handleColorFieldAndSliderMouseEnterOrMove, onMouseLeave: this.handleColorFieldAndSliderMouseLeave, onMouseMove: this.handleColorFieldAndSliderMouseEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$2.scope]: true, [CSS$2.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$2.scope]: true, [CSS$2.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (h("div", { class: {
2874
2890
  [CSS$2.controlSection]: true,
2875
2891
  [CSS$2.section]: true
2876
2892
  } }, hideHex ? null : (h("div", { class: CSS$2.hexOptions }, h("span", { class: {
@@ -2909,7 +2925,7 @@ let ColorPicker = class {
2909
2925
  }
2910
2926
  return "none";
2911
2927
  }
2912
- internalColorSet(color, skipEqual = true, context = "internal") {
2928
+ internalColorSet(color, skipEqual = true, context = "user-interaction") {
2913
2929
  if (skipEqual && colorEqual(color, this.color)) {
2914
2930
  return;
2915
2931
  }
@@ -3067,7 +3083,7 @@ const CSS$1 = {
3067
3083
  const colorPickerHexInputCss = "@-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}.container{display:inline-grid;width:100%;-ms-flex-align:center;align-items:center;grid-template-columns:1fr auto}.preview{grid-column:2/3;pointer-events:none;margin-top:0px;margin-bottom:0px;margin-left:0.25rem;margin-right:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;z-index:1}.preview,.input{grid-row:1}.input{grid-column:1/3;width:100%;text-transform:uppercase}";
3068
3084
 
3069
3085
  const DEFAULT_COLOR = color();
3070
- let ColorPickerHexInput = class {
3086
+ const ColorPickerHexInput = class {
3071
3087
  constructor(hostRef) {
3072
3088
  registerInstance(this, hostRef);
3073
3089
  this.calciteColorPickerHexInputChange = createEvent(this, "calciteColorPickerHexInputChange", 7);
@@ -3115,32 +3131,13 @@ let ColorPickerHexInput = class {
3115
3131
  : this.formatForInternalInput(rgbToHex(this.internalColor.object()));
3116
3132
  };
3117
3133
  this.onInputChange = () => {
3118
- const inputValue = this.inputNode.value;
3119
- let value;
3120
- if (inputValue) {
3121
- const hex = inputValue;
3122
- const color = hexToRGB(`#${hex}`);
3123
- if (!color) {
3124
- return;
3125
- }
3126
- value = normalizeHex(hex);
3127
- }
3128
- else if (this.allowEmpty) {
3129
- value = null;
3130
- }
3131
- this.value = value;
3132
- this.calciteColorPickerHexInputChange.emit();
3134
+ this.internalSetValue(this.inputNode.value, this.value);
3133
3135
  };
3134
3136
  /**
3135
3137
  * The last valid/selected color. Used as a fallback if an invalid hex code is entered.
3136
3138
  */
3137
3139
  this.internalColor = DEFAULT_COLOR;
3138
3140
  this.previousNonNullValue = this.value;
3139
- //--------------------------------------------------------------------------
3140
- //
3141
- // Private Methods
3142
- //
3143
- //--------------------------------------------------------------------------
3144
3141
  this.storeInputRef = (node) => {
3145
3142
  this.inputNode = node;
3146
3143
  };
@@ -3155,38 +3152,16 @@ let ColorPickerHexInput = class {
3155
3152
  if (value) {
3156
3153
  const normalized = normalizeHex(value);
3157
3154
  if (isValidHex(normalized)) {
3158
- this.internalColor = color(normalized);
3159
- this.value = normalized;
3155
+ this.internalSetValue(normalized, normalized, false);
3160
3156
  }
3161
3157
  return;
3162
3158
  }
3163
3159
  if (allowEmpty) {
3164
- this.internalColor = null;
3165
- this.value = null;
3160
+ this.internalSetValue(null, null, false);
3166
3161
  }
3167
3162
  }
3168
3163
  handleValueChange(value, oldValue) {
3169
- if (value) {
3170
- const normalized = normalizeHex(value);
3171
- if (isValidHex(normalized)) {
3172
- const { internalColor } = this;
3173
- const changed = !internalColor || normalized !== normalizeHex(internalColor.hex());
3174
- this.internalColor = color(normalized);
3175
- this.previousNonNullValue = normalized;
3176
- this.value = normalized;
3177
- if (changed) {
3178
- this.calciteColorPickerHexInputChange.emit();
3179
- }
3180
- return;
3181
- }
3182
- }
3183
- else if (this.allowEmpty) {
3184
- this.internalColor = null;
3185
- this.value = null;
3186
- this.calciteColorPickerHexInputChange.emit();
3187
- return;
3188
- }
3189
- this.value = oldValue;
3164
+ this.internalSetValue(value, oldValue, false);
3190
3165
  }
3191
3166
  // using @Listen as a workaround for VDOM listener not firing
3192
3167
  onInputKeyDown(event) {
@@ -3198,15 +3173,16 @@ let ColorPickerHexInput = class {
3198
3173
  return;
3199
3174
  }
3200
3175
  const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
3176
+ const oldValue = this.value;
3201
3177
  if (isNudgeKey) {
3202
3178
  if (!value) {
3203
- this.value = this.previousNonNullValue;
3179
+ this.internalSetValue(this.previousNonNullValue, oldValue);
3204
3180
  event.preventDefault();
3205
3181
  return;
3206
3182
  }
3207
3183
  const direction = key === "ArrowUp" ? 1 : -1;
3208
3184
  const bump = shiftKey ? 10 : 1;
3209
- this.value = normalizeHex(this.nudgeRGBChannels(internalColor, bump * direction).hex());
3185
+ this.internalSetValue(normalizeHex(this.nudgeRGBChannels(internalColor, bump * direction).hex()), oldValue);
3210
3186
  event.preventDefault();
3211
3187
  return;
3212
3188
  }
@@ -3236,6 +3212,36 @@ let ColorPickerHexInput = class {
3236
3212
  async setFocus() {
3237
3213
  focusElement(this.inputNode);
3238
3214
  }
3215
+ //--------------------------------------------------------------------------
3216
+ //
3217
+ // Private Methods
3218
+ //
3219
+ //--------------------------------------------------------------------------
3220
+ internalSetValue(value, oldValue, emit = true) {
3221
+ if (value) {
3222
+ const normalized = normalizeHex(value);
3223
+ if (isValidHex(normalized)) {
3224
+ const { internalColor } = this;
3225
+ const changed = !internalColor || normalized !== normalizeHex(internalColor.hex());
3226
+ this.internalColor = color(normalized);
3227
+ this.previousNonNullValue = normalized;
3228
+ this.value = normalized;
3229
+ if (changed && emit) {
3230
+ this.calciteColorPickerHexInputChange.emit();
3231
+ }
3232
+ return;
3233
+ }
3234
+ }
3235
+ else if (this.allowEmpty) {
3236
+ this.internalColor = null;
3237
+ this.value = null;
3238
+ if (emit) {
3239
+ this.calciteColorPickerHexInputChange.emit();
3240
+ }
3241
+ return;
3242
+ }
3243
+ this.value = oldValue;
3244
+ }
3239
3245
  formatForInternalInput(hex) {
3240
3246
  return hex ? hex.replace("#", "") : "";
3241
3247
  }
@@ -3260,7 +3266,7 @@ const COLORS = {
3260
3266
 
3261
3267
  const colorPickerSwatchCss = "@-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{position:relative;display:-ms-inline-flexbox;display:inline-flex}:host([scale=s]){height:1.25rem;width:1.25rem}:host([scale=m]){height:1.5rem;width:1.5rem}:host([scale=l]){height:2rem;width:2rem}.swatch{overflow:visible;height:inherit;width:inherit}.swatch rect{-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)}.no-color-icon{position:absolute;top:0px;right:0px;bottom:0px;left:0px;height:100%;width:100%}";
3262
3268
 
3263
- let ColorPickerSwatch = class {
3269
+ const ColorPickerSwatch = class {
3264
3270
  constructor(hostRef) {
3265
3271
  registerInstance(this, hostRef);
3266
3272
  //--------------------------------------------------------------------------