@esri/calcite-components 1.0.0-beta.80 → 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 (858) hide show
  1. package/dist/calcite/assets/icon/fileEcd16.json +1 -0
  2. package/dist/calcite/assets/icon/fileEcd24.json +1 -0
  3. package/dist/calcite/assets/icon/fileEcd32.json +1 -0
  4. package/dist/calcite/calcite.esm.js +2 -1
  5. package/dist/calcite/calcite.js +1 -1
  6. package/dist/calcite/index.esm.js +1 -0
  7. package/dist/calcite/{p-c228a1da.system.entry.js → p-023a27d2.system.entry.js} +2 -1
  8. package/dist/calcite/{p-cafd98e8.entry.js → p-045f28b2.entry.js} +2 -1
  9. package/dist/calcite/p-0a6b6898.system.entry.js +6 -0
  10. package/dist/calcite/{p-f68725d7.entry.js → p-0ba791df.entry.js} +2 -1
  11. package/dist/calcite/{p-dcf33bb2.js → p-0ee86cc3.js} +2 -1
  12. package/dist/calcite/{p-97904e9a.entry.js → p-0f0713c7.entry.js} +2 -1
  13. package/dist/calcite/{p-afe59546.entry.js → p-0f8c3ea0.entry.js} +2 -1
  14. package/dist/calcite/{p-5a8829cd.entry.js → p-1084cd40.entry.js} +2 -1
  15. package/dist/calcite/{p-569150ab.system.entry.js → p-117836c2.system.entry.js} +2 -1
  16. package/dist/calcite/{p-2dd22e8c.system.entry.js → p-14be4304.system.entry.js} +2 -1
  17. package/dist/calcite/{p-a7770d75.entry.js → p-14ca50d9.entry.js} +2 -1
  18. package/dist/calcite/p-181bd093.entry.js +6 -0
  19. package/dist/calcite/{p-5394666a.entry.js → p-1866c3d6.entry.js} +2 -1
  20. package/dist/calcite/{p-cd9226a1.system.entry.js → p-19987cfa.system.entry.js} +3 -2
  21. package/dist/calcite/{p-05bf835f.js → p-1b7e43a7.js} +2 -1
  22. package/dist/calcite/{p-55e1a3a0.system.entry.js → p-1d0db848.system.entry.js} +2 -1
  23. package/dist/calcite/{p-963e9aec.system.entry.js → p-1d3ba736.system.entry.js} +2 -1
  24. package/dist/calcite/{p-34730e94.entry.js → p-21461822.entry.js} +2 -1
  25. package/dist/calcite/{p-765c9bef.entry.js → p-22e1813c.entry.js} +2 -1
  26. package/dist/calcite/{p-b9a38a28.system.entry.js → p-2363fc48.system.entry.js} +3 -2
  27. package/dist/calcite/p-23c9c6f9.js +12 -0
  28. package/dist/calcite/{p-a117af56.system.js → p-24db2b0a.system.js} +1 -0
  29. package/dist/calcite/{p-65dbbfb5.system.js → p-26fc61bb.system.js} +1 -0
  30. package/dist/calcite/p-2789e3e2.system.js +6 -0
  31. package/dist/calcite/{p-69d2d9cf.system.entry.js → p-2a4bbfa2.system.entry.js} +2 -1
  32. package/dist/calcite/p-2bcf0f54.js +6 -0
  33. package/dist/calcite/{p-824da4be.entry.js → p-2c0fdd49.entry.js} +2 -1
  34. package/dist/calcite/{p-7ed4c551.system.js → p-2f07bcb4.system.js} +1 -0
  35. package/dist/calcite/{p-9ad8c7c5.system.entry.js → p-2f42b00e.system.entry.js} +2 -1
  36. package/dist/calcite/{p-6e0103f5.system.entry.js → p-300c0203.system.entry.js} +2 -1
  37. package/dist/calcite/{p-0a5d059d.js → p-3113528a.js} +1 -0
  38. package/dist/calcite/{p-3b4662a5.entry.js → p-3119474f.entry.js} +2 -1
  39. package/dist/calcite/{p-8e0dd0af.system.entry.js → p-329ade24.system.entry.js} +2 -1
  40. package/dist/calcite/{p-9c913e3a.entry.js → p-33391f44.entry.js} +2 -1
  41. package/dist/calcite/{p-6a541e77.system.js → p-3412c57d.system.js} +2 -1
  42. package/dist/calcite/{p-3e149640.system.entry.js → p-34a92432.system.entry.js} +2 -1
  43. package/dist/calcite/{p-31c58f25.entry.js → p-34cf7a42.entry.js} +2 -1
  44. package/dist/calcite/{p-c2caeb2a.system.entry.js → p-3b38f3f5.system.entry.js} +2 -1
  45. package/dist/calcite/{p-28c333d0.entry.js → p-3b6e600a.entry.js} +2 -1
  46. package/dist/calcite/p-3c732519.entry.js +6 -0
  47. package/dist/calcite/{p-8ab345f2.js → p-3ceba891.js} +2 -1
  48. package/dist/calcite/p-3e5f8e93.system.entry.js +6 -0
  49. package/dist/calcite/{p-c9fc13b9.system.entry.js → p-3ebff946.system.entry.js} +2 -1
  50. package/dist/calcite/p-40334853.system.js +6 -0
  51. package/dist/calcite/{p-1aded388.system.entry.js → p-40a15f4a.system.entry.js} +2 -1
  52. package/dist/calcite/p-4275a429.system.js +6 -0
  53. package/dist/calcite/{p-e66a8ca1.system.entry.js → p-44f00a2a.system.entry.js} +2 -1
  54. package/dist/calcite/p-469490f8.js +6 -0
  55. package/dist/calcite/{p-7432e5ef.system.entry.js → p-47913e44.system.entry.js} +2 -1
  56. package/dist/calcite/p-482956de.entry.js +6 -0
  57. package/dist/calcite/{p-e43605c5.entry.js → p-48aa73e5.entry.js} +2 -1
  58. package/dist/calcite/p-4a543a6e.entry.js +6 -0
  59. package/dist/calcite/{p-1263bcc0.entry.js → p-4b6a7167.entry.js} +2 -1
  60. package/dist/calcite/p-4f04264f.system.entry.js +6 -0
  61. package/dist/calcite/{p-6ed27595.system.entry.js → p-4f443e21.system.entry.js} +2 -1
  62. package/dist/calcite/{p-cc6e7726.entry.js → p-4ff2f38c.entry.js} +2 -1
  63. package/dist/calcite/{p-4afb5a1b.system.entry.js → p-50f49b13.system.entry.js} +2 -1
  64. package/dist/calcite/p-52c9824d.system.entry.js +6 -0
  65. package/dist/calcite/{p-2fae8516.system.entry.js → p-55d64bae.system.entry.js} +2 -1
  66. package/dist/calcite/{p-aad14a5d.system.entry.js → p-5857c533.system.entry.js} +2 -1
  67. package/dist/calcite/{p-7fc69a9d.js → p-5a3414c7.js} +1 -0
  68. package/dist/calcite/{p-e095517f.system.js → p-5dd1e943.system.js} +1 -0
  69. package/dist/calcite/{p-2d09cc25.js → p-5ed8397b.js} +1 -0
  70. package/dist/calcite/{p-cd5f5c8f.js → p-608aaf1d.js} +2 -1
  71. package/dist/calcite/{p-03c92ad2.entry.js → p-609f05ef.entry.js} +2 -1
  72. package/dist/calcite/{p-ee522afa.system.entry.js → p-60f78917.system.entry.js} +2 -1
  73. package/dist/calcite/{p-e020662f.system.js → p-61021069.system.js} +1 -0
  74. package/dist/calcite/p-6294787b.system.js +6 -0
  75. package/dist/calcite/{p-162604a0.entry.js → p-62a93131.entry.js} +2 -1
  76. package/dist/calcite/{p-a9ea7f4f.entry.js → p-6750e68e.entry.js} +2 -1
  77. package/dist/calcite/p-678e83fe.entry.js +6 -0
  78. package/dist/calcite/p-693cc0cd.system.entry.js +6 -0
  79. package/dist/calcite/p-69fdc534.entry.js +6 -0
  80. package/dist/calcite/{p-7260c869.system.entry.js → p-6c9ab1d6.system.entry.js} +2 -1
  81. package/dist/calcite/{p-46071f17.entry.js → p-6ebbdae4.entry.js} +2 -1
  82. package/dist/calcite/{p-6b7b23d0.js → p-7225f4ed.js} +1 -0
  83. package/dist/calcite/{p-3e9d96c6.system.entry.js → p-72ab20ed.system.entry.js} +2 -1
  84. package/dist/calcite/{p-6ab3e489.entry.js → p-7463e93d.entry.js} +2 -1
  85. package/dist/calcite/p-7549f33d.entry.js +6 -0
  86. package/dist/calcite/{p-b2493735.entry.js → p-769054e6.entry.js} +2 -1
  87. package/dist/calcite/{p-78bc502f.entry.js → p-7c32da09.entry.js} +2 -1
  88. package/dist/calcite/{p-02d7cf64.system.entry.js → p-7e9cac29.system.entry.js} +2 -1
  89. package/dist/calcite/{p-3119ffce.system.js → p-7ebc956d.system.js} +1 -0
  90. package/dist/calcite/{p-3c34f20d.system.js → p-8117e07b.system.js} +2 -1
  91. package/dist/calcite/{p-4570cf6c.js → p-82c05795.js} +2 -1
  92. package/dist/calcite/{p-c2adeae4.entry.js → p-8729fefb.entry.js} +2 -1
  93. package/dist/calcite/p-88f476f3.system.entry.js +6 -0
  94. package/dist/calcite/{p-18be4438.entry.js → p-89146101.entry.js} +2 -1
  95. package/dist/calcite/p-8d372581.entry.js +6 -0
  96. package/dist/calcite/{p-496e907a.system.entry.js → p-8d9d8984.system.entry.js} +2 -1
  97. package/dist/calcite/{p-bd38ff21.js → p-90660203.js} +1 -0
  98. package/dist/calcite/{p-614d8925.js → p-941b8b06.js} +2 -1
  99. package/dist/calcite/{p-48637359.system.entry.js → p-948a5bba.system.entry.js} +2 -1
  100. package/dist/calcite/{p-079a3322.js → p-99520e50.js} +1 -0
  101. package/dist/calcite/{p-5958acc8.system.js → p-99bd5049.system.js} +1 -0
  102. package/dist/calcite/p-9b7b6b30.entry.js +6 -0
  103. package/dist/calcite/{p-364db271.entry.js → p-9d488536.entry.js} +2 -1
  104. package/dist/calcite/{p-fa922721.system.js → p-9da64897.system.js} +2 -1
  105. package/dist/calcite/{p-8a7596e3.entry.js → p-a2b46564.entry.js} +2 -1
  106. package/dist/calcite/{p-accdb0ce.js → p-a3478523.js} +1 -0
  107. package/dist/calcite/{p-07f1f162.system.entry.js → p-a4b72090.system.entry.js} +2 -1
  108. package/dist/calcite/{p-63624a01.js → p-a9630b98.js} +1 -0
  109. package/dist/calcite/{p-cb57638c.system.js → p-aad21300.system.js} +2 -1
  110. package/dist/calcite/{p-588bfa74.system.js → p-ae4a167e.system.js} +2 -1
  111. package/dist/calcite/p-af100a3b.entry.js +6 -0
  112. package/dist/calcite/p-b15cde3f.js +6 -0
  113. package/dist/calcite/{p-e55c5bb4.entry.js → p-b3d74df1.entry.js} +2 -1
  114. package/dist/calcite/p-b50b0f92.system.entry.js +6 -0
  115. package/dist/calcite/{p-6fba3e1b.system.entry.js → p-b6dad672.system.entry.js} +2 -1
  116. package/dist/calcite/{p-32d6b962.entry.js → p-bae3c0b1.entry.js} +2 -1
  117. package/dist/calcite/{p-daf5f04c.system.js → p-bc873e26.system.js} +2 -1
  118. package/dist/calcite/{p-052ba882.system.entry.js → p-bddde234.system.entry.js} +2 -1
  119. package/dist/calcite/{p-7b8707b2.system.js → p-be0551f8.system.js} +1 -0
  120. package/dist/calcite/{p-f78023f1.system.js → p-bef4c06f.system.js} +1 -0
  121. package/dist/calcite/{p-e3280a36.system.entry.js → p-c0ab6c20.system.entry.js} +2 -1
  122. package/dist/calcite/{p-b47dc903.system.entry.js → p-c22bd1df.system.entry.js} +2 -1
  123. package/dist/calcite/{p-b2b6f712.js → p-c2770291.js} +2 -1
  124. package/dist/calcite/{p-482885ae.system.entry.js → p-c477a6ac.system.entry.js} +2 -1
  125. package/dist/calcite/{p-bdcb43b1.system.entry.js → p-c62291e6.system.entry.js} +2 -1
  126. package/dist/calcite/p-c66cce4a.js +6 -0
  127. package/dist/calcite/p-c76d5a12.entry.js +6 -0
  128. package/dist/calcite/{p-f344e163.entry.js → p-c82c3a08.entry.js} +2 -1
  129. package/dist/calcite/{p-b0827b8c.system.entry.js → p-c91e5ce6.system.entry.js} +2 -1
  130. package/dist/calcite/{p-ef17447d.system.entry.js → p-cb3633ce.system.entry.js} +2 -1
  131. package/dist/calcite/{p-42227a04.entry.js → p-cc881354.entry.js} +2 -1
  132. package/dist/calcite/{p-a11ee541.system.entry.js → p-ceae054a.system.entry.js} +2 -1
  133. package/dist/calcite/{p-ea4119b1.system.entry.js → p-cec925c5.system.entry.js} +2 -1
  134. package/dist/calcite/{p-32efc4cd.system.entry.js → p-d0ae73bc.system.entry.js} +2 -1
  135. package/dist/calcite/p-d2aad5f9.system.entry.js +6 -0
  136. package/dist/calcite/{p-9385e4b4.system.js → p-d441a36b.system.js} +2 -1
  137. package/dist/calcite/{p-47d38839.entry.js → p-d668cc57.entry.js} +2 -1
  138. package/dist/calcite/p-d7f31cff.system.js +12 -0
  139. package/dist/calcite/{p-b765d197.system.js → p-d8c1d1bb.system.js} +2 -1
  140. package/dist/calcite/p-d9669187.entry.js +6 -0
  141. package/dist/calcite/{p-6c4a7041.system.entry.js → p-da5a9916.system.entry.js} +2 -1
  142. package/dist/calcite/{p-5bb4d012.entry.js → p-daf452fa.entry.js} +2 -1
  143. package/dist/calcite/{p-6b5776af.js → p-db2360e6.js} +1 -0
  144. package/dist/calcite/p-ddc498f5.entry.js +6 -0
  145. package/dist/calcite/{p-4eae61c5.entry.js → p-de040bc0.entry.js} +2 -1
  146. package/dist/calcite/{p-8a63221d.js → p-dfd0c1ce.js} +1 -0
  147. package/dist/calcite/{p-1fc943d5.system.entry.js → p-e131dae7.system.entry.js} +2 -1
  148. package/dist/calcite/{p-a9b3ef39.js → p-e21b549b.js} +2 -1
  149. package/dist/calcite/{p-eb3c084f.system.entry.js → p-e3f1b697.system.entry.js} +2 -1
  150. package/dist/calcite/{p-7bee4942.system.entry.js → p-e4a047e7.system.entry.js} +2 -1
  151. package/dist/calcite/p-e6034e51.entry.js +6 -0
  152. package/dist/calcite/{p-5802a565.entry.js → p-e64fc8d7.entry.js} +2 -1
  153. package/dist/calcite/p-e6b83b93.entry.js +6 -0
  154. package/dist/calcite/{p-4de6f4fd.system.js → p-e837987d.system.js} +1 -0
  155. package/dist/calcite/p-e8698d9f.system.entry.js +6 -0
  156. package/dist/calcite/{p-9940b82a.system.entry.js → p-ea09f02f.system.entry.js} +2 -1
  157. package/dist/calcite/p-eaf8f62d.entry.js +6 -0
  158. package/dist/calcite/{p-edf1e815.system.entry.js → p-ec6942a8.system.entry.js} +2 -1
  159. package/dist/calcite/{p-1d6404b5.system.js → p-ed535fb3.system.js} +1 -0
  160. package/dist/calcite/{p-426f011a.entry.js → p-ef8bcab3.entry.js} +2 -1
  161. package/dist/calcite/p-f3ba8a0a.entry.js +6 -0
  162. package/dist/calcite/{p-cbc6fee6.entry.js → p-f5a00782.entry.js} +2 -1
  163. package/dist/calcite/{p-54c49493.entry.js → p-f753e964.entry.js} +2 -1
  164. package/dist/calcite/{p-c51699d3.system.js → p-f839293b.system.js} +3 -2
  165. package/dist/calcite/{p-7247b667.system.entry.js → p-f89876d3.system.entry.js} +2 -1
  166. package/dist/calcite/{p-b06207bb.js → p-f8d2efa3.js} +1 -0
  167. package/dist/calcite/{p-ac4aec20.system.js → p-fb726bdd.system.js} +1 -0
  168. package/dist/calcite/p-fc2aa57a.system.entry.js +6 -0
  169. package/dist/calcite/{p-9ac86d6a.entry.js → p-ffc13e2d.entry.js} +2 -1
  170. package/dist/calcite/{p-aaa21a84.system.entry.js → p-ffeda3eb.system.entry.js} +2 -1
  171. package/dist/cjs/{ExpandToggle-f7682a15.js → ExpandToggle-e3bd3e9d.js} +5 -4
  172. package/dist/cjs/{Heading-ec707493.js → Heading-b864aca1.js} +2 -1
  173. package/dist/cjs/{array-a5dedf5a.js → array-00db7b4e.js} +1 -0
  174. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -3
  175. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -9
  176. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -7
  177. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -7
  178. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -8
  179. package/dist/cjs/calcite-action.cjs.entry.js +4 -3
  180. package/dist/cjs/calcite-alert.cjs.entry.js +5 -4
  181. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -4
  182. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -7
  183. package/dist/cjs/calcite-button.cjs.entry.js +17 -16
  184. package/dist/cjs/calcite-card.cjs.entry.js +6 -5
  185. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -6
  186. package/dist/cjs/calcite-chip.cjs.entry.js +6 -5
  187. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +96 -103
  188. package/dist/cjs/calcite-combobox_3.cjs.entry.js +86 -48
  189. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +36 -27
  190. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +19 -12
  191. package/dist/cjs/calcite-fab.cjs.entry.js +5 -4
  192. package/dist/cjs/calcite-filter.cjs.entry.js +18 -13
  193. package/dist/cjs/calcite-flow.cjs.entry.js +3 -2
  194. package/dist/cjs/calcite-graph_2.cjs.entry.js +76 -46
  195. package/dist/cjs/calcite-handle.cjs.entry.js +2 -1
  196. package/dist/cjs/calcite-icon.cjs.entry.js +5 -4
  197. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -6
  198. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +37 -20
  199. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -3
  200. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
  201. package/dist/cjs/calcite-input.cjs.entry.js +12 -11
  202. package/dist/cjs/calcite-label.cjs.entry.js +5 -4
  203. package/dist/cjs/calcite-link.cjs.entry.js +5 -4
  204. package/dist/cjs/calcite-list_3.cjs.entry.js +18 -11
  205. package/dist/cjs/calcite-loader.cjs.entry.js +3 -2
  206. package/dist/cjs/calcite-modal.cjs.entry.js +7 -6
  207. package/dist/cjs/calcite-notice.cjs.entry.js +7 -6
  208. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -7
  209. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -1
  210. package/dist/cjs/calcite-panel.cjs.entry.js +10 -9
  211. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -10
  212. package/dist/cjs/calcite-popover_2.cjs.entry.js +22 -8
  213. package/dist/cjs/calcite-progress.cjs.entry.js +2 -1
  214. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -2
  215. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -7
  216. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -6
  217. package/dist/cjs/calcite-rating.cjs.entry.js +7 -6
  218. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -1
  219. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -6
  220. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -4
  221. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -2
  222. package/dist/cjs/calcite-stepper_2.cjs.entry.js +7 -5
  223. package/dist/cjs/calcite-switch.cjs.entry.js +9 -7
  224. package/dist/cjs/calcite-tab_4.cjs.entry.js +76 -59
  225. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -3
  226. package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
  227. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
  228. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -9
  229. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -5
  230. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -10
  231. package/dist/cjs/calcite.cjs.js +4 -3
  232. package/dist/cjs/{conditionalSlot-64f9bfd3.js → conditionalSlot-8468d1b6.js} +3 -2
  233. package/dist/cjs/{debounce-95979061.js → debounce-a29e2f71.js} +1 -0
  234. package/dist/cjs/{dom-f3df220d.js → dom-66c5cb56.js} +9 -2
  235. package/dist/cjs/{forIn-a5d553af.js → forIn-d4941a7b.js} +2 -1
  236. package/dist/cjs/{form-0ef859c8.js → form-cfcc3b12.js} +3 -2
  237. package/dist/cjs/{guid-b270f0db.js → guid-364777e6.js} +1 -0
  238. package/dist/cjs/{index-1af0efd3.js → index-ab066772.js} +1 -0
  239. package/dist/cjs/index.cjs.js +1 -0
  240. package/dist/cjs/{interactive-87406231.js → interactive-3808ad50.js} +1 -0
  241. package/dist/cjs/{interfaces-7216af30.js → interfaces-597482d7.js} +1 -0
  242. package/dist/cjs/{label-980508de.js → label-e53e11ab.js} +2 -1
  243. package/dist/cjs/loader.cjs.js +4 -3
  244. package/dist/cjs/{locale-02462821.js → locale-2f9c939d.js} +11 -2
  245. package/dist/cjs/{math-145c80e2.js → math-b81c3249.js} +1 -0
  246. package/dist/cjs/{number-e813e801.js → number-99949cb0.js} +2 -1
  247. package/dist/cjs/{observers-79bfb8bc.js → observers-2dc895e1.js} +1 -0
  248. package/dist/cjs/{popper-64d89ef7.js → popper-5aeab272.js} +29 -3
  249. package/dist/cjs/{resources-7d5449fb.js → resources-39df6d9b.js} +1 -0
  250. package/dist/cjs/{resources-7811eb2c.js → resources-7b0c6b5a.js} +3 -2
  251. package/dist/cjs/{resources-e43fc9f3.js → resources-9baed1da.js} +5 -4
  252. package/dist/cjs/{resources-ac80e82c.js → resources-ff2cae6a.js} +1 -0
  253. package/dist/cjs/{sortable.esm-d7a4560b.js → sortable.esm-6d0d59e8.js} +63 -54
  254. package/dist/cjs/{utils-6579522f.js → utils-9f674b6a.js} +1 -0
  255. package/dist/collection/collection-manifest.json +1 -1
  256. package/dist/collection/components/accordion/accordion.js +1 -0
  257. package/dist/collection/components/accordion/interfaces.js +1 -0
  258. package/dist/collection/components/accordion-item/accordion-item.js +1 -0
  259. package/dist/collection/components/action/action.js +1 -0
  260. package/dist/collection/components/action/resources.js +1 -0
  261. package/dist/collection/components/action-bar/action-bar.js +1 -0
  262. package/dist/collection/components/action-bar/resources.js +1 -0
  263. package/dist/collection/components/action-bar/utils.js +1 -0
  264. package/dist/collection/components/action-group/action-group.js +1 -0
  265. package/dist/collection/components/action-group/resources.js +1 -0
  266. package/dist/collection/components/action-menu/action-menu.js +1 -0
  267. package/dist/collection/components/action-menu/resources.js +1 -0
  268. package/dist/collection/components/action-pad/action-pad.js +1 -0
  269. package/dist/collection/components/action-pad/resources.js +1 -0
  270. package/dist/collection/components/alert/alert.js +1 -0
  271. package/dist/collection/components/alert/interfaces.js +1 -0
  272. package/dist/collection/components/alert/resources.js +1 -0
  273. package/dist/collection/components/avatar/avatar.js +1 -0
  274. package/dist/collection/components/avatar/utils.js +1 -0
  275. package/dist/collection/components/block/block.js +1 -0
  276. package/dist/collection/components/block/resources.js +1 -0
  277. package/dist/collection/components/block-section/block-section.js +1 -0
  278. package/dist/collection/components/block-section/interfaces.js +1 -0
  279. package/dist/collection/components/block-section/resources.js +1 -0
  280. package/dist/collection/components/button/button.js +14 -12
  281. package/dist/collection/components/button/interfaces.js +1 -0
  282. package/dist/collection/components/button/resources.js +1 -0
  283. package/dist/collection/components/card/card.js +1 -0
  284. package/dist/collection/components/card/resources.js +1 -0
  285. package/dist/collection/components/checkbox/checkbox.js +1 -0
  286. package/dist/collection/components/chip/chip.js +1 -0
  287. package/dist/collection/components/chip/interfaces.js +1 -0
  288. package/dist/collection/components/chip/resources.js +1 -0
  289. package/dist/collection/components/color-picker/color-picker.js +14 -18
  290. package/dist/collection/components/color-picker/interfaces.js +1 -0
  291. package/dist/collection/components/color-picker/resources.js +1 -0
  292. package/dist/collection/components/color-picker/utils.js +1 -0
  293. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +39 -48
  294. package/dist/collection/components/color-picker-hex-input/resources.js +1 -0
  295. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -0
  296. package/dist/collection/components/color-picker-swatch/resources.js +1 -0
  297. package/dist/collection/components/combobox/combobox.js +77 -37
  298. package/dist/collection/components/combobox/interfaces.js +1 -0
  299. package/dist/collection/components/combobox/resources.js +1 -0
  300. package/dist/collection/components/combobox/utils.js +1 -0
  301. package/dist/collection/components/combobox-item/combobox-item.css +1 -1
  302. package/dist/collection/components/combobox-item/combobox-item.js +1 -0
  303. package/dist/collection/components/combobox-item/resources.js +1 -0
  304. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -0
  305. package/dist/collection/components/combobox-item-group/resources.js +1 -0
  306. package/dist/collection/components/date-picker/date-picker.js +1 -0
  307. package/dist/collection/components/date-picker/interfaces.js +1 -0
  308. package/dist/collection/components/date-picker/resources.js +1 -0
  309. package/dist/collection/components/date-picker/utils.js +1 -0
  310. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -0
  311. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -0
  312. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +28 -19
  313. package/dist/collection/components/dropdown/dropdown.js +16 -7
  314. package/dist/collection/components/dropdown/interfaces.js +1 -0
  315. package/dist/collection/components/dropdown/resources.js +1 -0
  316. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -0
  317. package/dist/collection/components/dropdown-group/interfaces.js +1 -0
  318. package/dist/collection/components/dropdown-group/resources.js +1 -0
  319. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -0
  320. package/dist/collection/components/dropdown-item/resources.js +1 -0
  321. package/dist/collection/components/fab/fab.js +1 -0
  322. package/dist/collection/components/fab/resources.js +1 -0
  323. package/dist/collection/components/filter/filter.js +12 -8
  324. package/dist/collection/components/filter/resources.js +2 -0
  325. package/dist/collection/components/flow/flow.js +1 -0
  326. package/dist/collection/components/flow/interfaces.js +1 -0
  327. package/dist/collection/components/flow/resources.js +1 -0
  328. package/dist/collection/components/functional/ExpandToggle.js +1 -0
  329. package/dist/collection/components/functional/Heading.js +1 -0
  330. package/dist/collection/components/graph/graph.js +1 -0
  331. package/dist/collection/components/graph/interfaces.js +1 -0
  332. package/dist/collection/components/graph/util.js +1 -0
  333. package/dist/collection/components/handle/handle.js +1 -0
  334. package/dist/collection/components/handle/resources.js +1 -0
  335. package/dist/collection/components/icon/assets/icon/fileEcd16.json +1 -0
  336. package/dist/collection/components/icon/assets/icon/fileEcd24.json +1 -0
  337. package/dist/collection/components/icon/assets/icon/fileEcd32.json +1 -0
  338. package/dist/collection/components/icon/icon.js +1 -0
  339. package/dist/collection/components/icon/resources.js +1 -0
  340. package/dist/collection/components/icon/utils.js +1 -0
  341. package/dist/collection/components/inline-editable/inline-editable.js +1 -0
  342. package/dist/collection/components/inline-editable/resources.js +1 -0
  343. package/dist/collection/components/input/input.js +2 -1
  344. package/dist/collection/components/input/interfaces.js +1 -0
  345. package/dist/collection/components/input/resources.js +1 -0
  346. package/dist/collection/components/input-date-picker/input-date-picker.js +56 -11
  347. package/dist/collection/components/input-message/input-message.js +1 -0
  348. package/dist/collection/components/input-message/interfaces.js +1 -0
  349. package/dist/collection/components/input-time-picker/input-time-picker.js +33 -1
  350. package/dist/collection/components/interfaces.js +1 -0
  351. package/dist/collection/components/label/label.js +1 -0
  352. package/dist/collection/components/label/resources.js +1 -0
  353. package/dist/collection/components/link/link.js +1 -0
  354. package/dist/collection/components/list/list.js +1 -0
  355. package/dist/collection/components/list/resources.js +1 -0
  356. package/dist/collection/components/list-item/list-item.css +17 -1
  357. package/dist/collection/components/list-item/list-item.js +8 -2
  358. package/dist/collection/components/list-item/resources.js +3 -1
  359. package/dist/collection/components/list-item-group/list-item-group.js +1 -0
  360. package/dist/collection/components/list-item-group/resources.js +1 -0
  361. package/dist/collection/components/loader/loader.js +1 -0
  362. package/dist/collection/components/modal/interfaces.js +1 -0
  363. package/dist/collection/components/modal/modal.js +2 -1
  364. package/dist/collection/components/modal/resources.js +1 -0
  365. package/dist/collection/components/notice/notice.js +1 -0
  366. package/dist/collection/components/notice/resources.js +1 -0
  367. package/dist/collection/components/option/option.js +1 -0
  368. package/dist/collection/components/option-group/option-group.js +1 -0
  369. package/dist/collection/components/pagination/pagination.js +1 -0
  370. package/dist/collection/components/pagination/resources.js +1 -0
  371. package/dist/collection/components/panel/panel.css +0 -3
  372. package/dist/collection/components/panel/panel.js +1 -0
  373. package/dist/collection/components/panel/resources.js +1 -0
  374. package/dist/collection/components/pick-list/pick-list.js +1 -0
  375. package/dist/collection/components/pick-list/resources.js +1 -0
  376. package/dist/collection/components/pick-list/shared-list-logic.js +1 -0
  377. package/dist/collection/components/pick-list/shared-list-render.js +1 -0
  378. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -0
  379. package/dist/collection/components/pick-list-group/resources.js +1 -0
  380. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -0
  381. package/dist/collection/components/pick-list-item/resources.js +1 -0
  382. package/dist/collection/components/popover/popover.js +20 -4
  383. package/dist/collection/components/popover/resources.js +1 -0
  384. package/dist/collection/components/popover-manager/popover-manager.js +1 -0
  385. package/dist/collection/components/progress/progress.js +1 -0
  386. package/dist/collection/components/radio-button/radio-button.js +1 -0
  387. package/dist/collection/components/radio-button/resources.js +1 -0
  388. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -0
  389. package/dist/collection/components/radio-group/interfaces.js +1 -0
  390. package/dist/collection/components/radio-group/radio-group.js +1 -0
  391. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -0
  392. package/dist/collection/components/radio-group-item/resources.js +1 -0
  393. package/dist/collection/components/rating/rating.js +1 -0
  394. package/dist/collection/components/rating/resources.js +1 -0
  395. package/dist/collection/components/scrim/resources.js +1 -0
  396. package/dist/collection/components/scrim/scrim.js +1 -0
  397. package/dist/collection/components/select/resources.js +1 -0
  398. package/dist/collection/components/select/select.js +1 -0
  399. package/dist/collection/components/shell/resources.js +1 -0
  400. package/dist/collection/components/shell/shell.js +1 -0
  401. package/dist/collection/components/shell-center-row/resources.js +1 -0
  402. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -0
  403. package/dist/collection/components/shell-panel/resources.js +1 -0
  404. package/dist/collection/components/shell-panel/shell-panel.js +1 -0
  405. package/dist/collection/components/slider/slider.js +77 -41
  406. package/dist/collection/components/sortable-list/resources.js +1 -0
  407. package/dist/collection/components/sortable-list/sortable-list.js +1 -0
  408. package/dist/collection/components/split-button/resources.js +1 -0
  409. package/dist/collection/components/split-button/split-button.js +1 -0
  410. package/dist/collection/components/stepper/stepper.js +1 -0
  411. package/dist/collection/components/stepper-item/stepper-item.js +3 -1
  412. package/dist/collection/components/switch/switch.js +4 -2
  413. package/dist/collection/components/tab/interfaces.js +1 -0
  414. package/dist/collection/components/tab/tab.js +14 -15
  415. package/dist/collection/components/tab-nav/tab-nav.js +65 -26
  416. package/dist/collection/components/tab-title/tab-title.js +56 -24
  417. package/dist/collection/components/tabs/interfaces.js +1 -0
  418. package/dist/collection/components/tabs/resources.js +1 -0
  419. package/dist/collection/components/tabs/tabs.js +1 -3
  420. package/dist/collection/components/tile/resources.js +1 -0
  421. package/dist/collection/components/tile/tile.css +2 -2
  422. package/dist/collection/components/tile/tile.js +1 -0
  423. package/dist/collection/components/tile-select/interfaces.js +1 -0
  424. package/dist/collection/components/tile-select/resources.js +1 -0
  425. package/dist/collection/components/tile-select/tile-select.js +1 -0
  426. package/dist/collection/components/tile-select-group/interfaces.js +1 -0
  427. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -0
  428. package/dist/collection/components/time-picker/resources.js +1 -0
  429. package/dist/collection/components/time-picker/time-picker.js +1 -8
  430. package/dist/collection/components/tip/resources.js +1 -0
  431. package/dist/collection/components/tip/tip.js +1 -0
  432. package/dist/collection/components/tip-group/tip-group.js +1 -0
  433. package/dist/collection/components/tip-manager/resources.js +1 -0
  434. package/dist/collection/components/tip-manager/tip-manager.js +3 -2
  435. package/dist/collection/components/tooltip/resources.js +1 -0
  436. package/dist/collection/components/tooltip/tooltip.js +1 -0
  437. package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -5
  438. package/dist/collection/components/tree/interfaces.js +1 -0
  439. package/dist/collection/components/tree/tree.js +1 -0
  440. package/dist/collection/components/tree-item/interfaces.js +1 -0
  441. package/dist/collection/components/tree-item/resources.js +1 -0
  442. package/dist/collection/components/tree-item/tree-item.js +1 -0
  443. package/dist/collection/components/value-list/resources.js +1 -0
  444. package/dist/collection/components/value-list/value-list.js +1 -0
  445. package/dist/collection/components/value-list-item/resources.js +1 -0
  446. package/dist/collection/components/value-list-item/value-list-item.js +1 -0
  447. package/dist/collection/utils/array.js +1 -0
  448. package/dist/collection/utils/conditionalSlot.js +1 -0
  449. package/dist/collection/utils/date.js +1 -0
  450. package/dist/collection/utils/dom.js +8 -1
  451. package/dist/collection/utils/filter.js +1 -0
  452. package/dist/collection/utils/form.js +1 -0
  453. package/dist/collection/utils/globalAttributes.js +1 -0
  454. package/dist/collection/utils/guid.js +1 -0
  455. package/dist/collection/utils/interactive.js +1 -0
  456. package/dist/collection/utils/key.js +1 -0
  457. package/dist/collection/utils/label.js +1 -0
  458. package/dist/collection/utils/locale.js +10 -1
  459. package/dist/collection/utils/math.js +1 -0
  460. package/dist/collection/utils/number.js +2 -1
  461. package/dist/collection/utils/observers.js +1 -0
  462. package/dist/collection/utils/popper.js +17 -2
  463. package/dist/collection/utils/resources.js +1 -0
  464. package/dist/collection/utils/time.js +1 -0
  465. package/dist/components/ExpandToggle.js +1 -0
  466. package/dist/components/Heading.js +1 -0
  467. package/dist/components/action-group.js +1 -0
  468. package/dist/components/action-menu.js +1 -0
  469. package/dist/components/action.js +1 -0
  470. package/dist/components/array.js +1 -0
  471. package/dist/components/button.js +11 -10
  472. package/dist/components/calcite-accordion-item.js +1 -0
  473. package/dist/components/calcite-accordion.js +1 -0
  474. package/dist/components/calcite-action-bar.js +1 -0
  475. package/dist/components/calcite-action-group.js +1 -0
  476. package/dist/components/calcite-action-menu.js +1 -0
  477. package/dist/components/calcite-action-pad.js +1 -0
  478. package/dist/components/calcite-action.js +1 -0
  479. package/dist/components/calcite-alert.js +1 -0
  480. package/dist/components/calcite-avatar.js +1 -0
  481. package/dist/components/calcite-block-section.js +1 -0
  482. package/dist/components/calcite-block.js +1 -0
  483. package/dist/components/calcite-button.js +1 -0
  484. package/dist/components/calcite-card.js +1 -0
  485. package/dist/components/calcite-checkbox.js +1 -0
  486. package/dist/components/calcite-chip.js +1 -0
  487. package/dist/components/calcite-color-picker-hex-input.js +1 -0
  488. package/dist/components/calcite-color-picker-swatch.js +1 -0
  489. package/dist/components/calcite-color-picker.js +14 -18
  490. package/dist/components/calcite-combobox-item-group.js +1 -0
  491. package/dist/components/calcite-combobox-item.js +2 -1
  492. package/dist/components/calcite-combobox.js +75 -37
  493. package/dist/components/calcite-date-picker-day.js +1 -0
  494. package/dist/components/calcite-date-picker-month-header.js +1 -0
  495. package/dist/components/calcite-date-picker-month.js +1 -0
  496. package/dist/components/calcite-date-picker.js +1 -0
  497. package/dist/components/calcite-dropdown-group.js +1 -0
  498. package/dist/components/calcite-dropdown-item.js +1 -0
  499. package/dist/components/calcite-dropdown.js +1 -0
  500. package/dist/components/calcite-fab.js +1 -0
  501. package/dist/components/calcite-filter.js +1 -0
  502. package/dist/components/calcite-flow.js +1 -0
  503. package/dist/components/calcite-graph.js +1 -0
  504. package/dist/components/calcite-handle.js +1 -0
  505. package/dist/components/calcite-icon.js +1 -0
  506. package/dist/components/calcite-inline-editable.js +1 -0
  507. package/dist/components/calcite-input-date-picker.js +29 -11
  508. package/dist/components/calcite-input-message.js +1 -0
  509. package/dist/components/calcite-input-time-picker.js +8 -1
  510. package/dist/components/calcite-input.js +1 -0
  511. package/dist/components/calcite-label.js +1 -0
  512. package/dist/components/calcite-link.js +1 -0
  513. package/dist/components/calcite-list-item-group.js +1 -0
  514. package/dist/components/calcite-list-item.js +11 -4
  515. package/dist/components/calcite-list.js +1 -0
  516. package/dist/components/calcite-loader.js +1 -0
  517. package/dist/components/calcite-modal.js +2 -1
  518. package/dist/components/calcite-notice.js +1 -0
  519. package/dist/components/calcite-option-group.js +1 -0
  520. package/dist/components/calcite-option.js +1 -0
  521. package/dist/components/calcite-pagination.js +1 -0
  522. package/dist/components/calcite-panel.js +2 -1
  523. package/dist/components/calcite-pick-list-group.js +1 -0
  524. package/dist/components/calcite-pick-list-item.js +1 -0
  525. package/dist/components/calcite-pick-list.js +1 -0
  526. package/dist/components/calcite-popover-manager.js +1 -0
  527. package/dist/components/calcite-popover.js +1 -0
  528. package/dist/components/calcite-progress.js +1 -0
  529. package/dist/components/calcite-radio-button-group.js +1 -0
  530. package/dist/components/calcite-radio-button.js +1 -0
  531. package/dist/components/calcite-radio-group-item.js +1 -0
  532. package/dist/components/calcite-radio-group.js +1 -0
  533. package/dist/components/calcite-rating.js +1 -0
  534. package/dist/components/calcite-scrim.js +1 -0
  535. package/dist/components/calcite-select.js +1 -0
  536. package/dist/components/calcite-shell-center-row.js +1 -0
  537. package/dist/components/calcite-shell-panel.js +1 -0
  538. package/dist/components/calcite-shell.js +1 -0
  539. package/dist/components/calcite-slider.js +68 -38
  540. package/dist/components/calcite-sortable-list.js +1 -0
  541. package/dist/components/calcite-split-button.js +1 -0
  542. package/dist/components/calcite-stepper-item.js +3 -1
  543. package/dist/components/calcite-stepper.js +1 -0
  544. package/dist/components/calcite-switch.js +1 -0
  545. package/dist/components/calcite-tab-nav.js +1 -0
  546. package/dist/components/calcite-tab-title.js +1 -0
  547. package/dist/components/calcite-tab.js +1 -0
  548. package/dist/components/calcite-tabs.js +1 -0
  549. package/dist/components/calcite-tile-select-group.js +1 -0
  550. package/dist/components/calcite-tile-select.js +1 -0
  551. package/dist/components/calcite-tile.js +1 -0
  552. package/dist/components/calcite-time-picker.js +1 -0
  553. package/dist/components/calcite-tip-group.js +1 -0
  554. package/dist/components/calcite-tip-manager.js +2 -1
  555. package/dist/components/calcite-tip.js +1 -0
  556. package/dist/components/calcite-tooltip-manager.js +1 -0
  557. package/dist/components/calcite-tooltip.js +1 -0
  558. package/dist/components/calcite-tree-item.js +1 -0
  559. package/dist/components/calcite-tree.js +1 -0
  560. package/dist/components/calcite-value-list-item.js +1 -0
  561. package/dist/components/calcite-value-list.js +1 -0
  562. package/dist/components/checkbox.js +1 -0
  563. package/dist/components/chip.js +1 -0
  564. package/dist/components/color-picker-hex-input.js +39 -48
  565. package/dist/components/color-picker-swatch.js +40 -32
  566. package/dist/components/conditionalSlot.js +1 -0
  567. package/dist/components/date-picker-day.js +1 -0
  568. package/dist/components/date-picker-month-header.js +28 -19
  569. package/dist/components/date-picker-month.js +1 -0
  570. package/dist/components/date-picker.js +1 -0
  571. package/dist/components/date.js +1 -0
  572. package/dist/components/debounce.js +1 -0
  573. package/dist/components/dom.js +8 -1
  574. package/dist/components/dropdown.js +14 -7
  575. package/dist/components/filter.js +12 -7
  576. package/dist/components/forIn.js +1 -0
  577. package/dist/components/form.js +1 -0
  578. package/dist/components/graph.js +1 -0
  579. package/dist/components/guid.js +1 -0
  580. package/dist/components/handle.js +1 -0
  581. package/dist/components/icon.js +1 -0
  582. package/dist/components/index.d.ts +1 -1
  583. package/dist/components/index.js +1 -0
  584. package/dist/components/input.js +2 -1
  585. package/dist/components/interactive.js +1 -0
  586. package/dist/components/interfaces.js +1 -0
  587. package/dist/components/interfaces2.js +1 -0
  588. package/dist/components/label.js +1 -0
  589. package/dist/components/label2.js +1 -0
  590. package/dist/components/link.js +1 -0
  591. package/dist/components/loader.js +1 -0
  592. package/dist/components/locale.js +10 -1
  593. package/dist/components/math.js +1 -0
  594. package/dist/components/number.js +2 -1
  595. package/dist/components/observers.js +1 -0
  596. package/dist/components/pick-list-item.js +1 -0
  597. package/dist/components/popover.js +18 -4
  598. package/dist/components/popper.js +27 -2
  599. package/dist/components/progress.js +1 -0
  600. package/dist/components/resources.js +1 -0
  601. package/dist/components/resources2.js +1 -0
  602. package/dist/components/resources3.js +1 -0
  603. package/dist/components/resources4.js +1 -0
  604. package/dist/components/resources5.js +1 -0
  605. package/dist/components/scrim.js +1 -0
  606. package/dist/components/shared-list-render.js +1 -0
  607. package/dist/components/sortable.esm.js +63 -54
  608. package/dist/components/switch.js +3 -1
  609. package/dist/components/tab-nav.js +36 -19
  610. package/dist/components/tab-title.js +28 -21
  611. package/dist/components/tab.js +13 -14
  612. package/dist/components/tabs.js +1 -3
  613. package/dist/components/tile.js +2 -1
  614. package/dist/components/time-picker.js +2 -7
  615. package/dist/components/tooltip-manager.js +2 -5
  616. package/dist/components/utils.js +1 -0
  617. package/dist/components/utils2.js +1 -0
  618. package/dist/custom-elements/index.js +538 -367
  619. package/dist/esm/{ExpandToggle-af224c1e.js → ExpandToggle-847b61ba.js} +5 -4
  620. package/dist/esm/{Heading-d5f1710a.js → Heading-f4ee0499.js} +2 -1
  621. package/dist/esm/{array-91a648e2.js → array-328a8961.js} +1 -0
  622. package/dist/esm/calcite-accordion_2.entry.js +4 -3
  623. package/dist/esm/calcite-action-bar.entry.js +10 -9
  624. package/dist/esm/calcite-action-group.entry.js +8 -7
  625. package/dist/esm/calcite-action-menu.entry.js +8 -7
  626. package/dist/esm/calcite-action-pad.entry.js +9 -8
  627. package/dist/esm/calcite-action.entry.js +4 -3
  628. package/dist/esm/calcite-alert.entry.js +5 -4
  629. package/dist/esm/calcite-avatar.entry.js +5 -4
  630. package/dist/esm/calcite-block_2.entry.js +8 -7
  631. package/dist/esm/calcite-button.entry.js +17 -16
  632. package/dist/esm/calcite-card.entry.js +6 -5
  633. package/dist/esm/calcite-checkbox.entry.js +7 -6
  634. package/dist/esm/calcite-chip.entry.js +6 -5
  635. package/dist/esm/calcite-color-picker_3.entry.js +96 -103
  636. package/dist/esm/calcite-combobox_3.entry.js +86 -48
  637. package/dist/esm/calcite-date-picker_4.entry.js +36 -27
  638. package/dist/esm/calcite-dropdown_3.entry.js +19 -12
  639. package/dist/esm/calcite-fab.entry.js +5 -4
  640. package/dist/esm/calcite-filter.entry.js +18 -13
  641. package/dist/esm/calcite-flow.entry.js +3 -2
  642. package/dist/esm/calcite-graph_2.entry.js +76 -46
  643. package/dist/esm/calcite-handle.entry.js +2 -1
  644. package/dist/esm/calcite-icon.entry.js +5 -4
  645. package/dist/esm/calcite-inline-editable.entry.js +7 -6
  646. package/dist/esm/calcite-input-date-picker.entry.js +37 -20
  647. package/dist/esm/calcite-input-message.entry.js +4 -3
  648. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
  649. package/dist/esm/calcite-input.entry.js +12 -11
  650. package/dist/esm/calcite-label.entry.js +5 -4
  651. package/dist/esm/calcite-link.entry.js +5 -4
  652. package/dist/esm/calcite-list_3.entry.js +18 -11
  653. package/dist/esm/calcite-loader.entry.js +3 -2
  654. package/dist/esm/calcite-modal.entry.js +7 -6
  655. package/dist/esm/calcite-notice.entry.js +7 -6
  656. package/dist/esm/calcite-option_3.entry.js +8 -7
  657. package/dist/esm/calcite-pagination.entry.js +2 -1
  658. package/dist/esm/calcite-panel.entry.js +10 -9
  659. package/dist/esm/calcite-pick-list_3.entry.js +11 -10
  660. package/dist/esm/calcite-popover_2.entry.js +22 -8
  661. package/dist/esm/calcite-progress.entry.js +2 -1
  662. package/dist/esm/calcite-radio-button-group.entry.js +3 -2
  663. package/dist/esm/calcite-radio-button.entry.js +8 -7
  664. package/dist/esm/calcite-radio-group_2.entry.js +7 -6
  665. package/dist/esm/calcite-rating.entry.js +7 -6
  666. package/dist/esm/calcite-scrim.entry.js +2 -1
  667. package/dist/esm/calcite-shell_3.entry.js +7 -6
  668. package/dist/esm/calcite-sortable-list.entry.js +5 -4
  669. package/dist/esm/calcite-split-button.entry.js +3 -2
  670. package/dist/esm/calcite-stepper_2.entry.js +7 -5
  671. package/dist/esm/calcite-switch.entry.js +9 -7
  672. package/dist/esm/calcite-tab_4.entry.js +76 -59
  673. package/dist/esm/calcite-tile-select_2.entry.js +4 -3
  674. package/dist/esm/calcite-tile.entry.js +8 -7
  675. package/dist/esm/calcite-tip_3.entry.js +8 -7
  676. package/dist/esm/calcite-tooltip_2.entry.js +6 -9
  677. package/dist/esm/calcite-tree_2.entry.js +6 -5
  678. package/dist/esm/calcite-value-list_2.entry.js +11 -10
  679. package/dist/esm/calcite.js +4 -3
  680. package/dist/esm/{conditionalSlot-67f579ff.js → conditionalSlot-a8a2c2f8.js} +3 -2
  681. package/dist/esm/{debounce-79648d42.js → debounce-f689f579.js} +1 -0
  682. package/dist/esm/{dom-e7fa77b9.js → dom-0dcd3a1e.js} +9 -2
  683. package/dist/esm/{forIn-48d8fb84.js → forIn-8f588c7b.js} +2 -1
  684. package/dist/esm/{form-5e4609eb.js → form-2b88b33a.js} +3 -2
  685. package/dist/esm/{guid-196bd5ea.js → guid-174508ff.js} +1 -0
  686. package/dist/esm/{index-bd94948c.js → index-221092de.js} +1 -0
  687. package/dist/esm/index.js +1 -0
  688. package/dist/esm/{interactive-48b5cc0f.js → interactive-b11a6c05.js} +1 -0
  689. package/dist/esm/{interfaces-0e5b954c.js → interfaces-2bc002ac.js} +1 -0
  690. package/dist/esm/{label-68f22660.js → label-2dac3c62.js} +2 -1
  691. package/dist/esm/loader.js +4 -3
  692. package/dist/esm/{locale-fc850b7c.js → locale-9c18bf7f.js} +11 -2
  693. package/dist/esm/{math-456207f5.js → math-4cd9449e.js} +1 -0
  694. package/dist/esm/{number-8779395f.js → number-a39356c7.js} +2 -1
  695. package/dist/esm/{observers-46118290.js → observers-232c6ed6.js} +1 -0
  696. package/dist/esm/{popper-da45ec93.js → popper-66bcddc6.js} +28 -3
  697. package/dist/esm/{resources-b5c3d9a7.js → resources-762aa55a.js} +5 -4
  698. package/dist/esm/{resources-73dac782.js → resources-886efb7e.js} +3 -2
  699. package/dist/esm/{resources-027bd8f9.js → resources-8ade5fae.js} +1 -0
  700. package/dist/esm/{resources-34334875.js → resources-df870d40.js} +1 -0
  701. package/dist/esm/{sortable.esm-04824d33.js → sortable.esm-0891f88f.js} +63 -54
  702. package/dist/esm/{utils-e84055a3.js → utils-79203b5b.js} +1 -0
  703. package/dist/esm-es5/{ExpandToggle-af224c1e.js → ExpandToggle-847b61ba.js} +2 -1
  704. package/dist/esm-es5/{Heading-d5f1710a.js → Heading-f4ee0499.js} +2 -1
  705. package/dist/esm-es5/{array-91a648e2.js → array-328a8961.js} +1 -0
  706. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -1
  707. package/dist/esm-es5/calcite-action-bar.entry.js +2 -1
  708. package/dist/esm-es5/calcite-action-group.entry.js +2 -1
  709. package/dist/esm-es5/calcite-action-menu.entry.js +3 -2
  710. package/dist/esm-es5/calcite-action-pad.entry.js +2 -1
  711. package/dist/esm-es5/calcite-action.entry.js +2 -1
  712. package/dist/esm-es5/calcite-alert.entry.js +2 -1
  713. package/dist/esm-es5/calcite-avatar.entry.js +2 -1
  714. package/dist/esm-es5/calcite-block_2.entry.js +2 -1
  715. package/dist/esm-es5/calcite-button.entry.js +2 -1
  716. package/dist/esm-es5/calcite-card.entry.js +2 -1
  717. package/dist/esm-es5/calcite-checkbox.entry.js +2 -1
  718. package/dist/esm-es5/calcite-chip.entry.js +2 -1
  719. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -1
  720. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -1
  721. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -1
  722. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -1
  723. package/dist/esm-es5/calcite-fab.entry.js +2 -1
  724. package/dist/esm-es5/calcite-filter.entry.js +2 -1
  725. package/dist/esm-es5/calcite-flow.entry.js +2 -1
  726. package/dist/esm-es5/calcite-graph_2.entry.js +2 -1
  727. package/dist/esm-es5/calcite-handle.entry.js +2 -1
  728. package/dist/esm-es5/calcite-icon.entry.js +2 -1
  729. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -1
  730. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -1
  731. package/dist/esm-es5/calcite-input-message.entry.js +2 -1
  732. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -1
  733. package/dist/esm-es5/calcite-input.entry.js +2 -1
  734. package/dist/esm-es5/calcite-label.entry.js +2 -1
  735. package/dist/esm-es5/calcite-link.entry.js +2 -1
  736. package/dist/esm-es5/calcite-list_3.entry.js +3 -2
  737. package/dist/esm-es5/calcite-loader.entry.js +2 -1
  738. package/dist/esm-es5/calcite-modal.entry.js +2 -1
  739. package/dist/esm-es5/calcite-notice.entry.js +3 -2
  740. package/dist/esm-es5/calcite-option_3.entry.js +2 -1
  741. package/dist/esm-es5/calcite-pagination.entry.js +2 -1
  742. package/dist/esm-es5/calcite-panel.entry.js +2 -1
  743. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -1
  744. package/dist/esm-es5/calcite-popover_2.entry.js +3 -2
  745. package/dist/esm-es5/calcite-progress.entry.js +2 -1
  746. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -1
  747. package/dist/esm-es5/calcite-radio-button.entry.js +2 -1
  748. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -1
  749. package/dist/esm-es5/calcite-rating.entry.js +2 -1
  750. package/dist/esm-es5/calcite-scrim.entry.js +2 -1
  751. package/dist/esm-es5/calcite-shell_3.entry.js +2 -1
  752. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -1
  753. package/dist/esm-es5/calcite-split-button.entry.js +2 -1
  754. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -1
  755. package/dist/esm-es5/calcite-switch.entry.js +2 -1
  756. package/dist/esm-es5/calcite-tab_4.entry.js +2 -1
  757. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -1
  758. package/dist/esm-es5/calcite-tile.entry.js +2 -1
  759. package/dist/esm-es5/calcite-tip_3.entry.js +2 -1
  760. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -1
  761. package/dist/esm-es5/calcite-tree_2.entry.js +2 -1
  762. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -1
  763. package/dist/esm-es5/calcite.js +2 -1
  764. package/dist/esm-es5/{conditionalSlot-67f579ff.js → conditionalSlot-a8a2c2f8.js} +2 -1
  765. package/dist/esm-es5/{debounce-79648d42.js → debounce-f689f579.js} +1 -0
  766. package/dist/esm-es5/{dom-e7fa77b9.js → dom-0dcd3a1e.js} +2 -1
  767. package/dist/esm-es5/{forIn-48d8fb84.js → forIn-8f588c7b.js} +2 -1
  768. package/dist/esm-es5/{form-5e4609eb.js → form-2b88b33a.js} +2 -1
  769. package/dist/esm-es5/{guid-196bd5ea.js → guid-174508ff.js} +1 -0
  770. package/dist/esm-es5/{index-bd94948c.js → index-221092de.js} +1 -0
  771. package/dist/esm-es5/index.js +1 -0
  772. package/dist/esm-es5/{interactive-48b5cc0f.js → interactive-b11a6c05.js} +1 -0
  773. package/dist/esm-es5/{interfaces-0e5b954c.js → interfaces-2bc002ac.js} +1 -0
  774. package/dist/esm-es5/{label-68f22660.js → label-2dac3c62.js} +2 -1
  775. package/dist/esm-es5/loader.js +2 -1
  776. package/dist/esm-es5/locale-9c18bf7f.js +6 -0
  777. package/dist/esm-es5/{math-456207f5.js → math-4cd9449e.js} +1 -0
  778. package/dist/esm-es5/number-a39356c7.js +6 -0
  779. package/dist/esm-es5/{observers-46118290.js → observers-232c6ed6.js} +1 -0
  780. package/dist/esm-es5/{popper-da45ec93.js → popper-66bcddc6.js} +2 -1
  781. package/dist/esm-es5/{resources-b5c3d9a7.js → resources-762aa55a.js} +2 -1
  782. package/dist/esm-es5/{resources-73dac782.js → resources-886efb7e.js} +3 -2
  783. package/dist/esm-es5/{resources-027bd8f9.js → resources-8ade5fae.js} +1 -0
  784. package/dist/esm-es5/{resources-34334875.js → resources-df870d40.js} +1 -0
  785. package/dist/esm-es5/sortable.esm-0891f88f.js +12 -0
  786. package/dist/esm-es5/{utils-e84055a3.js → utils-79203b5b.js} +1 -0
  787. package/dist/extras/docs-json.json +104 -14
  788. package/dist/loader/cdn.js +1 -0
  789. package/dist/loader/index.cjs.js +1 -0
  790. package/dist/loader/index.es2017.js +1 -0
  791. package/dist/loader/index.js +1 -0
  792. package/dist/types/components/button/button.d.ts +1 -1
  793. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -0
  794. package/dist/types/components/combobox/combobox.d.ts +6 -1
  795. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +3 -1
  796. package/dist/types/components/dropdown/dropdown.d.ts +3 -0
  797. package/dist/types/components/filter/filter.d.ts +2 -2
  798. package/dist/types/components/filter/resources.d.ts +1 -0
  799. package/dist/types/components/input-date-picker/input-date-picker.d.ts +9 -1
  800. package/dist/types/components/input-time-picker/input-time-picker.d.ts +6 -0
  801. package/dist/types/components/list-item/resources.d.ts +1 -0
  802. package/dist/types/components/popover/popover.d.ts +4 -0
  803. package/dist/types/components/slider/slider.d.ts +5 -2
  804. package/dist/types/components/tab/tab.d.ts +5 -6
  805. package/dist/types/components/tab-nav/tab-nav.d.ts +23 -21
  806. package/dist/types/components/tab-title/tab-title.d.ts +16 -19
  807. package/dist/types/components/tabs/tabs.d.ts +1 -4
  808. package/dist/types/components/time-picker/time-picker.d.ts +0 -1
  809. package/dist/types/components/tip-manager/tip-manager.d.ts +1 -1
  810. package/dist/types/components.d.ts +25 -5
  811. package/dist/types/preact.d.ts +4 -2
  812. package/dist/types/utils/dom.d.ts +2 -2
  813. package/dist/types/utils/locale.d.ts +1 -0
  814. package/dist/types/utils/popper.d.ts +3 -2
  815. package/hydrate/index.d.ts +1 -1
  816. package/hydrate/index.js +536 -365
  817. package/package.json +36 -36
  818. package/readme.md +2 -3
  819. package/dist/calcite/p-193749c1.entry.js +0 -5
  820. package/dist/calcite/p-1aeca42a.system.entry.js +0 -5
  821. package/dist/calcite/p-23145377.entry.js +0 -5
  822. package/dist/calcite/p-2bcaed33.entry.js +0 -5
  823. package/dist/calcite/p-364f0abe.system.entry.js +0 -5
  824. package/dist/calcite/p-3915705c.entry.js +0 -5
  825. package/dist/calcite/p-4905189e.system.entry.js +0 -5
  826. package/dist/calcite/p-4aecbaef.entry.js +0 -5
  827. package/dist/calcite/p-5c637131.entry.js +0 -5
  828. package/dist/calcite/p-5f6e35f3.entry.js +0 -5
  829. package/dist/calcite/p-6261469d.entry.js +0 -5
  830. package/dist/calcite/p-653bd7bf.entry.js +0 -5
  831. package/dist/calcite/p-7c88d545.js +0 -5
  832. package/dist/calcite/p-867f7b7a.system.entry.js +0 -5
  833. package/dist/calcite/p-872e82a6.system.entry.js +0 -5
  834. package/dist/calcite/p-87888359.entry.js +0 -5
  835. package/dist/calcite/p-895d22f3.entry.js +0 -5
  836. package/dist/calcite/p-8b982f91.entry.js +0 -5
  837. package/dist/calcite/p-8f3a3e4e.js +0 -5
  838. package/dist/calcite/p-9e61d89d.entry.js +0 -5
  839. package/dist/calcite/p-ac9607f2.system.js +0 -11
  840. package/dist/calcite/p-b10af2b4.entry.js +0 -5
  841. package/dist/calcite/p-b3c5247b.system.entry.js +0 -5
  842. package/dist/calcite/p-bb401f25.system.js +0 -5
  843. package/dist/calcite/p-bccbf58a.entry.js +0 -5
  844. package/dist/calcite/p-bffb4da3.system.entry.js +0 -5
  845. package/dist/calcite/p-c4cb35ba.system.entry.js +0 -5
  846. package/dist/calcite/p-c5ec8d74.js +0 -11
  847. package/dist/calcite/p-cb847074.entry.js +0 -5
  848. package/dist/calcite/p-dd9f2e61.js +0 -5
  849. package/dist/calcite/p-e22ab8fa.entry.js +0 -5
  850. package/dist/calcite/p-e4d1651b.system.entry.js +0 -5
  851. package/dist/calcite/p-ec9bab33.system.js +0 -5
  852. package/dist/calcite/p-ecc31b40.system.entry.js +0 -5
  853. package/dist/calcite/p-ef6b4184.js +0 -5
  854. package/dist/calcite/p-f09e27b0.system.js +0 -5
  855. package/dist/calcite/p-fe9380a0.system.js +0 -5
  856. package/dist/esm-es5/locale-fc850b7c.js +0 -5
  857. package/dist/esm-es5/number-8779395f.js +0 -5
  858. package/dist/esm-es5/sortable.esm-04824d33.js +0 -11
@@ -1,15 +1,16 @@
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
6
  'use strict';
6
7
 
7
8
  Object.defineProperty(exports, '__esModule', { value: true });
8
9
 
9
- const index = require('./index-1af0efd3.js');
10
- const dom = require('./dom-f3df220d.js');
11
- const interfaces = require('./interfaces-7216af30.js');
12
- require('./guid-b270f0db.js');
10
+ const index = require('./index-ab066772.js');
11
+ const dom = require('./dom-66c5cb56.js');
12
+ const interfaces = require('./interfaces-597482d7.js');
13
+ require('./guid-364777e6.js');
13
14
 
14
15
  const TEXT = {
15
16
  intlClose: "Close"
@@ -1,15 +1,16 @@
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
6
  'use strict';
6
7
 
7
8
  Object.defineProperty(exports, '__esModule', { value: true });
8
9
 
9
- const index = require('./index-1af0efd3.js');
10
- const utils = require('./utils-6579522f.js');
11
- const dom = require('./dom-f3df220d.js');
12
- require('./guid-b270f0db.js');
10
+ const index = require('./index-ab066772.js');
11
+ const utils = require('./utils-9f674b6a.js');
12
+ const dom = require('./dom-66c5cb56.js');
13
+ require('./guid-364777e6.js');
13
14
 
14
15
  /**
15
16
  * Convert a string to a valid hex by hashing its contents
@@ -1,18 +1,19 @@
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
6
  'use strict';
6
7
 
7
8
  Object.defineProperty(exports, '__esModule', { value: true });
8
9
 
9
- const index = require('./index-1af0efd3.js');
10
- const dom = require('./dom-f3df220d.js');
11
- const Heading = require('./Heading-ec707493.js');
12
- const conditionalSlot = require('./conditionalSlot-64f9bfd3.js');
13
- const interactive = require('./interactive-87406231.js');
14
- const guid = require('./guid-b270f0db.js');
15
- require('./observers-79bfb8bc.js');
10
+ const index = require('./index-ab066772.js');
11
+ const dom = require('./dom-66c5cb56.js');
12
+ const Heading = require('./Heading-b864aca1.js');
13
+ const conditionalSlot = require('./conditionalSlot-8468d1b6.js');
14
+ const interactive = require('./interactive-3808ad50.js');
15
+ const guid = require('./guid-364777e6.js');
16
+ require('./observers-2dc895e1.js');
16
17
 
17
18
  const CSS$1 = {
18
19
  article: "article",
@@ -1,17 +1,18 @@
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
6
  'use strict';
6
7
 
7
8
  Object.defineProperty(exports, '__esModule', { value: true });
8
9
 
9
- const index = require('./index-1af0efd3.js');
10
- const dom = require('./dom-f3df220d.js');
11
- const label = require('./label-980508de.js');
12
- const observers = require('./observers-79bfb8bc.js');
13
- const interactive = require('./interactive-87406231.js');
14
- require('./guid-b270f0db.js');
10
+ const index = require('./index-ab066772.js');
11
+ const dom = require('./dom-66c5cb56.js');
12
+ const label = require('./label-e53e11ab.js');
13
+ const observers = require('./observers-2dc895e1.js');
14
+ const interactive = require('./interactive-3808ad50.js');
15
+ require('./guid-364777e6.js');
15
16
 
16
17
  (function(prototype) {
17
18
  if (typeof prototype.requestSubmit == "function") return
@@ -87,6 +88,8 @@ const Button = class {
87
88
  this.scale = "m";
88
89
  /** is the button a child of a calcite-split-button */
89
90
  this.splitChild = false;
91
+ /** The type attribute to apply to the button */
92
+ this.type = "button";
90
93
  /** specify the width of the button, defaults to auto */
91
94
  this.width = "auto";
92
95
  /** watches for changing text content **/
@@ -98,14 +101,15 @@ const Button = class {
98
101
  // act on a requested or nearby form based on type
99
102
  this.handleClick = () => {
100
103
  const { formEl, type } = this;
104
+ if (this.href) {
105
+ return;
106
+ }
101
107
  // this.type refers to type attribute, not child element type
102
- if (!this.href && type !== "button") {
103
- if (type === "submit") {
104
- formEl === null || formEl === void 0 ? void 0 : formEl.requestSubmit();
105
- }
106
- else if (type === "reset") {
107
- formEl === null || formEl === void 0 ? void 0 : formEl.reset();
108
- }
108
+ if (type === "submit") {
109
+ formEl === null || formEl === void 0 ? void 0 : formEl.requestSubmit();
110
+ }
111
+ else if (type === "reset") {
112
+ formEl === null || formEl === void 0 ? void 0 : formEl.reset();
109
113
  }
110
114
  };
111
115
  }
@@ -139,9 +143,6 @@ const Button = class {
139
143
  componentWillLoad() {
140
144
  {
141
145
  this.updateHasContent();
142
- if (!this.href && !this.type) {
143
- this.type = "submit";
144
- }
145
146
  }
146
147
  }
147
148
  componentDidRender() {
@@ -1,16 +1,17 @@
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
6
  'use strict';
6
7
 
7
8
  Object.defineProperty(exports, '__esModule', { value: true });
8
9
 
9
- const index = require('./index-1af0efd3.js');
10
- const dom = require('./dom-f3df220d.js');
11
- const conditionalSlot = require('./conditionalSlot-64f9bfd3.js');
12
- require('./guid-b270f0db.js');
13
- require('./observers-79bfb8bc.js');
10
+ const index = require('./index-ab066772.js');
11
+ const dom = require('./dom-66c5cb56.js');
12
+ const conditionalSlot = require('./conditionalSlot-8468d1b6.js');
13
+ require('./guid-364777e6.js');
14
+ require('./observers-2dc895e1.js');
14
15
 
15
16
  const CSS = {
16
17
  container: "container",
@@ -1,17 +1,18 @@
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
6
  'use strict';
6
7
 
7
8
  Object.defineProperty(exports, '__esModule', { value: true });
8
9
 
9
- const index = require('./index-1af0efd3.js');
10
- const guid = require('./guid-b270f0db.js');
11
- const form = require('./form-0ef859c8.js');
12
- const label = require('./label-980508de.js');
13
- const interactive = require('./interactive-87406231.js');
14
- require('./dom-f3df220d.js');
10
+ const index = require('./index-ab066772.js');
11
+ const guid = require('./guid-364777e6.js');
12
+ const form = require('./form-cfcc3b12.js');
13
+ const label = require('./label-e53e11ab.js');
14
+ const interactive = require('./interactive-3808ad50.js');
15
+ require('./dom-66c5cb56.js');
15
16
 
16
17
  const checkboxCss = "@-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([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden;width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host .toggle:focus .check-svg,:host .toggle:active .check-svg{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);-webkit-transition:var(--calcite-animation-timing);transition:var(--calcite-animation-timing)}: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}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
17
18
 
@@ -1,16 +1,17 @@
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
6
  'use strict';
6
7
 
7
8
  Object.defineProperty(exports, '__esModule', { value: true });
8
9
 
9
- const index = require('./index-1af0efd3.js');
10
- const dom = require('./dom-f3df220d.js');
11
- const guid = require('./guid-b270f0db.js');
12
- const conditionalSlot = require('./conditionalSlot-64f9bfd3.js');
13
- require('./observers-79bfb8bc.js');
10
+ const index = require('./index-ab066772.js');
11
+ const dom = require('./dom-66c5cb56.js');
12
+ const guid = require('./guid-364777e6.js');
13
+ const conditionalSlot = require('./conditionalSlot-8468d1b6.js');
14
+ require('./observers-2dc895e1.js');
14
15
 
15
16
  const CSS = {
16
17
  title: "title",
@@ -1,18 +1,19 @@
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
6
  'use strict';
6
7
 
7
8
  Object.defineProperty(exports, '__esModule', { value: true });
8
9
 
9
- const index = require('./index-1af0efd3.js');
10
- const dom = require('./dom-f3df220d.js');
11
- const utils = require('./utils-6579522f.js');
12
- const math = require('./math-145c80e2.js');
13
- const interactive = require('./interactive-87406231.js');
14
- const debounce = require('./debounce-95979061.js');
15
- require('./guid-b270f0db.js');
10
+ const index = require('./index-ab066772.js');
11
+ const dom = require('./dom-66c5cb56.js');
12
+ const utils = require('./utils-9f674b6a.js');
13
+ const math = require('./math-b81c3249.js');
14
+ const interactive = require('./interactive-3808ad50.js');
15
+ const debounce = require('./debounce-a29e2f71.js');
16
+ require('./guid-364777e6.js');
16
17
 
17
18
  /** Error message constants. */
18
19
  var FUNC_ERROR_TEXT = 'Expected a function';
@@ -1721,7 +1722,6 @@ models.forEach(fromModel => {
1721
1722
  });
1722
1723
  var colorConvert = convert;
1723
1724
 
1724
- const _slice = [].slice;
1725
1725
  const skippedModels = [// To be honest, I don't really feel like keyword belongs in color convert, but eh.
1726
1726
  'keyword', // Gray conflicts with some method names, and has its own method defined.
1727
1727
  'gray', // Shouldn't really be in color-convert either...
@@ -1729,7 +1729,7 @@ const skippedModels = [// To be honest, I don't really feel like keyword belongs
1729
1729
  const hashedModelKeys = {};
1730
1730
 
1731
1731
  for (const model of Object.keys(colorConvert)) {
1732
- hashedModelKeys[_slice.call(colorConvert[model].labels).sort().join('')] = model;
1732
+ hashedModelKeys[[...colorConvert[model].labels].sort().join('')] = model;
1733
1733
  }
1734
1734
 
1735
1735
  const limiters = {};
@@ -1757,7 +1757,7 @@ function Color(object, model) {
1757
1757
  this.valpha = 1;
1758
1758
  } else if (object instanceof Color) {
1759
1759
  this.model = object.model;
1760
- this.color = object.color.slice();
1760
+ this.color = [...object.color];
1761
1761
  this.valpha = object.valpha;
1762
1762
  } else if (typeof object === 'string') {
1763
1763
  const result = colorString.get(object);
@@ -1773,9 +1773,7 @@ function Color(object, model) {
1773
1773
  } else if (object.length > 0) {
1774
1774
  this.model = model || 'rgb';
1775
1775
  channels = colorConvert[this.model].channels;
1776
-
1777
- const newArray = _slice.call(object, 0, channels);
1778
-
1776
+ const newArray = Array.prototype.slice.call(object, 0, channels);
1779
1777
  this.color = zeroArray(newArray, channels);
1780
1778
  this.valpha = typeof object[channels] === 'number' ? object[channels] : 1;
1781
1779
  } else if (typeof object === 'number') {
@@ -1799,7 +1797,9 @@ function Color(object, model) {
1799
1797
  }
1800
1798
 
1801
1799
  this.model = hashedModelKeys[hashedKeys];
1802
- const labels = colorConvert[this.model].labels;
1800
+ const {
1801
+ labels
1802
+ } = colorConvert[this.model];
1803
1803
  const color = [];
1804
1804
 
1805
1805
  for (i = 0; i < labels.length; i++) {
@@ -1841,24 +1841,28 @@ Color.prototype = {
1841
1841
  string(places) {
1842
1842
  let self = this.model in colorString.to ? this : this.rgb();
1843
1843
  self = self.round(typeof places === 'number' ? places : 1);
1844
- const args = self.valpha === 1 ? self.color : self.color.concat(this.valpha);
1844
+ const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
1845
1845
  return colorString.to[self.model](args);
1846
1846
  },
1847
1847
 
1848
1848
  percentString(places) {
1849
1849
  const self = this.rgb().round(typeof places === 'number' ? places : 1);
1850
- const args = self.valpha === 1 ? self.color : self.color.concat(this.valpha);
1850
+ const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
1851
1851
  return colorString.to.rgb.percent(args);
1852
1852
  },
1853
1853
 
1854
1854
  array() {
1855
- return this.valpha === 1 ? this.color.slice() : this.color.concat(this.valpha);
1855
+ return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];
1856
1856
  },
1857
1857
 
1858
1858
  object() {
1859
1859
  const result = {};
1860
- const channels = colorConvert[this.model].channels;
1861
- const labels = colorConvert[this.model].labels;
1860
+ const {
1861
+ channels
1862
+ } = colorConvert[this.model];
1863
+ const {
1864
+ labels
1865
+ } = colorConvert[this.model];
1862
1866
 
1863
1867
  for (let i = 0; i < channels; i++) {
1864
1868
  result[labels[i]] = this.color[i];
@@ -1899,12 +1903,12 @@ Color.prototype = {
1899
1903
 
1900
1904
  round(places) {
1901
1905
  places = Math.max(places || 0, 0);
1902
- return new Color(this.color.map(roundToPlace(places)).concat(this.valpha), this.model);
1906
+ return new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);
1903
1907
  },
1904
1908
 
1905
1909
  alpha(value) {
1906
- if (arguments.length > 0) {
1907
- return new Color(this.color.concat(Math.max(0, Math.min(1, value))), this.model);
1910
+ if (value !== undefined) {
1911
+ return new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);
1908
1912
  }
1909
1913
 
1910
1914
  return this.valpha;
@@ -1927,15 +1931,15 @@ Color.prototype = {
1927
1931
  magenta: getset('cmyk', 1, maxfn(100)),
1928
1932
  yellow: getset('cmyk', 2, maxfn(100)),
1929
1933
  black: getset('cmyk', 3, maxfn(100)),
1930
- x: getset('xyz', 0, maxfn(100)),
1934
+ x: getset('xyz', 0, maxfn(95.047)),
1931
1935
  y: getset('xyz', 1, maxfn(100)),
1932
- z: getset('xyz', 2, maxfn(100)),
1936
+ z: getset('xyz', 2, maxfn(108.833)),
1933
1937
  l: getset('lab', 0, maxfn(100)),
1934
1938
  a: getset('lab', 1),
1935
1939
  b: getset('lab', 2),
1936
1940
 
1937
1941
  keyword(value) {
1938
- if (arguments.length > 0) {
1942
+ if (value !== undefined) {
1939
1943
  return new Color(value);
1940
1944
  }
1941
1945
 
@@ -1943,7 +1947,7 @@ Color.prototype = {
1943
1947
  },
1944
1948
 
1945
1949
  hex(value) {
1946
- if (arguments.length > 0) {
1950
+ if (value !== undefined) {
1947
1951
  return new Color(value);
1948
1952
  }
1949
1953
 
@@ -1951,7 +1955,7 @@ Color.prototype = {
1951
1955
  },
1952
1956
 
1953
1957
  hexa(value) {
1954
- if (arguments.length > 0) {
1958
+ if (value !== undefined) {
1955
1959
  return new Color(value);
1956
1960
  }
1957
1961
 
@@ -1977,7 +1981,7 @@ Color.prototype = {
1977
1981
 
1978
1982
  for (const [i, element] of rgb.entries()) {
1979
1983
  const chan = element / 255;
1980
- lum[i] = chan <= 0.03928 ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;
1984
+ lum[i] = chan <= 0.04045 ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;
1981
1985
  }
1982
1986
 
1983
1987
  return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];
@@ -1996,9 +2000,10 @@ Color.prototype = {
1996
2000
  },
1997
2001
 
1998
2002
  level(color2) {
2003
+ // https://www.w3.org/TR/WCAG/#contrast-enhanced
1999
2004
  const contrastRatio = this.contrast(color2);
2000
2005
 
2001
- if (contrastRatio >= 7.1) {
2006
+ if (contrastRatio >= 7) {
2002
2007
  return 'AAA';
2003
2008
  }
2004
2009
 
@@ -2008,7 +2013,7 @@ Color.prototype = {
2008
2013
  isDark() {
2009
2014
  // YIQ equation from http://24ways.org/2010/calculating-color-contrast
2010
2015
  const rgb = this.rgb().color;
2011
- const yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;
2016
+ const yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;
2012
2017
  return yiq < 128;
2013
2018
  },
2014
2019
 
@@ -2110,25 +2115,28 @@ for (const model of Object.keys(colorConvert)) {
2110
2115
  continue;
2111
2116
  }
2112
2117
 
2113
- const channels = colorConvert[model].channels; // Conversion methods
2118
+ const {
2119
+ channels
2120
+ } = colorConvert[model]; // Conversion methods
2114
2121
 
2115
- Color.prototype[model] = function () {
2122
+ Color.prototype[model] = function (...args) {
2116
2123
  if (this.model === model) {
2117
2124
  return new Color(this);
2118
2125
  }
2119
2126
 
2120
- if (arguments.length > 0) {
2121
- return new Color(arguments, model);
2127
+ if (args.length > 0) {
2128
+ return new Color(args, model);
2122
2129
  }
2123
2130
 
2124
- const newAlpha = typeof arguments[channels] === 'number' ? channels : this.valpha;
2125
- return new Color(assertArray(colorConvert[this.model][model].raw(this.color)).concat(newAlpha), model);
2131
+ return new Color([...assertArray(colorConvert[this.model][model].raw(this.color)), this.valpha], model);
2126
2132
  }; // 'static' construction methods
2127
2133
 
2128
2134
 
2129
- Color[model] = function (color) {
2135
+ Color[model] = function (...args) {
2136
+ let color = args[0];
2137
+
2130
2138
  if (typeof color === 'number') {
2131
- color = zeroArray(_slice.call(arguments), channels);
2139
+ color = zeroArray(args, channels);
2132
2140
  }
2133
2141
 
2134
2142
  return new Color(color, model);
@@ -2156,7 +2164,7 @@ function getset(model, channel, modifier) {
2156
2164
  return function (value) {
2157
2165
  let result;
2158
2166
 
2159
- if (arguments.length > 0) {
2167
+ if (value !== undefined) {
2160
2168
  if (modifier) {
2161
2169
  value = modifier(value);
2162
2170
  }
@@ -2696,9 +2704,12 @@ const ColorPicker = class {
2696
2704
  const channelAriaLabels = isRgb
2697
2705
  ? [intlRed, intlGreen, intlBlue]
2698
2706
  : [intlHue, intlSaturation, intlValue];
2699
- return (index.h("calcite-tab", { active: active, class: CSS$2.control, key: channelMode }, index.h("div", { class: CSS$2.channels }, channels.map((channel, index) => this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index])))));
2707
+ const direction = dom.getElementDir(this.el);
2708
+ return (index.h("calcite-tab", { active: active, class: CSS$2.control, key: channelMode }, index.h("div", { class: CSS$2.channels, dir: "ltr" }, channels.map((channel, index) =>
2709
+ /* the channel container is ltr, so we apply the host's direction */
2710
+ this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
2700
2711
  };
2701
- this.renderChannel = (value, index$1, label, ariaLabel) => (index.h("calcite-input", { class: CSS$2.channel, "data-channel-index": index$1, 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() }));
2712
+ this.renderChannel = (value, index$1, label, ariaLabel, direction) => (index.h("calcite-input", { class: CSS$2.channel, "data-channel-index": index$1, 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() }));
2702
2713
  this.deleteColor = () => {
2703
2714
  const colorToDelete = this.color.hex();
2704
2715
  const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
@@ -2753,14 +2764,10 @@ const ColorPicker = class {
2753
2764
  this.drawColorFieldAndSlider();
2754
2765
  this.updateChannelsFromColor(color);
2755
2766
  this.previousColor = oldColor;
2756
- if (this.internalColorUpdateContext) {
2757
- return;
2758
- }
2759
- this.value = this.toValue(color);
2760
2767
  }
2761
2768
  handleFormatChange(format) {
2762
2769
  this.setMode(format);
2763
- this.value = this.toValue(this.color);
2770
+ this.internalColorSet(this.color, false, "internal");
2764
2771
  }
2765
2772
  handleScaleChange(scale = "m") {
2766
2773
  this.updateDimensions(scale);
@@ -2780,10 +2787,10 @@ const ColorPicker = class {
2780
2787
  this.setMode(nextMode);
2781
2788
  }
2782
2789
  const dragging = this.sliderThumbState === "drag" || this.hueThumbState === "drag";
2783
- if (this.internalColorUpdateContext) {
2784
- if (this.internalColorUpdateContext === "initial") {
2785
- return;
2786
- }
2790
+ if (this.internalColorUpdateContext === "initial") {
2791
+ return;
2792
+ }
2793
+ if (this.internalColorUpdateContext === "user-interaction") {
2787
2794
  this.calciteColorPickerInput.emit();
2788
2795
  if (!dragging) {
2789
2796
  this.calciteColorPickerChange.emit();
@@ -2793,11 +2800,7 @@ const ColorPicker = class {
2793
2800
  const color$1 = allowEmpty && !value ? null : color(value);
2794
2801
  const colorChanged = !utils.colorEqual(color$1, this.color);
2795
2802
  if (modeChanged || colorChanged) {
2796
- this.color = color$1;
2797
- this.calciteColorPickerInput.emit();
2798
- if (!dragging) {
2799
- this.calciteColorPickerChange.emit();
2800
- }
2803
+ this.internalColorSet(color$1, true, "internal");
2801
2804
  }
2802
2805
  }
2803
2806
  //--------------------------------------------------------------------------
@@ -2926,7 +2929,7 @@ const ColorPicker = class {
2926
2929
  }
2927
2930
  return "none";
2928
2931
  }
2929
- internalColorSet(color, skipEqual = true, context = "internal") {
2932
+ internalColorSet(color, skipEqual = true, context = "user-interaction") {
2930
2933
  if (skipEqual && utils.colorEqual(color, this.color)) {
2931
2934
  return;
2932
2935
  }
@@ -3132,32 +3135,13 @@ const ColorPickerHexInput = class {
3132
3135
  : this.formatForInternalInput(utils.rgbToHex(this.internalColor.object()));
3133
3136
  };
3134
3137
  this.onInputChange = () => {
3135
- const inputValue = this.inputNode.value;
3136
- let value;
3137
- if (inputValue) {
3138
- const hex = inputValue;
3139
- const color = utils.hexToRGB(`#${hex}`);
3140
- if (!color) {
3141
- return;
3142
- }
3143
- value = utils.normalizeHex(hex);
3144
- }
3145
- else if (this.allowEmpty) {
3146
- value = null;
3147
- }
3148
- this.value = value;
3149
- this.calciteColorPickerHexInputChange.emit();
3138
+ this.internalSetValue(this.inputNode.value, this.value);
3150
3139
  };
3151
3140
  /**
3152
3141
  * The last valid/selected color. Used as a fallback if an invalid hex code is entered.
3153
3142
  */
3154
3143
  this.internalColor = DEFAULT_COLOR;
3155
3144
  this.previousNonNullValue = this.value;
3156
- //--------------------------------------------------------------------------
3157
- //
3158
- // Private Methods
3159
- //
3160
- //--------------------------------------------------------------------------
3161
3145
  this.storeInputRef = (node) => {
3162
3146
  this.inputNode = node;
3163
3147
  };
@@ -3172,38 +3156,16 @@ const ColorPickerHexInput = class {
3172
3156
  if (value) {
3173
3157
  const normalized = utils.normalizeHex(value);
3174
3158
  if (utils.isValidHex(normalized)) {
3175
- this.internalColor = color(normalized);
3176
- this.value = normalized;
3159
+ this.internalSetValue(normalized, normalized, false);
3177
3160
  }
3178
3161
  return;
3179
3162
  }
3180
3163
  if (allowEmpty) {
3181
- this.internalColor = null;
3182
- this.value = null;
3164
+ this.internalSetValue(null, null, false);
3183
3165
  }
3184
3166
  }
3185
3167
  handleValueChange(value, oldValue) {
3186
- if (value) {
3187
- const normalized = utils.normalizeHex(value);
3188
- if (utils.isValidHex(normalized)) {
3189
- const { internalColor } = this;
3190
- const changed = !internalColor || normalized !== utils.normalizeHex(internalColor.hex());
3191
- this.internalColor = color(normalized);
3192
- this.previousNonNullValue = normalized;
3193
- this.value = normalized;
3194
- if (changed) {
3195
- this.calciteColorPickerHexInputChange.emit();
3196
- }
3197
- return;
3198
- }
3199
- }
3200
- else if (this.allowEmpty) {
3201
- this.internalColor = null;
3202
- this.value = null;
3203
- this.calciteColorPickerHexInputChange.emit();
3204
- return;
3205
- }
3206
- this.value = oldValue;
3168
+ this.internalSetValue(value, oldValue, false);
3207
3169
  }
3208
3170
  // using @Listen as a workaround for VDOM listener not firing
3209
3171
  onInputKeyDown(event) {
@@ -3215,15 +3177,16 @@ const ColorPickerHexInput = class {
3215
3177
  return;
3216
3178
  }
3217
3179
  const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
3180
+ const oldValue = this.value;
3218
3181
  if (isNudgeKey) {
3219
3182
  if (!value) {
3220
- this.value = this.previousNonNullValue;
3183
+ this.internalSetValue(this.previousNonNullValue, oldValue);
3221
3184
  event.preventDefault();
3222
3185
  return;
3223
3186
  }
3224
3187
  const direction = key === "ArrowUp" ? 1 : -1;
3225
3188
  const bump = shiftKey ? 10 : 1;
3226
- this.value = utils.normalizeHex(this.nudgeRGBChannels(internalColor, bump * direction).hex());
3189
+ this.internalSetValue(utils.normalizeHex(this.nudgeRGBChannels(internalColor, bump * direction).hex()), oldValue);
3227
3190
  event.preventDefault();
3228
3191
  return;
3229
3192
  }
@@ -3253,6 +3216,36 @@ const ColorPickerHexInput = class {
3253
3216
  async setFocus() {
3254
3217
  dom.focusElement(this.inputNode);
3255
3218
  }
3219
+ //--------------------------------------------------------------------------
3220
+ //
3221
+ // Private Methods
3222
+ //
3223
+ //--------------------------------------------------------------------------
3224
+ internalSetValue(value, oldValue, emit = true) {
3225
+ if (value) {
3226
+ const normalized = utils.normalizeHex(value);
3227
+ if (utils.isValidHex(normalized)) {
3228
+ const { internalColor } = this;
3229
+ const changed = !internalColor || normalized !== utils.normalizeHex(internalColor.hex());
3230
+ this.internalColor = color(normalized);
3231
+ this.previousNonNullValue = normalized;
3232
+ this.value = normalized;
3233
+ if (changed && emit) {
3234
+ this.calciteColorPickerHexInputChange.emit();
3235
+ }
3236
+ return;
3237
+ }
3238
+ }
3239
+ else if (this.allowEmpty) {
3240
+ this.internalColor = null;
3241
+ this.value = null;
3242
+ if (emit) {
3243
+ this.calciteColorPickerHexInputChange.emit();
3244
+ }
3245
+ return;
3246
+ }
3247
+ this.value = oldValue;
3248
+ }
3256
3249
  formatForInternalInput(hex) {
3257
3250
  return hex ? hex.replace("#", "") : "";
3258
3251
  }