@esri/calcite-components 1.0.0-next.591 → 1.0.0-next.592

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 (1010) hide show
  1. package/dist/calcite/assets/icon/bookmarkF16.json +1 -0
  2. package/dist/calcite/assets/icon/bookmarkF24.json +1 -0
  3. package/dist/calcite/assets/icon/bookmarkF32.json +1 -0
  4. package/dist/calcite/assets/icon/multidimensionalRaster16.json +1 -0
  5. package/dist/calcite/assets/icon/multidimensionalRaster24.json +1 -0
  6. package/dist/calcite/assets/icon/multidimensionalRaster32.json +1 -0
  7. package/dist/calcite/assets/icon/register16.json +1 -0
  8. package/dist/calcite/assets/icon/register24.json +1 -0
  9. package/dist/calcite/assets/icon/register32.json +1 -0
  10. package/dist/calcite/assets/icon/satellite0F16.json +1 -0
  11. package/dist/calcite/assets/icon/satellite0F24.json +1 -0
  12. package/dist/calcite/assets/icon/satellite0F32.json +1 -0
  13. package/dist/calcite/assets/icon/satellite1F16.json +1 -0
  14. package/dist/calcite/assets/icon/satellite1F24.json +1 -0
  15. package/dist/calcite/assets/icon/satellite1F32.json +1 -0
  16. package/dist/calcite/assets/icon/satellite2F16.json +1 -0
  17. package/dist/calcite/assets/icon/satellite2F24.json +1 -0
  18. package/dist/calcite/assets/icon/satellite2F32.json +1 -0
  19. package/dist/calcite/assets/icon/satellite3F16.json +1 -0
  20. package/dist/calcite/assets/icon/satellite3F24.json +1 -0
  21. package/dist/calcite/assets/icon/satellite3F32.json +1 -0
  22. package/dist/calcite/assets/icon/unregister16.json +1 -0
  23. package/dist/calcite/assets/icon/unregister24.json +1 -0
  24. package/dist/calcite/assets/icon/unregister32.json +1 -0
  25. package/dist/calcite/calcite.esm.js +2 -2
  26. package/dist/calcite/calcite.js +1 -1
  27. package/dist/calcite/index.esm.js +1 -1
  28. package/dist/calcite/{p-452549ba.js → p-0219b3d2.js} +2 -2
  29. package/dist/calcite/{p-e9ff1274.entry.js → p-02651fc0.entry.js} +2 -2
  30. package/dist/calcite/{p-e3630229.entry.js → p-03fde4b7.entry.js} +2 -2
  31. package/dist/calcite/{p-0ba9b8ba.system.entry.js → p-06b8e552.system.entry.js} +2 -2
  32. package/dist/calcite/{p-2659b40a.js → p-07af0e44.js} +2 -2
  33. package/dist/calcite/{p-3dce59b2.system.entry.js → p-09c5039d.system.entry.js} +2 -2
  34. package/dist/calcite/{p-0a3088e1.entry.js → p-0b65f546.entry.js} +2 -2
  35. package/dist/calcite/{p-77fda96a.entry.js → p-0dab41eb.entry.js} +2 -2
  36. package/dist/calcite/{p-c9fdb4e7.system.js → p-0deea06b.system.js} +1 -1
  37. package/dist/calcite/{p-bf495102.js → p-0e16509c.js} +1 -1
  38. package/dist/calcite/{p-9507ff20.entry.js → p-0efaeaf5.entry.js} +2 -2
  39. package/dist/calcite/{p-50e5c399.system.js → p-1341e6c0.system.js} +1 -1
  40. package/dist/calcite/{p-5a5de09f.js → p-13453422.js} +1 -1
  41. package/dist/calcite/{p-5122f645.entry.js → p-137dc4b4.entry.js} +2 -2
  42. package/dist/calcite/{p-95b0bdfa.system.js → p-1431e528.system.js} +2 -2
  43. package/dist/calcite/{p-b953dddf.system.entry.js → p-145ec197.system.entry.js} +2 -2
  44. package/dist/calcite/{p-6406231a.js → p-15ba8e71.js} +2 -2
  45. package/dist/calcite/{p-c3b6fa6e.system.js → p-1fed525f.system.js} +1 -1
  46. package/dist/calcite/{p-3c3ad70b.system.entry.js → p-20b824b0.system.entry.js} +2 -2
  47. package/dist/calcite/{p-83c72dbb.system.entry.js → p-21897c99.system.entry.js} +2 -2
  48. package/dist/calcite/{p-b7b295e6.entry.js → p-21bd7b6c.entry.js} +2 -2
  49. package/dist/calcite/{p-4f5d68e1.entry.js → p-21dcce33.entry.js} +2 -2
  50. package/dist/calcite/{p-483efc2f.system.js → p-233d46a6.system.js} +1 -1
  51. package/dist/calcite/{p-f91b05e7.entry.js → p-259128ce.entry.js} +2 -2
  52. package/dist/calcite/{p-50b908ad.entry.js → p-2a1abc94.entry.js} +2 -2
  53. package/dist/calcite/{p-5a18add9.js → p-31aa9ed8.js} +1 -1
  54. package/dist/calcite/{p-30d702b8.system.entry.js → p-3210aee9.system.entry.js} +2 -2
  55. package/dist/calcite/{p-cb2ae2b3.entry.js → p-33082c53.entry.js} +2 -2
  56. package/dist/calcite/{p-a7621e7e.system.entry.js → p-334e0943.system.entry.js} +2 -2
  57. package/dist/calcite/{p-49146ea5.entry.js → p-339a4864.entry.js} +2 -2
  58. package/dist/calcite/{p-92fd3026.system.entry.js → p-33a0be61.system.entry.js} +2 -2
  59. package/dist/calcite/{p-025d5627.entry.js → p-3555df0b.entry.js} +2 -2
  60. package/dist/calcite/{p-c3597a0f.entry.js → p-355aa5ff.entry.js} +2 -2
  61. package/dist/calcite/{p-cf2a2d6b.entry.js → p-398329ef.entry.js} +2 -2
  62. package/dist/calcite/{p-e1cfdc4f.system.entry.js → p-3984bbe9.system.entry.js} +2 -2
  63. package/dist/calcite/{p-9fee4712.entry.js → p-398702d5.entry.js} +2 -2
  64. package/dist/calcite/{p-12bf747d.system.js → p-39e16b29.system.js} +1 -1
  65. package/dist/calcite/{p-de47c58a.system.entry.js → p-3e35d437.system.entry.js} +2 -2
  66. package/dist/calcite/{p-506018d1.entry.js → p-42377a28.entry.js} +2 -2
  67. package/dist/calcite/{p-ca9980d9.system.entry.js → p-43e4831f.system.entry.js} +2 -2
  68. package/dist/calcite/{p-75604e66.js → p-43eba3ed.js} +2 -2
  69. package/dist/calcite/{p-78384902.entry.js → p-46b0e18b.entry.js} +2 -2
  70. package/dist/calcite/{p-f5716270.entry.js → p-47d73fdb.entry.js} +2 -2
  71. package/dist/calcite/{p-11c0afdd.js → p-49a21534.js} +1 -1
  72. package/dist/calcite/{p-1c7b4f91.js → p-4bb5b4d5.js} +1 -1
  73. package/dist/calcite/{p-2b80e573.system.entry.js → p-4c49cd67.system.entry.js} +3 -3
  74. package/dist/calcite/{p-91f18e2f.system.js → p-4c4bb52a.system.js} +1 -1
  75. package/dist/calcite/{p-0a51e54a.system.entry.js → p-4cfdee92.system.entry.js} +2 -2
  76. package/dist/calcite/{p-6b9cfbc9.entry.js → p-4ea68514.entry.js} +2 -2
  77. package/dist/calcite/{p-4b2fa149.entry.js → p-4ec2fec5.entry.js} +2 -2
  78. package/dist/calcite/{p-627c694c.js → p-4f9c6acb.js} +1 -1
  79. package/dist/calcite/{p-7a67415d.entry.js → p-507eaa9e.entry.js} +2 -2
  80. package/dist/calcite/{p-19db2717.system.entry.js → p-50f29486.system.entry.js} +2 -2
  81. package/dist/calcite/{p-b62cb8fa.system.entry.js → p-52c9eeb2.system.entry.js} +2 -2
  82. package/dist/calcite/{p-ddb3de1b.js → p-53805142.js} +1 -1
  83. package/dist/calcite/p-57d7d5fc.js +6 -0
  84. package/dist/calcite/{p-dc5c0b55.entry.js → p-57f66a1f.entry.js} +2 -2
  85. package/dist/calcite/{p-0c9b9641.system.entry.js → p-5a358b31.system.entry.js} +2 -2
  86. package/dist/calcite/{p-255d50f3.system.js → p-5acb56bc.system.js} +1 -1
  87. package/dist/calcite/{p-bb0fefae.system.entry.js → p-5b8c2cd3.system.entry.js} +2 -2
  88. package/dist/calcite/{p-9677fbdb.entry.js → p-5c1a0019.entry.js} +2 -2
  89. package/dist/calcite/{p-5e4ecfa3.entry.js → p-5cc1a2a7.entry.js} +2 -2
  90. package/dist/calcite/{p-08d6befb.system.js → p-5ea7b39e.system.js} +1 -1
  91. package/dist/calcite/{p-11a42bba.system.js → p-60f58306.system.js} +2 -2
  92. package/dist/calcite/{p-be035275.system.entry.js → p-621d48b1.system.entry.js} +2 -2
  93. package/dist/calcite/{p-147a36dd.system.entry.js → p-6249acca.system.entry.js} +2 -2
  94. package/dist/calcite/{p-353f51e6.js → p-62e76388.js} +2 -2
  95. package/dist/calcite/{p-c53bcdfd.system.js → p-62e7c0c7.system.js} +2 -2
  96. package/dist/calcite/{p-9eaeebda.system.js → p-63f01854.system.js} +2 -2
  97. package/dist/calcite/{p-c1493788.system.js → p-662f8abe.system.js} +2 -2
  98. package/dist/calcite/{p-bd0a9278.js → p-66b5c873.js} +1 -1
  99. package/dist/calcite/{p-ee676611.system.entry.js → p-66d674c4.system.entry.js} +2 -2
  100. package/dist/calcite/{p-429573be.system.js → p-68fd9f72.system.js} +1 -1
  101. package/dist/calcite/{p-f81dc6dd.entry.js → p-6af7ffc6.entry.js} +2 -2
  102. package/dist/calcite/{p-2598f546.system.entry.js → p-6b2990ef.system.entry.js} +2 -2
  103. package/dist/calcite/{p-d37e8c16.entry.js → p-6b495904.entry.js} +2 -2
  104. package/dist/calcite/{p-09d8ccfe.entry.js → p-6e2cf71c.entry.js} +2 -2
  105. package/dist/calcite/{p-fcdd8aa5.js → p-6ef7760d.js} +1 -1
  106. package/dist/calcite/{p-66cb8205.js → p-6f8060b6.js} +1 -1
  107. package/dist/calcite/{p-95d28736.entry.js → p-70d58764.entry.js} +2 -2
  108. package/dist/calcite/{p-33ec68cd.entry.js → p-71d02967.entry.js} +2 -2
  109. package/dist/calcite/{p-63839f21.entry.js → p-749b028b.entry.js} +2 -2
  110. package/dist/calcite/{p-e233dbb9.entry.js → p-77e9e2d6.entry.js} +2 -2
  111. package/dist/calcite/{p-48574e5f.system.entry.js → p-7913670d.system.entry.js} +2 -2
  112. package/dist/calcite/{p-b9e73da9.system.js → p-7bb59da2.system.js} +1 -1
  113. package/dist/calcite/{p-53581040.entry.js → p-7de4e2e5.entry.js} +2 -2
  114. package/dist/calcite/{p-9a8bc555.entry.js → p-81aebdd2.entry.js} +2 -2
  115. package/dist/calcite/{p-42aea2d0.system.entry.js → p-84c954ea.system.entry.js} +2 -2
  116. package/dist/calcite/{p-03a312d6.system.js → p-8520752f.system.js} +2 -2
  117. package/dist/calcite/{p-3ec1cb66.js → p-852df4c4.js} +1 -1
  118. package/dist/calcite/{p-b98988fe.system.entry.js → p-85313e95.system.entry.js} +2 -2
  119. package/dist/calcite/{p-e1f0e955.system.entry.js → p-86f0b807.system.entry.js} +2 -2
  120. package/dist/calcite/{p-1bc7684a.system.entry.js → p-881cac10.system.entry.js} +2 -2
  121. package/dist/calcite/{p-5d053b2f.system.entry.js → p-88330412.system.entry.js} +2 -2
  122. package/dist/calcite/{p-6015a727.system.js → p-8928f77f.system.js} +2 -2
  123. package/dist/calcite/{p-f5ed8311.js → p-8983e98c.js} +1 -1
  124. package/dist/calcite/{p-8398f1ec.entry.js → p-8a50cea2.entry.js} +2 -2
  125. package/dist/calcite/{p-e632dfcd.system.entry.js → p-8c1ef269.system.entry.js} +2 -2
  126. package/dist/calcite/{p-5aaaac1c.js → p-8ccb2b79.js} +2 -2
  127. package/dist/calcite/{p-5589873b.entry.js → p-8dc489d7.entry.js} +2 -2
  128. package/dist/calcite/{p-34e3947b.js → p-8e8ff289.js} +1 -1
  129. package/dist/calcite/{p-e9bbcfca.system.entry.js → p-8f2dcdf3.system.entry.js} +2 -2
  130. package/dist/calcite/{p-7e68b3e4.js → p-8f350063.js} +2 -2
  131. package/dist/calcite/{p-32f91823.entry.js → p-91306617.entry.js} +2 -2
  132. package/dist/calcite/{p-89b7c30c.entry.js → p-925cf5fc.entry.js} +2 -2
  133. package/dist/calcite/{p-27d5b749.system.entry.js → p-92a5ce0c.system.entry.js} +2 -2
  134. package/dist/calcite/p-9384fac1.system.js +6 -0
  135. package/dist/calcite/{p-7d39792d.entry.js → p-94fa98ff.entry.js} +2 -2
  136. package/dist/calcite/{p-51be0565.system.js → p-956d08b5.system.js} +1 -1
  137. package/dist/calcite/{p-aaa324f3.system.js → p-9608a6fb.system.js} +1 -1
  138. package/dist/calcite/{p-7f4def9c.entry.js → p-9924d3eb.entry.js} +2 -2
  139. package/dist/calcite/{p-6d8ff198.system.entry.js → p-9ba79b4f.system.entry.js} +2 -2
  140. package/dist/calcite/{p-86bdc319.system.entry.js → p-9cd3bb4e.system.entry.js} +2 -2
  141. package/dist/calcite/{p-fd163fa4.system.entry.js → p-a231b178.system.entry.js} +2 -2
  142. package/dist/calcite/{p-4a64c51c.js → p-a7e2ab8c.js} +2 -2
  143. package/dist/calcite/{p-8ef22aa5.system.js → p-a850950e.system.js} +1 -1
  144. package/dist/calcite/{p-a714a841.js → p-a8ee7579.js} +2 -2
  145. package/dist/calcite/{p-d8ac938c.entry.js → p-a9118a3b.entry.js} +2 -2
  146. package/dist/calcite/{p-e9839b8d.entry.js → p-aa606caa.entry.js} +2 -2
  147. package/dist/calcite/{p-7ecbd0c0.system.entry.js → p-aa9acb41.system.entry.js} +2 -2
  148. package/dist/calcite/{p-cae41cf0.entry.js → p-aa9e7429.entry.js} +2 -2
  149. package/dist/calcite/{p-b5ec2dc4.entry.js → p-adcdd6a2.entry.js} +2 -2
  150. package/dist/calcite/{p-80eb1003.entry.js → p-ae436d73.entry.js} +2 -2
  151. package/dist/calcite/{p-c271626d.entry.js → p-ae94fd5e.entry.js} +2 -2
  152. package/dist/calcite/{p-500f82ee.system.entry.js → p-aeaa0368.system.entry.js} +2 -2
  153. package/dist/calcite/{p-c18cdc94.system.entry.js → p-b0483326.system.entry.js} +2 -2
  154. package/dist/calcite/{p-7b3a2e0d.system.entry.js → p-b289c949.system.entry.js} +2 -2
  155. package/dist/calcite/{p-da2cb40f.entry.js → p-b3414e2c.entry.js} +2 -2
  156. package/dist/calcite/{p-9c83fe59.entry.js → p-b4609380.entry.js} +2 -2
  157. package/dist/calcite/{p-42d77212.entry.js → p-b4c84a62.entry.js} +2 -2
  158. package/dist/calcite/{p-98086395.system.js → p-b4e8d555.system.js} +1 -1
  159. package/dist/calcite/{p-fcf79734.system.js → p-b6377d61.system.js} +1 -1
  160. package/dist/calcite/{p-40d81bf5.system.entry.js → p-b66775e8.system.entry.js} +2 -2
  161. package/dist/calcite/{p-698a6a88.entry.js → p-b74290a4.entry.js} +2 -2
  162. package/dist/calcite/{p-66e25c83.system.entry.js → p-bd3478a2.system.entry.js} +2 -2
  163. package/dist/calcite/{p-5c0085ee.system.entry.js → p-bee8777d.system.entry.js} +2 -2
  164. package/dist/calcite/{p-cd54fec4.system.entry.js → p-c2851f09.system.entry.js} +2 -2
  165. package/dist/calcite/{p-ef7deab6.system.entry.js → p-c2f79498.system.entry.js} +2 -2
  166. package/dist/calcite/{p-fb18785d.system.js → p-c3f4fa63.system.js} +2 -2
  167. package/dist/calcite/{p-c24119de.system.entry.js → p-c45b097a.system.entry.js} +2 -2
  168. package/dist/calcite/{p-d8b9b76d.system.entry.js → p-c63e00ed.system.entry.js} +2 -2
  169. package/dist/calcite/{p-2b605055.system.entry.js → p-c96d0101.system.entry.js} +2 -2
  170. package/dist/calcite/{p-43bae778.system.entry.js → p-c9d369b3.system.entry.js} +2 -2
  171. package/dist/calcite/p-ca30591e.system.js +6 -0
  172. package/dist/calcite/{p-e3ea1fcf.system.entry.js → p-cc4904dd.system.entry.js} +2 -2
  173. package/dist/calcite/{p-3a5177e1.js → p-ccbb3e13.js} +1 -1
  174. package/dist/calcite/{p-1cada3fb.system.entry.js → p-d73eab52.system.entry.js} +2 -2
  175. package/dist/calcite/{p-81da4da3.system.entry.js → p-d7a499fc.system.entry.js} +2 -2
  176. package/dist/calcite/{p-284aa1c1.entry.js → p-d819b3c0.entry.js} +2 -2
  177. package/dist/calcite/{p-e0ea716d.system.js → p-d92824e8.system.js} +1 -1
  178. package/dist/calcite/{p-9de90e82.system.entry.js → p-da457a91.system.entry.js} +2 -2
  179. package/dist/calcite/{p-e95cbe81.system.js → p-dd29318b.system.js} +1 -1
  180. package/dist/calcite/{p-a6a5f435.entry.js → p-dd94e6ec.entry.js} +2 -2
  181. package/dist/calcite/{p-6a1f134b.system.js → p-de5498f9.system.js} +2 -2
  182. package/dist/calcite/{p-2be442b6.entry.js → p-deb99adb.entry.js} +2 -2
  183. package/dist/calcite/{p-33177ed0.system.entry.js → p-df11f7f2.system.entry.js} +2 -2
  184. package/dist/calcite/{p-dfdf0722.system.entry.js → p-df78045f.system.entry.js} +2 -2
  185. package/dist/calcite/{p-e20a6a0a.entry.js → p-e07e382e.entry.js} +2 -2
  186. package/dist/calcite/{p-c5d232b5.entry.js → p-e0d68072.entry.js} +2 -2
  187. package/dist/calcite/{p-5e729ef6.js → p-e3f3f4f5.js} +2 -2
  188. package/dist/calcite/{p-2311cf72.entry.js → p-e437c008.entry.js} +2 -2
  189. package/dist/calcite/{p-367263d3.system.entry.js → p-e47ac700.system.entry.js} +2 -2
  190. package/dist/calcite/{p-3e839bb2.js → p-e574463c.js} +1 -1
  191. package/dist/calcite/{p-46175024.system.entry.js → p-e8950db3.system.entry.js} +2 -2
  192. package/dist/calcite/{p-befd8508.system.entry.js → p-e8d4b496.system.entry.js} +2 -2
  193. package/dist/calcite/{p-63718a44.js → p-e97738ad.js} +2 -2
  194. package/dist/calcite/p-e9eaf0c6.system.js +6 -0
  195. package/dist/calcite/{p-0bb06c8e.system.entry.js → p-eeabc00f.system.entry.js} +2 -2
  196. package/dist/calcite/{p-8db74f6c.entry.js → p-f2a3a546.entry.js} +2 -2
  197. package/dist/calcite/{p-3464c876.entry.js → p-f3de6aea.entry.js} +2 -2
  198. package/dist/calcite/{p-4a8c8709.system.js → p-f3fe46cb.system.js} +2 -2
  199. package/dist/calcite/{p-18cd493a.system.entry.js → p-f42223e9.system.entry.js} +2 -2
  200. package/dist/calcite/{p-47fe0351.entry.js → p-f56bea80.entry.js} +2 -2
  201. package/dist/calcite/{p-4b755de3.system.entry.js → p-f6228451.system.entry.js} +2 -2
  202. package/dist/calcite/{p-fee01bc3.js → p-f65e0370.js} +1 -1
  203. package/dist/calcite/{p-ea510d57.system.entry.js → p-f6c837f6.system.entry.js} +2 -2
  204. package/dist/calcite/{p-208b6f5b.system.entry.js → p-f7d53ada.system.entry.js} +2 -2
  205. package/dist/calcite/{p-2f2c7215.entry.js → p-fc776463.entry.js} +2 -2
  206. package/dist/cjs/{ExpandToggle-fcb43d53.js → ExpandToggle-5ef44f6f.js} +5 -5
  207. package/dist/cjs/{Heading-ce160f8e.js → Heading-b0a376b8.js} +2 -2
  208. package/dist/cjs/{app-globals-668eee5e.js → app-globals-1101941d.js} +2 -2
  209. package/dist/cjs/{array-9cf5b027.js → array-6a5a58a6.js} +1 -1
  210. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  211. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  212. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  213. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  214. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  215. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  216. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  218. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  219. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  220. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  222. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
  224. package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
  225. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
  226. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -11
  227. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  228. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  229. package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
  230. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  231. package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
  232. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  233. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  234. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  235. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +15 -15
  236. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  237. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  238. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  239. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
  240. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  241. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  242. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  243. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  244. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  245. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  246. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  247. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  248. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  249. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  250. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  251. package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -11
  252. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  253. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  254. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  255. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  256. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  257. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  258. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  259. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  260. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  261. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  262. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  263. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  264. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  265. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  266. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  267. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
  268. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  269. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  270. package/dist/cjs/calcite.cjs.js +4 -4
  271. package/dist/cjs/{conditionalSlot-58574bf4.js → conditionalSlot-28c1e53c.js} +3 -3
  272. package/dist/cjs/{debounce-0b1514d7.js → debounce-d326e10a.js} +1 -1
  273. package/dist/cjs/{dom-699a586a.js → dom-563289aa.js} +3 -3
  274. package/dist/cjs/{filter-34536126.js → filter-4c6b9533.js} +2 -2
  275. package/dist/cjs/{floating-ui-880cd922.js → floating-ui-181c7c69.js} +2 -2
  276. package/dist/cjs/{form-48cc9c12.js → form-e3c0a22b.js} +3 -3
  277. package/dist/cjs/{globalAttributes-ecb4e82c.js → globalAttributes-ed82911e.js} +3 -3
  278. package/dist/cjs/{guid-9aa34489.js → guid-fbbbf215.js} +1 -1
  279. package/dist/cjs/{index-00cc8a14.js → index-3d1c18b4.js} +1 -1
  280. package/dist/cjs/index.cjs.js +1 -1
  281. package/dist/cjs/{interactive-0e71d74d.js → interactive-7ebe4115.js} +1 -1
  282. package/dist/cjs/{interfaces-f0a71749.js → interfaces-9593545f.js} +1 -1
  283. package/dist/cjs/{key-f88d783b.js → key-55bf7b4b.js} +1 -1
  284. package/dist/cjs/{label-e6e6b625.js → label-553051d5.js} +2 -2
  285. package/dist/cjs/loader.cjs.js +4 -4
  286. package/dist/cjs/{math-2cc4dae7.js → math-59d009fc.js} +1 -1
  287. package/dist/cjs/{observers-fcf86bf2.js → observers-763a17bd.js} +1 -1
  288. package/dist/cjs/{openCloseComponent-13872644.js → openCloseComponent-91d645c8.js} +1 -1
  289. package/dist/cjs/{resources-bd3d9d2d.js → resources-02150c59.js} +5 -5
  290. package/dist/cjs/{resources-22801dc0.js → resources-05be1041.js} +1 -1
  291. package/dist/cjs/{resources-2515810c.js → resources-662c4ac8.js} +3 -3
  292. package/dist/cjs/{resources-795c87e8.js → resources-91752060.js} +1 -1
  293. package/dist/cjs/{resources-83603040.js → resources-de05c4c3.js} +1 -1
  294. package/dist/cjs/{resources-e6b451dc.js → resources-ed439731.js} +1 -1
  295. package/dist/cjs/{sortable.esm-4c346007.js → sortable.esm-667e846e.js} +1 -1
  296. package/dist/cjs/{utils-f49f1738.js → utils-7344acf9.js} +1 -1
  297. package/dist/collection/components/accordion/accordion.js +1 -1
  298. package/dist/collection/components/accordion/interfaces.js +1 -1
  299. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  300. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  301. package/dist/collection/components/accordion-item/resources.js +1 -1
  302. package/dist/collection/components/action/action.js +1 -1
  303. package/dist/collection/components/action/resources.js +1 -1
  304. package/dist/collection/components/action-bar/action-bar.js +1 -1
  305. package/dist/collection/components/action-bar/resources.js +1 -1
  306. package/dist/collection/components/action-bar/utils.js +1 -1
  307. package/dist/collection/components/action-group/action-group.js +1 -1
  308. package/dist/collection/components/action-group/resources.js +1 -1
  309. package/dist/collection/components/action-menu/action-menu.js +1 -1
  310. package/dist/collection/components/action-menu/resources.js +1 -1
  311. package/dist/collection/components/action-pad/action-pad.js +1 -1
  312. package/dist/collection/components/action-pad/resources.js +1 -1
  313. package/dist/collection/components/alert/alert.js +1 -1
  314. package/dist/collection/components/alert/interfaces.js +1 -1
  315. package/dist/collection/components/alert/resources.js +1 -1
  316. package/dist/collection/components/avatar/avatar.js +1 -1
  317. package/dist/collection/components/avatar/utils.js +1 -1
  318. package/dist/collection/components/block/block.js +1 -1
  319. package/dist/collection/components/block/resources.js +1 -1
  320. package/dist/collection/components/block-section/block-section.js +1 -1
  321. package/dist/collection/components/block-section/interfaces.js +1 -1
  322. package/dist/collection/components/block-section/resources.js +1 -1
  323. package/dist/collection/components/button/button.js +1 -1
  324. package/dist/collection/components/button/interfaces.js +1 -1
  325. package/dist/collection/components/button/resources.js +1 -1
  326. package/dist/collection/components/card/card.js +1 -1
  327. package/dist/collection/components/card/resources.js +1 -1
  328. package/dist/collection/components/checkbox/checkbox.js +1 -1
  329. package/dist/collection/components/chip/chip.js +1 -1
  330. package/dist/collection/components/chip/interfaces.js +1 -1
  331. package/dist/collection/components/chip/resources.js +1 -1
  332. package/dist/collection/components/color-picker/color-picker.js +1 -1
  333. package/dist/collection/components/color-picker/interfaces.js +1 -1
  334. package/dist/collection/components/color-picker/resources.js +1 -1
  335. package/dist/collection/components/color-picker/utils.js +1 -1
  336. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  337. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  338. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  339. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  340. package/dist/collection/components/combobox/combobox.js +1 -1
  341. package/dist/collection/components/combobox/interfaces.js +1 -1
  342. package/dist/collection/components/combobox/resources.js +1 -1
  343. package/dist/collection/components/combobox/utils.js +1 -1
  344. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  345. package/dist/collection/components/combobox-item/resources.js +1 -1
  346. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  347. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  348. package/dist/collection/components/date-picker/date-picker.js +1 -1
  349. package/dist/collection/components/date-picker/interfaces.js +1 -1
  350. package/dist/collection/components/date-picker/resources.js +1 -1
  351. package/dist/collection/components/date-picker/utils.js +1 -1
  352. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  353. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  354. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
  355. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  356. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  357. package/dist/collection/components/dropdown/dropdown.js +1 -1
  358. package/dist/collection/components/dropdown/interfaces.js +1 -1
  359. package/dist/collection/components/dropdown/resources.js +1 -1
  360. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  361. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  362. package/dist/collection/components/dropdown-group/resources.js +1 -1
  363. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  364. package/dist/collection/components/dropdown-item/resources.js +1 -1
  365. package/dist/collection/components/fab/fab.js +1 -1
  366. package/dist/collection/components/fab/resources.js +1 -1
  367. package/dist/collection/components/filter/filter.js +1 -1
  368. package/dist/collection/components/filter/resources.js +1 -1
  369. package/dist/collection/components/flow/flow.js +1 -1
  370. package/dist/collection/components/flow/interfaces.js +1 -1
  371. package/dist/collection/components/flow/resources.js +1 -1
  372. package/dist/collection/components/flow-item/flow-item.js +1 -1
  373. package/dist/collection/components/flow-item/resources.js +1 -1
  374. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  375. package/dist/collection/components/functional/Heading.js +1 -1
  376. package/dist/collection/components/graph/graph.js +1 -1
  377. package/dist/collection/components/graph/interfaces.js +1 -1
  378. package/dist/collection/components/graph/util.js +1 -1
  379. package/dist/collection/components/handle/handle.js +1 -1
  380. package/dist/collection/components/handle/resources.js +1 -1
  381. package/dist/collection/components/icon/assets/icon/bookmarkF16.json +1 -0
  382. package/dist/collection/components/icon/assets/icon/bookmarkF24.json +1 -0
  383. package/dist/collection/components/icon/assets/icon/bookmarkF32.json +1 -0
  384. package/dist/collection/components/icon/assets/icon/multidimensionalRaster16.json +1 -0
  385. package/dist/collection/components/icon/assets/icon/multidimensionalRaster24.json +1 -0
  386. package/dist/collection/components/icon/assets/icon/multidimensionalRaster32.json +1 -0
  387. package/dist/collection/components/icon/assets/icon/register16.json +1 -0
  388. package/dist/collection/components/icon/assets/icon/register24.json +1 -0
  389. package/dist/collection/components/icon/assets/icon/register32.json +1 -0
  390. package/dist/collection/components/icon/assets/icon/satellite0F16.json +1 -0
  391. package/dist/collection/components/icon/assets/icon/satellite0F24.json +1 -0
  392. package/dist/collection/components/icon/assets/icon/satellite0F32.json +1 -0
  393. package/dist/collection/components/icon/assets/icon/satellite1F16.json +1 -0
  394. package/dist/collection/components/icon/assets/icon/satellite1F24.json +1 -0
  395. package/dist/collection/components/icon/assets/icon/satellite1F32.json +1 -0
  396. package/dist/collection/components/icon/assets/icon/satellite2F16.json +1 -0
  397. package/dist/collection/components/icon/assets/icon/satellite2F24.json +1 -0
  398. package/dist/collection/components/icon/assets/icon/satellite2F32.json +1 -0
  399. package/dist/collection/components/icon/assets/icon/satellite3F16.json +1 -0
  400. package/dist/collection/components/icon/assets/icon/satellite3F24.json +1 -0
  401. package/dist/collection/components/icon/assets/icon/satellite3F32.json +1 -0
  402. package/dist/collection/components/icon/assets/icon/unregister16.json +1 -0
  403. package/dist/collection/components/icon/assets/icon/unregister24.json +1 -0
  404. package/dist/collection/components/icon/assets/icon/unregister32.json +1 -0
  405. package/dist/collection/components/icon/icon.js +1 -1
  406. package/dist/collection/components/icon/resources.js +1 -1
  407. package/dist/collection/components/icon/utils.js +1 -1
  408. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  409. package/dist/collection/components/inline-editable/resources.js +1 -1
  410. package/dist/collection/components/input/input.js +1 -1
  411. package/dist/collection/components/input/interfaces.js +1 -1
  412. package/dist/collection/components/input/resources.js +1 -1
  413. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  414. package/dist/collection/components/input-date-picker/resources.js +1 -1
  415. package/dist/collection/components/input-message/input-message.js +1 -1
  416. package/dist/collection/components/input-message/interfaces.js +1 -1
  417. package/dist/collection/components/input-number/input-number.js +1 -1
  418. package/dist/collection/components/input-number/interfaces.js +1 -1
  419. package/dist/collection/components/input-number/resources.js +1 -1
  420. package/dist/collection/components/input-text/input-text.js +1 -1
  421. package/dist/collection/components/input-text/resources.js +1 -1
  422. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  423. package/dist/collection/components/interfaces.js +1 -1
  424. package/dist/collection/components/label/label.js +1 -1
  425. package/dist/collection/components/label/resources.js +1 -1
  426. package/dist/collection/components/link/link.js +1 -1
  427. package/dist/collection/components/list/list.js +1 -1
  428. package/dist/collection/components/list/resources.js +1 -1
  429. package/dist/collection/components/list-item/list-item.js +1 -1
  430. package/dist/collection/components/list-item/resources.js +1 -1
  431. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  432. package/dist/collection/components/list-item-group/resources.js +1 -1
  433. package/dist/collection/components/loader/loader.js +1 -1
  434. package/dist/collection/components/modal/interfaces.js +1 -1
  435. package/dist/collection/components/modal/modal.js +1 -1
  436. package/dist/collection/components/modal/resources.js +1 -1
  437. package/dist/collection/components/notice/notice.js +1 -1
  438. package/dist/collection/components/notice/resources.js +1 -1
  439. package/dist/collection/components/option/option.js +1 -1
  440. package/dist/collection/components/option-group/option-group.js +1 -1
  441. package/dist/collection/components/pagination/pagination.js +1 -1
  442. package/dist/collection/components/pagination/resources.js +1 -1
  443. package/dist/collection/components/panel/panel.js +1 -1
  444. package/dist/collection/components/panel/resources.js +1 -1
  445. package/dist/collection/components/pick-list/pick-list.js +1 -1
  446. package/dist/collection/components/pick-list/resources.js +1 -1
  447. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  448. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  449. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  450. package/dist/collection/components/pick-list-group/resources.js +1 -1
  451. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  452. package/dist/collection/components/pick-list-item/resources.js +1 -1
  453. package/dist/collection/components/popover/PopoverManager.js +1 -1
  454. package/dist/collection/components/popover/popover.js +1 -1
  455. package/dist/collection/components/popover/resources.js +1 -1
  456. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  457. package/dist/collection/components/progress/progress.js +1 -1
  458. package/dist/collection/components/radio-button/radio-button.js +1 -1
  459. package/dist/collection/components/radio-button/resources.js +1 -1
  460. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  461. package/dist/collection/components/radio-group/interfaces.js +1 -1
  462. package/dist/collection/components/radio-group/radio-group.js +1 -1
  463. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  464. package/dist/collection/components/radio-group-item/resources.js +1 -1
  465. package/dist/collection/components/rating/rating.js +1 -1
  466. package/dist/collection/components/rating/resources.js +1 -1
  467. package/dist/collection/components/scrim/resources.js +1 -1
  468. package/dist/collection/components/scrim/scrim.js +1 -1
  469. package/dist/collection/components/select/resources.js +1 -1
  470. package/dist/collection/components/select/select.js +1 -1
  471. package/dist/collection/components/shell/resources.js +1 -1
  472. package/dist/collection/components/shell/shell.js +1 -1
  473. package/dist/collection/components/shell-center-row/resources.js +1 -1
  474. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  475. package/dist/collection/components/shell-panel/resources.js +1 -1
  476. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  477. package/dist/collection/components/slider/resources.js +1 -1
  478. package/dist/collection/components/slider/slider.js +1 -1
  479. package/dist/collection/components/sortable-list/resources.js +1 -1
  480. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  481. package/dist/collection/components/split-button/resources.js +1 -1
  482. package/dist/collection/components/split-button/split-button.js +1 -1
  483. package/dist/collection/components/stepper/interfaces.js +1 -1
  484. package/dist/collection/components/stepper/stepper.js +1 -1
  485. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  486. package/dist/collection/components/switch/switch.js +1 -1
  487. package/dist/collection/components/tab/interfaces.js +1 -1
  488. package/dist/collection/components/tab/tab.js +1 -1
  489. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  490. package/dist/collection/components/tab-title/tab-title.js +1 -1
  491. package/dist/collection/components/tabs/interfaces.js +1 -1
  492. package/dist/collection/components/tabs/resources.js +1 -1
  493. package/dist/collection/components/tabs/tabs.js +1 -1
  494. package/dist/collection/components/tile/resources.js +1 -1
  495. package/dist/collection/components/tile/tile.js +1 -1
  496. package/dist/collection/components/tile-select/interfaces.js +1 -1
  497. package/dist/collection/components/tile-select/resources.js +1 -1
  498. package/dist/collection/components/tile-select/tile-select.js +1 -1
  499. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  500. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  501. package/dist/collection/components/time-picker/resources.js +1 -1
  502. package/dist/collection/components/time-picker/time-picker.js +1 -1
  503. package/dist/collection/components/tip/resources.js +1 -1
  504. package/dist/collection/components/tip/tip.js +1 -1
  505. package/dist/collection/components/tip-group/tip-group.js +1 -1
  506. package/dist/collection/components/tip-manager/resources.js +1 -1
  507. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  508. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  509. package/dist/collection/components/tooltip/resources.js +1 -1
  510. package/dist/collection/components/tooltip/tooltip.js +1 -1
  511. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  512. package/dist/collection/components/tree/interfaces.js +1 -1
  513. package/dist/collection/components/tree/tree.js +1 -1
  514. package/dist/collection/components/tree-item/interfaces.js +1 -1
  515. package/dist/collection/components/tree-item/resources.js +1 -1
  516. package/dist/collection/components/tree-item/tree-item.js +1 -1
  517. package/dist/collection/components/value-list/interfaces.js +1 -1
  518. package/dist/collection/components/value-list/resources.js +1 -1
  519. package/dist/collection/components/value-list/utils.js +1 -1
  520. package/dist/collection/components/value-list/value-list.js +1 -1
  521. package/dist/collection/components/value-list-item/resources.js +1 -1
  522. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  523. package/dist/collection/utils/array.js +1 -1
  524. package/dist/collection/utils/conditionalSlot.js +1 -1
  525. package/dist/collection/utils/date.js +1 -1
  526. package/dist/collection/utils/dom.js +1 -1
  527. package/dist/collection/utils/filter.js +1 -1
  528. package/dist/collection/utils/floating-ui.js +1 -1
  529. package/dist/collection/utils/form.js +1 -1
  530. package/dist/collection/utils/globalAttributes.js +1 -1
  531. package/dist/collection/utils/globalScript.js +1 -1
  532. package/dist/collection/utils/guid.js +1 -1
  533. package/dist/collection/utils/interactive.js +1 -1
  534. package/dist/collection/utils/key.js +1 -1
  535. package/dist/collection/utils/label.js +1 -1
  536. package/dist/collection/utils/locale.js +1 -1
  537. package/dist/collection/utils/math.js +1 -1
  538. package/dist/collection/utils/number.js +1 -1
  539. package/dist/collection/utils/observers.js +1 -1
  540. package/dist/collection/utils/openCloseComponent.js +1 -1
  541. package/dist/collection/utils/resources.js +1 -1
  542. package/dist/collection/utils/theme.js +1 -1
  543. package/dist/collection/utils/time.js +1 -1
  544. package/dist/components/ExpandToggle.js +1 -1
  545. package/dist/components/Heading.js +1 -1
  546. package/dist/components/action-group.js +1 -1
  547. package/dist/components/action-menu.js +1 -1
  548. package/dist/components/action.js +1 -1
  549. package/dist/components/array.js +1 -1
  550. package/dist/components/button.js +1 -1
  551. package/dist/components/calcite-accordion-item.js +1 -1
  552. package/dist/components/calcite-accordion.js +1 -1
  553. package/dist/components/calcite-action-bar.js +1 -1
  554. package/dist/components/calcite-action-group.js +1 -1
  555. package/dist/components/calcite-action-menu.js +1 -1
  556. package/dist/components/calcite-action-pad.js +1 -1
  557. package/dist/components/calcite-action.js +1 -1
  558. package/dist/components/calcite-alert.js +1 -1
  559. package/dist/components/calcite-avatar.js +1 -1
  560. package/dist/components/calcite-block-section.js +1 -1
  561. package/dist/components/calcite-block.js +1 -1
  562. package/dist/components/calcite-button.js +1 -1
  563. package/dist/components/calcite-card.js +1 -1
  564. package/dist/components/calcite-checkbox.js +1 -1
  565. package/dist/components/calcite-chip.js +1 -1
  566. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  567. package/dist/components/calcite-color-picker-swatch.js +1 -1
  568. package/dist/components/calcite-color-picker.js +1 -1
  569. package/dist/components/calcite-combobox-item-group.js +1 -1
  570. package/dist/components/calcite-combobox-item.js +1 -1
  571. package/dist/components/calcite-combobox.js +1 -1
  572. package/dist/components/calcite-date-picker-day.js +1 -1
  573. package/dist/components/calcite-date-picker-month-header.js +1 -1
  574. package/dist/components/calcite-date-picker-month.js +1 -1
  575. package/dist/components/calcite-date-picker.js +1 -1
  576. package/dist/components/calcite-dropdown-group.js +1 -1
  577. package/dist/components/calcite-dropdown-item.js +1 -1
  578. package/dist/components/calcite-dropdown.js +1 -1
  579. package/dist/components/calcite-fab.js +1 -1
  580. package/dist/components/calcite-filter.js +1 -1
  581. package/dist/components/calcite-flow-item.js +1 -1
  582. package/dist/components/calcite-flow.js +1 -1
  583. package/dist/components/calcite-graph.js +1 -1
  584. package/dist/components/calcite-handle.js +1 -1
  585. package/dist/components/calcite-icon.js +1 -1
  586. package/dist/components/calcite-inline-editable.js +1 -1
  587. package/dist/components/calcite-input-date-picker.js +1 -1
  588. package/dist/components/calcite-input-message.js +1 -1
  589. package/dist/components/calcite-input-number.js +1 -1
  590. package/dist/components/calcite-input-text.js +1 -1
  591. package/dist/components/calcite-input-time-picker.js +1 -1
  592. package/dist/components/calcite-input.js +1 -1
  593. package/dist/components/calcite-label.js +1 -1
  594. package/dist/components/calcite-link.js +1 -1
  595. package/dist/components/calcite-list-item-group.js +1 -1
  596. package/dist/components/calcite-list-item.js +1 -1
  597. package/dist/components/calcite-list.js +1 -1
  598. package/dist/components/calcite-loader.js +1 -1
  599. package/dist/components/calcite-modal.js +1 -1
  600. package/dist/components/calcite-notice.js +1 -1
  601. package/dist/components/calcite-option-group.js +1 -1
  602. package/dist/components/calcite-option.js +1 -1
  603. package/dist/components/calcite-pagination.js +1 -1
  604. package/dist/components/calcite-panel.js +1 -1
  605. package/dist/components/calcite-pick-list-group.js +1 -1
  606. package/dist/components/calcite-pick-list-item.js +1 -1
  607. package/dist/components/calcite-pick-list.js +1 -1
  608. package/dist/components/calcite-popover-manager.js +1 -1
  609. package/dist/components/calcite-popover.js +1 -1
  610. package/dist/components/calcite-progress.js +1 -1
  611. package/dist/components/calcite-radio-button-group.js +1 -1
  612. package/dist/components/calcite-radio-button.js +1 -1
  613. package/dist/components/calcite-radio-group-item.js +1 -1
  614. package/dist/components/calcite-radio-group.js +1 -1
  615. package/dist/components/calcite-rating.js +1 -1
  616. package/dist/components/calcite-scrim.js +1 -1
  617. package/dist/components/calcite-select.js +1 -1
  618. package/dist/components/calcite-shell-center-row.js +1 -1
  619. package/dist/components/calcite-shell-panel.js +1 -1
  620. package/dist/components/calcite-shell.js +1 -1
  621. package/dist/components/calcite-slider.js +1 -1
  622. package/dist/components/calcite-sortable-list.js +1 -1
  623. package/dist/components/calcite-split-button.js +1 -1
  624. package/dist/components/calcite-stepper-item.js +1 -1
  625. package/dist/components/calcite-stepper.js +1 -1
  626. package/dist/components/calcite-switch.js +1 -1
  627. package/dist/components/calcite-tab-nav.js +1 -1
  628. package/dist/components/calcite-tab-title.js +1 -1
  629. package/dist/components/calcite-tab.js +1 -1
  630. package/dist/components/calcite-tabs.js +1 -1
  631. package/dist/components/calcite-tile-select-group.js +1 -1
  632. package/dist/components/calcite-tile-select.js +1 -1
  633. package/dist/components/calcite-tile.js +1 -1
  634. package/dist/components/calcite-time-picker.js +1 -1
  635. package/dist/components/calcite-tip-group.js +1 -1
  636. package/dist/components/calcite-tip-manager.js +1 -1
  637. package/dist/components/calcite-tip.js +1 -1
  638. package/dist/components/calcite-tooltip-manager.js +1 -1
  639. package/dist/components/calcite-tooltip.js +1 -1
  640. package/dist/components/calcite-tree-item.js +1 -1
  641. package/dist/components/calcite-tree.js +1 -1
  642. package/dist/components/calcite-value-list-item.js +1 -1
  643. package/dist/components/calcite-value-list.js +1 -1
  644. package/dist/components/checkbox.js +1 -1
  645. package/dist/components/chip.js +1 -1
  646. package/dist/components/color-picker-hex-input.js +1 -1
  647. package/dist/components/color-picker-swatch.js +1 -1
  648. package/dist/components/conditionalSlot.js +1 -1
  649. package/dist/components/date-picker-day.js +1 -1
  650. package/dist/components/date-picker-month-header.js +2 -2
  651. package/dist/components/date-picker-month.js +1 -1
  652. package/dist/components/date-picker.js +1 -1
  653. package/dist/components/date.js +1 -1
  654. package/dist/components/debounce.js +1 -1
  655. package/dist/components/dom.js +1 -1
  656. package/dist/components/dropdown.js +1 -1
  657. package/dist/components/filter.js +1 -1
  658. package/dist/components/filter2.js +1 -1
  659. package/dist/components/floating-ui.js +1 -1
  660. package/dist/components/form.js +1 -1
  661. package/dist/components/globalAttributes.js +1 -1
  662. package/dist/components/graph.js +1 -1
  663. package/dist/components/guid.js +1 -1
  664. package/dist/components/handle.js +1 -1
  665. package/dist/components/icon.js +1 -1
  666. package/dist/components/index.js +1 -1
  667. package/dist/components/input.js +1 -1
  668. package/dist/components/interactive.js +1 -1
  669. package/dist/components/interfaces.js +1 -1
  670. package/dist/components/interfaces2.js +1 -1
  671. package/dist/components/key.js +1 -1
  672. package/dist/components/label.js +1 -1
  673. package/dist/components/label2.js +1 -1
  674. package/dist/components/link.js +1 -1
  675. package/dist/components/loader.js +1 -1
  676. package/dist/components/math.js +1 -1
  677. package/dist/components/observers.js +1 -1
  678. package/dist/components/openCloseComponent.js +1 -1
  679. package/dist/components/panel.js +1 -1
  680. package/dist/components/pick-list-item.js +1 -1
  681. package/dist/components/popover.js +1 -1
  682. package/dist/components/progress.js +1 -1
  683. package/dist/components/resources.js +1 -1
  684. package/dist/components/resources2.js +1 -1
  685. package/dist/components/resources3.js +1 -1
  686. package/dist/components/scrim.js +1 -1
  687. package/dist/components/shared-list-render.js +1 -1
  688. package/dist/components/sortable.esm.js +1 -1
  689. package/dist/components/switch.js +1 -1
  690. package/dist/components/tab-nav.js +1 -1
  691. package/dist/components/tab-title.js +1 -1
  692. package/dist/components/tab.js +1 -1
  693. package/dist/components/tabs.js +1 -1
  694. package/dist/components/tile.js +1 -1
  695. package/dist/components/time-picker.js +1 -1
  696. package/dist/components/tooltip.js +1 -1
  697. package/dist/components/utils.js +1 -1
  698. package/dist/components/utils2.js +1 -1
  699. package/dist/custom-elements/index.js +2 -2
  700. package/dist/esm/{ExpandToggle-2e4189cd.js → ExpandToggle-605598d9.js} +5 -5
  701. package/dist/esm/{Heading-2bc1bea6.js → Heading-b66b5f0c.js} +2 -2
  702. package/dist/esm/{app-globals-82059e09.js → app-globals-41837729.js} +2 -2
  703. package/dist/esm/{array-08fbb3f5.js → array-76f40853.js} +1 -1
  704. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  705. package/dist/esm/calcite-action-bar.entry.js +11 -11
  706. package/dist/esm/calcite-action-group.entry.js +9 -9
  707. package/dist/esm/calcite-action-menu.entry.js +8 -8
  708. package/dist/esm/calcite-action-pad.entry.js +10 -10
  709. package/dist/esm/calcite-action.entry.js +7 -7
  710. package/dist/esm/calcite-alert.entry.js +7 -7
  711. package/dist/esm/calcite-avatar.entry.js +6 -6
  712. package/dist/esm/calcite-block_2.entry.js +10 -10
  713. package/dist/esm/calcite-button.entry.js +9 -9
  714. package/dist/esm/calcite-card.entry.js +7 -7
  715. package/dist/esm/calcite-checkbox.entry.js +9 -9
  716. package/dist/esm/calcite-chip.entry.js +7 -7
  717. package/dist/esm/calcite-color-picker_3.entry.js +10 -10
  718. package/dist/esm/calcite-combobox_3.entry.js +14 -14
  719. package/dist/esm/calcite-date-picker_4.entry.js +12 -12
  720. package/dist/esm/calcite-dropdown_3.entry.js +11 -11
  721. package/dist/esm/calcite-fab.entry.js +6 -6
  722. package/dist/esm/calcite-filter.entry.js +8 -8
  723. package/dist/esm/calcite-flow-item.entry.js +7 -7
  724. package/dist/esm/calcite-flow.entry.js +3 -3
  725. package/dist/esm/calcite-graph_2.entry.js +12 -12
  726. package/dist/esm/calcite-handle.entry.js +5 -5
  727. package/dist/esm/calcite-icon.entry.js +6 -6
  728. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  729. package/dist/esm/calcite-input-date-picker.entry.js +15 -15
  730. package/dist/esm/calcite-input-message.entry.js +5 -5
  731. package/dist/esm/calcite-input-number.entry.js +12 -12
  732. package/dist/esm/calcite-input-text.entry.js +9 -9
  733. package/dist/esm/calcite-input-time-picker_2.entry.js +11 -11
  734. package/dist/esm/calcite-input.entry.js +12 -12
  735. package/dist/esm/calcite-label.entry.js +6 -6
  736. package/dist/esm/calcite-link.entry.js +6 -6
  737. package/dist/esm/calcite-list_3.entry.js +9 -9
  738. package/dist/esm/calcite-loader.entry.js +3 -3
  739. package/dist/esm/calcite-modal.entry.js +8 -8
  740. package/dist/esm/calcite-notice.entry.js +8 -8
  741. package/dist/esm/calcite-option_3.entry.js +9 -9
  742. package/dist/esm/calcite-pagination.entry.js +5 -5
  743. package/dist/esm/calcite-panel.entry.js +10 -10
  744. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  745. package/dist/esm/calcite-popover_2.entry.js +11 -11
  746. package/dist/esm/calcite-progress.entry.js +2 -2
  747. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  748. package/dist/esm/calcite-radio-button.entry.js +9 -9
  749. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  750. package/dist/esm/calcite-rating.entry.js +9 -9
  751. package/dist/esm/calcite-scrim.entry.js +2 -2
  752. package/dist/esm/calcite-shell_3.entry.js +8 -8
  753. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  754. package/dist/esm/calcite-split-button.entry.js +3 -3
  755. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  756. package/dist/esm/calcite-switch.entry.js +9 -9
  757. package/dist/esm/calcite-tab_4.entry.js +7 -7
  758. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  759. package/dist/esm/calcite-tile.entry.js +8 -8
  760. package/dist/esm/calcite-tip_3.entry.js +8 -8
  761. package/dist/esm/calcite-tooltip_2.entry.js +7 -7
  762. package/dist/esm/calcite-tree_2.entry.js +7 -7
  763. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  764. package/dist/esm/calcite.js +4 -4
  765. package/dist/esm/{conditionalSlot-a0ea6d66.js → conditionalSlot-e24e0791.js} +3 -3
  766. package/dist/esm/{debounce-69f262c1.js → debounce-f13014d6.js} +1 -1
  767. package/dist/esm/{dom-831ad333.js → dom-b016f19b.js} +3 -3
  768. package/dist/esm/{filter-9e7dace0.js → filter-6fa5f2da.js} +2 -2
  769. package/dist/esm/{floating-ui-298370ea.js → floating-ui-45c2962e.js} +2 -2
  770. package/dist/esm/{form-f108307b.js → form-cee6ac85.js} +3 -3
  771. package/dist/esm/{globalAttributes-2291d4b1.js → globalAttributes-98cffa0b.js} +3 -3
  772. package/dist/esm/{guid-9cefc065.js → guid-0ff25122.js} +1 -1
  773. package/dist/esm/{index-0c0c17d1.js → index-465b79c3.js} +1 -1
  774. package/dist/esm/index.js +1 -1
  775. package/dist/esm/{interactive-ae0a4398.js → interactive-8b08be45.js} +1 -1
  776. package/dist/esm/{interfaces-19157cc4.js → interfaces-95c9636f.js} +1 -1
  777. package/dist/esm/{key-7e74c6b9.js → key-a06b5055.js} +1 -1
  778. package/dist/esm/{label-330899e1.js → label-3273cb53.js} +2 -2
  779. package/dist/esm/loader.js +4 -4
  780. package/dist/esm/{math-8ba11ebb.js → math-2e1c4dfb.js} +1 -1
  781. package/dist/esm/{observers-efe84af7.js → observers-3ba92c07.js} +1 -1
  782. package/dist/esm/{openCloseComponent-1efe5f75.js → openCloseComponent-a48a270f.js} +1 -1
  783. package/dist/esm/{resources-8ef0e6e7.js → resources-322714ca.js} +3 -3
  784. package/dist/esm/{resources-8e2f225d.js → resources-44a49f4e.js} +1 -1
  785. package/dist/esm/{resources-e24d0cb2.js → resources-63c5fb04.js} +1 -1
  786. package/dist/esm/{resources-c153dd11.js → resources-a260e128.js} +5 -5
  787. package/dist/esm/{resources-9a47246f.js → resources-d7b06237.js} +1 -1
  788. package/dist/esm/{resources-313a3903.js → resources-e7b88455.js} +1 -1
  789. package/dist/esm/{sortable.esm-bb283cee.js → sortable.esm-8e506460.js} +1 -1
  790. package/dist/esm/{utils-2ea7c354.js → utils-1d759594.js} +1 -1
  791. package/dist/esm-es5/{ExpandToggle-2e4189cd.js → ExpandToggle-605598d9.js} +2 -2
  792. package/dist/esm-es5/{Heading-2bc1bea6.js → Heading-b66b5f0c.js} +2 -2
  793. package/dist/esm-es5/{app-globals-82059e09.js → app-globals-41837729.js} +2 -2
  794. package/dist/esm-es5/{array-08fbb3f5.js → array-76f40853.js} +1 -1
  795. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  796. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  797. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  798. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  799. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  800. package/dist/esm-es5/calcite-action.entry.js +2 -2
  801. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  802. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  803. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  804. package/dist/esm-es5/calcite-button.entry.js +2 -2
  805. package/dist/esm-es5/calcite-card.entry.js +2 -2
  806. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  807. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  808. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  809. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  810. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  811. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  812. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  813. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  814. package/dist/esm-es5/calcite-flow-item.entry.js +2 -2
  815. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  816. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  817. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  818. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  819. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  820. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  821. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  822. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  823. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  824. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  825. package/dist/esm-es5/calcite-input.entry.js +2 -2
  826. package/dist/esm-es5/calcite-label.entry.js +2 -2
  827. package/dist/esm-es5/calcite-link.entry.js +2 -2
  828. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  829. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  830. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  831. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  832. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  833. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  834. package/dist/esm-es5/calcite-panel.entry.js +3 -3
  835. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  836. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  837. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  838. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  839. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  840. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  841. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  842. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  843. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  844. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  845. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  846. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  847. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  848. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  849. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  850. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  851. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  852. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  853. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  854. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  855. package/dist/esm-es5/calcite.js +2 -2
  856. package/dist/esm-es5/{conditionalSlot-a0ea6d66.js → conditionalSlot-e24e0791.js} +2 -2
  857. package/dist/esm-es5/{debounce-69f262c1.js → debounce-f13014d6.js} +1 -1
  858. package/dist/esm-es5/{dom-831ad333.js → dom-b016f19b.js} +2 -2
  859. package/dist/esm-es5/{filter-9e7dace0.js → filter-6fa5f2da.js} +2 -2
  860. package/dist/esm-es5/{floating-ui-298370ea.js → floating-ui-45c2962e.js} +2 -2
  861. package/dist/esm-es5/{form-f108307b.js → form-cee6ac85.js} +2 -2
  862. package/dist/esm-es5/{globalAttributes-2291d4b1.js → globalAttributes-98cffa0b.js} +2 -2
  863. package/dist/esm-es5/{guid-9cefc065.js → guid-0ff25122.js} +1 -1
  864. package/dist/esm-es5/{index-0c0c17d1.js → index-465b79c3.js} +1 -1
  865. package/dist/esm-es5/index.js +1 -1
  866. package/dist/esm-es5/{interactive-ae0a4398.js → interactive-8b08be45.js} +1 -1
  867. package/dist/esm-es5/{interfaces-19157cc4.js → interfaces-95c9636f.js} +1 -1
  868. package/dist/esm-es5/{key-7e74c6b9.js → key-a06b5055.js} +1 -1
  869. package/dist/esm-es5/{label-330899e1.js → label-3273cb53.js} +2 -2
  870. package/dist/esm-es5/loader.js +2 -2
  871. package/dist/esm-es5/{math-8ba11ebb.js → math-2e1c4dfb.js} +1 -1
  872. package/dist/esm-es5/{observers-efe84af7.js → observers-3ba92c07.js} +1 -1
  873. package/dist/esm-es5/{openCloseComponent-1efe5f75.js → openCloseComponent-a48a270f.js} +1 -1
  874. package/dist/esm-es5/{resources-8ef0e6e7.js → resources-322714ca.js} +2 -2
  875. package/dist/esm-es5/{resources-8e2f225d.js → resources-44a49f4e.js} +1 -1
  876. package/dist/esm-es5/{resources-e24d0cb2.js → resources-63c5fb04.js} +1 -1
  877. package/dist/esm-es5/{resources-c153dd11.js → resources-a260e128.js} +2 -2
  878. package/dist/esm-es5/{resources-9a47246f.js → resources-d7b06237.js} +1 -1
  879. package/dist/esm-es5/{resources-313a3903.js → resources-e7b88455.js} +1 -1
  880. package/dist/esm-es5/{sortable.esm-bb283cee.js → sortable.esm-8e506460.js} +1 -1
  881. package/dist/esm-es5/{utils-2ea7c354.js → utils-1d759594.js} +1 -1
  882. package/dist/extras/docs-json.json +1 -1
  883. package/dist/loader/cdn.js +1 -1
  884. package/dist/loader/index.cjs.js +1 -1
  885. package/dist/loader/index.es2017.js +1 -1
  886. package/dist/loader/index.js +1 -1
  887. package/hydrate/index.js +2 -2
  888. package/package.json +7 -7
  889. package/dist/calcite/p-597e5a16.js +0 -6
  890. package/dist/calcite/p-f0bf4471.system.js +0 -6
  891. package/dist/calcite/p-f61726b5.system.js +0 -6
  892. package/dist/calcite/p-fc6dc88d.system.js +0 -6
  893. package/dist/collection/components/accordion/accordion.e2e.js +0 -183
  894. package/dist/collection/components/accordion-item/accordion-item.e2e.js +0 -8
  895. package/dist/collection/components/action/action.e2e.js +0 -93
  896. package/dist/collection/components/action-bar/action-bar.e2e.js +0 -290
  897. package/dist/collection/components/action-group/action-group.e2e.js +0 -23
  898. package/dist/collection/components/action-menu/action-menu.e2e.js +0 -153
  899. package/dist/collection/components/action-pad/action-pad.e2e.js +0 -178
  900. package/dist/collection/components/alert/alert.e2e.js +0 -294
  901. package/dist/collection/components/avatar/avatar.e2e.js +0 -55
  902. package/dist/collection/components/avatar/avatar.spec.js +0 -42
  903. package/dist/collection/components/block/block.e2e.js +0 -194
  904. package/dist/collection/components/block-section/block-section.e2e.js +0 -132
  905. package/dist/collection/components/button/button.e2e.js +0 -529
  906. package/dist/collection/components/card/card.e2e.js +0 -87
  907. package/dist/collection/components/checkbox/checkbox.e2e.js +0 -105
  908. package/dist/collection/components/chip/chip.e2e.js +0 -149
  909. package/dist/collection/components/color-picker/color-picker.e2e.js +0 -1068
  910. package/dist/collection/components/color-picker/utils.spec.js +0 -66
  911. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +0 -281
  912. package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +0 -71
  913. package/dist/collection/components/combobox/combobox.e2e.js +0 -1043
  914. package/dist/collection/components/combobox-item/combobox-item.e2e.js +0 -7
  915. package/dist/collection/components/date-picker/date-picker.e2e.js +0 -195
  916. package/dist/collection/components/date-picker/utils.spec.js +0 -55
  917. package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +0 -16
  918. package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +0 -72
  919. package/dist/collection/components/dropdown/dropdown.e2e.js +0 -1030
  920. package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +0 -5
  921. package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +0 -6
  922. package/dist/collection/components/fab/fab.e2e.js +0 -114
  923. package/dist/collection/components/filter/filter.e2e.js +0 -205
  924. package/dist/collection/components/flow/flow.e2e.js +0 -166
  925. package/dist/collection/components/flow-item/flow-item.e2e.js +0 -70
  926. package/dist/collection/components/functional/Heading.spec.js +0 -33
  927. package/dist/collection/components/graph/graph.e2e.js +0 -69
  928. package/dist/collection/components/handle/handle.e2e.js +0 -30
  929. package/dist/collection/components/icon/icon.e2e.js +0 -75
  930. package/dist/collection/components/icon/utils.spec.js +0 -61
  931. package/dist/collection/components/inline-editable/inline-editable.e2e.js +0 -327
  932. package/dist/collection/components/input/input.e2e.js +0 -1192
  933. package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +0 -295
  934. package/dist/collection/components/input-message/input-message.e2e.js +0 -122
  935. package/dist/collection/components/input-number/input-number.e2e.js +0 -1004
  936. package/dist/collection/components/input-text/input-text.e2e.js +0 -276
  937. package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +0 -241
  938. package/dist/collection/components/label/label.e2e.js +0 -156
  939. package/dist/collection/components/link/link.e2e.js +0 -257
  940. package/dist/collection/components/list/list.e2e.js +0 -32
  941. package/dist/collection/components/list-item/list-item.e2e.js +0 -46
  942. package/dist/collection/components/list-item-group/list-item-group.e2e.js +0 -16
  943. package/dist/collection/components/loader/loader.e2e.js +0 -49
  944. package/dist/collection/components/modal/modal.e2e.js +0 -382
  945. package/dist/collection/components/notice/notice.e2e.js +0 -127
  946. package/dist/collection/components/option/option.e2e.js +0 -56
  947. package/dist/collection/components/option-group/option-group.e2e.js +0 -26
  948. package/dist/collection/components/pagination/pagination.e2e.js +0 -208
  949. package/dist/collection/components/panel/panel.e2e.js +0 -279
  950. package/dist/collection/components/pick-list/pick-list.e2e.js +0 -157
  951. package/dist/collection/components/pick-list/shared-list-tests.js +0 -463
  952. package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +0 -54
  953. package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +0 -124
  954. package/dist/collection/components/popover/popover.e2e.js +0 -454
  955. package/dist/collection/components/popover-manager/popover-manager.e2e.js +0 -38
  956. package/dist/collection/components/progress/progress.e2e.js +0 -7
  957. package/dist/collection/components/radio-button/radio-button.e2e.js +0 -332
  958. package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +0 -384
  959. package/dist/collection/components/radio-group/radio-group.e2e.js +0 -258
  960. package/dist/collection/components/radio-group-item/radio-group-item.e2e.js +0 -92
  961. package/dist/collection/components/rating/rating.e2e.js +0 -450
  962. package/dist/collection/components/scrim/scrim.e2e.js +0 -122
  963. package/dist/collection/components/select/select.e2e.js +0 -266
  964. package/dist/collection/components/shell/shell.e2e.js +0 -126
  965. package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +0 -66
  966. package/dist/collection/components/shell-panel/shell-panel.e2e.js +0 -282
  967. package/dist/collection/components/slider/slider.e2e.js +0 -645
  968. package/dist/collection/components/sortable-list/sortable-list.e2e.js +0 -57
  969. package/dist/collection/components/split-button/split-button.e2e.js +0 -206
  970. package/dist/collection/components/stepper/stepper.e2e.js +0 -558
  971. package/dist/collection/components/stepper-item/stepper-item.e2e.js +0 -6
  972. package/dist/collection/components/switch/switch.e2e.js +0 -91
  973. package/dist/collection/components/tab/tab.e2e.js +0 -49
  974. package/dist/collection/components/tab-nav/tab-nav.e2e.js +0 -143
  975. package/dist/collection/components/tab-title/tab-title.e2e.js +0 -222
  976. package/dist/collection/components/tabs/tabs.e2e.js +0 -281
  977. package/dist/collection/components/tile/tile.e2e.js +0 -79
  978. package/dist/collection/components/tile-select/tile-select.e2e.js +0 -133
  979. package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +0 -14
  980. package/dist/collection/components/time-picker/time-picker.e2e.js +0 -737
  981. package/dist/collection/components/tip/tip.e2e.js +0 -42
  982. package/dist/collection/components/tip-group/tip-group.e2e.js +0 -6
  983. package/dist/collection/components/tip-manager/tip-manager.e2e.js +0 -176
  984. package/dist/collection/components/tip-manager/tip-manager.spec.js +0 -13
  985. package/dist/collection/components/tooltip/tooltip.e2e.js +0 -359
  986. package/dist/collection/components/tooltip-manager/tooltip-manager.e2e.js +0 -19
  987. package/dist/collection/components/tree/tree.e2e.js +0 -586
  988. package/dist/collection/components/tree-item/tree-item.e2e.js +0 -302
  989. package/dist/collection/components/value-list/value-list.e2e.js +0 -205
  990. package/dist/collection/components/value-list-item/value-list-item.e2e.js +0 -96
  991. package/dist/collection/demos/_assets/demo-dom-swapper.js +0 -45
  992. package/dist/collection/demos/_assets/demo-spacer.js +0 -17
  993. package/dist/collection/demos/_assets/demo-template.js +0 -24
  994. package/dist/collection/demos/_assets/head.js +0 -48
  995. package/dist/collection/demos/_assets/locales.js +0 -223
  996. package/dist/collection/tests/commonTests.js +0 -596
  997. package/dist/collection/tests/utils.js +0 -182
  998. package/dist/collection/utils/date.spec.js +0 -153
  999. package/dist/collection/utils/dom.e2e.js +0 -107
  1000. package/dist/collection/utils/dom.spec.js +0 -273
  1001. package/dist/collection/utils/floating-ui.spec.js +0 -23
  1002. package/dist/collection/utils/form.spec.js +0 -16
  1003. package/dist/collection/utils/globalAttributes.spec.js +0 -36
  1004. package/dist/collection/utils/guid.spec.js +0 -7
  1005. package/dist/collection/utils/interactive.spec.js +0 -20
  1006. package/dist/collection/utils/label.spec.js +0 -188
  1007. package/dist/collection/utils/locale.spec.js +0 -44
  1008. package/dist/collection/utils/math.spec.js +0 -8
  1009. package/dist/collection/utils/number.spec.js +0 -113
  1010. package/dist/collection/utils/popper.js +0 -121
@@ -1,1068 +0,0 @@
1
- import { accessible, defaults, hidden, reflects, renders, focusable, disabled } from "../../tests/commonTests";
2
- import { CSS, DEFAULT_COLOR, DEFAULT_STORAGE_KEY_PREFIX, DIMENSIONS, TEXT } from "./resources";
3
- import { newE2EPage } from "@stencil/core/testing";
4
- import { selectText, getElementXY } from "../../tests/utils";
5
- describe("calcite-color-picker", () => {
6
- let consoleSpy;
7
- async function clickScope(page, scope) {
8
- // helps workaround puppeteer not being able to click on a 0x0 element
9
- // https://github.com/puppeteer/puppeteer/issues/4147#issuecomment-473208182
10
- await page.$eval(`calcite-color-picker`, (colorPicker, scopeSelector) => {
11
- colorPicker.shadowRoot.querySelector(scopeSelector).click();
12
- }, `.${scope === "hue" ? CSS.hueScope : CSS.colorFieldScope}`);
13
- }
14
- beforeEach(() => (consoleSpy = jest.spyOn(console, "warn").mockImplementation(() => {
15
- // hide warning messages during test
16
- })));
17
- afterEach(() => consoleSpy.mockClear());
18
- describe("is focusable", () => {
19
- it("should focus scope by default", async () => focusable("<calcite-color-picker></calcite-color-picker>", {
20
- shadowFocusTargetSelector: `.${CSS.colorFieldScope}`
21
- }));
22
- });
23
- it("is accessible", async () => {
24
- await accessible("calcite-color-picker");
25
- await accessible("<calcite-color-picker allow-empty value=''></calcite-color-picker>");
26
- });
27
- it("can be hidden", async () => hidden("calcite-color-picker"));
28
- it("reflects", async () => reflects("calcite-color-picker", [
29
- {
30
- propertyName: "appearance",
31
- value: "minimal"
32
- },
33
- {
34
- propertyName: "scale",
35
- value: "m"
36
- }
37
- ]));
38
- it("renders", async () => renders("calcite-color-picker", { display: "inline-block" }));
39
- it("has defaults", async () => defaults("calcite-color-picker", [
40
- {
41
- propertyName: "allowEmpty",
42
- defaultValue: false
43
- },
44
- {
45
- propertyName: "appearance",
46
- defaultValue: "solid"
47
- },
48
- {
49
- propertyName: "format",
50
- defaultValue: "auto"
51
- },
52
- {
53
- propertyName: "intlB",
54
- defaultValue: TEXT.b
55
- },
56
- {
57
- propertyName: "intlBlue",
58
- defaultValue: TEXT.blue
59
- },
60
- {
61
- propertyName: "intlDeleteColor",
62
- defaultValue: TEXT["deleteColor"]
63
- },
64
- {
65
- propertyName: "intlG",
66
- defaultValue: TEXT.g
67
- },
68
- {
69
- propertyName: "intlGreen",
70
- defaultValue: TEXT.green
71
- },
72
- {
73
- propertyName: "intlH",
74
- defaultValue: TEXT.h
75
- },
76
- {
77
- propertyName: "intlHsv",
78
- defaultValue: TEXT["hsv"]
79
- },
80
- {
81
- propertyName: "intlHex",
82
- defaultValue: TEXT.hex
83
- },
84
- {
85
- propertyName: "intlHue",
86
- defaultValue: TEXT.hue
87
- },
88
- {
89
- propertyName: "intlNoColor",
90
- defaultValue: TEXT.noColor
91
- },
92
- {
93
- propertyName: "intlR",
94
- defaultValue: TEXT.r
95
- },
96
- {
97
- propertyName: "intlRed",
98
- defaultValue: TEXT.red
99
- },
100
- {
101
- propertyName: "intlRgb",
102
- defaultValue: TEXT.rgb
103
- },
104
- {
105
- propertyName: "intlS",
106
- defaultValue: TEXT.s
107
- },
108
- {
109
- propertyName: "intlSaturation",
110
- defaultValue: TEXT.saturation
111
- },
112
- {
113
- propertyName: "intlSaveColor",
114
- defaultValue: TEXT.saveColor
115
- },
116
- {
117
- propertyName: "intlSaved",
118
- defaultValue: TEXT.saved
119
- },
120
- {
121
- propertyName: "intlV",
122
- defaultValue: TEXT.v
123
- },
124
- {
125
- propertyName: "intlValue",
126
- defaultValue: TEXT.value
127
- },
128
- {
129
- propertyName: "scale",
130
- defaultValue: "m"
131
- },
132
- {
133
- propertyName: "value",
134
- defaultValue: "#007ac2"
135
- }
136
- ]));
137
- // #408047 is a color in the middle of the color field
138
- it("can be disabled", () => disabled("<calcite-color-picker value='#408047'></calcite-color-picker>"));
139
- it(`should set all internal calcite-button types to 'button'`, async () => {
140
- const page = await newE2EPage({
141
- html: "<calcite-color-picker></calcite-color-picker>"
142
- });
143
- const buttons = await page.findAll("calcite-color-picker >>> calcite-button");
144
- expect(buttons).toHaveLength(2);
145
- for (const button of buttons) {
146
- expect(await button.getProperty("type")).toBe("button");
147
- }
148
- });
149
- it.skip("emits event when value changes via user interaction and not programmatically", async () => {
150
- const page = await newE2EPage();
151
- await page.setContent("<calcite-color-picker></calcite-color-picker>");
152
- const picker = await page.find("calcite-color-picker");
153
- const changeSpy = await picker.spyOnEvent("calciteColorPickerChange");
154
- const inputSpy = await picker.spyOnEvent("calciteColorPickerInput");
155
- const colorFieldCenterValueHex = "#408048";
156
- picker.setProperty("value", colorFieldCenterValueHex);
157
- await page.waitForChanges();
158
- expect(changeSpy).toHaveReceivedEventTimes(0);
159
- expect(inputSpy).toHaveReceivedEventTimes(0);
160
- // save for future test/assertion
161
- await (await page.find(`calcite-color-picker >>> .${CSS.saveColor}`)).click();
162
- // change by clicking on field
163
- await (await page.find(`calcite-color-picker >>> .${CSS.colorFieldAndSlider}`)).click();
164
- expect(changeSpy).toHaveReceivedEventTimes(1);
165
- expect(inputSpy).toHaveReceivedEventTimes(1);
166
- // change by clicking on hue
167
- let [hueScopeX, hueScopeY] = await getElementXY(page, "calcite-color-picker", `.${CSS.hueScope}`);
168
- await page.mouse.click(hueScopeX + 10, hueScopeY);
169
- await page.waitForChanges();
170
- expect(changeSpy).toHaveReceivedEventTimes(2);
171
- expect(inputSpy).toHaveReceivedEventTimes(2);
172
- // change by changing hex value
173
- const hexInput = await page.find(`calcite-color-picker >>> calcite-color-picker-hex-input`);
174
- await selectText(hexInput);
175
- await hexInput.type("fff");
176
- await hexInput.press("Enter");
177
- expect(changeSpy).toHaveReceivedEventTimes(3);
178
- expect(inputSpy).toHaveReceivedEventTimes(3);
179
- // change by changing color channels (we only test R and assume the same holds for G/B & H/S/V channels)
180
- const channelInput = await page.find(`calcite-color-picker >>> .${CSS.channel}`);
181
- await selectText(channelInput);
182
- await channelInput.type("254");
183
- await channelInput.press("Enter");
184
- expect(changeSpy).toHaveReceivedEventTimes(4);
185
- expect(inputSpy).toHaveReceivedEventTimes(4);
186
- // change by clicking stored color
187
- await (await page.find(`calcite-color-picker >>> .${CSS.savedColor}`)).click();
188
- expect(changeSpy).toHaveReceivedEventTimes(5);
189
- expect(inputSpy).toHaveReceivedEventTimes(5);
190
- // change by dragging color field thumb
191
- const mouseDragSteps = 10;
192
- const [colorFieldScopeX, colorFieldScopeY] = await getElementXY(page, "calcite-color-picker", `.${CSS.colorFieldScope}`);
193
- await page.mouse.move(colorFieldScopeX, colorFieldScopeY);
194
- await page.mouse.down();
195
- await page.mouse.move(colorFieldScopeX + 10, colorFieldScopeY, {
196
- steps: mouseDragSteps
197
- });
198
- await page.mouse.up();
199
- await page.waitForChanges();
200
- expect(changeSpy).toHaveReceivedEventTimes(6);
201
- expect(inputSpy.length).toBeGreaterThan(6); // input event fires more than once
202
- // change by dragging hue slider thumb
203
- [hueScopeX, hueScopeY] = await getElementXY(page, "calcite-color-picker", `.${CSS.hueScope}`);
204
- let previousInputEventLength = inputSpy.length;
205
- await page.mouse.move(hueScopeX, hueScopeY);
206
- await page.mouse.down();
207
- await page.mouse.move(hueScopeX + 10, hueScopeY, { steps: mouseDragSteps });
208
- await page.mouse.up();
209
- await page.waitForChanges();
210
- expect(changeSpy).toHaveReceivedEventTimes(7);
211
- expect(inputSpy.length).toBeGreaterThan(previousInputEventLength + 1); // input event fires more than once
212
- previousInputEventLength = inputSpy.length;
213
- // this portion covers an odd scenario where setting twice would cause the component to emit
214
- picker.setProperty("value", "colorFieldCenterValueHex");
215
- await page.waitForChanges();
216
- picker.setProperty("value", "#fff");
217
- await page.waitForChanges();
218
- expect(changeSpy).toHaveReceivedEventTimes(7);
219
- expect(inputSpy.length).toBe(previousInputEventLength);
220
- });
221
- it("does not emit on initialization", async () => {
222
- // initialize page with calcite-color-picker to make it available in the evaluate callback below
223
- const page = await newE2EPage({ html: "<calcite-color-picker></calcite-color-picker>" });
224
- await page.setContent("");
225
- const emitted = await page.evaluate(() => {
226
- const emitted = [];
227
- document.addEventListener("calciteColorPickerInput", () => emitted.push("input"));
228
- document.addEventListener("calciteColorPickerChange", () => emitted.push("change"));
229
- const picker = document.createElement("calcite-color-picker");
230
- picker.value = "rgb(255, 255, 255)";
231
- document.body.append(picker);
232
- return emitted;
233
- });
234
- expect(emitted).toHaveLength(0);
235
- });
236
- const supportedFormatToSampleValue = {
237
- hex: "#ffffff",
238
- "rgb-css": "rgb(255, 255, 255)",
239
- "hsl-css": "hsl(0, 0%, 100%)",
240
- rgb: { r: 255, g: 255, b: 255 },
241
- hsl: { h: 0, s: 0, l: 100 },
242
- hsv: { h: 0, s: 0, v: 100 }
243
- };
244
- const clearAndEnterHexOrChannelValue = async (page, channelInputOrHexInput, value) => {
245
- await channelInputOrHexInput.callMethod("setFocus");
246
- await selectText(channelInputOrHexInput);
247
- const currentValue = await channelInputOrHexInput.getProperty("value");
248
- for (let i = 0; i < (currentValue === null || currentValue === void 0 ? void 0 : currentValue.length); i++) {
249
- await page.keyboard.press("Backspace");
250
- }
251
- await channelInputOrHexInput.type(value);
252
- await page.keyboard.press("Enter");
253
- await page.waitForChanges();
254
- };
255
- function assertUnsupportedValueMessage(value, format) {
256
- expect(consoleSpy).toBeCalledTimes(1);
257
- expect(consoleSpy).toHaveBeenCalledWith(expect.stringMatching(new RegExp(`\\s*ignoring color value \\(${value}\\) as it is not compatible with the current format \\(${format}\\)\\s*`)));
258
- }
259
- describe("color format", () => {
260
- describe("when set initially", () => {
261
- let page;
262
- let spy;
263
- beforeEach(async () => {
264
- page = await newE2EPage();
265
- spy = await page.spyOnEvent("calciteColorPickerChange");
266
- });
267
- function assertNoChangeEvents() {
268
- expect(spy).toHaveReceivedEventTimes(0);
269
- }
270
- // this suite uses a subset of supported formats as other tests cover the rest
271
- it("changes the default value to the format", async () => {
272
- await page.setContent("<calcite-color-picker format='rgb'></calcite-color-picker>");
273
- const color = await page.find("calcite-color-picker");
274
- expect(await color.getProperty("value")).toEqual(DEFAULT_COLOR.rgb().round().object());
275
- assertNoChangeEvents();
276
- });
277
- it("initial value and format are both set if compatible", async () => {
278
- const initialValue = "rgb(255, 128, 255)";
279
- await page.setContent(`<calcite-color-picker format='rgb-css' value='${initialValue}'></calcite-color-picker>`);
280
- const color = await page.find("calcite-color-picker");
281
- const initialValueIsRendered = await page.$eval("calcite-color-picker", (picker, initialValue) =>
282
- // color prop is used to render the active color
283
- picker.color.string() === initialValue, initialValue);
284
- expect(await color.getProperty("value")).toEqual(initialValue);
285
- expect(initialValueIsRendered).toBe(true);
286
- assertNoChangeEvents();
287
- });
288
- it("falls back to format-compliant default if initial value is not compatible with initial format", async () => {
289
- await page.setContent("<calcite-color-picker format='hsl-css' value='#f00f00'></calcite-color-picker>");
290
- const color = await page.find("calcite-color-picker");
291
- expect(await color.getProperty("value")).toEqual(DEFAULT_COLOR.hsl().round().string());
292
- assertNoChangeEvents();
293
- });
294
- });
295
- it("allows specifying the color value format", async () => {
296
- const page = await newE2EPage({
297
- html: "<calcite-color-picker></calcite-color-picker>"
298
- });
299
- const color = await page.find("calcite-color-picker");
300
- for (const format in supportedFormatToSampleValue) {
301
- const expectedValue = supportedFormatToSampleValue[format];
302
- // set base format and value to test setting different format values
303
- color.setProperty("format", format);
304
- color.setProperty("value", expectedValue);
305
- await page.waitForChanges();
306
- for (const format in supportedFormatToSampleValue) {
307
- const currentTestValue = supportedFormatToSampleValue[format];
308
- color.setProperty("value", currentTestValue);
309
- await page.waitForChanges();
310
- // non-matching formats are ignored
311
- expect(await color.getProperty("value")).toEqual(expectedValue);
312
- }
313
- }
314
- });
315
- it("changing format updates value", async () => {
316
- const page = await newE2EPage({
317
- html: `<calcite-color-picker value=${supportedFormatToSampleValue["hex"]}></calcite-color-picker>`
318
- });
319
- const color = await page.find("calcite-color-picker");
320
- for (const format in supportedFormatToSampleValue) {
321
- color.setProperty("format", format);
322
- await page.waitForChanges();
323
- expect(await color.getProperty("value")).toEqual(supportedFormatToSampleValue[format]);
324
- }
325
- });
326
- });
327
- it("accepts multiple color value formats", async () => {
328
- const page = await newE2EPage({
329
- html: "<calcite-color-picker></calcite-color-picker>"
330
- });
331
- const picker = await page.find("calcite-color-picker");
332
- const supportedStringFormats = [
333
- supportedFormatToSampleValue.hex,
334
- supportedFormatToSampleValue["rgb-css"],
335
- supportedFormatToSampleValue["hsl-css"]
336
- ];
337
- for (const value of supportedStringFormats) {
338
- picker.setProperty("value", value);
339
- await page.waitForChanges();
340
- expect(await picker.getProperty("value")).toBe(value);
341
- }
342
- const supportedObjectFormats = [
343
- supportedFormatToSampleValue.rgb,
344
- supportedFormatToSampleValue.hsl,
345
- supportedFormatToSampleValue.hsv
346
- ];
347
- for (const value of supportedObjectFormats) {
348
- picker.setProperty("value", value);
349
- await page.waitForChanges();
350
- expect(await picker.getProperty("value")).toMatchObject(value);
351
- }
352
- });
353
- it("allows selecting colors via color field/slider", async () => {
354
- const page = await newE2EPage();
355
- await page.setContent("<calcite-color-picker value='#000' scale='m'></calcite-color-picker>");
356
- const picker = await page.find(`calcite-color-picker`);
357
- const spy = await picker.spyOnEvent("calciteColorPickerChange");
358
- let changes = 0;
359
- const mediumScaleDimensions = DIMENSIONS.m;
360
- const widthOffset = 0.5;
361
- const [fieldAndSliderX, fieldAndSliderY] = await getElementXY(page, "calcite-color-picker", "canvas");
362
- // clicking color field colors to pick a color
363
- await page.mouse.click(fieldAndSliderX, fieldAndSliderY);
364
- expect(await picker.getProperty("value")).toBe("#ffffff");
365
- expect(spy).toHaveReceivedEventTimes(++changes);
366
- await page.mouse.click(fieldAndSliderX, fieldAndSliderY + mediumScaleDimensions.colorField.height);
367
- expect(await picker.getProperty("value")).toBe("#000000");
368
- expect(spy).toHaveReceivedEventTimes(++changes);
369
- await page.mouse.click(fieldAndSliderX + mediumScaleDimensions.colorField.width - widthOffset, fieldAndSliderY);
370
- expect(await picker.getProperty("value")).toBe("#ff0000");
371
- expect(spy).toHaveReceivedEventTimes(++changes);
372
- await page.mouse.click(fieldAndSliderX + mediumScaleDimensions.colorField.width - widthOffset, fieldAndSliderY + mediumScaleDimensions.colorField.height);
373
- expect(await picker.getProperty("value")).toBe("#000000");
374
- expect(spy).toHaveReceivedEventTimes(++changes);
375
- // set to corner right value that's not red (first value)
376
- picker.setProperty("value", "#ff0");
377
- await page.waitForChanges();
378
- expect(spy).toHaveReceivedEventTimes(changes);
379
- // clicking on color slider to set hue
380
- const colorsToSample = 7;
381
- const offsetX = (mediumScaleDimensions.slider.width - widthOffset) / colorsToSample;
382
- let x = fieldAndSliderX;
383
- const sliderHeight = fieldAndSliderY + mediumScaleDimensions.colorField.height + mediumScaleDimensions.slider.height;
384
- const expectedColorSamples = [
385
- "#ff0000",
386
- "#ffd900",
387
- "#48ff00",
388
- "#00ff91",
389
- "#0095ff",
390
- "#4800ff",
391
- "#ff00dd",
392
- "#ff0004"
393
- ];
394
- for (let i = 0; i < expectedColorSamples.length; i++) {
395
- const expectedColor = expectedColorSamples[i];
396
- await page.mouse.click(x, sliderHeight);
397
- expect(await picker.getProperty("value")).toBe(expectedColor);
398
- expect(spy).toHaveReceivedEventTimes(++changes);
399
- x += offsetX;
400
- }
401
- // clicking on the slider when the color won't change by hue adjustments
402
- picker.setProperty("value", "#000");
403
- await page.waitForChanges();
404
- expect(spy).toHaveReceivedEventTimes(changes);
405
- x = 0;
406
- await page.evaluateHandle(() => {
407
- const color = document.querySelector("calcite-color-picker");
408
- window.internalColor = color.color;
409
- });
410
- const middleOfSlider = mediumScaleDimensions.slider.width / 2;
411
- await page.mouse.click(x + middleOfSlider, sliderHeight);
412
- const internalColorChanged = await page.evaluate(() => {
413
- const color = document.querySelector("calcite-color-picker");
414
- return window.internalColor !== color.color;
415
- });
416
- expect(internalColorChanged).toBe(true);
417
- expect(spy).toHaveReceivedEventTimes(++changes);
418
- });
419
- it("keeps tracking mouse movement when a thumb is actively dragged", async () => {
420
- const page = await newE2EPage({
421
- html: "<calcite-color-picker></calcite-color-picker>"
422
- });
423
- const picker = await page.find(`calcite-color-picker`);
424
- const colorFieldAndSlider = await page.find(`calcite-color-picker >>> .${CSS.colorFieldAndSlider}`);
425
- await colorFieldAndSlider.click(); // click middle color
426
- let lastColor = await picker.getProperty("value");
427
- await page.mouse.down();
428
- await page.mouse.move(1000, -1000); // top-right
429
- // note that we move the mouse in this order to guarantee value changes (bottom row is #000)
430
- let currentColor = await picker.getProperty("value");
431
- expect(currentColor).not.toEqual(lastColor);
432
- lastColor = currentColor;
433
- await page.mouse.move(-1000, 1000); // bottom-left
434
- currentColor = await picker.getProperty("value");
435
- expect(currentColor).not.toEqual(lastColor);
436
- lastColor = currentColor;
437
- await page.mouse.move(-1000, -1000); // top-left
438
- currentColor = await picker.getProperty("value");
439
- expect(currentColor).not.toEqual(lastColor);
440
- lastColor = currentColor;
441
- await page.mouse.move(1000, 1000); // bottom-right
442
- currentColor = await picker.getProperty("value");
443
- expect(currentColor).not.toEqual(lastColor);
444
- lastColor = currentColor;
445
- // no longer tracks
446
- await page.mouse.up();
447
- await page.mouse.move(1000, -1000); // top-right
448
- currentColor = await picker.getProperty("value");
449
- expect(currentColor).toEqual(lastColor);
450
- lastColor = currentColor;
451
- await page.mouse.move(-1000, 1000); // bottom-left
452
- currentColor = await picker.getProperty("value");
453
- expect(currentColor).toEqual(lastColor);
454
- lastColor = currentColor;
455
- await page.mouse.move(-1000, -1000); // top-left
456
- currentColor = await picker.getProperty("value");
457
- expect(currentColor).toEqual(lastColor);
458
- lastColor = currentColor;
459
- await page.mouse.move(1000, 1000); // bottom-right
460
- currentColor = await picker.getProperty("value");
461
- expect(currentColor).toEqual(lastColor);
462
- });
463
- it(`mouse movement tracking is not offset by the component's padding (mimics issue from #3041 when the component was placed within another component's shadow DOM)`, async () => {
464
- const colorFieldCenterValueHsv = { h: 127, s: 50, v: 50 };
465
- const page = await newE2EPage({
466
- html: `<calcite-color-picker style='padding: 10px;'></calcite-color-picker>`
467
- });
468
- const colorPicker = await page.find("calcite-color-picker");
469
- colorPicker.setProperty("value", colorFieldCenterValueHsv);
470
- await page.waitForChanges();
471
- // change by dragging color field thumb
472
- const [colorFieldScopeX, colorFieldScopeY] = await getElementXY(page, "calcite-color-picker", `.${CSS.colorFieldScope}`);
473
- await page.mouse.move(colorFieldScopeX, colorFieldScopeY);
474
- await page.mouse.down();
475
- await page.mouse.up();
476
- await page.waitForChanges();
477
- const beforeDragHsv = await colorPicker.getProperty("value");
478
- await page.mouse.down();
479
- await page.mouse.move(colorFieldScopeX + 10, colorFieldScopeY);
480
- await page.mouse.up();
481
- await page.waitForChanges();
482
- const afterDragHsv = await colorPicker.getProperty("value");
483
- expect(afterDragHsv.h).toBe(beforeDragHsv.h);
484
- expect(afterDragHsv.s).toBeGreaterThan(beforeDragHsv.s);
485
- expect(afterDragHsv.v).toBe(beforeDragHsv.v);
486
- });
487
- describe("unsupported value handling", () => {
488
- let page;
489
- async function assertUnsupportedValue(page, unsupportedValue) {
490
- const picker = await page.find("calcite-color-picker");
491
- const spy = await picker.spyOnEvent("calciteColorPickerChange");
492
- const currentValue = await picker.getProperty("value");
493
- const format = await picker.getProperty("format");
494
- picker.setProperty("value", unsupportedValue);
495
- await page.waitForChanges();
496
- expect(await picker.getProperty("value")).toBe(currentValue);
497
- expect(spy).toHaveReceivedEventTimes(0);
498
- assertUnsupportedValueMessage(unsupportedValue, format);
499
- }
500
- beforeEach(async () => {
501
- page = await newE2EPage({
502
- html: "<calcite-color-picker></calcite-color-picker>"
503
- });
504
- });
505
- it("ignores unsupported value types", () => assertUnsupportedValue(page, "unsupported-color-format"));
506
- it("ignores null when not allowed", () => assertUnsupportedValue(page, null));
507
- });
508
- it("normalizes shorthand CSS hex", async () => {
509
- const page = await newE2EPage({
510
- html: "<calcite-color-picker></calcite-color-picker>"
511
- });
512
- const picker = await page.find("calcite-color-picker");
513
- picker.setProperty("value", "#ABC");
514
- await page.waitForChanges();
515
- expect(await picker.getProperty("value")).toBe("#aabbcc");
516
- });
517
- it("has backdoor color prop for advanced use cases", async () => {
518
- const page = await newE2EPage({
519
- html: "<calcite-color-picker></calcite-color-picker>"
520
- });
521
- const picker = await page.find("calcite-color-picker");
522
- expect(await picker.getProperty("color")).toBeTruthy();
523
- });
524
- describe("initial value used to initialize internal color", () => {
525
- const initialColor = supportedFormatToSampleValue.hex;
526
- async function getInternalColorAsHex(page) {
527
- return page.$eval("calcite-color-picker", (picker) => picker.color.hex().toLowerCase());
528
- }
529
- it("value as attribute", async () => {
530
- const page = await newE2EPage({
531
- html: `<calcite-color-picker value="${initialColor}"></calcite-color-picker>`
532
- });
533
- expect(await getInternalColorAsHex(page)).toBe(initialColor);
534
- });
535
- it("value as property", async () => {
536
- // initialize page with calcite-color-picker to make it available in the evaluate callback below
537
- const page = await newE2EPage({
538
- html: "<calcite-color-picker></calcite-color-picker>"
539
- });
540
- await page.setContent("");
541
- await page.evaluate(async (color) => {
542
- const picker = document.createElement("calcite-color-picker");
543
- picker.value = color;
544
- document.body.append(picker);
545
- await new Promise((resolve) => requestAnimationFrame(() => resolve()));
546
- }, initialColor);
547
- expect(await getInternalColorAsHex(page)).toBe(initialColor);
548
- });
549
- });
550
- describe("color inputs", () => {
551
- describe("keeps value in same format when applying updates", () => {
552
- let page;
553
- let picker;
554
- beforeEach(async () => {
555
- page = await newE2EPage({
556
- html: "<calcite-color-picker></calcite-color-picker>"
557
- });
558
- picker = await page.find("calcite-color-picker");
559
- });
560
- const updateColorWithAllInputs = async (assertColorUpdate) => {
561
- const hexInput = await page.find(`calcite-color-picker >>> calcite-color-picker-hex-input`);
562
- await clearAndEnterHexOrChannelValue(page, hexInput, "abc");
563
- assertColorUpdate(await picker.getProperty("value"));
564
- const [rgbModeButton, hsvModeButton] = await page.findAll(`calcite-color-picker >>> .${CSS.colorMode}`);
565
- const [rInput, gInput, bInput, hInput, sInput, vInput] = await page.findAll(`calcite-color-picker >>> calcite-input.${CSS.channel}`);
566
- await rgbModeButton.click();
567
- await clearAndEnterHexOrChannelValue(page, rInput, "128");
568
- await clearAndEnterHexOrChannelValue(page, gInput, "64");
569
- await clearAndEnterHexOrChannelValue(page, bInput, "32");
570
- assertColorUpdate(await picker.getProperty("value"));
571
- await hsvModeButton.click();
572
- await clearAndEnterHexOrChannelValue(page, hInput, "180");
573
- await clearAndEnterHexOrChannelValue(page, sInput, "90");
574
- await clearAndEnterHexOrChannelValue(page, vInput, "45");
575
- assertColorUpdate(await picker.getProperty("value"));
576
- };
577
- // see https://jasmine.github.io/tutorials/custom_argument_matchers for more info
578
- function toBeInteger() {
579
- return {
580
- asymmetricMatch(abc) {
581
- return Number.isInteger(abc);
582
- },
583
- jasmineToString() {
584
- return `Expected value to be an integer.`;
585
- }
586
- };
587
- }
588
- it("supports hex", async () => {
589
- const hex = supportedFormatToSampleValue.hex;
590
- picker.setProperty("value", hex);
591
- await page.waitForChanges();
592
- await updateColorWithAllInputs((value) => {
593
- expect(value).not.toBe(hex);
594
- expect(value).toMatch(/^#[a-f0-9]{6}$/);
595
- });
596
- expect(() => assertUnsupportedValueMessage(hex, "auto")).toThrow();
597
- });
598
- it("supports rgb", async () => {
599
- const rgbCss = supportedFormatToSampleValue["rgb-css"];
600
- picker.setProperty("value", rgbCss);
601
- await page.waitForChanges();
602
- await updateColorWithAllInputs((value) => {
603
- expect(value).not.toBe(rgbCss);
604
- expect(value).toMatch(/^rgb\(\d+, \d+, \d+\)/);
605
- });
606
- expect(() => assertUnsupportedValueMessage(rgbCss, "auto")).toThrow();
607
- });
608
- it("supports hsl", async () => {
609
- const hslCss = supportedFormatToSampleValue["hsl-css"];
610
- picker.setProperty("value", hslCss);
611
- await page.waitForChanges();
612
- await updateColorWithAllInputs((value) => {
613
- expect(value).not.toBe(hslCss);
614
- expect(value).toMatch(/^hsl\([0-9.]+, [0-9.]+%, [0-9.]+%\)/);
615
- });
616
- expect(() => assertUnsupportedValueMessage(hslCss, "auto")).toThrow();
617
- });
618
- it("supports rgb (object)", async () => {
619
- const rgbObject = supportedFormatToSampleValue.rgb;
620
- picker.setProperty("value", rgbObject);
621
- await page.waitForChanges();
622
- await updateColorWithAllInputs((value) => {
623
- expect(value).not.toMatchObject(rgbObject);
624
- expect(value).toMatchObject({
625
- r: toBeInteger(),
626
- g: toBeInteger(),
627
- b: toBeInteger()
628
- });
629
- });
630
- expect(() => assertUnsupportedValueMessage(rgbObject, "auto")).toThrow();
631
- });
632
- it("supports hsl (object)", async () => {
633
- const hslObject = supportedFormatToSampleValue.hsl;
634
- picker.setProperty("value", hslObject);
635
- await page.waitForChanges();
636
- await updateColorWithAllInputs((value) => {
637
- expect(value).not.toMatchObject(hslObject);
638
- expect(value).toMatchObject({
639
- h: toBeInteger(),
640
- s: toBeInteger(),
641
- l: toBeInteger()
642
- });
643
- });
644
- expect(() => assertUnsupportedValueMessage(hslObject, "auto")).toThrow();
645
- });
646
- it("supports hsv (object)", async () => {
647
- const hsvObject = supportedFormatToSampleValue.hsv;
648
- picker.setProperty("value", hsvObject);
649
- await page.waitForChanges();
650
- await updateColorWithAllInputs((value) => {
651
- expect(value).not.toMatchObject(hsvObject);
652
- expect(value).toMatchObject({
653
- h: toBeInteger(),
654
- s: toBeInteger(),
655
- v: toBeInteger()
656
- });
657
- });
658
- expect(() => assertUnsupportedValueMessage(hsvObject, "auto")).toThrow();
659
- });
660
- });
661
- describe("color gets propagated to support inputs", () => {
662
- describe("valid color", () => {
663
- it("color gets propagated to hex, RGB & HSV inputs", async () => {
664
- const page = await newE2EPage({
665
- html: "<calcite-color-picker value='#fff000'></calcite-color-picker>"
666
- });
667
- const hexInput = await page.find(`calcite-color-picker >>> calcite-color-picker-hex-input`);
668
- expect(await hexInput.getProperty("value")).toBe("#fff000");
669
- const [rgbModeButton, hsvModeButton] = await page.findAll(`calcite-color-picker >>> .${CSS.colorMode}`);
670
- const [rInput, gInput, bInput, hInput, sInput, vInput] = await page.findAll(`calcite-color-picker >>> calcite-input.${CSS.channel}`);
671
- await rgbModeButton.click();
672
- expect(await rInput.getProperty("value")).toBe("255");
673
- expect(await gInput.getProperty("value")).toBe("240");
674
- expect(await bInput.getProperty("value")).toBe("0");
675
- await hsvModeButton.click();
676
- expect(await hInput.getProperty("value")).toBe("56");
677
- expect(await sInput.getProperty("value")).toBe("100");
678
- expect(await vInput.getProperty("value")).toBe("100");
679
- });
680
- it("allows modifying color via hex, RGB, HSV inputs", async () => {
681
- const page = await newE2EPage({
682
- html: "<calcite-color-picker value='#fff'></calcite-color-picker>"
683
- });
684
- const picker = await page.find("calcite-color-picker");
685
- const hexInput = await page.find(`calcite-color-picker >>> calcite-color-picker-hex-input`);
686
- await clearAndEnterHexOrChannelValue(page, hexInput, "abc");
687
- expect(await picker.getProperty("value")).toBe("#aabbcc");
688
- const [rgbModeButton, hsvModeButton] = await page.findAll(`calcite-color-picker >>> .${CSS.colorMode}`);
689
- const [rInput, gInput, bInput, hInput, sInput, vInput] = await page.findAll(`calcite-color-picker >>> calcite-input.${CSS.channel}`);
690
- await rgbModeButton.click();
691
- await clearAndEnterHexOrChannelValue(page, rInput, "128");
692
- await clearAndEnterHexOrChannelValue(page, gInput, "64");
693
- await clearAndEnterHexOrChannelValue(page, bInput, "32");
694
- expect(await picker.getProperty("value")).toBe("#804020");
695
- await hsvModeButton.click();
696
- await clearAndEnterHexOrChannelValue(page, hInput, "180");
697
- await clearAndEnterHexOrChannelValue(page, sInput, "90");
698
- await clearAndEnterHexOrChannelValue(page, vInput, "45");
699
- expect(await picker.getProperty("value")).toBe("#0b7373");
700
- });
701
- it.skip("allows nudging values", async () => {
702
- const assertChannelValueNudge = async (page, calciteInput) => {
703
- await calciteInput.callMethod("setFocus");
704
- const currentValue = await calciteInput.getProperty("value");
705
- await page.keyboard.press("ArrowUp");
706
- expect(await calciteInput.getProperty("value")).toBe(`${Number(currentValue) + 1}`);
707
- await page.keyboard.press("ArrowDown");
708
- expect(await calciteInput.getProperty("value")).toBe(currentValue);
709
- await page.keyboard.down("Shift");
710
- await page.keyboard.press("ArrowUp");
711
- await page.keyboard.up("Shift");
712
- expect(await calciteInput.getProperty("value")).toBe(`${Number(currentValue) + 10}`);
713
- await page.keyboard.down("Shift");
714
- await page.keyboard.press("ArrowDown");
715
- await page.keyboard.up("Shift");
716
- expect(await calciteInput.getProperty("value")).toBe(currentValue);
717
- };
718
- const page = await newE2EPage({
719
- html: "<calcite-color-picker value='#408048'></calcite-color-picker>"
720
- });
721
- const [rgbModeButton, hsvModeButton] = await page.findAll(`calcite-color-picker >>> .${CSS.colorMode}`);
722
- const [rInput, gInput, bInput, hInput, sInput, vInput] = await page.findAll(`calcite-color-picker >>> calcite-input.${CSS.channel}`);
723
- await rgbModeButton.click();
724
- await assertChannelValueNudge(page, rInput);
725
- await assertChannelValueNudge(page, gInput);
726
- await assertChannelValueNudge(page, bInput);
727
- await hsvModeButton.click();
728
- await assertChannelValueNudge(page, hInput);
729
- await assertChannelValueNudge(page, sInput);
730
- await assertChannelValueNudge(page, vInput);
731
- });
732
- });
733
- describe("when no-color", () => {
734
- it("color gets propagated to hex, RGB & HSV inputs", async () => {
735
- const page = await newE2EPage({
736
- html: "<calcite-color-picker allow-empty value=''></calcite-color-picker>"
737
- });
738
- const hexInput = await page.find(`calcite-color-picker >>> calcite-color-picker-hex-input`);
739
- expect(await hexInput.getProperty("value")).toBe(null);
740
- const [rgbModeButton, hsvModeButton] = await page.findAll(`calcite-color-picker >>> .${CSS.colorMode}`);
741
- const [rInput, gInput, bInput, hInput, sInput, vInput] = await page.findAll(`calcite-color-picker >>> calcite-input.${CSS.channel}`);
742
- await rgbModeButton.click();
743
- expect(await rInput.getProperty("value")).toBe("");
744
- expect(await gInput.getProperty("value")).toBe("");
745
- expect(await bInput.getProperty("value")).toBe("");
746
- await hsvModeButton.click();
747
- expect(await hInput.getProperty("value")).toBe("");
748
- expect(await sInput.getProperty("value")).toBe("");
749
- expect(await vInput.getProperty("value")).toBe("");
750
- });
751
- describe("clearing color via supporting inputs", () => {
752
- it("clears color via hex input", async () => {
753
- const page = await newE2EPage({
754
- html: "<calcite-color-picker allow-empty value='#c0ff33'></calcite-color-picker>"
755
- });
756
- const picker = await page.find("calcite-color-picker");
757
- const hexInput = await page.find(`calcite-color-picker >>> calcite-color-picker-hex-input`);
758
- await clearAndEnterHexOrChannelValue(page, hexInput, "");
759
- expect(await picker.getProperty("value")).toBe(null);
760
- });
761
- it("clears color via RGB channel inputs", async () => {
762
- const page = await newE2EPage({
763
- html: "<calcite-color-picker allow-empty value='#c0ff33'></calcite-color-picker>"
764
- });
765
- const picker = await page.find("calcite-color-picker");
766
- const [rgbModeButton] = await page.findAll(`calcite-color-picker >>> .${CSS.colorMode}`);
767
- const [rInput, gInput, bInput] = await page.findAll(`calcite-color-picker >>> calcite-input.${CSS.channel}`);
768
- await rgbModeButton.click();
769
- await clearAndEnterHexOrChannelValue(page, rInput, "");
770
- // clearing one clears the rest
771
- expect(await gInput.getProperty("value")).toBe("");
772
- expect(await bInput.getProperty("value")).toBe("");
773
- expect(await picker.getProperty("value")).toBeNull();
774
- });
775
- it("clears color via HSV channel inputs", async () => {
776
- const page = await newE2EPage({
777
- html: "<calcite-color-picker allow-empty value='#c0ff33'></calcite-color-picker>"
778
- });
779
- const picker = await page.find("calcite-color-picker");
780
- const [, hsvModeButton] = await page.findAll(`calcite-color-picker >>> .${CSS.colorMode}`);
781
- const [, , , hInput, sInput, vInput] = await page.findAll(`calcite-color-picker >>> calcite-input.${CSS.channel}`);
782
- await hsvModeButton.click();
783
- await clearAndEnterHexOrChannelValue(page, hInput, "");
784
- // clearing one clears the rest
785
- expect(await sInput.getProperty("value")).toBe("");
786
- expect(await vInput.getProperty("value")).toBe("");
787
- expect(await picker.getProperty("value")).toBeNull();
788
- });
789
- });
790
- it("restores previous color value when a nudge key is pressed", async () => {
791
- const consistentRgbHsvChannelValue = "0";
792
- const initialValue = "#".padEnd(7, consistentRgbHsvChannelValue);
793
- const assertChannelValueNudge = async (page, calciteInput) => {
794
- await calciteInput.callMethod("setFocus");
795
- await clearAndEnterHexOrChannelValue(page, calciteInput, "");
796
- // using page.waitForChanges as keyboard nudges occur in the next frame
797
- await page.keyboard.press("ArrowUp");
798
- await page.waitForChanges();
799
- expect(await calciteInput.getProperty("value")).toBe(consistentRgbHsvChannelValue);
800
- await clearAndEnterHexOrChannelValue(page, calciteInput, "");
801
- await page.keyboard.press("ArrowDown");
802
- await page.waitForChanges();
803
- expect(await calciteInput.getProperty("value")).toBe(consistentRgbHsvChannelValue);
804
- await clearAndEnterHexOrChannelValue(page, calciteInput, "");
805
- await page.keyboard.down("Shift");
806
- await page.keyboard.press("ArrowUp");
807
- await page.keyboard.up("Shift");
808
- await page.waitForChanges();
809
- expect(await calciteInput.getProperty("value")).toBe(consistentRgbHsvChannelValue);
810
- await clearAndEnterHexOrChannelValue(page, calciteInput, "");
811
- await page.keyboard.down("Shift");
812
- await page.keyboard.press("ArrowDown");
813
- await page.keyboard.up("Shift");
814
- await page.waitForChanges();
815
- expect(await calciteInput.getProperty("value")).toBe(consistentRgbHsvChannelValue);
816
- };
817
- const page = await newE2EPage({
818
- html: `<calcite-color-picker allow-empty value='${initialValue}'></calcite-color-picker>`
819
- });
820
- const [rgbModeButton, hsvModeButton] = await page.findAll(`calcite-color-picker >>> .${CSS.colorMode}`);
821
- const [rInput, gInput, bInput, hInput, sInput, vInput] = await page.findAll(`calcite-color-picker >>> calcite-input.${CSS.channel}`);
822
- await rgbModeButton.click();
823
- await assertChannelValueNudge(page, rInput);
824
- await assertChannelValueNudge(page, gInput);
825
- await assertChannelValueNudge(page, bInput);
826
- await hsvModeButton.click();
827
- await assertChannelValueNudge(page, hInput);
828
- await assertChannelValueNudge(page, sInput);
829
- await assertChannelValueNudge(page, vInput);
830
- });
831
- it("changes the value to the specified format after being empty", async () => {
832
- const page = await newE2EPage({
833
- html: "<calcite-color-picker allow-empty value='' format='rgb'></calcite-color-picker>"
834
- });
835
- const color = await page.find("calcite-color-picker");
836
- const hexInput = await page.find(`calcite-color-picker >>> calcite-color-picker-hex-input`);
837
- await clearAndEnterHexOrChannelValue(page, hexInput, supportedFormatToSampleValue.hex);
838
- expect(await color.getProperty("value")).toEqual(supportedFormatToSampleValue.rgb);
839
- });
840
- });
841
- });
842
- });
843
- describe("color storage", () => {
844
- const storageId = "test-storage-id";
845
- const color1 = "#ff00ff";
846
- const color2 = "#beefee";
847
- async function clearStorage() {
848
- const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${storageId}`;
849
- const page = await newE2EPage({
850
- html: `<calcite-color-picker></calcite-color-picker>`
851
- });
852
- await page.evaluate((storageKey) => localStorage.removeItem(storageKey), [storageKey]);
853
- }
854
- beforeAll(clearStorage);
855
- afterAll(clearStorage);
856
- it("allows saving unique colors", async () => {
857
- const page = await newE2EPage({
858
- html: `<calcite-color-picker storage-id=${storageId}></calcite-color-picker>`
859
- });
860
- const picker = await page.find("calcite-color-picker");
861
- const saveColor = await page.find(`calcite-color-picker >>> .${CSS.saveColor}`);
862
- await saveColor.click();
863
- picker.setProperty("value", color1);
864
- await page.waitForChanges();
865
- await saveColor.click();
866
- picker.setProperty("value", color2);
867
- await page.waitForChanges();
868
- await saveColor.click();
869
- picker.setProperty("value", color1);
870
- await page.waitForChanges();
871
- await saveColor.click();
872
- picker.setProperty("value", color2);
873
- await page.waitForChanges();
874
- await saveColor.click();
875
- const savedColors = await page.findAll(`calcite-color-picker >>> .${CSS.savedColors} calcite-color-picker-swatch`);
876
- expect(savedColors).toHaveLength(3);
877
- });
878
- it("loads saved colors", async () => {
879
- const page = await newE2EPage({
880
- html: `<calcite-color-picker storage-id=${storageId}></calcite-color-picker>`
881
- });
882
- const savedColors = await page.findAll(`calcite-color-picker >>> .${CSS.savedColors} calcite-color-picker-swatch`);
883
- expect(savedColors).toHaveLength(3);
884
- });
885
- it("allows removing stored colors", async () => {
886
- const page = await newE2EPage({
887
- html: `<calcite-color-picker storage-id=${storageId}></calcite-color-picker>`
888
- });
889
- const picker = await page.find("calcite-color-picker");
890
- const saveColor = await page.find(`calcite-color-picker >>> .${CSS.saveColor}`);
891
- await saveColor.click();
892
- picker.setProperty("value", color1);
893
- await page.waitForChanges();
894
- await saveColor.click();
895
- picker.setProperty("value", color2);
896
- await page.waitForChanges();
897
- await saveColor.click();
898
- const saved = await page.findAll(`calcite-color-picker >>> .${CSS.savedColors} calcite-color-picker-swatch`);
899
- let expectedSaved = 3;
900
- const removeColor = await page.find(`calcite-color-picker >>> .${CSS.deleteColor}`);
901
- for (const swatch of saved) {
902
- await swatch.click();
903
- await removeColor.click();
904
- expect(await page.findAll(`calcite-color-picker >>> .${CSS.savedColors} calcite-color-picker-swatch`)).toHaveLength(--expectedSaved);
905
- }
906
- });
907
- it("does not allow saving/removing when no-color is set", async () => {
908
- const page = await newE2EPage({
909
- html: `<calcite-color-picker allow-empty value=""></calcite-color-picker>`
910
- });
911
- const saveColor = await page.find(`calcite-color-picker >>> .${CSS.saveColor}`);
912
- const removeColor = await page.find(`calcite-color-picker >>> .${CSS.deleteColor}`);
913
- expect(await saveColor.getProperty("disabled")).toBe(true);
914
- expect(await removeColor.getProperty("disabled")).toBe(true);
915
- });
916
- });
917
- it("allows setting no-color", async () => {
918
- const page = await newE2EPage({
919
- html: `<calcite-color-picker allow-empty></calcite-color-picker>`
920
- });
921
- const color = await page.find("calcite-color-picker");
922
- expect(await color.getProperty("value")).not.toBe(null);
923
- expect(await color.getProperty("color")).not.toBe(null);
924
- color.setProperty("value", null);
925
- await page.waitForChanges();
926
- expect(await color.getProperty("value")).toBe(null);
927
- expect(await color.getProperty("color")).toBe(null);
928
- expect(() => assertUnsupportedValueMessage(null, "auto")).toThrow();
929
- });
930
- it("allows hiding sections", async () => {
931
- const page = await newE2EPage({
932
- html: `<calcite-color-picker></calcite-color-picker>`
933
- });
934
- async function assertHiddenSection(hiddenSections) {
935
- const sectionVisibility = {
936
- hex: true,
937
- channels: true,
938
- saved: true
939
- };
940
- hiddenSections.forEach((section) => (sectionVisibility[section] = false));
941
- const color = await page.find("calcite-color-picker");
942
- const sections = Object.keys(sectionVisibility);
943
- for (let i = 0; i < sections.length; i++) {
944
- const section = sections[i];
945
- const hideSectionProp = `hide${section.charAt(0).toUpperCase() + section.slice(1)}`;
946
- color.setProperty(hideSectionProp, !sectionVisibility[section]);
947
- await page.waitForChanges();
948
- }
949
- const [hex, channels, saved] = await Promise.all([
950
- page.find(`calcite-color-picker >>> .${CSS.hexOptions}`),
951
- page.find(`calcite-color-picker >>> .${CSS.colorModeContainer}`),
952
- page.find(`calcite-color-picker >>> .${CSS.savedColors}`)
953
- ]);
954
- const sectionNodes = {
955
- hex,
956
- channels,
957
- saved
958
- };
959
- sections.forEach((section) => {
960
- const node = sectionNodes[section];
961
- const visible = sectionVisibility[section];
962
- expect(node)[visible ? "toBeDefined" : "toBeNull"]();
963
- });
964
- }
965
- await assertHiddenSection(["hex", "channels", "saved"]);
966
- await assertHiddenSection(["hex", "channels"]);
967
- await assertHiddenSection(["hex", "saved"]);
968
- await assertHiddenSection(["hex"]);
969
- await assertHiddenSection(["channels", "saved"]);
970
- await assertHiddenSection(["saved"]);
971
- await assertHiddenSection(["channels"]);
972
- await assertHiddenSection([]);
973
- });
974
- describe("scope keyboard interaction", () => {
975
- it("allows editing color field via keyboard", async () => {
976
- const page = await newE2EPage({
977
- html: `<calcite-color-picker allow-empty value=""></calcite-color-picker>`
978
- });
979
- const picker = await page.find("calcite-color-picker");
980
- const scope = await page.find(`calcite-color-picker >>> .${CSS.scope}`);
981
- await scope.press("Tab");
982
- expect(await picker.getProperty("value")).toBeFalsy();
983
- await scope.press("ArrowDown");
984
- expect(await picker.getProperty("value")).toBe("#ffffff");
985
- await scope.press("ArrowDown");
986
- expect(await picker.getProperty("value")).toBe("#ededed");
987
- await scope.press("ArrowDown");
988
- expect(await picker.getProperty("value")).toBe("#dbdbdb");
989
- await scope.press("ArrowUp");
990
- expect(await picker.getProperty("value")).toBe("#ededed");
991
- await scope.press("ArrowRight");
992
- expect(await picker.getProperty("value")).toBe("#e4eaed");
993
- await scope.press("ArrowLeft");
994
- expect(await picker.getProperty("value")).toBe("#ededed");
995
- });
996
- it("allows nudging color's saturation even if it does not change RGB value", async () => {
997
- const page = await newE2EPage({
998
- html: `<calcite-color-picker value="#000"></calcite-color-picker>`
999
- });
1000
- const scope = await page.find(`calcite-color-picker >>> .${CSS.colorFieldScope}`);
1001
- const initialStyle = await scope.getComputedStyle();
1002
- expect(initialStyle.left).toBe("0px");
1003
- await clickScope(page, "color-field");
1004
- let nudgesToTheEdge = 25;
1005
- while (nudgesToTheEdge--) {
1006
- await scope.press("ArrowRight");
1007
- }
1008
- const finalStyle = await scope.getComputedStyle();
1009
- expect(finalStyle.left).toBe(`${DIMENSIONS.m.colorField.width}px`);
1010
- });
1011
- it("allows nudging color's hue even if it does not change RGB value", async () => {
1012
- const page = await newE2EPage({
1013
- html: `<calcite-color-picker value="#000"></calcite-color-picker>`
1014
- });
1015
- const scope = await page.find(`calcite-color-picker >>> .${CSS.hueScope}`);
1016
- const nudgeAThirdOfSlider = async () => {
1017
- let stepsToShiftNudgeToAThird = 18;
1018
- while (stepsToShiftNudgeToAThird--) {
1019
- // pressing shift to move faster across slider
1020
- await page.keyboard.down("Shift");
1021
- await scope.press("ArrowRight");
1022
- await page.keyboard.up("Shift");
1023
- }
1024
- };
1025
- const getScopeLeftOffset = async () => parseFloat((await scope.getComputedStyle()).left);
1026
- expect(await getScopeLeftOffset()).toBe(0);
1027
- await clickScope(page, "hue");
1028
- await nudgeAThirdOfSlider();
1029
- expect(await getScopeLeftOffset()).toBeCloseTo(DIMENSIONS.m.colorField.width / 2);
1030
- await nudgeAThirdOfSlider();
1031
- // hue wraps around, so we nudge it back to assert position at the edge
1032
- await scope.press("ArrowLeft");
1033
- expect(await getScopeLeftOffset()).toBeCloseTo(DIMENSIONS.m.colorField.width - 1, 0);
1034
- // nudge it back to wrap around
1035
- await scope.press("ArrowRight");
1036
- expect(await getScopeLeftOffset()).toBeCloseTo(0);
1037
- });
1038
- it("allows editing hue slider via keyboard", async () => {
1039
- const page = await newE2EPage({
1040
- html: `<calcite-color-picker allow-empty value=""></calcite-color-picker>`
1041
- });
1042
- const picker = await page.find("calcite-color-picker");
1043
- const scopes = await page.findAll(`calcite-color-picker >>> .${CSS.scope}`);
1044
- await scopes[0].press("Tab");
1045
- await scopes[1].press("ArrowDown");
1046
- expect(await picker.getProperty("value")).toBe("#007ec2");
1047
- await scopes[1].press("ArrowRight");
1048
- expect(await picker.getProperty("value")).toBe("#007bc2");
1049
- await scopes[1].press("ArrowLeft");
1050
- expect(await picker.getProperty("value")).toBe("#007ec2");
1051
- await page.keyboard.press("Shift");
1052
- await scopes[1].press("ArrowDown");
1053
- expect(await picker.getProperty("value")).toBe("#0081c2");
1054
- await scopes[1].press("ArrowUp");
1055
- expect(await picker.getProperty("value")).toBe("#007ec2");
1056
- });
1057
- it("positions the scope correctly when the color is 000", async () => {
1058
- const page = await newE2EPage({
1059
- html: `<calcite-color-picker value="#000"></calcite-color-picker>`
1060
- });
1061
- const [, hueSliderScope] = await page.findAll(`calcite-color-picker >>> .${CSS.scope}`);
1062
- expect(await hueSliderScope.getComputedStyle()).toMatchObject({
1063
- top: "157px",
1064
- left: "0px"
1065
- });
1066
- });
1067
- });
1068
- });