@esri/calcite-components 1.4.0-next.1 → 1.4.0-next.10

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 (736) hide show
  1. package/dist/calcite/assets/icon/orientedImageryLayer16.json +1 -0
  2. package/dist/calcite/assets/icon/orientedImageryLayer24.json +1 -0
  3. package/dist/calcite/assets/icon/orientedImageryLayer32.json +1 -0
  4. package/dist/calcite/assets/icon/parcelLayer16.json +1 -0
  5. package/dist/calcite/assets/icon/parcelLayer24.json +1 -0
  6. package/dist/calcite/assets/icon/parcelLayer32.json +1 -0
  7. package/dist/calcite/assets/icon/viewAssociations16.json +1 -0
  8. package/dist/calcite/assets/icon/viewAssociations24.json +1 -0
  9. package/dist/calcite/assets/icon/viewAssociations32.json +1 -0
  10. package/dist/calcite/calcite.esm.js +2 -2
  11. package/dist/calcite/index.esm.js +2 -2
  12. package/dist/calcite/{p-202ec7cb.js → p-00383b72.js} +1 -1
  13. package/dist/calcite/{p-91a65b3d.entry.js → p-006421cf.entry.js} +2 -2
  14. package/dist/calcite/p-033b7e01.entry.js +6 -0
  15. package/dist/calcite/{p-929f251f.js → p-04577b20.js} +1 -1
  16. package/dist/calcite/{p-3fd6d05a.js → p-063a4869.js} +1 -1
  17. package/dist/calcite/{p-4fd321ce.entry.js → p-088553ab.entry.js} +2 -2
  18. package/dist/calcite/{p-9f47f20c.js → p-0990e4b1.js} +1 -1
  19. package/dist/calcite/p-0b5b83ca.js +6 -0
  20. package/dist/calcite/{p-eebb35d7.entry.js → p-0c5c7ac8.entry.js} +2 -2
  21. package/dist/calcite/{p-77e28424.entry.js → p-0f914551.entry.js} +2 -2
  22. package/dist/calcite/{p-0d8ab202.js → p-11d8b4fa.js} +2 -2
  23. package/dist/calcite/{p-16eb38b3.entry.js → p-12a17917.entry.js} +2 -2
  24. package/dist/calcite/{p-6f9a5b38.entry.js → p-166b2653.entry.js} +2 -2
  25. package/dist/calcite/{p-b96e03be.entry.js → p-1d8d9ad5.entry.js} +2 -2
  26. package/dist/calcite/p-21f70058.entry.js +6 -0
  27. package/dist/calcite/p-26ff46fc.entry.js +6 -0
  28. package/dist/calcite/{p-80f5c7dc.entry.js → p-285fde7a.entry.js} +2 -2
  29. package/dist/calcite/{p-8e588bd5.js → p-28bd653e.js} +3 -3
  30. package/dist/calcite/{p-355c6b51.js → p-2c11ed7d.js} +2 -2
  31. package/dist/calcite/{p-8eb242c3.entry.js → p-2e345437.entry.js} +2 -2
  32. package/dist/calcite/{p-160e376e.js → p-2fba8e6a.js} +1 -1
  33. package/dist/calcite/{p-ccdbdd3e.entry.js → p-33841e82.entry.js} +2 -2
  34. package/dist/calcite/{p-40e9ea4d.js → p-33c5c291.js} +1 -1
  35. package/dist/calcite/{p-4dfe3be2.js → p-369d7e1a.js} +1 -1
  36. package/dist/calcite/{p-192c9303.js → p-37d03f0c.js} +2 -2
  37. package/dist/calcite/{p-fdc776d9.js → p-386abb7d.js} +2 -2
  38. package/dist/calcite/{p-9f70d531.entry.js → p-39d22c35.entry.js} +2 -2
  39. package/dist/calcite/{p-9f492399.js → p-3d973854.js} +2 -2
  40. package/dist/calcite/{p-3c07d6d9.entry.js → p-3fe662f7.entry.js} +2 -2
  41. package/dist/calcite/{p-648773ca.entry.js → p-463c3817.entry.js} +2 -2
  42. package/dist/calcite/p-4e5db9b6.js +6 -0
  43. package/dist/calcite/{p-7b470dfe.js → p-4f50176e.js} +1 -1
  44. package/dist/calcite/p-504ea909.entry.js +6 -0
  45. package/dist/calcite/{p-16fa02e0.entry.js → p-548fb4ce.entry.js} +2 -2
  46. package/dist/calcite/{p-0e62bf57.entry.js → p-55caae0c.entry.js} +2 -2
  47. package/dist/calcite/{p-6b999e6a.entry.js → p-590cc126.entry.js} +2 -2
  48. package/dist/calcite/{p-bfd4b549.entry.js → p-5bc7013c.entry.js} +2 -2
  49. package/dist/calcite/{p-130cb272.entry.js → p-63d45233.entry.js} +2 -2
  50. package/dist/calcite/{p-1ee8a27c.entry.js → p-6b84d6ef.entry.js} +2 -2
  51. package/dist/calcite/p-6d7e5273.entry.js +6 -0
  52. package/dist/calcite/p-706ed58d.entry.js +6 -0
  53. package/dist/calcite/{p-9e966c8c.entry.js → p-718f633f.entry.js} +2 -2
  54. package/dist/calcite/{p-ca503db0.entry.js → p-7249fbe5.entry.js} +2 -2
  55. package/dist/calcite/{p-1ea5ac9d.entry.js → p-72ba446e.entry.js} +2 -2
  56. package/dist/calcite/{p-1a2f0b78.entry.js → p-75b724ae.entry.js} +2 -2
  57. package/dist/calcite/{p-f3fd38f8.entry.js → p-771ec30b.entry.js} +2 -2
  58. package/dist/calcite/{p-cb0f1e83.js → p-797661fe.js} +1 -1
  59. package/dist/calcite/{p-1c134cca.entry.js → p-7c870019.entry.js} +2 -2
  60. package/dist/calcite/{p-9419d79f.entry.js → p-7cb6bb0c.entry.js} +2 -2
  61. package/dist/calcite/{p-78f1640b.entry.js → p-7ddd51c0.entry.js} +2 -2
  62. package/dist/calcite/{p-f3481dad.entry.js → p-80b4addf.entry.js} +2 -2
  63. package/dist/calcite/{p-8bfca736.entry.js → p-83924270.entry.js} +2 -2
  64. package/dist/calcite/{p-3048b02a.js → p-892279b1.js} +1 -1
  65. package/dist/calcite/{p-b1128d62.entry.js → p-8d09a65c.entry.js} +2 -2
  66. package/dist/calcite/p-923166fc.entry.js +6 -0
  67. package/dist/calcite/{p-9a4aea5c.entry.js → p-95fdcb91.entry.js} +2 -2
  68. package/dist/calcite/p-96968ac7.entry.js +6 -0
  69. package/dist/calcite/p-970be967.entry.js +6 -0
  70. package/dist/calcite/p-99e63f9f.js +6 -0
  71. package/dist/calcite/{p-f02dfea6.entry.js → p-9c84eb29.entry.js} +2 -2
  72. package/dist/calcite/{p-dab4ee30.js → p-9d02fe1c.js} +1 -1
  73. package/dist/calcite/{p-43c67bb9.entry.js → p-9d07088d.entry.js} +2 -2
  74. package/dist/calcite/{p-a7a5335e.js → p-9fe27e8d.js} +2 -2
  75. package/dist/calcite/{p-931355e8.js → p-a0a1f925.js} +1 -1
  76. package/dist/calcite/p-a15f7de3.js +6 -0
  77. package/dist/calcite/{p-a7b6b725.entry.js → p-a49d3536.entry.js} +2 -2
  78. package/dist/calcite/{p-00b8a8e9.js → p-a7daef7a.js} +2 -2
  79. package/dist/calcite/p-a94a945f.entry.js +6 -0
  80. package/dist/calcite/{p-137e2bb9.entry.js → p-aa277b5a.entry.js} +2 -2
  81. package/dist/calcite/{p-5f1f5c38.entry.js → p-ac273467.entry.js} +2 -2
  82. package/dist/calcite/p-b140b736.js +6 -0
  83. package/dist/calcite/{p-f54ae1ab.entry.js → p-b149fa47.entry.js} +2 -2
  84. package/dist/calcite/{p-8e7597b8.entry.js → p-b2b99a48.entry.js} +2 -2
  85. package/dist/calcite/{p-a8216142.js → p-b6042b6c.js} +1 -1
  86. package/dist/calcite/{p-8a791b50.entry.js → p-b99a1036.entry.js} +2 -2
  87. package/dist/calcite/{p-d66139be.entry.js → p-c6a73b19.entry.js} +2 -2
  88. package/dist/calcite/{p-647ebb8d.entry.js → p-c8c93dc4.entry.js} +2 -2
  89. package/dist/calcite/{p-dbfc5b2e.js → p-ca33af16.js} +2 -2
  90. package/dist/calcite/{p-8f36135a.entry.js → p-cc171e49.entry.js} +2 -2
  91. package/dist/calcite/{p-b74b3edc.js → p-d2a6b24b.js} +1 -1
  92. package/dist/calcite/{p-26900c87.entry.js → p-d3245ccf.entry.js} +2 -2
  93. package/dist/calcite/{p-8c36542e.entry.js → p-deb3bdde.entry.js} +2 -2
  94. package/dist/calcite/{p-70dba721.entry.js → p-e0e93a72.entry.js} +2 -2
  95. package/dist/calcite/{p-52234353.js → p-e1098787.js} +2 -2
  96. package/dist/calcite/p-e22cb550.entry.js +6 -0
  97. package/dist/calcite/{p-3f20b4ea.js → p-e4c1febd.js} +1 -1
  98. package/dist/calcite/{p-90170ec7.js → p-e79254d3.js} +2 -2
  99. package/dist/calcite/{p-cbbc6c3c.js → p-eacf0ee1.js} +1 -1
  100. package/dist/calcite/{p-cccdae42.js → p-ee458bd5.js} +2 -2
  101. package/dist/calcite/{p-77ffa8c0.entry.js → p-f0fdf516.entry.js} +2 -2
  102. package/dist/calcite/{p-19eec879.entry.js → p-f1642ec6.entry.js} +2 -2
  103. package/dist/calcite/{p-c75b8170.js → p-f395d0e2.js} +2 -2
  104. package/dist/calcite/{p-6050736c.entry.js → p-f5e50012.entry.js} +2 -2
  105. package/dist/calcite/{p-baca04ad.entry.js → p-fbfe8e4d.entry.js} +2 -2
  106. package/dist/calcite/{p-d025ac9c.entry.js → p-fe1c87d5.entry.js} +2 -2
  107. package/dist/calcite/p-ffdbd6d1.entry.js +6 -0
  108. package/dist/cjs/{ExpandToggle-46462b73.js → ExpandToggle-953ef45b.js} +5 -5
  109. package/dist/cjs/{FloatingArrow-386bcf99.js → FloatingArrow-cf108924.js} +2 -2
  110. package/dist/cjs/{Heading-cdc35796.js → Heading-0b55bc06.js} +2 -2
  111. package/dist/cjs/{app-globals-d6130b8b.js → app-globals-4953ac0e.js} +2 -2
  112. package/dist/cjs/{array-79e60de8.js → array-2726dfca.js} +1 -1
  113. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  114. package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
  115. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  116. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  117. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  118. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  119. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  120. package/dist/cjs/calcite-avatar.cjs.entry.js +9 -8
  121. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  122. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  123. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  124. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  125. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  126. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  127. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +585 -339
  128. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  129. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  130. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  131. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  132. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  133. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  134. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  135. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  136. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  137. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  138. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  139. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  140. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  141. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  142. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  143. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +14 -14
  144. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  145. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  146. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  147. package/dist/cjs/calcite-list_3.cjs.entry.js +50 -40
  148. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  149. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  150. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  151. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  152. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  153. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  154. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  155. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  156. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  157. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  158. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  159. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  160. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  161. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  162. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -14
  163. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  164. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  165. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  166. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  167. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  168. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  169. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  170. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  171. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  172. package/dist/cjs/calcite-tooltip.cjs.entry.js +46 -32
  173. package/dist/cjs/calcite-tree_2.cjs.entry.js +47 -27
  174. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  175. package/dist/cjs/calcite.cjs.js +5 -5
  176. package/dist/cjs/{composed-offset-position.esm-34843aea.js → composed-offset-position.esm-12a68feb.js} +1 -1
  177. package/dist/cjs/{conditionalSlot-a61d43fc.js → conditionalSlot-f5ae40d5.js} +3 -3
  178. package/dist/cjs/{debounce-bf9bd36d.js → debounce-a5772547.js} +1 -1
  179. package/dist/cjs/{dom-dd7e7078.js → dom-60bc41cc.js} +116 -17
  180. package/dist/cjs/{filter-95f477d2.js → filter-6d66baa0.js} +2 -2
  181. package/dist/cjs/{floating-ui-fab04fea.js → floating-ui-eea897d6.js} +71 -65
  182. package/dist/cjs/{focusTrapComponent-6e1488e8.js → focusTrapComponent-adfb6fd0.js} +2 -2
  183. package/dist/cjs/{form-a683c373.js → form-375179b0.js} +3 -3
  184. package/dist/cjs/{guid-6841fe52.js → guid-20fbb6f5.js} +1 -1
  185. package/dist/cjs/{index-2a60e5ec.js → index-7ff03af4.js} +1 -1
  186. package/dist/cjs/index.cjs.js +2 -2
  187. package/dist/cjs/{interactive-6cff8d4e.js → interactive-e756405a.js} +1 -1
  188. package/dist/cjs/{key-629ff080.js → key-965a0499.js} +1 -1
  189. package/dist/cjs/{label-7712e5a1.js → label-d45108db.js} +2 -2
  190. package/dist/cjs/{loadable-85e1f45b.js → loadable-43aa8e12.js} +1 -1
  191. package/dist/cjs/loader.cjs.js +5 -5
  192. package/dist/cjs/{locale-44e61096.js → locale-352dde9f.js} +4 -4
  193. package/dist/cjs/{math-faf5a949.js → math-9638f9db.js} +1 -1
  194. package/dist/cjs/{observers-d3bfb778.js → observers-c0279726.js} +1 -1
  195. package/dist/cjs/{openCloseComponent-65c2ca00.js → openCloseComponent-02cae5bf.js} +2 -2
  196. package/dist/cjs/{resources-34d3d589.js → resources-0c626808.js} +1 -1
  197. package/dist/cjs/{resources-6ae8b620.js → resources-2dbf7729.js} +1 -1
  198. package/dist/cjs/{resources-54920aaa.js → resources-4097e6e6.js} +5 -5
  199. package/dist/cjs/{resources-4861da6e.js → resources-b2185290.js} +1 -1
  200. package/dist/cjs/{resources-2e9fab44.js → resources-db42842c.js} +1 -1
  201. package/dist/cjs/{resources-ad5570c2.js → resources-ebef8fc8.js} +1 -1
  202. package/dist/cjs/{sortable.esm-7c113379.js → sortable.esm-4549097b.js} +1 -1
  203. package/dist/cjs/{t9n-6d0f2ca7.js → t9n-6dbfaf2b.js} +3 -3
  204. package/dist/cjs/{throttle-9dfcf548.js → throttle-5b0015f5.js} +2 -2
  205. package/dist/cjs/utils-52def2ad.js +213 -0
  206. package/dist/cjs/{utils-7e605f34.js → utils-643437eb.js} +3 -3
  207. package/dist/collection/components/accordion/accordion.js +1 -1
  208. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  209. package/dist/collection/components/accordion-item/resources.js +1 -1
  210. package/dist/collection/components/action/action.js +1 -1
  211. package/dist/collection/components/action/resources.js +1 -1
  212. package/dist/collection/components/action-bar/action-bar.css +9 -12
  213. package/dist/collection/components/action-bar/action-bar.js +1 -1
  214. package/dist/collection/components/action-bar/resources.js +1 -1
  215. package/dist/collection/components/action-bar/utils.js +1 -1
  216. package/dist/collection/components/action-group/action-group.js +1 -1
  217. package/dist/collection/components/action-group/resources.js +1 -1
  218. package/dist/collection/components/action-menu/action-menu.js +1 -1
  219. package/dist/collection/components/action-menu/resources.js +1 -1
  220. package/dist/collection/components/action-pad/action-pad.js +1 -1
  221. package/dist/collection/components/action-pad/resources.js +1 -1
  222. package/dist/collection/components/alert/alert.js +1 -1
  223. package/dist/collection/components/alert/resources.js +1 -1
  224. package/dist/collection/components/avatar/avatar.js +22 -4
  225. package/dist/collection/components/avatar/utils.js +1 -1
  226. package/dist/collection/components/block/block.js +1 -1
  227. package/dist/collection/components/block/resources.js +1 -1
  228. package/dist/collection/components/block-section/block-section.js +1 -1
  229. package/dist/collection/components/block-section/resources.js +1 -1
  230. package/dist/collection/components/button/button.js +1 -1
  231. package/dist/collection/components/button/resources.js +1 -1
  232. package/dist/collection/components/card/card.js +1 -1
  233. package/dist/collection/components/card/resources.js +1 -1
  234. package/dist/collection/components/checkbox/checkbox.js +1 -1
  235. package/dist/collection/components/chip/chip.js +1 -1
  236. package/dist/collection/components/chip/resources.js +1 -1
  237. package/dist/collection/components/chip-group/chip-group.js +1 -1
  238. package/dist/collection/components/color-picker/color-picker.css +59 -52
  239. package/dist/collection/components/color-picker/color-picker.js +449 -234
  240. package/dist/collection/components/color-picker/resources.js +37 -27
  241. package/dist/collection/components/color-picker/utils.js +116 -30
  242. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +19 -16
  243. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +225 -118
  244. package/dist/collection/components/color-picker-hex-input/resources.js +3 -3
  245. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +10 -6
  246. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +34 -7
  247. package/dist/collection/components/color-picker-swatch/resources.js +8 -2
  248. package/dist/collection/components/combobox/combobox.js +1 -1
  249. package/dist/collection/components/combobox/resources.js +1 -1
  250. package/dist/collection/components/combobox/utils.js +1 -1
  251. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  252. package/dist/collection/components/combobox-item/resources.js +1 -1
  253. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  254. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  255. package/dist/collection/components/date-picker/date-picker.js +1 -1
  256. package/dist/collection/components/date-picker/resources.js +1 -1
  257. package/dist/collection/components/date-picker/utils.js +1 -1
  258. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  259. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  260. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  261. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  262. package/dist/collection/components/dropdown/dropdown.js +1 -1
  263. package/dist/collection/components/dropdown/resources.js +1 -1
  264. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  265. package/dist/collection/components/dropdown-group/resources.js +1 -1
  266. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  267. package/dist/collection/components/dropdown-item/resources.js +1 -1
  268. package/dist/collection/components/fab/fab.js +1 -1
  269. package/dist/collection/components/fab/resources.js +1 -1
  270. package/dist/collection/components/filter/filter.js +1 -1
  271. package/dist/collection/components/filter/resources.js +1 -1
  272. package/dist/collection/components/flow/flow.js +1 -1
  273. package/dist/collection/components/flow/resources.js +1 -1
  274. package/dist/collection/components/flow-item/flow-item.css +12 -0
  275. package/dist/collection/components/flow-item/flow-item.js +2 -2
  276. package/dist/collection/components/flow-item/resources.js +1 -1
  277. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  278. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  279. package/dist/collection/components/functional/Heading.js +1 -1
  280. package/dist/collection/components/graph/graph.js +1 -1
  281. package/dist/collection/components/graph/util.js +1 -1
  282. package/dist/collection/components/handle/handle.js +1 -1
  283. package/dist/collection/components/handle/resources.js +1 -1
  284. package/dist/collection/components/icon/assets/icon/orientedImageryLayer16.json +1 -0
  285. package/dist/collection/components/icon/assets/icon/orientedImageryLayer24.json +1 -0
  286. package/dist/collection/components/icon/assets/icon/orientedImageryLayer32.json +1 -0
  287. package/dist/collection/components/icon/assets/icon/parcelLayer16.json +1 -0
  288. package/dist/collection/components/icon/assets/icon/parcelLayer24.json +1 -0
  289. package/dist/collection/components/icon/assets/icon/parcelLayer32.json +1 -0
  290. package/dist/collection/components/icon/assets/icon/viewAssociations16.json +1 -0
  291. package/dist/collection/components/icon/assets/icon/viewAssociations24.json +1 -0
  292. package/dist/collection/components/icon/assets/icon/viewAssociations32.json +1 -0
  293. package/dist/collection/components/icon/icon.js +1 -1
  294. package/dist/collection/components/icon/resources.js +1 -1
  295. package/dist/collection/components/icon/utils.js +1 -1
  296. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  297. package/dist/collection/components/inline-editable/resources.js +1 -1
  298. package/dist/collection/components/input/input.js +1 -1
  299. package/dist/collection/components/input/resources.js +1 -1
  300. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  301. package/dist/collection/components/input-date-picker/resources.js +1 -1
  302. package/dist/collection/components/input-message/input-message.js +1 -1
  303. package/dist/collection/components/input-message/interfaces.js +1 -1
  304. package/dist/collection/components/input-number/input-number.js +1 -1
  305. package/dist/collection/components/input-number/resources.js +1 -1
  306. package/dist/collection/components/input-text/input-text.js +1 -1
  307. package/dist/collection/components/input-text/resources.js +1 -1
  308. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  309. package/dist/collection/components/input-time-picker/resources.js +1 -1
  310. package/dist/collection/components/label/label.js +1 -1
  311. package/dist/collection/components/label/resources.js +1 -1
  312. package/dist/collection/components/link/link.js +1 -1
  313. package/dist/collection/components/list/list.js +60 -30
  314. package/dist/collection/components/list/resources.js +2 -2
  315. package/dist/collection/components/list-item/list-item.js +1 -1
  316. package/dist/collection/components/list-item/resources.js +1 -1
  317. package/dist/collection/components/list-item/utils.js +1 -1
  318. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  319. package/dist/collection/components/list-item-group/resources.js +1 -1
  320. package/dist/collection/components/loader/loader.js +1 -1
  321. package/dist/collection/components/modal/modal.js +1 -1
  322. package/dist/collection/components/modal/resources.js +1 -1
  323. package/dist/collection/components/notice/notice.js +1 -1
  324. package/dist/collection/components/notice/resources.js +1 -1
  325. package/dist/collection/components/option/option.js +1 -1
  326. package/dist/collection/components/option-group/option-group.js +1 -1
  327. package/dist/collection/components/pagination/pagination.js +1 -1
  328. package/dist/collection/components/pagination/resources.js +1 -1
  329. package/dist/collection/components/panel/panel.css +9 -2
  330. package/dist/collection/components/panel/panel.js +2 -2
  331. package/dist/collection/components/panel/resources.js +1 -1
  332. package/dist/collection/components/pick-list/pick-list.js +1 -1
  333. package/dist/collection/components/pick-list/resources.js +1 -1
  334. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  335. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  336. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  337. package/dist/collection/components/pick-list-group/resources.js +1 -1
  338. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  339. package/dist/collection/components/pick-list-item/resources.js +1 -1
  340. package/dist/collection/components/popover/PopoverManager.js +1 -1
  341. package/dist/collection/components/popover/popover.js +1 -1
  342. package/dist/collection/components/popover/resources.js +1 -1
  343. package/dist/collection/components/progress/progress.js +1 -1
  344. package/dist/collection/components/radio-button/radio-button.js +1 -1
  345. package/dist/collection/components/radio-button/resources.js +1 -1
  346. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  347. package/dist/collection/components/rating/function/star.js +1 -1
  348. package/dist/collection/components/rating/rating.js +1 -1
  349. package/dist/collection/components/resources.js +1 -1
  350. package/dist/collection/components/scrim/resources.js +1 -1
  351. package/dist/collection/components/scrim/scrim.js +1 -1
  352. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  353. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  354. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  355. package/dist/collection/components/select/resources.js +1 -1
  356. package/dist/collection/components/select/select.js +1 -1
  357. package/dist/collection/components/shell/resources.js +1 -1
  358. package/dist/collection/components/shell/shell.js +1 -1
  359. package/dist/collection/components/shell-center-row/resources.js +1 -1
  360. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -4
  361. package/dist/collection/components/shell-panel/resources.js +1 -1
  362. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  363. package/dist/collection/components/slider/resources.js +1 -1
  364. package/dist/collection/components/slider/slider.js +1 -1
  365. package/dist/collection/components/sortable-list/resources.js +1 -1
  366. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  367. package/dist/collection/components/split-button/resources.js +1 -1
  368. package/dist/collection/components/split-button/split-button.js +1 -1
  369. package/dist/collection/components/stepper/stepper.js +1 -1
  370. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  371. package/dist/collection/components/switch/switch.js +1 -1
  372. package/dist/collection/components/tab/tab.js +1 -1
  373. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  374. package/dist/collection/components/tab-title/resources.js +1 -1
  375. package/dist/collection/components/tab-title/tab-title.js +1 -1
  376. package/dist/collection/components/tabs/resources.js +1 -1
  377. package/dist/collection/components/tabs/tabs.js +1 -1
  378. package/dist/collection/components/text-area/resources.js +1 -1
  379. package/dist/collection/components/text-area/text-area.js +1 -1
  380. package/dist/collection/components/tile/resources.js +1 -1
  381. package/dist/collection/components/tile/tile.js +1 -1
  382. package/dist/collection/components/tile-select/resources.js +1 -1
  383. package/dist/collection/components/tile-select/tile-select.js +1 -1
  384. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  385. package/dist/collection/components/time-picker/resources.js +1 -1
  386. package/dist/collection/components/time-picker/time-picker.js +1 -1
  387. package/dist/collection/components/tip/resources.js +1 -1
  388. package/dist/collection/components/tip/tip.js +1 -1
  389. package/dist/collection/components/tip-group/tip-group.js +1 -1
  390. package/dist/collection/components/tip-manager/resources.js +1 -1
  391. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  392. package/dist/collection/components/tooltip/TooltipManager.js +38 -24
  393. package/dist/collection/components/tooltip/resources.js +1 -1
  394. package/dist/collection/components/tooltip/tooltip.js +1 -1
  395. package/dist/collection/components/tooltip/utils.js +1 -1
  396. package/dist/collection/components/tree/tree.js +25 -12
  397. package/dist/collection/components/tree/utils.js +1 -1
  398. package/dist/collection/components/tree-item/resources.js +1 -1
  399. package/dist/collection/components/tree-item/tree-item.js +15 -8
  400. package/dist/collection/components/value-list/resources.js +1 -1
  401. package/dist/collection/components/value-list/utils.js +1 -1
  402. package/dist/collection/components/value-list/value-list.js +1 -1
  403. package/dist/collection/components/value-list-item/resources.js +1 -1
  404. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  405. package/dist/collection/index.js +1 -1
  406. package/dist/collection/utils/array.js +1 -1
  407. package/dist/collection/utils/conditionalSlot.js +1 -1
  408. package/dist/collection/utils/config.js +1 -1
  409. package/dist/collection/utils/date.js +1 -1
  410. package/dist/collection/utils/dom.js +114 -15
  411. package/dist/collection/utils/filter.js +1 -1
  412. package/dist/collection/utils/floating-ui.js +1 -1
  413. package/dist/collection/utils/focusTrapComponent.js +1 -1
  414. package/dist/collection/utils/form.js +1 -1
  415. package/dist/collection/utils/globalAttributes.js +1 -1
  416. package/dist/collection/utils/globalScript.js +1 -1
  417. package/dist/collection/utils/guid.js +1 -1
  418. package/dist/collection/utils/interactive.js +1 -1
  419. package/dist/collection/utils/key.js +1 -1
  420. package/dist/collection/utils/label.js +1 -1
  421. package/dist/collection/utils/loadable.js +1 -1
  422. package/dist/collection/utils/locale.js +1 -1
  423. package/dist/collection/utils/math.js +1 -1
  424. package/dist/collection/utils/mode.js +1 -1
  425. package/dist/collection/utils/number.js +1 -1
  426. package/dist/collection/utils/observers.js +1 -1
  427. package/dist/collection/utils/openCloseComponent.js +1 -1
  428. package/dist/collection/utils/resources.js +1 -1
  429. package/dist/collection/utils/t9n.js +1 -1
  430. package/dist/collection/utils/time.js +1 -1
  431. package/dist/components/ExpandToggle.js +1 -1
  432. package/dist/components/FloatingArrow.js +1 -1
  433. package/dist/components/Heading.js +1 -1
  434. package/dist/components/action-group.js +1 -1
  435. package/dist/components/action-menu.js +1 -1
  436. package/dist/components/action.js +1 -1
  437. package/dist/components/array.js +1 -1
  438. package/dist/components/button.js +1 -1
  439. package/dist/components/calcite-accordion-item.js +1 -1
  440. package/dist/components/calcite-accordion.js +1 -1
  441. package/dist/components/calcite-action-bar.js +2 -2
  442. package/dist/components/calcite-action-group.js +1 -1
  443. package/dist/components/calcite-action-menu.js +1 -1
  444. package/dist/components/calcite-action-pad.js +1 -1
  445. package/dist/components/calcite-action.js +1 -1
  446. package/dist/components/calcite-alert.js +1 -1
  447. package/dist/components/calcite-avatar.js +5 -3
  448. package/dist/components/calcite-block-section.js +1 -1
  449. package/dist/components/calcite-block.js +1 -1
  450. package/dist/components/calcite-button.js +1 -1
  451. package/dist/components/calcite-card.js +1 -1
  452. package/dist/components/calcite-checkbox.js +1 -1
  453. package/dist/components/calcite-chip-group.js +1 -1
  454. package/dist/components/calcite-chip.js +1 -1
  455. package/dist/components/calcite-color-picker-hex-input.js +2 -2
  456. package/dist/components/calcite-color-picker-swatch.js +1 -1
  457. package/dist/components/calcite-color-picker.js +377 -314
  458. package/dist/components/calcite-combobox-item-group.js +1 -1
  459. package/dist/components/calcite-combobox-item.js +1 -1
  460. package/dist/components/calcite-combobox.js +1 -1
  461. package/dist/components/calcite-date-picker-day.js +1 -1
  462. package/dist/components/calcite-date-picker-month-header.js +1 -1
  463. package/dist/components/calcite-date-picker-month.js +1 -1
  464. package/dist/components/calcite-date-picker.js +1 -1
  465. package/dist/components/calcite-dropdown-group.js +1 -1
  466. package/dist/components/calcite-dropdown-item.js +1 -1
  467. package/dist/components/calcite-dropdown.js +1 -1
  468. package/dist/components/calcite-fab.js +1 -1
  469. package/dist/components/calcite-filter.js +1 -1
  470. package/dist/components/calcite-flow-item.js +2 -2
  471. package/dist/components/calcite-flow.js +1 -1
  472. package/dist/components/calcite-graph.js +1 -1
  473. package/dist/components/calcite-handle.js +1 -1
  474. package/dist/components/calcite-icon.js +1 -1
  475. package/dist/components/calcite-inline-editable.js +1 -1
  476. package/dist/components/calcite-input-date-picker.js +1 -1
  477. package/dist/components/calcite-input-message.js +1 -1
  478. package/dist/components/calcite-input-number.js +2 -617
  479. package/dist/components/calcite-input-text.js +1 -1
  480. package/dist/components/calcite-input-time-picker.js +1 -1
  481. package/dist/components/calcite-input.js +1 -1
  482. package/dist/components/calcite-label.js +1 -1
  483. package/dist/components/calcite-link.js +1 -1
  484. package/dist/components/calcite-list-item-group.js +1 -1
  485. package/dist/components/calcite-list-item.js +1 -1
  486. package/dist/components/calcite-list.js +40 -30
  487. package/dist/components/calcite-loader.js +1 -1
  488. package/dist/components/calcite-modal.js +1 -1
  489. package/dist/components/calcite-notice.js +1 -1
  490. package/dist/components/calcite-option-group.js +1 -1
  491. package/dist/components/calcite-option.js +1 -1
  492. package/dist/components/calcite-pagination.js +1 -1
  493. package/dist/components/calcite-panel.js +1 -1
  494. package/dist/components/calcite-pick-list-group.js +1 -1
  495. package/dist/components/calcite-pick-list-item.js +1 -1
  496. package/dist/components/calcite-pick-list.js +1 -1
  497. package/dist/components/calcite-popover.js +1 -1
  498. package/dist/components/calcite-progress.js +1 -1
  499. package/dist/components/calcite-radio-button-group.js +1 -1
  500. package/dist/components/calcite-radio-button.js +1 -1
  501. package/dist/components/calcite-rating.js +1 -1
  502. package/dist/components/calcite-scrim.js +1 -1
  503. package/dist/components/calcite-segmented-control-item.js +1 -1
  504. package/dist/components/calcite-segmented-control.js +1 -1
  505. package/dist/components/calcite-select.js +1 -1
  506. package/dist/components/calcite-shell-center-row.js +1 -4
  507. package/dist/components/calcite-shell-panel.js +1 -1
  508. package/dist/components/calcite-shell.js +1 -1
  509. package/dist/components/calcite-slider.js +1 -1
  510. package/dist/components/calcite-sortable-list.js +1 -1
  511. package/dist/components/calcite-split-button.js +1 -1
  512. package/dist/components/calcite-stepper-item.js +1 -1
  513. package/dist/components/calcite-stepper.js +1 -1
  514. package/dist/components/calcite-switch.js +1 -1
  515. package/dist/components/calcite-tab-nav.js +1 -1
  516. package/dist/components/calcite-tab-title.js +1 -1
  517. package/dist/components/calcite-tab.js +1 -1
  518. package/dist/components/calcite-tabs.js +1 -1
  519. package/dist/components/calcite-text-area.js +1 -1
  520. package/dist/components/calcite-tile-select-group.js +1 -1
  521. package/dist/components/calcite-tile-select.js +1 -1
  522. package/dist/components/calcite-tile.js +1 -1
  523. package/dist/components/calcite-time-picker.js +1 -1
  524. package/dist/components/calcite-tip-group.js +1 -1
  525. package/dist/components/calcite-tip-manager.js +1 -1
  526. package/dist/components/calcite-tip.js +1 -1
  527. package/dist/components/calcite-tooltip.js +1 -1
  528. package/dist/components/calcite-tree-item.js +15 -8
  529. package/dist/components/calcite-tree.js +25 -12
  530. package/dist/components/calcite-value-list-item.js +1 -1
  531. package/dist/components/calcite-value-list.js +1 -1
  532. package/dist/components/checkbox.js +1 -1
  533. package/dist/components/chip.js +1 -1
  534. package/dist/components/color-picker-hex-input.js +252 -88
  535. package/dist/components/color-picker-swatch.js +42 -2118
  536. package/dist/components/composed-offset-position.esm.js +1 -1
  537. package/dist/components/conditionalSlot.js +1 -1
  538. package/dist/components/date-picker-day.js +1 -1
  539. package/dist/components/date-picker-month-header.js +1 -1
  540. package/dist/components/date-picker-month.js +1 -1
  541. package/dist/components/date-picker.js +2 -2
  542. package/dist/components/date.js +1 -1
  543. package/dist/components/debounce.js +1 -1
  544. package/dist/components/dom.js +114 -15
  545. package/dist/components/dropdown.js +1 -1
  546. package/dist/components/filter.js +1 -1
  547. package/dist/components/filter2.js +1 -1
  548. package/dist/components/floating-ui.js +68 -62
  549. package/dist/components/focusTrapComponent.js +1 -1
  550. package/dist/components/form.js +1 -1
  551. package/dist/components/graph.js +1 -1
  552. package/dist/components/guid.js +1 -1
  553. package/dist/components/handle.js +1 -1
  554. package/dist/components/icon.js +1 -1
  555. package/dist/components/index.js +1 -1
  556. package/dist/components/index2.js +2116 -0
  557. package/dist/components/input-number.js +623 -0
  558. package/dist/components/input.js +2 -2
  559. package/dist/components/interactive.js +1 -1
  560. package/dist/components/key.js +1 -1
  561. package/dist/components/label.js +1 -1
  562. package/dist/components/label2.js +1 -1
  563. package/dist/components/link.js +1 -1
  564. package/dist/components/loadable.js +1 -1
  565. package/dist/components/loader.js +1 -1
  566. package/dist/components/locale.js +2 -2
  567. package/dist/components/math.js +1 -1
  568. package/dist/components/observers.js +1 -1
  569. package/dist/components/openCloseComponent.js +1 -1
  570. package/dist/components/panel.js +2 -2
  571. package/dist/components/pick-list-item.js +1 -1
  572. package/dist/components/popover.js +1 -1
  573. package/dist/components/progress.js +1 -1
  574. package/dist/components/resources.js +1 -1
  575. package/dist/components/resources2.js +1 -1
  576. package/dist/components/resources3.js +1 -1
  577. package/dist/components/scrim.js +1 -1
  578. package/dist/components/shared-list-render.js +1 -1
  579. package/dist/components/sortable.esm.js +1 -1
  580. package/dist/components/switch.js +1 -1
  581. package/dist/components/t9n.js +1 -1
  582. package/dist/components/tab-nav.js +1 -1
  583. package/dist/components/tab-title.js +1 -1
  584. package/dist/components/tab.js +1 -1
  585. package/dist/components/tabs.js +1 -1
  586. package/dist/components/throttle.js +1 -1
  587. package/dist/components/tile.js +1 -1
  588. package/dist/components/time-picker.js +2 -2
  589. package/dist/components/tooltip.js +38 -24
  590. package/dist/components/utils.js +112 -31
  591. package/dist/components/utils2.js +1 -1
  592. package/dist/components/utils3.js +1 -1
  593. package/dist/esm/{ExpandToggle-b9435cd9.js → ExpandToggle-453532fb.js} +5 -5
  594. package/dist/esm/{FloatingArrow-c11f7328.js → FloatingArrow-7e092a81.js} +2 -2
  595. package/dist/esm/{Heading-cf0b7487.js → Heading-3e8ede2b.js} +2 -2
  596. package/dist/esm/{app-globals-4fed5e1d.js → app-globals-f5cd924f.js} +2 -2
  597. package/dist/esm/{array-358c609b.js → array-cd8aabd5.js} +1 -1
  598. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  599. package/dist/esm/calcite-action-bar.entry.js +16 -16
  600. package/dist/esm/calcite-action-group.entry.js +13 -13
  601. package/dist/esm/calcite-action-menu.entry.js +9 -9
  602. package/dist/esm/calcite-action-pad.entry.js +14 -14
  603. package/dist/esm/calcite-action.entry.js +11 -11
  604. package/dist/esm/calcite-alert.entry.js +12 -12
  605. package/dist/esm/calcite-avatar.entry.js +9 -8
  606. package/dist/esm/calcite-block_2.entry.js +12 -12
  607. package/dist/esm/calcite-button.entry.js +13 -13
  608. package/dist/esm/calcite-card.entry.js +10 -10
  609. package/dist/esm/calcite-checkbox.entry.js +10 -10
  610. package/dist/esm/calcite-chip-group.entry.js +8 -8
  611. package/dist/esm/calcite-chip.entry.js +12 -12
  612. package/dist/esm/calcite-color-picker_3.entry.js +585 -339
  613. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  614. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  615. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  616. package/dist/esm/calcite-fab.entry.js +7 -7
  617. package/dist/esm/calcite-filter.entry.js +13 -13
  618. package/dist/esm/calcite-flow-item.entry.js +13 -13
  619. package/dist/esm/calcite-flow.entry.js +3 -3
  620. package/dist/esm/calcite-graph_2.entry.js +13 -13
  621. package/dist/esm/calcite-handle.entry.js +10 -10
  622. package/dist/esm/calcite-icon.entry.js +6 -6
  623. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  624. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  625. package/dist/esm/calcite-input-message.entry.js +5 -5
  626. package/dist/esm/calcite-input-number.entry.js +13 -13
  627. package/dist/esm/calcite-input-text.entry.js +13 -13
  628. package/dist/esm/calcite-input-time-picker_2.entry.js +14 -14
  629. package/dist/esm/calcite-input.entry.js +13 -13
  630. package/dist/esm/calcite-label.entry.js +6 -6
  631. package/dist/esm/calcite-link.entry.js +7 -7
  632. package/dist/esm/calcite-list_3.entry.js +50 -40
  633. package/dist/esm/calcite-loader.entry.js +3 -3
  634. package/dist/esm/calcite-modal.entry.js +13 -13
  635. package/dist/esm/calcite-notice.entry.js +12 -12
  636. package/dist/esm/calcite-option_3.entry.js +10 -10
  637. package/dist/esm/calcite-pagination.entry.js +10 -10
  638. package/dist/esm/calcite-panel.entry.js +15 -15
  639. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  640. package/dist/esm/calcite-popover.entry.js +16 -16
  641. package/dist/esm/calcite-progress.entry.js +2 -2
  642. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  643. package/dist/esm/calcite-radio-button.entry.js +10 -10
  644. package/dist/esm/calcite-rating.entry.js +13 -13
  645. package/dist/esm/calcite-scrim.entry.js +9 -9
  646. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  647. package/dist/esm/calcite-shell_3.entry.js +11 -14
  648. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  649. package/dist/esm/calcite-split-button.entry.js +4 -4
  650. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  651. package/dist/esm/calcite-switch.entry.js +10 -10
  652. package/dist/esm/calcite-tab_4.entry.js +7 -7
  653. package/dist/esm/calcite-text-area.entry.js +15 -15
  654. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  655. package/dist/esm/calcite-tile.entry.js +8 -8
  656. package/dist/esm/calcite-tip_3.entry.js +11 -11
  657. package/dist/esm/calcite-tooltip.entry.js +46 -32
  658. package/dist/esm/calcite-tree_2.entry.js +47 -27
  659. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  660. package/dist/esm/calcite.js +6 -6
  661. package/dist/esm/{composed-offset-position.esm-7dad5f51.js → composed-offset-position.esm-76d65efb.js} +1 -1
  662. package/dist/esm/{conditionalSlot-5cabd141.js → conditionalSlot-aa1ef58a.js} +3 -3
  663. package/dist/esm/{debounce-3236c2d6.js → debounce-8c6a3cbc.js} +1 -1
  664. package/dist/esm/{dom-28b5e538.js → dom-b9bed823.js} +116 -17
  665. package/dist/esm/{filter-698b6eb0.js → filter-e32fe919.js} +2 -2
  666. package/dist/esm/{floating-ui-b5749485.js → floating-ui-fbd8bbc8.js} +71 -65
  667. package/dist/esm/{focusTrapComponent-889051a9.js → focusTrapComponent-d63c1aa7.js} +2 -2
  668. package/dist/esm/{form-09082c06.js → form-7d8a2b92.js} +3 -3
  669. package/dist/esm/{guid-544471e1.js → guid-8fc9c6e4.js} +1 -1
  670. package/dist/esm/{index-5d088200.js → index-18aa0ab5.js} +1 -1
  671. package/dist/esm/index.js +2 -2
  672. package/dist/esm/{interactive-854fd770.js → interactive-c1d7134a.js} +1 -1
  673. package/dist/esm/{key-fe7f0c5b.js → key-c41d524a.js} +1 -1
  674. package/dist/esm/{label-78d3672e.js → label-fab33c80.js} +2 -2
  675. package/dist/esm/{loadable-1fd5df25.js → loadable-a4cb0e0a.js} +1 -1
  676. package/dist/esm/loader.js +6 -6
  677. package/dist/esm/{locale-ca2b383e.js → locale-70a08434.js} +4 -4
  678. package/dist/esm/{math-144739fc.js → math-4700eb3d.js} +1 -1
  679. package/dist/esm/{observers-072ef19c.js → observers-72f649b9.js} +1 -1
  680. package/dist/esm/{openCloseComponent-6e2df95d.js → openCloseComponent-7099262f.js} +2 -2
  681. package/dist/esm/{resources-0fd2a367.js → resources-04baed08.js} +1 -1
  682. package/dist/esm/{resources-7c3efd5b.js → resources-3a3d58c2.js} +1 -1
  683. package/dist/esm/{resources-bc08b0a8.js → resources-6f9c09ba.js} +5 -5
  684. package/dist/esm/{resources-81fb0e53.js → resources-6fb499ae.js} +1 -1
  685. package/dist/esm/{resources-417fcb2c.js → resources-7d1e244f.js} +1 -1
  686. package/dist/esm/{resources-ae5aaa2f.js → resources-941c20ae.js} +1 -1
  687. package/dist/esm/{sortable.esm-2496d718.js → sortable.esm-fa5ebcb2.js} +1 -1
  688. package/dist/esm/{t9n-a16b2bfd.js → t9n-1cf2a8af.js} +3 -3
  689. package/dist/esm/{throttle-f248810f.js → throttle-48795209.js} +2 -2
  690. package/dist/esm/{utils-dbad4ec5.js → utils-b673e5a0.js} +3 -3
  691. package/dist/esm/utils-cb560d06.js +195 -0
  692. package/dist/extras/docs-json.json +193 -39
  693. package/dist/extras/vscode-data.json +28 -4
  694. package/dist/loader/cdn.js +1 -1
  695. package/dist/loader/index.cjs.js +1 -1
  696. package/dist/loader/index.es2017.js +1 -1
  697. package/dist/loader/index.js +1 -1
  698. package/dist/types/components/avatar/avatar.d.ts +3 -1
  699. package/dist/types/components/color-picker/color-picker.d.ts +55 -26
  700. package/dist/types/components/color-picker/interfaces.d.ts +1 -0
  701. package/dist/types/components/color-picker/resources.d.ts +28 -18
  702. package/dist/types/components/color-picker/utils.d.ts +16 -7
  703. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +33 -16
  704. package/dist/types/components/color-picker-hex-input/resources.d.ts +2 -2
  705. package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +3 -2
  706. package/dist/types/components/color-picker-swatch/resources.d.ts +6 -1
  707. package/dist/types/components/flow-item/flow-item.d.ts +1 -1
  708. package/dist/types/components/list/list.d.ts +7 -2
  709. package/dist/types/components/list/resources.d.ts +1 -1
  710. package/dist/types/components/panel/panel.d.ts +1 -1
  711. package/dist/types/components/tooltip/TooltipManager.d.ts +3 -2
  712. package/dist/types/components/tree-item/tree-item.d.ts +2 -0
  713. package/dist/types/components.d.ts +74 -10
  714. package/dist/types/preact.d.ts +2 -1
  715. package/dist/types/utils/dom.d.ts +115 -19
  716. package/hydrate/index.js +983 -510
  717. package/package.json +5 -6
  718. package/dist/calcite/p-16186076.entry.js +0 -6
  719. package/dist/calcite/p-19558484.entry.js +0 -6
  720. package/dist/calcite/p-2e37d908.entry.js +0 -6
  721. package/dist/calcite/p-331764e7.entry.js +0 -6
  722. package/dist/calcite/p-3480e564.js +0 -6
  723. package/dist/calcite/p-5b450927.entry.js +0 -6
  724. package/dist/calcite/p-601ddd73.js +0 -6
  725. package/dist/calcite/p-636d0418.entry.js +0 -6
  726. package/dist/calcite/p-69984379.entry.js +0 -6
  727. package/dist/calcite/p-77a01239.entry.js +0 -6
  728. package/dist/calcite/p-a6964ccc.entry.js +0 -6
  729. package/dist/calcite/p-c0877b02.js +0 -6
  730. package/dist/calcite/p-db810dad.js +0 -6
  731. package/dist/calcite/p-dc80a779.entry.js +0 -6
  732. package/dist/calcite/p-de9cb821.js +0 -6
  733. package/dist/calcite/p-ec46baf1.entry.js +0 -6
  734. package/dist/calcite/p-ede3f0a2.entry.js +0 -6
  735. package/dist/cjs/utils-a90ed219.js +0 -124
  736. package/dist/esm/utils-5f9ac4a7.js +0 -114
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.1
4
+ * v1.4.0-next.10
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { b as getSlotted, e as slotChangeHasAssignedElement, c as getElementDir, C as CSS_UTILITY, t as toAriaBoolean, q as filterDirectChildren, o as nodeListToArray } from './dom.js';
@@ -50,11 +50,6 @@ const TreeItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
50
50
  this.expanded = !this.expanded;
51
51
  };
52
52
  this.childrenClickHandler = (event) => event.stopPropagation();
53
- //--------------------------------------------------------------------------
54
- //
55
- // Private Methods
56
- //
57
- //--------------------------------------------------------------------------
58
53
  this.updateParentIsExpanded = (el, expanded) => {
59
54
  const items = getSlotted(el, SLOTS.children, {
60
55
  all: true,
@@ -195,7 +190,7 @@ const TreeItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
195
190
  [CSS_UTILITY.rtl]: rtl
196
191
  }, "data-selection-mode": this.selectionMode,
197
192
  // eslint-disable-next-line react/jsx-sort-props
198
- ref: (el) => (this.defaultSlotWrapper = el) }, chevron, itemIndicator, this.iconStart ? iconStartEl : null, checkbox ? checkbox : defaultSlotNode), h("div", { class: CSS.actionsEnd, hidden: !hasEndActions }, slotNode)), h("div", { class: {
193
+ ref: (el) => (this.defaultSlotWrapper = el) }, chevron, itemIndicator, this.iconStart ? iconStartEl : null, checkbox ? checkbox : defaultSlotNode), h("div", { class: CSS.actionsEnd, hidden: !hasEndActions, ref: (el) => (this.actionSlotWrapper = el) }, slotNode)), h("div", { class: {
199
194
  [CSS.childrenContainer]: true,
200
195
  [CSS_UTILITY.rtl]: rtl
201
196
  }, "data-test-id": "calcite-tree-children", onClick: this.childrenClickHandler, role: this.hasChildren ? "group" : undefined,
@@ -211,7 +206,7 @@ const TreeItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
211
206
  //
212
207
  //--------------------------------------------------------------------------
213
208
  onClick(event) {
214
- if (this.disabled) {
209
+ if (this.disabled || this.isActionEndEvent(event)) {
215
210
  return;
216
211
  }
217
212
  // Solve for if the item is clicked somewhere outside the slotted anchor.
@@ -228,6 +223,9 @@ const TreeItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
228
223
  }
229
224
  keyDownHandler(event) {
230
225
  let root;
226
+ if (this.isActionEndEvent(event)) {
227
+ return;
228
+ }
231
229
  switch (event.key) {
232
230
  case " ":
233
231
  if (this.selectionMode === "none") {
@@ -274,6 +272,15 @@ const TreeItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
274
272
  break;
275
273
  }
276
274
  }
275
+ //--------------------------------------------------------------------------
276
+ //
277
+ // Private Methods
278
+ //
279
+ //--------------------------------------------------------------------------
280
+ isActionEndEvent(event) {
281
+ const composedPath = event.composedPath();
282
+ return composedPath.includes(this.actionSlotWrapper);
283
+ }
277
284
  /**
278
285
  * This is meant to be called in `componentDidLoad` in order to take advantage of the hierarchical component lifecycle
279
286
  * and help check for item selection as items are initialized
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.1
4
+ * v1.4.0-next.10
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { k as focusElement, o as nodeListToArray, p as getRootNode } from './dom.js';
@@ -97,26 +97,24 @@ const Tree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
97
97
  (!target.hasChildren ||
98
98
  (target.hasChildren &&
99
99
  (this.selectionMode === "children" || this.selectionMode === "multichildren")));
100
+ const shouldDeselectAllChildren = this.selectionMode === "multichildren" && target.hasChildren;
100
101
  const shouldModifyToCurrentSelection = !isNoneSelectionMode &&
101
102
  event.detail.modifyCurrentSelection &&
102
103
  (this.selectionMode === "multiple" || this.selectionMode === "multichildren");
103
- const shouldSelectChildren = this.selectionMode === "multichildren" || this.selectionMode === "children";
104
104
  const shouldClearCurrentSelection = !shouldModifyToCurrentSelection &&
105
105
  (((this.selectionMode === "single" || this.selectionMode === "multiple") &&
106
106
  childItems.length <= 0) ||
107
107
  this.selectionMode === "children" ||
108
108
  this.selectionMode === "multichildren");
109
- const shouldExpandTarget = this.selectionMode === "children" || this.selectionMode === "multichildren";
109
+ const shouldUpdateExpand = ["children", "multichildren"].includes(this.selectionMode) ||
110
+ (["single", "multiple"].includes(this.selectionMode) &&
111
+ target.hasChildren &&
112
+ !event.detail.forceToggle);
110
113
  if (!this.child) {
111
114
  const targetItems = [];
112
115
  if (shouldSelect) {
113
116
  targetItems.push(target);
114
117
  }
115
- if (shouldSelectChildren) {
116
- childItems.forEach((treeItem) => {
117
- targetItems.push(treeItem);
118
- });
119
- }
120
118
  if (shouldClearCurrentSelection) {
121
119
  const selectedItems = nodeListToArray(this.el.querySelectorAll("calcite-tree-item[selected]"));
122
120
  selectedItems.forEach((treeItem) => {
@@ -125,14 +123,29 @@ const Tree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
125
123
  }
126
124
  });
127
125
  }
128
- if (shouldExpandTarget && !event.detail.forceToggle) {
129
- target.expanded = true;
126
+ if (shouldUpdateExpand) {
127
+ if (["single", "multiple"].includes(this.selectionMode)) {
128
+ target.expanded = !target.expanded;
129
+ }
130
+ else if (this.selectionMode === "multichildren") {
131
+ target.expanded = !target.selected;
132
+ }
133
+ else if (this.selectionMode === "children") {
134
+ target.expanded = target.selected ? !target.expanded : true;
135
+ }
136
+ }
137
+ if (shouldDeselectAllChildren) {
138
+ childItems.forEach((item) => {
139
+ item.selected = false;
140
+ if (item.hasChildren) {
141
+ item.expanded = false;
142
+ }
143
+ });
130
144
  }
131
145
  if (shouldModifyToCurrentSelection) {
132
146
  window.getSelection().removeAllRanges();
133
147
  }
134
- if ((shouldModifyToCurrentSelection && target.selected) ||
135
- (shouldSelectChildren && event.detail.forceToggle)) {
148
+ if ((shouldModifyToCurrentSelection && target.selected) || event.detail.forceToggle) {
136
149
  targetItems.forEach((treeItem) => {
137
150
  if (!treeItem.disabled) {
138
151
  treeItem.selected = false;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.1
4
+ * v1.4.0-next.10
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.1
4
+ * v1.4.0-next.10
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
7
7
  import { S as Sortable } from './sortable.esm.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.1
4
+ * v1.4.0-next.10
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { t as toAriaBoolean } from './dom.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.1
4
+ * v1.4.0-next.10
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, Build, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { e as slotChangeHasAssignedElement, t as toAriaBoolean } from './dom.js';
@@ -1,24 +1,115 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.1
4
+ * v1.4.0-next.10
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
7
- import { c as color, d as defineCustomElement$4 } from './color-picker-swatch.js';
7
+ import { j as isLonghandHex, i as isValidHex, r as rgbToHex, n as normalizeHex, o as opacityToAlpha, a as hexify, k as hexChar, c as alphaToOpacity } from './utils.js';
8
+ import { c as color } from './index2.js';
8
9
  import { k as focusElement } from './dom.js';
9
10
  import { a as setUpLoadableComponent, s as setComponentLoaded, c as componentLoaded } from './loadable.js';
10
- import { i as isValidHex, a as isLonghandHex, r as rgbToHex, n as normalizeHex, b as hexChar } from './utils.js';
11
- import { d as defineCustomElement$3 } from './icon.js';
12
- import { d as defineCustomElement$2 } from './input.js';
11
+ import { d as defineCustomElement$4 } from './icon.js';
12
+ import { d as defineCustomElement$3 } from './input.js';
13
+ import { d as defineCustomElement$2 } from './input-number.js';
13
14
  import { d as defineCustomElement$1 } from './progress.js';
14
15
 
15
- const CSS = {
16
+ const CSS$1 = {
17
+ channel: "channel",
18
+ channels: "channels",
19
+ colorField: "color-field",
20
+ colorFieldScope: "scope--color-field",
21
+ colorMode: "color-mode",
22
+ colorModeContainer: "color-mode-container",
16
23
  container: "container",
24
+ control: "control",
25
+ controlAndScope: "control-and-scope",
26
+ controlSection: "control-section",
27
+ deleteColor: "delete-color",
28
+ header: "header",
29
+ hexAndChannelsGroup: "hex-and-channels-group",
30
+ hexOptions: "color-hex-options",
31
+ hueScope: "scope--hue",
32
+ hueSlider: "hue-slider",
33
+ opacityScope: "scope--opacity",
34
+ opacitySlider: "opacity-slider",
17
35
  preview: "preview",
18
- input: "input"
36
+ previewAndSliders: "preview-and-sliders",
37
+ saveColor: "save-color",
38
+ savedColor: "saved-color",
39
+ savedColors: "saved-colors",
40
+ savedColorsButtons: "saved-colors-buttons",
41
+ savedColorsSection: "saved-colors-section",
42
+ scope: "scope",
43
+ section: "section",
44
+ slider: "slider",
45
+ sliders: "sliders",
46
+ splitSection: "section--split"
47
+ };
48
+ const DEFAULT_COLOR$1 = color("#007AC2");
49
+ const DEFAULT_STORAGE_KEY_PREFIX = "calcite-color-";
50
+ const RGB_LIMITS = {
51
+ r: 255,
52
+ g: 255,
53
+ b: 255
54
+ };
55
+ const HSV_LIMITS = {
56
+ h: 360,
57
+ s: 100,
58
+ v: 100
59
+ };
60
+ const OPACITY_LIMITS = {
61
+ min: 0,
62
+ max: 100
63
+ };
64
+ const DIMENSIONS = {
65
+ s: {
66
+ slider: {
67
+ height: 12,
68
+ width: 104
69
+ },
70
+ colorField: {
71
+ height: 80,
72
+ width: 160
73
+ },
74
+ thumb: {
75
+ radius: 10
76
+ }
77
+ },
78
+ m: {
79
+ slider: {
80
+ height: 12,
81
+ width: 204
82
+ },
83
+ colorField: {
84
+ height: 150,
85
+ width: 272
86
+ },
87
+ thumb: {
88
+ radius: 10
89
+ }
90
+ },
91
+ l: {
92
+ slider: {
93
+ height: 12,
94
+ width: 384
95
+ },
96
+ colorField: {
97
+ height: 200,
98
+ width: 464
99
+ },
100
+ thumb: {
101
+ radius: 10
102
+ }
103
+ }
19
104
  };
20
105
 
21
- const colorPickerHexInputCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:block}.container{display:inline-grid;inline-size:100%;align-items:center;grid-template-columns:1fr auto}.preview{grid-column:2/3;pointer-events:none;margin-block:0px;margin-inline:0.25rem;display:flex;align-items:center}.preview,.input{grid-row:1}.input{grid-column:1/3;inline-size:100%;text-transform:uppercase}";
106
+ const CSS = {
107
+ container: "container",
108
+ hexInput: "hex-input",
109
+ opacityInput: "opacity-input"
110
+ };
111
+
112
+ const colorPickerHexInputCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:68px;margin-inline-start:-1px}:host([scale=s]) .container{flex-wrap:wrap;row-gap:0.125rem}:host([scale=s]) .opacity-input{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .opacity-input{inline-size:88px}";
22
113
 
23
114
  const DEFAULT_COLOR = color();
24
115
  const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
@@ -27,32 +118,120 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
27
118
  this.__registerHost();
28
119
  this.__attachShadow();
29
120
  this.calciteColorPickerHexInputChange = createEvent(this, "calciteColorPickerHexInputChange", 6);
30
- this.onCalciteInternalInputBlur = () => {
31
- const node = this.inputNode;
121
+ this.onHexInputBlur = () => {
122
+ const node = this.hexInputNode;
32
123
  const inputValue = node.value;
33
124
  const hex = `#${inputValue}`;
34
- const willClearValue = this.allowEmpty && !inputValue;
35
- if (willClearValue || (isValidHex(hex) && isLonghandHex(hex))) {
125
+ const { allowEmpty, internalColor } = this;
126
+ const willClearValue = allowEmpty && !inputValue;
127
+ const isLonghand = isLonghandHex(hex);
128
+ if (willClearValue || (isValidHex(hex) && isLonghand)) {
36
129
  return;
37
130
  }
38
131
  // manipulating DOM directly since rerender doesn't update input value
39
132
  node.value =
40
- this.allowEmpty && !this.internalColor
133
+ allowEmpty && !internalColor
41
134
  ? ""
42
- : this.formatForInternalInput(rgbToHex(this.internalColor.object()));
135
+ : this.formatHexForInternalInput(rgbToHex(
136
+ // always display hex input in RRGGBB format
137
+ internalColor.object()));
43
138
  };
44
- this.onInputChange = () => {
45
- this.internalSetValue(this.inputNode.value, this.value);
139
+ this.onOpacityInputBlur = () => {
140
+ const node = this.opacityInputNode;
141
+ const inputValue = node.value;
142
+ const { allowEmpty, internalColor } = this;
143
+ const willClearValue = allowEmpty && !inputValue;
144
+ if (willClearValue) {
145
+ return;
146
+ }
147
+ // manipulating DOM directly since rerender doesn't update input value
148
+ node.value =
149
+ allowEmpty && !internalColor ? "" : this.formatOpacityForInternalInput(internalColor);
150
+ };
151
+ this.onHexInputChange = () => {
152
+ const nodeValue = this.hexInputNode.value;
153
+ let value = nodeValue;
154
+ if (value) {
155
+ const normalized = normalizeHex(value, false);
156
+ const preserveExistingAlpha = isValidHex(normalized) && this.alphaChannel;
157
+ if (preserveExistingAlpha && this.internalColor) {
158
+ const alphaHex = normalizeHex(this.internalColor.hexa(), true).slice(-2);
159
+ value = `${normalized + alphaHex}`;
160
+ }
161
+ }
162
+ this.internalSetValue(value, this.value);
163
+ };
164
+ this.onOpacityInputChange = () => {
165
+ const node = this.opacityInputNode;
166
+ let value;
167
+ if (!node.value) {
168
+ value = node.value;
169
+ }
170
+ else {
171
+ const alpha = opacityToAlpha(Number(node.value));
172
+ value = this.internalColor?.alpha(alpha).hexa();
173
+ }
174
+ this.internalSetValue(value, this.value);
175
+ };
176
+ this.onInputKeyDown = (event) => {
177
+ const { altKey, ctrlKey, metaKey, shiftKey } = event;
178
+ const { alphaChannel, hexInputNode, internalColor, value } = this;
179
+ const { key } = event;
180
+ const composedPath = event.composedPath();
181
+ if (key === "Tab" || key === "Enter") {
182
+ if (composedPath.includes(hexInputNode)) {
183
+ this.onHexInputChange();
184
+ }
185
+ else {
186
+ this.onOpacityInputChange();
187
+ }
188
+ if (key === "Enter") {
189
+ event.preventDefault();
190
+ }
191
+ return;
192
+ }
193
+ const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
194
+ const oldValue = this.value;
195
+ if (isNudgeKey) {
196
+ if (!value) {
197
+ this.internalSetValue(this.previousNonNullValue, oldValue);
198
+ event.preventDefault();
199
+ return;
200
+ }
201
+ const direction = key === "ArrowUp" ? 1 : -1;
202
+ const bump = shiftKey ? 10 : 1;
203
+ this.internalSetValue(hexify(this.nudgeRGBChannels(internalColor, bump * direction, composedPath.includes(hexInputNode) ? "rgb" : "a"), alphaChannel), oldValue);
204
+ event.preventDefault();
205
+ return;
206
+ }
207
+ const withModifiers = altKey || ctrlKey || metaKey;
208
+ const singleChar = key.length === 1;
209
+ const validHexChar = hexChar.test(key);
210
+ if (singleChar && !withModifiers && !validHexChar) {
211
+ event.preventDefault();
212
+ }
213
+ };
214
+ this.onHexInputPaste = (event) => {
215
+ const hex = event.clipboardData.getData("text");
216
+ if (isValidHex(hex)) {
217
+ event.preventDefault();
218
+ this.hexInputNode.value = hex.slice(1);
219
+ }
46
220
  };
47
221
  this.previousNonNullValue = this.value;
48
- this.storeInputRef = (node) => {
49
- this.inputNode = node;
222
+ this.storeHexInputRef = (node) => {
223
+ this.hexInputNode = node;
224
+ };
225
+ this.storeOpacityInputRef = (node) => {
226
+ this.opacityInputNode = node;
50
227
  };
51
- this.hexLabel = "Hex";
52
228
  this.allowEmpty = false;
53
- this.scale = "m";
54
- this.value = normalizeHex(DEFAULT_COLOR.hex());
229
+ this.alphaChannel = false;
230
+ this.hexLabel = "Hex";
231
+ this.messages = undefined;
55
232
  this.numberingSystem = undefined;
233
+ this.scale = "m";
234
+ this.value = normalizeHex(hexify(DEFAULT_COLOR, this.alphaChannel), this.alphaChannel, true);
56
235
  this.internalColor = DEFAULT_COLOR;
57
236
  }
58
237
  //--------------------------------------------------------------------------
@@ -61,10 +240,10 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
61
240
  //
62
241
  //--------------------------------------------------------------------------
63
242
  connectedCallback() {
64
- const { allowEmpty, value } = this;
243
+ const { allowEmpty, alphaChannel, value } = this;
65
244
  if (value) {
66
- const normalized = normalizeHex(value);
67
- if (isValidHex(normalized)) {
245
+ const normalized = normalizeHex(value, alphaChannel);
246
+ if (isValidHex(normalized, alphaChannel)) {
68
247
  this.internalSetValue(normalized, normalized, false);
69
248
  }
70
249
  return;
@@ -82,54 +261,21 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
82
261
  handleValueChange(value, oldValue) {
83
262
  this.internalSetValue(value, oldValue, false);
84
263
  }
85
- // using @Listen as a workaround for VDOM listener not firing
86
- onInputKeyDown(event) {
87
- const { altKey, ctrlKey, metaKey, shiftKey } = event;
88
- const { internalColor, value } = this;
89
- const { key } = event;
90
- if (key === "Tab" || key === "Enter") {
91
- this.onInputChange();
92
- return;
93
- }
94
- const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
95
- const oldValue = this.value;
96
- if (isNudgeKey) {
97
- if (!value) {
98
- this.internalSetValue(this.previousNonNullValue, oldValue);
99
- event.preventDefault();
100
- return;
101
- }
102
- const direction = key === "ArrowUp" ? 1 : -1;
103
- const bump = shiftKey ? 10 : 1;
104
- this.internalSetValue(normalizeHex(this.nudgeRGBChannels(internalColor, bump * direction).hex()), oldValue);
105
- event.preventDefault();
106
- return;
107
- }
108
- const withModifiers = altKey || ctrlKey || metaKey;
109
- const singleChar = key.length === 1;
110
- const validHexChar = hexChar.test(key);
111
- if (singleChar && !withModifiers && !validHexChar) {
112
- event.preventDefault();
113
- }
114
- }
115
- onPaste(event) {
116
- const hex = event.clipboardData.getData("text");
117
- if (isValidHex(hex)) {
118
- event.preventDefault();
119
- this.inputNode.value = hex.slice(1);
120
- }
121
- }
122
264
  //--------------------------------------------------------------------------
123
265
  //
124
266
  // Lifecycle
125
267
  //
126
268
  //--------------------------------------------------------------------------
127
269
  render() {
128
- const { value } = this;
129
- const hexInputValue = this.formatForInternalInput(value);
130
- return (h("div", { class: CSS.container }, h("calcite-input", { class: CSS.input, label: this.hexLabel, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", scale: this.scale, value: hexInputValue,
270
+ const { alphaChannel, hexLabel, internalColor, messages, scale, value } = this;
271
+ const hexInputValue = this.formatHexForInternalInput(value);
272
+ const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
273
+ const inputScale = scale === "l" ? "m" : "s";
274
+ return (h("div", { class: CSS.container }, h("calcite-input", { class: CSS.hexInput, label: messages?.hex || hexLabel, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onHexInputChange, onCalciteInternalInputBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
131
275
  // eslint-disable-next-line react/jsx-sort-props
132
- ref: this.storeInputRef }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
276
+ ref: this.storeHexInputRef }), alphaChannel ? (h("calcite-input-number", { class: CSS.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
277
+ // eslint-disable-next-line react/jsx-sort-props
278
+ ref: this.storeOpacityInputRef })) : null));
133
279
  }
134
280
  //--------------------------------------------------------------------------
135
281
  //
@@ -139,7 +285,7 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
139
285
  /** Sets focus on the component. */
140
286
  async setFocus() {
141
287
  await componentLoaded(this);
142
- focusElement(this.inputNode);
288
+ focusElement(this.hexInputNode);
143
289
  }
144
290
  //--------------------------------------------------------------------------
145
291
  //
@@ -148,13 +294,17 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
148
294
  //--------------------------------------------------------------------------
149
295
  internalSetValue(value, oldValue, emit = true) {
150
296
  if (value) {
151
- const normalized = normalizeHex(value);
152
- if (isValidHex(normalized)) {
153
- const { internalColor } = this;
154
- const changed = !internalColor || normalized !== normalizeHex(internalColor.hex());
155
- this.internalColor = color(normalized);
156
- this.previousNonNullValue = normalized;
157
- this.value = normalized;
297
+ const { alphaChannel } = this;
298
+ const normalized = normalizeHex(value, alphaChannel, alphaChannel);
299
+ if (isValidHex(normalized, alphaChannel)) {
300
+ const { internalColor: currentColor } = this;
301
+ const nextColor = color(normalized);
302
+ const normalizedLonghand = normalizeHex(hexify(nextColor, alphaChannel), alphaChannel);
303
+ const changed = !currentColor ||
304
+ normalizedLonghand !== normalizeHex(hexify(currentColor, alphaChannel), alphaChannel);
305
+ this.internalColor = nextColor;
306
+ this.previousNonNullValue = normalizedLonghand;
307
+ this.value = normalizedLonghand;
158
308
  if (changed && emit) {
159
309
  this.calciteColorPickerHexInputChange.emit();
160
310
  }
@@ -171,16 +321,28 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
171
321
  }
172
322
  this.value = oldValue;
173
323
  }
174
- formatForInternalInput(hex) {
175
- return hex ? hex.replace("#", "") : "";
324
+ formatHexForInternalInput(hex) {
325
+ return hex ? hex.replace("#", "").slice(0, 6) : "";
176
326
  }
177
- nudgeRGBChannels(color$1, amount) {
178
- return color.rgb(color$1.array().map((channel) => channel + amount));
327
+ formatOpacityForInternalInput(color) {
328
+ return color ? `${alphaToOpacity(color.alpha())}` : "";
179
329
  }
180
- handleKeyDown(event) {
181
- if (event.key === "Enter") {
182
- event.preventDefault();
330
+ nudgeRGBChannels(color$1, amount, context) {
331
+ let nudgedChannels;
332
+ const channels = color$1.array();
333
+ const rgbChannels = channels.slice(0, 3);
334
+ if (context === "rgb") {
335
+ const nudgedRGBChannels = rgbChannels.map((channel) => channel + amount);
336
+ nudgedChannels = [
337
+ ...nudgedRGBChannels,
338
+ this.alphaChannel ? channels[3] : undefined
339
+ ];
340
+ }
341
+ else {
342
+ const nudgedAlpha = opacityToAlpha(alphaToOpacity(color$1.alpha()) + amount);
343
+ nudgedChannels = [...rgbChannels, nudgedAlpha];
183
344
  }
345
+ return color(nudgedChannels);
184
346
  }
185
347
  get el() { return this; }
186
348
  static get watchers() { return {
@@ -188,36 +350,38 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
188
350
  }; }
189
351
  static get style() { return colorPickerHexInputCss; }
190
352
  }, [1, "calcite-color-picker-hex-input", {
191
- "hexLabel": [1, "hex-label"],
192
353
  "allowEmpty": [4, "allow-empty"],
354
+ "alphaChannel": [4, "alpha-channel"],
355
+ "hexLabel": [1, "hex-label"],
356
+ "messages": [16],
357
+ "numberingSystem": [1, "numbering-system"],
193
358
  "scale": [513],
194
359
  "value": [1537],
195
- "numberingSystem": [1, "numbering-system"],
196
360
  "internalColor": [32],
197
361
  "setFocus": [64]
198
- }, [[2, "keydown", "onInputKeyDown"]]]);
362
+ }]);
199
363
  function defineCustomElement() {
200
364
  if (typeof customElements === "undefined") {
201
365
  return;
202
366
  }
203
- const components = ["calcite-color-picker-hex-input", "calcite-color-picker-swatch", "calcite-icon", "calcite-input", "calcite-progress"];
367
+ const components = ["calcite-color-picker-hex-input", "calcite-icon", "calcite-input", "calcite-input-number", "calcite-progress"];
204
368
  components.forEach(tagName => { switch (tagName) {
205
369
  case "calcite-color-picker-hex-input":
206
370
  if (!customElements.get(tagName)) {
207
371
  customElements.define(tagName, ColorPickerHexInput);
208
372
  }
209
373
  break;
210
- case "calcite-color-picker-swatch":
374
+ case "calcite-icon":
211
375
  if (!customElements.get(tagName)) {
212
376
  defineCustomElement$4();
213
377
  }
214
378
  break;
215
- case "calcite-icon":
379
+ case "calcite-input":
216
380
  if (!customElements.get(tagName)) {
217
381
  defineCustomElement$3();
218
382
  }
219
383
  break;
220
- case "calcite-input":
384
+ case "calcite-input-number":
221
385
  if (!customElements.get(tagName)) {
222
386
  defineCustomElement$2();
223
387
  }
@@ -231,4 +395,4 @@ function defineCustomElement() {
231
395
  }
232
396
  defineCustomElement();
233
397
 
234
- export { ColorPickerHexInput as C, defineCustomElement as d };
398
+ export { CSS$1 as C, DEFAULT_COLOR$1 as D, HSV_LIMITS as H, OPACITY_LIMITS as O, RGB_LIMITS as R, DIMENSIONS as a, DEFAULT_STORAGE_KEY_PREFIX as b, ColorPickerHexInput as c, defineCustomElement as d };