@esri/calcite-components 1.4.0-next.5 → 1.4.0-next.7

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 (713) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +2 -2
  3. package/dist/calcite/{p-4f5e6c21.js → p-010e90fc.js} +1 -1
  4. package/dist/calcite/{p-4ba85479.entry.js → p-022b463d.entry.js} +2 -2
  5. package/dist/calcite/{p-ef5d7b3e.js → p-040b0aac.js} +1 -1
  6. package/dist/calcite/p-049bc3c1.entry.js +6 -0
  7. package/dist/calcite/p-07f56efe.entry.js +6 -0
  8. package/dist/calcite/{p-8da41040.js → p-08b9b673.js} +1 -1
  9. package/dist/calcite/{p-c317fcde.entry.js → p-0a9a5b0f.entry.js} +2 -2
  10. package/dist/calcite/p-0b8cadf4.entry.js +6 -0
  11. package/dist/calcite/{p-5635a90f.entry.js → p-0d2823c2.entry.js} +2 -2
  12. package/dist/calcite/{p-6a4f4075.entry.js → p-0ec4ccbd.entry.js} +2 -2
  13. package/dist/calcite/{p-8bad2ca2.entry.js → p-0fa679c7.entry.js} +2 -2
  14. package/dist/calcite/{p-6f142c94.entry.js → p-0fc95de5.entry.js} +2 -2
  15. package/dist/calcite/{p-007591b0.entry.js → p-138e015a.entry.js} +2 -2
  16. package/dist/calcite/p-167e256a.entry.js +6 -0
  17. package/dist/calcite/{p-de962734.entry.js → p-18d60b13.entry.js} +2 -2
  18. package/dist/calcite/{p-2ea3e0f8.entry.js → p-1a34083a.entry.js} +2 -2
  19. package/dist/calcite/{p-845f7224.entry.js → p-1b10ccc2.entry.js} +2 -2
  20. package/dist/calcite/p-1c72c9ec.entry.js +6 -0
  21. package/dist/calcite/{p-08729579.js → p-1d2b5776.js} +2 -2
  22. package/dist/calcite/{p-5aae4da6.entry.js → p-23292162.entry.js} +2 -2
  23. package/dist/calcite/{p-4d2c5072.entry.js → p-26a14afd.entry.js} +2 -2
  24. package/dist/calcite/{p-07511c24.js → p-285f16a5.js} +1 -1
  25. package/dist/calcite/{p-9e5ecd8f.entry.js → p-28615250.entry.js} +2 -2
  26. package/dist/calcite/{p-28a2dd16.entry.js → p-2a3a2add.entry.js} +2 -2
  27. package/dist/calcite/{p-2d58ccf9.entry.js → p-3057efa7.entry.js} +2 -2
  28. package/dist/calcite/{p-0e16a6f5.entry.js → p-31ec39d7.entry.js} +2 -2
  29. package/dist/calcite/{p-3bc58ca6.js → p-33886fed.js} +1 -1
  30. package/dist/calcite/p-3401a9d5.js +6 -0
  31. package/dist/calcite/{p-a5d7eac9.entry.js → p-3e1547ee.entry.js} +2 -2
  32. package/dist/calcite/p-40e30e60.entry.js +6 -0
  33. package/dist/calcite/{p-4dad7876.entry.js → p-4782f04e.entry.js} +2 -2
  34. package/dist/calcite/{p-390024af.entry.js → p-489e3960.entry.js} +2 -2
  35. package/dist/calcite/{p-3967a41b.entry.js → p-498f4e75.entry.js} +2 -2
  36. package/dist/calcite/p-4ca219cb.js +6 -0
  37. package/dist/calcite/{p-d46471f4.js → p-4ce3f0cc.js} +2 -2
  38. package/dist/calcite/{p-ad8ccffe.entry.js → p-51d0f35f.entry.js} +2 -2
  39. package/dist/calcite/{p-f8548479.entry.js → p-53d77573.entry.js} +2 -2
  40. package/dist/calcite/{p-da6cd4a3.entry.js → p-546047ac.entry.js} +2 -2
  41. package/dist/calcite/{p-bfb669c3.entry.js → p-55c6d5ef.entry.js} +2 -2
  42. package/dist/calcite/{p-90ac4488.js → p-56f76acb.js} +2 -2
  43. package/dist/calcite/{p-fb70cd21.entry.js → p-599c21a0.entry.js} +2 -2
  44. package/dist/calcite/{p-fffffb02.entry.js → p-5b473563.entry.js} +2 -2
  45. package/dist/calcite/p-5bae27a0.entry.js +6 -0
  46. package/dist/calcite/{p-afff3fca.entry.js → p-5d215531.entry.js} +2 -2
  47. package/dist/calcite/p-61e10cd6.js +6 -0
  48. package/dist/calcite/{p-e4e2ef16.entry.js → p-6430ae01.entry.js} +2 -2
  49. package/dist/calcite/{p-66974d66.js → p-64f6ce40.js} +1 -1
  50. package/dist/calcite/{p-b95ea253.entry.js → p-6642106e.entry.js} +2 -2
  51. package/dist/calcite/{p-bbe1dcd7.js → p-6736a1c8.js} +2 -2
  52. package/dist/calcite/{p-6cb562d2.js → p-6c0bfe2b.js} +1 -1
  53. package/dist/calcite/p-70cbe824.entry.js +6 -0
  54. package/dist/calcite/p-7272e447.entry.js +6 -0
  55. package/dist/calcite/{p-fa7cbd28.entry.js → p-72855c96.entry.js} +2 -2
  56. package/dist/calcite/{p-6162eb45.entry.js → p-74e68a45.entry.js} +2 -2
  57. package/dist/calcite/{p-3662475d.js → p-7620a6dc.js} +3 -3
  58. package/dist/calcite/{p-1990923c.entry.js → p-7f36e577.entry.js} +2 -2
  59. package/dist/calcite/{p-192eac45.js → p-8110a0aa.js} +1 -1
  60. package/dist/calcite/{p-90d6c7e7.entry.js → p-81ce6424.entry.js} +2 -2
  61. package/dist/calcite/{p-2f4db746.js → p-88150a71.js} +1 -1
  62. package/dist/calcite/{p-28d3450f.entry.js → p-898bcdc5.entry.js} +2 -2
  63. package/dist/calcite/{p-63044193.entry.js → p-8c344e6d.entry.js} +2 -2
  64. package/dist/calcite/{p-73115945.entry.js → p-9547760d.entry.js} +2 -2
  65. package/dist/calcite/{p-bcbbb815.entry.js → p-9590cf67.entry.js} +2 -2
  66. package/dist/calcite/{p-8930657f.js → p-9de2c114.js} +2 -2
  67. package/dist/calcite/{p-d7a5eecc.js → p-9f23571b.js} +2 -2
  68. package/dist/calcite/{p-91588dca.entry.js → p-a01669a2.entry.js} +2 -2
  69. package/dist/calcite/{p-d21cc90e.js → p-a0de8dfd.js} +2 -2
  70. package/dist/calcite/{p-1b457129.entry.js → p-a4a4af85.entry.js} +2 -2
  71. package/dist/calcite/{p-fc629722.js → p-a4d220af.js} +1 -1
  72. package/dist/calcite/{p-65e3cea1.js → p-a7ea5e08.js} +1 -1
  73. package/dist/calcite/{p-e733a25c.js → p-ac7ab3bc.js} +1 -1
  74. package/dist/calcite/{p-3109bb3b.entry.js → p-b30818cc.entry.js} +2 -2
  75. package/dist/calcite/{p-b369bc51.entry.js → p-b4cf4fb1.entry.js} +2 -2
  76. package/dist/calcite/{p-8a9cd7b3.entry.js → p-b9ea3e0b.entry.js} +2 -2
  77. package/dist/calcite/p-bbdbf9c0.entry.js +6 -0
  78. package/dist/calcite/{p-f0068a81.js → p-bd22a68d.js} +2 -2
  79. package/dist/calcite/p-be9d3f6c.js +6 -0
  80. package/dist/calcite/{p-77272332.entry.js → p-c419c802.entry.js} +2 -2
  81. package/dist/calcite/{p-3e7998b2.entry.js → p-c618c39c.entry.js} +2 -2
  82. package/dist/calcite/p-cbaa4869.entry.js +6 -0
  83. package/dist/calcite/{p-f584280e.entry.js → p-cce18d43.entry.js} +2 -2
  84. package/dist/calcite/{p-d483fd2b.js → p-d0ce0619.js} +1 -1
  85. package/dist/calcite/{p-7c541e4a.js → p-d2c4f9fa.js} +2 -2
  86. package/dist/calcite/{p-e7f26d13.entry.js → p-d6141ae1.entry.js} +2 -2
  87. package/dist/calcite/{p-9deaa925.entry.js → p-d6bd6b2f.entry.js} +2 -2
  88. package/dist/calcite/{p-6de0b90c.js → p-de4a323b.js} +2 -2
  89. package/dist/calcite/{p-46c91095.js → p-deb7e311.js} +2 -2
  90. package/dist/calcite/p-e0a8dce0.entry.js +6 -0
  91. package/dist/calcite/{p-69688697.entry.js → p-e0f5bda5.entry.js} +2 -2
  92. package/dist/calcite/{p-2e559754.entry.js → p-e1da1d05.entry.js} +2 -2
  93. package/dist/calcite/{p-15999e7b.js → p-e2329cc3.js} +2 -2
  94. package/dist/calcite/{p-bd470121.js → p-ee1c4ef3.js} +1 -1
  95. package/dist/calcite/{p-d748e9af.entry.js → p-eee7ca58.entry.js} +2 -2
  96. package/dist/calcite/p-f025faa7.js +6 -0
  97. package/dist/calcite/{p-338bd804.js → p-f3646d69.js} +1 -1
  98. package/dist/calcite/{p-e5976c70.js → p-ff342ff3.js} +1 -1
  99. package/dist/cjs/{ExpandToggle-9ace1f7f.js → ExpandToggle-843202ab.js} +5 -5
  100. package/dist/cjs/{FloatingArrow-601ed84e.js → FloatingArrow-63ebb862.js} +2 -2
  101. package/dist/cjs/{Heading-3a3631f9.js → Heading-52698bda.js} +2 -2
  102. package/dist/cjs/{app-globals-096a1b41.js → app-globals-a5281951.js} +2 -2
  103. package/dist/cjs/{array-86ab4108.js → array-7cb19871.js} +1 -1
  104. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  105. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  106. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  107. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  108. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  109. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  110. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  111. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  112. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  113. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  114. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  115. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  116. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  117. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  118. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +585 -339
  119. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  120. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  121. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  122. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  123. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  124. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  125. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  126. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  127. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  128. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  129. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  130. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  131. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  132. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  133. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  134. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +14 -14
  135. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  136. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  137. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  138. package/dist/cjs/calcite-list_3.cjs.entry.js +50 -40
  139. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  140. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  141. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  142. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  143. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  144. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  145. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  146. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  147. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  148. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  149. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  150. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  151. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  152. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  153. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  154. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  155. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  156. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  157. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  158. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  159. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  160. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  161. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  162. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  163. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  164. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  165. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  166. package/dist/cjs/calcite.cjs.js +5 -5
  167. package/dist/cjs/{composed-offset-position.esm-c2a90b43.js → composed-offset-position.esm-32cef964.js} +1 -1
  168. package/dist/cjs/{conditionalSlot-88fb38cc.js → conditionalSlot-a36ded86.js} +3 -3
  169. package/dist/cjs/{debounce-16574b24.js → debounce-b3ebca79.js} +1 -1
  170. package/dist/cjs/{dom-ecacd5bf.js → dom-21aaf3f4.js} +3 -3
  171. package/dist/cjs/{filter-0cad4ef9.js → filter-7b1ac325.js} +2 -2
  172. package/dist/cjs/{floating-ui-43a0665a.js → floating-ui-4bb47c90.js} +71 -65
  173. package/dist/cjs/{focusTrapComponent-f6248c95.js → focusTrapComponent-4fc83c52.js} +2 -2
  174. package/dist/cjs/{form-b8173c62.js → form-9cc29ef1.js} +3 -3
  175. package/dist/cjs/{guid-0f40f4b7.js → guid-43b37504.js} +1 -1
  176. package/dist/cjs/{index-4f672718.js → index-d0394290.js} +1 -1
  177. package/dist/cjs/index.cjs.js +2 -2
  178. package/dist/cjs/{interactive-10e3fc78.js → interactive-ba615a5f.js} +1 -1
  179. package/dist/cjs/{key-ae6bcfdf.js → key-88971126.js} +1 -1
  180. package/dist/cjs/{label-1789923c.js → label-a63005cd.js} +2 -2
  181. package/dist/cjs/{loadable-0be7f59e.js → loadable-c2a58fbe.js} +1 -1
  182. package/dist/cjs/loader.cjs.js +5 -5
  183. package/dist/cjs/{locale-d8b5c255.js → locale-01665a55.js} +4 -4
  184. package/dist/cjs/{math-342fe578.js → math-b78a1af1.js} +1 -1
  185. package/dist/cjs/{observers-ac0d13c9.js → observers-f592bc28.js} +1 -1
  186. package/dist/cjs/{openCloseComponent-6b722fcd.js → openCloseComponent-5b97ba86.js} +2 -2
  187. package/dist/cjs/{resources-dc6c04d7.js → resources-a0100bbf.js} +1 -1
  188. package/dist/cjs/{resources-eb548a75.js → resources-a4a25b5c.js} +1 -1
  189. package/dist/cjs/{resources-e4718f51.js → resources-b46063a7.js} +1 -1
  190. package/dist/cjs/{resources-7f7f7aa5.js → resources-cd5d5858.js} +5 -5
  191. package/dist/cjs/{resources-b995b60c.js → resources-d974ce14.js} +1 -1
  192. package/dist/cjs/{resources-236ea1ee.js → resources-f1c8c5f7.js} +1 -1
  193. package/dist/cjs/{sortable.esm-130e0d23.js → sortable.esm-3077a5f4.js} +1 -1
  194. package/dist/cjs/{t9n-aa500fb7.js → t9n-14a96fb0.js} +3 -3
  195. package/dist/cjs/{throttle-adbd7cba.js → throttle-ac1f5cd2.js} +2 -2
  196. package/dist/cjs/{utils-e51200ba.js → utils-1af6a566.js} +3 -3
  197. package/dist/cjs/utils-4f112a5e.js +213 -0
  198. package/dist/collection/components/accordion/accordion.js +1 -1
  199. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  200. package/dist/collection/components/accordion-item/resources.js +1 -1
  201. package/dist/collection/components/action/action.js +1 -1
  202. package/dist/collection/components/action/resources.js +1 -1
  203. package/dist/collection/components/action-bar/action-bar.js +1 -1
  204. package/dist/collection/components/action-bar/resources.js +1 -1
  205. package/dist/collection/components/action-bar/utils.js +1 -1
  206. package/dist/collection/components/action-group/action-group.js +1 -1
  207. package/dist/collection/components/action-group/resources.js +1 -1
  208. package/dist/collection/components/action-menu/action-menu.js +1 -1
  209. package/dist/collection/components/action-menu/resources.js +1 -1
  210. package/dist/collection/components/action-pad/action-pad.js +1 -1
  211. package/dist/collection/components/action-pad/resources.js +1 -1
  212. package/dist/collection/components/alert/alert.js +1 -1
  213. package/dist/collection/components/alert/resources.js +1 -1
  214. package/dist/collection/components/avatar/avatar.js +1 -1
  215. package/dist/collection/components/avatar/utils.js +1 -1
  216. package/dist/collection/components/block/block.js +1 -1
  217. package/dist/collection/components/block/resources.js +1 -1
  218. package/dist/collection/components/block-section/block-section.js +1 -1
  219. package/dist/collection/components/block-section/resources.js +1 -1
  220. package/dist/collection/components/button/button.js +1 -1
  221. package/dist/collection/components/button/resources.js +1 -1
  222. package/dist/collection/components/card/card.js +1 -1
  223. package/dist/collection/components/card/resources.js +1 -1
  224. package/dist/collection/components/checkbox/checkbox.js +1 -1
  225. package/dist/collection/components/chip/chip.js +1 -1
  226. package/dist/collection/components/chip/resources.js +1 -1
  227. package/dist/collection/components/chip-group/chip-group.js +1 -1
  228. package/dist/collection/components/color-picker/color-picker.css +59 -52
  229. package/dist/collection/components/color-picker/color-picker.js +448 -233
  230. package/dist/collection/components/color-picker/resources.js +37 -27
  231. package/dist/collection/components/color-picker/utils.js +116 -30
  232. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +19 -16
  233. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +225 -118
  234. package/dist/collection/components/color-picker-hex-input/resources.js +3 -3
  235. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +10 -6
  236. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +34 -7
  237. package/dist/collection/components/color-picker-swatch/resources.js +8 -2
  238. package/dist/collection/components/combobox/combobox.js +1 -1
  239. package/dist/collection/components/combobox/resources.js +1 -1
  240. package/dist/collection/components/combobox/utils.js +1 -1
  241. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  242. package/dist/collection/components/combobox-item/resources.js +1 -1
  243. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  244. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  245. package/dist/collection/components/date-picker/date-picker.js +1 -1
  246. package/dist/collection/components/date-picker/resources.js +1 -1
  247. package/dist/collection/components/date-picker/utils.js +1 -1
  248. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  249. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  250. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  251. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  252. package/dist/collection/components/dropdown/dropdown.js +1 -1
  253. package/dist/collection/components/dropdown/resources.js +1 -1
  254. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  255. package/dist/collection/components/dropdown-group/resources.js +1 -1
  256. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  257. package/dist/collection/components/dropdown-item/resources.js +1 -1
  258. package/dist/collection/components/fab/fab.js +1 -1
  259. package/dist/collection/components/fab/resources.js +1 -1
  260. package/dist/collection/components/filter/filter.js +1 -1
  261. package/dist/collection/components/filter/resources.js +1 -1
  262. package/dist/collection/components/flow/flow.js +1 -1
  263. package/dist/collection/components/flow/resources.js +1 -1
  264. package/dist/collection/components/flow-item/flow-item.css +12 -0
  265. package/dist/collection/components/flow-item/flow-item.js +2 -2
  266. package/dist/collection/components/flow-item/resources.js +1 -1
  267. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  268. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  269. package/dist/collection/components/functional/Heading.js +1 -1
  270. package/dist/collection/components/graph/graph.js +1 -1
  271. package/dist/collection/components/graph/util.js +1 -1
  272. package/dist/collection/components/handle/handle.js +1 -1
  273. package/dist/collection/components/handle/resources.js +1 -1
  274. package/dist/collection/components/icon/icon.js +1 -1
  275. package/dist/collection/components/icon/resources.js +1 -1
  276. package/dist/collection/components/icon/utils.js +1 -1
  277. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  278. package/dist/collection/components/inline-editable/resources.js +1 -1
  279. package/dist/collection/components/input/input.js +1 -1
  280. package/dist/collection/components/input/resources.js +1 -1
  281. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  282. package/dist/collection/components/input-date-picker/resources.js +1 -1
  283. package/dist/collection/components/input-message/input-message.js +1 -1
  284. package/dist/collection/components/input-message/interfaces.js +1 -1
  285. package/dist/collection/components/input-number/input-number.js +1 -1
  286. package/dist/collection/components/input-number/resources.js +1 -1
  287. package/dist/collection/components/input-text/input-text.js +1 -1
  288. package/dist/collection/components/input-text/resources.js +1 -1
  289. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  290. package/dist/collection/components/input-time-picker/resources.js +1 -1
  291. package/dist/collection/components/label/label.js +1 -1
  292. package/dist/collection/components/label/resources.js +1 -1
  293. package/dist/collection/components/link/link.js +1 -1
  294. package/dist/collection/components/list/list.js +60 -30
  295. package/dist/collection/components/list/resources.js +2 -2
  296. package/dist/collection/components/list-item/list-item.js +1 -1
  297. package/dist/collection/components/list-item/resources.js +1 -1
  298. package/dist/collection/components/list-item/utils.js +1 -1
  299. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  300. package/dist/collection/components/list-item-group/resources.js +1 -1
  301. package/dist/collection/components/loader/loader.js +1 -1
  302. package/dist/collection/components/modal/modal.js +1 -1
  303. package/dist/collection/components/modal/resources.js +1 -1
  304. package/dist/collection/components/notice/notice.js +1 -1
  305. package/dist/collection/components/notice/resources.js +1 -1
  306. package/dist/collection/components/option/option.js +1 -1
  307. package/dist/collection/components/option-group/option-group.js +1 -1
  308. package/dist/collection/components/pagination/pagination.js +1 -1
  309. package/dist/collection/components/pagination/resources.js +1 -1
  310. package/dist/collection/components/panel/panel.css +9 -1
  311. package/dist/collection/components/panel/panel.js +2 -2
  312. package/dist/collection/components/panel/resources.js +1 -1
  313. package/dist/collection/components/pick-list/pick-list.js +1 -1
  314. package/dist/collection/components/pick-list/resources.js +1 -1
  315. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  316. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  317. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  318. package/dist/collection/components/pick-list-group/resources.js +1 -1
  319. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  320. package/dist/collection/components/pick-list-item/resources.js +1 -1
  321. package/dist/collection/components/popover/PopoverManager.js +1 -1
  322. package/dist/collection/components/popover/popover.js +1 -1
  323. package/dist/collection/components/popover/resources.js +1 -1
  324. package/dist/collection/components/progress/progress.js +1 -1
  325. package/dist/collection/components/radio-button/radio-button.js +1 -1
  326. package/dist/collection/components/radio-button/resources.js +1 -1
  327. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  328. package/dist/collection/components/rating/function/star.js +1 -1
  329. package/dist/collection/components/rating/rating.js +1 -1
  330. package/dist/collection/components/resources.js +1 -1
  331. package/dist/collection/components/scrim/resources.js +1 -1
  332. package/dist/collection/components/scrim/scrim.js +1 -1
  333. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  334. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  335. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  336. package/dist/collection/components/select/resources.js +1 -1
  337. package/dist/collection/components/select/select.js +1 -1
  338. package/dist/collection/components/shell/resources.js +1 -1
  339. package/dist/collection/components/shell/shell.js +1 -1
  340. package/dist/collection/components/shell-center-row/resources.js +1 -1
  341. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  342. package/dist/collection/components/shell-panel/resources.js +1 -1
  343. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  344. package/dist/collection/components/slider/resources.js +1 -1
  345. package/dist/collection/components/slider/slider.js +1 -1
  346. package/dist/collection/components/sortable-list/resources.js +1 -1
  347. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  348. package/dist/collection/components/split-button/resources.js +1 -1
  349. package/dist/collection/components/split-button/split-button.js +1 -1
  350. package/dist/collection/components/stepper/stepper.js +1 -1
  351. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  352. package/dist/collection/components/switch/switch.js +1 -1
  353. package/dist/collection/components/tab/tab.js +1 -1
  354. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  355. package/dist/collection/components/tab-title/resources.js +1 -1
  356. package/dist/collection/components/tab-title/tab-title.js +1 -1
  357. package/dist/collection/components/tabs/resources.js +1 -1
  358. package/dist/collection/components/tabs/tabs.js +1 -1
  359. package/dist/collection/components/text-area/resources.js +1 -1
  360. package/dist/collection/components/text-area/text-area.js +1 -1
  361. package/dist/collection/components/tile/resources.js +1 -1
  362. package/dist/collection/components/tile/tile.js +1 -1
  363. package/dist/collection/components/tile-select/resources.js +1 -1
  364. package/dist/collection/components/tile-select/tile-select.js +1 -1
  365. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  366. package/dist/collection/components/time-picker/resources.js +1 -1
  367. package/dist/collection/components/time-picker/time-picker.js +1 -1
  368. package/dist/collection/components/tip/resources.js +1 -1
  369. package/dist/collection/components/tip/tip.js +1 -1
  370. package/dist/collection/components/tip-group/tip-group.js +1 -1
  371. package/dist/collection/components/tip-manager/resources.js +1 -1
  372. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  373. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  374. package/dist/collection/components/tooltip/resources.js +1 -1
  375. package/dist/collection/components/tooltip/tooltip.js +1 -1
  376. package/dist/collection/components/tooltip/utils.js +1 -1
  377. package/dist/collection/components/tree/tree.js +1 -1
  378. package/dist/collection/components/tree/utils.js +1 -1
  379. package/dist/collection/components/tree-item/resources.js +1 -1
  380. package/dist/collection/components/tree-item/tree-item.js +1 -1
  381. package/dist/collection/components/value-list/resources.js +1 -1
  382. package/dist/collection/components/value-list/utils.js +1 -1
  383. package/dist/collection/components/value-list/value-list.js +1 -1
  384. package/dist/collection/components/value-list-item/resources.js +1 -1
  385. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  386. package/dist/collection/index.js +1 -1
  387. package/dist/collection/utils/array.js +1 -1
  388. package/dist/collection/utils/conditionalSlot.js +1 -1
  389. package/dist/collection/utils/config.js +1 -1
  390. package/dist/collection/utils/date.js +1 -1
  391. package/dist/collection/utils/dom.js +1 -1
  392. package/dist/collection/utils/filter.js +1 -1
  393. package/dist/collection/utils/floating-ui.js +1 -1
  394. package/dist/collection/utils/focusTrapComponent.js +1 -1
  395. package/dist/collection/utils/form.js +1 -1
  396. package/dist/collection/utils/globalAttributes.js +1 -1
  397. package/dist/collection/utils/globalScript.js +1 -1
  398. package/dist/collection/utils/guid.js +1 -1
  399. package/dist/collection/utils/interactive.js +1 -1
  400. package/dist/collection/utils/key.js +1 -1
  401. package/dist/collection/utils/label.js +1 -1
  402. package/dist/collection/utils/loadable.js +1 -1
  403. package/dist/collection/utils/locale.js +1 -1
  404. package/dist/collection/utils/math.js +1 -1
  405. package/dist/collection/utils/mode.js +1 -1
  406. package/dist/collection/utils/number.js +1 -1
  407. package/dist/collection/utils/observers.js +1 -1
  408. package/dist/collection/utils/openCloseComponent.js +1 -1
  409. package/dist/collection/utils/resources.js +1 -1
  410. package/dist/collection/utils/t9n.js +1 -1
  411. package/dist/collection/utils/time.js +1 -1
  412. package/dist/components/ExpandToggle.js +1 -1
  413. package/dist/components/FloatingArrow.js +1 -1
  414. package/dist/components/Heading.js +1 -1
  415. package/dist/components/action-group.js +1 -1
  416. package/dist/components/action-menu.js +1 -1
  417. package/dist/components/action.js +1 -1
  418. package/dist/components/array.js +1 -1
  419. package/dist/components/button.js +1 -1
  420. package/dist/components/calcite-accordion-item.js +1 -1
  421. package/dist/components/calcite-accordion.js +1 -1
  422. package/dist/components/calcite-action-bar.js +1 -1
  423. package/dist/components/calcite-action-group.js +1 -1
  424. package/dist/components/calcite-action-menu.js +1 -1
  425. package/dist/components/calcite-action-pad.js +1 -1
  426. package/dist/components/calcite-action.js +1 -1
  427. package/dist/components/calcite-alert.js +1 -1
  428. package/dist/components/calcite-avatar.js +1 -1
  429. package/dist/components/calcite-block-section.js +1 -1
  430. package/dist/components/calcite-block.js +1 -1
  431. package/dist/components/calcite-button.js +1 -1
  432. package/dist/components/calcite-card.js +1 -1
  433. package/dist/components/calcite-checkbox.js +1 -1
  434. package/dist/components/calcite-chip-group.js +1 -1
  435. package/dist/components/calcite-chip.js +1 -1
  436. package/dist/components/calcite-color-picker-hex-input.js +2 -2
  437. package/dist/components/calcite-color-picker-swatch.js +1 -1
  438. package/dist/components/calcite-color-picker.js +377 -314
  439. package/dist/components/calcite-combobox-item-group.js +1 -1
  440. package/dist/components/calcite-combobox-item.js +1 -1
  441. package/dist/components/calcite-combobox.js +1 -1
  442. package/dist/components/calcite-date-picker-day.js +1 -1
  443. package/dist/components/calcite-date-picker-month-header.js +1 -1
  444. package/dist/components/calcite-date-picker-month.js +1 -1
  445. package/dist/components/calcite-date-picker.js +1 -1
  446. package/dist/components/calcite-dropdown-group.js +1 -1
  447. package/dist/components/calcite-dropdown-item.js +1 -1
  448. package/dist/components/calcite-dropdown.js +1 -1
  449. package/dist/components/calcite-fab.js +1 -1
  450. package/dist/components/calcite-filter.js +1 -1
  451. package/dist/components/calcite-flow-item.js +2 -2
  452. package/dist/components/calcite-flow.js +1 -1
  453. package/dist/components/calcite-graph.js +1 -1
  454. package/dist/components/calcite-handle.js +1 -1
  455. package/dist/components/calcite-icon.js +1 -1
  456. package/dist/components/calcite-inline-editable.js +1 -1
  457. package/dist/components/calcite-input-date-picker.js +1 -1
  458. package/dist/components/calcite-input-message.js +1 -1
  459. package/dist/components/calcite-input-number.js +2 -617
  460. package/dist/components/calcite-input-text.js +1 -1
  461. package/dist/components/calcite-input-time-picker.js +1 -1
  462. package/dist/components/calcite-input.js +1 -1
  463. package/dist/components/calcite-label.js +1 -1
  464. package/dist/components/calcite-link.js +1 -1
  465. package/dist/components/calcite-list-item-group.js +1 -1
  466. package/dist/components/calcite-list-item.js +1 -1
  467. package/dist/components/calcite-list.js +40 -30
  468. package/dist/components/calcite-loader.js +1 -1
  469. package/dist/components/calcite-modal.js +1 -1
  470. package/dist/components/calcite-notice.js +1 -1
  471. package/dist/components/calcite-option-group.js +1 -1
  472. package/dist/components/calcite-option.js +1 -1
  473. package/dist/components/calcite-pagination.js +1 -1
  474. package/dist/components/calcite-panel.js +1 -1
  475. package/dist/components/calcite-pick-list-group.js +1 -1
  476. package/dist/components/calcite-pick-list-item.js +1 -1
  477. package/dist/components/calcite-pick-list.js +1 -1
  478. package/dist/components/calcite-popover.js +1 -1
  479. package/dist/components/calcite-progress.js +1 -1
  480. package/dist/components/calcite-radio-button-group.js +1 -1
  481. package/dist/components/calcite-radio-button.js +1 -1
  482. package/dist/components/calcite-rating.js +1 -1
  483. package/dist/components/calcite-scrim.js +1 -1
  484. package/dist/components/calcite-segmented-control-item.js +1 -1
  485. package/dist/components/calcite-segmented-control.js +1 -1
  486. package/dist/components/calcite-select.js +1 -1
  487. package/dist/components/calcite-shell-center-row.js +1 -1
  488. package/dist/components/calcite-shell-panel.js +1 -1
  489. package/dist/components/calcite-shell.js +1 -1
  490. package/dist/components/calcite-slider.js +1 -1
  491. package/dist/components/calcite-sortable-list.js +1 -1
  492. package/dist/components/calcite-split-button.js +1 -1
  493. package/dist/components/calcite-stepper-item.js +1 -1
  494. package/dist/components/calcite-stepper.js +1 -1
  495. package/dist/components/calcite-switch.js +1 -1
  496. package/dist/components/calcite-tab-nav.js +1 -1
  497. package/dist/components/calcite-tab-title.js +1 -1
  498. package/dist/components/calcite-tab.js +1 -1
  499. package/dist/components/calcite-tabs.js +1 -1
  500. package/dist/components/calcite-text-area.js +1 -1
  501. package/dist/components/calcite-tile-select-group.js +1 -1
  502. package/dist/components/calcite-tile-select.js +1 -1
  503. package/dist/components/calcite-tile.js +1 -1
  504. package/dist/components/calcite-time-picker.js +1 -1
  505. package/dist/components/calcite-tip-group.js +1 -1
  506. package/dist/components/calcite-tip-manager.js +1 -1
  507. package/dist/components/calcite-tip.js +1 -1
  508. package/dist/components/calcite-tooltip.js +1 -1
  509. package/dist/components/calcite-tree-item.js +1 -1
  510. package/dist/components/calcite-tree.js +1 -1
  511. package/dist/components/calcite-value-list-item.js +1 -1
  512. package/dist/components/calcite-value-list.js +1 -1
  513. package/dist/components/checkbox.js +1 -1
  514. package/dist/components/chip.js +1 -1
  515. package/dist/components/color-picker-hex-input.js +252 -88
  516. package/dist/components/color-picker-swatch.js +42 -2118
  517. package/dist/components/composed-offset-position.esm.js +1 -1
  518. package/dist/components/conditionalSlot.js +1 -1
  519. package/dist/components/date-picker-day.js +1 -1
  520. package/dist/components/date-picker-month-header.js +1 -1
  521. package/dist/components/date-picker-month.js +1 -1
  522. package/dist/components/date-picker.js +2 -2
  523. package/dist/components/date.js +1 -1
  524. package/dist/components/debounce.js +1 -1
  525. package/dist/components/dom.js +1 -1
  526. package/dist/components/dropdown.js +1 -1
  527. package/dist/components/filter.js +1 -1
  528. package/dist/components/filter2.js +1 -1
  529. package/dist/components/floating-ui.js +68 -62
  530. package/dist/components/focusTrapComponent.js +1 -1
  531. package/dist/components/form.js +1 -1
  532. package/dist/components/graph.js +1 -1
  533. package/dist/components/guid.js +1 -1
  534. package/dist/components/handle.js +1 -1
  535. package/dist/components/icon.js +1 -1
  536. package/dist/components/index.js +1 -1
  537. package/dist/components/index2.js +2116 -0
  538. package/dist/components/input-number.js +623 -0
  539. package/dist/components/input.js +2 -2
  540. package/dist/components/interactive.js +1 -1
  541. package/dist/components/key.js +1 -1
  542. package/dist/components/label.js +1 -1
  543. package/dist/components/label2.js +1 -1
  544. package/dist/components/link.js +1 -1
  545. package/dist/components/loadable.js +1 -1
  546. package/dist/components/loader.js +1 -1
  547. package/dist/components/locale.js +2 -2
  548. package/dist/components/math.js +1 -1
  549. package/dist/components/observers.js +1 -1
  550. package/dist/components/openCloseComponent.js +1 -1
  551. package/dist/components/panel.js +2 -2
  552. package/dist/components/pick-list-item.js +1 -1
  553. package/dist/components/popover.js +1 -1
  554. package/dist/components/progress.js +1 -1
  555. package/dist/components/resources.js +1 -1
  556. package/dist/components/resources2.js +1 -1
  557. package/dist/components/resources3.js +1 -1
  558. package/dist/components/scrim.js +1 -1
  559. package/dist/components/shared-list-render.js +1 -1
  560. package/dist/components/sortable.esm.js +1 -1
  561. package/dist/components/switch.js +1 -1
  562. package/dist/components/t9n.js +1 -1
  563. package/dist/components/tab-nav.js +1 -1
  564. package/dist/components/tab-title.js +1 -1
  565. package/dist/components/tab.js +1 -1
  566. package/dist/components/tabs.js +1 -1
  567. package/dist/components/throttle.js +1 -1
  568. package/dist/components/tile.js +1 -1
  569. package/dist/components/time-picker.js +2 -2
  570. package/dist/components/tooltip.js +1 -1
  571. package/dist/components/utils.js +112 -31
  572. package/dist/components/utils2.js +1 -1
  573. package/dist/components/utils3.js +1 -1
  574. package/dist/esm/{ExpandToggle-44731758.js → ExpandToggle-c5f0fddb.js} +5 -5
  575. package/dist/esm/{FloatingArrow-03b56cd6.js → FloatingArrow-f3d3553d.js} +2 -2
  576. package/dist/esm/{Heading-6a521ea6.js → Heading-94ecceec.js} +2 -2
  577. package/dist/esm/{app-globals-d6b77dae.js → app-globals-16708176.js} +2 -2
  578. package/dist/esm/{array-413b0700.js → array-ebcf4eb4.js} +1 -1
  579. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  580. package/dist/esm/calcite-action-bar.entry.js +15 -15
  581. package/dist/esm/calcite-action-group.entry.js +13 -13
  582. package/dist/esm/calcite-action-menu.entry.js +9 -9
  583. package/dist/esm/calcite-action-pad.entry.js +14 -14
  584. package/dist/esm/calcite-action.entry.js +11 -11
  585. package/dist/esm/calcite-alert.entry.js +12 -12
  586. package/dist/esm/calcite-avatar.entry.js +6 -6
  587. package/dist/esm/calcite-block_2.entry.js +12 -12
  588. package/dist/esm/calcite-button.entry.js +13 -13
  589. package/dist/esm/calcite-card.entry.js +10 -10
  590. package/dist/esm/calcite-checkbox.entry.js +10 -10
  591. package/dist/esm/calcite-chip-group.entry.js +8 -8
  592. package/dist/esm/calcite-chip.entry.js +12 -12
  593. package/dist/esm/calcite-color-picker_3.entry.js +585 -339
  594. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  595. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  596. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  597. package/dist/esm/calcite-fab.entry.js +7 -7
  598. package/dist/esm/calcite-filter.entry.js +13 -13
  599. package/dist/esm/calcite-flow-item.entry.js +13 -13
  600. package/dist/esm/calcite-flow.entry.js +3 -3
  601. package/dist/esm/calcite-graph_2.entry.js +13 -13
  602. package/dist/esm/calcite-handle.entry.js +10 -10
  603. package/dist/esm/calcite-icon.entry.js +6 -6
  604. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  605. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  606. package/dist/esm/calcite-input-message.entry.js +5 -5
  607. package/dist/esm/calcite-input-number.entry.js +13 -13
  608. package/dist/esm/calcite-input-text.entry.js +13 -13
  609. package/dist/esm/calcite-input-time-picker_2.entry.js +14 -14
  610. package/dist/esm/calcite-input.entry.js +13 -13
  611. package/dist/esm/calcite-label.entry.js +6 -6
  612. package/dist/esm/calcite-link.entry.js +7 -7
  613. package/dist/esm/calcite-list_3.entry.js +50 -40
  614. package/dist/esm/calcite-loader.entry.js +3 -3
  615. package/dist/esm/calcite-modal.entry.js +13 -13
  616. package/dist/esm/calcite-notice.entry.js +12 -12
  617. package/dist/esm/calcite-option_3.entry.js +10 -10
  618. package/dist/esm/calcite-pagination.entry.js +10 -10
  619. package/dist/esm/calcite-panel.entry.js +15 -15
  620. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  621. package/dist/esm/calcite-popover.entry.js +16 -16
  622. package/dist/esm/calcite-progress.entry.js +2 -2
  623. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  624. package/dist/esm/calcite-radio-button.entry.js +10 -10
  625. package/dist/esm/calcite-rating.entry.js +13 -13
  626. package/dist/esm/calcite-scrim.entry.js +9 -9
  627. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  628. package/dist/esm/calcite-shell_3.entry.js +11 -11
  629. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  630. package/dist/esm/calcite-split-button.entry.js +4 -4
  631. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  632. package/dist/esm/calcite-switch.entry.js +10 -10
  633. package/dist/esm/calcite-tab_4.entry.js +7 -7
  634. package/dist/esm/calcite-text-area.entry.js +15 -15
  635. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  636. package/dist/esm/calcite-tile.entry.js +8 -8
  637. package/dist/esm/calcite-tip_3.entry.js +11 -11
  638. package/dist/esm/calcite-tooltip.entry.js +9 -9
  639. package/dist/esm/calcite-tree_2.entry.js +9 -9
  640. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  641. package/dist/esm/calcite.js +6 -6
  642. package/dist/esm/{composed-offset-position.esm-6cdde655.js → composed-offset-position.esm-2166efd1.js} +1 -1
  643. package/dist/esm/{conditionalSlot-2c9efd4d.js → conditionalSlot-abceadb0.js} +3 -3
  644. package/dist/esm/{debounce-2d6a0149.js → debounce-797b3e86.js} +1 -1
  645. package/dist/esm/{dom-423b852c.js → dom-c48a1b86.js} +3 -3
  646. package/dist/esm/{filter-de45be94.js → filter-8d6350fc.js} +2 -2
  647. package/dist/esm/{floating-ui-e67f4473.js → floating-ui-50197fc5.js} +71 -65
  648. package/dist/esm/{focusTrapComponent-c995cd90.js → focusTrapComponent-e588f549.js} +2 -2
  649. package/dist/esm/{form-e2c5bf23.js → form-5f4ee7a2.js} +3 -3
  650. package/dist/esm/{guid-3036ce51.js → guid-aef51297.js} +1 -1
  651. package/dist/esm/{index-86650d5a.js → index-217dadcd.js} +1 -1
  652. package/dist/esm/index.js +2 -2
  653. package/dist/esm/{interactive-47568053.js → interactive-3fff4fda.js} +1 -1
  654. package/dist/esm/{key-4161a3c1.js → key-8c1dc5de.js} +1 -1
  655. package/dist/esm/{label-26d6be6f.js → label-55aef7bc.js} +2 -2
  656. package/dist/esm/{loadable-3cf63846.js → loadable-8c1293f5.js} +1 -1
  657. package/dist/esm/loader.js +6 -6
  658. package/dist/esm/{locale-c07ca0c8.js → locale-5571dc0a.js} +4 -4
  659. package/dist/esm/{math-47943cf6.js → math-a0aa08d8.js} +1 -1
  660. package/dist/esm/{observers-28615899.js → observers-5d51590f.js} +1 -1
  661. package/dist/esm/{openCloseComponent-0d035d10.js → openCloseComponent-9ba2ae60.js} +2 -2
  662. package/dist/esm/{resources-c6c0f7e5.js → resources-1d0e42db.js} +1 -1
  663. package/dist/esm/{resources-b3aa225f.js → resources-7678f57a.js} +1 -1
  664. package/dist/esm/{resources-55a9df4d.js → resources-aa4e4c3c.js} +1 -1
  665. package/dist/esm/{resources-bea143a5.js → resources-d26eaa68.js} +5 -5
  666. package/dist/esm/{resources-cfdd5c95.js → resources-d4765ecc.js} +1 -1
  667. package/dist/esm/{resources-b133f9d1.js → resources-ef20e35f.js} +1 -1
  668. package/dist/esm/{sortable.esm-c2c7bd66.js → sortable.esm-89325ef7.js} +1 -1
  669. package/dist/esm/{t9n-70b30ed6.js → t9n-e678f4c8.js} +3 -3
  670. package/dist/esm/{throttle-4e0b6325.js → throttle-9b1221ed.js} +2 -2
  671. package/dist/esm/utils-c9e01e02.js +195 -0
  672. package/dist/esm/{utils-49cc87a4.js → utils-edb91a03.js} +3 -3
  673. package/dist/extras/docs-json.json +175 -37
  674. package/dist/extras/vscode-data.json +22 -2
  675. package/dist/loader/cdn.js +1 -1
  676. package/dist/loader/index.cjs.js +1 -1
  677. package/dist/loader/index.es2017.js +1 -1
  678. package/dist/loader/index.js +1 -1
  679. package/dist/types/components/color-picker/color-picker.d.ts +54 -23
  680. package/dist/types/components/color-picker/interfaces.d.ts +1 -0
  681. package/dist/types/components/color-picker/resources.d.ts +28 -18
  682. package/dist/types/components/color-picker/utils.d.ts +16 -7
  683. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +33 -16
  684. package/dist/types/components/color-picker-hex-input/resources.d.ts +2 -2
  685. package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +3 -2
  686. package/dist/types/components/color-picker-swatch/resources.d.ts +6 -1
  687. package/dist/types/components/flow-item/flow-item.d.ts +1 -1
  688. package/dist/types/components/list/list.d.ts +7 -2
  689. package/dist/types/components/list/resources.d.ts +1 -1
  690. package/dist/types/components/panel/panel.d.ts +1 -1
  691. package/dist/types/components.d.ts +62 -6
  692. package/dist/types/preact.d.ts +2 -1
  693. package/hydrate/index.js +800 -451
  694. package/package.json +3 -4
  695. package/dist/calcite/p-0b1443fd.entry.js +0 -6
  696. package/dist/calcite/p-1163bf7a.entry.js +0 -6
  697. package/dist/calcite/p-17bad11f.entry.js +0 -6
  698. package/dist/calcite/p-305b842d.js +0 -6
  699. package/dist/calcite/p-746ed68a.js +0 -6
  700. package/dist/calcite/p-777b6df8.js +0 -6
  701. package/dist/calcite/p-8441a7c3.entry.js +0 -6
  702. package/dist/calcite/p-8db4a274.js +0 -6
  703. package/dist/calcite/p-91dfe31f.entry.js +0 -6
  704. package/dist/calcite/p-96cdcb63.entry.js +0 -6
  705. package/dist/calcite/p-a147a2e6.entry.js +0 -6
  706. package/dist/calcite/p-b50b98d3.entry.js +0 -6
  707. package/dist/calcite/p-cc5724cc.entry.js +0 -6
  708. package/dist/calcite/p-d71fbdea.entry.js +0 -6
  709. package/dist/calcite/p-e291883a.entry.js +0 -6
  710. package/dist/calcite/p-ea4d15b2.js +0 -6
  711. package/dist/calcite/p-fd4b3d0c.entry.js +0 -6
  712. package/dist/cjs/utils-390db9d9.js +0 -124
  713. package/dist/esm/utils-a9865126.js +0 -114
@@ -1,34 +1,40 @@
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.5
4
+ * v1.4.0-next.7
5
5
  */
6
6
  import Color from "color";
7
7
  export const CSS = {
8
+ channel: "channel",
9
+ channels: "channels",
10
+ colorField: "color-field",
11
+ colorFieldScope: "scope--color-field",
12
+ colorMode: "color-mode",
13
+ colorModeContainer: "color-mode-container",
8
14
  container: "container",
15
+ control: "control",
16
+ controlAndScope: "control-and-scope",
9
17
  controlSection: "control-section",
10
- hexOptions: "color-hex-options",
11
- section: "section",
18
+ deleteColor: "delete-color",
12
19
  header: "header",
13
- control: "control",
14
- splitSection: "section--split",
15
- colorModeContainer: "color-mode-container",
16
- colorMode: "color-mode",
17
- channels: "channels",
18
- channel: "channel",
19
- savedColors: "saved-colors",
20
- savedColorsSection: "saved-colors-section",
20
+ hexAndChannelsGroup: "hex-and-channels-group",
21
+ hexOptions: "color-hex-options",
22
+ hueScope: "scope--hue",
23
+ hueSlider: "hue-slider",
24
+ opacityScope: "scope--opacity",
25
+ opacitySlider: "opacity-slider",
26
+ preview: "preview",
27
+ previewAndSliders: "preview-and-sliders",
21
28
  saveColor: "save-color",
22
- deleteColor: "delete-color",
29
+ savedColor: "saved-color",
30
+ savedColors: "saved-colors",
23
31
  savedColorsButtons: "saved-colors-buttons",
24
- headerHex: "header--hex",
25
- colorFieldAndSlider: "color-field-and-slider",
26
- colorFieldAndSliderInteractive: "color-field-and-slider--interactive",
27
- colorFieldAndSliderWrap: "color-field-and-slider-wrap",
32
+ savedColorsSection: "saved-colors-section",
28
33
  scope: "scope",
29
- hueScope: "scope--hue",
30
- colorFieldScope: "scope--color-field",
31
- savedColor: "saved-color"
34
+ section: "section",
35
+ slider: "slider",
36
+ sliders: "sliders",
37
+ splitSection: "section--split"
32
38
  };
33
39
  export const DEFAULT_COLOR = Color("#007AC2");
34
40
  export const DEFAULT_STORAGE_KEY_PREFIX = "calcite-color-";
@@ -42,24 +48,28 @@ export const HSV_LIMITS = {
42
48
  s: 100,
43
49
  v: 100
44
50
  };
51
+ export const OPACITY_LIMITS = {
52
+ min: 0,
53
+ max: 100
54
+ };
45
55
  export const DIMENSIONS = {
46
56
  s: {
47
57
  slider: {
48
- height: 10,
49
- width: 160
58
+ height: 12,
59
+ width: 104
50
60
  },
51
61
  colorField: {
52
62
  height: 80,
53
63
  width: 160
54
64
  },
55
65
  thumb: {
56
- radius: 8
66
+ radius: 10
57
67
  }
58
68
  },
59
69
  m: {
60
70
  slider: {
61
- height: 14,
62
- width: 272
71
+ height: 12,
72
+ width: 204
63
73
  },
64
74
  colorField: {
65
75
  height: 150,
@@ -71,15 +81,15 @@ export const DIMENSIONS = {
71
81
  },
72
82
  l: {
73
83
  slider: {
74
- height: 16,
75
- width: 464
84
+ height: 12,
85
+ width: 384
76
86
  },
77
87
  colorField: {
78
88
  height: 200,
79
89
  width: 464
80
90
  },
81
91
  thumb: {
82
- radius: 12
92
+ radius: 10
83
93
  }
84
94
  }
85
95
  };
@@ -1,52 +1,98 @@
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.5
4
+ * v1.4.0-next.7
5
5
  */
6
- export function rgbToHex(color) {
7
- const { r, g, b } = color;
8
- return `#${r.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${b
9
- .toString(16)
10
- .padStart(2, "0")}`.toLowerCase();
11
- }
12
6
  export const hexChar = /^[0-9A-F]$/i;
13
- const shortHandHex = /^#[0-9A-F]{3}$/i;
7
+ const shorthandHex = /^#[0-9A-F]{3}$/i;
14
8
  const longhandHex = /^#[0-9A-F]{6}$/i;
15
- export function isValidHex(hex) {
16
- return isShorthandHex(hex) || isLonghandHex(hex);
9
+ const shorthandHexWithAlpha = /^#[0-9A-F]{4}$/i;
10
+ const longhandHexWithAlpha = /^#[0-9A-F]{8}$/i;
11
+ export const alphaToOpacity = (alpha) => Number((alpha * 100).toFixed());
12
+ export const opacityToAlpha = (opacity) => Number((opacity / 100).toFixed(2));
13
+ export function isValidHex(hex, hasAlpha = false) {
14
+ return isShorthandHex(hex, hasAlpha) || isLonghandHex(hex, hasAlpha);
17
15
  }
18
- export function isShorthandHex(hex) {
19
- return hex && hex.length === 4 && shortHandHex.test(hex);
16
+ export function canConvertToHexa(hex) {
17
+ const validHex = isValidHex(hex, false);
18
+ const validHexa = isValidHex(hex, true);
19
+ return !validHexa && validHex;
20
+ }
21
+ function evaluateHex(hex, length, pattern) {
22
+ if (!hex) {
23
+ return false;
24
+ }
25
+ return hex.length === length && pattern.test(hex);
20
26
  }
21
- export function isLonghandHex(hex) {
22
- return hex && hex.length === 7 && longhandHex.test(hex);
27
+ export function isShorthandHex(hex, hasAlpha = false) {
28
+ const hexLength = hasAlpha ? 5 : 4;
29
+ const hexPattern = hasAlpha ? shorthandHexWithAlpha : shorthandHex;
30
+ return evaluateHex(hex, hexLength, hexPattern);
23
31
  }
24
- export function normalizeHex(hex) {
32
+ export function isLonghandHex(hex, hasAlpha = false) {
33
+ const hexLength = hasAlpha ? 9 : 7;
34
+ const hexPattern = hasAlpha ? longhandHexWithAlpha : longhandHex;
35
+ return evaluateHex(hex, hexLength, hexPattern);
36
+ }
37
+ export function normalizeHex(hex, hasAlpha = false, convertFromHexToHexa = false) {
25
38
  hex = hex.toLowerCase();
26
39
  if (!hex.startsWith("#")) {
27
40
  hex = `#${hex}`;
28
41
  }
29
- if (isShorthandHex(hex)) {
30
- return rgbToHex(hexToRGB(hex));
42
+ if (isShorthandHex(hex, hasAlpha)) {
43
+ return rgbToHex(hexToRGB(hex, hasAlpha));
44
+ }
45
+ if (hasAlpha && convertFromHexToHexa && isValidHex(hex, false /* we only care about RGB hex for conversion */)) {
46
+ const isShorthand = isShorthandHex(hex, false);
47
+ return rgbToHex(hexToRGB(`${hex}${isShorthand ? "f" : "ff"}`, true));
31
48
  }
32
49
  return hex;
33
50
  }
34
- export function hexToRGB(hex) {
35
- if (!isValidHex(hex)) {
51
+ export function hexify(color, hasAlpha = false) {
52
+ return hasAlpha ? color.hexa() : color.hex();
53
+ }
54
+ export function rgbToHex(color) {
55
+ const { r, g, b } = color;
56
+ const rChars = numToHex(r);
57
+ const gChars = numToHex(g);
58
+ const bChars = numToHex(b);
59
+ const alphaChars = "a" in color ? numToHex(color.a * 255) : "";
60
+ return `#${rChars}${gChars}${bChars}${alphaChars}`.toLowerCase();
61
+ }
62
+ function numToHex(num) {
63
+ return num.toString(16).padStart(2, "0");
64
+ }
65
+ export function normalizeAlpha(colorObject) {
66
+ const normalized = { ...colorObject, a: colorObject.alpha ?? 1 /* Color() will omit alpha if 1 */ };
67
+ delete normalized.alpha;
68
+ return normalized;
69
+ }
70
+ export function normalizeColor(alphaColorObject) {
71
+ const normalized = { ...alphaColorObject, alpha: alphaColorObject.a ?? 1 };
72
+ delete normalized.a;
73
+ return normalized;
74
+ }
75
+ export function hexToRGB(hex, hasAlpha = false) {
76
+ if (!isValidHex(hex, hasAlpha)) {
36
77
  return null;
37
78
  }
38
79
  hex = hex.replace("#", "");
39
- if (hex.length === 3) {
40
- const [first, second, third] = hex.split("");
41
- const r = parseInt(`${first}${first}`, 16);
42
- const g = parseInt(`${second}${second}`, 16);
43
- const b = parseInt(`${third}${third}`, 16);
44
- return { r, g, b };
80
+ let r, g, b, a;
81
+ const isShorthand = hex.length === 3 || hex.length === 4;
82
+ if (isShorthand) {
83
+ const [first, second, third, fourth] = hex.split("");
84
+ r = parseInt(`${first}${first}`, 16);
85
+ g = parseInt(`${second}${second}`, 16);
86
+ b = parseInt(`${third}${third}`, 16);
87
+ a = parseInt(`${fourth}${fourth}`, 16) / 255;
45
88
  }
46
- const r = parseInt(hex.slice(0, 2), 16);
47
- const g = parseInt(hex.slice(2, 4), 16);
48
- const b = parseInt(hex.slice(4, 6), 16);
49
- return { r, g, b };
89
+ else {
90
+ r = parseInt(hex.slice(0, 2), 16);
91
+ g = parseInt(hex.slice(2, 4), 16);
92
+ b = parseInt(hex.slice(4, 6), 16);
93
+ a = parseInt(hex.slice(6, 8), 16) / 255;
94
+ }
95
+ return isNaN(a) ? { r, g, b } : { r, g, b, a };
50
96
  }
51
97
  // these utils allow users to pass enum values as strings without having to access the enum
52
98
  // based on the approach suggested by https://github.com/microsoft/TypeScript/issues/17690#issuecomment-321365759,
@@ -108,5 +154,45 @@ function hasChannels(colorObject, ...channels) {
108
154
  return channels.every((channel) => channel && colorObject && `${channel}` in colorObject);
109
155
  }
110
156
  export function colorEqual(value1, value2) {
111
- return value1?.rgbNumber() === value2?.rgbNumber();
157
+ return value1?.rgb().array().toString() === value2?.rgb().array().toString();
158
+ }
159
+ export function alphaCompatible(mode) {
160
+ return (mode === CSSColorMode.HEXA ||
161
+ mode === CSSColorMode.RGBA_CSS ||
162
+ mode === CSSColorMode.HSLA_CSS ||
163
+ mode === ObjectColorMode.RGBA ||
164
+ mode === ObjectColorMode.HSLA ||
165
+ mode === ObjectColorMode.HSVA);
166
+ }
167
+ export function toAlphaMode(mode) {
168
+ const alphaMode = mode === CSSColorMode.HEX
169
+ ? CSSColorMode.HEXA
170
+ : mode === CSSColorMode.RGB_CSS
171
+ ? CSSColorMode.RGBA_CSS
172
+ : mode === CSSColorMode.HSL_CSS
173
+ ? CSSColorMode.HSLA_CSS
174
+ : mode === ObjectColorMode.RGB
175
+ ? ObjectColorMode.RGBA
176
+ : mode === ObjectColorMode.HSL
177
+ ? ObjectColorMode.HSLA
178
+ : mode === ObjectColorMode.HSV
179
+ ? ObjectColorMode.HSVA
180
+ : mode;
181
+ return alphaMode;
182
+ }
183
+ export function toNonAlphaMode(mode) {
184
+ const nonAlphaMode = mode === CSSColorMode.HEXA
185
+ ? CSSColorMode.HEX
186
+ : mode === CSSColorMode.RGBA_CSS
187
+ ? CSSColorMode.RGB_CSS
188
+ : mode === CSSColorMode.HSLA_CSS
189
+ ? CSSColorMode.HSL_CSS
190
+ : mode === ObjectColorMode.RGBA
191
+ ? ObjectColorMode.RGB
192
+ : mode === ObjectColorMode.HSLA
193
+ ? ObjectColorMode.HSL
194
+ : mode === ObjectColorMode.HSVA
195
+ ? ObjectColorMode.HSV
196
+ : mode;
197
+ return nonAlphaMode;
112
198
  }
@@ -90,28 +90,31 @@
90
90
  }
91
91
 
92
92
  .container {
93
- display: inline-grid;
93
+ display: flex;
94
94
  inline-size: 100%;
95
+ flex-wrap: nowrap;
95
96
  align-items: center;
96
- grid-template-columns: 1fr auto;
97
97
  }
98
98
 
99
- .preview {
100
- grid-column: 2/3;
101
- pointer-events: none;
102
- margin-block: 0px;
103
- margin-inline: 0.25rem;
104
- display: flex;
105
- align-items: center;
99
+ .hex-input {
100
+ flex-grow: 1;
101
+ text-transform: uppercase;
106
102
  }
107
103
 
108
- .preview,
109
- .input {
110
- grid-row: 1;
104
+ .opacity-input {
105
+ inline-size: 68px;
106
+ margin-inline-start: -1px;
111
107
  }
112
108
 
113
- .input {
114
- grid-column: 1/3;
115
- inline-size: 100%;
116
- text-transform: uppercase;
109
+ :host([scale=s]) .container {
110
+ flex-wrap: wrap;
111
+ row-gap: 0.125rem;
112
+ }
113
+ :host([scale=s]) .opacity-input {
114
+ inline-size: unset;
115
+ margin-inline-start: unset;
116
+ }
117
+
118
+ :host([scale=l]) .opacity-input {
119
+ inline-size: 88px;
117
120
  }