@esri/calcite-components 1.0.0-beta.95 → 1.0.0-beta.97

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 (1190) hide show
  1. package/dist/calcite/assets/date-picker/nls/messages.json +31 -0
  2. package/dist/calcite/assets/date-picker/t9n/index.d.ts +5 -0
  3. package/dist/calcite/assets/date-picker/t9n/messages.json +5 -0
  4. package/dist/calcite/assets/date-picker/t9n/messages_ar.json +5 -0
  5. package/dist/calcite/assets/date-picker/t9n/messages_bg.json +5 -0
  6. package/dist/calcite/assets/date-picker/t9n/messages_bs.json +5 -0
  7. package/dist/calcite/assets/date-picker/t9n/messages_ca.json +5 -0
  8. package/dist/calcite/assets/date-picker/t9n/messages_cs.json +5 -0
  9. package/dist/calcite/assets/date-picker/t9n/messages_da.json +5 -0
  10. package/dist/calcite/assets/date-picker/t9n/messages_de.json +5 -0
  11. package/dist/calcite/assets/date-picker/t9n/messages_el.json +5 -0
  12. package/dist/calcite/assets/date-picker/t9n/messages_en.json +5 -0
  13. package/dist/calcite/assets/date-picker/t9n/messages_es.json +5 -0
  14. package/dist/calcite/assets/date-picker/t9n/messages_et.json +5 -0
  15. package/dist/calcite/assets/date-picker/t9n/messages_fi.json +5 -0
  16. package/dist/calcite/assets/date-picker/t9n/messages_fr.json +5 -0
  17. package/dist/calcite/assets/date-picker/t9n/messages_he.json +5 -0
  18. package/dist/calcite/assets/date-picker/t9n/messages_hr.json +5 -0
  19. package/dist/calcite/assets/date-picker/t9n/messages_hu.json +5 -0
  20. package/dist/calcite/assets/date-picker/t9n/messages_id.json +5 -0
  21. package/dist/calcite/assets/date-picker/t9n/messages_it.json +5 -0
  22. package/dist/calcite/assets/date-picker/t9n/messages_ja.json +5 -0
  23. package/dist/calcite/assets/date-picker/t9n/messages_ko.json +5 -0
  24. package/dist/calcite/assets/date-picker/t9n/messages_lt.json +5 -0
  25. package/dist/calcite/assets/date-picker/t9n/messages_lv.json +5 -0
  26. package/dist/calcite/assets/date-picker/t9n/messages_nl.json +5 -0
  27. package/dist/calcite/assets/date-picker/t9n/messages_no.json +5 -0
  28. package/dist/calcite/assets/date-picker/t9n/messages_pl.json +5 -0
  29. package/dist/calcite/assets/date-picker/t9n/messages_pt-BR.json +5 -0
  30. package/dist/calcite/assets/date-picker/t9n/messages_pt-PT.json +5 -0
  31. package/dist/calcite/assets/date-picker/t9n/messages_ro.json +5 -0
  32. package/dist/calcite/assets/date-picker/t9n/messages_ru.json +5 -0
  33. package/dist/calcite/assets/date-picker/t9n/messages_sk.json +5 -0
  34. package/dist/calcite/assets/date-picker/t9n/messages_sl.json +5 -0
  35. package/dist/calcite/assets/date-picker/t9n/messages_sr.json +5 -0
  36. package/dist/calcite/assets/date-picker/t9n/messages_sv.json +5 -0
  37. package/dist/calcite/assets/date-picker/t9n/messages_th.json +5 -0
  38. package/dist/calcite/assets/date-picker/t9n/messages_tr.json +5 -0
  39. package/dist/calcite/assets/date-picker/t9n/messages_uk.json +5 -0
  40. package/dist/calcite/assets/date-picker/t9n/messages_vi.json +5 -0
  41. package/dist/calcite/assets/date-picker/t9n/messages_zh-CN.json +5 -0
  42. package/dist/calcite/assets/date-picker/t9n/messages_zh-HK.json +5 -0
  43. package/dist/calcite/assets/date-picker/t9n/messages_zh-TW.json +5 -0
  44. package/dist/calcite/assets/icon/dimensions16.json +1 -0
  45. package/dist/calcite/assets/icon/dimensions24.json +1 -0
  46. package/dist/calcite/assets/icon/dimensions32.json +1 -0
  47. package/dist/calcite/assets/icon/ellipse16.json +1 -0
  48. package/dist/calcite/assets/icon/ellipse24.json +1 -0
  49. package/dist/calcite/assets/icon/ellipse32.json +1 -0
  50. package/dist/calcite/assets/icon/triangle16.json +1 -0
  51. package/dist/calcite/assets/icon/triangle24.json +1 -0
  52. package/dist/calcite/assets/icon/triangle32.json +1 -0
  53. package/dist/calcite/calcite.css +1 -1
  54. package/dist/calcite/calcite.esm.js +2 -2
  55. package/dist/calcite/index.esm.js +1 -1
  56. package/dist/calcite/p-02206586.js +6 -0
  57. package/dist/calcite/p-0327c8e3.entry.js +6 -0
  58. package/dist/calcite/p-10eda8ed.entry.js +6 -0
  59. package/dist/calcite/p-1240fa7b.entry.js +6 -0
  60. package/dist/{esm-es5/index.js → calcite/p-146b4fe4.js} +2 -1
  61. package/dist/calcite/p-15704f21.entry.js +6 -0
  62. package/dist/calcite/p-166b1433.entry.js +6 -0
  63. package/dist/calcite/p-19d918b1.entry.js +6 -0
  64. package/dist/calcite/p-19de6a2c.entry.js +6 -0
  65. package/dist/calcite/p-1d1e8bdb.entry.js +6 -0
  66. package/dist/calcite/p-20ac0aba.entry.js +6 -0
  67. package/dist/calcite/p-21b74649.entry.js +6 -0
  68. package/dist/calcite/p-21c7e603.entry.js +6 -0
  69. package/dist/calcite/p-23a63d0d.entry.js +6 -0
  70. package/dist/calcite/p-25482df1.js +6 -0
  71. package/dist/calcite/p-311896ed.entry.js +6 -0
  72. package/dist/calcite/p-344b3c6c.entry.js +6 -0
  73. package/dist/calcite/p-3bed9a6f.entry.js +6 -0
  74. package/dist/calcite/p-3e539778.entry.js +6 -0
  75. package/dist/calcite/p-417a1880.entry.js +6 -0
  76. package/dist/calcite/p-481ea3fa.entry.js +6 -0
  77. package/dist/calcite/p-4af0a397.entry.js +6 -0
  78. package/dist/calcite/p-4ca93e87.js +6 -0
  79. package/dist/calcite/p-4d5bdb2b.entry.js +6 -0
  80. package/dist/calcite/{p-58a40573.js → p-4d9ab6e1.js} +1 -1
  81. package/dist/calcite/{p-77636ceb.js → p-4ee3752e.js} +2 -2
  82. package/dist/calcite/{p-af88a01c.js → p-535e2f9b.js} +1 -1
  83. package/dist/calcite/p-55ea8247.entry.js +6 -0
  84. package/dist/calcite/p-5710214d.entry.js +6 -0
  85. package/dist/calcite/p-5a400333.entry.js +6 -0
  86. package/dist/calcite/{p-80a51eb7.js → p-5ae3b7c4.js} +1 -1
  87. package/dist/calcite/p-5c79b811.entry.js +6 -0
  88. package/dist/calcite/p-5cf8cdc7.entry.js +6 -0
  89. package/dist/calcite/{p-966679da.js → p-5d6608fd.js} +1 -1
  90. package/dist/calcite/{p-48bb042f.js → p-622f8ecb.js} +1 -1
  91. package/dist/calcite/p-6284cc30.entry.js +6 -0
  92. package/dist/calcite/p-64b5872b.js +6 -0
  93. package/dist/calcite/{p-3053c253.js → p-698bfe4a.js} +2 -2
  94. package/dist/calcite/p-6c8b5581.entry.js +6 -0
  95. package/dist/calcite/{p-f4e3dc87.js → p-717298f3.js} +1 -1
  96. package/dist/calcite/p-75bb0987.entry.js +6 -0
  97. package/dist/calcite/p-78308811.entry.js +6 -0
  98. package/dist/calcite/p-84272f4b.entry.js +6 -0
  99. package/dist/calcite/p-85cbceca.entry.js +6 -0
  100. package/dist/calcite/{p-00abe273.js → p-8713e986.js} +2 -2
  101. package/dist/calcite/p-88798f16.entry.js +6 -0
  102. package/dist/calcite/p-8dc9be64.js +6 -0
  103. package/dist/calcite/p-91755387.js +7 -0
  104. package/dist/calcite/p-91b670e6.js +6 -0
  105. package/dist/calcite/p-92e553ee.entry.js +6 -0
  106. package/dist/calcite/p-94363dcc.entry.js +6 -0
  107. package/dist/calcite/p-96bf42e5.js +6 -0
  108. package/dist/calcite/p-982627c1.entry.js +6 -0
  109. package/dist/calcite/p-98ac3a6d.entry.js +6 -0
  110. package/dist/calcite/p-9b7467a5.entry.js +6 -0
  111. package/dist/calcite/p-9b7d5490.entry.js +6 -0
  112. package/dist/calcite/{p-510d1337.js → p-9c8fc268.js} +2 -2
  113. package/dist/calcite/p-a225f799.entry.js +6 -0
  114. package/dist/calcite/p-a2ddecc3.entry.js +6 -0
  115. package/dist/calcite/p-a2f5420b.js +6 -0
  116. package/dist/calcite/p-a53ca6f0.entry.js +6 -0
  117. package/dist/calcite/p-a6fe00fa.entry.js +6 -0
  118. package/dist/calcite/{p-3aaffa03.js → p-acc49c92.js} +1 -1
  119. package/dist/calcite/{p-901dc3de.js → p-af9e6e54.js} +1 -1
  120. package/dist/calcite/{p-ef082834.js → p-b675ccdc.js} +1 -1
  121. package/dist/calcite/p-b7f0762e.entry.js +6 -0
  122. package/dist/calcite/{p-4b823890.js → p-bbb9a284.js} +2 -2
  123. package/dist/calcite/p-bd16de0f.entry.js +6 -0
  124. package/dist/calcite/{p-21116f05.js → p-bd95c6d9.js} +1 -1
  125. package/dist/calcite/{p-46fef127.js → p-bda78a0c.js} +1 -1
  126. package/dist/calcite/p-be359e77.entry.js +6 -0
  127. package/dist/calcite/p-c25eed82.entry.js +6 -0
  128. package/dist/calcite/p-c40610e0.entry.js +6 -0
  129. package/dist/calcite/p-c469f3ba.entry.js +6 -0
  130. package/dist/calcite/p-c8699730.entry.js +6 -0
  131. package/dist/calcite/p-ce98b12c.entry.js +6 -0
  132. package/dist/calcite/{p-e0cd1e84.js → p-cf2d3774.js} +2 -2
  133. package/dist/calcite/{p-bd64d06c.js → p-d5bfadd8.js} +1 -1
  134. package/dist/calcite/p-d83bbe04.entry.js +6 -0
  135. package/dist/calcite/{p-b5326072.js → p-dd293eb9.js} +1 -1
  136. package/dist/calcite/p-df9a2f95.entry.js +6 -0
  137. package/dist/calcite/p-e3400054.entry.js +6 -0
  138. package/dist/calcite/p-e393bcaa.entry.js +6 -0
  139. package/dist/calcite/p-e7379f2a.entry.js +6 -0
  140. package/dist/calcite/p-e905ec51.entry.js +6 -0
  141. package/dist/calcite/p-ef8c4700.entry.js +6 -0
  142. package/dist/calcite/p-f1815b6c.entry.js +6 -0
  143. package/dist/calcite/p-f72104d6.entry.js +6 -0
  144. package/dist/calcite/p-f74d7303.entry.js +6 -0
  145. package/dist/cjs/{ExpandToggle-d10914db.js → ExpandToggle-e41acdfc.js} +5 -5
  146. package/dist/cjs/{Heading-1d94663a.js → Heading-1e87a15f.js} +2 -2
  147. package/dist/cjs/{app-globals-843f6f1d.js → app-globals-1cc5c95b.js} +2 -2
  148. package/dist/cjs/{array-7de7f400.js → array-e708c699.js} +1 -1
  149. package/dist/cjs/calcite-accordion_2.cjs.entry.js +14 -14
  150. package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
  151. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  152. package/dist/cjs/calcite-action-menu.cjs.entry.js +41 -42
  153. package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
  154. package/dist/cjs/calcite-action.cjs.entry.js +13 -13
  155. package/dist/cjs/calcite-alert.cjs.entry.js +25 -13
  156. package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
  157. package/dist/cjs/calcite-block_2.cjs.entry.js +33 -30
  158. package/dist/cjs/calcite-button.cjs.entry.js +30 -24
  159. package/dist/cjs/calcite-card.cjs.entry.js +15 -14
  160. package/dist/cjs/calcite-checkbox.cjs.entry.js +19 -17
  161. package/dist/cjs/calcite-chip.cjs.entry.js +17 -17
  162. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +62 -59
  163. package/dist/cjs/calcite-combobox_3.cjs.entry.js +60 -47
  164. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +63 -33
  165. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +44 -31
  166. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  167. package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
  168. package/dist/cjs/calcite-flow-item.cjs.entry.js +24 -18
  169. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  170. package/dist/cjs/calcite-graph_2.cjs.entry.js +88 -61
  171. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  172. package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
  173. package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
  174. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +116 -61
  175. package/dist/cjs/calcite-input-message.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-input-number.cjs.entry.js +70 -45
  177. package/dist/cjs/calcite-input-text.cjs.entry.js +18 -18
  178. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +155 -93
  179. package/dist/cjs/calcite-input.cjs.entry.js +89 -64
  180. package/dist/cjs/calcite-label.cjs.entry.js +16 -16
  181. package/dist/cjs/calcite-link.cjs.entry.js +9 -9
  182. package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
  183. package/dist/cjs/calcite-loader.cjs.entry.js +7 -7
  184. package/dist/cjs/calcite-modal.cjs.entry.js +17 -17
  185. package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
  186. package/dist/cjs/calcite-option_3.cjs.entry.js +17 -17
  187. package/dist/cjs/calcite-pagination.cjs.entry.js +20 -13
  188. package/dist/cjs/calcite-panel.cjs.entry.js +33 -32
  189. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +27 -27
  190. package/dist/cjs/calcite-popover_2.cjs.entry.js +56 -41
  191. package/dist/cjs/calcite-progress.cjs.entry.js +10 -5
  192. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-radio-button.cjs.entry.js +14 -14
  194. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +17 -17
  195. package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
  196. package/dist/cjs/calcite-scrim.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-shell_3.cjs.entry.js +23 -17
  198. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  199. package/dist/cjs/calcite-split-button.cjs.entry.js +10 -8
  200. package/dist/cjs/calcite-stepper_2.cjs.entry.js +48 -20
  201. package/dist/cjs/calcite-switch.cjs.entry.js +14 -14
  202. package/dist/cjs/calcite-tab_4.cjs.entry.js +22 -27
  203. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +13 -13
  204. package/dist/cjs/calcite-tile.cjs.entry.js +13 -13
  205. package/dist/cjs/calcite-tip_3.cjs.entry.js +15 -15
  206. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +38 -23
  207. package/dist/cjs/calcite-tree_2.cjs.entry.js +141 -90
  208. package/dist/cjs/calcite-value-list_2.cjs.entry.js +25 -25
  209. package/dist/cjs/calcite.cjs.js +6 -6
  210. package/dist/cjs/{conditionalSlot-ffff1ba2.js → conditionalSlot-ef852d9d.js} +3 -3
  211. package/dist/cjs/{debounce-3f8af6d8.js → debounce-2c8b61fb.js} +1 -1
  212. package/dist/cjs/{dom-df1903f9.js → dom-2ec8c9ed.js} +41 -3
  213. package/dist/cjs/{filter-a0274ec6.js → filter-9411bbc1.js} +3 -4
  214. package/dist/cjs/{floating-ui-99430551.js → floating-ui-b48c8256.js} +175 -23
  215. package/dist/cjs/{form-53eb189e.js → form-1d831023.js} +3 -3
  216. package/dist/cjs/{guid-9ba07df0.js → guid-f4f03a7a.js} +1 -1
  217. package/dist/cjs/{index-bbc26bc6.js → index-a0010f96.js} +1117 -946
  218. package/dist/cjs/index.cjs.js +1 -1
  219. package/dist/cjs/{interactive-b210765f.js → interactive-32293bca.js} +1 -1
  220. package/dist/cjs/{interfaces-43537378.js → interfaces-971ccc32.js} +1 -1
  221. package/dist/cjs/{key-7c8bf01a.js → key-6a462411.js} +1 -1
  222. package/dist/cjs/{label-a586ee40.js → label-28060b83.js} +2 -2
  223. package/dist/cjs/loader.cjs.js +6 -6
  224. package/dist/cjs/locale-678ce361.js +414 -0
  225. package/dist/cjs/{math-8f7af178.js → math-f71ad83a.js} +1 -1
  226. package/dist/cjs/nonChromiumPlatformUtils-95812e02.js +506 -0
  227. package/dist/cjs/observers-5706326b.js +48 -0
  228. package/dist/cjs/{openCloseComponent-b884b722.js → openCloseComponent-178191c0.js} +1 -1
  229. package/dist/cjs/{resources-aa8679e5.js → resources-199140b3.js} +1 -1
  230. package/dist/cjs/{resources-ec998c3c.js → resources-4c8610b1.js} +12 -70
  231. package/dist/cjs/{resources-c61ea826.js → resources-8b3ba64a.js} +5 -5
  232. package/dist/cjs/{resources-c25710c9.js → resources-abee76d7.js} +1 -1
  233. package/dist/cjs/{resources-6f839761.js → resources-b5a5f8a7.js} +1 -1
  234. package/dist/cjs/{resources-dd0bf97d.js → resources-bd2202e9.js} +1 -1
  235. package/dist/cjs/{sortable.esm-6707f3f9.js → sortable.esm-673fe959.js} +1 -1
  236. package/dist/cjs/{utils-2cc96bc6.js → utils-1e0cd9e8.js} +1 -1
  237. package/dist/collection/collection-manifest.json +2 -2
  238. package/dist/collection/components/accordion/accordion.js +162 -153
  239. package/dist/collection/components/accordion/interfaces.js +0 -5
  240. package/dist/collection/components/accordion-item/accordion-item.js +304 -308
  241. package/dist/collection/components/accordion-item/interfaces.js +0 -5
  242. package/dist/collection/components/accordion-item/resources.js +1 -1
  243. package/dist/collection/components/action/action.css +1 -1
  244. package/dist/collection/components/action/action.js +298 -295
  245. package/dist/collection/components/action/resources.js +1 -1
  246. package/dist/collection/components/action-bar/action-bar.js +241 -234
  247. package/dist/collection/components/action-bar/resources.js +1 -1
  248. package/dist/collection/components/action-bar/utils.js +1 -1
  249. package/dist/collection/components/action-group/action-group.css +1 -1
  250. package/dist/collection/components/action-group/action-group.js +138 -135
  251. package/dist/collection/components/action-group/resources.js +1 -1
  252. package/dist/collection/components/action-menu/action-menu.js +250 -241
  253. package/dist/collection/components/action-menu/resources.js +1 -1
  254. package/dist/collection/components/action-pad/action-pad.js +198 -191
  255. package/dist/collection/components/action-pad/resources.js +1 -1
  256. package/dist/collection/components/alert/alert.css +1 -1
  257. package/dist/collection/components/alert/alert.js +413 -376
  258. package/dist/collection/components/alert/interfaces.js +1 -1
  259. package/dist/collection/components/alert/resources.js +1 -1
  260. package/dist/collection/components/avatar/avatar.js +107 -99
  261. package/dist/collection/components/avatar/utils.js +1 -1
  262. package/dist/collection/components/block/block.css +7 -0
  263. package/dist/collection/components/block/block.js +332 -339
  264. package/dist/collection/components/block/resources.js +3 -2
  265. package/dist/collection/components/block-section/block-section.js +150 -150
  266. package/dist/collection/components/block-section/interfaces.js +0 -5
  267. package/dist/collection/components/block-section/resources.js +1 -1
  268. package/dist/collection/components/button/button.js +458 -437
  269. package/dist/collection/components/button/interfaces.js +0 -5
  270. package/dist/collection/components/button/resources.js +1 -1
  271. package/dist/collection/components/card/card.js +181 -188
  272. package/dist/collection/components/card/resources.js +1 -1
  273. package/dist/collection/components/checkbox/checkbox.css +1 -1
  274. package/dist/collection/components/checkbox/checkbox.js +280 -270
  275. package/dist/collection/components/chip/chip.js +266 -261
  276. package/dist/collection/components/chip/interfaces.js +0 -5
  277. package/dist/collection/components/chip/resources.js +1 -1
  278. package/dist/collection/components/color-picker/color-picker.js +821 -817
  279. package/dist/collection/components/color-picker/interfaces.js +0 -5
  280. package/dist/collection/components/color-picker/resources.js +1 -1
  281. package/dist/collection/components/color-picker/utils.js +1 -1
  282. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +195 -178
  283. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  284. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +83 -77
  285. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  286. package/dist/collection/components/combobox/combobox.css +1 -2
  287. package/dist/collection/components/combobox/combobox.js +595 -576
  288. package/dist/collection/components/combobox/interfaces.js +0 -5
  289. package/dist/collection/components/combobox/resources.js +1 -1
  290. package/dist/collection/components/combobox/utils.js +1 -1
  291. package/dist/collection/components/combobox-item/combobox-item.js +247 -239
  292. package/dist/collection/components/combobox-item/resources.js +1 -1
  293. package/dist/collection/components/combobox-item-group/combobox-item-group.js +50 -47
  294. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  295. package/dist/collection/components/date-picker/assets/date-picker/nls/messages.json +31 -0
  296. package/dist/collection/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
  297. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages.json +5 -0
  298. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ar.json +5 -0
  299. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bg.json +5 -0
  300. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bs.json +5 -0
  301. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ca.json +5 -0
  302. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_cs.json +5 -0
  303. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_da.json +5 -0
  304. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_de.json +5 -0
  305. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_el.json +5 -0
  306. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_en.json +5 -0
  307. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_es.json +5 -0
  308. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_et.json +5 -0
  309. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fi.json +5 -0
  310. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fr.json +5 -0
  311. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_he.json +5 -0
  312. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hr.json +5 -0
  313. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hu.json +5 -0
  314. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_id.json +5 -0
  315. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_it.json +5 -0
  316. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ja.json +5 -0
  317. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ko.json +5 -0
  318. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lt.json +5 -0
  319. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lv.json +5 -0
  320. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_nl.json +5 -0
  321. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_no.json +5 -0
  322. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pl.json +5 -0
  323. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-BR.json +5 -0
  324. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-PT.json +5 -0
  325. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ro.json +5 -0
  326. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ru.json +5 -0
  327. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sk.json +5 -0
  328. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sl.json +5 -0
  329. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sr.json +5 -0
  330. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sv.json +5 -0
  331. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_th.json +5 -0
  332. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_tr.json +5 -0
  333. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_uk.json +5 -0
  334. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_vi.json +5 -0
  335. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-CN.json +5 -0
  336. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-HK.json +5 -0
  337. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-TW.json +5 -0
  338. package/dist/collection/components/date-picker/date-picker.js +489 -447
  339. package/dist/collection/components/date-picker/interfaces.js +0 -5
  340. package/dist/collection/components/date-picker/resources.js +1 -1
  341. package/dist/collection/components/date-picker/utils.js +2 -22
  342. package/dist/collection/components/date-picker-day/date-picker-day.css +48 -24
  343. package/dist/collection/components/date-picker-day/date-picker-day.js +280 -285
  344. package/dist/collection/components/date-picker-month/date-picker-month.js +257 -250
  345. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +3 -9
  346. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +249 -234
  347. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  348. package/dist/collection/components/dropdown/dropdown.css +0 -1
  349. package/dist/collection/components/dropdown/dropdown.js +460 -430
  350. package/dist/collection/components/dropdown/interfaces.js +0 -5
  351. package/dist/collection/components/dropdown/resources.js +1 -1
  352. package/dist/collection/components/dropdown-group/dropdown-group.js +113 -107
  353. package/dist/collection/components/dropdown-group/interfaces.js +0 -5
  354. package/dist/collection/components/dropdown-group/resources.js +1 -1
  355. package/dist/collection/components/dropdown-item/dropdown-item.js +292 -282
  356. package/dist/collection/components/dropdown-item/resources.js +1 -1
  357. package/dist/collection/components/fab/fab.js +205 -197
  358. package/dist/collection/components/fab/resources.js +1 -1
  359. package/dist/collection/components/filter/filter.js +200 -191
  360. package/dist/collection/components/filter/resources.js +1 -1
  361. package/dist/collection/components/flow/flow.js +55 -46
  362. package/dist/collection/components/flow/interfaces.js +0 -5
  363. package/dist/collection/components/flow/resources.js +1 -1
  364. package/dist/collection/components/flow-item/flow-item.js +419 -395
  365. package/dist/collection/components/flow-item/resources.js +1 -1
  366. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  367. package/dist/collection/components/functional/Heading.js +1 -1
  368. package/dist/collection/components/graph/graph.js +125 -125
  369. package/dist/collection/components/graph/interfaces.js +0 -5
  370. package/dist/collection/components/graph/util.js +1 -1
  371. package/dist/collection/components/handle/handle.css +1 -1
  372. package/dist/collection/components/handle/handle.js +94 -85
  373. package/dist/collection/components/handle/resources.js +1 -1
  374. package/dist/collection/components/icon/assets/icon/dimensions16.json +1 -0
  375. package/dist/collection/components/icon/assets/icon/dimensions24.json +1 -0
  376. package/dist/collection/components/icon/assets/icon/dimensions32.json +1 -0
  377. package/dist/collection/components/icon/assets/icon/ellipse16.json +1 -0
  378. package/dist/collection/components/icon/assets/icon/ellipse24.json +1 -0
  379. package/dist/collection/components/icon/assets/icon/ellipse32.json +1 -0
  380. package/dist/collection/components/icon/assets/icon/triangle16.json +1 -0
  381. package/dist/collection/components/icon/assets/icon/triangle24.json +1 -0
  382. package/dist/collection/components/icon/assets/icon/triangle32.json +1 -0
  383. package/dist/collection/components/icon/icon.js +107 -98
  384. package/dist/collection/components/icon/resources.js +1 -1
  385. package/dist/collection/components/icon/utils.js +1 -1
  386. package/dist/collection/components/inline-editable/inline-editable.js +274 -266
  387. package/dist/collection/components/inline-editable/resources.js +1 -1
  388. package/dist/collection/components/input/input.css +5 -0
  389. package/dist/collection/components/input/input.js +882 -862
  390. package/dist/collection/components/input/interfaces.js +0 -5
  391. package/dist/collection/components/input/resources.js +1 -1
  392. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -2
  393. package/dist/collection/components/input-date-picker/input-date-picker.js +900 -813
  394. package/dist/collection/components/input-date-picker/resources.js +1 -1
  395. package/dist/collection/components/input-message/input-message.css +1 -1
  396. package/dist/collection/components/input-message/input-message.js +124 -118
  397. package/dist/collection/components/input-message/interfaces.js +1 -1
  398. package/dist/collection/components/input-number/input-number.css +1 -20
  399. package/dist/collection/components/input-number/input-number.js +818 -796
  400. package/dist/collection/components/input-number/interfaces.js +0 -5
  401. package/dist/collection/components/input-number/resources.js +1 -1
  402. package/dist/collection/components/input-text/input-text.css +1 -20
  403. package/dist/collection/components/input-text/input-text.js +602 -603
  404. package/dist/collection/components/input-text/resources.js +1 -1
  405. package/dist/collection/components/input-time-picker/input-time-picker.js +671 -583
  406. package/dist/collection/components/interfaces.js +0 -5
  407. package/dist/collection/components/label/label.css +1 -1
  408. package/dist/collection/components/label/label.js +189 -183
  409. package/dist/collection/components/label/resources.js +1 -1
  410. package/dist/collection/components/link/link.js +186 -180
  411. package/dist/collection/components/list/list.js +76 -70
  412. package/dist/collection/components/list/resources.js +1 -1
  413. package/dist/collection/components/list-item/list-item.js +109 -113
  414. package/dist/collection/components/list-item/resources.js +1 -1
  415. package/dist/collection/components/list-item-group/list-item-group.js +54 -51
  416. package/dist/collection/components/list-item-group/resources.js +1 -1
  417. package/dist/collection/components/loader/loader.css +3 -3
  418. package/dist/collection/components/loader/loader.js +169 -172
  419. package/dist/collection/components/modal/interfaces.js +0 -5
  420. package/dist/collection/components/modal/modal.js +478 -481
  421. package/dist/collection/components/modal/resources.js +1 -1
  422. package/dist/collection/components/notice/notice.js +269 -267
  423. package/dist/collection/components/notice/resources.js +1 -1
  424. package/dist/collection/components/option/option.js +118 -108
  425. package/dist/collection/components/option-group/option-group.js +81 -73
  426. package/dist/collection/components/pagination/pagination.js +266 -258
  427. package/dist/collection/components/pagination/resources.js +1 -1
  428. package/dist/collection/components/panel/panel.css +1 -1
  429. package/dist/collection/components/panel/panel.js +557 -563
  430. package/dist/collection/components/panel/resources.js +1 -1
  431. package/dist/collection/components/pick-list/pick-list.js +255 -241
  432. package/dist/collection/components/pick-list/resources.js +1 -1
  433. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  434. package/dist/collection/components/pick-list/shared-list-render.js +2 -9
  435. package/dist/collection/components/pick-list-group/pick-list-group.js +54 -52
  436. package/dist/collection/components/pick-list-group/resources.js +1 -1
  437. package/dist/collection/components/pick-list-item/pick-list-item.js +354 -352
  438. package/dist/collection/components/pick-list-item/resources.js +1 -1
  439. package/dist/collection/components/popover/PopoverManager.js +5 -2
  440. package/dist/collection/components/popover/popover.css +0 -1
  441. package/dist/collection/components/popover/popover.js +586 -562
  442. package/dist/collection/components/popover/resources.js +1 -1
  443. package/dist/collection/components/popover-manager/popover-manager.js +60 -52
  444. package/dist/collection/components/progress/progress.js +112 -104
  445. package/dist/collection/components/radio-button/radio-button.js +348 -337
  446. package/dist/collection/components/radio-button/resources.js +1 -1
  447. package/dist/collection/components/radio-button-group/radio-button-group.js +171 -160
  448. package/dist/collection/components/radio-group/interfaces.js +0 -5
  449. package/dist/collection/components/radio-group/radio-group.js +256 -244
  450. package/dist/collection/components/radio-group-item/radio-group-item.js +179 -176
  451. package/dist/collection/components/radio-group-item/resources.js +1 -1
  452. package/dist/collection/components/rating/rating.js +276 -277
  453. package/dist/collection/components/rating/resources.js +1 -1
  454. package/dist/collection/components/scrim/resources.js +1 -1
  455. package/dist/collection/components/scrim/scrim.js +57 -54
  456. package/dist/collection/components/select/resources.js +1 -1
  457. package/dist/collection/components/select/select.js +228 -219
  458. package/dist/collection/components/shell/resources.js +1 -1
  459. package/dist/collection/components/shell/shell.js +38 -43
  460. package/dist/collection/components/shell-center-row/resources.js +1 -1
  461. package/dist/collection/components/shell-center-row/shell-center-row.js +80 -76
  462. package/dist/collection/components/shell-panel/resources.js +1 -1
  463. package/dist/collection/components/shell-panel/shell-panel.js +194 -180
  464. package/dist/collection/components/slider/resources.js +1 -1
  465. package/dist/collection/components/slider/slider.js +643 -658
  466. package/dist/collection/components/sortable-list/resources.js +1 -1
  467. package/dist/collection/components/sortable-list/sortable-list.js +153 -142
  468. package/dist/collection/components/split-button/resources.js +1 -1
  469. package/dist/collection/components/split-button/split-button.js +366 -360
  470. package/dist/collection/components/stepper/interfaces.js +0 -5
  471. package/dist/collection/components/stepper/stepper.js +270 -236
  472. package/dist/collection/components/stepper-item/stepper-item.js +436 -400
  473. package/dist/collection/components/switch/switch.js +190 -182
  474. package/dist/collection/components/tab/interfaces.js +0 -5
  475. package/dist/collection/components/tab/tab.css +4 -2
  476. package/dist/collection/components/tab/tab.js +194 -181
  477. package/dist/collection/components/tab-nav/tab-nav.js +285 -275
  478. package/dist/collection/components/tab-title/tab-title.js +468 -456
  479. package/dist/collection/components/tabs/interfaces.js +0 -5
  480. package/dist/collection/components/tabs/resources.js +1 -1
  481. package/dist/collection/components/tabs/tabs.js +134 -132
  482. package/dist/collection/components/tile/resources.js +1 -1
  483. package/dist/collection/components/tile/tile.js +174 -178
  484. package/dist/collection/components/tile-select/interfaces.js +0 -5
  485. package/dist/collection/components/tile-select/resources.js +1 -1
  486. package/dist/collection/components/tile-select/tile-select.css +1 -0
  487. package/dist/collection/components/tile-select/tile-select.js +352 -338
  488. package/dist/collection/components/tile-select-group/interfaces.js +0 -5
  489. package/dist/collection/components/tile-select-group/tile-select-group.js +57 -51
  490. package/dist/collection/components/time-picker/resources.js +1 -1
  491. package/dist/collection/components/time-picker/time-picker.js +575 -550
  492. package/dist/collection/components/tip/resources.js +1 -1
  493. package/dist/collection/components/tip/tip.js +145 -146
  494. package/dist/collection/components/tip-group/tip-group.js +33 -27
  495. package/dist/collection/components/tip-manager/resources.js +1 -1
  496. package/dist/collection/components/tip-manager/tip-manager.js +226 -222
  497. package/dist/collection/components/tooltip/TooltipManager.js +6 -1
  498. package/dist/collection/components/tooltip/resources.js +1 -1
  499. package/dist/collection/components/tooltip/tooltip.css +0 -1
  500. package/dist/collection/components/tooltip/tooltip.js +252 -225
  501. package/dist/collection/components/tooltip-manager/tooltip-manager.js +38 -32
  502. package/dist/collection/components/tree/interfaces.js +1 -1
  503. package/dist/collection/components/tree/tree.js +278 -245
  504. package/dist/collection/components/tree/utils.js +21 -0
  505. package/dist/collection/components/tree-item/interfaces.js +0 -5
  506. package/dist/collection/components/tree-item/resources.js +1 -1
  507. package/dist/collection/components/tree-item/tree-item.css +17 -3
  508. package/dist/collection/components/tree-item/tree-item.js +306 -273
  509. package/dist/collection/components/value-list/interfaces.js +0 -5
  510. package/dist/collection/components/value-list/resources.js +1 -1
  511. package/dist/collection/components/value-list/utils.js +1 -1
  512. package/dist/collection/components/value-list/value-list.js +348 -334
  513. package/dist/collection/components/value-list-item/resources.js +1 -1
  514. package/dist/collection/components/value-list-item/value-list-item.css +1 -2
  515. package/dist/collection/components/value-list-item/value-list-item.js +286 -279
  516. package/dist/collection/demos/_assets/demo-dom-swapper.js +45 -0
  517. package/dist/collection/demos/_assets/demo-spacer.js +17 -0
  518. package/dist/collection/demos/_assets/demo-template.js +24 -0
  519. package/dist/collection/demos/_assets/head.js +48 -0
  520. package/dist/collection/demos/_assets/locales.js +223 -0
  521. package/dist/collection/utils/array.js +1 -1
  522. package/dist/collection/utils/conditionalSlot.js +1 -1
  523. package/dist/collection/utils/config.js +22 -0
  524. package/dist/collection/utils/date.js +3 -38
  525. package/dist/collection/utils/dom.js +37 -1
  526. package/dist/collection/utils/filter.js +2 -3
  527. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +496 -0
  528. package/dist/collection/utils/floating-ui.js +123 -12
  529. package/dist/collection/utils/form.js +1 -1
  530. package/dist/collection/utils/globalAttributes.js +1 -1
  531. package/dist/collection/utils/globalScript.js +1 -1
  532. package/dist/collection/utils/guid.js +1 -1
  533. package/dist/collection/utils/interactive.js +1 -1
  534. package/dist/collection/utils/key.js +1 -1
  535. package/dist/collection/utils/label.js +1 -1
  536. package/dist/collection/utils/locale.js +199 -64
  537. package/dist/collection/utils/math.js +1 -1
  538. package/dist/collection/utils/number.js +36 -31
  539. package/dist/collection/utils/observers.js +31 -7
  540. package/dist/collection/utils/openCloseComponent.js +1 -1
  541. package/dist/collection/utils/resources.js +1 -1
  542. package/dist/collection/utils/t9n.js +110 -0
  543. package/dist/collection/utils/theme.js +1 -1
  544. package/dist/collection/utils/time.js +16 -14
  545. package/dist/components/ExpandToggle.js +1 -1
  546. package/dist/components/Heading.js +1 -1
  547. package/dist/components/action-group.js +4 -4
  548. package/dist/components/action-menu.js +35 -36
  549. package/dist/components/action.js +8 -8
  550. package/dist/components/array.js +1 -1
  551. package/dist/components/button.js +23 -17
  552. package/dist/components/calcite-accordion-item.js +5 -5
  553. package/dist/components/calcite-accordion.js +4 -4
  554. package/dist/components/calcite-action-bar.js +6 -6
  555. package/dist/components/calcite-action-group.js +1 -1
  556. package/dist/components/calcite-action-menu.js +1 -1
  557. package/dist/components/calcite-action-pad.js +4 -4
  558. package/dist/components/calcite-action.js +1 -1
  559. package/dist/components/calcite-alert.js +19 -7
  560. package/dist/components/calcite-avatar.js +2 -2
  561. package/dist/components/calcite-block-section.js +8 -6
  562. package/dist/components/calcite-block.js +17 -16
  563. package/dist/components/calcite-button.js +1 -1
  564. package/dist/components/calcite-card.js +9 -8
  565. package/dist/components/calcite-checkbox.js +1 -1
  566. package/dist/components/calcite-chip.js +1 -1
  567. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  568. package/dist/components/calcite-color-picker-swatch.js +1 -1
  569. package/dist/components/calcite-color-picker.js +44 -39
  570. package/dist/components/calcite-combobox-item-group.js +2 -2
  571. package/dist/components/calcite-combobox-item.js +8 -6
  572. package/dist/components/calcite-combobox.js +42 -31
  573. package/dist/components/calcite-date-picker-day.js +1 -1
  574. package/dist/components/calcite-date-picker-month-header.js +1 -1
  575. package/dist/components/calcite-date-picker-month.js +1 -1
  576. package/dist/components/calcite-date-picker.js +1 -1
  577. package/dist/components/calcite-dropdown-group.js +2 -2
  578. package/dist/components/calcite-dropdown-item.js +2 -2
  579. package/dist/components/calcite-dropdown.js +1 -1
  580. package/dist/components/calcite-fab.js +3 -3
  581. package/dist/components/calcite-filter.js +1 -1
  582. package/dist/components/calcite-flow-item.js +18 -12
  583. package/dist/components/calcite-flow.js +2 -2
  584. package/dist/components/calcite-graph.js +1 -1
  585. package/dist/components/calcite-handle.js +1 -1
  586. package/dist/components/calcite-icon.js +1 -1
  587. package/dist/components/calcite-inline-editable.js +2 -2
  588. package/dist/components/calcite-input-date-picker.js +110 -53
  589. package/dist/components/calcite-input-message.js +5 -5
  590. package/dist/components/calcite-input-number.js +53 -28
  591. package/dist/components/calcite-input-text.js +10 -10
  592. package/dist/components/calcite-input-time-picker.js +83 -35
  593. package/dist/components/calcite-input.js +1 -1
  594. package/dist/components/calcite-label.js +1 -1
  595. package/dist/components/calcite-link.js +1 -1
  596. package/dist/components/calcite-list-item-group.js +2 -2
  597. package/dist/components/calcite-list-item.js +4 -4
  598. package/dist/components/calcite-list.js +3 -3
  599. package/dist/components/calcite-loader.js +1 -1
  600. package/dist/components/calcite-modal.js +11 -11
  601. package/dist/components/calcite-notice.js +8 -8
  602. package/dist/components/calcite-option-group.js +3 -3
  603. package/dist/components/calcite-option.js +3 -3
  604. package/dist/components/calcite-pagination.js +15 -11
  605. package/dist/components/calcite-panel.js +1 -1
  606. package/dist/components/calcite-pick-list-group.js +2 -2
  607. package/dist/components/calcite-pick-list-item.js +1 -1
  608. package/dist/components/calcite-pick-list.js +8 -8
  609. package/dist/components/calcite-popover-manager.js +2 -2
  610. package/dist/components/calcite-popover.js +1 -1
  611. package/dist/components/calcite-progress.js +1 -1
  612. package/dist/components/calcite-radio-button-group.js +5 -5
  613. package/dist/components/calcite-radio-button.js +7 -7
  614. package/dist/components/calcite-radio-group-item.js +6 -6
  615. package/dist/components/calcite-radio-group.js +5 -5
  616. package/dist/components/calcite-rating.js +8 -8
  617. package/dist/components/calcite-scrim.js +1 -1
  618. package/dist/components/calcite-select.js +5 -5
  619. package/dist/components/calcite-shell-center-row.js +4 -4
  620. package/dist/components/calcite-shell-panel.js +13 -7
  621. package/dist/components/calcite-shell.js +2 -2
  622. package/dist/components/calcite-slider.js +79 -53
  623. package/dist/components/calcite-sortable-list.js +2 -2
  624. package/dist/components/calcite-split-button.js +8 -6
  625. package/dist/components/calcite-stepper-item.js +39 -12
  626. package/dist/components/calcite-stepper.js +5 -4
  627. package/dist/components/calcite-switch.js +1 -1
  628. package/dist/components/calcite-tab-nav.js +1 -1
  629. package/dist/components/calcite-tab-title.js +1 -1
  630. package/dist/components/calcite-tab.js +1 -1
  631. package/dist/components/calcite-tabs.js +1 -1
  632. package/dist/components/calcite-tile-select-group.js +4 -4
  633. package/dist/components/calcite-tile-select.js +8 -8
  634. package/dist/components/calcite-tile.js +1 -1
  635. package/dist/components/calcite-time-picker.js +1 -1
  636. package/dist/components/calcite-tip-group.js +2 -2
  637. package/dist/components/calcite-tip-manager.js +3 -3
  638. package/dist/components/calcite-tip.js +5 -5
  639. package/dist/components/calcite-tooltip-manager.js +2 -2
  640. package/dist/components/calcite-tooltip.js +1 -1
  641. package/dist/components/calcite-tree-item.js +21 -9
  642. package/dist/components/calcite-tree.js +118 -78
  643. package/dist/components/calcite-value-list-item.js +6 -6
  644. package/dist/components/calcite-value-list.js +9 -9
  645. package/dist/components/checkbox.js +11 -9
  646. package/dist/components/chip.js +11 -11
  647. package/dist/components/color-picker-hex-input.js +8 -10
  648. package/dist/components/color-picker-swatch.js +4 -4
  649. package/dist/components/conditionalSlot.js +1 -1
  650. package/dist/components/date-picker-day.js +17 -9
  651. package/dist/components/date-picker-month-header.js +25 -11
  652. package/dist/components/date-picker-month.js +4 -4
  653. package/dist/components/date-picker.js +20 -28
  654. package/dist/components/date.js +5 -39
  655. package/dist/components/debounce.js +1 -1
  656. package/dist/components/dom.js +38 -2
  657. package/dist/components/dropdown.js +35 -23
  658. package/dist/components/filter.js +2 -2
  659. package/dist/components/filter2.js +2 -3
  660. package/dist/components/floating-ui.js +181 -22
  661. package/dist/components/form.js +2 -2
  662. package/dist/components/graph.js +2 -2
  663. package/dist/components/guid.js +1 -1
  664. package/dist/components/handle.js +2 -2
  665. package/dist/components/icon.js +2 -2
  666. package/dist/components/index.js +1 -1
  667. package/dist/components/input.js +72 -47
  668. package/dist/components/interactive.js +1 -1
  669. package/dist/components/interfaces.js +1 -1
  670. package/dist/components/interfaces2.js +1 -1
  671. package/dist/components/key.js +1 -1
  672. package/dist/components/label.js +11 -11
  673. package/dist/components/label2.js +2 -2
  674. package/dist/components/link.js +6 -6
  675. package/dist/components/loader.js +5 -5
  676. package/dist/components/locale.js +403 -0
  677. package/dist/components/math.js +1 -1
  678. package/dist/components/nonChromiumPlatformUtils.js +498 -0
  679. package/dist/components/observers.js +31 -7
  680. package/dist/components/openCloseComponent.js +1 -1
  681. package/dist/components/panel.js +24 -23
  682. package/dist/components/pick-list-item.js +8 -8
  683. package/dist/components/popover.js +47 -33
  684. package/dist/components/progress.js +9 -4
  685. package/dist/components/resources.js +1 -1
  686. package/dist/components/resources2.js +1 -1
  687. package/dist/components/resources3.js +1 -1
  688. package/dist/components/scrim.js +3 -3
  689. package/dist/components/shared-list-render.js +1 -1
  690. package/dist/components/sortable.esm.js +1 -1
  691. package/dist/components/switch.js +6 -6
  692. package/dist/components/tab-nav.js +3 -3
  693. package/dist/components/tab-title.js +6 -6
  694. package/dist/components/tab.js +6 -6
  695. package/dist/components/tabs.js +5 -10
  696. package/dist/components/tile.js +6 -6
  697. package/dist/components/time-picker.js +56 -39
  698. package/dist/components/tooltip.js +33 -19
  699. package/dist/components/utils.js +1 -1
  700. package/dist/components/utils2.js +2 -2
  701. package/dist/esm/{ExpandToggle-51cda39f.js → ExpandToggle-a4a9eace.js} +5 -5
  702. package/dist/esm/{Heading-3a6ae137.js → Heading-e0abf8a2.js} +2 -2
  703. package/dist/esm/{app-globals-8ea1c0e3.js → app-globals-59bc5b85.js} +2 -2
  704. package/dist/esm/{array-2db27e14.js → array-03a17827.js} +1 -1
  705. package/dist/esm/calcite-accordion_2.entry.js +14 -14
  706. package/dist/esm/calcite-action-bar.entry.js +14 -14
  707. package/dist/esm/calcite-action-group.entry.js +12 -12
  708. package/dist/esm/calcite-action-menu.entry.js +41 -42
  709. package/dist/esm/calcite-action-pad.entry.js +13 -13
  710. package/dist/esm/calcite-action.entry.js +13 -13
  711. package/dist/esm/calcite-alert.entry.js +25 -13
  712. package/dist/esm/calcite-avatar.entry.js +7 -7
  713. package/dist/esm/calcite-block_2.entry.js +33 -30
  714. package/dist/esm/calcite-button.entry.js +30 -24
  715. package/dist/esm/calcite-card.entry.js +15 -14
  716. package/dist/esm/calcite-checkbox.entry.js +19 -17
  717. package/dist/esm/calcite-chip.entry.js +17 -17
  718. package/dist/esm/calcite-color-picker_3.entry.js +62 -59
  719. package/dist/esm/calcite-combobox_3.entry.js +60 -47
  720. package/dist/esm/calcite-date-picker_4.entry.js +63 -33
  721. package/dist/esm/calcite-dropdown_3.entry.js +44 -31
  722. package/dist/esm/calcite-fab.entry.js +8 -8
  723. package/dist/esm/calcite-filter.entry.js +9 -9
  724. package/dist/esm/calcite-flow-item.entry.js +24 -18
  725. package/dist/esm/calcite-flow.entry.js +4 -4
  726. package/dist/esm/calcite-graph_2.entry.js +88 -61
  727. package/dist/esm/calcite-handle.entry.js +6 -6
  728. package/dist/esm/calcite-icon.entry.js +7 -7
  729. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  730. package/dist/esm/calcite-input-date-picker.entry.js +116 -61
  731. package/dist/esm/calcite-input-message.entry.js +9 -9
  732. package/dist/esm/calcite-input-number.entry.js +61 -36
  733. package/dist/esm/calcite-input-text.entry.js +18 -18
  734. package/dist/esm/calcite-input-time-picker_2.entry.js +139 -77
  735. package/dist/esm/calcite-input.entry.js +80 -55
  736. package/dist/esm/calcite-label.entry.js +16 -16
  737. package/dist/esm/calcite-link.entry.js +9 -9
  738. package/dist/esm/calcite-list_3.entry.js +15 -15
  739. package/dist/esm/calcite-loader.entry.js +7 -7
  740. package/dist/esm/calcite-modal.entry.js +17 -17
  741. package/dist/esm/calcite-notice.entry.js +15 -15
  742. package/dist/esm/calcite-option_3.entry.js +17 -17
  743. package/dist/esm/calcite-pagination.entry.js +20 -13
  744. package/dist/esm/calcite-panel.entry.js +33 -32
  745. package/dist/esm/calcite-pick-list_3.entry.js +27 -27
  746. package/dist/esm/calcite-popover_2.entry.js +56 -41
  747. package/dist/esm/calcite-progress.entry.js +10 -5
  748. package/dist/esm/calcite-radio-button-group.entry.js +7 -7
  749. package/dist/esm/calcite-radio-button.entry.js +14 -14
  750. package/dist/esm/calcite-radio-group_2.entry.js +17 -17
  751. package/dist/esm/calcite-rating.entry.js +16 -16
  752. package/dist/esm/calcite-scrim.entry.js +4 -4
  753. package/dist/esm/calcite-shell_3.entry.js +23 -17
  754. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  755. package/dist/esm/calcite-split-button.entry.js +10 -8
  756. package/dist/esm/calcite-stepper_2.entry.js +48 -20
  757. package/dist/esm/calcite-switch.entry.js +14 -14
  758. package/dist/esm/calcite-tab_4.entry.js +22 -27
  759. package/dist/esm/calcite-tile-select_2.entry.js +13 -13
  760. package/dist/esm/calcite-tile.entry.js +13 -13
  761. package/dist/esm/calcite-tip_3.entry.js +15 -15
  762. package/dist/esm/calcite-tooltip_2.entry.js +38 -23
  763. package/dist/esm/calcite-tree_2.entry.js +141 -90
  764. package/dist/esm/calcite-value-list_2.entry.js +25 -25
  765. package/dist/esm/calcite.js +6 -6
  766. package/dist/esm/{conditionalSlot-a8df5b3f.js → conditionalSlot-a3e8c63a.js} +3 -3
  767. package/dist/esm/{debounce-d31cc476.js → debounce-d85a6654.js} +1 -1
  768. package/dist/esm/{dom-24af003b.js → dom-8f0a9ff2.js} +40 -4
  769. package/dist/esm/{filter-72316b3f.js → filter-0e5a9913.js} +3 -4
  770. package/dist/esm/{floating-ui-10f8689c.js → floating-ui-5c49748f.js} +173 -22
  771. package/dist/esm/{form-390fdf0f.js → form-80dbd90e.js} +3 -3
  772. package/dist/esm/{guid-b68b1941.js → guid-9f15e57a.js} +1 -1
  773. package/dist/esm/{index-8384b5ec.js → index-1f9b54dc.js} +1117 -946
  774. package/dist/esm/index.js +1 -1
  775. package/dist/esm/{interactive-f2ec7825.js → interactive-5db230e8.js} +1 -1
  776. package/dist/esm/{interfaces-ba98f966.js → interfaces-87b65de3.js} +1 -1
  777. package/dist/esm/{key-ed874b7d.js → key-acc755b7.js} +1 -1
  778. package/dist/esm/{label-78f72c1a.js → label-333c4a4c.js} +2 -2
  779. package/dist/esm/loader.js +6 -6
  780. package/dist/esm/locale-35f81208.js +403 -0
  781. package/dist/esm/{math-2893cee3.js → math-dd4df0b5.js} +1 -1
  782. package/dist/esm/nonChromiumPlatformUtils-45c9ed51.js +502 -0
  783. package/dist/esm/observers-9f44e9b3.js +46 -0
  784. package/dist/esm/{openCloseComponent-0a4c6226.js → openCloseComponent-ba7d452b.js} +1 -1
  785. package/dist/esm/polyfills/css-shim.js +1 -1
  786. package/dist/esm/{resources-32c242fa.js → resources-3e3255c7.js} +5 -5
  787. package/dist/esm/{resources-f8aa3ed1.js → resources-8812a15c.js} +5 -61
  788. package/dist/esm/{resources-351f6f14.js → resources-9a59d78c.js} +1 -1
  789. package/dist/esm/{resources-ea0a60b4.js → resources-9c476cb6.js} +1 -1
  790. package/dist/esm/{resources-3acd3089.js → resources-a75141ea.js} +1 -1
  791. package/dist/esm/{resources-0497ae87.js → resources-ca31b4fd.js} +1 -1
  792. package/dist/esm/{sortable.esm-3d78dbdc.js → sortable.esm-8be1d379.js} +1 -1
  793. package/dist/esm/{utils-a7e4e0e1.js → utils-85948aeb.js} +1 -1
  794. package/dist/extras/docs-json.json +1948 -783
  795. package/dist/index.js +1 -1
  796. package/dist/loader/cdn.js +1 -1
  797. package/dist/loader/index.cjs.js +1 -1
  798. package/dist/loader/index.es2017.js +1 -1
  799. package/dist/loader/index.js +2 -2
  800. package/dist/loader/package.json +1 -0
  801. package/dist/types/components/accordion/accordion.d.ts +2 -2
  802. package/dist/types/components/accordion-item/accordion-item.d.ts +7 -7
  803. package/dist/types/components/action/action.d.ts +8 -8
  804. package/dist/types/components/action/assets/action/t9n/index.d.ts +3 -0
  805. package/dist/types/components/action-bar/action-bar.d.ts +3 -3
  806. package/dist/types/components/action-bar/assets/action-bar/t9n/index.d.ts +4 -0
  807. package/dist/types/components/action-group/action-group.d.ts +2 -2
  808. package/dist/types/components/action-group/assets/action-group/t9n/index.d.ts +3 -0
  809. package/dist/types/components/action-menu/action-menu.d.ts +7 -7
  810. package/dist/types/components/action-pad/action-pad.d.ts +2 -2
  811. package/dist/types/components/action-pad/assets/action-pad/t9n/index.d.ts +4 -0
  812. package/dist/types/components/alert/alert.d.ts +12 -6
  813. package/dist/types/components/alert/assets/alert/t9n/index.d.ts +3 -0
  814. package/dist/types/components/block/assets/block/t9n/index.d.ts +6 -0
  815. package/dist/types/components/block/block.d.ts +22 -20
  816. package/dist/types/components/block/resources.d.ts +2 -1
  817. package/dist/types/components/block-section/assets/block-section/t9n/index.d.ts +4 -0
  818. package/dist/types/components/block-section/block-section.d.ts +12 -10
  819. package/dist/types/components/button/assets/button/t9n/index.d.ts +3 -0
  820. package/dist/types/components/button/button.d.ts +37 -21
  821. package/dist/types/components/card/assets/card/t9n/index.d.ts +5 -0
  822. package/dist/types/components/card/card.d.ts +11 -10
  823. package/dist/types/components/checkbox/checkbox.d.ts +16 -14
  824. package/dist/types/components/chip/assets/chip/t9n/index.d.ts +3 -0
  825. package/dist/types/components/chip/chip.d.ts +13 -13
  826. package/dist/types/components/color-picker/assets/color-picker/t9n/index.d.ts +21 -0
  827. package/dist/types/components/color-picker/color-picker.d.ts +39 -41
  828. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +9 -10
  829. package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +2 -2
  830. package/dist/types/components/combobox/assets/combobox/t9n/index.d.ts +3 -0
  831. package/dist/types/components/combobox/combobox.d.ts +36 -31
  832. package/dist/types/components/combobox-item/combobox-item.d.ts +15 -13
  833. package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +2 -2
  834. package/dist/types/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
  835. package/dist/types/components/date-picker/date-picker.d.ts +9 -4
  836. package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -3
  837. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +2 -0
  838. package/dist/types/components/dropdown/dropdown.d.ts +11 -6
  839. package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
  840. package/dist/types/components/fab/fab.d.ts +1 -1
  841. package/dist/types/components/filter/assets/filter/t9n/index.d.ts +4 -0
  842. package/dist/types/components/flow/flow.d.ts +1 -1
  843. package/dist/types/components/flow-item/flow-item.d.ts +12 -8
  844. package/dist/types/components/handle/handle.d.ts +1 -1
  845. package/dist/types/components/inline-editable/assets/inline-editable/t9n/index.d.ts +5 -0
  846. package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
  847. package/dist/types/components/input/assets/input/t9n/index.d.ts +4 -0
  848. package/dist/types/components/input/input.d.ts +31 -32
  849. package/dist/types/components/input-date-picker/input-date-picker.d.ts +61 -44
  850. package/dist/types/components/input-message/input-message.d.ts +6 -9
  851. package/dist/types/components/input-number/assets/input-number/t9n/index.d.ts +4 -0
  852. package/dist/types/components/input-number/input-number.d.ts +17 -19
  853. package/dist/types/components/input-text/assets/input-text/t9n/index.d.ts +4 -0
  854. package/dist/types/components/input-text/input-text.d.ts +10 -10
  855. package/dist/types/components/input-time-picker/input-time-picker.d.ts +41 -30
  856. package/dist/types/components/label/label.d.ts +10 -10
  857. package/dist/types/components/link/link.d.ts +8 -8
  858. package/dist/types/components/list/list.d.ts +1 -1
  859. package/dist/types/components/list-item/list-item.d.ts +2 -2
  860. package/dist/types/components/loader/loader.d.ts +9 -4
  861. package/dist/types/components/modal/assets/modal/t9n/index.d.ts +3 -0
  862. package/dist/types/components/modal/modal.d.ts +10 -10
  863. package/dist/types/components/notice/assets/notice/t9n/index.d.ts +3 -0
  864. package/dist/types/components/notice/notice.d.ts +7 -8
  865. package/dist/types/components/option/option.d.ts +2 -2
  866. package/dist/types/components/option-group/option-group.d.ts +1 -1
  867. package/dist/types/components/pagination/assets/pagination/t9n/index.d.ts +4 -0
  868. package/dist/types/components/pagination/pagination.d.ts +5 -8
  869. package/dist/types/components/panel/assets/panel/t9n/index.d.ts +6 -0
  870. package/dist/types/components/panel/panel.d.ts +21 -23
  871. package/dist/types/components/pick-list/assets/pick-list/t9n/index.d.ts +3 -0
  872. package/dist/types/components/pick-list/pick-list.d.ts +7 -7
  873. package/dist/types/components/pick-list-item/assets/pick-list-item/t9n/index.d.ts +3 -0
  874. package/dist/types/components/pick-list-item/pick-list-item.d.ts +8 -8
  875. package/dist/types/components/popover/assets/popover/t9n/index.d.ts +3 -0
  876. package/dist/types/components/popover/popover.d.ts +24 -17
  877. package/dist/types/components/popover-manager/popover-manager.d.ts +1 -1
  878. package/dist/types/components/progress/progress.d.ts +7 -2
  879. package/dist/types/components/radio-button/radio-button.d.ts +6 -6
  880. package/dist/types/components/radio-button-group/radio-button-group.d.ts +4 -4
  881. package/dist/types/components/radio-group/radio-group.d.ts +3 -3
  882. package/dist/types/components/radio-group-item/radio-group-item.d.ts +8 -8
  883. package/dist/types/components/rating/assets/rating/t9n/index.d.ts +4 -0
  884. package/dist/types/components/rating/rating.d.ts +4 -4
  885. package/dist/types/components/scrim/assets/scrim/t9n/index.d.ts +3 -0
  886. package/dist/types/components/scrim/scrim.d.ts +1 -1
  887. package/dist/types/components/select/select.d.ts +4 -4
  888. package/dist/types/components/shell-center-row/shell-center-row.d.ts +2 -2
  889. package/dist/types/components/shell-panel/assets/shell-panel/t9n/index.d.ts +3 -0
  890. package/dist/types/components/shell-panel/shell-panel.d.ts +6 -6
  891. package/dist/types/components/slider/slider.d.ts +24 -25
  892. package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
  893. package/dist/types/components/split-button/split-button.d.ts +9 -7
  894. package/dist/types/components/stepper/stepper.d.ts +7 -2
  895. package/dist/types/components/stepper-item/stepper-item.d.ts +15 -11
  896. package/dist/types/components/switch/switch.d.ts +6 -6
  897. package/dist/types/components/tab/tab.d.ts +3 -3
  898. package/dist/types/components/tab-title/tab-title.d.ts +8 -8
  899. package/dist/types/components/tabs/tabs.d.ts +3 -4
  900. package/dist/types/components/tile/tile.d.ts +5 -5
  901. package/dist/types/components/tile-select/tile-select.d.ts +5 -5
  902. package/dist/types/components/tile-select-group/tile-select-group.d.ts +2 -2
  903. package/dist/types/components/time-picker/assets/time-picker/t9n/index.d.ts +14 -0
  904. package/dist/types/components/time-picker/time-picker.d.ts +13 -8
  905. package/dist/types/components/tip/assets/tip/t9n/index.d.ts +3 -0
  906. package/dist/types/components/tip/tip.d.ts +3 -3
  907. package/dist/types/components/tip-manager/assets/tip-manager/t9n/index.d.ts +7 -0
  908. package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
  909. package/dist/types/components/tooltip/tooltip.d.ts +16 -7
  910. package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -1
  911. package/dist/types/components/tree/tree.d.ts +2 -2
  912. package/dist/types/components/tree/utils.d.ts +1 -0
  913. package/dist/types/components/tree-item/tree-item.d.ts +10 -4
  914. package/dist/types/components/value-list/assets/value-list/t9n/index.d.ts +7 -0
  915. package/dist/types/components/value-list/value-list.d.ts +16 -16
  916. package/dist/types/components/value-list-item/value-list-item.d.ts +4 -4
  917. package/dist/types/components.d.ts +1074 -1007
  918. package/dist/types/preact.d.ts +2 -1
  919. package/dist/types/stencil-public-runtime.d.ts +15 -4
  920. package/dist/types/utils/config.d.ts +7 -0
  921. package/dist/types/utils/date.d.ts +0 -20
  922. package/dist/types/utils/dom.d.ts +19 -0
  923. package/dist/types/utils/floating-ui/nonChromiumPlatformUtils.d.ts +16 -0
  924. package/dist/types/utils/floating-ui.d.ts +45 -2
  925. package/dist/types/utils/locale.d.ts +81 -11
  926. package/dist/types/utils/number.d.ts +3 -5
  927. package/dist/types/utils/observers.d.ts +5 -1
  928. package/dist/types/utils/t9n.d.ts +88 -0
  929. package/dist/types/utils/time.d.ts +29 -5
  930. package/hydrate/index.d.ts +1 -1
  931. package/hydrate/index.js +2523 -1974
  932. package/package.json +31 -28
  933. package/readme.md +2 -2
  934. package/dist/calcite/calcite.js +0 -131
  935. package/dist/calcite/p-01e0a7fb.system.entry.js +0 -6
  936. package/dist/calcite/p-026ebb31.system.entry.js +0 -6
  937. package/dist/calcite/p-0371e393.system.js +0 -6
  938. package/dist/calcite/p-049ccea8.system.entry.js +0 -6
  939. package/dist/calcite/p-06715c20.system.entry.js +0 -6
  940. package/dist/calcite/p-0b16f5a2.entry.js +0 -6
  941. package/dist/calcite/p-120e25b0.entry.js +0 -6
  942. package/dist/calcite/p-132242dd.system.js +0 -6
  943. package/dist/calcite/p-164c7993.system.entry.js +0 -6
  944. package/dist/calcite/p-180c45dd.js +0 -6
  945. package/dist/calcite/p-1927311f.system.js +0 -6
  946. package/dist/calcite/p-195b47d8.system.entry.js +0 -6
  947. package/dist/calcite/p-1a801c80.system.entry.js +0 -6
  948. package/dist/calcite/p-1c1808a9.system.js +0 -6
  949. package/dist/calcite/p-21e61d1f.system.entry.js +0 -6
  950. package/dist/calcite/p-2204aeed.entry.js +0 -6
  951. package/dist/calcite/p-2292f660.entry.js +0 -6
  952. package/dist/calcite/p-234334e8.system.js +0 -7
  953. package/dist/calcite/p-240b92fc.system.entry.js +0 -6
  954. package/dist/calcite/p-244e6a16.system.js +0 -6
  955. package/dist/calcite/p-24fc537c.entry.js +0 -6
  956. package/dist/calcite/p-25d9815f.entry.js +0 -6
  957. package/dist/calcite/p-2942f335.entry.js +0 -6
  958. package/dist/calcite/p-296b72ab.entry.js +0 -6
  959. package/dist/calcite/p-2a6d83f2.system.entry.js +0 -6
  960. package/dist/calcite/p-2bb5628e.system.entry.js +0 -6
  961. package/dist/calcite/p-2dc6b889.js +0 -6
  962. package/dist/calcite/p-33e2cc83.entry.js +0 -6
  963. package/dist/calcite/p-35df3a74.entry.js +0 -6
  964. package/dist/calcite/p-390ae661.entry.js +0 -6
  965. package/dist/calcite/p-3ba3650d.entry.js +0 -6
  966. package/dist/calcite/p-3c899e58.entry.js +0 -6
  967. package/dist/calcite/p-3d0903d1.entry.js +0 -6
  968. package/dist/calcite/p-3d277c10.entry.js +0 -6
  969. package/dist/calcite/p-3fe14113.entry.js +0 -6
  970. package/dist/calcite/p-421fa896.entry.js +0 -6
  971. package/dist/calcite/p-438e56fd.entry.js +0 -6
  972. package/dist/calcite/p-43f9bb67.system.js +0 -6
  973. package/dist/calcite/p-4450a62e.system.entry.js +0 -6
  974. package/dist/calcite/p-4591d14e.entry.js +0 -6
  975. package/dist/calcite/p-47537b0f.system.entry.js +0 -6
  976. package/dist/calcite/p-4776fee2.entry.js +0 -6
  977. package/dist/calcite/p-4a3dcaab.entry.js +0 -6
  978. package/dist/calcite/p-4b4c47b4.system.js +0 -6
  979. package/dist/calcite/p-4bd4b21b.system.js +0 -12
  980. package/dist/calcite/p-4d9e93ae.system.js +0 -6
  981. package/dist/calcite/p-50148e92.system.entry.js +0 -6
  982. package/dist/calcite/p-524ac193.system.js +0 -6
  983. package/dist/calcite/p-54dc5c4f.system.entry.js +0 -6
  984. package/dist/calcite/p-55051fef.js +0 -6
  985. package/dist/calcite/p-576b3dfd.entry.js +0 -6
  986. package/dist/calcite/p-57c051cd.system.entry.js +0 -6
  987. package/dist/calcite/p-580abaa0.system.entry.js +0 -6
  988. package/dist/calcite/p-59e4f11d.entry.js +0 -6
  989. package/dist/calcite/p-5b7d6465.system.js +0 -6
  990. package/dist/calcite/p-5ee0d6fc.entry.js +0 -6
  991. package/dist/calcite/p-5ff62aa9.system.entry.js +0 -6
  992. package/dist/calcite/p-61508652.system.js +0 -6
  993. package/dist/calcite/p-619ea68d.system.entry.js +0 -6
  994. package/dist/calcite/p-638c0f83.system.js +0 -6
  995. package/dist/calcite/p-63be4875.js +0 -7
  996. package/dist/calcite/p-661983f6.system.js +0 -6
  997. package/dist/calcite/p-66a8d6f6.entry.js +0 -6
  998. package/dist/calcite/p-67a854c0.entry.js +0 -6
  999. package/dist/calcite/p-680d6cf6.entry.js +0 -6
  1000. package/dist/calcite/p-6941ffe8.entry.js +0 -6
  1001. package/dist/calcite/p-6ad53382.system.entry.js +0 -6
  1002. package/dist/calcite/p-6c421b57.entry.js +0 -6
  1003. package/dist/calcite/p-6ca84ba8.entry.js +0 -6
  1004. package/dist/calcite/p-6d884dae.entry.js +0 -6
  1005. package/dist/calcite/p-6e8a4081.system.entry.js +0 -6
  1006. package/dist/calcite/p-70c06ad4.system.entry.js +0 -6
  1007. package/dist/calcite/p-71650d4e.system.entry.js +0 -6
  1008. package/dist/calcite/p-74b0148d.system.js +0 -6
  1009. package/dist/calcite/p-75cb1d5b.system.entry.js +0 -6
  1010. package/dist/calcite/p-75f64c6d.entry.js +0 -6
  1011. package/dist/calcite/p-7c550d9b.entry.js +0 -6
  1012. package/dist/calcite/p-7ed2f59f.system.entry.js +0 -6
  1013. package/dist/calcite/p-85c6e58a.system.entry.js +0 -6
  1014. package/dist/calcite/p-89a7e6bc.entry.js +0 -6
  1015. package/dist/calcite/p-8c66c36c.system.js +0 -6
  1016. package/dist/calcite/p-8c95d7a0.entry.js +0 -6
  1017. package/dist/calcite/p-8e41d2bb.system.js +0 -6
  1018. package/dist/calcite/p-8ee1498f.entry.js +0 -6
  1019. package/dist/calcite/p-92038736.system.entry.js +0 -6
  1020. package/dist/calcite/p-9241c6a5.entry.js +0 -6
  1021. package/dist/calcite/p-93970959.system.entry.js +0 -6
  1022. package/dist/calcite/p-960c76e9.system.entry.js +0 -6
  1023. package/dist/calcite/p-96236e5c.entry.js +0 -6
  1024. package/dist/calcite/p-9a9fbf22.entry.js +0 -6
  1025. package/dist/calcite/p-9ae4b555.entry.js +0 -6
  1026. package/dist/calcite/p-9aebe377.entry.js +0 -6
  1027. package/dist/calcite/p-9b43c40c.system.js +0 -6
  1028. package/dist/calcite/p-9ca4f290.system.js +0 -6
  1029. package/dist/calcite/p-9dccf007.js +0 -6
  1030. package/dist/calcite/p-9ef7904e.js +0 -6
  1031. package/dist/calcite/p-a304a6b7.system.entry.js +0 -6
  1032. package/dist/calcite/p-a4cff117.system.js +0 -6
  1033. package/dist/calcite/p-a726bcff.entry.js +0 -6
  1034. package/dist/calcite/p-a9221536.system.js +0 -6
  1035. package/dist/calcite/p-aa6d9dcc.system.entry.js +0 -6
  1036. package/dist/calcite/p-ab4d0b8e.entry.js +0 -6
  1037. package/dist/calcite/p-abdc8c60.system.entry.js +0 -6
  1038. package/dist/calcite/p-abf5fb38.entry.js +0 -6
  1039. package/dist/calcite/p-ad22f173.entry.js +0 -6
  1040. package/dist/calcite/p-ad68bd9e.system.entry.js +0 -6
  1041. package/dist/calcite/p-ad884bc4.system.js +0 -6
  1042. package/dist/calcite/p-ae2518f0.system.js +0 -6
  1043. package/dist/calcite/p-aef54c5f.system.entry.js +0 -6
  1044. package/dist/calcite/p-b084a958.entry.js +0 -6
  1045. package/dist/calcite/p-b10ce7f4.system.entry.js +0 -6
  1046. package/dist/calcite/p-b1859703.system.entry.js +0 -6
  1047. package/dist/calcite/p-b29859b5.system.entry.js +0 -6
  1048. package/dist/calcite/p-b3004fac.entry.js +0 -6
  1049. package/dist/calcite/p-b51eb86c.system.entry.js +0 -6
  1050. package/dist/calcite/p-b5ef1019.entry.js +0 -6
  1051. package/dist/calcite/p-b6f004c4.entry.js +0 -6
  1052. package/dist/calcite/p-b7941592.js +0 -6
  1053. package/dist/calcite/p-b795148e.entry.js +0 -6
  1054. package/dist/calcite/p-b9fb0207.system.js +0 -6
  1055. package/dist/calcite/p-bb36ddb1.system.entry.js +0 -6
  1056. package/dist/calcite/p-bbc5fa4d.system.entry.js +0 -6
  1057. package/dist/calcite/p-bf0d4fa9.system.entry.js +0 -6
  1058. package/dist/calcite/p-c18b2f37.system.entry.js +0 -6
  1059. package/dist/calcite/p-c20b0a94.system.entry.js +0 -6
  1060. package/dist/calcite/p-c311d80b.entry.js +0 -6
  1061. package/dist/calcite/p-c3380c86.system.entry.js +0 -6
  1062. package/dist/calcite/p-c370487d.entry.js +0 -6
  1063. package/dist/calcite/p-c3a76a69.js +0 -6
  1064. package/dist/calcite/p-c75e4948.system.entry.js +0 -6
  1065. package/dist/calcite/p-c9179809.entry.js +0 -6
  1066. package/dist/calcite/p-ca72c4da.system.entry.js +0 -6
  1067. package/dist/calcite/p-cd3d8542.system.js +0 -6
  1068. package/dist/calcite/p-ce6b62ad.entry.js +0 -6
  1069. package/dist/calcite/p-d1131b5d.system.entry.js +0 -6
  1070. package/dist/calcite/p-d18b3ee8.entry.js +0 -6
  1071. package/dist/calcite/p-d30e6a15.system.entry.js +0 -6
  1072. package/dist/calcite/p-d6627d94.system.entry.js +0 -6
  1073. package/dist/calcite/p-d686deea.system.entry.js +0 -6
  1074. package/dist/calcite/p-dc294613.system.js +0 -6
  1075. package/dist/calcite/p-dc346223.system.js +0 -6
  1076. package/dist/calcite/p-dcb7c0a5.system.entry.js +0 -6
  1077. package/dist/calcite/p-e0ecae58.system.entry.js +0 -6
  1078. package/dist/calcite/p-e1799b74.system.js +0 -6
  1079. package/dist/calcite/p-e1e4265f.system.js +0 -6
  1080. package/dist/calcite/p-e30b9b3a.entry.js +0 -6
  1081. package/dist/calcite/p-e836bdbf.system.entry.js +0 -6
  1082. package/dist/calcite/p-e8c8a9c4.js +0 -6
  1083. package/dist/calcite/p-eb000d01.system.entry.js +0 -6
  1084. package/dist/calcite/p-ec32dce1.entry.js +0 -6
  1085. package/dist/calcite/p-ed965a88.entry.js +0 -6
  1086. package/dist/calcite/p-eddb3738.entry.js +0 -6
  1087. package/dist/calcite/p-f22e79c7.entry.js +0 -6
  1088. package/dist/calcite/p-f69aa7a0.system.entry.js +0 -6
  1089. package/dist/calcite/p-f6a26297.system.entry.js +0 -6
  1090. package/dist/calcite/p-fbb251a6.system.entry.js +0 -6
  1091. package/dist/calcite/p-fc374bdb.system.entry.js +0 -6
  1092. package/dist/calcite/p-fd76be2a.system.entry.js +0 -6
  1093. package/dist/calcite/p-ff26531e.system.entry.js +0 -6
  1094. package/dist/cjs/globalAttributes-2783566c.js +0 -335
  1095. package/dist/cjs/observers-82a85a0c.js +0 -27
  1096. package/dist/components/globalAttributes.js +0 -324
  1097. package/dist/custom-elements/index.d.ts +0 -597
  1098. package/dist/custom-elements/index.js +0 -28881
  1099. package/dist/esm/globalAttributes-9a3874c6.js +0 -324
  1100. package/dist/esm/observers-251355d3.js +0 -25
  1101. package/dist/esm-es5/ExpandToggle-51cda39f.js +0 -6
  1102. package/dist/esm-es5/Heading-3a6ae137.js +0 -6
  1103. package/dist/esm-es5/app-globals-8ea1c0e3.js +0 -6
  1104. package/dist/esm-es5/array-2db27e14.js +0 -6
  1105. package/dist/esm-es5/calcite-accordion_2.entry.js +0 -6
  1106. package/dist/esm-es5/calcite-action-bar.entry.js +0 -6
  1107. package/dist/esm-es5/calcite-action-group.entry.js +0 -6
  1108. package/dist/esm-es5/calcite-action-menu.entry.js +0 -6
  1109. package/dist/esm-es5/calcite-action-pad.entry.js +0 -6
  1110. package/dist/esm-es5/calcite-action.entry.js +0 -6
  1111. package/dist/esm-es5/calcite-alert.entry.js +0 -6
  1112. package/dist/esm-es5/calcite-avatar.entry.js +0 -6
  1113. package/dist/esm-es5/calcite-block_2.entry.js +0 -6
  1114. package/dist/esm-es5/calcite-button.entry.js +0 -6
  1115. package/dist/esm-es5/calcite-card.entry.js +0 -6
  1116. package/dist/esm-es5/calcite-checkbox.entry.js +0 -6
  1117. package/dist/esm-es5/calcite-chip.entry.js +0 -6
  1118. package/dist/esm-es5/calcite-color-picker_3.entry.js +0 -6
  1119. package/dist/esm-es5/calcite-combobox_3.entry.js +0 -6
  1120. package/dist/esm-es5/calcite-date-picker_4.entry.js +0 -6
  1121. package/dist/esm-es5/calcite-dropdown_3.entry.js +0 -6
  1122. package/dist/esm-es5/calcite-fab.entry.js +0 -6
  1123. package/dist/esm-es5/calcite-filter.entry.js +0 -6
  1124. package/dist/esm-es5/calcite-flow-item.entry.js +0 -6
  1125. package/dist/esm-es5/calcite-flow.entry.js +0 -6
  1126. package/dist/esm-es5/calcite-graph_2.entry.js +0 -6
  1127. package/dist/esm-es5/calcite-handle.entry.js +0 -6
  1128. package/dist/esm-es5/calcite-icon.entry.js +0 -6
  1129. package/dist/esm-es5/calcite-inline-editable.entry.js +0 -6
  1130. package/dist/esm-es5/calcite-input-date-picker.entry.js +0 -6
  1131. package/dist/esm-es5/calcite-input-message.entry.js +0 -6
  1132. package/dist/esm-es5/calcite-input-number.entry.js +0 -6
  1133. package/dist/esm-es5/calcite-input-text.entry.js +0 -6
  1134. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +0 -6
  1135. package/dist/esm-es5/calcite-input.entry.js +0 -6
  1136. package/dist/esm-es5/calcite-label.entry.js +0 -6
  1137. package/dist/esm-es5/calcite-link.entry.js +0 -6
  1138. package/dist/esm-es5/calcite-list_3.entry.js +0 -6
  1139. package/dist/esm-es5/calcite-loader.entry.js +0 -6
  1140. package/dist/esm-es5/calcite-modal.entry.js +0 -6
  1141. package/dist/esm-es5/calcite-notice.entry.js +0 -6
  1142. package/dist/esm-es5/calcite-option_3.entry.js +0 -6
  1143. package/dist/esm-es5/calcite-pagination.entry.js +0 -6
  1144. package/dist/esm-es5/calcite-panel.entry.js +0 -6
  1145. package/dist/esm-es5/calcite-pick-list_3.entry.js +0 -6
  1146. package/dist/esm-es5/calcite-popover_2.entry.js +0 -6
  1147. package/dist/esm-es5/calcite-progress.entry.js +0 -6
  1148. package/dist/esm-es5/calcite-radio-button-group.entry.js +0 -6
  1149. package/dist/esm-es5/calcite-radio-button.entry.js +0 -6
  1150. package/dist/esm-es5/calcite-radio-group_2.entry.js +0 -6
  1151. package/dist/esm-es5/calcite-rating.entry.js +0 -6
  1152. package/dist/esm-es5/calcite-scrim.entry.js +0 -6
  1153. package/dist/esm-es5/calcite-shell_3.entry.js +0 -6
  1154. package/dist/esm-es5/calcite-sortable-list.entry.js +0 -6
  1155. package/dist/esm-es5/calcite-split-button.entry.js +0 -6
  1156. package/dist/esm-es5/calcite-stepper_2.entry.js +0 -6
  1157. package/dist/esm-es5/calcite-switch.entry.js +0 -6
  1158. package/dist/esm-es5/calcite-tab_4.entry.js +0 -6
  1159. package/dist/esm-es5/calcite-tile-select_2.entry.js +0 -6
  1160. package/dist/esm-es5/calcite-tile.entry.js +0 -6
  1161. package/dist/esm-es5/calcite-tip_3.entry.js +0 -6
  1162. package/dist/esm-es5/calcite-tooltip_2.entry.js +0 -6
  1163. package/dist/esm-es5/calcite-tree_2.entry.js +0 -6
  1164. package/dist/esm-es5/calcite-value-list_2.entry.js +0 -6
  1165. package/dist/esm-es5/calcite.js +0 -6
  1166. package/dist/esm-es5/conditionalSlot-a8df5b3f.js +0 -6
  1167. package/dist/esm-es5/debounce-d31cc476.js +0 -6
  1168. package/dist/esm-es5/dom-24af003b.js +0 -6
  1169. package/dist/esm-es5/filter-72316b3f.js +0 -6
  1170. package/dist/esm-es5/floating-ui-10f8689c.js +0 -6
  1171. package/dist/esm-es5/form-390fdf0f.js +0 -6
  1172. package/dist/esm-es5/globalAttributes-9a3874c6.js +0 -6
  1173. package/dist/esm-es5/guid-b68b1941.js +0 -6
  1174. package/dist/esm-es5/index-8384b5ec.js +0 -7
  1175. package/dist/esm-es5/interactive-f2ec7825.js +0 -6
  1176. package/dist/esm-es5/interfaces-ba98f966.js +0 -6
  1177. package/dist/esm-es5/key-ed874b7d.js +0 -6
  1178. package/dist/esm-es5/label-78f72c1a.js +0 -6
  1179. package/dist/esm-es5/loader.js +0 -6
  1180. package/dist/esm-es5/math-2893cee3.js +0 -6
  1181. package/dist/esm-es5/observers-251355d3.js +0 -6
  1182. package/dist/esm-es5/openCloseComponent-0a4c6226.js +0 -6
  1183. package/dist/esm-es5/resources-0497ae87.js +0 -6
  1184. package/dist/esm-es5/resources-32c242fa.js +0 -6
  1185. package/dist/esm-es5/resources-351f6f14.js +0 -6
  1186. package/dist/esm-es5/resources-3acd3089.js +0 -6
  1187. package/dist/esm-es5/resources-ea0a60b4.js +0 -6
  1188. package/dist/esm-es5/resources-f8aa3ed1.js +0 -6
  1189. package/dist/esm-es5/sortable.esm-3d78dbdc.js +0 -12
  1190. package/dist/esm-es5/utils-a7e4e0e1.js +0 -6
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-beta.95
4
+ * v1.0.0-beta.97
5
5
  */
6
- import { Component, Element, Event, h, Listen, Method, Prop, State, Watch } from "@stencil/core";
6
+ import { h } from "@stencil/core";
7
7
  import Color from "color";
8
8
  import { CSS, DEFAULT_COLOR, DEFAULT_STORAGE_KEY_PREFIX, DIMENSIONS, HSV_LIMITS, RGB_LIMITS, TEXT } from "./resources";
9
- import { focusElement, getElementDir } from "../../utils/dom";
9
+ import { focusElement, getElementDir, isPrimaryPointerButton } from "../../utils/dom";
10
10
  import { colorEqual, CSSColorMode, normalizeHex, parseMode } from "./utils";
11
11
  import { throttle } from "lodash-es";
12
12
  import { clamp } from "../../utils/math";
@@ -23,12 +23,16 @@ export class ColorPicker {
23
23
  //
24
24
  //--------------------------------------------------------------------------
25
25
  /**
26
- * When false, empty color (null) will be allowed as a value. Otherwise, a color value is always enforced by the component.
26
+ * When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.
27
27
  *
28
- * When true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty.
28
+ * When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.
29
29
  */
30
30
  this.allowEmpty = false;
31
- /** specify the appearance - solid (containing border), or minimal (no containing border) */
31
+ /**
32
+ * Specifies the appearance style of the component -
33
+ *
34
+ * `"solid"` (containing border) or `"minimal"` (no containing border).
35
+ */
32
36
  this.appearance = "solid";
33
37
  /**
34
38
  * Internal prop for advanced use-cases.
@@ -37,146 +41,141 @@ export class ColorPicker {
37
41
  */
38
42
  this.color = DEFAULT_COLOR;
39
43
  /**
40
- * When true, disabled prevents user interaction.
44
+ * When `true`, interaction is prevented and the component is displayed with lower opacity.
41
45
  */
42
46
  this.disabled = false;
43
47
  /**
44
- * The format of the value property.
48
+ * The format of `value`.
45
49
  *
46
- * When "auto", the format will be inferred from `value` when set.
50
+ * When `"auto"`, the format will be inferred from `value` when set.
47
51
  *
48
52
  * @default "auto"
49
53
  */
50
54
  this.format = defaultFormat;
51
- /** When true, hides the hex input */
55
+ /** When `true`, hides the Hex input. */
52
56
  this.hideHex = false;
53
- /** When true, hides the RGB/HSV channel inputs */
57
+ /** When `true`, hides the RGB/HSV channel inputs. */
54
58
  this.hideChannels = false;
55
- /** When true, hides the saved colors section */
59
+ /** When `true`, hides the saved colors section. */
56
60
  this.hideSaved = false;
57
61
  /**
58
- * Label used for the blue channel
62
+ * Accessible name for the RGB section's blue channel.
59
63
  *
60
64
  * @default "B"
61
65
  */
62
66
  this.intlB = TEXT.b;
63
67
  /**
64
- * Label used for the blue channel description
68
+ * Accessible name for the RGB section's blue channel description.
65
69
  *
66
70
  * @default "Blue"
67
71
  */
68
72
  this.intlBlue = TEXT.blue;
69
73
  /**
70
- * Label used for the delete color button.
74
+ * Accessible name for the delete color button.
71
75
  *
72
76
  * @default "Delete color"
73
77
  */
74
78
  this.intlDeleteColor = TEXT.deleteColor;
75
79
  /**
76
- * Label used for the green channel
80
+ * Accessible name for the RGB section's green channel.
77
81
  *
78
82
  * @default "G"
79
83
  */
80
84
  this.intlG = TEXT.g;
81
85
  /**
82
- * Label used for the green channel description
86
+ * Accessible name for the RGB section's green channel description.
83
87
  *
84
88
  * @default "Green"
85
89
  */
86
90
  this.intlGreen = TEXT.green;
87
91
  /**
88
- * Label used for the hue channel
92
+ * Accessible name for the HSV section's hue channel.
89
93
  *
90
94
  * @default "H"
91
95
  */
92
96
  this.intlH = TEXT.h;
93
97
  /**
94
- * Label used for the HSV mode
98
+ * Accessible name for the HSV mode.
95
99
  *
96
100
  * @default "HSV"
97
101
  */
98
102
  this.intlHsv = TEXT.hsv;
99
103
  /**
100
- * Label used for the hex input
104
+ * Accessible name for the Hex input.
101
105
  *
102
106
  * @default "Hex"
103
107
  */
104
108
  this.intlHex = TEXT.hex;
105
109
  /**
106
- * Label used for the hue channel description
110
+ * Accessible name for the HSV section's hue channel description.
107
111
  *
108
112
  * @default "Hue"
109
113
  */
110
114
  this.intlHue = TEXT.hue;
111
115
  /**
112
- * Label used for the hex input when there is no color selected.
116
+ * Accessible name for the Hex input when there is no color selected.
113
117
  *
114
118
  * @default "No color"
115
119
  */
116
120
  this.intlNoColor = TEXT.noColor;
117
121
  /**
118
- * Label used for the red channel
122
+ * Accessible name for the RGB section's red channel.
119
123
  *
120
124
  * @default "R"
121
125
  */
122
126
  this.intlR = TEXT.r;
123
127
  /**
124
- * Label used for the red channel description
128
+ * Accessible name for the RGB section's red channel description.
125
129
  *
126
130
  * @default "Red"
127
131
  */
128
132
  this.intlRed = TEXT.red;
129
133
  /**
130
- * Label used for the RGB mode
134
+ * Accessible name for the RGB mode.
131
135
  *
132
136
  * @default "RGB"
133
137
  */
134
138
  this.intlRgb = TEXT.rgb;
135
139
  /**
136
- * Label used for the saturation channel
140
+ * Accessible name for the HSV section's saturation channel.
137
141
  *
138
142
  * @default "S"
139
143
  */
140
144
  this.intlS = TEXT.s;
141
145
  /**
142
- * Label used for the saturation channel description
146
+ * Accessible name for the HSV section's saturation channel description.
143
147
  *
144
148
  * @default "Saturation"
145
149
  */
146
150
  this.intlSaturation = TEXT.saturation;
147
151
  /**
148
- * Label used for the save color button.
152
+ * Accessible name for the save color button.
149
153
  *
150
154
  * @default "Save color"
151
155
  */
152
156
  this.intlSaveColor = TEXT.saveColor;
153
157
  /**
154
- * Label used for the saved colors section
158
+ * Accessible name for the saved colors section.
155
159
  *
156
160
  * @default "Saved"
157
161
  */
158
162
  this.intlSaved = TEXT.saved;
159
163
  /**
160
- * Label used for the value channel
164
+ * Accessible name for the HSV section's value channel.
161
165
  *
162
166
  * @default "V"
163
167
  */
164
168
  this.intlV = TEXT.v;
165
169
  /**
166
- * Label used for the
170
+ * Accessible name for the HSV section's value channel description.
167
171
  *
168
172
  * @default "Value"
169
173
  */
170
174
  this.intlValue = TEXT.value;
171
- /**
172
- * The scale of the color picker.
173
- */
175
+ /** Specifies the size of the component. */
174
176
  this.scale = "m";
175
177
  /**
176
- * The component's value.
177
- *
178
- * This value can be either a CSS color string,
179
- * a RGB, HSL or HSV object.
178
+ * The component's value, where the value can be a CSS color string, or a RGB, HSL or HSV object.
180
179
  *
181
180
  * The type will be preserved as the color is updated.
182
181
  *
@@ -298,6 +297,9 @@ export class ColorPicker {
298
297
  };
299
298
  this.handleColorFieldAndSliderPointerDown = (event) => {
300
299
  var _a, _b;
300
+ if (!isPrimaryPointerButton(event)) {
301
+ return;
302
+ }
301
303
  const { offsetX, offsetY } = event;
302
304
  const region = this.getCanvasRegion(offsetY);
303
305
  if (region === "color-field") {
@@ -317,7 +319,10 @@ export class ColorPicker {
317
319
  this.activeColorFieldAndSliderRect =
318
320
  this.fieldAndSliderRenderingContext.canvas.getBoundingClientRect();
319
321
  };
320
- this.globalPointerUpHandler = () => {
322
+ this.globalPointerUpHandler = (event) => {
323
+ if (!isPrimaryPointerButton(event)) {
324
+ return;
325
+ }
321
326
  const previouslyDragging = this.sliderThumbState === "drag" || this.hueThumbState === "drag";
322
327
  this.hueThumbState = "idle";
323
328
  this.sliderThumbState = "idle";
@@ -445,10 +450,9 @@ export class ColorPicker {
445
450
  ? [intlRed, intlGreen, intlBlue]
446
451
  : [intlHue, intlSaturation, intlValue];
447
452
  const direction = getElementDir(this.el);
448
- return (h("calcite-tab", { active: active, class: CSS.control, key: channelMode },
449
- h("div", { class: CSS.channels, dir: "ltr" }, channels.map((channel, index) =>
450
- /* the channel container is ltr, so we apply the host's direction */
451
- this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
453
+ return (h("calcite-tab", { active: active, class: CSS.control, key: channelMode }, h("div", { class: CSS.channels, dir: "ltr" }, channels.map((channel, index) =>
454
+ /* the channel container is ltr, so we apply the host's direction */
455
+ this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
452
456
  };
453
457
  this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
454
458
  this.deleteColor = () => {
@@ -624,42 +628,21 @@ export class ColorPicker {
624
628
  const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR.hue()) / HSV_LIMITS.h;
625
629
  const noColor = color === null;
626
630
  const vertical = scopeOrientation === "vertical";
627
- return (h("div", { class: CSS.container },
628
- h("div", { class: CSS.colorFieldAndSliderWrap },
629
- h("canvas", { class: {
630
- [CSS.colorFieldAndSlider]: true,
631
- [CSS.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
632
- }, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }),
633
- h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS.scope]: true, [CSS.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }),
634
- h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR.round().hue(), class: { [CSS.scope]: true, [CSS.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })),
635
- hideHex && hideChannels ? null : (h("div", { class: {
636
- [CSS.controlSection]: true,
637
- [CSS.section]: true
638
- } },
639
- hideHex ? null : (h("div", { class: CSS.hexOptions },
640
- h("span", { class: {
641
- [CSS.header]: true,
642
- [CSS.headerHex]: true
643
- } }, intlHex),
644
- h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))),
645
- hideChannels ? null : (h("calcite-tabs", { class: {
646
- [CSS.colorModeContainer]: true,
647
- [CSS.splitSection]: true
648
- }, scale: hexInputScale },
649
- h("calcite-tab-nav", { slot: "tab-nav" },
650
- this.renderChannelsTabTitle("rgb"),
651
- this.renderChannelsTabTitle("hsv")),
652
- this.renderChannelsTab("rgb"),
653
- this.renderChannelsTab("hsv"))))),
654
- hideSaved ? null : (h("div", { class: { [CSS.savedColorsSection]: true, [CSS.section]: true } },
655
- h("div", { class: CSS.header },
656
- h("label", null, intlSaved),
657
- h("div", { class: CSS.savedColorsButtons },
658
- h("calcite-button", { appearance: "transparent", class: CSS.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }),
659
- h("calcite-button", { appearance: "transparent", class: CSS.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))),
660
- savedColors.length > 0 ? (h("div", { class: CSS.savedColors }, [
661
- ...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
662
- ])) : null))));
631
+ return (h("div", { class: CSS.container }, h("div", { class: CSS.colorFieldAndSliderWrap }, h("canvas", { class: {
632
+ [CSS.colorFieldAndSlider]: true,
633
+ [CSS.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
634
+ }, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS.scope]: true, [CSS.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR.round().hue(), class: { [CSS.scope]: true, [CSS.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (h("div", { class: {
635
+ [CSS.controlSection]: true,
636
+ [CSS.section]: true
637
+ } }, hideHex ? null : (h("div", { class: CSS.hexOptions }, h("span", { class: {
638
+ [CSS.header]: true,
639
+ [CSS.headerHex]: true
640
+ } }, intlHex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (h("calcite-tabs", { class: {
641
+ [CSS.colorModeContainer]: true,
642
+ [CSS.splitSection]: true
643
+ }, scale: hexInputScale }, h("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS.savedColorsSection]: true, [CSS.section]: true } }, h("div", { class: CSS.header }, h("label", null, intlSaved), h("div", { class: CSS.savedColorsButtons }, h("calcite-button", { appearance: "transparent", class: CSS.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), h("calcite-button", { appearance: "transparent", class: CSS.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (h("div", { class: CSS.savedColors }, [
644
+ ...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
645
+ ])) : null))));
663
646
  }
664
647
  // --------------------------------------------------------------------------
665
648
  //
@@ -845,751 +828,772 @@ export class ColorPicker {
845
828
  }
846
829
  static get is() { return "calcite-color-picker"; }
847
830
  static get encapsulation() { return "shadow"; }
848
- static get originalStyleUrls() { return {
849
- "$": ["color-picker.scss"]
850
- }; }
851
- static get styleUrls() { return {
852
- "$": ["color-picker.css"]
853
- }; }
854
- static get properties() { return {
855
- "allowEmpty": {
856
- "type": "boolean",
857
- "mutable": false,
858
- "complexType": {
859
- "original": "boolean",
860
- "resolved": "boolean",
861
- "references": {}
862
- },
863
- "required": false,
864
- "optional": false,
865
- "docs": {
866
- "tags": [],
867
- "text": "When false, empty color (null) will be allowed as a value. Otherwise, a color value is always enforced by the component.\n\nWhen true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty."
868
- },
869
- "attribute": "allow-empty",
870
- "reflect": true,
871
- "defaultValue": "false"
872
- },
873
- "appearance": {
874
- "type": "string",
875
- "mutable": false,
876
- "complexType": {
877
- "original": "ColorAppearance",
878
- "resolved": "\"default\" | \"minimal\" | \"solid\"",
879
- "references": {
880
- "ColorAppearance": {
881
- "location": "import",
882
- "path": "./interfaces"
831
+ static get originalStyleUrls() {
832
+ return {
833
+ "$": ["color-picker.scss"]
834
+ };
835
+ }
836
+ static get styleUrls() {
837
+ return {
838
+ "$": ["color-picker.css"]
839
+ };
840
+ }
841
+ static get properties() {
842
+ return {
843
+ "allowEmpty": {
844
+ "type": "boolean",
845
+ "mutable": false,
846
+ "complexType": {
847
+ "original": "boolean",
848
+ "resolved": "boolean",
849
+ "references": {}
850
+ },
851
+ "required": false,
852
+ "optional": false,
853
+ "docs": {
854
+ "tags": [],
855
+ "text": "When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.\n\nWhen `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`."
856
+ },
857
+ "attribute": "allow-empty",
858
+ "reflect": true,
859
+ "defaultValue": "false"
860
+ },
861
+ "appearance": {
862
+ "type": "string",
863
+ "mutable": false,
864
+ "complexType": {
865
+ "original": "ColorAppearance",
866
+ "resolved": "\"default\" | \"minimal\" | \"solid\"",
867
+ "references": {
868
+ "ColorAppearance": {
869
+ "location": "import",
870
+ "path": "./interfaces"
871
+ }
883
872
  }
884
- }
885
- },
886
- "required": false,
887
- "optional": false,
888
- "docs": {
889
- "tags": [],
890
- "text": "specify the appearance - solid (containing border), or minimal (no containing border)"
891
- },
892
- "attribute": "appearance",
893
- "reflect": true,
894
- "defaultValue": "\"solid\""
895
- },
896
- "color": {
897
- "type": "unknown",
898
- "mutable": true,
899
- "complexType": {
900
- "original": "InternalColor | null",
901
- "resolved": "Color<ColorParam>",
902
- "references": {
903
- "InternalColor": {
904
- "location": "import",
905
- "path": "./interfaces"
873
+ },
874
+ "required": false,
875
+ "optional": false,
876
+ "docs": {
877
+ "tags": [],
878
+ "text": "Specifies the appearance style of the component -\n\n`\"solid\"` (containing border) or `\"minimal\"` (no containing border)."
879
+ },
880
+ "attribute": "appearance",
881
+ "reflect": true,
882
+ "defaultValue": "\"solid\""
883
+ },
884
+ "color": {
885
+ "type": "unknown",
886
+ "mutable": true,
887
+ "complexType": {
888
+ "original": "InternalColor | null",
889
+ "resolved": "Color<ColorParam>",
890
+ "references": {
891
+ "InternalColor": {
892
+ "location": "import",
893
+ "path": "./interfaces"
894
+ }
906
895
  }
907
- }
908
- },
909
- "required": false,
910
- "optional": false,
911
- "docs": {
912
- "tags": [{
913
- "name": "internal",
914
- "text": undefined
915
- }],
916
- "text": "Internal prop for advanced use-cases."
917
- },
918
- "defaultValue": "DEFAULT_COLOR"
919
- },
920
- "disabled": {
921
- "type": "boolean",
922
- "mutable": false,
923
- "complexType": {
924
- "original": "boolean",
925
- "resolved": "boolean",
926
- "references": {}
927
- },
928
- "required": false,
929
- "optional": false,
930
- "docs": {
931
- "tags": [],
932
- "text": "When true, disabled prevents user interaction."
933
- },
934
- "attribute": "disabled",
935
- "reflect": true,
936
- "defaultValue": "false"
937
- },
938
- "format": {
939
- "type": "string",
940
- "mutable": false,
941
- "complexType": {
942
- "original": "Format",
943
- "resolved": "\"auto\" | \"hex\" | \"hexa\" | \"hsl\" | \"hsl-css\" | \"hsla\" | \"hsla-css\" | \"hsv\" | \"hsva\" | \"rgb\" | \"rgb-css\" | \"rgba\" | \"rgba-css\"",
944
- "references": {
945
- "Format": {
946
- "location": "import",
947
- "path": "./utils"
896
+ },
897
+ "required": false,
898
+ "optional": false,
899
+ "docs": {
900
+ "tags": [{
901
+ "name": "internal",
902
+ "text": undefined
903
+ }],
904
+ "text": "Internal prop for advanced use-cases."
905
+ },
906
+ "defaultValue": "DEFAULT_COLOR"
907
+ },
908
+ "disabled": {
909
+ "type": "boolean",
910
+ "mutable": false,
911
+ "complexType": {
912
+ "original": "boolean",
913
+ "resolved": "boolean",
914
+ "references": {}
915
+ },
916
+ "required": false,
917
+ "optional": false,
918
+ "docs": {
919
+ "tags": [],
920
+ "text": "When `true`, interaction is prevented and the component is displayed with lower opacity."
921
+ },
922
+ "attribute": "disabled",
923
+ "reflect": true,
924
+ "defaultValue": "false"
925
+ },
926
+ "format": {
927
+ "type": "string",
928
+ "mutable": false,
929
+ "complexType": {
930
+ "original": "Format",
931
+ "resolved": "\"auto\" | \"hex\" | \"hexa\" | \"hsl\" | \"hsl-css\" | \"hsla\" | \"hsla-css\" | \"hsv\" | \"hsva\" | \"rgb\" | \"rgb-css\" | \"rgba\" | \"rgba-css\"",
932
+ "references": {
933
+ "Format": {
934
+ "location": "import",
935
+ "path": "./utils"
936
+ }
948
937
  }
949
- }
950
- },
951
- "required": false,
952
- "optional": false,
953
- "docs": {
954
- "tags": [{
955
- "name": "default",
956
- "text": "\"auto\""
957
- }],
958
- "text": "The format of the value property.\n\nWhen \"auto\", the format will be inferred from `value` when set."
959
- },
960
- "attribute": "format",
961
- "reflect": true,
962
- "defaultValue": "defaultFormat"
963
- },
964
- "hideHex": {
965
- "type": "boolean",
966
- "mutable": false,
967
- "complexType": {
968
- "original": "boolean",
969
- "resolved": "boolean",
970
- "references": {}
971
- },
972
- "required": false,
973
- "optional": false,
974
- "docs": {
975
- "tags": [],
976
- "text": "When true, hides the hex input"
977
- },
978
- "attribute": "hide-hex",
979
- "reflect": true,
980
- "defaultValue": "false"
981
- },
982
- "hideChannels": {
983
- "type": "boolean",
984
- "mutable": false,
985
- "complexType": {
986
- "original": "boolean",
987
- "resolved": "boolean",
988
- "references": {}
989
- },
990
- "required": false,
991
- "optional": false,
992
- "docs": {
993
- "tags": [],
994
- "text": "When true, hides the RGB/HSV channel inputs"
995
- },
996
- "attribute": "hide-channels",
997
- "reflect": true,
998
- "defaultValue": "false"
999
- },
1000
- "hideSaved": {
1001
- "type": "boolean",
1002
- "mutable": false,
1003
- "complexType": {
1004
- "original": "boolean",
1005
- "resolved": "boolean",
1006
- "references": {}
1007
- },
1008
- "required": false,
1009
- "optional": false,
1010
- "docs": {
1011
- "tags": [],
1012
- "text": "When true, hides the saved colors section"
1013
- },
1014
- "attribute": "hide-saved",
1015
- "reflect": true,
1016
- "defaultValue": "false"
1017
- },
1018
- "intlB": {
1019
- "type": "string",
1020
- "mutable": false,
1021
- "complexType": {
1022
- "original": "string",
1023
- "resolved": "string",
1024
- "references": {}
1025
- },
1026
- "required": false,
1027
- "optional": false,
1028
- "docs": {
1029
- "tags": [{
1030
- "name": "default",
1031
- "text": "\"B\""
1032
- }],
1033
- "text": "Label used for the blue channel"
1034
- },
1035
- "attribute": "intl-b",
1036
- "reflect": false,
1037
- "defaultValue": "TEXT.b"
1038
- },
1039
- "intlBlue": {
1040
- "type": "string",
1041
- "mutable": false,
1042
- "complexType": {
1043
- "original": "string",
1044
- "resolved": "string",
1045
- "references": {}
1046
- },
1047
- "required": false,
1048
- "optional": false,
1049
- "docs": {
1050
- "tags": [{
1051
- "name": "default",
1052
- "text": "\"Blue\""
1053
- }],
1054
- "text": "Label used for the blue channel description"
1055
- },
1056
- "attribute": "intl-blue",
1057
- "reflect": false,
1058
- "defaultValue": "TEXT.blue"
1059
- },
1060
- "intlDeleteColor": {
1061
- "type": "string",
1062
- "mutable": false,
1063
- "complexType": {
1064
- "original": "string",
1065
- "resolved": "string",
1066
- "references": {}
1067
- },
1068
- "required": false,
1069
- "optional": false,
1070
- "docs": {
1071
- "tags": [{
1072
- "name": "default",
1073
- "text": "\"Delete color\""
1074
- }],
1075
- "text": "Label used for the delete color button."
1076
- },
1077
- "attribute": "intl-delete-color",
1078
- "reflect": false,
1079
- "defaultValue": "TEXT.deleteColor"
1080
- },
1081
- "intlG": {
1082
- "type": "string",
1083
- "mutable": false,
1084
- "complexType": {
1085
- "original": "string",
1086
- "resolved": "string",
1087
- "references": {}
1088
- },
1089
- "required": false,
1090
- "optional": false,
1091
- "docs": {
1092
- "tags": [{
1093
- "name": "default",
1094
- "text": "\"G\""
1095
- }],
1096
- "text": "Label used for the green channel"
1097
- },
1098
- "attribute": "intl-g",
1099
- "reflect": false,
1100
- "defaultValue": "TEXT.g"
1101
- },
1102
- "intlGreen": {
1103
- "type": "string",
1104
- "mutable": false,
1105
- "complexType": {
1106
- "original": "string",
1107
- "resolved": "string",
1108
- "references": {}
1109
- },
1110
- "required": false,
1111
- "optional": false,
1112
- "docs": {
1113
- "tags": [{
1114
- "name": "default",
1115
- "text": "\"Green\""
1116
- }],
1117
- "text": "Label used for the green channel description"
1118
- },
1119
- "attribute": "intl-green",
1120
- "reflect": false,
1121
- "defaultValue": "TEXT.green"
1122
- },
1123
- "intlH": {
1124
- "type": "string",
1125
- "mutable": false,
1126
- "complexType": {
1127
- "original": "string",
1128
- "resolved": "string",
1129
- "references": {}
1130
- },
1131
- "required": false,
1132
- "optional": false,
1133
- "docs": {
1134
- "tags": [{
1135
- "name": "default",
1136
- "text": "\"H\""
1137
- }],
1138
- "text": "Label used for the hue channel"
1139
- },
1140
- "attribute": "intl-h",
1141
- "reflect": false,
1142
- "defaultValue": "TEXT.h"
1143
- },
1144
- "intlHsv": {
1145
- "type": "string",
1146
- "mutable": false,
1147
- "complexType": {
1148
- "original": "string",
1149
- "resolved": "string",
1150
- "references": {}
1151
- },
1152
- "required": false,
1153
- "optional": false,
1154
- "docs": {
1155
- "tags": [{
1156
- "name": "default",
1157
- "text": "\"HSV\""
1158
- }],
1159
- "text": "Label used for the HSV mode"
1160
- },
1161
- "attribute": "intl-hsv",
1162
- "reflect": false,
1163
- "defaultValue": "TEXT.hsv"
1164
- },
1165
- "intlHex": {
1166
- "type": "string",
1167
- "mutable": false,
1168
- "complexType": {
1169
- "original": "string",
1170
- "resolved": "string",
1171
- "references": {}
1172
- },
1173
- "required": false,
1174
- "optional": false,
1175
- "docs": {
1176
- "tags": [{
1177
- "name": "default",
1178
- "text": "\"Hex\""
1179
- }],
1180
- "text": "Label used for the hex input"
1181
- },
1182
- "attribute": "intl-hex",
1183
- "reflect": false,
1184
- "defaultValue": "TEXT.hex"
1185
- },
1186
- "intlHue": {
1187
- "type": "string",
1188
- "mutable": false,
1189
- "complexType": {
1190
- "original": "string",
1191
- "resolved": "string",
1192
- "references": {}
1193
- },
1194
- "required": false,
1195
- "optional": false,
1196
- "docs": {
1197
- "tags": [{
1198
- "name": "default",
1199
- "text": "\"Hue\""
1200
- }],
1201
- "text": "Label used for the hue channel description"
1202
- },
1203
- "attribute": "intl-hue",
1204
- "reflect": false,
1205
- "defaultValue": "TEXT.hue"
1206
- },
1207
- "intlNoColor": {
1208
- "type": "string",
1209
- "mutable": false,
1210
- "complexType": {
1211
- "original": "string",
1212
- "resolved": "string",
1213
- "references": {}
1214
- },
1215
- "required": false,
1216
- "optional": false,
1217
- "docs": {
1218
- "tags": [{
1219
- "name": "default",
1220
- "text": "\"No color\""
1221
- }],
1222
- "text": "Label used for the hex input when there is no color selected."
1223
- },
1224
- "attribute": "intl-no-color",
1225
- "reflect": false,
1226
- "defaultValue": "TEXT.noColor"
1227
- },
1228
- "intlR": {
1229
- "type": "string",
1230
- "mutable": false,
1231
- "complexType": {
1232
- "original": "string",
1233
- "resolved": "string",
1234
- "references": {}
1235
- },
1236
- "required": false,
1237
- "optional": false,
1238
- "docs": {
1239
- "tags": [{
1240
- "name": "default",
1241
- "text": "\"R\""
1242
- }],
1243
- "text": "Label used for the red channel"
1244
- },
1245
- "attribute": "intl-r",
1246
- "reflect": false,
1247
- "defaultValue": "TEXT.r"
1248
- },
1249
- "intlRed": {
1250
- "type": "string",
1251
- "mutable": false,
1252
- "complexType": {
1253
- "original": "string",
1254
- "resolved": "string",
1255
- "references": {}
1256
- },
1257
- "required": false,
1258
- "optional": false,
1259
- "docs": {
1260
- "tags": [{
1261
- "name": "default",
1262
- "text": "\"Red\""
1263
- }],
1264
- "text": "Label used for the red channel description"
1265
- },
1266
- "attribute": "intl-red",
1267
- "reflect": false,
1268
- "defaultValue": "TEXT.red"
1269
- },
1270
- "intlRgb": {
1271
- "type": "string",
1272
- "mutable": false,
1273
- "complexType": {
1274
- "original": "string",
1275
- "resolved": "string",
1276
- "references": {}
1277
- },
1278
- "required": false,
1279
- "optional": false,
1280
- "docs": {
1281
- "tags": [{
1282
- "name": "default",
1283
- "text": "\"RGB\""
1284
- }],
1285
- "text": "Label used for the RGB mode"
1286
- },
1287
- "attribute": "intl-rgb",
1288
- "reflect": false,
1289
- "defaultValue": "TEXT.rgb"
1290
- },
1291
- "intlS": {
1292
- "type": "string",
1293
- "mutable": false,
1294
- "complexType": {
1295
- "original": "string",
1296
- "resolved": "string",
1297
- "references": {}
1298
- },
1299
- "required": false,
1300
- "optional": false,
1301
- "docs": {
1302
- "tags": [{
1303
- "name": "default",
1304
- "text": "\"S\""
1305
- }],
1306
- "text": "Label used for the saturation channel"
1307
- },
1308
- "attribute": "intl-s",
1309
- "reflect": false,
1310
- "defaultValue": "TEXT.s"
1311
- },
1312
- "intlSaturation": {
1313
- "type": "string",
1314
- "mutable": false,
1315
- "complexType": {
1316
- "original": "string",
1317
- "resolved": "string",
1318
- "references": {}
1319
- },
1320
- "required": false,
1321
- "optional": false,
1322
- "docs": {
1323
- "tags": [{
1324
- "name": "default",
1325
- "text": "\"Saturation\""
1326
- }],
1327
- "text": "Label used for the saturation channel description"
1328
- },
1329
- "attribute": "intl-saturation",
1330
- "reflect": false,
1331
- "defaultValue": "TEXT.saturation"
1332
- },
1333
- "intlSaveColor": {
1334
- "type": "string",
1335
- "mutable": false,
1336
- "complexType": {
1337
- "original": "string",
1338
- "resolved": "string",
1339
- "references": {}
1340
- },
1341
- "required": false,
1342
- "optional": false,
1343
- "docs": {
1344
- "tags": [{
1345
- "name": "default",
1346
- "text": "\"Save color\""
1347
- }],
1348
- "text": "Label used for the save color button."
1349
- },
1350
- "attribute": "intl-save-color",
1351
- "reflect": false,
1352
- "defaultValue": "TEXT.saveColor"
1353
- },
1354
- "intlSaved": {
1355
- "type": "string",
1356
- "mutable": false,
1357
- "complexType": {
1358
- "original": "string",
1359
- "resolved": "string",
1360
- "references": {}
1361
- },
1362
- "required": false,
1363
- "optional": false,
1364
- "docs": {
1365
- "tags": [{
1366
- "name": "default",
1367
- "text": "\"Saved\""
1368
- }],
1369
- "text": "Label used for the saved colors section"
1370
- },
1371
- "attribute": "intl-saved",
1372
- "reflect": false,
1373
- "defaultValue": "TEXT.saved"
1374
- },
1375
- "intlV": {
1376
- "type": "string",
1377
- "mutable": false,
1378
- "complexType": {
1379
- "original": "string",
1380
- "resolved": "string",
1381
- "references": {}
1382
- },
1383
- "required": false,
1384
- "optional": false,
1385
- "docs": {
1386
- "tags": [{
1387
- "name": "default",
1388
- "text": "\"V\""
1389
- }],
1390
- "text": "Label used for the value channel"
1391
- },
1392
- "attribute": "intl-v",
1393
- "reflect": false,
1394
- "defaultValue": "TEXT.v"
1395
- },
1396
- "intlValue": {
1397
- "type": "string",
1398
- "mutable": false,
1399
- "complexType": {
1400
- "original": "string",
1401
- "resolved": "string",
1402
- "references": {}
1403
- },
1404
- "required": false,
1405
- "optional": false,
1406
- "docs": {
1407
- "tags": [{
1408
- "name": "default",
1409
- "text": "\"Value\""
1410
- }],
1411
- "text": "Label used for the"
1412
- },
1413
- "attribute": "intl-value",
1414
- "reflect": false,
1415
- "defaultValue": "TEXT.value"
1416
- },
1417
- "scale": {
1418
- "type": "string",
1419
- "mutable": false,
1420
- "complexType": {
1421
- "original": "Scale",
1422
- "resolved": "\"l\" | \"m\" | \"s\"",
1423
- "references": {
1424
- "Scale": {
1425
- "location": "import",
1426
- "path": "../interfaces"
938
+ },
939
+ "required": false,
940
+ "optional": false,
941
+ "docs": {
942
+ "tags": [{
943
+ "name": "default",
944
+ "text": "\"auto\""
945
+ }],
946
+ "text": "The format of `value`.\n\nWhen `\"auto\"`, the format will be inferred from `value` when set."
947
+ },
948
+ "attribute": "format",
949
+ "reflect": true,
950
+ "defaultValue": "defaultFormat"
951
+ },
952
+ "hideHex": {
953
+ "type": "boolean",
954
+ "mutable": false,
955
+ "complexType": {
956
+ "original": "boolean",
957
+ "resolved": "boolean",
958
+ "references": {}
959
+ },
960
+ "required": false,
961
+ "optional": false,
962
+ "docs": {
963
+ "tags": [],
964
+ "text": "When `true`, hides the Hex input."
965
+ },
966
+ "attribute": "hide-hex",
967
+ "reflect": true,
968
+ "defaultValue": "false"
969
+ },
970
+ "hideChannels": {
971
+ "type": "boolean",
972
+ "mutable": false,
973
+ "complexType": {
974
+ "original": "boolean",
975
+ "resolved": "boolean",
976
+ "references": {}
977
+ },
978
+ "required": false,
979
+ "optional": false,
980
+ "docs": {
981
+ "tags": [],
982
+ "text": "When `true`, hides the RGB/HSV channel inputs."
983
+ },
984
+ "attribute": "hide-channels",
985
+ "reflect": true,
986
+ "defaultValue": "false"
987
+ },
988
+ "hideSaved": {
989
+ "type": "boolean",
990
+ "mutable": false,
991
+ "complexType": {
992
+ "original": "boolean",
993
+ "resolved": "boolean",
994
+ "references": {}
995
+ },
996
+ "required": false,
997
+ "optional": false,
998
+ "docs": {
999
+ "tags": [],
1000
+ "text": "When `true`, hides the saved colors section."
1001
+ },
1002
+ "attribute": "hide-saved",
1003
+ "reflect": true,
1004
+ "defaultValue": "false"
1005
+ },
1006
+ "intlB": {
1007
+ "type": "string",
1008
+ "mutable": false,
1009
+ "complexType": {
1010
+ "original": "string",
1011
+ "resolved": "string",
1012
+ "references": {}
1013
+ },
1014
+ "required": false,
1015
+ "optional": false,
1016
+ "docs": {
1017
+ "tags": [{
1018
+ "name": "default",
1019
+ "text": "\"B\""
1020
+ }],
1021
+ "text": "Accessible name for the RGB section's blue channel."
1022
+ },
1023
+ "attribute": "intl-b",
1024
+ "reflect": false,
1025
+ "defaultValue": "TEXT.b"
1026
+ },
1027
+ "intlBlue": {
1028
+ "type": "string",
1029
+ "mutable": false,
1030
+ "complexType": {
1031
+ "original": "string",
1032
+ "resolved": "string",
1033
+ "references": {}
1034
+ },
1035
+ "required": false,
1036
+ "optional": false,
1037
+ "docs": {
1038
+ "tags": [{
1039
+ "name": "default",
1040
+ "text": "\"Blue\""
1041
+ }],
1042
+ "text": "Accessible name for the RGB section's blue channel description."
1043
+ },
1044
+ "attribute": "intl-blue",
1045
+ "reflect": false,
1046
+ "defaultValue": "TEXT.blue"
1047
+ },
1048
+ "intlDeleteColor": {
1049
+ "type": "string",
1050
+ "mutable": false,
1051
+ "complexType": {
1052
+ "original": "string",
1053
+ "resolved": "string",
1054
+ "references": {}
1055
+ },
1056
+ "required": false,
1057
+ "optional": false,
1058
+ "docs": {
1059
+ "tags": [{
1060
+ "name": "default",
1061
+ "text": "\"Delete color\""
1062
+ }],
1063
+ "text": "Accessible name for the delete color button."
1064
+ },
1065
+ "attribute": "intl-delete-color",
1066
+ "reflect": false,
1067
+ "defaultValue": "TEXT.deleteColor"
1068
+ },
1069
+ "intlG": {
1070
+ "type": "string",
1071
+ "mutable": false,
1072
+ "complexType": {
1073
+ "original": "string",
1074
+ "resolved": "string",
1075
+ "references": {}
1076
+ },
1077
+ "required": false,
1078
+ "optional": false,
1079
+ "docs": {
1080
+ "tags": [{
1081
+ "name": "default",
1082
+ "text": "\"G\""
1083
+ }],
1084
+ "text": "Accessible name for the RGB section's green channel."
1085
+ },
1086
+ "attribute": "intl-g",
1087
+ "reflect": false,
1088
+ "defaultValue": "TEXT.g"
1089
+ },
1090
+ "intlGreen": {
1091
+ "type": "string",
1092
+ "mutable": false,
1093
+ "complexType": {
1094
+ "original": "string",
1095
+ "resolved": "string",
1096
+ "references": {}
1097
+ },
1098
+ "required": false,
1099
+ "optional": false,
1100
+ "docs": {
1101
+ "tags": [{
1102
+ "name": "default",
1103
+ "text": "\"Green\""
1104
+ }],
1105
+ "text": "Accessible name for the RGB section's green channel description."
1106
+ },
1107
+ "attribute": "intl-green",
1108
+ "reflect": false,
1109
+ "defaultValue": "TEXT.green"
1110
+ },
1111
+ "intlH": {
1112
+ "type": "string",
1113
+ "mutable": false,
1114
+ "complexType": {
1115
+ "original": "string",
1116
+ "resolved": "string",
1117
+ "references": {}
1118
+ },
1119
+ "required": false,
1120
+ "optional": false,
1121
+ "docs": {
1122
+ "tags": [{
1123
+ "name": "default",
1124
+ "text": "\"H\""
1125
+ }],
1126
+ "text": "Accessible name for the HSV section's hue channel."
1127
+ },
1128
+ "attribute": "intl-h",
1129
+ "reflect": false,
1130
+ "defaultValue": "TEXT.h"
1131
+ },
1132
+ "intlHsv": {
1133
+ "type": "string",
1134
+ "mutable": false,
1135
+ "complexType": {
1136
+ "original": "string",
1137
+ "resolved": "string",
1138
+ "references": {}
1139
+ },
1140
+ "required": false,
1141
+ "optional": false,
1142
+ "docs": {
1143
+ "tags": [{
1144
+ "name": "default",
1145
+ "text": "\"HSV\""
1146
+ }],
1147
+ "text": "Accessible name for the HSV mode."
1148
+ },
1149
+ "attribute": "intl-hsv",
1150
+ "reflect": false,
1151
+ "defaultValue": "TEXT.hsv"
1152
+ },
1153
+ "intlHex": {
1154
+ "type": "string",
1155
+ "mutable": false,
1156
+ "complexType": {
1157
+ "original": "string",
1158
+ "resolved": "string",
1159
+ "references": {}
1160
+ },
1161
+ "required": false,
1162
+ "optional": false,
1163
+ "docs": {
1164
+ "tags": [{
1165
+ "name": "default",
1166
+ "text": "\"Hex\""
1167
+ }],
1168
+ "text": "Accessible name for the Hex input."
1169
+ },
1170
+ "attribute": "intl-hex",
1171
+ "reflect": false,
1172
+ "defaultValue": "TEXT.hex"
1173
+ },
1174
+ "intlHue": {
1175
+ "type": "string",
1176
+ "mutable": false,
1177
+ "complexType": {
1178
+ "original": "string",
1179
+ "resolved": "string",
1180
+ "references": {}
1181
+ },
1182
+ "required": false,
1183
+ "optional": false,
1184
+ "docs": {
1185
+ "tags": [{
1186
+ "name": "default",
1187
+ "text": "\"Hue\""
1188
+ }],
1189
+ "text": "Accessible name for the HSV section's hue channel description."
1190
+ },
1191
+ "attribute": "intl-hue",
1192
+ "reflect": false,
1193
+ "defaultValue": "TEXT.hue"
1194
+ },
1195
+ "intlNoColor": {
1196
+ "type": "string",
1197
+ "mutable": false,
1198
+ "complexType": {
1199
+ "original": "string",
1200
+ "resolved": "string",
1201
+ "references": {}
1202
+ },
1203
+ "required": false,
1204
+ "optional": false,
1205
+ "docs": {
1206
+ "tags": [{
1207
+ "name": "default",
1208
+ "text": "\"No color\""
1209
+ }],
1210
+ "text": "Accessible name for the Hex input when there is no color selected."
1211
+ },
1212
+ "attribute": "intl-no-color",
1213
+ "reflect": false,
1214
+ "defaultValue": "TEXT.noColor"
1215
+ },
1216
+ "intlR": {
1217
+ "type": "string",
1218
+ "mutable": false,
1219
+ "complexType": {
1220
+ "original": "string",
1221
+ "resolved": "string",
1222
+ "references": {}
1223
+ },
1224
+ "required": false,
1225
+ "optional": false,
1226
+ "docs": {
1227
+ "tags": [{
1228
+ "name": "default",
1229
+ "text": "\"R\""
1230
+ }],
1231
+ "text": "Accessible name for the RGB section's red channel."
1232
+ },
1233
+ "attribute": "intl-r",
1234
+ "reflect": false,
1235
+ "defaultValue": "TEXT.r"
1236
+ },
1237
+ "intlRed": {
1238
+ "type": "string",
1239
+ "mutable": false,
1240
+ "complexType": {
1241
+ "original": "string",
1242
+ "resolved": "string",
1243
+ "references": {}
1244
+ },
1245
+ "required": false,
1246
+ "optional": false,
1247
+ "docs": {
1248
+ "tags": [{
1249
+ "name": "default",
1250
+ "text": "\"Red\""
1251
+ }],
1252
+ "text": "Accessible name for the RGB section's red channel description."
1253
+ },
1254
+ "attribute": "intl-red",
1255
+ "reflect": false,
1256
+ "defaultValue": "TEXT.red"
1257
+ },
1258
+ "intlRgb": {
1259
+ "type": "string",
1260
+ "mutable": false,
1261
+ "complexType": {
1262
+ "original": "string",
1263
+ "resolved": "string",
1264
+ "references": {}
1265
+ },
1266
+ "required": false,
1267
+ "optional": false,
1268
+ "docs": {
1269
+ "tags": [{
1270
+ "name": "default",
1271
+ "text": "\"RGB\""
1272
+ }],
1273
+ "text": "Accessible name for the RGB mode."
1274
+ },
1275
+ "attribute": "intl-rgb",
1276
+ "reflect": false,
1277
+ "defaultValue": "TEXT.rgb"
1278
+ },
1279
+ "intlS": {
1280
+ "type": "string",
1281
+ "mutable": false,
1282
+ "complexType": {
1283
+ "original": "string",
1284
+ "resolved": "string",
1285
+ "references": {}
1286
+ },
1287
+ "required": false,
1288
+ "optional": false,
1289
+ "docs": {
1290
+ "tags": [{
1291
+ "name": "default",
1292
+ "text": "\"S\""
1293
+ }],
1294
+ "text": "Accessible name for the HSV section's saturation channel."
1295
+ },
1296
+ "attribute": "intl-s",
1297
+ "reflect": false,
1298
+ "defaultValue": "TEXT.s"
1299
+ },
1300
+ "intlSaturation": {
1301
+ "type": "string",
1302
+ "mutable": false,
1303
+ "complexType": {
1304
+ "original": "string",
1305
+ "resolved": "string",
1306
+ "references": {}
1307
+ },
1308
+ "required": false,
1309
+ "optional": false,
1310
+ "docs": {
1311
+ "tags": [{
1312
+ "name": "default",
1313
+ "text": "\"Saturation\""
1314
+ }],
1315
+ "text": "Accessible name for the HSV section's saturation channel description."
1316
+ },
1317
+ "attribute": "intl-saturation",
1318
+ "reflect": false,
1319
+ "defaultValue": "TEXT.saturation"
1320
+ },
1321
+ "intlSaveColor": {
1322
+ "type": "string",
1323
+ "mutable": false,
1324
+ "complexType": {
1325
+ "original": "string",
1326
+ "resolved": "string",
1327
+ "references": {}
1328
+ },
1329
+ "required": false,
1330
+ "optional": false,
1331
+ "docs": {
1332
+ "tags": [{
1333
+ "name": "default",
1334
+ "text": "\"Save color\""
1335
+ }],
1336
+ "text": "Accessible name for the save color button."
1337
+ },
1338
+ "attribute": "intl-save-color",
1339
+ "reflect": false,
1340
+ "defaultValue": "TEXT.saveColor"
1341
+ },
1342
+ "intlSaved": {
1343
+ "type": "string",
1344
+ "mutable": false,
1345
+ "complexType": {
1346
+ "original": "string",
1347
+ "resolved": "string",
1348
+ "references": {}
1349
+ },
1350
+ "required": false,
1351
+ "optional": false,
1352
+ "docs": {
1353
+ "tags": [{
1354
+ "name": "default",
1355
+ "text": "\"Saved\""
1356
+ }],
1357
+ "text": "Accessible name for the saved colors section."
1358
+ },
1359
+ "attribute": "intl-saved",
1360
+ "reflect": false,
1361
+ "defaultValue": "TEXT.saved"
1362
+ },
1363
+ "intlV": {
1364
+ "type": "string",
1365
+ "mutable": false,
1366
+ "complexType": {
1367
+ "original": "string",
1368
+ "resolved": "string",
1369
+ "references": {}
1370
+ },
1371
+ "required": false,
1372
+ "optional": false,
1373
+ "docs": {
1374
+ "tags": [{
1375
+ "name": "default",
1376
+ "text": "\"V\""
1377
+ }],
1378
+ "text": "Accessible name for the HSV section's value channel."
1379
+ },
1380
+ "attribute": "intl-v",
1381
+ "reflect": false,
1382
+ "defaultValue": "TEXT.v"
1383
+ },
1384
+ "intlValue": {
1385
+ "type": "string",
1386
+ "mutable": false,
1387
+ "complexType": {
1388
+ "original": "string",
1389
+ "resolved": "string",
1390
+ "references": {}
1391
+ },
1392
+ "required": false,
1393
+ "optional": false,
1394
+ "docs": {
1395
+ "tags": [{
1396
+ "name": "default",
1397
+ "text": "\"Value\""
1398
+ }],
1399
+ "text": "Accessible name for the HSV section's value channel description."
1400
+ },
1401
+ "attribute": "intl-value",
1402
+ "reflect": false,
1403
+ "defaultValue": "TEXT.value"
1404
+ },
1405
+ "scale": {
1406
+ "type": "string",
1407
+ "mutable": false,
1408
+ "complexType": {
1409
+ "original": "Scale",
1410
+ "resolved": "\"l\" | \"m\" | \"s\"",
1411
+ "references": {
1412
+ "Scale": {
1413
+ "location": "import",
1414
+ "path": "../interfaces"
1415
+ }
1427
1416
  }
1428
- }
1429
- },
1430
- "required": false,
1431
- "optional": false,
1432
- "docs": {
1433
- "tags": [],
1434
- "text": "The scale of the color picker."
1435
- },
1436
- "attribute": "scale",
1437
- "reflect": true,
1438
- "defaultValue": "\"m\""
1439
- },
1440
- "storageId": {
1441
- "type": "string",
1442
- "mutable": false,
1443
- "complexType": {
1444
- "original": "string",
1445
- "resolved": "string",
1446
- "references": {}
1447
- },
1448
- "required": false,
1449
- "optional": false,
1450
- "docs": {
1451
- "tags": [],
1452
- "text": "Storage ID for colors."
1453
- },
1454
- "attribute": "storage-id",
1455
- "reflect": true
1456
- },
1457
- "numberingSystem": {
1458
- "type": "string",
1459
- "mutable": false,
1460
- "complexType": {
1461
- "original": "string",
1462
- "resolved": "string",
1463
- "references": {}
1464
- },
1465
- "required": false,
1466
- "optional": true,
1467
- "docs": {
1468
- "tags": [],
1469
- "text": "standard UniCode numeral system tag for localization"
1470
- },
1471
- "attribute": "numbering-system",
1472
- "reflect": true
1473
- },
1474
- "value": {
1475
- "type": "string",
1476
- "mutable": true,
1477
- "complexType": {
1478
- "original": "ColorValue | null",
1479
- "resolved": "HSL | HSL & ObjectWithAlpha | HSV | HSV & ObjectWithAlpha | RGB | RGB & ObjectWithAlpha | string",
1480
- "references": {
1481
- "ColorValue": {
1482
- "location": "import",
1483
- "path": "./interfaces"
1417
+ },
1418
+ "required": false,
1419
+ "optional": false,
1420
+ "docs": {
1421
+ "tags": [],
1422
+ "text": "Specifies the size of the component."
1423
+ },
1424
+ "attribute": "scale",
1425
+ "reflect": true,
1426
+ "defaultValue": "\"m\""
1427
+ },
1428
+ "storageId": {
1429
+ "type": "string",
1430
+ "mutable": false,
1431
+ "complexType": {
1432
+ "original": "string",
1433
+ "resolved": "string",
1434
+ "references": {}
1435
+ },
1436
+ "required": false,
1437
+ "optional": false,
1438
+ "docs": {
1439
+ "tags": [],
1440
+ "text": "Specifies the storage ID for colors."
1441
+ },
1442
+ "attribute": "storage-id",
1443
+ "reflect": true
1444
+ },
1445
+ "numberingSystem": {
1446
+ "type": "string",
1447
+ "mutable": false,
1448
+ "complexType": {
1449
+ "original": "NumberingSystem",
1450
+ "resolved": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
1451
+ "references": {
1452
+ "NumberingSystem": {
1453
+ "location": "import",
1454
+ "path": "../../utils/locale"
1455
+ }
1484
1456
  }
1485
- }
1486
- },
1487
- "required": false,
1488
- "optional": false,
1489
- "docs": {
1490
- "tags": [{
1491
- "name": "default",
1492
- "text": "\"#007ac2\""
1493
- }, {
1494
- "name": "see",
1495
- "text": "[CSS Color](https://developer.mozilla.org/en-US/docs/Web/CSS/color)"
1496
- }, {
1497
- "name": "see",
1498
- "text": "[ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/color-picker/interfaces.ts#L10)"
1499
- }],
1500
- "text": "The component's value.\n\nThis value can be either a CSS color string,\na RGB, HSL or HSV object.\n\nThe type will be preserved as the color is updated."
1501
- },
1502
- "attribute": "value",
1503
- "reflect": false,
1504
- "defaultValue": "defaultValue"
1505
- }
1506
- }; }
1507
- static get states() { return {
1508
- "colorFieldAndSliderInteractive": {},
1509
- "channelMode": {},
1510
- "channels": {},
1511
- "dimensions": {},
1512
- "savedColors": {},
1513
- "colorFieldScopeTop": {},
1514
- "colorFieldScopeLeft": {},
1515
- "scopeOrientation": {},
1516
- "hueScopeLeft": {},
1517
- "hueScopeTop": {}
1518
- }; }
1519
- static get events() { return [{
1520
- "method": "calciteColorPickerChange",
1521
- "name": "calciteColorPickerChange",
1522
- "bubbles": true,
1523
- "cancelable": false,
1524
- "composed": true,
1525
- "docs": {
1526
- "tags": [],
1527
- "text": "Fires when the color value has changed."
1528
- },
1529
- "complexType": {
1530
- "original": "void",
1531
- "resolved": "void",
1532
- "references": {}
1533
- }
1534
- }, {
1535
- "method": "calciteColorPickerInput",
1536
- "name": "calciteColorPickerInput",
1537
- "bubbles": true,
1538
- "cancelable": false,
1539
- "composed": true,
1540
- "docs": {
1541
- "tags": [],
1542
- "text": "Fires as the color value changes.\n\nThis is similar to the change event with the exception of dragging. When dragging the color field or hue slider thumb, this event fires as the thumb is moved."
1543
- },
1544
- "complexType": {
1545
- "original": "void",
1546
- "resolved": "void",
1547
- "references": {}
1548
- }
1549
- }]; }
1550
- static get methods() { return {
1551
- "setFocus": {
1552
- "complexType": {
1553
- "signature": "() => Promise<void>",
1554
- "parameters": [],
1555
- "references": {
1556
- "Promise": {
1557
- "location": "global"
1457
+ },
1458
+ "required": false,
1459
+ "optional": true,
1460
+ "docs": {
1461
+ "tags": [],
1462
+ "text": "Specifies the Unicode numeral system used by the component for localization."
1463
+ },
1464
+ "attribute": "numbering-system",
1465
+ "reflect": true
1466
+ },
1467
+ "value": {
1468
+ "type": "string",
1469
+ "mutable": true,
1470
+ "complexType": {
1471
+ "original": "ColorValue | null",
1472
+ "resolved": "HSL | HSL & ObjectWithAlpha | HSV | HSV & ObjectWithAlpha | RGB | RGB & ObjectWithAlpha | string",
1473
+ "references": {
1474
+ "ColorValue": {
1475
+ "location": "import",
1476
+ "path": "./interfaces"
1477
+ }
1558
1478
  }
1559
1479
  },
1560
- "return": "Promise<void>"
1561
- },
1562
- "docs": {
1563
- "text": "Sets focus on the component.",
1564
- "tags": []
1480
+ "required": false,
1481
+ "optional": false,
1482
+ "docs": {
1483
+ "tags": [{
1484
+ "name": "default",
1485
+ "text": "\"#007ac2\""
1486
+ }, {
1487
+ "name": "see",
1488
+ "text": "[CSS Color](https://developer.mozilla.org/en-US/docs/Web/CSS/color)"
1489
+ }, {
1490
+ "name": "see",
1491
+ "text": "[ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/color-picker/interfaces.ts#L10)"
1492
+ }],
1493
+ "text": "The component's value, where the value can be a CSS color string, or a RGB, HSL or HSV object.\n\nThe type will be preserved as the color is updated."
1494
+ },
1495
+ "attribute": "value",
1496
+ "reflect": false,
1497
+ "defaultValue": "defaultValue"
1565
1498
  }
1566
- }
1567
- }; }
1499
+ };
1500
+ }
1501
+ static get states() {
1502
+ return {
1503
+ "colorFieldAndSliderInteractive": {},
1504
+ "channelMode": {},
1505
+ "channels": {},
1506
+ "dimensions": {},
1507
+ "savedColors": {},
1508
+ "colorFieldScopeTop": {},
1509
+ "colorFieldScopeLeft": {},
1510
+ "scopeOrientation": {},
1511
+ "hueScopeLeft": {},
1512
+ "hueScopeTop": {}
1513
+ };
1514
+ }
1515
+ static get events() {
1516
+ return [{
1517
+ "method": "calciteColorPickerChange",
1518
+ "name": "calciteColorPickerChange",
1519
+ "bubbles": true,
1520
+ "cancelable": false,
1521
+ "composed": true,
1522
+ "docs": {
1523
+ "tags": [],
1524
+ "text": "Fires when the color value has changed."
1525
+ },
1526
+ "complexType": {
1527
+ "original": "void",
1528
+ "resolved": "void",
1529
+ "references": {}
1530
+ }
1531
+ }, {
1532
+ "method": "calciteColorPickerInput",
1533
+ "name": "calciteColorPickerInput",
1534
+ "bubbles": true,
1535
+ "cancelable": false,
1536
+ "composed": true,
1537
+ "docs": {
1538
+ "tags": [],
1539
+ "text": "Fires as the color value changes.\n\nSimilar to the `calciteColorPickerChange` event with the exception of dragging. When dragging the color field or hue slider thumb, this event fires as the thumb is moved."
1540
+ },
1541
+ "complexType": {
1542
+ "original": "void",
1543
+ "resolved": "void",
1544
+ "references": {}
1545
+ }
1546
+ }];
1547
+ }
1548
+ static get methods() {
1549
+ return {
1550
+ "setFocus": {
1551
+ "complexType": {
1552
+ "signature": "() => Promise<void>",
1553
+ "parameters": [],
1554
+ "references": {
1555
+ "Promise": {
1556
+ "location": "global"
1557
+ }
1558
+ },
1559
+ "return": "Promise<void>"
1560
+ },
1561
+ "docs": {
1562
+ "text": "Sets focus on the component.",
1563
+ "tags": []
1564
+ }
1565
+ }
1566
+ };
1567
+ }
1568
1568
  static get elementRef() { return "el"; }
1569
- static get watchers() { return [{
1570
- "propName": "color",
1571
- "methodName": "handleColorChange"
1572
- }, {
1573
- "propName": "format",
1574
- "methodName": "handleFormatChange"
1575
- }, {
1576
- "propName": "scale",
1577
- "methodName": "handleScaleChange"
1578
- }, {
1579
- "propName": "value",
1580
- "methodName": "handleValueChange"
1581
- }]; }
1582
- static get listeners() { return [{
1583
- "name": "keydown",
1584
- "method": "handleChannelKeyUpOrDown",
1585
- "target": undefined,
1586
- "capture": true,
1587
- "passive": false
1588
- }, {
1589
- "name": "keyup",
1590
- "method": "handleChannelKeyUpOrDown",
1591
- "target": undefined,
1592
- "capture": true,
1593
- "passive": false
1594
- }]; }
1569
+ static get watchers() {
1570
+ return [{
1571
+ "propName": "color",
1572
+ "methodName": "handleColorChange"
1573
+ }, {
1574
+ "propName": "format",
1575
+ "methodName": "handleFormatChange"
1576
+ }, {
1577
+ "propName": "scale",
1578
+ "methodName": "handleScaleChange"
1579
+ }, {
1580
+ "propName": "value",
1581
+ "methodName": "handleValueChange"
1582
+ }];
1583
+ }
1584
+ static get listeners() {
1585
+ return [{
1586
+ "name": "keydown",
1587
+ "method": "handleChannelKeyUpOrDown",
1588
+ "target": undefined,
1589
+ "capture": true,
1590
+ "passive": false
1591
+ }, {
1592
+ "name": "keyup",
1593
+ "method": "handleChannelKeyUpOrDown",
1594
+ "target": undefined,
1595
+ "capture": true,
1596
+ "passive": false
1597
+ }];
1598
+ }
1595
1599
  }