@esri/calcite-components 2.12.0 → 2.13.0-next.1

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 (2386) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +1 -1
  3. package/dist/calcite/p-014feeab.entry.js +7 -0
  4. package/dist/calcite/p-02522147.js +7 -0
  5. package/dist/calcite/p-028278a3.js +7 -0
  6. package/dist/calcite/p-02d208fd.entry.js +7 -0
  7. package/dist/calcite/p-0677a447.entry.js +7 -0
  8. package/dist/calcite/p-07043a58.entry.js +7 -0
  9. package/dist/calcite/p-07043a58.entry.js.map +1 -0
  10. package/dist/calcite/p-07411877.entry.js +7 -0
  11. package/dist/calcite/p-07411877.entry.js.map +1 -0
  12. package/dist/calcite/p-076d5228.js +7 -0
  13. package/dist/calcite/p-0950b635.js +11 -0
  14. package/dist/calcite/p-09ba5be7.js +7 -0
  15. package/dist/calcite/p-0ae3cd17.entry.js +7 -0
  16. package/dist/calcite/p-0c86a89d.entry.js +7 -0
  17. package/dist/calcite/p-0d014579.entry.js +7 -0
  18. package/dist/calcite/p-0f08d617.entry.js +7 -0
  19. package/dist/calcite/p-120790ae.entry.js +7 -0
  20. package/dist/calcite/p-120790ae.entry.js.map +1 -0
  21. package/dist/calcite/p-14e8aea5.js +7 -0
  22. package/dist/calcite/p-150efaa4.js +7 -0
  23. package/dist/calcite/p-1556bef7.js +7 -0
  24. package/dist/calcite/p-1747ffb9.js +7 -0
  25. package/dist/calcite/p-17581615.js +8 -0
  26. package/dist/calcite/p-176e985b.js +7 -0
  27. package/dist/calcite/p-176e985b.js.map +1 -0
  28. package/dist/calcite/p-177c7f49.entry.js +7 -0
  29. package/dist/calcite/p-190c7317.entry.js +7 -0
  30. package/dist/calcite/p-190c7317.entry.js.map +1 -0
  31. package/dist/calcite/p-1d6e3a98.entry.js +7 -0
  32. package/dist/calcite/p-1d6e3a98.entry.js.map +1 -0
  33. package/dist/calcite/p-1fb3b19d.js +7 -0
  34. package/dist/calcite/p-21eb95f3.entry.js +7 -0
  35. package/dist/calcite/p-23ea44e9.js +7 -0
  36. package/dist/calcite/p-2873d01a.js +7 -0
  37. package/dist/calcite/p-2ab60da2.js +7 -0
  38. package/dist/calcite/p-2c7543fb.entry.js +7 -0
  39. package/dist/calcite/p-2d3f5f11.js +13 -0
  40. package/dist/calcite/p-2db9acc2.entry.js +7 -0
  41. package/dist/calcite/p-32322e15.entry.js +7 -0
  42. package/dist/calcite/p-32322e15.entry.js.map +1 -0
  43. package/dist/calcite/p-33434e45.js +7 -0
  44. package/dist/calcite/p-3660bb21.entry.js +7 -0
  45. package/dist/calcite/p-3660bb21.entry.js.map +1 -0
  46. package/dist/calcite/p-36ef85c1.js +7 -0
  47. package/dist/calcite/p-37761a16.js +7 -0
  48. package/dist/calcite/p-386a42f5.entry.js +7 -0
  49. package/dist/calcite/p-386a42f5.entry.js.map +1 -0
  50. package/dist/calcite/p-3927d405.js +7 -0
  51. package/dist/calcite/p-3a7b1de3.entry.js +7 -0
  52. package/dist/calcite/p-3a7b1de3.entry.js.map +1 -0
  53. package/dist/calcite/p-3bffea95.js +7 -0
  54. package/dist/calcite/p-3cd6ef65.js +7 -0
  55. package/dist/calcite/p-3cf89117.js +7 -0
  56. package/dist/calcite/p-3eddc208.js +7 -0
  57. package/dist/calcite/p-416a1dfa.js +7 -0
  58. package/dist/calcite/p-42729737.entry.js +7 -0
  59. package/dist/calcite/p-42729737.entry.js.map +1 -0
  60. package/dist/calcite/p-42c8bed7.js +7 -0
  61. package/dist/calcite/p-4310e573.entry.js +7 -0
  62. package/dist/calcite/p-4310e573.entry.js.map +1 -0
  63. package/dist/calcite/p-432012f7.js +7 -0
  64. package/dist/calcite/p-43b5ddd0.js +7 -0
  65. package/dist/calcite/p-44885066.js +7 -0
  66. package/dist/calcite/p-44b70c91.entry.js +7 -0
  67. package/dist/calcite/p-44b70c91.entry.js.map +1 -0
  68. package/dist/calcite/p-45dd419d.entry.js +7 -0
  69. package/dist/calcite/p-45dd419d.entry.js.map +1 -0
  70. package/dist/calcite/p-474b2038.entry.js +7 -0
  71. package/dist/calcite/p-474b2038.entry.js.map +1 -0
  72. package/dist/calcite/p-47ee0f17.js +7 -0
  73. package/dist/calcite/p-48c46ebf.js +7 -0
  74. package/dist/calcite/p-49fd34a7.js +7 -0
  75. package/dist/calcite/p-4a654c62.js +7 -0
  76. package/dist/calcite/p-4d68e650.entry.js +7 -0
  77. package/dist/calcite/p-4d68e650.entry.js.map +1 -0
  78. package/dist/calcite/p-4f800b41.js +7 -0
  79. package/dist/calcite/p-4fe16acc.entry.js +7 -0
  80. package/dist/calcite/p-4fe16acc.entry.js.map +1 -0
  81. package/dist/calcite/p-50fa027f.js +7 -0
  82. package/dist/calcite/p-51536b75.js +7 -0
  83. package/dist/calcite/p-52a3a1d9.js +7 -0
  84. package/dist/calcite/p-52d11871.entry.js +7 -0
  85. package/dist/calcite/p-52d11871.entry.js.map +1 -0
  86. package/dist/calcite/p-538e4de5.js +7 -0
  87. package/dist/calcite/p-54e1cc3e.js +7 -0
  88. package/dist/calcite/p-559d5428.entry.js +7 -0
  89. package/dist/calcite/p-5610eb3a.js +7 -0
  90. package/dist/calcite/p-567ec9ce.entry.js +7 -0
  91. package/dist/calcite/p-567ec9ce.entry.js.map +1 -0
  92. package/dist/calcite/p-58acfe5c.entry.js +7 -0
  93. package/dist/calcite/p-58acfe5c.entry.js.map +1 -0
  94. package/dist/calcite/p-5a798716.js +7 -0
  95. package/dist/calcite/p-5be8a330.entry.js +7 -0
  96. package/dist/calcite/p-5bfaa911.js +7 -0
  97. package/dist/calcite/p-5d583a26.js +7 -0
  98. package/dist/calcite/p-5d73097e.js +7 -0
  99. package/dist/calcite/p-5d73097e.js.map +1 -0
  100. package/dist/calcite/p-5e62f5d8.entry.js +7 -0
  101. package/dist/calcite/p-5fb11bc5.js +7 -0
  102. package/dist/calcite/p-605d2697.js +7 -0
  103. package/dist/calcite/p-62a45517.js +7 -0
  104. package/dist/calcite/p-658e49d1.js +7 -0
  105. package/dist/calcite/p-6861beb6.js +7 -0
  106. package/dist/calcite/p-6b034312.js +7 -0
  107. package/dist/calcite/p-6b71176c.entry.js +7 -0
  108. package/dist/calcite/p-6b71176c.entry.js.map +1 -0
  109. package/dist/calcite/p-6d0763d1.entry.js +7 -0
  110. package/dist/calcite/p-6f51e3ce.entry.js +7 -0
  111. package/dist/calcite/p-6f51e3ce.entry.js.map +1 -0
  112. package/dist/calcite/p-702f5524.js +7 -0
  113. package/dist/calcite/p-70bc9361.js +7 -0
  114. package/dist/calcite/p-71846dd7.js +7 -0
  115. package/dist/calcite/p-71a36eac.js +7 -0
  116. package/dist/calcite/p-75d13a9a.js +7 -0
  117. package/dist/calcite/p-75f53b08.js +7 -0
  118. package/dist/calcite/p-78a12803.js +7 -0
  119. package/dist/calcite/p-7aabb05b.entry.js +7 -0
  120. package/dist/calcite/p-7aabb05b.entry.js.map +1 -0
  121. package/dist/calcite/p-7b1011c9.entry.js +7 -0
  122. package/dist/calcite/p-7b1011c9.entry.js.map +1 -0
  123. package/dist/calcite/p-7cba7142.entry.js +7 -0
  124. package/dist/calcite/p-7f868c0b.entry.js +7 -0
  125. package/dist/calcite/p-7f868c0b.entry.js.map +1 -0
  126. package/dist/calcite/p-827c78ae.js +7 -0
  127. package/dist/calcite/p-83c2d42d.entry.js +7 -0
  128. package/dist/calcite/p-83c2d42d.entry.js.map +1 -0
  129. package/dist/calcite/p-85e31bce.entry.js +7 -0
  130. package/dist/calcite/p-85e31bce.entry.js.map +1 -0
  131. package/dist/calcite/p-86670483.js +7 -0
  132. package/dist/calcite/p-8f15a8b8.js +7 -0
  133. package/dist/calcite/p-9046ce3f.entry.js +7 -0
  134. package/dist/calcite/p-9172abf0.entry.js +7 -0
  135. package/dist/calcite/p-92a1d6d7.js +7 -0
  136. package/dist/calcite/p-92a1d6d7.js.map +1 -0
  137. package/dist/calcite/p-92e7212f.js +7 -0
  138. package/dist/calcite/p-9312cf69.js +7 -0
  139. package/dist/calcite/p-934d8e45.js +7 -0
  140. package/dist/calcite/p-94fb2301.js +7 -0
  141. package/dist/calcite/p-96bfb8d9.js +7 -0
  142. package/dist/calcite/p-97413600.entry.js +7 -0
  143. package/dist/calcite/p-97413600.entry.js.map +1 -0
  144. package/dist/calcite/p-99eb2c21.entry.js +7 -0
  145. package/dist/calcite/p-99eb2c21.entry.js.map +1 -0
  146. package/dist/calcite/p-9c2b501a.entry.js +7 -0
  147. package/dist/calcite/p-9c2b501a.entry.js.map +1 -0
  148. package/dist/calcite/p-a3136988.js +7 -0
  149. package/dist/calcite/p-a4561448.entry.js +7 -0
  150. package/dist/calcite/p-a4561448.entry.js.map +1 -0
  151. package/dist/calcite/p-a4601427.js +7 -0
  152. package/dist/calcite/p-a49d2b8e.entry.js +7 -0
  153. package/dist/calcite/p-a49d2b8e.entry.js.map +1 -0
  154. package/dist/calcite/p-a4f09346.entry.js +7 -0
  155. package/dist/calcite/p-a4f09346.entry.js.map +1 -0
  156. package/dist/calcite/p-a56530bf.entry.js +7 -0
  157. package/dist/calcite/p-aa6c227e.entry.js +7 -0
  158. package/dist/calcite/p-abb207ee.js +7 -0
  159. package/dist/calcite/p-ac61143e.js +7 -0
  160. package/dist/calcite/p-af2ce6e6.js +7 -0
  161. package/dist/calcite/p-b3f8b7ef.entry.js +7 -0
  162. package/dist/calcite/p-b466be7f.entry.js +7 -0
  163. package/dist/calcite/p-b466be7f.entry.js.map +1 -0
  164. package/dist/calcite/p-b693e6ed.js +7 -0
  165. package/dist/calcite/p-b6a71674.js +7 -0
  166. package/dist/calcite/p-b722d250.js +7 -0
  167. package/dist/calcite/p-b92ebeef.js +7 -0
  168. package/dist/calcite/p-b96aca55.entry.js +7 -0
  169. package/dist/calcite/p-b96aca55.entry.js.map +1 -0
  170. package/dist/calcite/p-ba1afe48.entry.js +7 -0
  171. package/dist/calcite/p-bac694f0.js +7 -0
  172. package/dist/calcite/p-bac694f0.js.map +1 -0
  173. package/dist/calcite/p-bbac8d98.entry.js +7 -0
  174. package/dist/calcite/p-bbac8d98.entry.js.map +1 -0
  175. package/dist/calcite/p-bd29fda5.js +7 -0
  176. package/dist/calcite/p-c49d0c9b.entry.js +7 -0
  177. package/dist/calcite/p-c49d0c9b.entry.js.map +1 -0
  178. package/dist/calcite/p-c4f58fae.js +7 -0
  179. package/dist/calcite/p-c64f7f92.js +7 -0
  180. package/dist/calcite/p-c7a88fda.entry.js +7 -0
  181. package/dist/calcite/p-c86e8125.entry.js +7 -0
  182. package/dist/calcite/p-c86e8125.entry.js.map +1 -0
  183. package/dist/calcite/p-c96353cc.js +7 -0
  184. package/dist/calcite/p-cbc54e80.js +12 -0
  185. package/dist/calcite/p-cc6a06c5.entry.js +7 -0
  186. package/dist/calcite/p-cc6a06c5.entry.js.map +1 -0
  187. package/dist/calcite/p-ce35a376.entry.js +7 -0
  188. package/dist/calcite/p-ce8096fa.entry.js +7 -0
  189. package/dist/calcite/p-d32e5254.js +7 -0
  190. package/dist/calcite/p-d3838c95.entry.js +7 -0
  191. package/dist/calcite/p-d3838c95.entry.js.map +1 -0
  192. package/dist/calcite/p-d402a243.entry.js +7 -0
  193. package/dist/calcite/p-d402a243.entry.js.map +1 -0
  194. package/dist/calcite/p-d5a775c7.js +7 -0
  195. package/dist/calcite/p-d8dcfc85.entry.js +7 -0
  196. package/dist/calcite/p-d8dcfc85.entry.js.map +1 -0
  197. package/dist/calcite/p-d90ec26a.js +7 -0
  198. package/dist/calcite/p-d95c083d.entry.js +7 -0
  199. package/dist/calcite/p-de896077.entry.js +7 -0
  200. package/dist/calcite/p-de896077.entry.js.map +1 -0
  201. package/dist/calcite/p-e1cb0cf6.js +7 -0
  202. package/dist/calcite/p-e369ccb4.js +7 -0
  203. package/dist/calcite/p-e48d8987.js +7 -0
  204. package/dist/calcite/p-e5c0ef5b.entry.js +7 -0
  205. package/dist/calcite/p-e5c0ef5b.entry.js.map +1 -0
  206. package/dist/calcite/p-e7a44987.js +7 -0
  207. package/dist/calcite/p-e880cc27.js +7 -0
  208. package/dist/calcite/p-ee30d343.entry.js +7 -0
  209. package/dist/calcite/p-ee30d343.entry.js.map +1 -0
  210. package/dist/calcite/p-ee3a83a3.entry.js +7 -0
  211. package/dist/calcite/p-efe5a7bb.entry.js +7 -0
  212. package/dist/calcite/p-efe5a7bb.entry.js.map +1 -0
  213. package/dist/calcite/p-f099b69b.js +7 -0
  214. package/dist/calcite/p-f19f6b4d.entry.js +7 -0
  215. package/dist/calcite/p-f19f6b4d.entry.js.map +1 -0
  216. package/dist/calcite/p-f51a68ab.js +7 -0
  217. package/dist/calcite/p-f602db57.js +7 -0
  218. package/dist/calcite/p-f8d7d444.entry.js +7 -0
  219. package/dist/calcite/p-fa6f9740.js +7 -0
  220. package/dist/calcite/p-fa8bedac.js +7 -0
  221. package/dist/calcite/p-fbf41cbc.js +7 -0
  222. package/dist/calcite/p-feb35427.js +7 -0
  223. package/dist/calcite/p-febdb64b.js +7 -0
  224. package/dist/calcite/p-ff633d19.js +7 -0
  225. package/dist/calcite/p-ffeaebe7.entry.js +7 -0
  226. package/dist/calcite/p-ffeaebe7.entry.js.map +1 -0
  227. package/dist/cjs/ExpandToggle-5d1a0e87.js +107 -0
  228. package/dist/cjs/ExpandToggle-5d1a0e87.js.map +1 -0
  229. package/dist/cjs/FloatingArrow-06622bb5.js +47 -0
  230. package/dist/cjs/FloatingArrow-06622bb5.js.map +1 -0
  231. package/dist/cjs/Heading-c3582328.js +22 -0
  232. package/dist/cjs/Heading-c3582328.js.map +1 -0
  233. package/dist/cjs/Validation-93d2dabf.js +18 -0
  234. package/dist/cjs/Validation-93d2dabf.js.map +1 -0
  235. package/dist/cjs/app-globals-53df6ff0.js +59 -0
  236. package/dist/cjs/app-globals-53df6ff0.js.map +1 -0
  237. package/dist/cjs/ar-5351f38f.js +107 -0
  238. package/dist/cjs/ar-5351f38f.js.map +1 -0
  239. package/dist/cjs/array-a9ec0037.js +14 -0
  240. package/dist/cjs/array-a9ec0037.js.map +1 -0
  241. package/dist/cjs/bg-23720568.js +85 -0
  242. package/dist/cjs/bg-23720568.js.map +1 -0
  243. package/dist/cjs/browser-192fd050.js +32 -0
  244. package/dist/cjs/browser-192fd050.js.map +1 -0
  245. package/dist/cjs/bs-d0d85a86.js +54 -0
  246. package/dist/cjs/bs-d0d85a86.js.map +1 -0
  247. package/dist/cjs/ca-ccdf8c30.js +74 -0
  248. package/dist/cjs/ca-ccdf8c30.js.map +1 -0
  249. package/dist/cjs/calcite-accordion_2.cjs.entry.js +10 -10
  250. package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
  251. package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
  252. package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
  253. package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
  254. package/dist/cjs/calcite-action.cjs.entry.js +14 -16
  255. package/dist/cjs/calcite-action.cjs.entry.js.map +1 -1
  256. package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
  257. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  258. package/dist/cjs/calcite-block_2.cjs.entry.js +19 -21
  259. package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
  260. package/dist/cjs/calcite-button.cjs.entry.js +19 -21
  261. package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
  262. package/dist/cjs/calcite-card-group.cjs.entry.js +10 -16
  263. package/dist/cjs/calcite-card-group.cjs.entry.js.map +1 -1
  264. package/dist/cjs/calcite-card.cjs.entry.js +15 -17
  265. package/dist/cjs/calcite-card.cjs.entry.js.map +1 -1
  266. package/dist/cjs/calcite-carousel_2.cjs.entry.js +16 -18
  267. package/dist/cjs/calcite-carousel_2.cjs.entry.js.map +1 -1
  268. package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -16
  269. package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
  270. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -13
  271. package/dist/cjs/calcite-chip-group.cjs.entry.js.map +1 -1
  272. package/dist/cjs/calcite-chip.cjs.entry.js +15 -17
  273. package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
  274. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -20
  275. package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
  276. package/dist/cjs/calcite-combobox_3.cjs.entry.js +26 -30
  277. package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
  278. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +16 -22
  279. package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
  280. package/dist/cjs/calcite-dialog.cjs.entry.js +16 -16
  281. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +16 -18
  282. package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
  283. package/dist/cjs/calcite-fab.cjs.entry.js +9 -15
  284. package/dist/cjs/calcite-fab.cjs.entry.js.map +1 -1
  285. package/dist/cjs/calcite-filter.cjs.entry.js +15 -17
  286. package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -1
  287. package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -16
  288. package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -1
  289. package/dist/cjs/calcite-flow.cjs.entry.js +5 -5
  290. package/dist/cjs/calcite-graph_2.cjs.entry.js +18 -20
  291. package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
  292. package/dist/cjs/calcite-handle.cjs.entry.js +14 -16
  293. package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
  294. package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
  295. package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -19
  296. package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +1 -1
  297. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +28 -30
  298. package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -1
  299. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  300. package/dist/cjs/calcite-input-number.cjs.entry.js +30 -32
  301. package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
  302. package/dist/cjs/calcite-input-text.cjs.entry.js +24 -26
  303. package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
  304. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-af9a540e.js +2915 -0
  305. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-af9a540e.js.map +1 -0
  306. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +21 -21
  307. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +20 -20
  308. package/dist/cjs/calcite-input.cjs.entry.js +30 -32
  309. package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
  310. package/dist/cjs/calcite-label.cjs.entry.js +7 -7
  311. package/dist/cjs/calcite-link.cjs.entry.js +12 -18
  312. package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
  313. package/dist/cjs/calcite-list_3.cjs.entry.js +18 -28
  314. package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
  315. package/dist/cjs/calcite-loader.cjs.entry.js +9 -9
  316. package/dist/cjs/calcite-menu_2.cjs.entry.js +11 -11
  317. package/dist/cjs/calcite-meter.cjs.entry.js +11 -11
  318. package/dist/cjs/calcite-modal.cjs.entry.js +17 -17
  319. package/dist/cjs/calcite-navigation_3.cjs.entry.js +8 -8
  320. package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
  321. package/dist/cjs/calcite-option_3.cjs.entry.js +14 -16
  322. package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
  323. package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
  324. package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
  325. package/dist/cjs/calcite-panel.cjs.entry.js +17 -19
  326. package/dist/cjs/calcite-panel.cjs.entry.js.map +1 -1
  327. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -25
  328. package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
  329. package/dist/cjs/calcite-popover.cjs.entry.js +19 -19
  330. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  331. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +9 -9
  332. package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -15
  333. package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -1
  334. package/dist/cjs/calcite-rating.cjs.entry.js +17 -19
  335. package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -1
  336. package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
  337. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +14 -16
  338. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
  339. package/dist/cjs/calcite-sheet.cjs.entry.js +11 -11
  340. package/dist/cjs/calcite-shell_3.cjs.entry.js +15 -15
  341. package/dist/cjs/calcite-shell_3.cjs.entry.js.map +1 -1
  342. package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -13
  343. package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +1 -1
  344. package/dist/cjs/calcite-split-button.cjs.entry.js +6 -12
  345. package/dist/cjs/calcite-split-button.cjs.entry.js.map +1 -1
  346. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  347. package/dist/cjs/calcite-stepper_2.cjs.entry.js +14 -16
  348. package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
  349. package/dist/cjs/calcite-switch.cjs.entry.js +14 -16
  350. package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
  351. package/dist/cjs/calcite-tab_4.cjs.entry.js +17 -19
  352. package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
  353. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -17
  354. package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
  355. package/dist/cjs/calcite-table-row.cjs.entry.js +9 -16
  356. package/dist/cjs/calcite-table-row.cjs.entry.js.map +1 -1
  357. package/dist/cjs/calcite-table.cjs.entry.js +11 -11
  358. package/dist/cjs/calcite-text-area.cjs.entry.js +23 -25
  359. package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
  360. package/dist/cjs/calcite-tile-group.cjs.entry.js +9 -11
  361. package/dist/cjs/calcite-tile-group.cjs.entry.js.map +1 -1
  362. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +11 -19
  363. package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
  364. package/dist/cjs/calcite-tile.cjs.entry.js +9 -15
  365. package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -1
  366. package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -14
  367. package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
  368. package/dist/cjs/calcite-tree_2.cjs.entry.js +15 -17
  369. package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
  370. package/dist/cjs/calcite-value-list_2.cjs.entry.js +21 -25
  371. package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
  372. package/dist/cjs/calcite.cjs.js +6 -6
  373. package/dist/cjs/component-96607c76.js +30 -0
  374. package/dist/cjs/component-96607c76.js.map +1 -0
  375. package/dist/cjs/conditionalSlot-f4fb0efd.js +51 -0
  376. package/dist/cjs/conditionalSlot-f4fb0efd.js.map +1 -0
  377. package/dist/cjs/config-1debb24e.js +40 -0
  378. package/dist/cjs/config-1debb24e.js.map +1 -0
  379. package/dist/cjs/continent-64468a2b.js +36 -0
  380. package/dist/cjs/continent-64468a2b.js.map +1 -0
  381. package/dist/cjs/core-c9c58064.js +22 -0
  382. package/dist/cjs/core-c9c58064.js.map +1 -0
  383. package/dist/cjs/country-ff31f887.js +448 -0
  384. package/dist/cjs/country-ff31f887.js.map +1 -0
  385. package/dist/cjs/cs-a230abcc.js +150 -0
  386. package/dist/cjs/cs-a230abcc.js.map +1 -0
  387. package/dist/cjs/da-3330eef0.js +70 -0
  388. package/dist/cjs/da-3330eef0.js.map +1 -0
  389. package/dist/cjs/de-49e804ff.js +94 -0
  390. package/dist/cjs/de-49e804ff.js.map +1 -0
  391. package/dist/cjs/de-at-5c690615.js +93 -0
  392. package/dist/cjs/de-at-5c690615.js.map +1 -0
  393. package/dist/cjs/de-ch-95af2386.js +93 -0
  394. package/dist/cjs/de-ch-95af2386.js.map +1 -0
  395. package/dist/cjs/debounce-f870378c.js +506 -0
  396. package/dist/cjs/debounce-f870378c.js.map +1 -0
  397. package/dist/cjs/dom-1ff7fb61.js +1212 -0
  398. package/dist/cjs/dom-1ff7fb61.js.map +1 -0
  399. package/dist/cjs/el-b33cece5.js +69 -0
  400. package/dist/cjs/el-b33cece5.js.map +1 -0
  401. package/dist/cjs/en-au-ba517e98.js +69 -0
  402. package/dist/cjs/en-au-ba517e98.js.map +1 -0
  403. package/dist/cjs/en-ca-aceb761e.js +68 -0
  404. package/dist/cjs/en-ca-aceb761e.js.map +1 -0
  405. package/dist/cjs/en-gb-c0df945f.js +72 -0
  406. package/dist/cjs/en-gb-c0df945f.js.map +1 -0
  407. package/dist/cjs/es-8b03b095.js +69 -0
  408. package/dist/cjs/es-8b03b095.js.map +1 -0
  409. package/dist/cjs/es-mx-9ba508ec.js +68 -0
  410. package/dist/cjs/es-mx-9ba508ec.js.map +1 -0
  411. package/dist/cjs/et-fa2426cf.js +95 -0
  412. package/dist/cjs/et-fa2426cf.js.map +1 -0
  413. package/dist/cjs/fi-a70195ce.js +118 -0
  414. package/dist/cjs/fi-a70195ce.js.map +1 -0
  415. package/dist/cjs/filter-fe2bc0d4.js +775 -0
  416. package/dist/cjs/filter-fe2bc0d4.js.map +1 -0
  417. package/dist/cjs/floating-ui-13425ba6.js +2359 -0
  418. package/dist/cjs/floating-ui-13425ba6.js.map +1 -0
  419. package/dist/cjs/focusTrapComponent-bc8728a2.js +1015 -0
  420. package/dist/cjs/focusTrapComponent-bc8728a2.js.map +1 -0
  421. package/dist/cjs/form-f86aab9b.js +378 -0
  422. package/dist/cjs/form-f86aab9b.js.map +1 -0
  423. package/dist/cjs/fr-134fc548.js +71 -0
  424. package/dist/cjs/fr-134fc548.js.map +1 -0
  425. package/dist/cjs/fr-ch-0751ee1b.js +69 -0
  426. package/dist/cjs/fr-ch-0751ee1b.js.map +1 -0
  427. package/dist/cjs/guid-47ff9796.js +23 -0
  428. package/dist/cjs/guid-47ff9796.js.map +1 -0
  429. package/dist/cjs/he-973b5cd9.js +108 -0
  430. package/dist/cjs/he-973b5cd9.js.map +1 -0
  431. package/dist/cjs/hi-ada3d7fc.js +68 -0
  432. package/dist/cjs/hi-ada3d7fc.js.map +1 -0
  433. package/dist/cjs/hr-a5bf9882.js +83 -0
  434. package/dist/cjs/hr-a5bf9882.js.map +1 -0
  435. package/dist/cjs/hu-f7d95795.js +91 -0
  436. package/dist/cjs/hu-f7d95795.js.map +1 -0
  437. package/dist/cjs/id-31c2f3ab.js +69 -0
  438. package/dist/cjs/id-31c2f3ab.js.map +1 -0
  439. package/dist/cjs/index-31de06a7.js +16 -0
  440. package/dist/cjs/index-31de06a7.js.map +1 -0
  441. package/dist/cjs/index-462ac36f.js +64 -0
  442. package/dist/cjs/index-462ac36f.js.map +1 -0
  443. package/dist/cjs/index-4fe70fa3.js +1987 -0
  444. package/dist/cjs/index-4fe70fa3.js.map +1 -0
  445. package/dist/cjs/index-7aa46b87.js +75 -0
  446. package/dist/cjs/index-7aa46b87.js.map +1 -0
  447. package/dist/cjs/index-e1aa6da8.js +129 -0
  448. package/dist/cjs/index-e1aa6da8.js.map +1 -0
  449. package/dist/cjs/index.cjs.js +1 -1
  450. package/dist/cjs/input-993cf588.js +57 -0
  451. package/dist/cjs/input-993cf588.js.map +1 -0
  452. package/dist/cjs/interactive-6e051cdc.js +82 -0
  453. package/dist/cjs/interactive-6e051cdc.js.map +1 -0
  454. package/dist/cjs/it-08505d9e.js +69 -0
  455. package/dist/cjs/it-08505d9e.js.map +1 -0
  456. package/dist/cjs/it-ch-15ff1daa.js +69 -0
  457. package/dist/cjs/it-ch-15ff1daa.js.map +1 -0
  458. package/dist/cjs/ja-cddb4540.js +75 -0
  459. package/dist/cjs/ja-cddb4540.js.map +1 -0
  460. package/dist/cjs/key-c3b3fd7e.js +16 -0
  461. package/dist/cjs/key-c3b3fd7e.js.map +1 -0
  462. package/dist/cjs/ko-9325369f.js +75 -0
  463. package/dist/cjs/ko-9325369f.js.map +1 -0
  464. package/dist/cjs/label-66e041c4.js +183 -0
  465. package/dist/cjs/label-66e041c4.js.map +1 -0
  466. package/dist/cjs/loadable-6f2dfe5f.js +95 -0
  467. package/dist/cjs/loadable-6f2dfe5f.js.map +1 -0
  468. package/dist/cjs/loader.cjs.js +6 -6
  469. package/dist/cjs/locale-38c1927e.js +597 -0
  470. package/dist/cjs/locale-38c1927e.js.map +1 -0
  471. package/dist/cjs/logger-89573320.js +58 -0
  472. package/dist/cjs/logger-89573320.js.map +1 -0
  473. package/dist/cjs/lt-b2b1dd0d.js +100 -0
  474. package/dist/cjs/lt-b2b1dd0d.js.map +1 -0
  475. package/dist/cjs/lv-ba44050a.js +69 -0
  476. package/dist/cjs/lv-ba44050a.js.map +1 -0
  477. package/dist/cjs/math-02ee6fc0.js +57 -0
  478. package/dist/cjs/math-02ee6fc0.js.map +1 -0
  479. package/dist/cjs/mk-fbaeb9f8.js +69 -0
  480. package/dist/cjs/mk-fbaeb9f8.js.map +1 -0
  481. package/dist/cjs/nb-0f360c53.js +70 -0
  482. package/dist/cjs/nb-0f360c53.js.map +1 -0
  483. package/dist/cjs/nl-75afda1e.js +70 -0
  484. package/dist/cjs/nl-75afda1e.js.map +1 -0
  485. package/dist/cjs/observers-498f2676.js +55 -0
  486. package/dist/cjs/observers-498f2676.js.map +1 -0
  487. package/dist/cjs/openCloseComponent-9a39b00a.js +62 -0
  488. package/dist/cjs/openCloseComponent-9a39b00a.js.map +1 -0
  489. package/dist/cjs/pl-29730c77.js +117 -0
  490. package/dist/cjs/pl-29730c77.js.map +1 -0
  491. package/dist/cjs/pt-5cfe0ceb.js +70 -0
  492. package/dist/cjs/pt-5cfe0ceb.js.map +1 -0
  493. package/dist/cjs/pt-br-8894e907.js +68 -0
  494. package/dist/cjs/pt-br-8894e907.js.map +1 -0
  495. package/dist/cjs/resources-13441ff6.js +65 -0
  496. package/dist/cjs/resources-13441ff6.js.map +1 -0
  497. package/dist/cjs/resources-2042deb0.js +18 -0
  498. package/dist/cjs/resources-2042deb0.js.map +1 -0
  499. package/dist/cjs/resources-209a1932.js +23 -0
  500. package/dist/cjs/resources-209a1932.js.map +1 -0
  501. package/dist/cjs/resources-86a2da64.js +26 -0
  502. package/dist/cjs/resources-86a2da64.js.map +1 -0
  503. package/dist/cjs/resources-b0583636.js +26 -0
  504. package/dist/cjs/resources-b0583636.js.map +1 -0
  505. package/dist/cjs/resources-d2d6a16a.js +36 -0
  506. package/dist/cjs/resources-d2d6a16a.js.map +1 -0
  507. package/dist/cjs/resources-f73c7292.js +410 -0
  508. package/dist/cjs/resources-f73c7292.js.map +1 -0
  509. package/dist/cjs/ro-fcf7bfda.js +69 -0
  510. package/dist/cjs/ro-fcf7bfda.js.map +1 -0
  511. package/dist/cjs/ru-294ba57a.js +129 -0
  512. package/dist/cjs/ru-294ba57a.js.map +1 -0
  513. package/dist/cjs/sk-2c4943ee.js +151 -0
  514. package/dist/cjs/sk-2c4943ee.js.map +1 -0
  515. package/dist/cjs/sl-ac885c68.js +171 -0
  516. package/dist/cjs/sl-ac885c68.js.map +1 -0
  517. package/dist/cjs/sortableComponent-b6521d30.js +2745 -0
  518. package/dist/cjs/sortableComponent-b6521d30.js.map +1 -0
  519. package/dist/cjs/sr-08bd91ea.js +104 -0
  520. package/dist/cjs/sr-08bd91ea.js.map +1 -0
  521. package/dist/cjs/sv-120a24c9.js +74 -0
  522. package/dist/cjs/sv-120a24c9.js.map +1 -0
  523. package/dist/cjs/t9n-ab4fd9b6.js +105 -0
  524. package/dist/cjs/t9n-ab4fd9b6.js.map +1 -0
  525. package/dist/cjs/th-bc749a8c.js +68 -0
  526. package/dist/cjs/th-bc749a8c.js.map +1 -0
  527. package/dist/cjs/throttle-9ef96d10.js +77 -0
  528. package/dist/cjs/throttle-9ef96d10.js.map +1 -0
  529. package/dist/cjs/time-zones-cb3dd16d.js +44 -0
  530. package/dist/cjs/time-zones-cb3dd16d.js.map +1 -0
  531. package/dist/cjs/tr-f1bb2de9.js +69 -0
  532. package/dist/cjs/tr-f1bb2de9.js.map +1 -0
  533. package/dist/cjs/uk-66aef90e.js +107 -0
  534. package/dist/cjs/uk-66aef90e.js.map +1 -0
  535. package/dist/cjs/utils-2e078867.js +310 -0
  536. package/dist/cjs/utils-2e078867.js.map +1 -0
  537. package/dist/cjs/utils-71f155f2.js +2296 -0
  538. package/dist/cjs/utils-71f155f2.js.map +1 -0
  539. package/dist/cjs/vi-85daa1a8.js +73 -0
  540. package/dist/cjs/vi-85daa1a8.js.map +1 -0
  541. package/dist/cjs/zh-cn-57adfef2.js +97 -0
  542. package/dist/cjs/zh-cn-57adfef2.js.map +1 -0
  543. package/dist/cjs/zh-hk-d49199c8.js +95 -0
  544. package/dist/cjs/zh-hk-d49199c8.js.map +1 -0
  545. package/dist/cjs/zh-tw-4d354278.js +95 -0
  546. package/dist/cjs/zh-tw-4d354278.js.map +1 -0
  547. package/dist/collection/components/accordion/accordion.css +5 -5
  548. package/dist/collection/components/accordion/accordion.js +1 -1
  549. package/dist/collection/components/accordion/resources.js +1 -1
  550. package/dist/collection/components/accordion-item/accordion-item.css +5 -5
  551. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  552. package/dist/collection/components/accordion-item/resources.js +1 -1
  553. package/dist/collection/components/action/action.css +5 -5
  554. package/dist/collection/components/action/action.js +3 -5
  555. package/dist/collection/components/action/action.js.map +1 -1
  556. package/dist/collection/components/action/resources.js +1 -1
  557. package/dist/collection/components/action-bar/action-bar.css +5 -5
  558. package/dist/collection/components/action-bar/action-bar.js +1 -1
  559. package/dist/collection/components/action-bar/resources.js +1 -1
  560. package/dist/collection/components/action-bar/utils.js +1 -1
  561. package/dist/collection/components/action-group/action-group.css +5 -5
  562. package/dist/collection/components/action-group/action-group.js +1 -1
  563. package/dist/collection/components/action-group/resources.js +1 -1
  564. package/dist/collection/components/action-menu/action-menu.css +5 -5
  565. package/dist/collection/components/action-menu/action-menu.js +1 -1
  566. package/dist/collection/components/action-menu/resources.js +1 -1
  567. package/dist/collection/components/action-pad/action-pad.css +5 -5
  568. package/dist/collection/components/action-pad/action-pad.js +1 -1
  569. package/dist/collection/components/action-pad/resources.js +1 -1
  570. package/dist/collection/components/alert/AlertManager.js +1 -1
  571. package/dist/collection/components/alert/alert.css +5 -5
  572. package/dist/collection/components/alert/alert.js +1 -1
  573. package/dist/collection/components/alert/resources.js +1 -1
  574. package/dist/collection/components/avatar/avatar.css +5 -5
  575. package/dist/collection/components/avatar/avatar.js +1 -1
  576. package/dist/collection/components/avatar/resources.js +1 -1
  577. package/dist/collection/components/avatar/utils.js +1 -1
  578. package/dist/collection/components/block/block.css +5 -5
  579. package/dist/collection/components/block/block.js +6 -8
  580. package/dist/collection/components/block/block.js.map +1 -1
  581. package/dist/collection/components/block/resources.js +1 -1
  582. package/dist/collection/components/block-section/block-section.css +5 -5
  583. package/dist/collection/components/block-section/block-section.js +1 -1
  584. package/dist/collection/components/block-section/resources.js +1 -1
  585. package/dist/collection/components/button/button.css +5 -5
  586. package/dist/collection/components/button/button.js +6 -8
  587. package/dist/collection/components/button/button.js.map +1 -1
  588. package/dist/collection/components/button/resources.js +1 -1
  589. package/dist/collection/components/card/card.css +42 -47
  590. package/dist/collection/components/card/card.js +4 -6
  591. package/dist/collection/components/card/card.js.map +1 -1
  592. package/dist/collection/components/card/resources.js +1 -1
  593. package/dist/collection/components/card-group/card-group.css +16 -16
  594. package/dist/collection/components/card-group/card-group.js +3 -9
  595. package/dist/collection/components/card-group/card-group.js.map +1 -1
  596. package/dist/collection/components/carousel/carousel.css +5 -5
  597. package/dist/collection/components/carousel/carousel.js +5 -7
  598. package/dist/collection/components/carousel/carousel.js.map +1 -1
  599. package/dist/collection/components/carousel/resources.js +1 -1
  600. package/dist/collection/components/carousel-item/carousel-item.css +5 -5
  601. package/dist/collection/components/carousel-item/carousel-item.js +1 -1
  602. package/dist/collection/components/carousel-item/resources.js +1 -1
  603. package/dist/collection/components/checkbox/checkbox.css +5 -5
  604. package/dist/collection/components/checkbox/checkbox.js +4 -6
  605. package/dist/collection/components/checkbox/checkbox.js.map +1 -1
  606. package/dist/collection/components/checkbox/resources.js +1 -1
  607. package/dist/collection/components/chip/chip.css +5 -5
  608. package/dist/collection/components/chip/chip.js +4 -6
  609. package/dist/collection/components/chip/chip.js.map +1 -1
  610. package/dist/collection/components/chip/resources.js +1 -1
  611. package/dist/collection/components/chip-group/chip-group.css +5 -5
  612. package/dist/collection/components/chip-group/chip-group.js +3 -7
  613. package/dist/collection/components/chip-group/chip-group.js.map +1 -1
  614. package/dist/collection/components/color-picker/color-picker.css +5 -5
  615. package/dist/collection/components/color-picker/color-picker.js +4 -6
  616. package/dist/collection/components/color-picker/color-picker.js.map +1 -1
  617. package/dist/collection/components/color-picker/resources.js +1 -1
  618. package/dist/collection/components/color-picker/utils.js +1 -1
  619. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
  620. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  621. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  622. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
  623. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  624. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  625. package/dist/collection/components/combobox/combobox.css +5 -5
  626. package/dist/collection/components/combobox/combobox.js +4 -6
  627. package/dist/collection/components/combobox/combobox.js.map +1 -1
  628. package/dist/collection/components/combobox/resources.js +1 -1
  629. package/dist/collection/components/combobox/utils.js +1 -1
  630. package/dist/collection/components/combobox-item/combobox-item.css +5 -5
  631. package/dist/collection/components/combobox-item/combobox-item.js +4 -6
  632. package/dist/collection/components/combobox-item/combobox-item.js.map +1 -1
  633. package/dist/collection/components/combobox-item/resources.js +1 -1
  634. package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
  635. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  636. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  637. package/dist/collection/components/date-picker/date-picker.css +5 -5
  638. package/dist/collection/components/date-picker/date-picker.js +1 -1
  639. package/dist/collection/components/date-picker/resources.js +1 -1
  640. package/dist/collection/components/date-picker/utils.js +1 -1
  641. package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
  642. package/dist/collection/components/date-picker-day/date-picker-day.js +3 -9
  643. package/dist/collection/components/date-picker-day/date-picker-day.js.map +1 -1
  644. package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
  645. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  646. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
  647. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  648. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  649. package/dist/collection/components/dialog/dialog.css +5 -5
  650. package/dist/collection/components/dialog/dialog.js +1 -1
  651. package/dist/collection/components/dialog/resources.js +1 -1
  652. package/dist/collection/components/dropdown/dropdown.css +5 -5
  653. package/dist/collection/components/dropdown/dropdown.js +4 -6
  654. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  655. package/dist/collection/components/dropdown/resources.js +1 -1
  656. package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
  657. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  658. package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
  659. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  660. package/dist/collection/components/dropdown-item/resources.js +1 -1
  661. package/dist/collection/components/fab/fab.css +5 -5
  662. package/dist/collection/components/fab/fab.js +3 -9
  663. package/dist/collection/components/fab/fab.js.map +1 -1
  664. package/dist/collection/components/fab/resources.js +1 -1
  665. package/dist/collection/components/filter/filter.css +5 -5
  666. package/dist/collection/components/filter/filter.js +3 -5
  667. package/dist/collection/components/filter/filter.js.map +1 -1
  668. package/dist/collection/components/filter/resources.js +1 -1
  669. package/dist/collection/components/flow/flow.css +5 -5
  670. package/dist/collection/components/flow/flow.js +1 -1
  671. package/dist/collection/components/flow/resources.js +1 -1
  672. package/dist/collection/components/flow-item/flow-item.css +5 -5
  673. package/dist/collection/components/flow-item/flow-item.js +3 -5
  674. package/dist/collection/components/flow-item/flow-item.js.map +1 -1
  675. package/dist/collection/components/flow-item/resources.js +1 -1
  676. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  677. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  678. package/dist/collection/components/functional/Heading.js +1 -1
  679. package/dist/collection/components/functional/Validation.js +1 -1
  680. package/dist/collection/components/functional/XButton.js +1 -1
  681. package/dist/collection/components/graph/graph.css +5 -5
  682. package/dist/collection/components/graph/graph.js +1 -1
  683. package/dist/collection/components/graph/util.js +1 -1
  684. package/dist/collection/components/handle/handle.css +5 -5
  685. package/dist/collection/components/handle/handle.js +4 -6
  686. package/dist/collection/components/handle/handle.js.map +1 -1
  687. package/dist/collection/components/handle/resources.js +1 -1
  688. package/dist/collection/components/icon/icon.css +5 -5
  689. package/dist/collection/components/icon/icon.js +1 -1
  690. package/dist/collection/components/icon/resources.js +1 -1
  691. package/dist/collection/components/icon/utils.js +1 -1
  692. package/dist/collection/components/inline-editable/inline-editable.css +5 -5
  693. package/dist/collection/components/inline-editable/inline-editable.js +5 -7
  694. package/dist/collection/components/inline-editable/inline-editable.js.map +1 -1
  695. package/dist/collection/components/inline-editable/resources.js +1 -1
  696. package/dist/collection/components/input/common/input.js +1 -1
  697. package/dist/collection/components/input/common/tests.js +1 -1
  698. package/dist/collection/components/input/input.css +5 -5
  699. package/dist/collection/components/input/input.js +15 -17
  700. package/dist/collection/components/input/input.js.map +1 -1
  701. package/dist/collection/components/input/resources.js +1 -1
  702. package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
  703. package/dist/collection/components/input-date-picker/input-date-picker.js +7 -9
  704. package/dist/collection/components/input-date-picker/input-date-picker.js.map +1 -1
  705. package/dist/collection/components/input-date-picker/resources.js +1 -1
  706. package/dist/collection/components/input-date-picker/utils.js +1 -1
  707. package/dist/collection/components/input-message/input-message.css +5 -5
  708. package/dist/collection/components/input-message/input-message.js +1 -1
  709. package/dist/collection/components/input-message/interfaces.js +1 -1
  710. package/dist/collection/components/input-number/input-number.css +5 -5
  711. package/dist/collection/components/input-number/input-number.js +15 -17
  712. package/dist/collection/components/input-number/input-number.js.map +1 -1
  713. package/dist/collection/components/input-number/resources.js +1 -1
  714. package/dist/collection/components/input-text/input-text.css +5 -5
  715. package/dist/collection/components/input-text/input-text.js +9 -11
  716. package/dist/collection/components/input-text/input-text.js.map +1 -1
  717. package/dist/collection/components/input-text/resources.js +1 -1
  718. package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
  719. package/dist/collection/components/input-time-picker/input-time-picker.js +3 -5
  720. package/dist/collection/components/input-time-picker/input-time-picker.js.map +1 -1
  721. package/dist/collection/components/input-time-picker/resources.js +1 -1
  722. package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
  723. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  724. package/dist/collection/components/input-time-zone/resources.js +1 -1
  725. package/dist/collection/components/input-time-zone/utils.js +1 -1
  726. package/dist/collection/components/label/label.css +5 -5
  727. package/dist/collection/components/label/label.js +1 -1
  728. package/dist/collection/components/label/resources.js +1 -1
  729. package/dist/collection/components/link/link.css +5 -5
  730. package/dist/collection/components/link/link.js +6 -12
  731. package/dist/collection/components/link/link.js.map +1 -1
  732. package/dist/collection/components/list/list.css +5 -5
  733. package/dist/collection/components/list/list.js +3 -5
  734. package/dist/collection/components/list/list.js.map +1 -1
  735. package/dist/collection/components/list/resources.js +1 -1
  736. package/dist/collection/components/list-item/list-item.css +5 -5
  737. package/dist/collection/components/list-item/list-item.js +3 -5
  738. package/dist/collection/components/list-item/list-item.js.map +1 -1
  739. package/dist/collection/components/list-item/resources.js +1 -1
  740. package/dist/collection/components/list-item/utils.js +1 -1
  741. package/dist/collection/components/list-item-group/list-item-group.css +5 -5
  742. package/dist/collection/components/list-item-group/list-item-group.js +3 -9
  743. package/dist/collection/components/list-item-group/list-item-group.js.map +1 -1
  744. package/dist/collection/components/list-item-group/resources.js +1 -1
  745. package/dist/collection/components/loader/loader.css +5 -5
  746. package/dist/collection/components/loader/loader.js +1 -1
  747. package/dist/collection/components/loader/resources.js +1 -1
  748. package/dist/collection/components/menu/menu.css +5 -5
  749. package/dist/collection/components/menu/menu.js +1 -1
  750. package/dist/collection/components/menu-item/menu-item.css +5 -5
  751. package/dist/collection/components/menu-item/menu-item.js +1 -1
  752. package/dist/collection/components/menu-item/resources.js +1 -1
  753. package/dist/collection/components/meter/meter.css +5 -5
  754. package/dist/collection/components/meter/meter.js +1 -1
  755. package/dist/collection/components/meter/resources.js +1 -1
  756. package/dist/collection/components/modal/modal.css +5 -5
  757. package/dist/collection/components/modal/modal.js +1 -1
  758. package/dist/collection/components/modal/resources.js +1 -1
  759. package/dist/collection/components/navigation/navigation.css +5 -5
  760. package/dist/collection/components/navigation/navigation.js +1 -1
  761. package/dist/collection/components/navigation/resources.js +1 -1
  762. package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
  763. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  764. package/dist/collection/components/navigation-logo/resources.js +1 -1
  765. package/dist/collection/components/navigation-user/navigation-user.css +5 -5
  766. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  767. package/dist/collection/components/navigation-user/resources.js +1 -1
  768. package/dist/collection/components/notice/notice.css +5 -5
  769. package/dist/collection/components/notice/notice.js +1 -1
  770. package/dist/collection/components/notice/resources.js +1 -1
  771. package/dist/collection/components/option/option.css +5 -5
  772. package/dist/collection/components/option/option.js +1 -1
  773. package/dist/collection/components/option-group/option-group.css +5 -5
  774. package/dist/collection/components/option-group/option-group.js +1 -1
  775. package/dist/collection/components/pagination/pagination.css +5 -5
  776. package/dist/collection/components/pagination/pagination.js +1 -1
  777. package/dist/collection/components/pagination/resources.js +1 -1
  778. package/dist/collection/components/panel/panel.css +5 -5
  779. package/dist/collection/components/panel/panel.js +4 -6
  780. package/dist/collection/components/panel/panel.js.map +1 -1
  781. package/dist/collection/components/panel/resources.js +1 -1
  782. package/dist/collection/components/pick-list/pick-list.css +5 -5
  783. package/dist/collection/components/pick-list/pick-list.js +3 -5
  784. package/dist/collection/components/pick-list/pick-list.js.map +1 -1
  785. package/dist/collection/components/pick-list/resources.js +1 -1
  786. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  787. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  788. package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
  789. package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
  790. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  791. package/dist/collection/components/pick-list-group/resources.js +1 -1
  792. package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
  793. package/dist/collection/components/pick-list-item/pick-list-item.js +3 -5
  794. package/dist/collection/components/pick-list-item/pick-list-item.js.map +1 -1
  795. package/dist/collection/components/pick-list-item/resources.js +1 -1
  796. package/dist/collection/components/popover/PopoverManager.js +1 -1
  797. package/dist/collection/components/popover/popover.css +5 -5
  798. package/dist/collection/components/popover/popover.js +1 -1
  799. package/dist/collection/components/popover/resources.js +1 -1
  800. package/dist/collection/components/progress/progress.css +5 -5
  801. package/dist/collection/components/progress/progress.js +1 -1
  802. package/dist/collection/components/radio-button/radio-button.css +5 -5
  803. package/dist/collection/components/radio-button/radio-button.js +3 -5
  804. package/dist/collection/components/radio-button/radio-button.js.map +1 -1
  805. package/dist/collection/components/radio-button/resources.js +1 -1
  806. package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
  807. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  808. package/dist/collection/components/radio-button-group/resources.js +1 -1
  809. package/dist/collection/components/rating/functional/star.js +1 -1
  810. package/dist/collection/components/rating/rating.css +5 -5
  811. package/dist/collection/components/rating/rating.js +4 -6
  812. package/dist/collection/components/rating/rating.js.map +1 -1
  813. package/dist/collection/components/resources.js +1 -1
  814. package/dist/collection/components/scrim/resources.js +1 -1
  815. package/dist/collection/components/scrim/scrim.css +5 -5
  816. package/dist/collection/components/scrim/scrim.js +1 -1
  817. package/dist/collection/components/segmented-control/resources.js +1 -1
  818. package/dist/collection/components/segmented-control/segmented-control.css +5 -5
  819. package/dist/collection/components/segmented-control/segmented-control.js +3 -5
  820. package/dist/collection/components/segmented-control/segmented-control.js.map +1 -1
  821. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  822. package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
  823. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  824. package/dist/collection/components/select/resources.js +1 -1
  825. package/dist/collection/components/select/select.css +5 -5
  826. package/dist/collection/components/select/select.js +3 -5
  827. package/dist/collection/components/select/select.js.map +1 -1
  828. package/dist/collection/components/sheet/resources.js +1 -1
  829. package/dist/collection/components/sheet/sheet.css +5 -5
  830. package/dist/collection/components/sheet/sheet.js +1 -1
  831. package/dist/collection/components/shell/resources.js +1 -1
  832. package/dist/collection/components/shell/shell.css +5 -5
  833. package/dist/collection/components/shell/shell.js +1 -1
  834. package/dist/collection/components/shell-center-row/resources.js +1 -1
  835. package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
  836. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  837. package/dist/collection/components/shell-panel/resources.js +1 -1
  838. package/dist/collection/components/shell-panel/shell-panel.css +8 -5
  839. package/dist/collection/components/shell-panel/shell-panel.js +3 -3
  840. package/dist/collection/components/shell-panel/shell-panel.js.map +1 -1
  841. package/dist/collection/components/slider/resources.js +1 -1
  842. package/dist/collection/components/slider/slider.css +5 -5
  843. package/dist/collection/components/slider/slider.js +5 -7
  844. package/dist/collection/components/slider/slider.js.map +1 -1
  845. package/dist/collection/components/sortable-list/resources.js +1 -1
  846. package/dist/collection/components/sortable-list/sortable-list.css +5 -5
  847. package/dist/collection/components/sortable-list/sortable-list.js +4 -6
  848. package/dist/collection/components/sortable-list/sortable-list.js.map +1 -1
  849. package/dist/collection/components/split-button/resources.js +1 -1
  850. package/dist/collection/components/split-button/split-button.css +5 -5
  851. package/dist/collection/components/split-button/split-button.js +3 -9
  852. package/dist/collection/components/split-button/split-button.js.map +1 -1
  853. package/dist/collection/components/stack/resources.js +1 -1
  854. package/dist/collection/components/stack/stack.css +5 -5
  855. package/dist/collection/components/stack/stack.js +1 -1
  856. package/dist/collection/components/stepper/functional/step-bar.js +1 -1
  857. package/dist/collection/components/stepper/resources.js +1 -1
  858. package/dist/collection/components/stepper/stepper.css +5 -5
  859. package/dist/collection/components/stepper/stepper.js +1 -1
  860. package/dist/collection/components/stepper-item/resources.js +1 -1
  861. package/dist/collection/components/stepper-item/stepper-item.css +5 -5
  862. package/dist/collection/components/stepper-item/stepper-item.js +4 -6
  863. package/dist/collection/components/stepper-item/stepper-item.js.map +1 -1
  864. package/dist/collection/components/switch/resources.js +1 -1
  865. package/dist/collection/components/switch/switch.css +7 -7
  866. package/dist/collection/components/switch/switch.js +3 -5
  867. package/dist/collection/components/switch/switch.js.map +1 -1
  868. package/dist/collection/components/tab/resources.js +1 -1
  869. package/dist/collection/components/tab/tab.css +5 -5
  870. package/dist/collection/components/tab/tab.js +1 -1
  871. package/dist/collection/components/tab-nav/resources.js +1 -1
  872. package/dist/collection/components/tab-nav/tab-nav.css +5 -5
  873. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  874. package/dist/collection/components/tab-title/resources.js +1 -1
  875. package/dist/collection/components/tab-title/tab-title.css +5 -5
  876. package/dist/collection/components/tab-title/tab-title.js +6 -8
  877. package/dist/collection/components/tab-title/tab-title.js.map +1 -1
  878. package/dist/collection/components/table/resources.js +1 -1
  879. package/dist/collection/components/table/table.css +5 -5
  880. package/dist/collection/components/table/table.js +1 -1
  881. package/dist/collection/components/table-cell/resources.js +1 -1
  882. package/dist/collection/components/table-cell/table-cell.css +5 -5
  883. package/dist/collection/components/table-cell/table-cell.js +4 -6
  884. package/dist/collection/components/table-cell/table-cell.js.map +1 -1
  885. package/dist/collection/components/table-header/resources.js +1 -1
  886. package/dist/collection/components/table-header/table-header.css +5 -5
  887. package/dist/collection/components/table-header/table-header.js +1 -1
  888. package/dist/collection/components/table-row/resources.js +1 -1
  889. package/dist/collection/components/table-row/table-row.css +5 -5
  890. package/dist/collection/components/table-row/table-row.js +3 -9
  891. package/dist/collection/components/table-row/table-row.js.map +1 -1
  892. package/dist/collection/components/tabs/resources.js +1 -1
  893. package/dist/collection/components/tabs/tabs.css +5 -5
  894. package/dist/collection/components/tabs/tabs.js +1 -1
  895. package/dist/collection/components/text-area/resources.js +1 -1
  896. package/dist/collection/components/text-area/text-area.css +5 -5
  897. package/dist/collection/components/text-area/text-area.js +6 -8
  898. package/dist/collection/components/text-area/text-area.js.map +1 -1
  899. package/dist/collection/components/tile/resources.js +1 -1
  900. package/dist/collection/components/tile/tile.css +5 -5
  901. package/dist/collection/components/tile/tile.js +3 -9
  902. package/dist/collection/components/tile/tile.js.map +1 -1
  903. package/dist/collection/components/tile-group/resources.js +1 -1
  904. package/dist/collection/components/tile-group/tile-group.css +5 -5
  905. package/dist/collection/components/tile-group/tile-group.js +3 -5
  906. package/dist/collection/components/tile-group/tile-group.js.map +1 -1
  907. package/dist/collection/components/tile-select/resources.js +1 -1
  908. package/dist/collection/components/tile-select/tile-select.css +5 -5
  909. package/dist/collection/components/tile-select/tile-select.js +4 -6
  910. package/dist/collection/components/tile-select/tile-select.js.map +1 -1
  911. package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
  912. package/dist/collection/components/tile-select-group/tile-select-group.js +3 -9
  913. package/dist/collection/components/tile-select-group/tile-select-group.js.map +1 -1
  914. package/dist/collection/components/time-picker/resources.js +1 -1
  915. package/dist/collection/components/time-picker/time-picker.css +5 -5
  916. package/dist/collection/components/time-picker/time-picker.js +1 -1
  917. package/dist/collection/components/tip/resources.js +1 -1
  918. package/dist/collection/components/tip/tip.css +5 -5
  919. package/dist/collection/components/tip/tip.js +1 -1
  920. package/dist/collection/components/tip-group/tip-group.css +5 -5
  921. package/dist/collection/components/tip-group/tip-group.js +1 -1
  922. package/dist/collection/components/tip-manager/resources.js +1 -1
  923. package/dist/collection/components/tip-manager/tip-manager.css +5 -5
  924. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  925. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  926. package/dist/collection/components/tooltip/resources.js +1 -1
  927. package/dist/collection/components/tooltip/tooltip.css +5 -5
  928. package/dist/collection/components/tooltip/tooltip.js +1 -1
  929. package/dist/collection/components/tooltip/utils.js +1 -1
  930. package/dist/collection/components/tree/tree.css +5 -5
  931. package/dist/collection/components/tree/tree.js +1 -1
  932. package/dist/collection/components/tree/utils.js +1 -1
  933. package/dist/collection/components/tree-item/resources.js +1 -1
  934. package/dist/collection/components/tree-item/tree-item.css +5 -5
  935. package/dist/collection/components/tree-item/tree-item.js +7 -9
  936. package/dist/collection/components/tree-item/tree-item.js.map +1 -1
  937. package/dist/collection/components/value-list/resources.js +1 -1
  938. package/dist/collection/components/value-list/utils.js +1 -1
  939. package/dist/collection/components/value-list/value-list.css +5 -5
  940. package/dist/collection/components/value-list/value-list.js +3 -5
  941. package/dist/collection/components/value-list/value-list.js.map +1 -1
  942. package/dist/collection/components/value-list-item/resources.js +1 -1
  943. package/dist/collection/components/value-list-item/value-list-item.css +5 -5
  944. package/dist/collection/components/value-list-item/value-list-item.js +3 -5
  945. package/dist/collection/components/value-list-item/value-list-item.js.map +1 -1
  946. package/dist/collection/custom-theme/accordion-item.js +1 -1
  947. package/dist/collection/custom-theme/accordion.js +1 -1
  948. package/dist/collection/custom-theme/action.js +1 -1
  949. package/dist/collection/custom-theme/button.js +1 -1
  950. package/dist/collection/custom-theme/card.js +34 -1
  951. package/dist/collection/custom-theme/card.js.map +1 -1
  952. package/dist/collection/custom-theme/checkbox.js +1 -1
  953. package/dist/collection/custom-theme/chips.js +1 -1
  954. package/dist/collection/custom-theme/date-picker.js +1 -1
  955. package/dist/collection/custom-theme/dropdown.js +1 -1
  956. package/dist/collection/custom-theme/icon.js +1 -1
  957. package/dist/collection/custom-theme/loader.js +1 -1
  958. package/dist/collection/custom-theme/notice.js +1 -1
  959. package/dist/collection/custom-theme/pagination.js +1 -1
  960. package/dist/collection/custom-theme/segmented-control.js +1 -1
  961. package/dist/collection/custom-theme/slider.js +1 -1
  962. package/dist/collection/custom-theme/switch.js +1 -1
  963. package/dist/collection/custom-theme/tabs.js +1 -1
  964. package/dist/collection/custom-theme/tree.js +1 -1
  965. package/dist/collection/index.js +1 -1
  966. package/dist/collection/utils/array.js +1 -1
  967. package/dist/collection/utils/browser.js +1 -1
  968. package/dist/collection/utils/component.js +1 -1
  969. package/dist/collection/utils/conditionalSlot.js +1 -1
  970. package/dist/collection/utils/config.js +1 -1
  971. package/dist/collection/utils/date.js +1 -1
  972. package/dist/collection/utils/dom.js +1 -1
  973. package/dist/collection/utils/filter.js +1 -1
  974. package/dist/collection/utils/floating-ui.js +1 -1
  975. package/dist/collection/utils/focusTrapComponent.js +1 -1
  976. package/dist/collection/utils/form.js +1 -1
  977. package/dist/collection/utils/globalScript.js +1 -1
  978. package/dist/collection/utils/guid.js +1 -1
  979. package/dist/collection/utils/interactive.js +2 -82
  980. package/dist/collection/utils/interactive.js.map +1 -1
  981. package/dist/collection/utils/key.js +1 -1
  982. package/dist/collection/utils/label.js +1 -1
  983. package/dist/collection/utils/loadable.js +1 -1
  984. package/dist/collection/utils/locale.js +1 -1
  985. package/dist/collection/utils/logger.js +1 -1
  986. package/dist/collection/utils/math.js +1 -1
  987. package/dist/collection/utils/mode.js +1 -1
  988. package/dist/collection/utils/number.js +1 -1
  989. package/dist/collection/utils/observers.js +1 -1
  990. package/dist/collection/utils/openCloseComponent.js +1 -1
  991. package/dist/collection/utils/resources.js +1 -1
  992. package/dist/collection/utils/responsive.js +1 -1
  993. package/dist/collection/utils/sortableComponent.js +1 -1
  994. package/dist/collection/utils/t9n.js +1 -1
  995. package/dist/collection/utils/time.js +1 -1
  996. package/dist/components/ExpandToggle.js +1 -1
  997. package/dist/components/FloatingArrow.js +1 -1
  998. package/dist/components/Heading.js +1 -1
  999. package/dist/components/Validation.js +1 -1
  1000. package/dist/components/action-group.js +1 -1
  1001. package/dist/components/action-menu.js +1 -1
  1002. package/dist/components/action.js +3 -5
  1003. package/dist/components/action.js.map +1 -1
  1004. package/dist/components/ar.js +1 -1
  1005. package/dist/components/array.js +1 -1
  1006. package/dist/components/avatar.js +1 -1
  1007. package/dist/components/bg.js +1 -1
  1008. package/dist/components/browser.js +1 -1
  1009. package/dist/components/bs.js +1 -1
  1010. package/dist/components/button.js +6 -8
  1011. package/dist/components/button.js.map +1 -1
  1012. package/dist/components/ca.js +1 -1
  1013. package/dist/components/calcite-accordion-item.js +1 -1
  1014. package/dist/components/calcite-accordion.js +1 -1
  1015. package/dist/components/calcite-action-bar.js +1 -1
  1016. package/dist/components/calcite-action-group.js +1 -1
  1017. package/dist/components/calcite-action-menu.js +1 -1
  1018. package/dist/components/calcite-action-pad.js +1 -1
  1019. package/dist/components/calcite-action.js +1 -1
  1020. package/dist/components/calcite-alert.js +1 -1
  1021. package/dist/components/calcite-avatar.js +1 -1
  1022. package/dist/components/calcite-block-section.js +1 -1
  1023. package/dist/components/calcite-block.js +6 -8
  1024. package/dist/components/calcite-block.js.map +1 -1
  1025. package/dist/components/calcite-button.js +1 -1
  1026. package/dist/components/calcite-card-group.js +4 -10
  1027. package/dist/components/calcite-card-group.js.map +1 -1
  1028. package/dist/components/calcite-card.js +5 -7
  1029. package/dist/components/calcite-card.js.map +1 -1
  1030. package/dist/components/calcite-carousel-item.js +1 -1
  1031. package/dist/components/calcite-carousel.js +5 -7
  1032. package/dist/components/calcite-carousel.js.map +1 -1
  1033. package/dist/components/calcite-checkbox.js +1 -1
  1034. package/dist/components/calcite-chip-group.js +3 -7
  1035. package/dist/components/calcite-chip-group.js.map +1 -1
  1036. package/dist/components/calcite-chip.js +1 -1
  1037. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  1038. package/dist/components/calcite-color-picker-swatch.js +1 -1
  1039. package/dist/components/calcite-color-picker.js +4 -6
  1040. package/dist/components/calcite-color-picker.js.map +1 -1
  1041. package/dist/components/calcite-combobox-item-group.js +1 -1
  1042. package/dist/components/calcite-combobox-item.js +1 -1
  1043. package/dist/components/calcite-combobox.js +1 -1
  1044. package/dist/components/calcite-date-picker-day.js +1 -1
  1045. package/dist/components/calcite-date-picker-month-header.js +1 -1
  1046. package/dist/components/calcite-date-picker-month.js +1 -1
  1047. package/dist/components/calcite-date-picker.js +1 -1
  1048. package/dist/components/calcite-dialog.js +1 -1
  1049. package/dist/components/calcite-dropdown-group.js +1 -1
  1050. package/dist/components/calcite-dropdown-item.js +1 -1
  1051. package/dist/components/calcite-dropdown.js +1 -1
  1052. package/dist/components/calcite-fab.js +3 -9
  1053. package/dist/components/calcite-fab.js.map +1 -1
  1054. package/dist/components/calcite-filter.js +1 -1
  1055. package/dist/components/calcite-flow-item.js +3 -5
  1056. package/dist/components/calcite-flow-item.js.map +1 -1
  1057. package/dist/components/calcite-flow.js +1 -1
  1058. package/dist/components/calcite-graph.js +1 -1
  1059. package/dist/components/calcite-handle.js +1 -1
  1060. package/dist/components/calcite-icon.js +1 -1
  1061. package/dist/components/calcite-inline-editable.js +5 -7
  1062. package/dist/components/calcite-inline-editable.js.map +1 -1
  1063. package/dist/components/calcite-input-date-picker.js +7 -9
  1064. package/dist/components/calcite-input-date-picker.js.map +1 -1
  1065. package/dist/components/calcite-input-message.js +1 -1
  1066. package/dist/components/calcite-input-number.js +1 -1
  1067. package/dist/components/calcite-input-text.js +1 -1
  1068. package/dist/components/calcite-input-time-picker.js +3 -5
  1069. package/dist/components/calcite-input-time-picker.js.map +1 -1
  1070. package/dist/components/calcite-input-time-zone.js +1 -1
  1071. package/dist/components/calcite-input.js +1 -1
  1072. package/dist/components/calcite-label.js +1 -1
  1073. package/dist/components/calcite-link.js +1 -1
  1074. package/dist/components/calcite-list-item-group.js +3 -9
  1075. package/dist/components/calcite-list-item-group.js.map +1 -1
  1076. package/dist/components/calcite-list-item.js +3 -5
  1077. package/dist/components/calcite-list-item.js.map +1 -1
  1078. package/dist/components/calcite-list.js +3 -5
  1079. package/dist/components/calcite-list.js.map +1 -1
  1080. package/dist/components/calcite-loader.js +1 -1
  1081. package/dist/components/calcite-menu-item.js +1 -1
  1082. package/dist/components/calcite-menu.js +1 -1
  1083. package/dist/components/calcite-meter.js +1 -1
  1084. package/dist/components/calcite-modal.js +1 -1
  1085. package/dist/components/calcite-navigation-logo.js +1 -1
  1086. package/dist/components/calcite-navigation-user.js +1 -1
  1087. package/dist/components/calcite-navigation.js +1 -1
  1088. package/dist/components/calcite-notice.js +1 -1
  1089. package/dist/components/calcite-option-group.js +1 -1
  1090. package/dist/components/calcite-option.js +1 -1
  1091. package/dist/components/calcite-pagination.js +1 -1
  1092. package/dist/components/calcite-panel.js +1 -1
  1093. package/dist/components/calcite-pick-list-group.js +1 -1
  1094. package/dist/components/calcite-pick-list-item.js +1 -1
  1095. package/dist/components/calcite-pick-list.js +3 -5
  1096. package/dist/components/calcite-pick-list.js.map +1 -1
  1097. package/dist/components/calcite-popover.js +1 -1
  1098. package/dist/components/calcite-progress.js +1 -1
  1099. package/dist/components/calcite-radio-button-group.js +1 -1
  1100. package/dist/components/calcite-radio-button.js +1 -1
  1101. package/dist/components/calcite-rating.js +4 -6
  1102. package/dist/components/calcite-rating.js.map +1 -1
  1103. package/dist/components/calcite-scrim.js +1 -1
  1104. package/dist/components/calcite-segmented-control-item.js +1 -1
  1105. package/dist/components/calcite-segmented-control.js +3 -5
  1106. package/dist/components/calcite-segmented-control.js.map +1 -1
  1107. package/dist/components/calcite-select.js +3 -5
  1108. package/dist/components/calcite-select.js.map +1 -1
  1109. package/dist/components/calcite-sheet.js +1 -1
  1110. package/dist/components/calcite-shell-center-row.js +1 -1
  1111. package/dist/components/calcite-shell-panel.js +4 -4
  1112. package/dist/components/calcite-shell-panel.js.map +1 -1
  1113. package/dist/components/calcite-shell.js +1 -1
  1114. package/dist/components/calcite-slider.js +5 -7
  1115. package/dist/components/calcite-slider.js.map +1 -1
  1116. package/dist/components/calcite-sortable-list.js +4 -6
  1117. package/dist/components/calcite-sortable-list.js.map +1 -1
  1118. package/dist/components/calcite-split-button.js +3 -9
  1119. package/dist/components/calcite-split-button.js.map +1 -1
  1120. package/dist/components/calcite-stack.js +1 -1
  1121. package/dist/components/calcite-stepper-item.js +4 -6
  1122. package/dist/components/calcite-stepper-item.js.map +1 -1
  1123. package/dist/components/calcite-stepper.js +1 -1
  1124. package/dist/components/calcite-switch.js +1 -1
  1125. package/dist/components/calcite-tab-nav.js +1 -1
  1126. package/dist/components/calcite-tab-title.js +1 -1
  1127. package/dist/components/calcite-tab.js +1 -1
  1128. package/dist/components/calcite-table-cell.js +1 -1
  1129. package/dist/components/calcite-table-header.js +1 -1
  1130. package/dist/components/calcite-table-row.js +3 -9
  1131. package/dist/components/calcite-table-row.js.map +1 -1
  1132. package/dist/components/calcite-table.js +1 -1
  1133. package/dist/components/calcite-tabs.js +1 -1
  1134. package/dist/components/calcite-text-area.js +6 -8
  1135. package/dist/components/calcite-text-area.js.map +1 -1
  1136. package/dist/components/calcite-tile-group.js +3 -5
  1137. package/dist/components/calcite-tile-group.js.map +1 -1
  1138. package/dist/components/calcite-tile-select-group.js +3 -9
  1139. package/dist/components/calcite-tile-select-group.js.map +1 -1
  1140. package/dist/components/calcite-tile-select.js +4 -6
  1141. package/dist/components/calcite-tile-select.js.map +1 -1
  1142. package/dist/components/calcite-tile.js +3 -9
  1143. package/dist/components/calcite-tile.js.map +1 -1
  1144. package/dist/components/calcite-time-picker.js +1 -1
  1145. package/dist/components/calcite-tip-group.js +1 -1
  1146. package/dist/components/calcite-tip-manager.js +1 -1
  1147. package/dist/components/calcite-tip.js +1 -1
  1148. package/dist/components/calcite-tooltip.js +1 -1
  1149. package/dist/components/calcite-tree-item.js +7 -9
  1150. package/dist/components/calcite-tree-item.js.map +1 -1
  1151. package/dist/components/calcite-tree.js +1 -1
  1152. package/dist/components/calcite-value-list-item.js +3 -5
  1153. package/dist/components/calcite-value-list-item.js.map +1 -1
  1154. package/dist/components/calcite-value-list.js +3 -5
  1155. package/dist/components/calcite-value-list.js.map +1 -1
  1156. package/dist/components/checkbox.js +4 -6
  1157. package/dist/components/checkbox.js.map +1 -1
  1158. package/dist/components/chip.js +4 -6
  1159. package/dist/components/chip.js.map +1 -1
  1160. package/dist/components/color-picker-hex-input.js +1 -1
  1161. package/dist/components/color-picker-swatch.js +1 -1
  1162. package/dist/components/combobox-item-group.js +1 -1
  1163. package/dist/components/combobox-item.js +4 -6
  1164. package/dist/components/combobox-item.js.map +1 -1
  1165. package/dist/components/combobox.js +4 -6
  1166. package/dist/components/combobox.js.map +1 -1
  1167. package/dist/components/component.js +1 -1
  1168. package/dist/components/conditionalSlot.js +1 -1
  1169. package/dist/components/config.js +4 -4
  1170. package/dist/components/config.js.map +1 -1
  1171. package/dist/components/continent.js +1 -1
  1172. package/dist/components/core.js +2 -2
  1173. package/dist/components/core.js.map +1 -1
  1174. package/dist/components/country.js +1 -1
  1175. package/dist/components/cs.js +1 -1
  1176. package/dist/components/da.js +1 -1
  1177. package/dist/components/date-picker-day.js +3 -9
  1178. package/dist/components/date-picker-day.js.map +1 -1
  1179. package/dist/components/date-picker-month-header.js +1 -1
  1180. package/dist/components/date-picker-month.js +1 -1
  1181. package/dist/components/date-picker.js +1 -1
  1182. package/dist/components/date.js +1 -1
  1183. package/dist/components/de-at.js +1 -1
  1184. package/dist/components/de-ch.js +1 -1
  1185. package/dist/components/de.js +1 -1
  1186. package/dist/components/debounce.js +1 -1
  1187. package/dist/components/dom.js +1 -1
  1188. package/dist/components/dropdown.js +4 -6
  1189. package/dist/components/dropdown.js.map +1 -1
  1190. package/dist/components/el.js +1 -1
  1191. package/dist/components/en-au.js +1 -1
  1192. package/dist/components/en-ca.js +1 -1
  1193. package/dist/components/en-gb.js +1 -1
  1194. package/dist/components/es-mx.js +1 -1
  1195. package/dist/components/es.js +1 -1
  1196. package/dist/components/et.js +1 -1
  1197. package/dist/components/fi.js +1 -1
  1198. package/dist/components/filter.js +1 -1
  1199. package/dist/components/filter2.js +3 -5
  1200. package/dist/components/filter2.js.map +1 -1
  1201. package/dist/components/floating-ui.js +1 -1
  1202. package/dist/components/focusTrapComponent.js +1 -1
  1203. package/dist/components/form.js +1 -1
  1204. package/dist/components/fr-ch.js +1 -1
  1205. package/dist/components/fr.js +1 -1
  1206. package/dist/components/graph.js +1 -1
  1207. package/dist/components/guid.js +1 -1
  1208. package/dist/components/handle.js +4 -6
  1209. package/dist/components/handle.js.map +1 -1
  1210. package/dist/components/he.js +1 -1
  1211. package/dist/components/hi.js +1 -1
  1212. package/dist/components/hr.js +1 -1
  1213. package/dist/components/hu.js +1 -1
  1214. package/dist/components/icon.js +1 -1
  1215. package/dist/components/id.js +1 -1
  1216. package/dist/components/index.js +1 -1
  1217. package/dist/components/index2.js +1 -1
  1218. package/dist/components/index3.js +1 -1
  1219. package/dist/components/index4.js +1 -1
  1220. package/dist/components/index5.js +1 -1
  1221. package/dist/components/input-message.js +1 -1
  1222. package/dist/components/input-number.js +15 -17
  1223. package/dist/components/input-number.js.map +1 -1
  1224. package/dist/components/input-text.js +9 -11
  1225. package/dist/components/input-text.js.map +1 -1
  1226. package/dist/components/input.js +1 -1
  1227. package/dist/components/input2.js +15 -17
  1228. package/dist/components/input2.js.map +1 -1
  1229. package/dist/components/interactive.js +3 -83
  1230. package/dist/components/interactive.js.map +1 -1
  1231. package/dist/components/it-ch.js +1 -1
  1232. package/dist/components/it.js +1 -1
  1233. package/dist/components/ja.js +1 -1
  1234. package/dist/components/key.js +1 -1
  1235. package/dist/components/ko.js +1 -1
  1236. package/dist/components/label.js +1 -1
  1237. package/dist/components/label2.js +1 -1
  1238. package/dist/components/link.js +6 -12
  1239. package/dist/components/link.js.map +1 -1
  1240. package/dist/components/loadable.js +1 -1
  1241. package/dist/components/loader.js +1 -1
  1242. package/dist/components/locale.js +1 -1
  1243. package/dist/components/logger.js +1 -1
  1244. package/dist/components/lt.js +1 -1
  1245. package/dist/components/lv.js +1 -1
  1246. package/dist/components/math.js +1 -1
  1247. package/dist/components/menu.js +1 -1
  1248. package/dist/components/mk.js +1 -1
  1249. package/dist/components/nb.js +1 -1
  1250. package/dist/components/nl.js +1 -1
  1251. package/dist/components/observers.js +1 -1
  1252. package/dist/components/openCloseComponent.js +1 -1
  1253. package/dist/components/pagination.js +2 -2
  1254. package/dist/components/pagination.js.map +1 -1
  1255. package/dist/components/panel.js +4 -6
  1256. package/dist/components/panel.js.map +1 -1
  1257. package/dist/components/pick-list-item.js +3 -5
  1258. package/dist/components/pick-list-item.js.map +1 -1
  1259. package/dist/components/pl.js +1 -1
  1260. package/dist/components/popover.js +1 -1
  1261. package/dist/components/progress.js +1 -1
  1262. package/dist/components/pt-br.js +1 -1
  1263. package/dist/components/pt.js +1 -1
  1264. package/dist/components/radio-button.js +3 -5
  1265. package/dist/components/radio-button.js.map +1 -1
  1266. package/dist/components/resources.js +1 -1
  1267. package/dist/components/resources2.js +1 -1
  1268. package/dist/components/resources3.js +1 -1
  1269. package/dist/components/resources4.js +1 -1
  1270. package/dist/components/resources5.js +1 -1
  1271. package/dist/components/resources6.js +1 -1
  1272. package/dist/components/ro.js +1 -1
  1273. package/dist/components/ru.js +1 -1
  1274. package/dist/components/scrim.js +1 -1
  1275. package/dist/components/shared-list-render.js +1 -1
  1276. package/dist/components/sk.js +1 -1
  1277. package/dist/components/sl.js +1 -1
  1278. package/dist/components/sortableComponent.js +1 -1
  1279. package/dist/components/sr.js +1 -1
  1280. package/dist/components/stack.js +1 -1
  1281. package/dist/components/sv.js +1 -1
  1282. package/dist/components/switch.js +4 -6
  1283. package/dist/components/switch.js.map +1 -1
  1284. package/dist/components/t9n.js +1 -1
  1285. package/dist/components/tab-nav.js +1 -1
  1286. package/dist/components/tab-title.js +6 -8
  1287. package/dist/components/tab-title.js.map +1 -1
  1288. package/dist/components/tab.js +1 -1
  1289. package/dist/components/table-cell.js +4 -6
  1290. package/dist/components/table-cell.js.map +1 -1
  1291. package/dist/components/table-header.js +1 -1
  1292. package/dist/components/tabs.js +1 -1
  1293. package/dist/components/th.js +1 -1
  1294. package/dist/components/throttle.js +1 -1
  1295. package/dist/components/time-picker.js +1 -1
  1296. package/dist/components/time-zones.js +1 -1
  1297. package/dist/components/tr.js +1 -1
  1298. package/dist/components/uk.js +1 -1
  1299. package/dist/components/utils.js +1 -1
  1300. package/dist/components/utils2.js +1 -1
  1301. package/dist/components/utils3.js +1 -1
  1302. package/dist/components/vi.js +1 -1
  1303. package/dist/components/zh-cn.js +1 -1
  1304. package/dist/components/zh-hk.js +1 -1
  1305. package/dist/components/zh-tw.js +1 -1
  1306. package/dist/esm/ExpandToggle-7157261f.js +100 -0
  1307. package/dist/esm/ExpandToggle-7157261f.js.map +1 -0
  1308. package/dist/esm/FloatingArrow-46de385c.js +45 -0
  1309. package/dist/esm/FloatingArrow-46de385c.js.map +1 -0
  1310. package/dist/esm/Heading-c9a7b934.js +19 -0
  1311. package/dist/esm/Heading-c9a7b934.js.map +1 -0
  1312. package/dist/esm/Validation-6c8d6c8e.js +16 -0
  1313. package/dist/esm/Validation-6c8d6c8e.js.map +1 -0
  1314. package/dist/esm/app-globals-74880193.js +57 -0
  1315. package/dist/esm/app-globals-74880193.js.map +1 -0
  1316. package/dist/esm/ar-110a0418.js +105 -0
  1317. package/dist/esm/ar-110a0418.js.map +1 -0
  1318. package/dist/esm/array-3e20cd5d.js +12 -0
  1319. package/dist/esm/array-3e20cd5d.js.map +1 -0
  1320. package/dist/esm/bg-b08626f0.js +83 -0
  1321. package/dist/esm/bg-b08626f0.js.map +1 -0
  1322. package/dist/esm/browser-9825271f.js +29 -0
  1323. package/dist/esm/browser-9825271f.js.map +1 -0
  1324. package/dist/esm/bs-f7ffe1ce.js +52 -0
  1325. package/dist/esm/bs-f7ffe1ce.js.map +1 -0
  1326. package/dist/esm/ca-c5d522ab.js +72 -0
  1327. package/dist/esm/ca-c5d522ab.js.map +1 -0
  1328. package/dist/esm/calcite-accordion_2.entry.js +10 -10
  1329. package/dist/esm/calcite-action-bar.entry.js +16 -16
  1330. package/dist/esm/calcite-action-group.entry.js +14 -14
  1331. package/dist/esm/calcite-action-menu.entry.js +10 -10
  1332. package/dist/esm/calcite-action-pad.entry.js +15 -15
  1333. package/dist/esm/calcite-action.entry.js +14 -16
  1334. package/dist/esm/calcite-action.entry.js.map +1 -1
  1335. package/dist/esm/calcite-alert.entry.js +14 -14
  1336. package/dist/esm/calcite-avatar.entry.js +6 -6
  1337. package/dist/esm/calcite-block_2.entry.js +19 -21
  1338. package/dist/esm/calcite-block_2.entry.js.map +1 -1
  1339. package/dist/esm/calcite-button.entry.js +19 -21
  1340. package/dist/esm/calcite-button.entry.js.map +1 -1
  1341. package/dist/esm/calcite-card-group.entry.js +10 -16
  1342. package/dist/esm/calcite-card-group.entry.js.map +1 -1
  1343. package/dist/esm/calcite-card.entry.js +15 -17
  1344. package/dist/esm/calcite-card.entry.js.map +1 -1
  1345. package/dist/esm/calcite-carousel_2.entry.js +16 -18
  1346. package/dist/esm/calcite-carousel_2.entry.js.map +1 -1
  1347. package/dist/esm/calcite-checkbox.entry.js +14 -16
  1348. package/dist/esm/calcite-checkbox.entry.js.map +1 -1
  1349. package/dist/esm/calcite-chip-group.entry.js +9 -13
  1350. package/dist/esm/calcite-chip-group.entry.js.map +1 -1
  1351. package/dist/esm/calcite-chip.entry.js +15 -17
  1352. package/dist/esm/calcite-chip.entry.js.map +1 -1
  1353. package/dist/esm/calcite-color-picker_3.entry.js +18 -20
  1354. package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
  1355. package/dist/esm/calcite-combobox_3.entry.js +26 -30
  1356. package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
  1357. package/dist/esm/calcite-date-picker_4.entry.js +16 -22
  1358. package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
  1359. package/dist/esm/calcite-dialog.entry.js +16 -16
  1360. package/dist/esm/calcite-dropdown_3.entry.js +16 -18
  1361. package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
  1362. package/dist/esm/calcite-fab.entry.js +9 -15
  1363. package/dist/esm/calcite-fab.entry.js.map +1 -1
  1364. package/dist/esm/calcite-filter.entry.js +15 -17
  1365. package/dist/esm/calcite-filter.entry.js.map +1 -1
  1366. package/dist/esm/calcite-flow-item.entry.js +14 -16
  1367. package/dist/esm/calcite-flow-item.entry.js.map +1 -1
  1368. package/dist/esm/calcite-flow.entry.js +5 -5
  1369. package/dist/esm/calcite-graph_2.entry.js +18 -20
  1370. package/dist/esm/calcite-graph_2.entry.js.map +1 -1
  1371. package/dist/esm/calcite-handle.entry.js +14 -16
  1372. package/dist/esm/calcite-handle.entry.js.map +1 -1
  1373. package/dist/esm/calcite-icon.entry.js +7 -7
  1374. package/dist/esm/calcite-inline-editable.entry.js +17 -19
  1375. package/dist/esm/calcite-inline-editable.entry.js.map +1 -1
  1376. package/dist/esm/calcite-input-date-picker.entry.js +28 -30
  1377. package/dist/esm/calcite-input-date-picker.entry.js.map +1 -1
  1378. package/dist/esm/calcite-input-message.entry.js +5 -5
  1379. package/dist/esm/calcite-input-number.entry.js +30 -32
  1380. package/dist/esm/calcite-input-number.entry.js.map +1 -1
  1381. package/dist/esm/calcite-input-text.entry.js +24 -26
  1382. package/dist/esm/calcite-input-text.entry.js.map +1 -1
  1383. package/dist/esm/calcite-input-time-picker.calcite-time-picker-be0d8f45.js +2911 -0
  1384. package/dist/esm/calcite-input-time-picker.calcite-time-picker-be0d8f45.js.map +1 -0
  1385. package/dist/esm/calcite-input-time-picker_2.entry.js +21 -21
  1386. package/dist/esm/calcite-input-time-zone.entry.js +20 -20
  1387. package/dist/esm/calcite-input.entry.js +30 -32
  1388. package/dist/esm/calcite-input.entry.js.map +1 -1
  1389. package/dist/esm/calcite-label.entry.js +7 -7
  1390. package/dist/esm/calcite-link.entry.js +12 -18
  1391. package/dist/esm/calcite-link.entry.js.map +1 -1
  1392. package/dist/esm/calcite-list_3.entry.js +18 -28
  1393. package/dist/esm/calcite-list_3.entry.js.map +1 -1
  1394. package/dist/esm/calcite-loader.entry.js +9 -9
  1395. package/dist/esm/calcite-menu_2.entry.js +11 -11
  1396. package/dist/esm/calcite-meter.entry.js +11 -11
  1397. package/dist/esm/calcite-modal.entry.js +17 -17
  1398. package/dist/esm/calcite-navigation_3.entry.js +8 -8
  1399. package/dist/esm/calcite-notice.entry.js +15 -15
  1400. package/dist/esm/calcite-option_3.entry.js +14 -16
  1401. package/dist/esm/calcite-option_3.entry.js.map +1 -1
  1402. package/dist/esm/calcite-pagination.entry.js +13 -13
  1403. package/dist/esm/calcite-pagination.entry.js.map +1 -1
  1404. package/dist/esm/calcite-panel.entry.js +17 -19
  1405. package/dist/esm/calcite-panel.entry.js.map +1 -1
  1406. package/dist/esm/calcite-pick-list_3.entry.js +21 -25
  1407. package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
  1408. package/dist/esm/calcite-popover.entry.js +19 -19
  1409. package/dist/esm/calcite-progress.entry.js +5 -5
  1410. package/dist/esm/calcite-radio-button-group.entry.js +9 -9
  1411. package/dist/esm/calcite-radio-button.entry.js +13 -15
  1412. package/dist/esm/calcite-radio-button.entry.js.map +1 -1
  1413. package/dist/esm/calcite-rating.entry.js +17 -19
  1414. package/dist/esm/calcite-rating.entry.js.map +1 -1
  1415. package/dist/esm/calcite-scrim.entry.js +10 -10
  1416. package/dist/esm/calcite-segmented-control_2.entry.js +14 -16
  1417. package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
  1418. package/dist/esm/calcite-sheet.entry.js +11 -11
  1419. package/dist/esm/calcite-shell_3.entry.js +15 -15
  1420. package/dist/esm/calcite-shell_3.entry.js.map +1 -1
  1421. package/dist/esm/calcite-sortable-list.entry.js +11 -13
  1422. package/dist/esm/calcite-sortable-list.entry.js.map +1 -1
  1423. package/dist/esm/calcite-split-button.entry.js +6 -12
  1424. package/dist/esm/calcite-split-button.entry.js.map +1 -1
  1425. package/dist/esm/calcite-stack.entry.js +6 -6
  1426. package/dist/esm/calcite-stepper_2.entry.js +14 -16
  1427. package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
  1428. package/dist/esm/calcite-switch.entry.js +14 -16
  1429. package/dist/esm/calcite-switch.entry.js.map +1 -1
  1430. package/dist/esm/calcite-tab_4.entry.js +17 -19
  1431. package/dist/esm/calcite-tab_4.entry.js.map +1 -1
  1432. package/dist/esm/calcite-table-cell_2.entry.js +15 -17
  1433. package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
  1434. package/dist/esm/calcite-table-row.entry.js +9 -16
  1435. package/dist/esm/calcite-table-row.entry.js.map +1 -1
  1436. package/dist/esm/calcite-table.entry.js +11 -11
  1437. package/dist/esm/calcite-text-area.entry.js +23 -25
  1438. package/dist/esm/calcite-text-area.entry.js.map +1 -1
  1439. package/dist/esm/calcite-tile-group.entry.js +9 -11
  1440. package/dist/esm/calcite-tile-group.entry.js.map +1 -1
  1441. package/dist/esm/calcite-tile-select_2.entry.js +11 -19
  1442. package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
  1443. package/dist/esm/calcite-tile.entry.js +9 -15
  1444. package/dist/esm/calcite-tile.entry.js.map +1 -1
  1445. package/dist/esm/calcite-tip_3.entry.js +14 -14
  1446. package/dist/esm/calcite-tooltip.entry.js +10 -10
  1447. package/dist/esm/calcite-tree_2.entry.js +15 -17
  1448. package/dist/esm/calcite-tree_2.entry.js.map +1 -1
  1449. package/dist/esm/calcite-value-list_2.entry.js +21 -25
  1450. package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
  1451. package/dist/esm/calcite.js +7 -7
  1452. package/dist/esm/component-56e5ceb0.js +27 -0
  1453. package/dist/esm/component-56e5ceb0.js.map +1 -0
  1454. package/dist/esm/conditionalSlot-5a66da95.js +48 -0
  1455. package/dist/esm/conditionalSlot-5a66da95.js.map +1 -0
  1456. package/dist/esm/config-2e1c1468.js +36 -0
  1457. package/dist/esm/config-2e1c1468.js.map +1 -0
  1458. package/dist/esm/continent-7f70557c.js +33 -0
  1459. package/dist/esm/continent-7f70557c.js.map +1 -0
  1460. package/dist/esm/core-2d1f6357.js +17 -0
  1461. package/dist/esm/core-2d1f6357.js.map +1 -0
  1462. package/dist/esm/country-87cdebde.js +446 -0
  1463. package/dist/esm/country-87cdebde.js.map +1 -0
  1464. package/dist/esm/cs-672bb375.js +148 -0
  1465. package/dist/esm/cs-672bb375.js.map +1 -0
  1466. package/dist/esm/da-fbea2680.js +68 -0
  1467. package/dist/esm/da-fbea2680.js.map +1 -0
  1468. package/dist/esm/de-0232f7e3.js +92 -0
  1469. package/dist/esm/de-0232f7e3.js.map +1 -0
  1470. package/dist/esm/de-at-4ba74e3c.js +91 -0
  1471. package/dist/esm/de-at-4ba74e3c.js.map +1 -0
  1472. package/dist/esm/de-ch-8a267ee4.js +91 -0
  1473. package/dist/esm/de-ch-8a267ee4.js.map +1 -0
  1474. package/dist/esm/debounce-dec610f5.js +497 -0
  1475. package/dist/esm/debounce-dec610f5.js.map +1 -0
  1476. package/dist/esm/dom-f8a9a05b.js +1177 -0
  1477. package/dist/esm/dom-f8a9a05b.js.map +1 -0
  1478. package/dist/esm/el-d5577536.js +67 -0
  1479. package/dist/esm/el-d5577536.js.map +1 -0
  1480. package/dist/esm/en-au-822c2d85.js +67 -0
  1481. package/dist/esm/en-au-822c2d85.js.map +1 -0
  1482. package/dist/esm/en-ca-e131a7fb.js +66 -0
  1483. package/dist/esm/en-ca-e131a7fb.js.map +1 -0
  1484. package/dist/esm/en-gb-2a9a8664.js +70 -0
  1485. package/dist/esm/en-gb-2a9a8664.js.map +1 -0
  1486. package/dist/esm/es-3e5a4301.js +67 -0
  1487. package/dist/esm/es-3e5a4301.js.map +1 -0
  1488. package/dist/esm/es-mx-b5f16f3a.js +66 -0
  1489. package/dist/esm/es-mx-b5f16f3a.js.map +1 -0
  1490. package/dist/esm/et-5d8725e5.js +93 -0
  1491. package/dist/esm/et-5d8725e5.js.map +1 -0
  1492. package/dist/esm/fi-0d6d7518.js +116 -0
  1493. package/dist/esm/fi-0d6d7518.js.map +1 -0
  1494. package/dist/esm/filter-04cbf5bc.js +772 -0
  1495. package/dist/esm/filter-04cbf5bc.js.map +1 -0
  1496. package/dist/esm/floating-ui-fb8cca6f.js +2351 -0
  1497. package/dist/esm/floating-ui-fb8cca6f.js.map +1 -0
  1498. package/dist/esm/focusTrapComponent-305f235d.js +1010 -0
  1499. package/dist/esm/focusTrapComponent-305f235d.js.map +1 -0
  1500. package/dist/esm/form-1c0d49a7.js +369 -0
  1501. package/dist/esm/form-1c0d49a7.js.map +1 -0
  1502. package/dist/esm/fr-ae44097a.js +69 -0
  1503. package/dist/esm/fr-ae44097a.js.map +1 -0
  1504. package/dist/esm/fr-ch-b71baab2.js +67 -0
  1505. package/dist/esm/fr-ch-b71baab2.js.map +1 -0
  1506. package/dist/esm/guid-aa009f8b.js +21 -0
  1507. package/dist/esm/guid-aa009f8b.js.map +1 -0
  1508. package/dist/esm/he-193673b5.js +106 -0
  1509. package/dist/esm/he-193673b5.js.map +1 -0
  1510. package/dist/esm/hi-07e346cb.js +66 -0
  1511. package/dist/esm/hi-07e346cb.js.map +1 -0
  1512. package/dist/esm/hr-89fe23fc.js +81 -0
  1513. package/dist/esm/hr-89fe23fc.js.map +1 -0
  1514. package/dist/esm/hu-5fef45d9.js +89 -0
  1515. package/dist/esm/hu-5fef45d9.js.map +1 -0
  1516. package/dist/esm/id-f384fbe4.js +67 -0
  1517. package/dist/esm/id-f384fbe4.js.map +1 -0
  1518. package/dist/esm/index-03447bb1.js +14 -0
  1519. package/dist/esm/index-03447bb1.js.map +1 -0
  1520. package/dist/esm/index-1a2eaad0.js +127 -0
  1521. package/dist/esm/index-1a2eaad0.js.map +1 -0
  1522. package/dist/esm/index-7dcf4bb1.js +62 -0
  1523. package/dist/esm/index-7dcf4bb1.js.map +1 -0
  1524. package/dist/esm/index-aa12ea72.js +73 -0
  1525. package/dist/esm/index-aa12ea72.js.map +1 -0
  1526. package/dist/esm/index-acdcefa7.js +1952 -0
  1527. package/dist/esm/index-acdcefa7.js.map +1 -0
  1528. package/dist/esm/index.js +1 -1
  1529. package/dist/esm/input-e8ead7b2.js +55 -0
  1530. package/dist/esm/input-e8ead7b2.js.map +1 -0
  1531. package/dist/esm/interactive-415c1964.js +79 -0
  1532. package/dist/esm/interactive-415c1964.js.map +1 -0
  1533. package/dist/esm/it-6405381e.js +67 -0
  1534. package/dist/esm/it-6405381e.js.map +1 -0
  1535. package/dist/esm/it-ch-1fe97e9d.js +67 -0
  1536. package/dist/esm/it-ch-1fe97e9d.js.map +1 -0
  1537. package/dist/esm/ja-7c521857.js +73 -0
  1538. package/dist/esm/ja-7c521857.js.map +1 -0
  1539. package/dist/esm/key-c1fc7d8d.js +13 -0
  1540. package/dist/esm/key-c1fc7d8d.js.map +1 -0
  1541. package/dist/esm/ko-33149293.js +73 -0
  1542. package/dist/esm/ko-33149293.js.map +1 -0
  1543. package/dist/esm/label-14c99573.js +176 -0
  1544. package/dist/esm/label-14c99573.js.map +1 -0
  1545. package/dist/esm/loadable-57f3ee06.js +90 -0
  1546. package/dist/esm/loadable-57f3ee06.js.map +1 -0
  1547. package/dist/esm/loader.js +7 -7
  1548. package/dist/esm/locale-6a8e5573.js +583 -0
  1549. package/dist/esm/locale-6a8e5573.js.map +1 -0
  1550. package/dist/esm/logger-2d1832fb.js +56 -0
  1551. package/dist/esm/logger-2d1832fb.js.map +1 -0
  1552. package/dist/esm/lt-3d822f92.js +98 -0
  1553. package/dist/esm/lt-3d822f92.js.map +1 -0
  1554. package/dist/esm/lv-4dcfd1aa.js +67 -0
  1555. package/dist/esm/lv-4dcfd1aa.js.map +1 -0
  1556. package/dist/esm/math-d624eebe.js +51 -0
  1557. package/dist/esm/math-d624eebe.js.map +1 -0
  1558. package/dist/esm/mk-540b7d76.js +67 -0
  1559. package/dist/esm/mk-540b7d76.js.map +1 -0
  1560. package/dist/esm/nb-021ecddf.js +68 -0
  1561. package/dist/esm/nb-021ecddf.js.map +1 -0
  1562. package/dist/esm/nl-31f80138.js +68 -0
  1563. package/dist/esm/nl-31f80138.js.map +1 -0
  1564. package/dist/esm/observers-d7d4dc40.js +53 -0
  1565. package/dist/esm/observers-d7d4dc40.js.map +1 -0
  1566. package/dist/esm/openCloseComponent-0ca09381.js +60 -0
  1567. package/dist/esm/openCloseComponent-0ca09381.js.map +1 -0
  1568. package/dist/esm/pl-483300a4.js +115 -0
  1569. package/dist/esm/pl-483300a4.js.map +1 -0
  1570. package/dist/esm/pt-af7cba7b.js +68 -0
  1571. package/dist/esm/pt-af7cba7b.js.map +1 -0
  1572. package/dist/esm/pt-br-2df70b7e.js +66 -0
  1573. package/dist/esm/pt-br-2df70b7e.js.map +1 -0
  1574. package/dist/esm/resources-2de24c26.js +31 -0
  1575. package/dist/esm/resources-2de24c26.js.map +1 -0
  1576. package/dist/esm/resources-47e6741d.js +16 -0
  1577. package/dist/esm/resources-47e6741d.js.map +1 -0
  1578. package/dist/esm/resources-7a467deb.js +21 -0
  1579. package/dist/esm/resources-7a467deb.js.map +1 -0
  1580. package/dist/esm/resources-b8338234.js +382 -0
  1581. package/dist/esm/resources-b8338234.js.map +1 -0
  1582. package/dist/esm/resources-ceb8c841.js +60 -0
  1583. package/dist/esm/resources-ceb8c841.js.map +1 -0
  1584. package/dist/esm/resources-d06d5d9d.js +19 -0
  1585. package/dist/esm/resources-d06d5d9d.js.map +1 -0
  1586. package/dist/esm/resources-d47c075f.js +23 -0
  1587. package/dist/esm/resources-d47c075f.js.map +1 -0
  1588. package/dist/esm/ro-f89c36d0.js +67 -0
  1589. package/dist/esm/ro-f89c36d0.js.map +1 -0
  1590. package/dist/esm/ru-62e5e458.js +127 -0
  1591. package/dist/esm/ru-62e5e458.js.map +1 -0
  1592. package/dist/esm/sk-6443f5a9.js +149 -0
  1593. package/dist/esm/sk-6443f5a9.js.map +1 -0
  1594. package/dist/esm/sl-26f6176f.js +169 -0
  1595. package/dist/esm/sl-26f6176f.js.map +1 -0
  1596. package/dist/esm/sortableComponent-c663cc57.js +2742 -0
  1597. package/dist/esm/sortableComponent-c663cc57.js.map +1 -0
  1598. package/dist/esm/sr-cdb1a1b9.js +102 -0
  1599. package/dist/esm/sr-cdb1a1b9.js.map +1 -0
  1600. package/dist/esm/sv-6d67e00c.js +72 -0
  1601. package/dist/esm/sv-6d67e00c.js.map +1 -0
  1602. package/dist/esm/t9n-04e8ac27.js +100 -0
  1603. package/dist/esm/t9n-04e8ac27.js.map +1 -0
  1604. package/dist/esm/th-8af23b65.js +66 -0
  1605. package/dist/esm/th-8af23b65.js.map +1 -0
  1606. package/dist/esm/throttle-9434c3ac.js +75 -0
  1607. package/dist/esm/throttle-9434c3ac.js.map +1 -0
  1608. package/dist/esm/time-zones-ca5ceeb3.js +42 -0
  1609. package/dist/esm/time-zones-ca5ceeb3.js.map +1 -0
  1610. package/dist/esm/tr-f77ec2ed.js +67 -0
  1611. package/dist/esm/tr-f77ec2ed.js.map +1 -0
  1612. package/dist/esm/uk-5c438236.js +105 -0
  1613. package/dist/esm/uk-5c438236.js.map +1 -0
  1614. package/dist/esm/utils-7927b459.js +2266 -0
  1615. package/dist/esm/utils-7927b459.js.map +1 -0
  1616. package/dist/esm/utils-a4c565e4.js +292 -0
  1617. package/dist/esm/utils-a4c565e4.js.map +1 -0
  1618. package/dist/esm/vi-820958cd.js +71 -0
  1619. package/dist/esm/vi-820958cd.js.map +1 -0
  1620. package/dist/esm/zh-cn-3dcc5a47.js +95 -0
  1621. package/dist/esm/zh-cn-3dcc5a47.js.map +1 -0
  1622. package/dist/esm/zh-hk-0439edac.js +93 -0
  1623. package/dist/esm/zh-hk-0439edac.js.map +1 -0
  1624. package/dist/esm/zh-tw-e17f620a.js +93 -0
  1625. package/dist/esm/zh-tw-e17f620a.js.map +1 -0
  1626. package/dist/extras/docs-json.json +28 -8
  1627. package/dist/loader/cdn.js +1 -1
  1628. package/dist/loader/index.cjs.js +1 -1
  1629. package/dist/loader/index.es2017.js +1 -1
  1630. package/dist/loader/index.js +1 -1
  1631. package/dist/support/formatting.js +1 -1
  1632. package/dist/support/preact.js +1 -1
  1633. package/dist/types/components/card-group/card-group.d.ts +0 -2
  1634. package/dist/types/components/chip-group/chip-group.d.ts +0 -1
  1635. package/dist/types/components/date-picker-day/date-picker-day.d.ts +0 -2
  1636. package/dist/types/components/fab/fab.d.ts +0 -2
  1637. package/dist/types/components/link/link.d.ts +0 -2
  1638. package/dist/types/components/list-item-group/list-item-group.d.ts +0 -2
  1639. package/dist/types/components/split-button/split-button.d.ts +0 -2
  1640. package/dist/types/components/table-row/table-row.d.ts +0 -2
  1641. package/dist/types/components/tile/tile.d.ts +0 -2
  1642. package/dist/types/components/tile-select-group/tile-select-group.d.ts +0 -2
  1643. package/dist/types/custom-theme/card.d.ts +1 -0
  1644. package/dist/types/utils/interactive.d.ts +0 -16
  1645. package/hydrate/index.js +134 -353
  1646. package/hydrate/index.mjs +134 -353
  1647. package/package.json +3 -3
  1648. package/dist/calcite/p-017d0775.entry.js +0 -7
  1649. package/dist/calcite/p-02ad710b.entry.js +0 -7
  1650. package/dist/calcite/p-02ad710b.entry.js.map +0 -1
  1651. package/dist/calcite/p-05734c5c.entry.js +0 -7
  1652. package/dist/calcite/p-05734c5c.entry.js.map +0 -1
  1653. package/dist/calcite/p-0766ef84.entry.js +0 -7
  1654. package/dist/calcite/p-0766ef84.entry.js.map +0 -1
  1655. package/dist/calcite/p-07a83506.entry.js +0 -7
  1656. package/dist/calcite/p-0b687c2f.entry.js +0 -7
  1657. package/dist/calcite/p-0b687c2f.entry.js.map +0 -1
  1658. package/dist/calcite/p-0bbcfa13.js +0 -7
  1659. package/dist/calcite/p-0c0aade7.js +0 -7
  1660. package/dist/calcite/p-0ce7ec28.js +0 -7
  1661. package/dist/calcite/p-104d1d32.entry.js +0 -7
  1662. package/dist/calcite/p-14b9d726.js +0 -13
  1663. package/dist/calcite/p-14e01ed9.entry.js +0 -7
  1664. package/dist/calcite/p-14e01ed9.entry.js.map +0 -1
  1665. package/dist/calcite/p-14ea97ed.entry.js +0 -7
  1666. package/dist/calcite/p-16cb4ab2.entry.js +0 -7
  1667. package/dist/calcite/p-16cb4ab2.entry.js.map +0 -1
  1668. package/dist/calcite/p-17c701ba.js +0 -7
  1669. package/dist/calcite/p-19f43fe6.js +0 -7
  1670. package/dist/calcite/p-1ba0988f.js +0 -7
  1671. package/dist/calcite/p-1bec1ef7.js +0 -7
  1672. package/dist/calcite/p-1d6a8a46.entry.js +0 -7
  1673. package/dist/calcite/p-1ed66145.entry.js +0 -7
  1674. package/dist/calcite/p-1ed66145.entry.js.map +0 -1
  1675. package/dist/calcite/p-20bc22ca.entry.js +0 -7
  1676. package/dist/calcite/p-20d6d814.js +0 -7
  1677. package/dist/calcite/p-258a4ccb.entry.js +0 -7
  1678. package/dist/calcite/p-258a4ccb.entry.js.map +0 -1
  1679. package/dist/calcite/p-27ab49c7.js +0 -12
  1680. package/dist/calcite/p-27b69025.js +0 -7
  1681. package/dist/calcite/p-2829b220.entry.js +0 -7
  1682. package/dist/calcite/p-28ecfae7.js +0 -7
  1683. package/dist/calcite/p-29407c7e.entry.js +0 -7
  1684. package/dist/calcite/p-29407c7e.entry.js.map +0 -1
  1685. package/dist/calcite/p-29c291d1.js +0 -7
  1686. package/dist/calcite/p-29d4f1ed.js +0 -7
  1687. package/dist/calcite/p-2a45cac8.entry.js +0 -7
  1688. package/dist/calcite/p-2a45cac8.entry.js.map +0 -1
  1689. package/dist/calcite/p-2a6464bc.js +0 -7
  1690. package/dist/calcite/p-2bed8053.js +0 -7
  1691. package/dist/calcite/p-2c6f74fe.entry.js +0 -7
  1692. package/dist/calcite/p-2c6f74fe.entry.js.map +0 -1
  1693. package/dist/calcite/p-2d88c083.js +0 -7
  1694. package/dist/calcite/p-2e2e89c0.entry.js +0 -7
  1695. package/dist/calcite/p-2e2e89c0.entry.js.map +0 -1
  1696. package/dist/calcite/p-30789c90.js +0 -7
  1697. package/dist/calcite/p-32d7aa5f.entry.js +0 -7
  1698. package/dist/calcite/p-357db407.js +0 -7
  1699. package/dist/calcite/p-36ecadf9.js +0 -7
  1700. package/dist/calcite/p-3787986b.js +0 -7
  1701. package/dist/calcite/p-3a03cb69.entry.js +0 -7
  1702. package/dist/calcite/p-3a03cb69.entry.js.map +0 -1
  1703. package/dist/calcite/p-3c4fe54e.js +0 -7
  1704. package/dist/calcite/p-3dc78399.js +0 -7
  1705. package/dist/calcite/p-4236247d.entry.js +0 -7
  1706. package/dist/calcite/p-4236247d.entry.js.map +0 -1
  1707. package/dist/calcite/p-42901549.js +0 -7
  1708. package/dist/calcite/p-42ed7d55.js +0 -7
  1709. package/dist/calcite/p-4377c650.js +0 -7
  1710. package/dist/calcite/p-447d61ae.js +0 -7
  1711. package/dist/calcite/p-45ac55e3.js +0 -7
  1712. package/dist/calcite/p-45d13552.js +0 -7
  1713. package/dist/calcite/p-46ee72e7.js +0 -7
  1714. package/dist/calcite/p-4a322c0e.js +0 -7
  1715. package/dist/calcite/p-4e955a72.js +0 -7
  1716. package/dist/calcite/p-4eff860d.entry.js +0 -7
  1717. package/dist/calcite/p-4eff860d.entry.js.map +0 -1
  1718. package/dist/calcite/p-4f53529c.js +0 -7
  1719. package/dist/calcite/p-4f616cbe.js +0 -7
  1720. package/dist/calcite/p-51262907.entry.js +0 -7
  1721. package/dist/calcite/p-51262907.entry.js.map +0 -1
  1722. package/dist/calcite/p-54cee839.entry.js +0 -7
  1723. package/dist/calcite/p-54cee839.entry.js.map +0 -1
  1724. package/dist/calcite/p-56bab01f.js +0 -7
  1725. package/dist/calcite/p-5b45eef3.js +0 -7
  1726. package/dist/calcite/p-5b5ebddf.js +0 -7
  1727. package/dist/calcite/p-5ba99915.js +0 -7
  1728. package/dist/calcite/p-5bee2979.entry.js +0 -7
  1729. package/dist/calcite/p-5cd9e744.entry.js +0 -7
  1730. package/dist/calcite/p-5cd9e744.entry.js.map +0 -1
  1731. package/dist/calcite/p-5daaab7f.js +0 -7
  1732. package/dist/calcite/p-5fe70602.entry.js +0 -7
  1733. package/dist/calcite/p-603d7196.js +0 -7
  1734. package/dist/calcite/p-64329e55.js +0 -7
  1735. package/dist/calcite/p-655f7f65.entry.js +0 -7
  1736. package/dist/calcite/p-656dc8f5.entry.js +0 -7
  1737. package/dist/calcite/p-656dc8f5.entry.js.map +0 -1
  1738. package/dist/calcite/p-67c605e1.entry.js +0 -7
  1739. package/dist/calcite/p-67c605e1.entry.js.map +0 -1
  1740. package/dist/calcite/p-67e6ac12.js +0 -7
  1741. package/dist/calcite/p-68012ee3.entry.js +0 -7
  1742. package/dist/calcite/p-68012ee3.entry.js.map +0 -1
  1743. package/dist/calcite/p-68099e3d.entry.js +0 -7
  1744. package/dist/calcite/p-68099e3d.entry.js.map +0 -1
  1745. package/dist/calcite/p-6de921a8.entry.js +0 -7
  1746. package/dist/calcite/p-6de921a8.entry.js.map +0 -1
  1747. package/dist/calcite/p-6f580f9d.js +0 -7
  1748. package/dist/calcite/p-6ff8e6fb.js +0 -7
  1749. package/dist/calcite/p-6ff8e6fb.js.map +0 -1
  1750. package/dist/calcite/p-72ccdeee.js +0 -7
  1751. package/dist/calcite/p-73278244.entry.js +0 -7
  1752. package/dist/calcite/p-73278244.entry.js.map +0 -1
  1753. package/dist/calcite/p-769c1c82.js +0 -7
  1754. package/dist/calcite/p-76bb7115.js +0 -7
  1755. package/dist/calcite/p-76bb7115.js.map +0 -1
  1756. package/dist/calcite/p-77bb03a6.js +0 -7
  1757. package/dist/calcite/p-78673acb.js +0 -7
  1758. package/dist/calcite/p-7b8ae5f7.entry.js +0 -7
  1759. package/dist/calcite/p-7b8ae5f7.entry.js.map +0 -1
  1760. package/dist/calcite/p-7c8836c8.entry.js +0 -7
  1761. package/dist/calcite/p-7f0164c9.entry.js +0 -7
  1762. package/dist/calcite/p-87901e5b.entry.js +0 -7
  1763. package/dist/calcite/p-88dc3535.entry.js +0 -7
  1764. package/dist/calcite/p-88dc3535.entry.js.map +0 -1
  1765. package/dist/calcite/p-8c7e61d1.js +0 -7
  1766. package/dist/calcite/p-8d7b9480.entry.js +0 -7
  1767. package/dist/calcite/p-8d7b9480.entry.js.map +0 -1
  1768. package/dist/calcite/p-8f8cbbc7.js +0 -7
  1769. package/dist/calcite/p-8f8cbbc7.js.map +0 -1
  1770. package/dist/calcite/p-9626115b.js +0 -7
  1771. package/dist/calcite/p-962cef0f.entry.js +0 -7
  1772. package/dist/calcite/p-967b7e40.entry.js +0 -7
  1773. package/dist/calcite/p-967b7e40.entry.js.map +0 -1
  1774. package/dist/calcite/p-9a2f96d2.js +0 -7
  1775. package/dist/calcite/p-9c191250.js +0 -7
  1776. package/dist/calcite/p-9f2a67d4.js +0 -7
  1777. package/dist/calcite/p-a02ae7a8.entry.js +0 -7
  1778. package/dist/calcite/p-a066ce03.entry.js +0 -7
  1779. package/dist/calcite/p-a066ce03.entry.js.map +0 -1
  1780. package/dist/calcite/p-a2b2076b.entry.js +0 -7
  1781. package/dist/calcite/p-a49b95d8.js +0 -7
  1782. package/dist/calcite/p-a4ac8fc3.js +0 -7
  1783. package/dist/calcite/p-a4ba2c4c.js +0 -11
  1784. package/dist/calcite/p-a9789e0e.js +0 -7
  1785. package/dist/calcite/p-a9cce7b0.js +0 -7
  1786. package/dist/calcite/p-aaea23e1.js +0 -7
  1787. package/dist/calcite/p-adfbff91.js +0 -7
  1788. package/dist/calcite/p-ae31eacb.entry.js +0 -7
  1789. package/dist/calcite/p-ae31eacb.entry.js.map +0 -1
  1790. package/dist/calcite/p-b11d24a6.entry.js +0 -7
  1791. package/dist/calcite/p-b11d24a6.entry.js.map +0 -1
  1792. package/dist/calcite/p-b1c60fc6.entry.js +0 -7
  1793. package/dist/calcite/p-b1c60fc6.entry.js.map +0 -1
  1794. package/dist/calcite/p-b21fae6a.entry.js +0 -7
  1795. package/dist/calcite/p-b21fae6a.entry.js.map +0 -1
  1796. package/dist/calcite/p-b335de89.entry.js +0 -7
  1797. package/dist/calcite/p-b335de89.entry.js.map +0 -1
  1798. package/dist/calcite/p-b4a0d361.js +0 -7
  1799. package/dist/calcite/p-b5defc67.entry.js +0 -7
  1800. package/dist/calcite/p-ba1b1e59.entry.js +0 -7
  1801. package/dist/calcite/p-ba1b1e59.entry.js.map +0 -1
  1802. package/dist/calcite/p-bc4f64c1.js +0 -7
  1803. package/dist/calcite/p-bccffc90.js +0 -7
  1804. package/dist/calcite/p-bcf067ac.js +0 -7
  1805. package/dist/calcite/p-bcf68eb1.entry.js +0 -7
  1806. package/dist/calcite/p-bcf68eb1.entry.js.map +0 -1
  1807. package/dist/calcite/p-be5e7b6d.entry.js +0 -7
  1808. package/dist/calcite/p-be5e7b6d.entry.js.map +0 -1
  1809. package/dist/calcite/p-c2e2ac7c.entry.js +0 -7
  1810. package/dist/calcite/p-c2e2ac7c.entry.js.map +0 -1
  1811. package/dist/calcite/p-c31dfdef.js +0 -7
  1812. package/dist/calcite/p-c473b37c.js +0 -7
  1813. package/dist/calcite/p-c4bad52c.js +0 -7
  1814. package/dist/calcite/p-c60c7e01.js +0 -7
  1815. package/dist/calcite/p-c71281c2.js +0 -7
  1816. package/dist/calcite/p-cbd31ba2.js +0 -7
  1817. package/dist/calcite/p-cbed8c79.js +0 -7
  1818. package/dist/calcite/p-ce533cd8.js +0 -7
  1819. package/dist/calcite/p-ceb1e330.entry.js +0 -7
  1820. package/dist/calcite/p-cee45aed.entry.js +0 -7
  1821. package/dist/calcite/p-d014effb.js +0 -7
  1822. package/dist/calcite/p-d014effb.js.map +0 -1
  1823. package/dist/calcite/p-d3be4e55.js +0 -7
  1824. package/dist/calcite/p-d41b81d5.js +0 -7
  1825. package/dist/calcite/p-d5f63246.entry.js +0 -7
  1826. package/dist/calcite/p-d5f63246.entry.js.map +0 -1
  1827. package/dist/calcite/p-d6a25fe2.js +0 -7
  1828. package/dist/calcite/p-d6aca761.js +0 -7
  1829. package/dist/calcite/p-d6ca33de.entry.js +0 -7
  1830. package/dist/calcite/p-d8284779.entry.js +0 -7
  1831. package/dist/calcite/p-d8284779.entry.js.map +0 -1
  1832. package/dist/calcite/p-d9408c0d.js +0 -7
  1833. package/dist/calcite/p-dc9e6847.js +0 -7
  1834. package/dist/calcite/p-dcecb4a0.js +0 -7
  1835. package/dist/calcite/p-de70fda8.js +0 -7
  1836. package/dist/calcite/p-df52e4bb.entry.js +0 -7
  1837. package/dist/calcite/p-df52e4bb.entry.js.map +0 -1
  1838. package/dist/calcite/p-df5bdc47.js +0 -7
  1839. package/dist/calcite/p-e2fa918e.entry.js +0 -7
  1840. package/dist/calcite/p-e3a13205.js +0 -7
  1841. package/dist/calcite/p-e65edb81.entry.js +0 -7
  1842. package/dist/calcite/p-e7089478.js +0 -7
  1843. package/dist/calcite/p-e7104b8d.js +0 -8
  1844. package/dist/calcite/p-ec26c92e.entry.js +0 -7
  1845. package/dist/calcite/p-ec26c92e.entry.js.map +0 -1
  1846. package/dist/calcite/p-ec71be9a.js +0 -7
  1847. package/dist/calcite/p-eda94ee4.entry.js +0 -7
  1848. package/dist/calcite/p-eda94ee4.entry.js.map +0 -1
  1849. package/dist/calcite/p-ee01924f.js +0 -7
  1850. package/dist/calcite/p-ee3313d3.entry.js +0 -7
  1851. package/dist/calcite/p-ee3313d3.entry.js.map +0 -1
  1852. package/dist/calcite/p-ef33ea6c.entry.js +0 -7
  1853. package/dist/calcite/p-ef33ea6c.entry.js.map +0 -1
  1854. package/dist/calcite/p-f08093d7.js +0 -7
  1855. package/dist/calcite/p-f08edbd2.entry.js +0 -7
  1856. package/dist/calcite/p-f3811cf9.entry.js +0 -7
  1857. package/dist/calcite/p-f438e5e1.js +0 -7
  1858. package/dist/calcite/p-f49181c8.js +0 -7
  1859. package/dist/calcite/p-f6bd8ab0.entry.js +0 -7
  1860. package/dist/calcite/p-f6bd8ab0.entry.js.map +0 -1
  1861. package/dist/calcite/p-fa3de576.entry.js +0 -7
  1862. package/dist/calcite/p-fa4ca863.js +0 -7
  1863. package/dist/calcite/p-fb8915bd.js +0 -7
  1864. package/dist/calcite/p-fb9a1d16.js +0 -7
  1865. package/dist/calcite/p-fd22e26e.js +0 -7
  1866. package/dist/calcite/p-fd34808b.entry.js +0 -7
  1867. package/dist/calcite/p-fd34808b.entry.js.map +0 -1
  1868. package/dist/calcite/p-ff0ed5c9.entry.js +0 -7
  1869. package/dist/calcite/p-ff232f67.js +0 -7
  1870. package/dist/calcite/p-ff423d82.js +0 -7
  1871. package/dist/calcite/p-ffdbdb0a.entry.js +0 -7
  1872. package/dist/cjs/ExpandToggle-622d2a45.js +0 -107
  1873. package/dist/cjs/ExpandToggle-622d2a45.js.map +0 -1
  1874. package/dist/cjs/FloatingArrow-4fdda76f.js +0 -47
  1875. package/dist/cjs/FloatingArrow-4fdda76f.js.map +0 -1
  1876. package/dist/cjs/Heading-de722eac.js +0 -22
  1877. package/dist/cjs/Heading-de722eac.js.map +0 -1
  1878. package/dist/cjs/Validation-65075c83.js +0 -18
  1879. package/dist/cjs/Validation-65075c83.js.map +0 -1
  1880. package/dist/cjs/app-globals-9601b1a5.js +0 -59
  1881. package/dist/cjs/app-globals-9601b1a5.js.map +0 -1
  1882. package/dist/cjs/ar-154ca274.js +0 -107
  1883. package/dist/cjs/ar-154ca274.js.map +0 -1
  1884. package/dist/cjs/array-8c9a10f4.js +0 -14
  1885. package/dist/cjs/array-8c9a10f4.js.map +0 -1
  1886. package/dist/cjs/bg-79b5933c.js +0 -85
  1887. package/dist/cjs/bg-79b5933c.js.map +0 -1
  1888. package/dist/cjs/browser-89880371.js +0 -32
  1889. package/dist/cjs/browser-89880371.js.map +0 -1
  1890. package/dist/cjs/bs-c49da07c.js +0 -54
  1891. package/dist/cjs/bs-c49da07c.js.map +0 -1
  1892. package/dist/cjs/ca-0863baf3.js +0 -74
  1893. package/dist/cjs/ca-0863baf3.js.map +0 -1
  1894. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-025b2200.js +0 -2917
  1895. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-025b2200.js.map +0 -1
  1896. package/dist/cjs/component-c5bbc3ae.js +0 -30
  1897. package/dist/cjs/component-c5bbc3ae.js.map +0 -1
  1898. package/dist/cjs/conditionalSlot-4e316663.js +0 -51
  1899. package/dist/cjs/conditionalSlot-4e316663.js.map +0 -1
  1900. package/dist/cjs/config-e9f6bd0a.js +0 -40
  1901. package/dist/cjs/config-e9f6bd0a.js.map +0 -1
  1902. package/dist/cjs/continent-155daeb1.js +0 -36
  1903. package/dist/cjs/continent-155daeb1.js.map +0 -1
  1904. package/dist/cjs/core-f694f030.js +0 -22
  1905. package/dist/cjs/core-f694f030.js.map +0 -1
  1906. package/dist/cjs/country-7f32eda2.js +0 -448
  1907. package/dist/cjs/country-7f32eda2.js.map +0 -1
  1908. package/dist/cjs/cs-54e1b5cf.js +0 -150
  1909. package/dist/cjs/cs-54e1b5cf.js.map +0 -1
  1910. package/dist/cjs/da-52e3d718.js +0 -70
  1911. package/dist/cjs/da-52e3d718.js.map +0 -1
  1912. package/dist/cjs/de-at-65acdbc1.js +0 -93
  1913. package/dist/cjs/de-at-65acdbc1.js.map +0 -1
  1914. package/dist/cjs/de-ch-ce8f1a1c.js +0 -93
  1915. package/dist/cjs/de-ch-ce8f1a1c.js.map +0 -1
  1916. package/dist/cjs/de-d89c706d.js +0 -94
  1917. package/dist/cjs/de-d89c706d.js.map +0 -1
  1918. package/dist/cjs/debounce-e2fa4fee.js +0 -506
  1919. package/dist/cjs/debounce-e2fa4fee.js.map +0 -1
  1920. package/dist/cjs/dom-cdce16d7.js +0 -1212
  1921. package/dist/cjs/dom-cdce16d7.js.map +0 -1
  1922. package/dist/cjs/el-57afe2bc.js +0 -69
  1923. package/dist/cjs/el-57afe2bc.js.map +0 -1
  1924. package/dist/cjs/en-au-702ac83c.js +0 -69
  1925. package/dist/cjs/en-au-702ac83c.js.map +0 -1
  1926. package/dist/cjs/en-ca-9140e631.js +0 -68
  1927. package/dist/cjs/en-ca-9140e631.js.map +0 -1
  1928. package/dist/cjs/en-gb-2b223c3e.js +0 -72
  1929. package/dist/cjs/en-gb-2b223c3e.js.map +0 -1
  1930. package/dist/cjs/es-d1ab2cc2.js +0 -69
  1931. package/dist/cjs/es-d1ab2cc2.js.map +0 -1
  1932. package/dist/cjs/es-mx-b9e15828.js +0 -68
  1933. package/dist/cjs/es-mx-b9e15828.js.map +0 -1
  1934. package/dist/cjs/et-510d5549.js +0 -95
  1935. package/dist/cjs/et-510d5549.js.map +0 -1
  1936. package/dist/cjs/fi-e97c7a64.js +0 -118
  1937. package/dist/cjs/fi-e97c7a64.js.map +0 -1
  1938. package/dist/cjs/filter-c06f32cc.js +0 -775
  1939. package/dist/cjs/filter-c06f32cc.js.map +0 -1
  1940. package/dist/cjs/floating-ui-6e06932f.js +0 -2359
  1941. package/dist/cjs/floating-ui-6e06932f.js.map +0 -1
  1942. package/dist/cjs/focusTrapComponent-70446160.js +0 -1015
  1943. package/dist/cjs/focusTrapComponent-70446160.js.map +0 -1
  1944. package/dist/cjs/form-1b8877c5.js +0 -378
  1945. package/dist/cjs/form-1b8877c5.js.map +0 -1
  1946. package/dist/cjs/fr-ch-eb59e179.js +0 -69
  1947. package/dist/cjs/fr-ch-eb59e179.js.map +0 -1
  1948. package/dist/cjs/fr-e79016d2.js +0 -71
  1949. package/dist/cjs/fr-e79016d2.js.map +0 -1
  1950. package/dist/cjs/guid-a0aaca44.js +0 -23
  1951. package/dist/cjs/guid-a0aaca44.js.map +0 -1
  1952. package/dist/cjs/he-fdbf2dd5.js +0 -108
  1953. package/dist/cjs/he-fdbf2dd5.js.map +0 -1
  1954. package/dist/cjs/hi-0e950cce.js +0 -68
  1955. package/dist/cjs/hi-0e950cce.js.map +0 -1
  1956. package/dist/cjs/hr-d9158375.js +0 -83
  1957. package/dist/cjs/hr-d9158375.js.map +0 -1
  1958. package/dist/cjs/hu-124621b2.js +0 -91
  1959. package/dist/cjs/hu-124621b2.js.map +0 -1
  1960. package/dist/cjs/id-9c205875.js +0 -69
  1961. package/dist/cjs/id-9c205875.js.map +0 -1
  1962. package/dist/cjs/index-0dfa5282.js +0 -75
  1963. package/dist/cjs/index-0dfa5282.js.map +0 -1
  1964. package/dist/cjs/index-1cc417af.js +0 -64
  1965. package/dist/cjs/index-1cc417af.js.map +0 -1
  1966. package/dist/cjs/index-53010548.js +0 -129
  1967. package/dist/cjs/index-53010548.js.map +0 -1
  1968. package/dist/cjs/index-ad2770ac.js +0 -16
  1969. package/dist/cjs/index-ad2770ac.js.map +0 -1
  1970. package/dist/cjs/index-fdc628de.js +0 -1987
  1971. package/dist/cjs/index-fdc628de.js.map +0 -1
  1972. package/dist/cjs/input-5c338969.js +0 -57
  1973. package/dist/cjs/input-5c338969.js.map +0 -1
  1974. package/dist/cjs/interactive-9db98a91.js +0 -164
  1975. package/dist/cjs/interactive-9db98a91.js.map +0 -1
  1976. package/dist/cjs/it-620a7b12.js +0 -69
  1977. package/dist/cjs/it-620a7b12.js.map +0 -1
  1978. package/dist/cjs/it-ch-4e65e386.js +0 -69
  1979. package/dist/cjs/it-ch-4e65e386.js.map +0 -1
  1980. package/dist/cjs/ja-9370a387.js +0 -75
  1981. package/dist/cjs/ja-9370a387.js.map +0 -1
  1982. package/dist/cjs/key-5de2d409.js +0 -16
  1983. package/dist/cjs/key-5de2d409.js.map +0 -1
  1984. package/dist/cjs/ko-b94649d5.js +0 -75
  1985. package/dist/cjs/ko-b94649d5.js.map +0 -1
  1986. package/dist/cjs/label-37a32e86.js +0 -183
  1987. package/dist/cjs/label-37a32e86.js.map +0 -1
  1988. package/dist/cjs/loadable-8de43def.js +0 -95
  1989. package/dist/cjs/loadable-8de43def.js.map +0 -1
  1990. package/dist/cjs/locale-987403a2.js +0 -597
  1991. package/dist/cjs/locale-987403a2.js.map +0 -1
  1992. package/dist/cjs/logger-69a1146d.js +0 -58
  1993. package/dist/cjs/logger-69a1146d.js.map +0 -1
  1994. package/dist/cjs/lt-556fa520.js +0 -100
  1995. package/dist/cjs/lt-556fa520.js.map +0 -1
  1996. package/dist/cjs/lv-d914f8d2.js +0 -69
  1997. package/dist/cjs/lv-d914f8d2.js.map +0 -1
  1998. package/dist/cjs/math-a71d1af7.js +0 -57
  1999. package/dist/cjs/math-a71d1af7.js.map +0 -1
  2000. package/dist/cjs/mk-820df166.js +0 -69
  2001. package/dist/cjs/mk-820df166.js.map +0 -1
  2002. package/dist/cjs/nb-4e717082.js +0 -70
  2003. package/dist/cjs/nb-4e717082.js.map +0 -1
  2004. package/dist/cjs/nl-ede07375.js +0 -70
  2005. package/dist/cjs/nl-ede07375.js.map +0 -1
  2006. package/dist/cjs/observers-3a410d9c.js +0 -55
  2007. package/dist/cjs/observers-3a410d9c.js.map +0 -1
  2008. package/dist/cjs/openCloseComponent-8d689ca4.js +0 -62
  2009. package/dist/cjs/openCloseComponent-8d689ca4.js.map +0 -1
  2010. package/dist/cjs/pl-717c2f99.js +0 -117
  2011. package/dist/cjs/pl-717c2f99.js.map +0 -1
  2012. package/dist/cjs/pt-827a9016.js +0 -70
  2013. package/dist/cjs/pt-827a9016.js.map +0 -1
  2014. package/dist/cjs/pt-br-e8379edb.js +0 -68
  2015. package/dist/cjs/pt-br-e8379edb.js.map +0 -1
  2016. package/dist/cjs/resources-2063cefc.js +0 -26
  2017. package/dist/cjs/resources-2063cefc.js.map +0 -1
  2018. package/dist/cjs/resources-88de7c68.js +0 -18
  2019. package/dist/cjs/resources-88de7c68.js.map +0 -1
  2020. package/dist/cjs/resources-8a5c46a3.js +0 -36
  2021. package/dist/cjs/resources-8a5c46a3.js.map +0 -1
  2022. package/dist/cjs/resources-b57f9074.js +0 -23
  2023. package/dist/cjs/resources-b57f9074.js.map +0 -1
  2024. package/dist/cjs/resources-b9ce497e.js +0 -65
  2025. package/dist/cjs/resources-b9ce497e.js.map +0 -1
  2026. package/dist/cjs/resources-be7080cd.js +0 -26
  2027. package/dist/cjs/resources-be7080cd.js.map +0 -1
  2028. package/dist/cjs/resources-d481fc15.js +0 -410
  2029. package/dist/cjs/resources-d481fc15.js.map +0 -1
  2030. package/dist/cjs/ro-ea57c9ce.js +0 -69
  2031. package/dist/cjs/ro-ea57c9ce.js.map +0 -1
  2032. package/dist/cjs/ru-268c61b0.js +0 -129
  2033. package/dist/cjs/ru-268c61b0.js.map +0 -1
  2034. package/dist/cjs/sk-680a8d49.js +0 -151
  2035. package/dist/cjs/sk-680a8d49.js.map +0 -1
  2036. package/dist/cjs/sl-69070dda.js +0 -171
  2037. package/dist/cjs/sl-69070dda.js.map +0 -1
  2038. package/dist/cjs/sortableComponent-5aab28be.js +0 -2745
  2039. package/dist/cjs/sortableComponent-5aab28be.js.map +0 -1
  2040. package/dist/cjs/sr-fce5021e.js +0 -104
  2041. package/dist/cjs/sr-fce5021e.js.map +0 -1
  2042. package/dist/cjs/sv-2a9066ca.js +0 -74
  2043. package/dist/cjs/sv-2a9066ca.js.map +0 -1
  2044. package/dist/cjs/t9n-0ac48eea.js +0 -105
  2045. package/dist/cjs/t9n-0ac48eea.js.map +0 -1
  2046. package/dist/cjs/th-08e7d0b4.js +0 -68
  2047. package/dist/cjs/th-08e7d0b4.js.map +0 -1
  2048. package/dist/cjs/throttle-8f335b6a.js +0 -77
  2049. package/dist/cjs/throttle-8f335b6a.js.map +0 -1
  2050. package/dist/cjs/time-zones-8a4844a7.js +0 -44
  2051. package/dist/cjs/time-zones-8a4844a7.js.map +0 -1
  2052. package/dist/cjs/tr-8a93ae41.js +0 -69
  2053. package/dist/cjs/tr-8a93ae41.js.map +0 -1
  2054. package/dist/cjs/uk-ef1fa06a.js +0 -107
  2055. package/dist/cjs/uk-ef1fa06a.js.map +0 -1
  2056. package/dist/cjs/utils-88a54038.js +0 -2296
  2057. package/dist/cjs/utils-88a54038.js.map +0 -1
  2058. package/dist/cjs/utils-f4b189a4.js +0 -310
  2059. package/dist/cjs/utils-f4b189a4.js.map +0 -1
  2060. package/dist/cjs/vi-3a24a4de.js +0 -73
  2061. package/dist/cjs/vi-3a24a4de.js.map +0 -1
  2062. package/dist/cjs/zh-cn-9b1ca6ce.js +0 -97
  2063. package/dist/cjs/zh-cn-9b1ca6ce.js.map +0 -1
  2064. package/dist/cjs/zh-hk-e786c225.js +0 -95
  2065. package/dist/cjs/zh-hk-e786c225.js.map +0 -1
  2066. package/dist/cjs/zh-tw-4734adb7.js +0 -95
  2067. package/dist/cjs/zh-tw-4734adb7.js.map +0 -1
  2068. package/dist/esm/ExpandToggle-d0df6ce4.js +0 -100
  2069. package/dist/esm/ExpandToggle-d0df6ce4.js.map +0 -1
  2070. package/dist/esm/FloatingArrow-8f69a70d.js +0 -45
  2071. package/dist/esm/FloatingArrow-8f69a70d.js.map +0 -1
  2072. package/dist/esm/Heading-92af9aa3.js +0 -19
  2073. package/dist/esm/Heading-92af9aa3.js.map +0 -1
  2074. package/dist/esm/Validation-4d96ef97.js +0 -16
  2075. package/dist/esm/Validation-4d96ef97.js.map +0 -1
  2076. package/dist/esm/app-globals-93843bf9.js +0 -57
  2077. package/dist/esm/app-globals-93843bf9.js.map +0 -1
  2078. package/dist/esm/ar-309fdf14.js +0 -105
  2079. package/dist/esm/ar-309fdf14.js.map +0 -1
  2080. package/dist/esm/array-5b9b43be.js +0 -12
  2081. package/dist/esm/array-5b9b43be.js.map +0 -1
  2082. package/dist/esm/bg-2e146376.js +0 -83
  2083. package/dist/esm/bg-2e146376.js.map +0 -1
  2084. package/dist/esm/browser-71ae41c0.js +0 -29
  2085. package/dist/esm/browser-71ae41c0.js.map +0 -1
  2086. package/dist/esm/bs-bfb7bc11.js +0 -52
  2087. package/dist/esm/bs-bfb7bc11.js.map +0 -1
  2088. package/dist/esm/ca-c8458529.js +0 -72
  2089. package/dist/esm/ca-c8458529.js.map +0 -1
  2090. package/dist/esm/calcite-input-time-picker.calcite-time-picker-e14a53fa.js +0 -2913
  2091. package/dist/esm/calcite-input-time-picker.calcite-time-picker-e14a53fa.js.map +0 -1
  2092. package/dist/esm/component-3bb9cc9e.js +0 -27
  2093. package/dist/esm/component-3bb9cc9e.js.map +0 -1
  2094. package/dist/esm/conditionalSlot-1885c3b2.js +0 -48
  2095. package/dist/esm/conditionalSlot-1885c3b2.js.map +0 -1
  2096. package/dist/esm/config-8ecb98ae.js +0 -36
  2097. package/dist/esm/config-8ecb98ae.js.map +0 -1
  2098. package/dist/esm/continent-b4796c7b.js +0 -33
  2099. package/dist/esm/continent-b4796c7b.js.map +0 -1
  2100. package/dist/esm/core-b3f69cac.js +0 -17
  2101. package/dist/esm/core-b3f69cac.js.map +0 -1
  2102. package/dist/esm/country-bf1da4d7.js +0 -446
  2103. package/dist/esm/country-bf1da4d7.js.map +0 -1
  2104. package/dist/esm/cs-15cf130a.js +0 -148
  2105. package/dist/esm/cs-15cf130a.js.map +0 -1
  2106. package/dist/esm/da-c7fba524.js +0 -68
  2107. package/dist/esm/da-c7fba524.js.map +0 -1
  2108. package/dist/esm/de-at-8ecb2594.js +0 -91
  2109. package/dist/esm/de-at-8ecb2594.js.map +0 -1
  2110. package/dist/esm/de-ch-348d7323.js +0 -91
  2111. package/dist/esm/de-ch-348d7323.js.map +0 -1
  2112. package/dist/esm/de-e29d7084.js +0 -92
  2113. package/dist/esm/de-e29d7084.js.map +0 -1
  2114. package/dist/esm/debounce-5279931d.js +0 -497
  2115. package/dist/esm/debounce-5279931d.js.map +0 -1
  2116. package/dist/esm/dom-14c76f9f.js +0 -1177
  2117. package/dist/esm/dom-14c76f9f.js.map +0 -1
  2118. package/dist/esm/el-7e3912f7.js +0 -67
  2119. package/dist/esm/el-7e3912f7.js.map +0 -1
  2120. package/dist/esm/en-au-36827a6b.js +0 -67
  2121. package/dist/esm/en-au-36827a6b.js.map +0 -1
  2122. package/dist/esm/en-ca-606fb7e7.js +0 -66
  2123. package/dist/esm/en-ca-606fb7e7.js.map +0 -1
  2124. package/dist/esm/en-gb-5544af02.js +0 -70
  2125. package/dist/esm/en-gb-5544af02.js.map +0 -1
  2126. package/dist/esm/es-734948b2.js +0 -67
  2127. package/dist/esm/es-734948b2.js.map +0 -1
  2128. package/dist/esm/es-mx-8b3b8f73.js +0 -66
  2129. package/dist/esm/es-mx-8b3b8f73.js.map +0 -1
  2130. package/dist/esm/et-b53815f9.js +0 -93
  2131. package/dist/esm/et-b53815f9.js.map +0 -1
  2132. package/dist/esm/fi-27df75a3.js +0 -116
  2133. package/dist/esm/fi-27df75a3.js.map +0 -1
  2134. package/dist/esm/filter-feccea1d.js +0 -772
  2135. package/dist/esm/filter-feccea1d.js.map +0 -1
  2136. package/dist/esm/floating-ui-bd353a44.js +0 -2351
  2137. package/dist/esm/floating-ui-bd353a44.js.map +0 -1
  2138. package/dist/esm/focusTrapComponent-5d4b3f59.js +0 -1010
  2139. package/dist/esm/focusTrapComponent-5d4b3f59.js.map +0 -1
  2140. package/dist/esm/form-00e9ec02.js +0 -369
  2141. package/dist/esm/form-00e9ec02.js.map +0 -1
  2142. package/dist/esm/fr-288b5098.js +0 -69
  2143. package/dist/esm/fr-288b5098.js.map +0 -1
  2144. package/dist/esm/fr-ch-80951468.js +0 -67
  2145. package/dist/esm/fr-ch-80951468.js.map +0 -1
  2146. package/dist/esm/guid-295f272c.js +0 -21
  2147. package/dist/esm/guid-295f272c.js.map +0 -1
  2148. package/dist/esm/he-45dcd1cb.js +0 -106
  2149. package/dist/esm/he-45dcd1cb.js.map +0 -1
  2150. package/dist/esm/hi-c6b71d44.js +0 -66
  2151. package/dist/esm/hi-c6b71d44.js.map +0 -1
  2152. package/dist/esm/hr-0f613eb3.js +0 -81
  2153. package/dist/esm/hr-0f613eb3.js.map +0 -1
  2154. package/dist/esm/hu-f953ce6b.js +0 -89
  2155. package/dist/esm/hu-f953ce6b.js.map +0 -1
  2156. package/dist/esm/id-d9252bf3.js +0 -67
  2157. package/dist/esm/id-d9252bf3.js.map +0 -1
  2158. package/dist/esm/index-42a09246.js +0 -1952
  2159. package/dist/esm/index-42a09246.js.map +0 -1
  2160. package/dist/esm/index-739f8898.js +0 -14
  2161. package/dist/esm/index-739f8898.js.map +0 -1
  2162. package/dist/esm/index-7e006bdc.js +0 -62
  2163. package/dist/esm/index-7e006bdc.js.map +0 -1
  2164. package/dist/esm/index-cdb5657a.js +0 -73
  2165. package/dist/esm/index-cdb5657a.js.map +0 -1
  2166. package/dist/esm/index-ec937086.js +0 -127
  2167. package/dist/esm/index-ec937086.js.map +0 -1
  2168. package/dist/esm/input-e6b6a1fa.js +0 -55
  2169. package/dist/esm/input-e6b6a1fa.js.map +0 -1
  2170. package/dist/esm/interactive-31600299.js +0 -159
  2171. package/dist/esm/interactive-31600299.js.map +0 -1
  2172. package/dist/esm/it-916e51bb.js +0 -67
  2173. package/dist/esm/it-916e51bb.js.map +0 -1
  2174. package/dist/esm/it-ch-e8222b67.js +0 -67
  2175. package/dist/esm/it-ch-e8222b67.js.map +0 -1
  2176. package/dist/esm/ja-83e686ed.js +0 -73
  2177. package/dist/esm/ja-83e686ed.js.map +0 -1
  2178. package/dist/esm/key-a886a13d.js +0 -13
  2179. package/dist/esm/key-a886a13d.js.map +0 -1
  2180. package/dist/esm/ko-636806cf.js +0 -73
  2181. package/dist/esm/ko-636806cf.js.map +0 -1
  2182. package/dist/esm/label-db7df9cd.js +0 -176
  2183. package/dist/esm/label-db7df9cd.js.map +0 -1
  2184. package/dist/esm/loadable-8f8e603e.js +0 -90
  2185. package/dist/esm/loadable-8f8e603e.js.map +0 -1
  2186. package/dist/esm/locale-1fb421c2.js +0 -583
  2187. package/dist/esm/locale-1fb421c2.js.map +0 -1
  2188. package/dist/esm/logger-d4491ace.js +0 -56
  2189. package/dist/esm/logger-d4491ace.js.map +0 -1
  2190. package/dist/esm/lt-06c9c624.js +0 -98
  2191. package/dist/esm/lt-06c9c624.js.map +0 -1
  2192. package/dist/esm/lv-ce977bed.js +0 -67
  2193. package/dist/esm/lv-ce977bed.js.map +0 -1
  2194. package/dist/esm/math-1850b8d7.js +0 -51
  2195. package/dist/esm/math-1850b8d7.js.map +0 -1
  2196. package/dist/esm/mk-bc10b72e.js +0 -67
  2197. package/dist/esm/mk-bc10b72e.js.map +0 -1
  2198. package/dist/esm/nb-1b4e1603.js +0 -68
  2199. package/dist/esm/nb-1b4e1603.js.map +0 -1
  2200. package/dist/esm/nl-5e3de3c4.js +0 -68
  2201. package/dist/esm/nl-5e3de3c4.js.map +0 -1
  2202. package/dist/esm/observers-a1e25392.js +0 -53
  2203. package/dist/esm/observers-a1e25392.js.map +0 -1
  2204. package/dist/esm/openCloseComponent-764c8b02.js +0 -60
  2205. package/dist/esm/openCloseComponent-764c8b02.js.map +0 -1
  2206. package/dist/esm/pl-d7735cdc.js +0 -115
  2207. package/dist/esm/pl-d7735cdc.js.map +0 -1
  2208. package/dist/esm/pt-b6e85915.js +0 -68
  2209. package/dist/esm/pt-b6e85915.js.map +0 -1
  2210. package/dist/esm/pt-br-7e1cf6b9.js +0 -66
  2211. package/dist/esm/pt-br-7e1cf6b9.js.map +0 -1
  2212. package/dist/esm/resources-29b6200e.js +0 -31
  2213. package/dist/esm/resources-29b6200e.js.map +0 -1
  2214. package/dist/esm/resources-2a789fe4.js +0 -23
  2215. package/dist/esm/resources-2a789fe4.js.map +0 -1
  2216. package/dist/esm/resources-35201ea7.js +0 -382
  2217. package/dist/esm/resources-35201ea7.js.map +0 -1
  2218. package/dist/esm/resources-980c8d09.js +0 -16
  2219. package/dist/esm/resources-980c8d09.js.map +0 -1
  2220. package/dist/esm/resources-aaad0e9c.js +0 -21
  2221. package/dist/esm/resources-aaad0e9c.js.map +0 -1
  2222. package/dist/esm/resources-c5786871.js +0 -60
  2223. package/dist/esm/resources-c5786871.js.map +0 -1
  2224. package/dist/esm/resources-dd7b12f1.js +0 -19
  2225. package/dist/esm/resources-dd7b12f1.js.map +0 -1
  2226. package/dist/esm/ro-21667f77.js +0 -67
  2227. package/dist/esm/ro-21667f77.js.map +0 -1
  2228. package/dist/esm/ru-a8c1a65c.js +0 -127
  2229. package/dist/esm/ru-a8c1a65c.js.map +0 -1
  2230. package/dist/esm/sk-5c67bfdb.js +0 -149
  2231. package/dist/esm/sk-5c67bfdb.js.map +0 -1
  2232. package/dist/esm/sl-e6d81fcd.js +0 -169
  2233. package/dist/esm/sl-e6d81fcd.js.map +0 -1
  2234. package/dist/esm/sortableComponent-12f510c7.js +0 -2742
  2235. package/dist/esm/sortableComponent-12f510c7.js.map +0 -1
  2236. package/dist/esm/sr-066ba646.js +0 -102
  2237. package/dist/esm/sr-066ba646.js.map +0 -1
  2238. package/dist/esm/sv-f9a44b3f.js +0 -72
  2239. package/dist/esm/sv-f9a44b3f.js.map +0 -1
  2240. package/dist/esm/t9n-c8bd5ea9.js +0 -100
  2241. package/dist/esm/t9n-c8bd5ea9.js.map +0 -1
  2242. package/dist/esm/th-e4c66a20.js +0 -66
  2243. package/dist/esm/th-e4c66a20.js.map +0 -1
  2244. package/dist/esm/throttle-b901fdcd.js +0 -75
  2245. package/dist/esm/throttle-b901fdcd.js.map +0 -1
  2246. package/dist/esm/time-zones-6ccc534b.js +0 -42
  2247. package/dist/esm/time-zones-6ccc534b.js.map +0 -1
  2248. package/dist/esm/tr-1547c362.js +0 -67
  2249. package/dist/esm/tr-1547c362.js.map +0 -1
  2250. package/dist/esm/uk-31fe7d56.js +0 -105
  2251. package/dist/esm/uk-31fe7d56.js.map +0 -1
  2252. package/dist/esm/utils-9469423c.js +0 -292
  2253. package/dist/esm/utils-9469423c.js.map +0 -1
  2254. package/dist/esm/utils-bb481c58.js +0 -2266
  2255. package/dist/esm/utils-bb481c58.js.map +0 -1
  2256. package/dist/esm/vi-0701bd1b.js +0 -71
  2257. package/dist/esm/vi-0701bd1b.js.map +0 -1
  2258. package/dist/esm/zh-cn-c4c5d36b.js +0 -95
  2259. package/dist/esm/zh-cn-c4c5d36b.js.map +0 -1
  2260. package/dist/esm/zh-hk-c5aef9a4.js +0 -93
  2261. package/dist/esm/zh-hk-c5aef9a4.js.map +0 -1
  2262. package/dist/esm/zh-tw-ac076966.js +0 -93
  2263. package/dist/esm/zh-tw-ac076966.js.map +0 -1
  2264. package/dist/extras/vscode-data.json +0 -7478
  2265. /package/dist/calcite/{p-20bc22ca.entry.js.map → p-014feeab.entry.js.map} +0 -0
  2266. /package/dist/calcite/{p-cbed8c79.js.map → p-02522147.js.map} +0 -0
  2267. /package/dist/calcite/{p-a49b95d8.js.map → p-028278a3.js.map} +0 -0
  2268. /package/dist/calcite/{p-a02ae7a8.entry.js.map → p-02d208fd.entry.js.map} +0 -0
  2269. /package/dist/calcite/{p-f08edbd2.entry.js.map → p-0677a447.entry.js.map} +0 -0
  2270. /package/dist/calcite/{p-5b5ebddf.js.map → p-076d5228.js.map} +0 -0
  2271. /package/dist/calcite/{p-a4ba2c4c.js.map → p-0950b635.js.map} +0 -0
  2272. /package/dist/calcite/{p-bcf067ac.js.map → p-09ba5be7.js.map} +0 -0
  2273. /package/dist/calcite/{p-1d6a8a46.entry.js.map → p-0ae3cd17.entry.js.map} +0 -0
  2274. /package/dist/calcite/{p-a2b2076b.entry.js.map → p-0c86a89d.entry.js.map} +0 -0
  2275. /package/dist/calcite/{p-7f0164c9.entry.js.map → p-0d014579.entry.js.map} +0 -0
  2276. /package/dist/calcite/{p-104d1d32.entry.js.map → p-0f08d617.entry.js.map} +0 -0
  2277. /package/dist/calcite/{p-c31dfdef.js.map → p-14e8aea5.js.map} +0 -0
  2278. /package/dist/calcite/{p-42901549.js.map → p-150efaa4.js.map} +0 -0
  2279. /package/dist/calcite/{p-1ba0988f.js.map → p-1556bef7.js.map} +0 -0
  2280. /package/dist/calcite/{p-fb9a1d16.js.map → p-1747ffb9.js.map} +0 -0
  2281. /package/dist/calcite/{p-e7104b8d.js.map → p-17581615.js.map} +0 -0
  2282. /package/dist/calcite/{p-ceb1e330.entry.js.map → p-177c7f49.entry.js.map} +0 -0
  2283. /package/dist/calcite/{p-2d88c083.js.map → p-1fb3b19d.js.map} +0 -0
  2284. /package/dist/calcite/{p-ff0ed5c9.entry.js.map → p-21eb95f3.entry.js.map} +0 -0
  2285. /package/dist/calcite/{p-27b69025.js.map → p-23ea44e9.js.map} +0 -0
  2286. /package/dist/calcite/{p-357db407.js.map → p-2873d01a.js.map} +0 -0
  2287. /package/dist/calcite/{p-df5bdc47.js.map → p-2ab60da2.js.map} +0 -0
  2288. /package/dist/calcite/{p-fa3de576.entry.js.map → p-2c7543fb.entry.js.map} +0 -0
  2289. /package/dist/calcite/{p-14b9d726.js.map → p-2d3f5f11.js.map} +0 -0
  2290. /package/dist/calcite/{p-e65edb81.entry.js.map → p-2db9acc2.entry.js.map} +0 -0
  2291. /package/dist/calcite/{p-0bbcfa13.js.map → p-33434e45.js.map} +0 -0
  2292. /package/dist/calcite/{p-f08093d7.js.map → p-36ef85c1.js.map} +0 -0
  2293. /package/dist/calcite/{p-b4a0d361.js.map → p-37761a16.js.map} +0 -0
  2294. /package/dist/calcite/{p-72ccdeee.js.map → p-3927d405.js.map} +0 -0
  2295. /package/dist/calcite/{p-ce533cd8.js.map → p-3bffea95.js.map} +0 -0
  2296. /package/dist/calcite/{p-4377c650.js.map → p-3cd6ef65.js.map} +0 -0
  2297. /package/dist/calcite/{p-6f580f9d.js.map → p-3cf89117.js.map} +0 -0
  2298. /package/dist/calcite/{p-4f53529c.js.map → p-3eddc208.js.map} +0 -0
  2299. /package/dist/calcite/{p-ee01924f.js.map → p-416a1dfa.js.map} +0 -0
  2300. /package/dist/calcite/{p-ec71be9a.js.map → p-42c8bed7.js.map} +0 -0
  2301. /package/dist/calcite/{p-46ee72e7.js.map → p-432012f7.js.map} +0 -0
  2302. /package/dist/calcite/{p-a9789e0e.js.map → p-43b5ddd0.js.map} +0 -0
  2303. /package/dist/calcite/{p-ff423d82.js.map → p-44885066.js.map} +0 -0
  2304. /package/dist/calcite/{p-2bed8053.js.map → p-47ee0f17.js.map} +0 -0
  2305. /package/dist/calcite/{p-d6a25fe2.js.map → p-48c46ebf.js.map} +0 -0
  2306. /package/dist/calcite/{p-1bec1ef7.js.map → p-49fd34a7.js.map} +0 -0
  2307. /package/dist/calcite/{p-2a6464bc.js.map → p-4a654c62.js.map} +0 -0
  2308. /package/dist/calcite/{p-dcecb4a0.js.map → p-4f800b41.js.map} +0 -0
  2309. /package/dist/calcite/{p-78673acb.js.map → p-50fa027f.js.map} +0 -0
  2310. /package/dist/calcite/{p-30789c90.js.map → p-51536b75.js.map} +0 -0
  2311. /package/dist/calcite/{p-8c7e61d1.js.map → p-52a3a1d9.js.map} +0 -0
  2312. /package/dist/calcite/{p-fb8915bd.js.map → p-538e4de5.js.map} +0 -0
  2313. /package/dist/calcite/{p-769c1c82.js.map → p-54e1cc3e.js.map} +0 -0
  2314. /package/dist/calcite/{p-017d0775.entry.js.map → p-559d5428.entry.js.map} +0 -0
  2315. /package/dist/calcite/{p-e3a13205.js.map → p-5610eb3a.js.map} +0 -0
  2316. /package/dist/calcite/{p-c71281c2.js.map → p-5a798716.js.map} +0 -0
  2317. /package/dist/calcite/{p-87901e5b.entry.js.map → p-5be8a330.entry.js.map} +0 -0
  2318. /package/dist/calcite/{p-20d6d814.js.map → p-5bfaa911.js.map} +0 -0
  2319. /package/dist/calcite/{p-4f616cbe.js.map → p-5d583a26.js.map} +0 -0
  2320. /package/dist/calcite/{p-32d7aa5f.entry.js.map → p-5e62f5d8.entry.js.map} +0 -0
  2321. /package/dist/calcite/{p-a4ac8fc3.js.map → p-5fb11bc5.js.map} +0 -0
  2322. /package/dist/calcite/{p-f438e5e1.js.map → p-605d2697.js.map} +0 -0
  2323. /package/dist/calcite/{p-c60c7e01.js.map → p-62a45517.js.map} +0 -0
  2324. /package/dist/calcite/{p-36ecadf9.js.map → p-658e49d1.js.map} +0 -0
  2325. /package/dist/calcite/{p-3c4fe54e.js.map → p-6861beb6.js.map} +0 -0
  2326. /package/dist/calcite/{p-45d13552.js.map → p-6b034312.js.map} +0 -0
  2327. /package/dist/calcite/{p-7c8836c8.entry.js.map → p-6d0763d1.entry.js.map} +0 -0
  2328. /package/dist/calcite/{p-4a322c0e.js.map → p-702f5524.js.map} +0 -0
  2329. /package/dist/calcite/{p-9f2a67d4.js.map → p-70bc9361.js.map} +0 -0
  2330. /package/dist/calcite/{p-447d61ae.js.map → p-71846dd7.js.map} +0 -0
  2331. /package/dist/calcite/{p-fd22e26e.js.map → p-71a36eac.js.map} +0 -0
  2332. /package/dist/calcite/{p-de70fda8.js.map → p-75d13a9a.js.map} +0 -0
  2333. /package/dist/calcite/{p-e7089478.js.map → p-75f53b08.js.map} +0 -0
  2334. /package/dist/calcite/{p-9626115b.js.map → p-78a12803.js.map} +0 -0
  2335. /package/dist/calcite/{p-655f7f65.entry.js.map → p-7cba7142.entry.js.map} +0 -0
  2336. /package/dist/calcite/{p-adfbff91.js.map → p-827c78ae.js.map} +0 -0
  2337. /package/dist/calcite/{p-19f43fe6.js.map → p-86670483.js.map} +0 -0
  2338. /package/dist/calcite/{p-0c0aade7.js.map → p-8f15a8b8.js.map} +0 -0
  2339. /package/dist/calcite/{p-07a83506.entry.js.map → p-9046ce3f.entry.js.map} +0 -0
  2340. /package/dist/calcite/{p-d6ca33de.entry.js.map → p-9172abf0.entry.js.map} +0 -0
  2341. /package/dist/calcite/{p-17c701ba.js.map → p-92e7212f.js.map} +0 -0
  2342. /package/dist/calcite/{p-45ac55e3.js.map → p-9312cf69.js.map} +0 -0
  2343. /package/dist/calcite/{p-9c191250.js.map → p-934d8e45.js.map} +0 -0
  2344. /package/dist/calcite/{p-603d7196.js.map → p-94fb2301.js.map} +0 -0
  2345. /package/dist/calcite/{p-f49181c8.js.map → p-96bfb8d9.js.map} +0 -0
  2346. /package/dist/calcite/{p-29c291d1.js.map → p-a3136988.js.map} +0 -0
  2347. /package/dist/calcite/{p-0ce7ec28.js.map → p-a4601427.js.map} +0 -0
  2348. /package/dist/calcite/{p-e2fa918e.entry.js.map → p-a56530bf.entry.js.map} +0 -0
  2349. /package/dist/calcite/{p-b5defc67.entry.js.map → p-aa6c227e.entry.js.map} +0 -0
  2350. /package/dist/calcite/{p-bccffc90.js.map → p-abb207ee.js.map} +0 -0
  2351. /package/dist/calcite/{p-5ba99915.js.map → p-ac61143e.js.map} +0 -0
  2352. /package/dist/calcite/{p-a9cce7b0.js.map → p-af2ce6e6.js.map} +0 -0
  2353. /package/dist/calcite/{p-5bee2979.entry.js.map → p-b3f8b7ef.entry.js.map} +0 -0
  2354. /package/dist/calcite/{p-fa4ca863.js.map → p-b693e6ed.js.map} +0 -0
  2355. /package/dist/calcite/{p-67e6ac12.js.map → p-b6a71674.js.map} +0 -0
  2356. /package/dist/calcite/{p-bc4f64c1.js.map → p-b722d250.js.map} +0 -0
  2357. /package/dist/calcite/{p-c473b37c.js.map → p-b92ebeef.js.map} +0 -0
  2358. /package/dist/calcite/{p-5fe70602.entry.js.map → p-ba1afe48.entry.js.map} +0 -0
  2359. /package/dist/calcite/{p-4e955a72.js.map → p-bd29fda5.js.map} +0 -0
  2360. /package/dist/calcite/{p-77bb03a6.js.map → p-c4f58fae.js.map} +0 -0
  2361. /package/dist/calcite/{p-d9408c0d.js.map → p-c64f7f92.js.map} +0 -0
  2362. /package/dist/calcite/{p-f3811cf9.entry.js.map → p-c7a88fda.entry.js.map} +0 -0
  2363. /package/dist/calcite/{p-aaea23e1.js.map → p-c96353cc.js.map} +0 -0
  2364. /package/dist/calcite/{p-27ab49c7.js.map → p-cbc54e80.js.map} +0 -0
  2365. /package/dist/calcite/{p-14ea97ed.entry.js.map → p-ce35a376.entry.js.map} +0 -0
  2366. /package/dist/calcite/{p-ffdbdb0a.entry.js.map → p-ce8096fa.entry.js.map} +0 -0
  2367. /package/dist/calcite/{p-56bab01f.js.map → p-d32e5254.js.map} +0 -0
  2368. /package/dist/calcite/{p-3dc78399.js.map → p-d5a775c7.js.map} +0 -0
  2369. /package/dist/calcite/{p-5daaab7f.js.map → p-d90ec26a.js.map} +0 -0
  2370. /package/dist/calcite/{p-cee45aed.entry.js.map → p-d95c083d.entry.js.map} +0 -0
  2371. /package/dist/calcite/{p-29d4f1ed.js.map → p-e1cb0cf6.js.map} +0 -0
  2372. /package/dist/calcite/{p-d3be4e55.js.map → p-e369ccb4.js.map} +0 -0
  2373. /package/dist/calcite/{p-c4bad52c.js.map → p-e48d8987.js.map} +0 -0
  2374. /package/dist/calcite/{p-dc9e6847.js.map → p-e7a44987.js.map} +0 -0
  2375. /package/dist/calcite/{p-3787986b.js.map → p-e880cc27.js.map} +0 -0
  2376. /package/dist/calcite/{p-962cef0f.entry.js.map → p-ee3a83a3.entry.js.map} +0 -0
  2377. /package/dist/calcite/{p-64329e55.js.map → p-f099b69b.js.map} +0 -0
  2378. /package/dist/calcite/{p-d6aca761.js.map → p-f51a68ab.js.map} +0 -0
  2379. /package/dist/calcite/{p-ff232f67.js.map → p-f602db57.js.map} +0 -0
  2380. /package/dist/calcite/{p-2829b220.entry.js.map → p-f8d7d444.entry.js.map} +0 -0
  2381. /package/dist/calcite/{p-d41b81d5.js.map → p-fa6f9740.js.map} +0 -0
  2382. /package/dist/calcite/{p-cbd31ba2.js.map → p-fa8bedac.js.map} +0 -0
  2383. /package/dist/calcite/{p-9a2f96d2.js.map → p-fbf41cbc.js.map} +0 -0
  2384. /package/dist/calcite/{p-28ecfae7.js.map → p-feb35427.js.map} +0 -0
  2385. /package/dist/calcite/{p-42ed7d55.js.map → p-febdb64b.js.map} +0 -0
  2386. /package/dist/calcite/{p-5b45eef3.js.map → p-ff633d19.js.map} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"names":["CSS","button","buttonTextVisible","buttonCompact","indicatorText","iconContainer","slotContainer","slotContainerHidden","textContainer","textContainerVisible","indicatorWithIcon","indicatorWithoutIcon","SLOTS","tooltip","actionCss","CalciteActionStyle0","Action","this","mutationObserver","createObserver","forceUpdate","guid","indicatorId","buttonId","handleTooltipSlotChange","event","tooltips","target","assignedElements","flatten","filter","el","matches","referenceElement","buttonEl","onMessagesChange","effectiveLocaleChange","updateMessages","effectiveLocale","connectedCallback","connectInteractive","connectLocalized","connectMessages","observe","childList","subtree","componentWillLoad","setUpLoadableComponent","isBrowser","setUpMessages","componentDidLoad","setComponentLoaded","disconnectedCallback","disconnectInteractive","disconnectLocalized","disconnectMessages","disconnect","componentDidRender","updateHostInteraction","setFocus","componentFocusable","focus","renderTextContainer","text","textEnabled","textContainerClasses","h","class","key","renderIndicatorText","indicator","messages","id","role","renderIconContainer","loading","icon","scale","iconFlipRtl","loaderScale","calciteLoaderNode","inline","label","calciteIconNode","flipRtl","getIconScale","iconNode","hasIconToDisplay","children","length","slotContainerNode","render","active","compact","disabled","labelFallback","ariaLabel","buttonClasses","Host","InteractiveContainer","toAriaBoolean","ref","name","onSlotchange"],"sources":["src/components/action/resources.ts","src/components/action/action.scss?tag=calcite-action&encapsulation=shadow","src/components/action/action.tsx"],"sourcesContent":["export const CSS = {\n button: \"button\",\n buttonTextVisible: \"button--text-visible\",\n buttonCompact: \"button--compact\",\n indicatorText: \"indicator-text\",\n iconContainer: \"icon-container\",\n slotContainer: \"slot-container\",\n slotContainerHidden: \"slot-container--hidden\",\n textContainer: \"text-container\",\n textContainerVisible: \"text-container--visible\",\n indicatorWithIcon: \"indicator-with-icon\",\n indicatorWithoutIcon: \"indicator-without-icon\",\n};\n\nexport const SLOTS = {\n tooltip: \"tooltip\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-action-indicator-color: Specifies the component's indicator color.\n * @prop --calcite-action-background-color: Specifies the component's background color.\n * @prop --calcite-action-background-color-hover: Specifies the component's background color when hovered or focused.\n * @prop --calcite-action-background-color-pressed: Specifies the component's background color when active.\n * @prop --calcite-action-text-color: Specifies the text color of the component.\n * @prop --calcite-action-text-color-pressed: Specifies the component's text color when hovered.\n */\n\n:host {\n @extend %component-host;\n @apply flex bg-transparent;\n}\n\n@mixin action-indicator() {\n position: relative;\n &::after {\n content: \"\";\n @apply absolute\n h-2\n w-2\n rounded-full;\n inset-block-end: calc(-0.275rem);\n inset-inline-end: calc(-0.275rem);\n background-color: var(--calcite-action-indicator-color, theme(\"colors.brand\"));\n }\n}\n\n.button {\n @apply focus-base\n text-n2h\n relative\n m-0\n flex\n w-auto\n cursor-pointer\n items-center\n justify-start\n border-none\n font-medium\n font-sans;\n\n background-color: var(--calcite-action-background-color, var(--calcite-color-foreground-1));\n color: var(--calcite-action-text-color, var(--calcite-color-text-3));\n text-align: unset;\n flex: 1 0 auto;\n\n &:hover,\n &:focus {\n background-color: var(--calcite-action-background-color-hover, var(--calcite-color-foreground-2));\n color: var(--calcite-action-text-color-pressed, var(--calcite-color-text-1));\n }\n\n &:focus {\n @apply focus-inset;\n }\n\n &:active {\n background-color: var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3));\n }\n}\n\n.icon-container {\n @apply pointer-events-none\n m-0\n flex\n items-center\n justify-center;\n min-inline-size: theme(\"spacing.4\");\n min-block-size: theme(\"spacing.6\");\n}\n\n.text-container {\n @apply m-0\n w-0\n truncate\n leading-6\n opacity-0\n transition-opacity\n duration-150\n ease-in-out;\n\n transition-property: margin;\n transition-property: inline-size;\n}\n\n.text-container--visible {\n @apply w-auto flex-auto opacity-100;\n}\n\n:host([active]) {\n .button {\n &,\n &:hover,\n &:focus {\n color: var(--calcite-action-text-color-pressed, var(--calcite-color-text-1));\n background-color: var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3));\n }\n\n &:active {\n background-color: var(--calcite-action-background-color, var(--calcite-color-foreground-1));\n }\n }\n}\n\n:host([loading]) {\n .button {\n &:hover,\n &:focus {\n background-color: var(--calcite-action-background-color, var(--calcite-color-foreground-1));\n }\n }\n\n .text-container {\n @apply opacity-disabled;\n }\n\n calcite-loader[inline] {\n margin-inline-end: theme(\"spacing.0\");\n }\n}\n\n:host([appearance=\"transparent\"]) {\n .button {\n @apply bg-transparent\n transition-shadow\n duration-150\n ease-in-out;\n\n &:hover,\n &:focus {\n background-color: var(--calcite-color-transparent-hover);\n }\n\n &:active {\n background-color: var(--calcite-color-transparent-press);\n }\n }\n}\n\n:host([data-active]) .button {\n @apply focus-inset;\n}\n\n:host([scale=\"s\"]) {\n .button {\n @apply text-n2h px-2 py-1 font-normal;\n }\n .button--text-visible .icon-container {\n margin-inline-end: theme(\"spacing.2\");\n }\n}\n\n:host([scale=\"m\"]) {\n .button {\n @apply text-n1h px-4 py-3 font-normal;\n }\n .button--text-visible .icon-container {\n margin-inline-end: theme(\"spacing.3\");\n }\n}\n\n:host([scale=\"l\"]) {\n .button {\n @apply text-0h p-5 font-normal;\n }\n .button--text-visible .icon-container {\n margin-inline-end: theme(\"spacing.4\");\n }\n}\n\n:host([alignment=\"center\"]) .button {\n @apply justify-center;\n}\n\n:host([alignment=\"end\"]) .button {\n @apply justify-end;\n}\n\n:host([alignment=\"center\"]),\n:host([alignment=\"end\"]) {\n .button .text-container--visible {\n @apply flex-initial;\n }\n}\n\n/* [Deprecated] Compact */\n:host([scale=\"s\"][compact]) .button,\n:host([scale=\"m\"][compact]) .button,\n:host([scale=\"l\"][compact]) .button {\n @apply px-0;\n}\n\n.slot-container {\n @apply flex;\n}\n\n.slot-container--hidden {\n @apply hidden;\n}\n\n.button--text-visible {\n @apply w-full;\n}\n\n.indicator-with-icon {\n @include action-indicator();\n}\n\n.indicator-without-icon {\n @apply w-4 mx-1;\n @include action-indicator();\n}\n\n.indicator-text {\n @apply sr-only;\n}\n\n@include base-component();\n@include disabled {\n .button,\n .button:hover,\n .button:focus {\n @apply opacity-disabled bg-foreground-1 cursor-default;\n }\n\n &:host([active]) {\n .button,\n .button:hover,\n .button:focus {\n @apply opacity-disabled bg-foreground-3;\n }\n }\n}\n","import {\n Component,\n Element,\n forceUpdate,\n h,\n Host,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { getIconScale } from \"../../utils/component\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Alignment, Appearance, Scale } from \"../interfaces\";\nimport { IconNameOrString } from \"../icon/interfaces\";\nimport { isBrowser } from \"../../utils/browser\";\nimport { ActionMessages } from \"./assets/action/t9n\";\nimport { CSS, SLOTS } from \"./resources\";\n\n/**\n * @slot - A slot for adding a `calcite-icon`.\n * @slot tooltip - [Deprecated] Use the `calcite-tooltip` component instead.\n */\n@Component({\n tag: \"calcite-action\",\n styleUrl: \"action.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Action\n implements InteractiveComponent, LocalizedComponent, T9nComponent, LoadableComponent\n{\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, the component is highlighted.\n */\n @Prop({ reflect: true }) active = false;\n\n /**\n * Specifies the horizontal alignment of button elements with text content.\n */\n @Prop({ reflect: true }) alignment: Alignment;\n\n /** Specifies the appearance of the component. */\n @Prop({ reflect: true }) appearance: Extract<\"solid\" | \"transparent\", Appearance> = \"solid\";\n\n /**\n * When `true`, the side padding of the component is reduced.\n *\n * @deprecated No longer necessary.\n */\n @Prop({ reflect: true }) compact = false;\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /** Specifies an icon to display. */\n @Prop() icon: IconNameOrString;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /**\n * When `true`, displays a visual indicator.\n */\n @Prop({ reflect: true }) indicator = false;\n\n /**\n * Specifies the label of the component. If no label is provided, the label inherits what's provided for the `text` prop.\n */\n @Prop() label: string;\n\n /**\n * When `true`, a busy indicator is displayed.\n */\n @Prop({ reflect: true }) loading = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /**\n * Specifies text that accompanies the icon.\n */\n @Prop() text!: string;\n\n /**\n * Indicates whether the text is displayed.\n */\n @Prop({ reflect: true }) textEnabled = false;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: ActionMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<ActionMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteActionElement;\n\n buttonEl: HTMLButtonElement;\n\n mutationObserver = createObserver(\"mutation\", () => forceUpdate(this));\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ActionMessages;\n\n guid = `calcite-action-${guid()}`;\n\n indicatorId = `${this.guid}-indicator`;\n\n buttonId = `${this.guid}-button`;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n if (isBrowser()) {\n await setUpMessages(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.mutationObserver?.disconnect();\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.buttonEl?.focus();\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderTextContainer(): VNode {\n const { text, textEnabled } = this;\n\n const textContainerClasses = {\n [CSS.textContainer]: true,\n [CSS.textContainerVisible]: textEnabled,\n };\n\n return text ? (\n <div class={textContainerClasses} key=\"text-container\">\n {text}\n </div>\n ) : null;\n }\n\n renderIndicatorText(): VNode {\n const { indicator, messages, indicatorId, buttonId } = this;\n return (\n <div\n aria-labelledby={buttonId}\n aria-live=\"polite\"\n class={CSS.indicatorText}\n id={indicatorId}\n role=\"region\"\n >\n {indicator ? messages.indicator : null}\n </div>\n );\n }\n\n renderIconContainer(): VNode {\n const { loading, icon, scale, el, iconFlipRtl, indicator } = this;\n const loaderScale = scale === \"l\" ? \"l\" : \"m\";\n const calciteLoaderNode = loading ? (\n <calcite-loader inline label={this.messages.loading} scale={loaderScale} />\n ) : null;\n const calciteIconNode = icon ? (\n <calcite-icon\n class={{ [CSS.indicatorWithIcon]: indicator }}\n flipRtl={iconFlipRtl}\n icon={icon}\n scale={getIconScale(this.scale)}\n />\n ) : null;\n const iconNode = calciteLoaderNode || calciteIconNode;\n const hasIconToDisplay = iconNode || el.children?.length;\n\n const slotContainerNode = (\n <div\n class={{\n [CSS.slotContainer]: true,\n [CSS.slotContainerHidden]: loading,\n }}\n >\n <slot />\n </div>\n );\n\n return hasIconToDisplay ? (\n <div aria-hidden=\"true\" class={CSS.iconContainer} key=\"icon-container\">\n {iconNode}\n {slotContainerNode}\n </div>\n ) : null;\n }\n\n render(): VNode {\n const {\n active,\n compact,\n disabled,\n icon,\n loading,\n textEnabled,\n label,\n text,\n indicator,\n indicatorId,\n buttonId,\n messages,\n } = this;\n const labelFallback = label || text;\n const ariaLabel = labelFallback\n ? `${labelFallback}${indicator ? ` (${messages.indicator})` : \"\"}`\n : \"\";\n\n const buttonClasses = {\n [CSS.button]: true,\n [CSS.buttonTextVisible]: textEnabled,\n [CSS.buttonCompact]: compact,\n };\n\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <button\n aria-busy={toAriaBoolean(loading)}\n aria-controls={indicator ? indicatorId : null}\n aria-disabled={toAriaBoolean(disabled)}\n aria-label={ariaLabel}\n aria-pressed={toAriaBoolean(active)}\n class={buttonClasses}\n disabled={disabled}\n id={buttonId}\n ref={(buttonEl): HTMLButtonElement => (this.buttonEl = buttonEl)}\n >\n {this.renderIconContainer()}\n {this.renderTextContainer()}\n {!icon && indicator && <div class={CSS.indicatorWithoutIcon} key=\"indicator-no-icon\" />}\n </button>\n <slot name={SLOTS.tooltip} onSlotchange={this.handleTooltipSlotChange} />\n {this.renderIndicatorText()}\n </InteractiveContainer>\n </Host>\n );\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n handleTooltipSlotChange = (event: Event): void => {\n const tooltips = (event.target as HTMLSlotElement)\n .assignedElements({\n flatten: true,\n })\n .filter((el) => el?.matches(\"calcite-tooltip\")) as HTMLCalciteTooltipElement[];\n\n const tooltip = tooltips[0];\n\n if (tooltip) {\n tooltip.referenceElement = this.buttonEl;\n }\n };\n}\n"],"mappings":";;;;;mfAAO,MAAMA,EAAM,CACjBC,OAAQ,SACRC,kBAAmB,uBACnBC,cAAe,kBACfC,cAAe,iBACfC,cAAe,iBACfC,cAAe,iBACfC,oBAAqB,yBACrBC,cAAe,iBACfC,qBAAsB,0BACtBC,kBAAmB,sBACnBC,qBAAsB,0BAGjB,MAAMC,EAAQ,CACnBC,QAAS,WCfX,MAAMC,EAAY,++LAClB,MAAAC,EAAeD,E,MCoDFE,EAAM,M,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AAgB0F,GAGvB,OACE3B,EAACgC,EAAI,CAAA9B,IAAA,4CACHF,EAACiC,EAAoB,CAAA/B,IAAA,2CAAC0B,SAAUA,GAC9B5B,EAAA,UAAAE,IAAA,uDACagC,EAAczB,GAAQ,gBAClBL,EAAYhD,EAAc,KAAI,gBAC9B8E,EAAcN,GAAS,aAC1BE,EAAS,eACPI,EAAcR,GAC5BzB,MAAO8B,EACPH,SAAUA,EACVtB,GAAIjD,EACJ8E,IAAMnE,GAAiCjB,KAAKiB,SAAWA,GAEtDjB,KAAKyD,sBACLzD,KAAK6C,uBACJc,GAAQN,GAAaJ,EAAA,OAAKC,MAAOnE,EAAIW,qBAAsByD,IAAI,uBAEnEF,EAAA,QAAAE,IAAA,2CAAMkC,KAAM1F,EAAMC,QAAS0F,aAActF,KAAKO,0BAC7CP,KAAKoD,uB","ignoreList":[]}
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v2.12.0
5
- */
6
- import{r as t,c as s,h as e,g as i,F as n}from"./p-e7104b8d.js";import{C as o,n as a,a as l,b as c,o as r,c as h,d,D as u,e as p,f,g as b,p as m,j as g,k as w,R as x,H as y,O as C,t as v,l as k,m as A,S,q as I,r as z,s as D,u as $,i as F,v as j,w as O}from"./p-46ee72e7.js";import{u as L,g as N,f as K,d as T,i as P}from"./p-27ab49c7.js";import{c as U,d as E,u as M,I as H}from"./p-8f8cbbc7.js";import{i as _}from"./p-c473b37c.js";import{c as B,s as V,a as q}from"./p-5b45eef3.js";import{c as R,d as W}from"./p-29c291d1.js";import{r as J,c as X,a as G}from"./p-769c1c82.js";import{u as Y,s as Q,c as Z,d as tt}from"./p-c60c7e01.js";import{t as st}from"./p-adfbff91.js";import"./p-6f580f9d.js";import"./p-56bab01f.js";import"./p-3c4fe54e.js";import"./p-9a2f96d2.js";import"./p-17c701ba.js";const et=':host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:inline-block;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.color-field,.control-and-scope{-webkit-user-select:none;user-select:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:6px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing);gap:var(--calcite-spacing-xxs)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';const it=et;const nt=16;const ot=class{constructor(i){t(this,i);this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6);this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6);this.internalColorUpdateContext=null;this.isActiveChannelInputEmpty=false;this.mode=o.HEX;this.shiftKeyChannelAdjustment=0;this.upOrDownArrowKeyTracker=null;this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode");this.updateChannelsFromColor(this.color)};this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t;const e={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};if(e[s]){t.preventDefault();this.scopeOrientation=s==="ArrowDown"||s==="ArrowUp"?"vertical":"horizontal";this.captureColorFieldColor(this.colorFieldScopeLeft+e[s].x||0,this.colorFieldScopeTop+e[s].y||0,false)}};this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1;const{key:e}=t;const i={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(i[e]){t.preventDefault();const n=i[e]*s;const o=this.baseColorFieldColor.hue();const a=this.baseColorFieldColor.hue(o+n);this.internalColorSet(a,false)}};this.handleHexInputChange=t=>{t.stopPropagation();const{isClearable:s,color:e}=this;const i=t.target;const n=i.value;if(s&&!n){this.internalColorSet(null);return}const o=e&&a(l(e,f(this.mode)));if(n!==o){this.internalColorSet(c(n))}};this.handleSavedColorSelect=t=>{const s=t.currentTarget;this.internalColorSet(c(s.color))};this.handleChannelInput=t=>{const s=t.currentTarget;const e=Number(s.getAttribute("data-channel-index"));const i=e===3;const n=i?C.max:this.channelMode==="rgb"?x[Object.keys(x)[e]]:y[Object.keys(y)[e]];let o;if(!s.value){o="";this.isActiveChannelInputEmpty=true;this.upOrDownArrowKeyTracker=null}else{const t=Number(s.value);const e=t+this.shiftKeyChannelAdjustment;const i=X(e,0,n);o=i.toString()}s.value=o;if(o!==""&&this.shiftKeyChannelAdjustment!==0){this.handleChannelChange(t)}else if(o!==""){this.handleChannelChange(t)}};this.handleChannelBlur=t=>{const s=t.currentTarget;const e=Number(s.getAttribute("data-channel-index"));const i=[...this.channels];const n=!s.value&&!this.isClearable;if(n){s.value=i[e]?.toString()}};this.handleChannelFocus=t=>{const s=t.currentTarget;s.selectText()};this.handleChannelChange=t=>{const s=t.currentTarget;const e=Number(s.getAttribute("data-channel-index"));const i=[...this.channels];const n=this.isClearable&&!s.value;if(n){this.channels=[null,null,null,null];this.internalColorSet(null);return}const o=e===3;if(this.isActiveChannelInputEmpty&&this.upOrDownArrowKeyTracker){s.value=this.upOrDownArrowKeyTracker==="up"?(i[e]+1<=this.getChannelInputLimit(e)?i[e]+1:this.getChannelInputLimit(e)).toString():(i[e]-1>=0?i[e]-1:0).toString();this.isActiveChannelInputEmpty=false;this.upOrDownArrowKeyTracker=null}const a=s.value?Number(s.value):i[e];i[e]=o?r(a):a;this.updateColorFromChannels(i)};this.handleSavedColorKeyDown=t=>{if(_(t.key)){t.preventDefault();this.handleSavedColorSelect(t)}};this.handleColorFieldPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.colorFieldRenderingContext,this.captureColorFieldColor,this.colorFieldScopeNode)};this.handleHueSliderPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.hueSliderRenderingContext,this.captureHueSliderColor,this.hueScopeNode)};this.handleOpacitySliderPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.opacitySliderRenderingContext,this.captureOpacitySliderValue,this.opacityScopeNode)};this.globalPointerUpHandler=t=>{if(!L(t)){return}const s=this.activeCanvasInfo;this.activeCanvasInfo=null;this.drawColorControls();if(s){this.calciteColorPickerChange.emit()}};this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:e}=this;if(!e.isConnected||!s){return}const{context:i,bounds:n}=s;let o;let a;const{clientX:l,clientY:c}=t;if(i.canvas.matches(":hover")){o=l-n.x;a=c-n.y}else{if(l<n.x+n.width&&l>n.x){o=l-n.x}else if(l<n.x){o=0}else{o=n.width}if(c<n.y+n.height&&c>n.y){a=c-n.y}else if(c<n.y){a=0}else{a=n.height}}if(i===this.colorFieldRenderingContext){this.captureColorFieldColor(o,a,false)}else if(i===this.hueSliderRenderingContext){this.captureHueSliderColor(o)}else if(i===this.opacitySliderRenderingContext){this.captureOpacitySliderValue(o)}};this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t};this.storeHueScope=t=>{this.hueScopeNode=t};this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:i}=this;const n=t===s;const o=t==="rgb"?i.rgb:i.hsv;return e("calcite-tab-title",{class:h.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:n},o)};this.renderChannelsTab=t=>{const{isClearable:s,channelMode:i,channels:n,messages:o,alphaChannel:a}=this;const l=t===i;const c=t==="rgb";const r=c?[o.red,o.green,o.blue]:[o.hue,o.saturation,o.value];const u=N(this.el);const p=a?n:n.slice(0,3);return e("calcite-tab",{class:h.control,key:t,selected:l},e("div",{class:h.channels,dir:"ltr"},p.map(((t,e)=>{const i=e===3;if(i){t=s&&!t?t:d(t)}return this.renderChannel(t,e,r[e],u,i?"%":"")}))))};this.renderChannel=(t,s,i,n,o)=>e("calcite-input-number",{class:h.channel,"data-channel-index":s,dir:n,key:s,label:i,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onCalciteInternalInputNumberBlur:this.handleChannelBlur,onCalciteInternalInputNumberFocus:this.handleChannelFocus,onKeyDown:this.handleKeyDown,scale:this.scale==="l"?"m":"s",style:{marginLeft:s>0&&!(this.scale==="s"&&this.alphaChannel&&s===3)?"-1px":""},suffixText:o,value:t?.toString()});this.deleteColor=()=>{const t=l(this.color,this.alphaChannel);const s=this.savedColors.indexOf(t)>-1;if(!s){return}const e=this.savedColors.filter((s=>s!==t));this.savedColors=e;const i=`${I}${this.storageId}`;if(this.storageId){localStorage.setItem(i,JSON.stringify(e))}};this.saveColor=()=>{const t=l(this.color,this.alphaChannel);const s=this.savedColors.indexOf(t)>-1;if(s){return}const e=[...this.savedColors,t];this.savedColors=e;const i=`${I}${this.storageId}`;if(this.storageId){localStorage.setItem(i,JSON.stringify(e))}};this.drawColorControls=st(((t="all")=>{if((t==="all"||t==="color-field")&&this.colorFieldRenderingContext){this.drawColorField()}if((t==="all"||t==="hue-slider")&&this.hueSliderRenderingContext){this.drawHueSlider()}if(this.alphaChannel&&(t==="all"||t==="opacity-slider")&&this.opacitySliderRenderingContext){this.drawOpacitySlider()}}),nt);this.captureColorFieldColor=(t,s,e=true)=>{const{dimensions:{colorField:{height:i,width:n}}}=this;const o=Math.round(y.s/n*t);const a=Math.round(y.v/i*(i-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(o).value(a),e)};this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d");this.updateCanvasSize("color-field");this.drawColorControls()};this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d");this.updateCanvasSize("hue-slider");this.drawHueSlider()};this.initOpacitySlider=t=>{if(!t){return}this.opacitySliderRenderingContext=t.getContext("2d");this.updateCanvasSize("opacity-slider");this.drawOpacitySlider()};this.storeOpacityScope=t=>{this.opacityScopeNode=t};this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1;const{key:e}=t;const i={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(i[e]){t.preventDefault();const n=i[e]*s;const o=this.baseColorFieldColor.alpha();const a=this.baseColorFieldColor.alpha(o+n);this.internalColorSet(a,false)}};this.allowEmpty=false;this.alphaChannel=false;this.channelsDisabled=false;this.clearable=false;this.color=u;this.disabled=false;this.format="auto";this.hideChannels=false;this.hexDisabled=false;this.hideHex=false;this.hideSaved=false;this.savedDisabled=false;this.scale="m";this.storageId=undefined;this.messageOverrides=undefined;this.numberingSystem=undefined;this.value=a(l(u,this.alphaChannel));this.channelMode="rgb";this.channels=this.toChannels(u);this.defaultMessages=undefined;this.dimensions=p.m;this.effectiveLocale="";this.messages=undefined;this.savedColors=[];this.colorFieldScopeTop=undefined;this.colorFieldScopeLeft=undefined;this.hueScopeLeft=undefined;this.opacityScopeLeft=undefined;this.scopeOrientation=undefined}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(t){const{format:s}=this;if(t&&s!=="auto"&&!f(s)){console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`);this.alphaChannel=false}}handleAlphaChannelDimensionsChange(){this.effectiveSliderWidth=b(this.dimensions,this.alphaChannel);this.drawColorControls()}handleColorChange(t,s){this.drawColorControls();this.updateChannelsFromColor(t);this.previousColor=s}handleFormatOrAlphaChannelChange(){this.setMode(this.format);this.internalColorSet(this.color,false,"internal")}handleScaleChange(t="m"){this.updateDimensions(t);this.updateCanvasSize("all");this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{isClearable:e,format:i}=this;const n=!e||t;let o=false;if(n){const e=m(t);if(!e||i!=="auto"&&e!==i){this.showIncompatibleColorWarning(t,i);this.value=s;return}o=this.mode!==e;this.setMode(e,this.internalColorUpdateContext===null)}const a=this.activeCanvasInfo;if(this.internalColorUpdateContext==="initial"){return}if(this.internalColorUpdateContext==="user-interaction"){this.calciteColorPickerInput.emit();if(!a){this.calciteColorPickerChange.emit()}return}const l=e&&!t?null:c(t!=null&&typeof t==="object"&&f(this.mode)?g(t):t);const r=!w(l,this.color);if(o||r){this.internalColorSet(l,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}}get baseColorFieldColor(){return this.color||this.previousColor||u}effectiveLocaleChange(){Y(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if(s!=="ArrowUp"&&s!=="ArrowDown"||!t.composedPath().some((t=>t.classList?.contains(h.channel)))){return}const{shiftKey:e}=t;t.preventDefault();if(!this.color){this.internalColorSet(this.previousColor);t.stopPropagation();return}const i=9;this.shiftKeyChannelAdjustment=s==="ArrowUp"&&e?i:s==="ArrowDown"&&e?-i:0;if(s==="ArrowUp"){this.upOrDownArrowKeyTracker="up"}if(s==="ArrowDown"){this.upOrDownArrowKeyTracker="down"}}getChannelInputLimit(t){return this.channelMode==="rgb"?x[Object.keys(x)[t]]:y[Object.keys(y)[t]]}focusScope(t){requestAnimationFrame((()=>{t.focus()}))}handleCanvasControlPointerDown(t,s,e,i){if(!L(t)){return}window.addEventListener("pointermove",this.globalPointerMoveHandler);window.addEventListener("pointerup",this.globalPointerUpHandler,{once:true});this.activeCanvasInfo={context:s,bounds:s.canvas.getBoundingClientRect()};e.call(this,t.offsetX,t.offsetY);this.focusScope(i)}async setFocus(){await B(this);K(this.el)}async componentWillLoad(){V(this);this.handleAllowEmptyOrClearableChange();this.handleAlphaChannelDimensionsChange();const{isClearable:t,color:s,format:e,value:i}=this;const n=t&&!i;const o=m(i);const a=n||e==="auto"&&o||e===o;const l=n?null:a?c(i):s;if(!a){this.showIncompatibleColorWarning(i,e)}this.setMode(e,false);this.internalColorSet(l,false,"initial");this.updateDimensions(this.scale);const r=`${I}${this.storageId}`;if(this.storageId&&localStorage.getItem(r)){this.savedColors=JSON.parse(localStorage.getItem(r))}await Q(this)}connectedCallback(){U(this);R(this);Z(this)}componentDidLoad(){q(this)}disconnectedCallback(){window.removeEventListener("pointermove",this.globalPointerMoveHandler);window.removeEventListener("pointerup",this.globalPointerUpHandler);E(this);W(this);tt(this)}componentDidRender(){M(this)}render(){const{channelsDisabled:t,color:s,colorFieldScopeLeft:i,colorFieldScopeTop:n,dimensions:{thumb:{radius:o}},hexDisabled:a,hideChannels:c,hideHex:r,hideSaved:p,hueScopeLeft:f,messages:b,alphaChannel:m,opacityScopeLeft:g,savedColors:w,savedDisabled:x,scale:v,scopeOrientation:k}=this;const A=this.effectiveSliderWidth;const S=s?l(s,m):null;const I=o;const z=f??A*u.hue()/y.h;const D=o;const $=g??A*d(u.alpha())/C.max;const F=s===null;const j=k==="vertical";const O=a||r;const L=t||c;const N=x||p;const[K,T]=this.getAdjustedScopePosition(i,n);const[P,U]=this.getAdjustedScopePosition(z,I);const[E,M]=this.getAdjustedScopePosition($,D);return e(H,{key:"cd7c2469429382b1adee89c87c4774160795203c",disabled:this.disabled},e("div",{key:"dd6809c82d3ffe64b8eaebd0669e7f61c0ea87d1",class:h.container},e("div",{key:"888c08c46fec112861b076c3cf24b9be7b4a66cd",class:h.controlAndScope},e("canvas",{key:"23631c824c61abb2a3ca74e35bffc8be0364a052",class:h.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),e("div",{key:"a5271bbe3c4f45e3cf7736dd8f4201f54420bfb7","aria-label":j?b.value:b.saturation,"aria-valuemax":j?y.v:y.s,"aria-valuemin":"0","aria-valuenow":(j?s?.saturationv():s?.value())||"0",class:{[h.scope]:true,[h.colorFieldScope]:true},onKeyDown:this.handleColorFieldScopeKeyDown,ref:this.storeColorFieldScope,role:"slider",style:{top:`${T||0}px`,left:`${K||0}px`},tabindex:"0"})),e("div",{key:"eee6c10107513fd46316d2ba7510977b72771cd2",class:h.previewAndSliders},e("calcite-color-picker-swatch",{key:"964481e1c6c6c050df076e8cdc9d7e5b2cbeec79",class:h.preview,color:S,scale:this.alphaChannel?"l":this.scale}),e("div",{key:"f915032fe532e140005b0ff1253b0a971a17b079",class:h.sliders},e("div",{key:"2bcb609ce36df2d0f75abb767ee6dc88c0c9ea3b",class:h.controlAndScope},e("canvas",{key:"99e268a194b785a8ec97fed67a523c602def2a94",class:{[h.slider]:true,[h.hueSlider]:true},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),e("div",{key:"4cdc0f98048a48e070430bf4f1f817571534f31b","aria-label":b.hue,"aria-valuemax":y.h,"aria-valuemin":"0","aria-valuenow":s?.round().hue()||u.round().hue(),class:{[h.scope]:true,[h.hueScope]:true},onKeyDown:this.handleHueScopeKeyDown,ref:this.storeHueScope,role:"slider",style:{top:`${U}px`,left:`${P}px`},tabindex:"0"})),m?e("div",{class:h.controlAndScope},e("canvas",{class:{[h.slider]:true,[h.opacitySlider]:true},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),e("div",{"aria-label":b.opacity,"aria-valuemax":C.max,"aria-valuemin":C.min,"aria-valuenow":(s||u).round().alpha(),class:{[h.scope]:true,[h.opacityScope]:true},onKeyDown:this.handleOpacityScopeKeyDown,ref:this.storeOpacityScope,role:"slider",style:{top:`${M}px`,left:`${E}px`},tabindex:"0"})):null)),O&&L?null:e("div",{class:{[h.controlSection]:true,[h.section]:true}},e("div",{class:h.hexAndChannelsGroup},O?null:e("div",{class:h.hexOptions},e("calcite-color-picker-hex-input",{allowEmpty:this.isClearable,alphaChannel:m,class:h.control,messages:b,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:v,value:S})),L?null:e("calcite-tabs",{class:{[h.colorModeContainer]:true,[h.splitSection]:true},scale:v==="l"?"m":"s"},e("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),N?null:e("div",{class:{[h.savedColorsSection]:true,[h.section]:true}},e("div",{class:h.header},e("label",null,b.saved),e("div",{class:h.savedColorsButtons},e("calcite-button",{appearance:"transparent",class:h.deleteColor,disabled:F,iconStart:"minus",kind:"neutral",label:b.deleteColor,onClick:this.deleteColor,scale:v,type:"button"}),e("calcite-button",{appearance:"transparent",class:h.saveColor,disabled:F,iconStart:"plus",kind:"neutral",label:b.saveColor,onClick:this.saveColor,scale:v,type:"button"}))),w.length>0?e("div",{class:h.savedColors},[...w.map((t=>e("calcite-color-picker-swatch",{class:h.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:v,tabIndex:0})))]):null)))}handleKeyDown(t){if(t.key==="Enter"){t.preventDefault()}}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=true){const e=t==="auto"?this.mode:t;this.mode=this.ensureCompatibleMode(e,s)}ensureCompatibleMode(t,s){const{alphaChannel:e}=this;const i=f(t);if(e&&!i){const e=z(t);if(s){console.warn(`setting format to (${e}) as the provided one (${t}) does not support alpha`)}return e}if(!e&&i){const e=v(t);if(s){console.warn(`setting format to (${e}) as the provided one (${t}) does not support alpha`)}return e}return t}captureHueSliderColor(t){const s=A/this.effectiveSliderWidth*t;this.internalColorSet(this.baseColorFieldColor.hue(s),false)}captureOpacitySliderValue(t){const s=r(C.max/this.effectiveSliderWidth*t);this.internalColorSet(this.baseColorFieldColor.alpha(s),false)}internalColorSet(t,s=true,e="user-interaction"){if(s&&w(t,this.color)){return}this.internalColorUpdateContext=e;this.color=t;this.value=this.toValue(t);this.internalColorUpdateContext=null}toValue(t,s=this.mode){if(!t){return null}const e="hex";if(s.includes(e)){const e=s===o.HEXA;return a(l(t.round(),e),e)}if(s.includes("-css")){const e=t[s.replace("-css","").replace("a","")]().round().string();const i=(s.endsWith("a")||s.endsWith("a-css"))&&t.alpha()===1;if(i){const s=e.slice(0,3);const i=e.slice(4,-1);return`${s}a(${i}, ${t.alpha()})`}return e}const i=t[v(s)]().round().object();if(s.endsWith("a")){return k(i)}return i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return s*2-t}updateDimensions(t="m"){this.dimensions=p[t]}drawColorField(){const t=this.colorFieldRenderingContext;const{dimensions:{colorField:{height:s,width:e}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string();t.fillRect(0,0,e,s);const i=t.createLinearGradient(0,0,e,0);i.addColorStop(0,"rgba(255,255,255,1)");i.addColorStop(1,"rgba(255,255,255,0)");t.fillStyle=i;t.fillRect(0,0,e,s);const n=t.createLinearGradient(0,0,0,s);n.addColorStop(0,"rgba(0,0,0,0)");n.addColorStop(1,"rgba(0,0,0,1)");t.fillStyle=n;t.fillRect(0,0,e,s);this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:e}){if(!t){return}const i=window.devicePixelRatio||1;t.width=e*i;t.height=s*i;t.style.height=`${s}px`;t.style.width=`${e}px`;const n=t.getContext("2d");n.scale(i,i)}updateCanvasSize(t="all"){const{dimensions:s}=this;if(t==="all"||t==="color-field"){this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,s.colorField)}const e={width:this.effectiveSliderWidth,height:s.slider.height+(s.thumb.radius-s.slider.height/2)*2};if(t==="all"||t==="hue-slider"){this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,e)}if(t==="all"||t==="opacity-slider"){this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,e)}}drawActiveColorFieldColor(){const{color:t}=this;if(!t){return}const s=t.hsv();const{dimensions:{colorField:{height:e,width:i},thumb:{radius:n}}}=this;const o=s.saturationv()/(y.s/i);const a=e-s.value()/(y.v/e);requestAnimationFrame((()=>{this.colorFieldScopeLeft=o;this.colorFieldScopeTop=a}));this.drawThumb(this.colorFieldRenderingContext,n,o,a,s,false)}drawThumb(t,s,e,i,n,o){const a=0;const l=2*Math.PI;const c=1;t.beginPath();t.arc(e,i,s,a,l);t.fillStyle="#fff";t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=c;t.stroke();if(o&&n.alpha()<1){const n=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.beginPath();t.arc(e,i,s-3,a,l);t.fillStyle=n;t.fill()}t.globalCompositeOperation="source-atop";t.beginPath();t.arc(e,i,s-3,a,l);const r=o?n.alpha():1;t.fillStyle=n.rgb().alpha(r).string();t.fill();t.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){const{color:t}=this;if(!t){return}const s=t.hsv().saturationv(100).value(100);const{dimensions:{thumb:{radius:e}}}=this;const i=this.effectiveSliderWidth;const n=s.hue()/(A/i);const o=e;const a=this.getSliderBoundX(n,i,e);requestAnimationFrame((()=>{this.hueScopeLeft=a}));this.drawThumb(this.hueSliderRenderingContext,e,a,o,s,false)}drawHueSlider(){const t=this.hueSliderRenderingContext;const{dimensions:{slider:{height:s},thumb:{radius:e}}}=this;const i=0;const n=e-s/2;const o=this.effectiveSliderWidth;const a=t.createLinearGradient(0,0,o,0);const l=["red","yellow","lime","cyan","blue","magenta","#ff0004"];const r=1/(l.length-1);let h=0;l.forEach((t=>{a.addColorStop(h,c(t).string());h+=r}));t.clearRect(0,0,o,s+this.getSliderCapSpacing()*2);this.drawSliderPath(t,s,o,i,n);t.fillStyle=a;t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=1;t.stroke();this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext;const{baseColorFieldColor:s,dimensions:{slider:{height:e},thumb:{radius:i}}}=this;const n=0;const o=i-e/2;const a=this.effectiveSliderWidth;t.clearRect(0,0,a,e+this.getSliderCapSpacing()*2);const l=t.createLinearGradient(0,o,a,0);const c=s.rgb().alpha(0);const r=s.rgb().alpha(.5);const h=s.rgb().alpha(1);l.addColorStop(0,c.string());l.addColorStop(.5,r.string());l.addColorStop(1,h.string());this.drawSliderPath(t,e,a,n,o);const d=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=d;t.fill();t.fillStyle=l;t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=1;t.stroke();this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,e,i,n){const o=s/2+1;t.beginPath();t.moveTo(i+o,n);t.lineTo(i+e-o,n);t.quadraticCurveTo(i+e,n,i+e,n+o);t.lineTo(i+e,n+s-o);t.quadraticCurveTo(i+e,n+s,i+e-o,n+s);t.lineTo(i+o,n+s);t.quadraticCurveTo(i,n+s,i,n+s-o);t.lineTo(i,n+o);t.quadraticCurveTo(i,n,i+o,n);t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern){return this.checkerPattern}const t=document.createElement("canvas");t.width=10;t.height=10;const s=t.getContext("2d");s.fillStyle="#ccc";s.fillRect(0,0,10,10);s.fillStyle="#fff";s.fillRect(0,0,5,5);s.fillRect(5,5,5,5);this.checkerPattern=t;return t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t){return}const s=t;const{dimensions:{thumb:{radius:e}}}=this;const i=this.effectiveSliderWidth;const n=d(s.alpha())/(C.max/i);const o=e;const a=this.getSliderBoundX(n,i,e);requestAnimationFrame((()=>{this.opacityScopeLeft=a}));this.drawThumb(this.opacitySliderRenderingContext,e,a,o,s,true)}getSliderBoundX(t,s,e){const i=G(t,s,e);return i===0?t:i===-1?J(t,0,s,e,e*2):J(t,0,s,s-e*2,s-e)}updateColorFromChannels(t){this.internalColorSet(c(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this;const e=t[s]().array().map(((t,s)=>{const e=s===3;return e?t:Math.floor(t)}));if(e.length===3){e.push(1)}return e}getAdjustedScopePosition(t,s){return[t-S/2,s-S/2]}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{allowEmpty:["handleAllowEmptyOrClearableChange"],clearable:["handleAllowEmptyOrClearableChange"],alphaChannel:["handleAlphaChannelChange","handleAlphaChannelDimensionsChange","handleFormatOrAlphaChannelChange"],dimensions:["handleAlphaChannelDimensionsChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};ot.style=it;const at={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"};const lt=":host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:68px;margin-inline-start:-1px}:host([scale=s]) .container{flex-wrap:wrap;row-gap:0.125rem}:host([scale=s]) .opacity-input{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .opacity-input{inline-size:88px}:host([hidden]){display:none}[hidden]{display:none}";const ct=lt;const rt=c();const ht=class{constructor(e){t(this,e);this.calciteColorPickerHexInputChange=s(this,"calciteColorPickerHexInputChange",6);this.onHexInputBlur=()=>{const t=this.hexInputNode;const s=t.value;const e=`#${s}`;const{allowEmpty:i,internalColor:n}=this;const o=i&&!s;const a=D(e);if($(e,this.alphaChannel)){this.onHexInputChange()}if(o||F(e)&&a){return}t.value=i&&!n?"":this.formatHexForInternalInput(j(n.object()))};this.onOpacityInputBlur=()=>{const t=this.opacityInputNode;const s=t.value;const{allowEmpty:e,internalColor:i}=this;const n=e&&!s;if(n){return}t.value=e&&!i?"":this.formatOpacityForInternalInput(i)};this.onOpacityInputInput=()=>{this.onOpacityInputChange()};this.onHexInputChange=()=>{const t=this.hexInputNode.value;let s=t;if(s){const t=a(s,false);const e=F(t)&&this.alphaChannel;if(e&&this.internalColor){const e=a(this.internalColor.hexa(),true).slice(-2);s=`${t+e}`}}this.internalSetValue(s,this.value)};this.onOpacityInputChange=()=>{const t=this.opacityInputNode;let s;if(!t.value){s=t.value}else{const e=r(Number(t.value));s=this.internalColor?.alpha(e).hexa()}this.internalSetValue(s,this.value)};this.onInputFocus=t=>{t.type==="calciteInternalInputTextFocus"?this.hexInputNode.selectText():this.opacityInputNode.selectText()};this.onHexInputInput=()=>{const t=`#${this.hexInputNode.value}`;const s=this.value;if(F(t,this.alphaChannel)&&D(t,this.alphaChannel)){this.internalSetValue(t,s)}};this.onInputKeyDown=t=>{const{altKey:s,ctrlKey:e,metaKey:i,shiftKey:n}=t;const{alphaChannel:o,hexInputNode:a,internalColor:c,value:r}=this;const{key:h}=t;const d=t.composedPath();if(h==="Tab"&&$(r,this.alphaChannel)||h==="Enter"){if(d.includes(a)){this.onHexInputChange()}else{this.onOpacityInputChange()}if(h==="Enter"){t.preventDefault()}return}const u=h==="ArrowDown"||h==="ArrowUp";const p=this.value;if(u){if(!r){this.internalSetValue(this.previousNonNullValue,p);t.preventDefault();return}const s=h==="ArrowUp"?1:-1;const e=n?10:1;this.internalSetValue(l(this.nudgeRGBChannels(c,e*s,d.includes(a)?"rgb":"a"),o),p);t.preventDefault();return}const f=s||e||i;const b=h.length===1;const m=O.test(h);if(b&&!f&&!m){t.preventDefault()}};this.onHexInputPaste=t=>{const s=t.clipboardData.getData("text");if(F(s,this.alphaChannel)&&D(s,this.alphaChannel)){t.preventDefault();this.hexInputNode.value=s.slice(1);this.internalSetValue(s,this.value)}};this.previousNonNullValue=this.value;this.storeHexInputRef=t=>{this.hexInputNode=t};this.storeOpacityInputRef=t=>{this.opacityInputNode=t};this.allowEmpty=false;this.alphaChannel=false;this.hexLabel="Hex";this.messages=undefined;this.numberingSystem=undefined;this.scale="m";this.value=a(l(rt,this.alphaChannel),this.alphaChannel,true);this.internalColor=rt}connectedCallback(){const{allowEmpty:t,alphaChannel:s,value:e}=this;if(e){const t=a(e,s);if(F(t,s)){this.internalSetValue(t,t,false)}return}if(t){this.internalSetValue(null,null,false)}}componentWillLoad(){V(this)}componentDidLoad(){q(this)}handleValueChange(t,s){this.internalSetValue(t,s,false)}render(){const{alphaChannel:t,hexLabel:s,internalColor:i,messages:n,scale:o,value:a}=this;const l=this.formatHexForInternalInput(a);const c=this.formatOpacityForInternalInput(i);const r=o==="l"?"m":"s";return e("div",{key:"7f3098ef31cae459bb4816fbea34cc74c174ec87",class:at.container},e("calcite-input-text",{key:"66b3c778e3340ac4f9b91c4198b964c26c6a7347",class:at.hexInput,label:n?.hex||s,maxLength:this.alphaChannel?8:6,onCalciteInputTextChange:this.onHexInputChange,onCalciteInputTextInput:this.onHexInputInput,onCalciteInternalInputTextBlur:this.onHexInputBlur,onCalciteInternalInputTextFocus:this.onInputFocus,onKeyDown:this.onInputKeyDown,onPaste:this.onHexInputPaste,prefixText:"#",ref:this.storeHexInputRef,scale:r,value:l}),t?e("calcite-input-number",{class:at.opacityInput,key:"opacity-input",label:n?.opacity,max:C.max,maxLength:3,min:C.min,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberInput:this.onOpacityInputInput,onCalciteInternalInputNumberBlur:this.onOpacityInputBlur,onCalciteInternalInputNumberFocus:this.onInputFocus,onKeyDown:this.onInputKeyDown,ref:this.storeOpacityInputRef,scale:r,suffixText:"%",value:c}):null)}async setFocus(){await B(this);return T(this.hexInputNode)}internalSetValue(t,s,e=true){if(t){const{alphaChannel:s}=this;const i=a(t,s,s);if(F(i,s)){const{internalColor:t}=this;const n=c(i);const o=a(l(n,s),s);const r=!t||o!==a(l(t,s),s);this.internalColor=n;this.previousNonNullValue=o;this.value=o;if(r&&e){this.calciteColorPickerHexInputChange.emit()}return}}else if(this.allowEmpty){this.internalColor=null;this.value=null;if(e){this.calciteColorPickerHexInputChange.emit()}return}this.value=s}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${d(t.alpha())}`:""}nudgeRGBChannels(t,s,e){let i;const n=t.array();const o=n.slice(0,3);if(e==="rgb"){const t=o.map((t=>t+s));i=[...t,this.alphaChannel?n[3]:undefined]}else{const e=r(d(t.alpha())+s);i=[...o,e]}return c(i)}get el(){return i(this)}static get watchers(){return{value:["handleValueChange"]}}};ht.style=ct;const dt={swatch:"swatch",noColorSwatch:"swatch--no-color",checker:"checker"};const ut={borderLight:"rgba(0, 0, 0, 0.3)",borderDark:"rgba(255, 255, 255, 0.15)"};const pt=4;const ft={squareSize:pt,size:pt*2};const bt=":host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.swatch--no-color rect{fill:var(--calcite-color-foreground-1)}.swatch--no-color line{stroke:var(--calcite-color-status-danger)}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}";const mt=bt;const gt=class{constructor(s){t(this,s);this.active=false;this.color=undefined;this.scale="m"}handleColorChange(t){this.internalColor=t?c(t):null}componentWillLoad(){this.handleColorChange(this.color)}render(){const t=!this.internalColor;const s={[dt.swatch]:true,[dt.noColorSwatch]:t};return e("svg",{key:"b29377be8ce0518f7b0f3691dcb1dda08890dd94",class:s,xmlns:"http://www.w3.org/2000/svg"},this.renderSwatch())}renderSwatch(){const{active:t,el:s,internalColor:i}=this;const o=t?"100%":"0";const a=P(s);const c=a==="light"?ut.borderLight:ut.borderDark;const r={height:"100%",rx:o,stroke:c,["stroke-width"]:"2",width:"100%"};const h=!i;if(h){return e(n,null,e("clipPath",{id:"shape"},e("rect",{height:"100%",rx:o,width:"100%"})),e("rect",{"clip-path":`inset(0 round ${o})`,rx:o,...r}),e("line",{"clip-path":"url(#shape)","stroke-width":"3",x1:"100%",x2:"0",y1:"0",y2:"100%"}))}const d=i.alpha();const u=l(i);const p=l(i,d<1);return e(n,null,e("title",null,p),e("defs",null,e("pattern",{height:ft.size,id:"checker",patternUnits:"userSpaceOnUse",width:ft.size,x:"0",y:"0"},e("rect",{class:dt.checker,height:ft.squareSize,width:ft.squareSize,x:"0",y:"0"}),e("rect",{class:dt.checker,height:ft.squareSize,width:ft.squareSize,x:ft.squareSize,y:ft.squareSize}))),e("rect",{fill:"url(#checker)",height:"100%",rx:o,width:"100%"}),e("rect",{fill:u,style:{"clip-path":d<1?"polygon(100% 0, 0 0, 0 100%)":`inset(0 round ${o})`},...r}),d<1?e("rect",{fill:p,key:"opacity-fill",style:{"clip-path":"polygon(100% 0, 100% 100%, 0 100%)"},...r}):null)}get el(){return i(this)}static get watchers(){return{color:["handleColorChange"]}}};gt.style=mt;export{ot as calcite_color_picker,ht as calcite_color_picker_hex_input,gt as calcite_color_picker_swatch};
7
- //# sourceMappingURL=p-68099e3d.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["colorPickerCss","CalciteColorPickerStyle0","throttleFor60FpsInMs","ColorPicker","this","internalColorUpdateContext","isActiveChannelInputEmpty","mode","CSSColorMode","HEX","shiftKeyChannelAdjustment","upOrDownArrowKeyTracker","handleTabActivate","event","channelMode","currentTarget","getAttribute","updateChannelsFromColor","color","handleColorFieldScopeKeyDown","key","arrowKeyToXYOffset","ArrowUp","x","y","ArrowRight","ArrowDown","ArrowLeft","preventDefault","scopeOrientation","captureColorFieldColor","colorFieldScopeLeft","colorFieldScopeTop","handleHueScopeKeyDown","modifier","shiftKey","arrowKeyToXOffset","delta","hue","baseColorFieldColor","internalColorSet","handleHexInputChange","stopPropagation","isClearable","input","target","hex","value","normalizedHex","normalizeHex","hexify","alphaCompatible","Color","handleSavedColorSelect","swatch","handleChannelInput","channelIndex","Number","isAlphaChannel","limit","OPACITY_LIMITS","max","RGB_LIMITS","Object","keys","HSV_LIMITS","inputValue","adjustedValue","clamped","clamp","toString","handleChannelChange","handleChannelBlur","channels","restoreValueDueToEmptyInput","handleChannelFocus","selectText","shouldClearChannels","getChannelInputLimit","opacityToAlpha","updateColorFromChannels","handleSavedColorKeyDown","isActivationKey","handleColorFieldPointerDown","handleCanvasControlPointerDown","colorFieldRenderingContext","colorFieldScopeNode","handleHueSliderPointerDown","hueSliderRenderingContext","captureHueSliderColor","hueScopeNode","handleOpacitySliderPointerDown","opacitySliderRenderingContext","captureOpacitySliderValue","opacityScopeNode","globalPointerUpHandler","isPrimaryPointerButton","previouslyDragging","activeCanvasInfo","drawColorControls","calciteColorPickerChange","emit","globalPointerMoveHandler","el","isConnected","context","bounds","samplingX","samplingY","clientX","clientY","canvas","matches","width","height","storeColorFieldScope","node","storeHueScope","renderChannelsTabTitle","activeChannelMode","messages","selected","label","rgb","hsv","h","class","CSS","colorMode","onCalciteTabsActivate","renderChannelsTab","alphaChannel","isRgb","channelAriaLabels","red","green","blue","saturation","direction","getElementDir","channelsToRender","slice","control","dir","map","channelValue","index","alphaToOpacity","renderChannel","ariaLabel","suffix","channel","lang","effectiveLocale","numberButtonType","numberingSystem","onCalciteInputNumberChange","onCalciteInputNumberInput","onCalciteInternalInputNumberBlur","onCalciteInternalInputNumberFocus","onKeyDown","handleKeyDown","scale","style","marginLeft","suffixText","deleteColor","colorToDelete","inStorage","savedColors","indexOf","filter","storageKey","DEFAULT_STORAGE_KEY_PREFIX","storageId","localStorage","setItem","JSON","stringify","saveColor","colorToSave","alreadySaved","throttle","type","drawColorField","drawHueSlider","drawOpacitySlider","skipEqual","dimensions","colorField","Math","round","s","v","saturationv","initColorField","getContext","updateCanvasSize","initHueSlider","initOpacitySlider","storeOpacityScope","handleOpacityScopeKeyDown","alpha","DEFAULT_COLOR","toChannels","DIMENSIONS","m","handleAllowEmptyOrClearableChange","clearable","allowEmpty","handleAlphaChannelChange","format","console","warn","handleAlphaChannelDimensionsChange","effectiveSliderWidth","getSliderWidth","handleColorChange","oldColor","previousColor","handleFormatOrAlphaChannelChange","setMode","handleScaleChange","updateDimensions","onMessagesChange","handleValueChange","oldValue","checkMode","modeChanged","nextMode","parseMode","showIncompatibleColorWarning","dragging","calciteColorPickerInput","normalizeColor","colorChanged","colorEqual","endsWith","effectiveLocaleChange","updateMessages","handleChannelKeyUpOrDown","composedPath","some","classList","contains","complementaryBump","focusScope","focusEl","requestAnimationFrame","focus","renderingContext","captureValue","scopeNode","window","addEventListener","once","getBoundingClientRect","call","offsetX","offsetY","setFocus","componentFocusable","focusFirstTabbable","componentWillLoad","setUpLoadableComponent","willSetNoColor","parsedMode","valueIsCompatible","initialColor","getItem","parse","setUpMessages","connectedCallback","connectInteractive","connectLocalized","connectMessages","componentDidLoad","setComponentLoaded","disconnectedCallback","removeEventListener","disconnectInteractive","disconnectLocalized","disconnectMessages","componentDidRender","updateHostInteraction","render","channelsDisabled","thumb","radius","thumbRadius","hexDisabled","hideChannels","hideHex","hideSaved","hueScopeLeft","opacityScopeLeft","savedDisabled","sliderWidth","selectedColorInHex","hueTop","hueLeft","opacityTop","opacityLeft","noColor","vertical","noHex","noChannels","noSaved","adjustedColorFieldScopeLeft","adjustedColorFieldScopeTop","getAdjustedScopePosition","adjustedHueScopeLeft","adjustedHueScopeTop","adjustedOpacityScopeLeft","adjustedOpacityScopeTop","InteractiveContainer","disabled","container","controlAndScope","onPointerDown","ref","scope","colorFieldScope","role","top","left","tabindex","previewAndSliders","preview","sliders","slider","hueSlider","hueScope","opacitySlider","opacity","min","opacityScope","controlSection","section","hexAndChannelsGroup","hexOptions","onCalciteColorPickerHexInputChange","colorModeContainer","splitSection","slot","savedColorsSection","header","saved","savedColorsButtons","appearance","iconStart","kind","onClick","length","savedColor","tabIndex","ensureCompatibleMode","isAlphaCompatible","alphaMode","toAlphaMode","nonAlphaMode","toNonAlphaMode","HUE_LIMIT_CONSTRAINED","toValue","hexMode","includes","hasAlpha","HEXA","replace","string","needToInjectAlpha","model","values","colorObject","object","normalizeAlpha","getSliderCapSpacing","fillStyle","fillRect","whiteGradient","createLinearGradient","addColorStop","blackGradient","drawActiveColorFieldColor","setCanvasContextSize","devicePixelRatio","adjustedSliderDimensions","hsvColor","drawThumb","applyAlpha","startAngle","endAngle","PI","outlineWidth","beginPath","arc","fill","strokeStyle","lineWidth","stroke","pattern","createPattern","getCheckeredBackgroundPattern","globalCompositeOperation","drawActiveHueSliderColor","sliderBoundX","getSliderBoundX","gradient","hueSliderColorStopKeywords","offset","currentOffset","forEach","keyword","clearRect","drawSliderPath","startColor","midColor","endColor","drawActiveOpacitySliderColor","moveTo","lineTo","quadraticCurveTo","closePath","checkerPattern","document","createElement","patternContext","closeToEdge","closeToRangeEdge","remap","array","isAlpha","floor","push","SCOPE_SIZE","hexInput","opacityInput","colorPickerHexInputCss","CalciteColorPickerHexInputStyle0","ColorPickerHexInput","onHexInputBlur","hexInputNode","internalColor","willClearValue","isLonghand","isLonghandHex","isShorthandHex","onHexInputChange","isValidHex","formatHexForInternalInput","rgbToHex","onOpacityInputBlur","opacityInputNode","formatOpacityForInternalInput","onOpacityInputInput","onOpacityInputChange","nodeValue","normalized","preserveExistingAlpha","alphaHex","hexa","internalSetValue","onInputFocus","onHexInputInput","hexInputValue","onInputKeyDown","altKey","ctrlKey","metaKey","isNudgeKey","previousNonNullValue","bump","nudgeRGBChannels","withModifiers","singleChar","validHexChar","hexChar","test","onHexInputPaste","clipboardData","getData","storeHexInputRef","storeOpacityInputRef","hexLabel","opacityInputValue","inputScale","maxLength","onCalciteInputTextChange","onCalciteInputTextInput","onCalciteInternalInputTextBlur","onCalciteInternalInputTextFocus","onPaste","prefixText","focusElement","currentColor","nextColor","normalizedLonghand","changed","calciteColorPickerHexInputChange","amount","nudgedChannels","rgbChannels","nudgedRGBChannels","undefined","nudgedAlpha","noColorSwatch","checker","COLORS","borderLight","borderDark","checkerSquareSize","CHECKER_DIMENSIONS","squareSize","size","colorPickerSwatchCss","CalciteColorPickerSwatchStyle0","ColorPickerSwatch","isEmpty","classes","xmlns","renderSwatch","active","borderRadius","theme","getModeName","borderColor","commonSwatchProps","rx","Fragment","id","x1","x2","y1","y2","patternUnits"],"sources":["src/components/color-picker/color-picker.scss?tag=calcite-color-picker&encapsulation=shadow","src/components/color-picker/color-picker.tsx","src/components/color-picker-hex-input/resources.ts","src/components/color-picker-hex-input/color-picker-hex-input.scss?tag=calcite-color-picker-hex-input&encapsulation=shadow","src/components/color-picker-hex-input/color-picker-hex-input.tsx","src/components/color-picker-swatch/resources.ts","src/components/color-picker-swatch/color-picker-swatch.scss?tag=calcite-color-picker-swatch&encapsulation=shadow","src/components/color-picker-swatch/color-picker-swatch.tsx"],"sourcesContent":[":host {\n @apply text-n2h inline-block font-normal;\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n --calcite-color-picker-spacing: 8px;\n\n .container {\n inline-size: 160px;\n }\n\n .saved-colors {\n @apply gap-1;\n grid-template-columns: repeat(auto-fill, 20px);\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-color-picker-spacing: 12px;\n\n .container {\n inline-size: 272px;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-color-picker-spacing: 16px;\n\n @apply text-n1h;\n\n .container {\n inline-size: 464px;\n }\n\n .section {\n &:first-of-type {\n padding-block-start: var(--calcite-color-picker-spacing);\n }\n }\n\n .saved-colors {\n grid-template-columns: repeat(auto-fill, 32px);\n }\n\n .control-section {\n @apply flex-nowrap items-baseline;\n }\n\n .control-section {\n @apply flex-wrap;\n }\n\n .color-hex-options {\n @apply flex\n flex-shrink\n flex-col\n justify-around;\n }\n\n .color-mode-container {\n flex-shrink: 3;\n }\n}\n\n.container {\n @apply bg-foreground-1;\n display: inline-block;\n border: 1px solid var(--calcite-color-border-1);\n}\n\n.control-and-scope {\n @apply flex relative cursor-pointer touch-none;\n}\n\n.color-field,\n.control-and-scope {\n user-select: none;\n}\n\n.scope {\n @apply text-n1\n focus-base\n absolute\n z-default\n rounded-full\n bg-transparent\n w-px\n h-px\n pointer-events-none;\n &:focus {\n @apply focus-outset;\n outline-offset: 6px;\n }\n}\n\n.hex-and-channels-group {\n @apply w-full;\n}\n\n.hex-and-channels-group,\n.control-section {\n @apply flex flex-row flex-wrap;\n}\n\n.section {\n padding-block: 0 var(--calcite-color-picker-spacing);\n padding-inline: var(--calcite-color-picker-spacing);\n\n &:first-of-type {\n padding-block-start: var(--calcite-color-picker-spacing);\n }\n}\n\n.sliders {\n @apply flex flex-col justify-between;\n margin-inline-start: var(--calcite-color-picker-spacing);\n gap: var(--calcite-spacing-xxs);\n}\n\n.preview-and-sliders {\n @apply flex items-center;\n padding: var(--calcite-color-picker-spacing);\n}\n\n.color-hex-options,\n.section--split {\n flex-grow: 1;\n}\n\n.header {\n @apply text-color-1\n flex\n items-center\n justify-between;\n}\n\n.color-mode-container {\n padding-block-start: var(--calcite-color-picker-spacing);\n}\n\n.channels {\n @apply flex gap-y-0.5;\n}\n\n.channel {\n &[data-channel-index=\"3\"] {\n inline-size: 159px;\n }\n}\n\n:host([scale=\"s\"]) {\n .channels {\n @apply flex-wrap;\n }\n\n .channel {\n flex-basis: 30%;\n flex-grow: 1;\n\n &[data-channel-index=\"3\"] {\n inline-size: unset;\n margin-inline-start: unset;\n }\n }\n}\n\n:host([scale=\"l\"]) {\n .channel {\n &[data-channel-index=\"3\"] {\n inline-size: 131px;\n }\n }\n}\n\n.saved-colors {\n @apply grid gap-2;\n padding-block-start: var(--calcite-color-picker-spacing);\n grid-template-columns: repeat(auto-fill, 24px);\n}\n\n.saved-colors-buttons {\n display: flex;\n}\n\n.saved-color {\n @include focus-style-base();\n\n cursor: pointer;\n\n &:focus {\n @include focus-style-outset();\n }\n\n &:hover {\n transition: outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;\n outline: 2px solid var(--calcite-color-border-2);\n outline-offset: 2px;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport Color from \"color\";\nimport { throttle } from \"lodash-es\";\nimport {\n Direction,\n focusFirstTabbable,\n getElementDir,\n isPrimaryPointerButton,\n} from \"../../utils/dom\";\nimport { Scale } from \"../interfaces\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n connectLocalized,\n disconnectLocalized,\n LocalizedComponent,\n NumberingSystem,\n} from \"../../utils/locale\";\nimport { clamp, closeToRangeEdge, remap } from \"../../utils/math\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport {\n alphaCompatible,\n alphaToOpacity,\n colorEqual,\n CSSColorMode,\n Format,\n getSliderWidth,\n hexify,\n normalizeAlpha,\n normalizeColor,\n normalizeHex,\n opacityToAlpha,\n parseMode,\n SupportedMode,\n toAlphaMode,\n toNonAlphaMode,\n} from \"./utils\";\nimport {\n CSS,\n DEFAULT_COLOR,\n DEFAULT_STORAGE_KEY_PREFIX,\n DIMENSIONS,\n HSV_LIMITS,\n HUE_LIMIT_CONSTRAINED,\n OPACITY_LIMITS,\n RGB_LIMITS,\n SCOPE_SIZE,\n} from \"./resources\";\nimport { Channels, ColorMode, ColorValue, HSLA, HSVA, InternalColor, RGBA } from \"./interfaces\";\nimport { ColorPickerMessages } from \"./assets/color-picker/t9n\";\n\nconst throttleFor60FpsInMs = 16;\n\n@Component({\n tag: \"calcite-color-picker\",\n styleUrl: \"color-picker.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class ColorPicker\n implements InteractiveComponent, LoadableComponent, LocalizedComponent, T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, an empty color (`null`) will be allowed as a `value`.\n *\n * When `false`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`.\n *\n * @deprecated Use `clearable` instead\n */\n @Prop({ reflect: true }) allowEmpty = false;\n\n @Watch(\"allowEmpty\")\n @Watch(\"clearable\")\n handleAllowEmptyOrClearableChange(): void {\n this.isClearable = this.clearable || this.allowEmpty;\n }\n\n /**\n * When `true`, the component will allow updates to the color's alpha value.\n */\n @Prop() alphaChannel = false;\n\n @Watch(\"alphaChannel\")\n handleAlphaChannelChange(alphaChannel: boolean): void {\n const { format } = this;\n\n if (alphaChannel && format !== \"auto\" && !alphaCompatible(format)) {\n console.warn(\n `ignoring alphaChannel as the current format (${format}) does not support alpha`,\n );\n this.alphaChannel = false;\n }\n }\n\n @Watch(\"alphaChannel\")\n @Watch(\"dimensions\")\n handleAlphaChannelDimensionsChange(): void {\n this.effectiveSliderWidth = getSliderWidth(this.dimensions, this.alphaChannel);\n this.drawColorControls();\n }\n\n /** When `true`, hides the RGB/HSV channel inputs. */\n @Prop() channelsDisabled = false;\n\n /**\n * When `true`, an empty color (`null`) will be allowed as a `value`.\n *\n * When `false`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`.\n */\n @Prop({ reflect: true }) clearable = false;\n\n /**\n * Internal prop for advanced use-cases.\n *\n * @internal\n */\n @Prop({ mutable: true }) color: InternalColor | null = DEFAULT_COLOR;\n\n @Watch(\"color\")\n handleColorChange(color: Color | null, oldColor: Color | null): void {\n this.drawColorControls();\n this.updateChannelsFromColor(color);\n this.previousColor = oldColor;\n }\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The format of `value`.\n *\n * When `\"auto\"`, the format will be inferred from `value` when set.\n *\n * @default \"auto\"\n */\n @Prop({ reflect: true }) format: Format = \"auto\";\n\n @Watch(\"alphaChannel\")\n @Watch(\"format\")\n handleFormatOrAlphaChannelChange(): void {\n this.setMode(this.format);\n this.internalColorSet(this.color, false, \"internal\");\n }\n\n /**\n * When `true`, hides the RGB/HSV channel inputs.\n *\n * @deprecated use `channelsDisabled` instead\n */\n @Prop({ reflect: true }) hideChannels = false;\n\n /** When `true`, hides the hex input. */\n @Prop() hexDisabled = false;\n\n /**\n * When `true`, hides the hex input.\n *\n * @deprecated use `hexDisabled` instead\n */\n @Prop({ reflect: true }) hideHex = false;\n\n /**\n * When `true`, hides the saved colors section.\n *\n * @deprecated use `savedDisabled` instead\n */\n @Prop({ reflect: true }) hideSaved = false;\n\n /** When `true`, hides the saved colors section. */\n @Prop({ reflect: true }) savedDisabled = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n @Watch(\"scale\")\n handleScaleChange(scale: Scale = \"m\"): void {\n this.updateDimensions(scale);\n this.updateCanvasSize(\"all\");\n this.drawColorControls();\n }\n\n /** Specifies the storage ID for colors. */\n @Prop({ reflect: true }) storageId: string;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<ColorPickerMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /** Specifies the Unicode numeral system used by the component for localization. */\n @Prop({ reflect: true }) numberingSystem: NumberingSystem;\n\n /**\n * The component's value, where the value can be a CSS color string, or a RGB, HSL or HSV object.\n *\n * The type will be preserved as the color is updated.\n *\n * @default \"#007ac2\"\n * @see [CSS Color](https://developer.mozilla.org/en-US/docs/Web/CSS/color)\n * @see [ColorValue](https://github.com/Esri/calcite-design-system/blob/dev/src/components/color-picker/interfaces.ts#L10)\n */\n @Prop({ mutable: true }) value: ColorValue | null = normalizeHex(\n hexify(DEFAULT_COLOR, this.alphaChannel),\n );\n\n @Watch(\"value\")\n handleValueChange(value: ColorValue | null, oldValue: ColorValue | null): void {\n const { isClearable, format } = this;\n const checkMode = !isClearable || value;\n let modeChanged = false;\n\n if (checkMode) {\n const nextMode = parseMode(value);\n\n if (!nextMode || (format !== \"auto\" && nextMode !== format)) {\n this.showIncompatibleColorWarning(value, format);\n this.value = oldValue;\n return;\n }\n\n modeChanged = this.mode !== nextMode;\n this.setMode(nextMode, this.internalColorUpdateContext === null);\n }\n\n const dragging = this.activeCanvasInfo;\n\n if (this.internalColorUpdateContext === \"initial\") {\n return;\n }\n\n if (this.internalColorUpdateContext === \"user-interaction\") {\n this.calciteColorPickerInput.emit();\n\n if (!dragging) {\n this.calciteColorPickerChange.emit();\n }\n return;\n }\n\n const color =\n isClearable && !value\n ? null\n : Color(\n value != null && typeof value === \"object\" && alphaCompatible(this.mode)\n ? normalizeColor(value as RGBA | HSVA | HSLA)\n : value,\n );\n const colorChanged = !colorEqual(color, this.color);\n\n if (modeChanged || colorChanged) {\n this.internalColorSet(\n color,\n this.alphaChannel && !(this.mode.endsWith(\"a\") || this.mode.endsWith(\"a-css\")),\n \"internal\",\n );\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Internal State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteColorPickerElement;\n\n private activeCanvasInfo: {\n context: CanvasRenderingContext2D;\n bounds: DOMRect;\n };\n\n private get baseColorFieldColor(): Color {\n return this.color || this.previousColor || DEFAULT_COLOR;\n }\n\n private checkerPattern: HTMLCanvasElement;\n\n private colorFieldRenderingContext: CanvasRenderingContext2D;\n\n private colorFieldScopeNode: HTMLDivElement;\n\n private effectiveSliderWidth: number;\n\n private hueSliderRenderingContext: CanvasRenderingContext2D;\n\n private hueScopeNode: HTMLDivElement;\n\n private internalColorUpdateContext: \"internal\" | \"initial\" | \"user-interaction\" | null = null;\n\n private isActiveChannelInputEmpty: boolean = false;\n\n private isClearable: boolean;\n\n private mode: SupportedMode = CSSColorMode.HEX;\n\n private opacityScopeNode: HTMLDivElement;\n\n private opacitySliderRenderingContext: CanvasRenderingContext2D;\n\n private previousColor: InternalColor | null;\n\n private shiftKeyChannelAdjustment = 0;\n\n private upOrDownArrowKeyTracker: \"down\" | \"up\" | null = null;\n\n @State() channelMode: ColorMode = \"rgb\";\n\n @State() channels: Channels = this.toChannels(DEFAULT_COLOR);\n\n @State() defaultMessages: ColorPickerMessages;\n\n @State() dimensions = DIMENSIONS.m;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: ColorPickerMessages;\n\n @State() savedColors: string[] = [];\n\n @State() colorFieldScopeTop: number;\n\n @State() colorFieldScopeLeft: number;\n\n @State() hueScopeLeft: number;\n\n @State() opacityScopeLeft: number;\n\n @State() scopeOrientation: \"vertical\" | \"horizontal\";\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the color value has changed.\n */\n @Event({ cancelable: false }) calciteColorPickerChange: EventEmitter<void>;\n\n /**\n * Fires as the color value changes.\n *\n * Similar 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.\n */\n @Event({ cancelable: false }) calciteColorPickerInput: EventEmitter<void>;\n\n private handleTabActivate = (event: Event): void => {\n this.channelMode = (event.currentTarget as HTMLElement).getAttribute(\n \"data-color-mode\",\n ) as ColorMode;\n\n this.updateChannelsFromColor(this.color);\n };\n\n private handleColorFieldScopeKeyDown = (event: KeyboardEvent): void => {\n const { key } = event;\n const arrowKeyToXYOffset = {\n ArrowUp: { x: 0, y: -10 },\n ArrowRight: { x: 10, y: 0 },\n ArrowDown: { x: 0, y: 10 },\n ArrowLeft: { x: -10, y: 0 },\n };\n\n if (arrowKeyToXYOffset[key]) {\n event.preventDefault();\n this.scopeOrientation = key === \"ArrowDown\" || key === \"ArrowUp\" ? \"vertical\" : \"horizontal\";\n this.captureColorFieldColor(\n this.colorFieldScopeLeft + arrowKeyToXYOffset[key].x || 0,\n this.colorFieldScopeTop + arrowKeyToXYOffset[key].y || 0,\n false,\n );\n }\n };\n\n private handleHueScopeKeyDown = (event: KeyboardEvent): void => {\n const modifier = event.shiftKey ? 10 : 1;\n const { key } = event;\n const arrowKeyToXOffset = {\n ArrowUp: 1,\n ArrowRight: 1,\n ArrowDown: -1,\n ArrowLeft: -1,\n };\n\n if (arrowKeyToXOffset[key]) {\n event.preventDefault();\n const delta = arrowKeyToXOffset[key] * modifier;\n const hue = this.baseColorFieldColor.hue();\n const color = this.baseColorFieldColor.hue(hue + delta);\n this.internalColorSet(color, false);\n }\n };\n\n private handleHexInputChange = (event: Event): void => {\n event.stopPropagation();\n const { isClearable, color } = this;\n const input = event.target as HTMLCalciteColorPickerHexInputElement;\n const hex = input.value;\n\n if (isClearable && !hex) {\n this.internalColorSet(null);\n return;\n }\n\n const normalizedHex = color && normalizeHex(hexify(color, alphaCompatible(this.mode)));\n\n if (hex !== normalizedHex) {\n this.internalColorSet(Color(hex));\n }\n };\n\n private handleSavedColorSelect = (event: Event): void => {\n const swatch = event.currentTarget as HTMLCalciteColorPickerSwatchElement;\n this.internalColorSet(Color(swatch.color));\n };\n\n private handleChannelInput = (event: CustomEvent): void => {\n const input = event.currentTarget as HTMLCalciteInputNumberElement;\n const channelIndex = Number(input.getAttribute(\"data-channel-index\"));\n const isAlphaChannel = channelIndex === 3;\n\n const limit = isAlphaChannel\n ? OPACITY_LIMITS.max\n : this.channelMode === \"rgb\"\n ? RGB_LIMITS[Object.keys(RGB_LIMITS)[channelIndex]]\n : HSV_LIMITS[Object.keys(HSV_LIMITS)[channelIndex]];\n\n let inputValue: string;\n\n if (!input.value) {\n inputValue = \"\";\n this.isActiveChannelInputEmpty = true;\n // reset this to allow typing in new value, when channel input is cleared after ArrowUp or ArrowDown have been pressed\n this.upOrDownArrowKeyTracker = null;\n } else {\n const value = Number(input.value);\n const adjustedValue = value + this.shiftKeyChannelAdjustment;\n const clamped = clamp(adjustedValue, 0, limit);\n\n inputValue = clamped.toString();\n }\n\n input.value = inputValue;\n\n if (inputValue !== \"\" && this.shiftKeyChannelAdjustment !== 0) {\n // we treat nudging as a change event since the input won't emit when modifying the value directly\n this.handleChannelChange(event);\n } else if (inputValue !== \"\") {\n this.handleChannelChange(event);\n }\n };\n\n private handleChannelBlur = (event: CustomEvent): void => {\n const input = event.currentTarget as HTMLCalciteInputNumberElement;\n const channelIndex = Number(input.getAttribute(\"data-channel-index\"));\n const channels = [...this.channels] as this[\"channels\"];\n const restoreValueDueToEmptyInput = !input.value && !this.isClearable;\n\n if (restoreValueDueToEmptyInput) {\n input.value = channels[channelIndex]?.toString();\n }\n };\n\n handleChannelFocus = (event: Event): void => {\n const input = event.currentTarget as HTMLCalciteInputNumberElement;\n input.selectText();\n };\n\n // using @Listen as a workaround for VDOM listener not firing\n @Listen(\"keydown\", { capture: true })\n @Listen(\"keyup\", { capture: true })\n protected handleChannelKeyUpOrDown(event: KeyboardEvent): void {\n this.shiftKeyChannelAdjustment = 0;\n const { key } = event;\n\n if (\n (key !== \"ArrowUp\" && key !== \"ArrowDown\") ||\n !event.composedPath().some((node: HTMLElement) => node.classList?.contains(CSS.channel))\n ) {\n return;\n }\n\n const { shiftKey } = event;\n event.preventDefault();\n\n if (!this.color) {\n this.internalColorSet(this.previousColor);\n event.stopPropagation();\n return;\n }\n\n // this gets applied to the input's up/down arrow increment/decrement\n const complementaryBump = 9;\n\n this.shiftKeyChannelAdjustment =\n key === \"ArrowUp\" && shiftKey\n ? complementaryBump\n : key === \"ArrowDown\" && shiftKey\n ? -complementaryBump\n : 0;\n\n if (key === \"ArrowUp\") {\n this.upOrDownArrowKeyTracker = \"up\";\n }\n if (key === \"ArrowDown\") {\n this.upOrDownArrowKeyTracker = \"down\";\n }\n }\n\n private getChannelInputLimit(channelIndex: number): number {\n return this.channelMode === \"rgb\"\n ? RGB_LIMITS[Object.keys(RGB_LIMITS)[channelIndex]]\n : HSV_LIMITS[Object.keys(HSV_LIMITS)[channelIndex]];\n }\n\n private handleChannelChange = (event: CustomEvent): void => {\n const input = event.currentTarget as HTMLCalciteInputNumberElement;\n const channelIndex = Number(input.getAttribute(\"data-channel-index\"));\n const channels = [...this.channels] as this[\"channels\"];\n\n const shouldClearChannels = this.isClearable && !input.value;\n\n if (shouldClearChannels) {\n this.channels = [null, null, null, null];\n this.internalColorSet(null);\n return;\n }\n\n const isAlphaChannel = channelIndex === 3;\n\n if (this.isActiveChannelInputEmpty && this.upOrDownArrowKeyTracker) {\n input.value =\n this.upOrDownArrowKeyTracker === \"up\"\n ? (channels[channelIndex] + 1 <= this.getChannelInputLimit(channelIndex)\n ? channels[channelIndex] + 1\n : this.getChannelInputLimit(channelIndex)\n ).toString()\n : (channels[channelIndex] - 1 >= 0 ? channels[channelIndex] - 1 : 0).toString();\n this.isActiveChannelInputEmpty = false;\n this.upOrDownArrowKeyTracker = null;\n }\n const value = input.value ? Number(input.value) : channels[channelIndex];\n\n channels[channelIndex] = isAlphaChannel ? opacityToAlpha(value) : value;\n this.updateColorFromChannels(channels);\n };\n\n private handleSavedColorKeyDown = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n event.preventDefault();\n this.handleSavedColorSelect(event);\n }\n };\n\n private handleColorFieldPointerDown = (event: PointerEvent): void => {\n this.handleCanvasControlPointerDown(\n event,\n this.colorFieldRenderingContext,\n this.captureColorFieldColor,\n this.colorFieldScopeNode,\n );\n };\n\n private focusScope(focusEl: HTMLElement): void {\n requestAnimationFrame(() => {\n focusEl.focus();\n });\n }\n\n private handleHueSliderPointerDown = (event: PointerEvent): void => {\n this.handleCanvasControlPointerDown(\n event,\n this.hueSliderRenderingContext,\n this.captureHueSliderColor,\n this.hueScopeNode,\n );\n };\n\n private handleOpacitySliderPointerDown = (event: PointerEvent): void => {\n this.handleCanvasControlPointerDown(\n event,\n this.opacitySliderRenderingContext,\n this.captureOpacitySliderValue,\n this.opacityScopeNode,\n );\n };\n\n private handleCanvasControlPointerDown(\n event: PointerEvent,\n renderingContext: CanvasRenderingContext2D,\n captureValue: (offsetX: number, offsetY?: number) => void,\n scopeNode: HTMLElement,\n ): void {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n\n window.addEventListener(\"pointermove\", this.globalPointerMoveHandler);\n window.addEventListener(\"pointerup\", this.globalPointerUpHandler, { once: true });\n\n this.activeCanvasInfo = {\n context: renderingContext,\n bounds: renderingContext.canvas.getBoundingClientRect(),\n };\n\n captureValue.call(this, event.offsetX, event.offsetY);\n this.focusScope(scopeNode);\n }\n\n private globalPointerUpHandler = (event: PointerEvent): void => {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n\n const previouslyDragging = this.activeCanvasInfo;\n this.activeCanvasInfo = null;\n this.drawColorControls();\n\n if (previouslyDragging) {\n this.calciteColorPickerChange.emit();\n }\n };\n\n private globalPointerMoveHandler = (event: PointerEvent): void => {\n const { activeCanvasInfo, el } = this;\n\n if (!el.isConnected || !activeCanvasInfo) {\n return;\n }\n\n const { context, bounds } = activeCanvasInfo;\n\n let samplingX: number;\n let samplingY: number;\n\n const { clientX, clientY } = event;\n\n if (context.canvas.matches(\":hover\")) {\n samplingX = clientX - bounds.x;\n samplingY = clientY - bounds.y;\n } else {\n // snap x and y to the closest edge\n\n if (clientX < bounds.x + bounds.width && clientX > bounds.x) {\n samplingX = clientX - bounds.x;\n } else if (clientX < bounds.x) {\n samplingX = 0;\n } else {\n samplingX = bounds.width;\n }\n\n if (clientY < bounds.y + bounds.height && clientY > bounds.y) {\n samplingY = clientY - bounds.y;\n } else if (clientY < bounds.y) {\n samplingY = 0;\n } else {\n samplingY = bounds.height;\n }\n }\n\n if (context === this.colorFieldRenderingContext) {\n this.captureColorFieldColor(samplingX, samplingY, false);\n } else if (context === this.hueSliderRenderingContext) {\n this.captureHueSliderColor(samplingX);\n } else if (context === this.opacitySliderRenderingContext) {\n this.captureOpacitySliderValue(samplingX);\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n focusFirstTabbable(this.el);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n\n this.handleAllowEmptyOrClearableChange();\n this.handleAlphaChannelDimensionsChange();\n\n const { isClearable, color, format, value } = this;\n const willSetNoColor = isClearable && !value;\n const parsedMode = parseMode(value);\n const valueIsCompatible =\n willSetNoColor || (format === \"auto\" && parsedMode) || format === parsedMode;\n const initialColor = willSetNoColor ? null : valueIsCompatible ? Color(value) : color;\n\n if (!valueIsCompatible) {\n this.showIncompatibleColorWarning(value, format);\n }\n this.setMode(format, false);\n this.internalColorSet(initialColor, false, \"initial\");\n\n this.updateDimensions(this.scale);\n\n const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;\n\n if (this.storageId && localStorage.getItem(storageKey)) {\n this.savedColors = JSON.parse(localStorage.getItem(storageKey));\n }\n\n await setUpMessages(this);\n }\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n window.removeEventListener(\"pointermove\", this.globalPointerMoveHandler);\n window.removeEventListener(\"pointerup\", this.globalPointerUpHandler);\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n const {\n channelsDisabled,\n color,\n colorFieldScopeLeft,\n colorFieldScopeTop,\n dimensions: {\n thumb: { radius: thumbRadius },\n },\n hexDisabled,\n hideChannels,\n hideHex,\n hideSaved,\n hueScopeLeft,\n messages,\n alphaChannel,\n opacityScopeLeft,\n savedColors,\n savedDisabled,\n scale,\n scopeOrientation,\n } = this;\n\n const sliderWidth = this.effectiveSliderWidth;\n const selectedColorInHex = color ? hexify(color, alphaChannel) : null;\n const hueTop = thumbRadius;\n const hueLeft = hueScopeLeft ?? (sliderWidth * DEFAULT_COLOR.hue()) / HSV_LIMITS.h;\n const opacityTop = thumbRadius;\n const opacityLeft =\n opacityScopeLeft ??\n (sliderWidth * alphaToOpacity(DEFAULT_COLOR.alpha())) / OPACITY_LIMITS.max;\n const noColor = color === null;\n const vertical = scopeOrientation === \"vertical\";\n const noHex = hexDisabled || hideHex;\n const noChannels = channelsDisabled || hideChannels;\n const noSaved = savedDisabled || hideSaved;\n const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(\n colorFieldScopeLeft,\n colorFieldScopeTop,\n );\n const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(\n hueLeft,\n hueTop,\n );\n const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(\n opacityLeft,\n opacityTop,\n );\n\n return (\n <InteractiveContainer disabled={this.disabled}>\n <div class={CSS.container}>\n <div class={CSS.controlAndScope}>\n <canvas\n class={CSS.colorField}\n onPointerDown={this.handleColorFieldPointerDown}\n ref={this.initColorField}\n />\n <div\n aria-label={vertical ? messages.value : messages.saturation}\n aria-valuemax={vertical ? HSV_LIMITS.v : HSV_LIMITS.s}\n aria-valuemin=\"0\"\n aria-valuenow={(vertical ? color?.saturationv() : color?.value()) || \"0\"}\n class={{ [CSS.scope]: true, [CSS.colorFieldScope]: true }}\n onKeyDown={this.handleColorFieldScopeKeyDown}\n ref={this.storeColorFieldScope}\n role=\"slider\"\n style={{\n top: `${adjustedColorFieldScopeTop || 0}px`,\n left: `${adjustedColorFieldScopeLeft || 0}px`,\n }}\n tabindex=\"0\"\n />\n </div>\n <div class={CSS.previewAndSliders}>\n <calcite-color-picker-swatch\n class={CSS.preview}\n color={selectedColorInHex}\n scale={this.alphaChannel ? \"l\" : this.scale}\n />\n <div class={CSS.sliders}>\n <div class={CSS.controlAndScope}>\n <canvas\n class={{ [CSS.slider]: true, [CSS.hueSlider]: true }}\n onPointerDown={this.handleHueSliderPointerDown}\n ref={this.initHueSlider}\n />\n <div\n aria-label={messages.hue}\n aria-valuemax={HSV_LIMITS.h}\n aria-valuemin=\"0\"\n aria-valuenow={color?.round().hue() || DEFAULT_COLOR.round().hue()}\n class={{ [CSS.scope]: true, [CSS.hueScope]: true }}\n onKeyDown={this.handleHueScopeKeyDown}\n ref={this.storeHueScope}\n role=\"slider\"\n style={{\n top: `${adjustedHueScopeTop}px`,\n left: `${adjustedHueScopeLeft}px`,\n }}\n tabindex=\"0\"\n />\n </div>\n {alphaChannel ? (\n <div class={CSS.controlAndScope}>\n <canvas\n class={{ [CSS.slider]: true, [CSS.opacitySlider]: true }}\n onPointerDown={this.handleOpacitySliderPointerDown}\n ref={this.initOpacitySlider}\n />\n <div\n aria-label={messages.opacity}\n aria-valuemax={OPACITY_LIMITS.max}\n aria-valuemin={OPACITY_LIMITS.min}\n aria-valuenow={(color || DEFAULT_COLOR).round().alpha()}\n class={{ [CSS.scope]: true, [CSS.opacityScope]: true }}\n onKeyDown={this.handleOpacityScopeKeyDown}\n ref={this.storeOpacityScope}\n role=\"slider\"\n style={{\n top: `${adjustedOpacityScopeTop}px`,\n left: `${adjustedOpacityScopeLeft}px`,\n }}\n tabindex=\"0\"\n />\n </div>\n ) : null}\n </div>\n </div>\n {noHex && noChannels ? null : (\n <div\n class={{\n [CSS.controlSection]: true,\n [CSS.section]: true,\n }}\n >\n <div class={CSS.hexAndChannelsGroup}>\n {noHex ? null : (\n <div class={CSS.hexOptions}>\n <calcite-color-picker-hex-input\n allowEmpty={this.isClearable}\n alphaChannel={alphaChannel}\n class={CSS.control}\n messages={messages}\n numberingSystem={this.numberingSystem}\n onCalciteColorPickerHexInputChange={this.handleHexInputChange}\n scale={scale}\n value={selectedColorInHex}\n />\n </div>\n )}\n {noChannels ? null : (\n <calcite-tabs\n class={{\n [CSS.colorModeContainer]: true,\n [CSS.splitSection]: true,\n }}\n scale={scale === \"l\" ? \"m\" : \"s\"}\n >\n <calcite-tab-nav slot=\"title-group\">\n {this.renderChannelsTabTitle(\"rgb\")}\n {this.renderChannelsTabTitle(\"hsv\")}\n </calcite-tab-nav>\n {this.renderChannelsTab(\"rgb\")}\n {this.renderChannelsTab(\"hsv\")}\n </calcite-tabs>\n )}\n </div>\n </div>\n )}\n {noSaved ? null : (\n <div class={{ [CSS.savedColorsSection]: true, [CSS.section]: true }}>\n <div class={CSS.header}>\n <label>{messages.saved}</label>\n <div class={CSS.savedColorsButtons}>\n <calcite-button\n appearance=\"transparent\"\n class={CSS.deleteColor}\n disabled={noColor}\n iconStart=\"minus\"\n kind=\"neutral\"\n label={messages.deleteColor}\n onClick={this.deleteColor}\n scale={scale}\n type=\"button\"\n />\n <calcite-button\n appearance=\"transparent\"\n class={CSS.saveColor}\n disabled={noColor}\n iconStart=\"plus\"\n kind=\"neutral\"\n label={messages.saveColor}\n onClick={this.saveColor}\n scale={scale}\n type=\"button\"\n />\n </div>\n </div>\n {savedColors.length > 0 ? (\n <div class={CSS.savedColors}>\n {[\n ...savedColors.map((color) => (\n <calcite-color-picker-swatch\n class={CSS.savedColor}\n color={color}\n key={color}\n onClick={this.handleSavedColorSelect}\n onKeyDown={this.handleSavedColorKeyDown}\n scale={scale}\n tabIndex={0}\n />\n )),\n ]}\n </div>\n ) : null}\n </div>\n )}\n </div>\n </InteractiveContainer>\n );\n }\n\n private storeColorFieldScope = (node: HTMLDivElement): void => {\n this.colorFieldScopeNode = node;\n };\n\n private storeHueScope = (node: HTMLDivElement): void => {\n this.hueScopeNode = node;\n };\n\n private renderChannelsTabTitle = (channelMode: this[\"channelMode\"]): VNode => {\n const { channelMode: activeChannelMode, messages } = this;\n const selected = channelMode === activeChannelMode;\n const label = channelMode === \"rgb\" ? messages.rgb : messages.hsv;\n\n return (\n <calcite-tab-title\n class={CSS.colorMode}\n data-color-mode={channelMode}\n key={channelMode}\n onCalciteTabsActivate={this.handleTabActivate}\n selected={selected}\n >\n {label}\n </calcite-tab-title>\n );\n };\n\n private renderChannelsTab = (channelMode: this[\"channelMode\"]): VNode => {\n const { isClearable, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;\n const selected = channelMode === activeChannelMode;\n const isRgb = channelMode === \"rgb\";\n const channelAriaLabels = isRgb\n ? [messages.red, messages.green, messages.blue]\n : [messages.hue, messages.saturation, messages.value];\n const direction = getElementDir(this.el);\n const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);\n\n return (\n <calcite-tab class={CSS.control} key={channelMode} selected={selected}>\n {/* channel order should not be mirrored */}\n <div class={CSS.channels} dir=\"ltr\">\n {channelsToRender.map((channelValue, index) => {\n const isAlphaChannel = index === 3;\n\n if (isAlphaChannel) {\n channelValue =\n isClearable && !channelValue ? channelValue : alphaToOpacity(channelValue);\n }\n\n /* the channel container is ltr, so we apply the host's direction */\n return this.renderChannel(\n channelValue,\n index,\n channelAriaLabels[index],\n direction,\n isAlphaChannel ? \"%\" : \"\",\n );\n })}\n </div>\n </calcite-tab>\n );\n };\n\n private renderChannel = (\n value: number | null,\n index: number,\n ariaLabel: string,\n direction: Direction,\n suffix?: string,\n ): VNode => {\n return (\n <calcite-input-number\n class={CSS.channel}\n data-channel-index={index}\n dir={direction}\n key={index}\n label={ariaLabel}\n lang={this.effectiveLocale}\n numberButtonType=\"none\"\n numberingSystem={this.numberingSystem}\n onCalciteInputNumberChange={this.handleChannelChange}\n onCalciteInputNumberInput={this.handleChannelInput}\n onCalciteInternalInputNumberBlur={this.handleChannelBlur}\n onCalciteInternalInputNumberFocus={this.handleChannelFocus}\n onKeyDown={this.handleKeyDown}\n scale={this.scale === \"l\" ? \"m\" : \"s\"}\n // workaround to ensure input borders overlap as desired\n // this is because the build transforms margin-left to its\n // logical-prop, which is undesired as channels are always ltr\n style={{\n marginLeft:\n index > 0 && !(this.scale === \"s\" && this.alphaChannel && index === 3) ? \"-1px\" : \"\",\n }}\n suffixText={suffix}\n value={value?.toString()}\n />\n );\n };\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n handleKeyDown(event: KeyboardEvent): void {\n if (event.key === \"Enter\") {\n event.preventDefault();\n }\n }\n\n private showIncompatibleColorWarning(value: ColorValue, format: Format): void {\n console.warn(\n `ignoring color value (${value}) as it is not compatible with the current format (${format})`,\n );\n }\n\n private setMode(format: ColorPicker[\"format\"], warn = true): void {\n const mode = format === \"auto\" ? this.mode : format;\n this.mode = this.ensureCompatibleMode(mode, warn);\n }\n\n private ensureCompatibleMode(mode: SupportedMode, warn): SupportedMode {\n const { alphaChannel } = this;\n const isAlphaCompatible = alphaCompatible(mode);\n\n if (alphaChannel && !isAlphaCompatible) {\n const alphaMode = toAlphaMode(mode);\n\n if (warn) {\n console.warn(\n `setting format to (${alphaMode}) as the provided one (${mode}) does not support alpha`,\n );\n }\n\n return alphaMode;\n }\n\n if (!alphaChannel && isAlphaCompatible) {\n const nonAlphaMode = toNonAlphaMode(mode);\n\n if (warn) {\n console.warn(\n `setting format to (${nonAlphaMode}) as the provided one (${mode}) does not support alpha`,\n );\n }\n\n return nonAlphaMode;\n }\n\n return mode;\n }\n\n private captureHueSliderColor(x: number): void {\n const hue = (HUE_LIMIT_CONSTRAINED / this.effectiveSliderWidth) * x;\n\n this.internalColorSet(this.baseColorFieldColor.hue(hue), false);\n }\n\n private captureOpacitySliderValue(x: number): void {\n const alpha = opacityToAlpha((OPACITY_LIMITS.max / this.effectiveSliderWidth) * x);\n\n this.internalColorSet(this.baseColorFieldColor.alpha(alpha), false);\n }\n\n private internalColorSet(\n color: Color | null,\n skipEqual = true,\n context: ColorPicker[\"internalColorUpdateContext\"] = \"user-interaction\",\n ): void {\n if (skipEqual && colorEqual(color, this.color)) {\n return;\n }\n\n this.internalColorUpdateContext = context;\n this.color = color;\n this.value = this.toValue(color);\n this.internalColorUpdateContext = null;\n }\n\n private toValue(color: Color | null, format: SupportedMode = this.mode): ColorValue | null {\n if (!color) {\n return null;\n }\n\n const hexMode = \"hex\";\n\n if (format.includes(hexMode)) {\n const hasAlpha = format === CSSColorMode.HEXA;\n return normalizeHex(hexify(color.round(), hasAlpha), hasAlpha);\n }\n\n if (format.includes(\"-css\")) {\n const value = color[format.replace(\"-css\", \"\").replace(\"a\", \"\")]().round().string();\n\n // Color omits alpha values when alpha is 1\n const needToInjectAlpha =\n (format.endsWith(\"a\") || format.endsWith(\"a-css\")) && color.alpha() === 1;\n if (needToInjectAlpha) {\n const model = value.slice(0, 3);\n const values = value.slice(4, -1);\n return `${model}a(${values}, ${color.alpha()})`;\n }\n\n return value;\n }\n\n const colorObject =\n /* Color() does not support hsva, hsla nor rgba, so we use the non-alpha mode */\n color[toNonAlphaMode(format)]().round().object();\n\n if (format.endsWith(\"a\")) {\n return normalizeAlpha(colorObject);\n }\n\n return colorObject;\n }\n\n private getSliderCapSpacing(): number {\n const {\n dimensions: {\n slider: { height },\n thumb: { radius },\n },\n } = this;\n\n return radius * 2 - height;\n }\n\n private updateDimensions(scale: Scale = \"m\"): void {\n this.dimensions = DIMENSIONS[scale];\n }\n\n private deleteColor = (): void => {\n const colorToDelete = hexify(this.color, this.alphaChannel);\n const inStorage = this.savedColors.indexOf(colorToDelete) > -1;\n\n if (!inStorage) {\n return;\n }\n\n const savedColors = this.savedColors.filter((color) => color !== colorToDelete);\n\n this.savedColors = savedColors;\n\n const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;\n\n if (this.storageId) {\n localStorage.setItem(storageKey, JSON.stringify(savedColors));\n }\n };\n\n private saveColor = (): void => {\n const colorToSave = hexify(this.color, this.alphaChannel);\n const alreadySaved = this.savedColors.indexOf(colorToSave) > -1;\n\n if (alreadySaved) {\n return;\n }\n\n const savedColors = [...this.savedColors, colorToSave];\n\n this.savedColors = savedColors;\n\n const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;\n\n if (this.storageId) {\n localStorage.setItem(storageKey, JSON.stringify(savedColors));\n }\n };\n\n private drawColorControls = throttle(\n (type: \"all\" | \"color-field\" | \"hue-slider\" | \"opacity-slider\" = \"all\"): void => {\n if ((type === \"all\" || type === \"color-field\") && this.colorFieldRenderingContext) {\n this.drawColorField();\n }\n\n if ((type === \"all\" || type === \"hue-slider\") && this.hueSliderRenderingContext) {\n this.drawHueSlider();\n }\n\n if (\n this.alphaChannel &&\n (type === \"all\" || type === \"opacity-slider\") &&\n this.opacitySliderRenderingContext\n ) {\n this.drawOpacitySlider();\n }\n },\n throttleFor60FpsInMs,\n );\n\n private drawColorField(): void {\n const context = this.colorFieldRenderingContext;\n const {\n dimensions: {\n colorField: { height, width },\n },\n } = this;\n\n context.fillStyle = this.baseColorFieldColor\n .hsv()\n .saturationv(100)\n .value(100)\n .alpha(1)\n .string();\n context.fillRect(0, 0, width, height);\n\n const whiteGradient = context.createLinearGradient(0, 0, width, 0);\n whiteGradient.addColorStop(0, \"rgba(255,255,255,1)\");\n whiteGradient.addColorStop(1, \"rgba(255,255,255,0)\");\n context.fillStyle = whiteGradient;\n context.fillRect(0, 0, width, height);\n\n const blackGradient = context.createLinearGradient(0, 0, 0, height);\n blackGradient.addColorStop(0, \"rgba(0,0,0,0)\");\n blackGradient.addColorStop(1, \"rgba(0,0,0,1)\");\n context.fillStyle = blackGradient;\n context.fillRect(0, 0, width, height);\n\n this.drawActiveColorFieldColor();\n }\n\n private setCanvasContextSize(\n canvas: HTMLCanvasElement,\n { height, width }: { height: number; width: number },\n ): void {\n if (!canvas) {\n return;\n }\n\n const devicePixelRatio = window.devicePixelRatio || 1;\n\n canvas.width = width * devicePixelRatio;\n canvas.height = height * devicePixelRatio;\n canvas.style.height = `${height}px`;\n canvas.style.width = `${width}px`;\n\n const context = canvas.getContext(\"2d\");\n context.scale(devicePixelRatio, devicePixelRatio);\n }\n\n private captureColorFieldColor = (x: number, y: number, skipEqual = true): void => {\n const {\n dimensions: {\n colorField: { height, width },\n },\n } = this;\n const saturation = Math.round((HSV_LIMITS.s / width) * x);\n const value = Math.round((HSV_LIMITS.v / height) * (height - y));\n\n this.internalColorSet(\n this.baseColorFieldColor.hsv().saturationv(saturation).value(value),\n skipEqual,\n );\n };\n\n private initColorField = (canvas: HTMLCanvasElement): void => {\n this.colorFieldRenderingContext = canvas.getContext(\"2d\");\n this.updateCanvasSize(\"color-field\");\n this.drawColorControls();\n };\n\n private initHueSlider = (canvas: HTMLCanvasElement): void => {\n this.hueSliderRenderingContext = canvas.getContext(\"2d\");\n this.updateCanvasSize(\"hue-slider\");\n this.drawHueSlider();\n };\n\n private initOpacitySlider = (canvas: HTMLCanvasElement): void => {\n if (!canvas) {\n return;\n }\n\n this.opacitySliderRenderingContext = canvas.getContext(\"2d\");\n this.updateCanvasSize(\"opacity-slider\");\n this.drawOpacitySlider();\n };\n\n private updateCanvasSize(\n context: \"all\" | \"color-field\" | \"hue-slider\" | \"opacity-slider\" = \"all\",\n ): void {\n const { dimensions } = this;\n\n if (context === \"all\" || context === \"color-field\") {\n this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas, dimensions.colorField);\n }\n\n const adjustedSliderDimensions = {\n width: this.effectiveSliderWidth,\n height:\n dimensions.slider.height + (dimensions.thumb.radius - dimensions.slider.height / 2) * 2,\n };\n\n if (context === \"all\" || context === \"hue-slider\") {\n this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas, adjustedSliderDimensions);\n }\n\n if (context === \"all\" || context === \"opacity-slider\") {\n this.setCanvasContextSize(\n this.opacitySliderRenderingContext?.canvas,\n adjustedSliderDimensions,\n );\n }\n }\n\n private drawActiveColorFieldColor(): void {\n const { color } = this;\n\n if (!color) {\n return;\n }\n\n const hsvColor = color.hsv();\n\n const {\n dimensions: {\n colorField: { height, width },\n thumb: { radius },\n },\n } = this;\n\n const x = hsvColor.saturationv() / (HSV_LIMITS.s / width);\n const y = height - hsvColor.value() / (HSV_LIMITS.v / height);\n\n requestAnimationFrame(() => {\n this.colorFieldScopeLeft = x;\n this.colorFieldScopeTop = y;\n });\n\n this.drawThumb(this.colorFieldRenderingContext, radius, x, y, hsvColor, false);\n }\n\n private drawThumb(\n context: CanvasRenderingContext2D,\n radius: number,\n x: number,\n y: number,\n color: Color,\n applyAlpha: boolean,\n ): void {\n const startAngle = 0;\n const endAngle = 2 * Math.PI;\n const outlineWidth = 1;\n\n context.beginPath();\n context.arc(x, y, radius, startAngle, endAngle);\n context.fillStyle = \"#fff\";\n context.fill();\n\n context.strokeStyle = \"rgba(0,0,0,0.3)\";\n context.lineWidth = outlineWidth;\n context.stroke();\n\n if (applyAlpha && color.alpha() < 1) {\n const pattern = context.createPattern(this.getCheckeredBackgroundPattern(), \"repeat\");\n context.beginPath();\n context.arc(x, y, radius - 3, startAngle, endAngle);\n context.fillStyle = pattern;\n context.fill();\n }\n\n context.globalCompositeOperation = \"source-atop\";\n\n context.beginPath();\n context.arc(x, y, radius - 3, startAngle, endAngle);\n const alpha = applyAlpha ? color.alpha() : 1;\n context.fillStyle = color.rgb().alpha(alpha).string();\n context.fill();\n\n context.globalCompositeOperation = \"source-over\";\n }\n\n private drawActiveHueSliderColor(): void {\n const { color } = this;\n\n if (!color) {\n return;\n }\n\n const hsvColor = color.hsv().saturationv(100).value(100);\n\n const {\n dimensions: {\n thumb: { radius },\n },\n } = this;\n\n const width = this.effectiveSliderWidth;\n const x = hsvColor.hue() / (HUE_LIMIT_CONSTRAINED / width);\n const y = radius;\n const sliderBoundX = this.getSliderBoundX(x, width, radius);\n\n requestAnimationFrame(() => {\n this.hueScopeLeft = sliderBoundX;\n });\n\n this.drawThumb(this.hueSliderRenderingContext, radius, sliderBoundX, y, hsvColor, false);\n }\n\n private drawHueSlider(): void {\n const context = this.hueSliderRenderingContext;\n const {\n dimensions: {\n slider: { height },\n thumb: { radius: thumbRadius },\n },\n } = this;\n\n const x = 0;\n const y = thumbRadius - height / 2;\n const width = this.effectiveSliderWidth;\n\n const gradient = context.createLinearGradient(0, 0, width, 0);\n\n const hueSliderColorStopKeywords = [\n \"red\",\n \"yellow\",\n \"lime\",\n \"cyan\",\n \"blue\",\n \"magenta\",\n \"#ff0004\" /* 1 unit less than #ff0 to avoid duplicate values within range */,\n ];\n\n const offset = 1 / (hueSliderColorStopKeywords.length - 1);\n let currentOffset = 0;\n\n hueSliderColorStopKeywords.forEach((keyword) => {\n gradient.addColorStop(currentOffset, Color(keyword).string());\n currentOffset += offset;\n });\n\n context.clearRect(0, 0, width, height + this.getSliderCapSpacing() * 2);\n\n this.drawSliderPath(context, height, width, x, y);\n\n context.fillStyle = gradient;\n context.fill();\n\n context.strokeStyle = \"rgba(0,0,0,0.3)\";\n context.lineWidth = 1;\n context.stroke();\n\n this.drawActiveHueSliderColor();\n }\n\n private drawOpacitySlider(): void {\n const context = this.opacitySliderRenderingContext;\n const {\n baseColorFieldColor: previousColor,\n dimensions: {\n slider: { height },\n thumb: { radius: thumbRadius },\n },\n } = this;\n\n const x = 0;\n const y = thumbRadius - height / 2;\n const width = this.effectiveSliderWidth;\n\n context.clearRect(0, 0, width, height + this.getSliderCapSpacing() * 2);\n\n const gradient = context.createLinearGradient(0, y, width, 0);\n const startColor = previousColor.rgb().alpha(0);\n const midColor = previousColor.rgb().alpha(0.5);\n const endColor = previousColor.rgb().alpha(1);\n\n gradient.addColorStop(0, startColor.string());\n gradient.addColorStop(0.5, midColor.string());\n gradient.addColorStop(1, endColor.string());\n\n this.drawSliderPath(context, height, width, x, y);\n\n const pattern = context.createPattern(this.getCheckeredBackgroundPattern(), \"repeat\");\n context.fillStyle = pattern;\n context.fill();\n\n context.fillStyle = gradient;\n context.fill();\n\n context.strokeStyle = \"rgba(0,0,0,0.3)\";\n context.lineWidth = 1;\n context.stroke();\n\n this.drawActiveOpacitySliderColor();\n }\n\n private drawSliderPath(\n context: CanvasRenderingContext2D,\n height: number,\n width: number,\n x: number,\n y: number,\n ): void {\n const radius = height / 2 + 1;\n context.beginPath();\n context.moveTo(x + radius, y);\n context.lineTo(x + width - radius, y);\n context.quadraticCurveTo(x + width, y, x + width, y + radius);\n context.lineTo(x + width, y + height - radius);\n context.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);\n context.lineTo(x + radius, y + height);\n context.quadraticCurveTo(x, y + height, x, y + height - radius);\n context.lineTo(x, y + radius);\n context.quadraticCurveTo(x, y, x + radius, y);\n context.closePath();\n }\n\n private getCheckeredBackgroundPattern(): HTMLCanvasElement {\n if (this.checkerPattern) {\n return this.checkerPattern;\n }\n\n const pattern = document.createElement(\"canvas\");\n pattern.width = 10;\n pattern.height = 10;\n const patternContext = pattern.getContext(\"2d\");\n\n patternContext.fillStyle = \"#ccc\";\n patternContext.fillRect(0, 0, 10, 10);\n patternContext.fillStyle = \"#fff\";\n patternContext.fillRect(0, 0, 5, 5);\n patternContext.fillRect(5, 5, 5, 5);\n\n this.checkerPattern = pattern;\n\n return pattern;\n }\n\n private drawActiveOpacitySliderColor(): void {\n const { color } = this;\n\n if (!color) {\n return;\n }\n\n const hsvColor = color;\n\n const {\n dimensions: {\n thumb: { radius },\n },\n } = this;\n\n const width = this.effectiveSliderWidth;\n const x = alphaToOpacity(hsvColor.alpha()) / (OPACITY_LIMITS.max / width);\n const y = radius;\n const sliderBoundX = this.getSliderBoundX(x, width, radius);\n\n requestAnimationFrame(() => {\n this.opacityScopeLeft = sliderBoundX;\n });\n\n this.drawThumb(this.opacitySliderRenderingContext, radius, sliderBoundX, y, hsvColor, true);\n }\n\n private getSliderBoundX(x: number, width: number, radius: number): number {\n const closeToEdge = closeToRangeEdge(x, width, radius);\n\n return closeToEdge === 0\n ? x\n : closeToEdge === -1\n ? remap(x, 0, width, radius, radius * 2)\n : remap(x, 0, width, width - radius * 2, width - radius);\n }\n\n private storeOpacityScope = (node: HTMLDivElement): void => {\n this.opacityScopeNode = node;\n };\n\n private handleOpacityScopeKeyDown = (event: KeyboardEvent): void => {\n const modifier = event.shiftKey ? 10 : 1;\n const { key } = event;\n const arrowKeyToXOffset = {\n ArrowUp: 0.01,\n ArrowRight: 0.01,\n ArrowDown: -0.01,\n ArrowLeft: -0.01,\n };\n\n if (arrowKeyToXOffset[key]) {\n event.preventDefault();\n const delta = arrowKeyToXOffset[key] * modifier;\n const alpha = this.baseColorFieldColor.alpha();\n const color = this.baseColorFieldColor.alpha(alpha + delta);\n this.internalColorSet(color, false);\n }\n };\n\n private updateColorFromChannels(channels: this[\"channels\"]): void {\n this.internalColorSet(Color(channels, this.channelMode));\n }\n\n private updateChannelsFromColor(color: Color | null): void {\n this.channels = color ? this.toChannels(color) : [null, null, null, null];\n }\n\n private toChannels(color: Color): Channels {\n const { channelMode } = this;\n\n const channels = color[channelMode]()\n .array()\n .map((value, index) => {\n const isAlpha = index === 3;\n return isAlpha ? value : Math.floor(value);\n });\n\n if (channels.length === 3) {\n channels.push(1); // Color omits alpha when 1\n }\n\n return channels as Channels;\n }\n\n private getAdjustedScopePosition(left: number, top: number): [number, number] {\n return [left - SCOPE_SIZE / 2, top - SCOPE_SIZE / 2];\n }\n}\n","export const CSS = {\n container: \"container\",\n hexInput: \"hex-input\",\n opacityInput: \"opacity-input\",\n};\n",":host {\n @apply block;\n}\n\n.container {\n @apply flex w-full items-center flex-nowrap;\n}\n\n.hex-input {\n @apply grow uppercase;\n}\n\n.opacity-input {\n inline-size: 68px;\n margin-inline-start: -1px;\n}\n\n:host([scale=\"s\"]) {\n .container {\n @apply flex-wrap gap-y-0.5;\n }\n\n .opacity-input {\n inline-size: unset;\n margin-inline-start: unset;\n }\n}\n\n:host([scale=\"l\"]) {\n .opacity-input {\n inline-size: 88px;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport Color from \"color\";\nimport { Scale } from \"../interfaces\";\nimport { Channels, RGB } from \"../color-picker/interfaces\";\nimport {\n alphaToOpacity,\n hexChar,\n hexify,\n isLonghandHex,\n isShorthandHex,\n isValidHex,\n normalizeHex,\n opacityToAlpha,\n rgbToHex,\n} from \"../color-picker/utils\";\nimport { focusElement } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { NumberingSystem } from \"../../utils/locale\";\nimport { OPACITY_LIMITS } from \"../color-picker/resources\";\nimport { ColorPickerMessages } from \"../color-picker/assets/color-picker/t9n\";\nimport { CSS } from \"./resources\";\n\nconst DEFAULT_COLOR = Color();\n\n@Component({\n tag: \"calcite-color-picker-hex-input\",\n styleUrl: \"color-picker-hex-input.scss\",\n shadow: true,\n})\nexport class ColorPickerHexInput implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { allowEmpty, alphaChannel, value } = this;\n\n if (value) {\n const normalized = normalizeHex(value, alphaChannel);\n\n if (isValidHex(normalized, alphaChannel)) {\n this.internalSetValue(normalized, normalized, false);\n }\n\n return;\n }\n\n if (allowEmpty) {\n this.internalSetValue(null, null, false);\n }\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, an empty color (`null`) will be allowed as a `value`.\n *\n * When `false`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`.\n */\n @Prop() allowEmpty = false;\n\n /**\n * When `true`, the component will allow updates to the color's alpha value.\n */\n @Prop() alphaChannel = false;\n\n /**\n * Specifies accessible label for the input field.\n *\n * @deprecated use `messages` instead\n */\n @Prop() hexLabel = \"Hex\";\n\n /**\n * Messages are passed by parent component for accessible labels.\n *\n * @internal\n */\n @Prop() messages: ColorPickerMessages;\n\n /** Specifies the Unicode numeral system used by the component for localization. */\n @Prop() numberingSystem?: NumberingSystem;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /**\n * The hex value.\n */\n @Prop({ mutable: true, reflect: true }) value: string = normalizeHex(\n hexify(DEFAULT_COLOR, this.alphaChannel),\n this.alphaChannel,\n true,\n );\n\n @Watch(\"value\")\n handleValueChange(value: string, oldValue: string): void {\n this.internalSetValue(value, oldValue, false);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Emitted when the hex value changes.\n */\n @Event({ cancelable: false }) calciteColorPickerHexInputChange: EventEmitter<void>;\n\n private onHexInputBlur = (): void => {\n const node = this.hexInputNode;\n const inputValue = node.value;\n const hex = `#${inputValue}`;\n const { allowEmpty, internalColor } = this;\n const willClearValue = allowEmpty && !inputValue;\n const isLonghand = isLonghandHex(hex);\n\n if (isShorthandHex(hex, this.alphaChannel)) {\n // ensure modified pasted hex values are committed since we prevent default to remove the # char.\n this.onHexInputChange();\n }\n\n if (willClearValue || (isValidHex(hex) && isLonghand)) {\n return;\n }\n\n // manipulating DOM directly since rerender doesn't update input value\n node.value =\n allowEmpty && !internalColor\n ? \"\"\n : this.formatHexForInternalInput(\n rgbToHex(\n // always display hex input in RRGGBB format\n internalColor.object() as any as RGB,\n ),\n );\n };\n\n private onOpacityInputBlur = (): void => {\n const node = this.opacityInputNode;\n const inputValue = node.value;\n const { allowEmpty, internalColor } = this;\n const willClearValue = allowEmpty && !inputValue;\n\n if (willClearValue) {\n return;\n }\n\n // manipulating DOM directly since rerender doesn't update input value\n node.value =\n allowEmpty && !internalColor ? \"\" : this.formatOpacityForInternalInput(internalColor);\n };\n\n private onOpacityInputInput = (): void => {\n this.onOpacityInputChange();\n };\n\n private onHexInputChange = (): void => {\n const nodeValue = this.hexInputNode.value;\n let value = nodeValue;\n\n if (value) {\n const normalized = normalizeHex(value, false);\n const preserveExistingAlpha = isValidHex(normalized) && this.alphaChannel;\n if (preserveExistingAlpha && this.internalColor) {\n const alphaHex = normalizeHex(this.internalColor.hexa(), true).slice(-2);\n value = `${normalized + alphaHex}`;\n }\n }\n\n this.internalSetValue(value, this.value);\n };\n\n private onOpacityInputChange = (): void => {\n const node = this.opacityInputNode;\n let value: number | string;\n\n if (!node.value) {\n value = node.value;\n } else {\n const alpha = opacityToAlpha(Number(node.value));\n value = this.internalColor?.alpha(alpha).hexa();\n }\n\n this.internalSetValue(value, this.value);\n };\n\n private onInputFocus = (event: Event): void => {\n event.type === \"calciteInternalInputTextFocus\"\n ? this.hexInputNode.selectText()\n : this.opacityInputNode.selectText();\n };\n\n private onHexInputInput = (): void => {\n const hexInputValue = `#${this.hexInputNode.value}`;\n const oldValue = this.value;\n\n if (\n isValidHex(hexInputValue, this.alphaChannel) &&\n isLonghandHex(hexInputValue, this.alphaChannel)\n ) {\n this.internalSetValue(hexInputValue, oldValue);\n }\n };\n\n protected onInputKeyDown = (event: KeyboardEvent): void => {\n const { altKey, ctrlKey, metaKey, shiftKey } = event;\n const { alphaChannel, hexInputNode, internalColor, value } = this;\n const { key } = event;\n const composedPath = event.composedPath();\n\n if ((key === \"Tab\" && isShorthandHex(value, this.alphaChannel)) || key === \"Enter\") {\n if (composedPath.includes(hexInputNode)) {\n this.onHexInputChange();\n } else {\n this.onOpacityInputChange();\n }\n\n if (key === \"Enter\") {\n event.preventDefault();\n }\n\n return;\n }\n\n const isNudgeKey = key === \"ArrowDown\" || key === \"ArrowUp\";\n const oldValue = this.value;\n\n if (isNudgeKey) {\n if (!value) {\n this.internalSetValue(this.previousNonNullValue, oldValue);\n event.preventDefault();\n return;\n }\n\n const direction = key === \"ArrowUp\" ? 1 : -1;\n const bump = shiftKey ? 10 : 1;\n\n this.internalSetValue(\n hexify(\n this.nudgeRGBChannels(\n internalColor,\n bump * direction,\n composedPath.includes(hexInputNode) ? \"rgb\" : \"a\",\n ),\n alphaChannel,\n ),\n oldValue,\n );\n\n event.preventDefault();\n return;\n }\n\n const withModifiers = altKey || ctrlKey || metaKey;\n const singleChar = key.length === 1;\n const validHexChar = hexChar.test(key);\n\n if (singleChar && !withModifiers && !validHexChar) {\n event.preventDefault();\n }\n };\n\n private onHexInputPaste = (event: ClipboardEvent): void => {\n const hex = event.clipboardData.getData(\"text\");\n\n if (isValidHex(hex, this.alphaChannel) && isLonghandHex(hex, this.alphaChannel)) {\n event.preventDefault();\n this.hexInputNode.value = hex.slice(1);\n this.internalSetValue(hex, this.value);\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteColorPickerHexInputElement;\n\n private hexInputNode: HTMLCalciteInputTextElement;\n\n /**\n * The last valid/selected color. Used as a fallback if an invalid hex code is entered.\n */\n @State() internalColor: Color | null = DEFAULT_COLOR;\n\n private opacityInputNode: HTMLCalciteInputNumberElement;\n\n private previousNonNullValue: string = this.value;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n const { alphaChannel, hexLabel, internalColor, messages, scale, value } = this;\n const hexInputValue = this.formatHexForInternalInput(value);\n const opacityInputValue = this.formatOpacityForInternalInput(internalColor);\n const inputScale = scale === \"l\" ? \"m\" : \"s\";\n\n return (\n <div class={CSS.container}>\n <calcite-input-text\n class={CSS.hexInput}\n label={messages?.hex || hexLabel}\n maxLength={this.alphaChannel ? 8 : 6}\n onCalciteInputTextChange={this.onHexInputChange}\n onCalciteInputTextInput={this.onHexInputInput}\n onCalciteInternalInputTextBlur={this.onHexInputBlur}\n onCalciteInternalInputTextFocus={this.onInputFocus}\n onKeyDown={this.onInputKeyDown}\n onPaste={this.onHexInputPaste}\n prefixText=\"#\"\n ref={this.storeHexInputRef}\n scale={inputScale}\n value={hexInputValue}\n />\n {alphaChannel ? (\n <calcite-input-number\n class={CSS.opacityInput}\n key=\"opacity-input\"\n label={messages?.opacity}\n max={OPACITY_LIMITS.max}\n maxLength={3}\n min={OPACITY_LIMITS.min}\n numberButtonType=\"none\"\n numberingSystem={this.numberingSystem}\n onCalciteInputNumberInput={this.onOpacityInputInput}\n onCalciteInternalInputNumberBlur={this.onOpacityInputBlur}\n onCalciteInternalInputNumberFocus={this.onInputFocus}\n onKeyDown={this.onInputKeyDown}\n ref={this.storeOpacityInputRef}\n scale={inputScale}\n suffixText=\"%\"\n value={opacityInputValue}\n />\n ) : null}\n </div>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n return focusElement(this.hexInputNode);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private internalSetValue(value: string | null, oldValue: string | null, emit = true): void {\n if (value) {\n const { alphaChannel } = this;\n const normalized = normalizeHex(value, alphaChannel, alphaChannel);\n\n if (isValidHex(normalized, alphaChannel)) {\n const { internalColor: currentColor } = this;\n const nextColor = Color(normalized);\n const normalizedLonghand = normalizeHex(hexify(nextColor, alphaChannel), alphaChannel);\n\n const changed =\n !currentColor ||\n normalizedLonghand !== normalizeHex(hexify(currentColor, alphaChannel), alphaChannel);\n\n this.internalColor = nextColor;\n this.previousNonNullValue = normalizedLonghand;\n this.value = normalizedLonghand;\n\n if (changed && emit) {\n this.calciteColorPickerHexInputChange.emit();\n }\n\n return;\n }\n } else if (this.allowEmpty) {\n this.internalColor = null;\n this.value = null;\n\n if (emit) {\n this.calciteColorPickerHexInputChange.emit();\n }\n\n return;\n }\n\n this.value = oldValue;\n }\n\n private storeHexInputRef = (node: HTMLCalciteInputTextElement): void => {\n this.hexInputNode = node;\n };\n\n private storeOpacityInputRef = (node: HTMLCalciteInputNumberElement): void => {\n this.opacityInputNode = node;\n };\n\n private formatHexForInternalInput(hex: string): string {\n return hex ? hex.replace(\"#\", \"\").slice(0, 6) : \"\";\n }\n\n private formatOpacityForInternalInput(color: Color): string {\n return color ? `${alphaToOpacity(color.alpha())}` : \"\";\n }\n\n private nudgeRGBChannels(color: Color, amount: number, context: \"rgb\" | \"a\"): Color {\n let nudgedChannels: Channels;\n const channels = color.array();\n const rgbChannels = channels.slice(0, 3);\n\n if (context === \"rgb\") {\n const nudgedRGBChannels = rgbChannels.map((channel) => channel + amount);\n nudgedChannels = [\n ...nudgedRGBChannels,\n this.alphaChannel ? channels[3] : undefined,\n ] as Channels;\n } else {\n const nudgedAlpha = opacityToAlpha(alphaToOpacity(color.alpha()) + amount);\n nudgedChannels = [...rgbChannels, nudgedAlpha] as Channels;\n }\n\n return Color(nudgedChannels);\n }\n}\n","export const CSS = {\n swatch: \"swatch\",\n noColorSwatch: \"swatch--no-color\",\n checker: \"checker\",\n};\n\nexport const COLORS = {\n borderLight: \"rgba(0, 0, 0, 0.3)\",\n borderDark: \"rgba(255, 255, 255, 0.15)\",\n};\n\nconst checkerSquareSize = 4;\n\nexport const CHECKER_DIMENSIONS = {\n squareSize: checkerSquareSize,\n size: checkerSquareSize * 2,\n};\n","$size-s: 20px;\n$size-m: 24px;\n$size-l: 28px;\n\n:host {\n @apply relative inline-flex;\n}\n\n:host([scale=\"s\"]) {\n @apply h-5 w-5;\n}\n\n:host([scale=\"m\"]) {\n @apply h-6 w-6;\n}\n\n:host([scale=\"l\"]) {\n @apply h-8 w-8;\n}\n\n.swatch {\n @apply overflow-hidden;\n block-size: inherit;\n inline-size: inherit;\n\n rect {\n @apply transition-all duration-150 ease-in-out;\n }\n}\n\n.swatch--no-color {\n rect {\n fill: var(--calcite-color-foreground-1);\n }\n\n line {\n stroke: var(--calcite-color-status-danger);\n }\n}\n\n.checker {\n fill: #cacaca;\n}\n\n@include base-component();\n","import { Component, Element, Fragment, h, Prop, VNode, Watch } from \"@stencil/core\";\nimport Color from \"color\";\nimport { getModeName } from \"../../utils/dom\";\nimport { Scale } from \"../interfaces\";\nimport { hexify } from \"../color-picker/utils\";\nimport { CHECKER_DIMENSIONS, COLORS, CSS } from \"./resources\";\n\n@Component({\n tag: \"calcite-color-picker-swatch\",\n styleUrl: \"color-picker-swatch.scss\",\n shadow: true,\n})\nexport class ColorPickerSwatch {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, the component is active.\n */\n @Prop({\n reflect: true,\n })\n active = false;\n\n /**\n * The color value.\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value\n */\n @Prop()\n color: string | null;\n\n @Watch(\"color\")\n handleColorChange(color: string | null): void {\n this.internalColor = color ? Color(color) : null;\n }\n\n /**\n * Specifies the size of the component.\n */\n @Prop({\n reflect: true,\n })\n scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteColorPickerSwatchElement;\n\n private internalColor: Color;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n this.handleColorChange(this.color);\n }\n\n render(): VNode {\n const isEmpty = !this.internalColor;\n const classes = {\n [CSS.swatch]: true,\n [CSS.noColorSwatch]: isEmpty,\n };\n\n return (\n <svg class={classes} xmlns=\"http://www.w3.org/2000/svg\">\n {this.renderSwatch()}\n </svg>\n );\n }\n\n renderSwatch(): VNode {\n const { active, el, internalColor } = this;\n const borderRadius = active ? \"100%\" : \"0\";\n const theme = getModeName(el);\n const borderColor = theme === \"light\" ? COLORS.borderLight : COLORS.borderDark;\n const commonSwatchProps = {\n height: \"100%\",\n rx: borderRadius,\n stroke: borderColor,\n\n // stroke-width and clip-path are needed to hide overflowing portion of stroke\n // see https://stackoverflow.com/a/7273346/194216\n\n // using attribute to work around Stencil using the prop name vs the attribute when rendering\n [\"stroke-width\"]: \"2\",\n width: \"100%\",\n };\n\n const isEmpty = !internalColor;\n\n if (isEmpty) {\n return (\n <Fragment>\n <clipPath id=\"shape\">\n <rect height=\"100%\" rx={borderRadius} width=\"100%\" />\n </clipPath>\n <rect\n clip-path={`inset(0 round ${borderRadius})`}\n rx={borderRadius}\n {...commonSwatchProps}\n />\n <line clip-path=\"url(#shape)\" stroke-width=\"3\" x1=\"100%\" x2=\"0\" y1=\"0\" y2=\"100%\" />\n </Fragment>\n );\n }\n\n const alpha = internalColor.alpha();\n const hex = hexify(internalColor);\n const hexa = hexify(internalColor, alpha < 1);\n\n return (\n <Fragment>\n <title>{hexa}</title>\n <defs>\n <pattern\n height={CHECKER_DIMENSIONS.size}\n id=\"checker\"\n patternUnits=\"userSpaceOnUse\"\n width={CHECKER_DIMENSIONS.size}\n x=\"0\"\n y=\"0\"\n >\n <rect\n class={CSS.checker}\n height={CHECKER_DIMENSIONS.squareSize}\n width={CHECKER_DIMENSIONS.squareSize}\n x=\"0\"\n y=\"0\"\n />\n <rect\n class={CSS.checker}\n height={CHECKER_DIMENSIONS.squareSize}\n width={CHECKER_DIMENSIONS.squareSize}\n x={CHECKER_DIMENSIONS.squareSize}\n y={CHECKER_DIMENSIONS.squareSize}\n />\n </pattern>\n </defs>\n <rect fill=\"url(#checker)\" height=\"100%\" rx={borderRadius} width=\"100%\" />\n <rect\n fill={hex}\n style={{\n \"clip-path\":\n alpha < 1 ? \"polygon(100% 0, 0 0, 0 100%)\" : `inset(0 round ${borderRadius})`,\n }}\n {...commonSwatchProps}\n />\n {alpha < 1 ? (\n <rect\n fill={hexa}\n key=\"opacity-fill\"\n style={{ \"clip-path\": \"polygon(100% 0, 100% 100%, 0 100%)\" }}\n {...commonSwatchProps}\n />\n ) : null}\n </Fragment>\n );\n }\n}\n"],"mappings":";;;;;qxBAAA,MAAMA,GAAiB,4zHACvB,MAAAC,GAAeD,GCgFf,MAAME,GAAuB,G,MAQhBC,GAAW,M,6JAkPdC,KAAAC,2BAAiF,KAEjFD,KAAAE,0BAAqC,MAIrCF,KAAAG,KAAsBC,EAAaC,IAQnCL,KAAAM,0BAA4B,EAE5BN,KAAAO,wBAAgD,KAuDhDP,KAAAQ,kBAAqBC,IAC3BT,KAAKU,YAAeD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R,OAAO,OAAO6Z,GAAIL,EAAczZ,MAAM,SACjEY,EAAA,QACE+Q,KAAM9V,EACNqH,MAAO,CACL,YACEuC,EAAQ,EAAI,+BAAiC,iBAAiBgU,SAE9DI,IAELpU,EAAQ,EACP7E,EAAA,QACE+Q,KAAMgE,EACNxb,IAAI,eACJ+I,MAAO,CAAE,YAAa,yCAClB2W,IAEJ,K","ignoreList":[]}
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v2.12.0
5
- */
6
- import{r as t,h as e,H as i,g as o,c as n,e as s,F as a}from"./p-e7104b8d.js";import{C as c,s as r,k as l,g as d,D as h,t as b,H as f}from"./p-27ab49c7.js";import{g as u}from"./p-6f580f9d.js";import{a as p,b as v,d as g}from"./p-76bb7115.js";import{c as m}from"./p-9a2f96d2.js";import{c as k,d as x}from"./p-29c291d1.js";import{c as y,s as w,d as T,u as z}from"./p-c60c7e01.js";import{C}from"./p-56bab01f.js";import{c as I,d as S,I as H,u as A}from"./p-8f8cbbc7.js";import{g as L}from"./p-cbed8c79.js";import{i as j}from"./p-3c4fe54e.js";import"./p-c473b37c.js";const B={container:"container",content:"content"};const W=":host([selected]) section,:host([selected]) .container{display:block}:host{display:none;block-size:100%;inline-size:100%}:host([selected]){display:block;block-size:100%;inline-size:100%;overflow:auto}.content{box-sizing:border-box;padding-block:var(--calcite-internal-tab-content-block-padding)}.scale-s{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.25rem);font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.5rem);font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.625rem);font-size:var(--calcite-font-size-0);line-height:1.25rem}section,.container{display:none;block-size:100%;inline-size:100%}.container{outline-color:transparent}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([hidden]){display:none}[hidden]{display:none}";const F=W;const E=class{constructor(e){t(this,e);this.guid=`calcite-tab-title-${u()}`;this.tab=undefined;this.selected=false;this.scale="m";this.labeledBy=undefined}render(){const t=this.el.id||this.guid;return e(i,{key:"781e0b82d69d7ea6b2bd6e15ed0d1c5248f24d05","aria-labelledby":this.labeledBy,id:t},e("div",{key:"58a6be23b29e8bee598ecf0cd97ef0578fd4e197",class:{[B.container]:true,[`scale-${this.scale}`]:true},role:"tabpanel",tabIndex:this.selected?0:-1},e("section",{key:"fbff1dec6ca2494f2485528679c14b4b0741abd8",class:B.content},e("slot",{key:"fc52db6fd58bd87f137e887837df5c08772809a3"}))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){const e=t.composedPath().find((t=>t.tagName==="CALCITE-TABS"));if(e!==this.parentTabsEl){return}if(this.tab){this.selected=this.tab===t.detail.tab}else{this.getTabIndex().then((e=>{this.selected=e===t.detail.tab}))}t.stopPropagation()}async getTabIndex(){return Array.prototype.indexOf.call(c(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],e=[]){this.labeledBy=e[t.indexOf(this.el.id)]||null}get el(){return o(this)}};E.style=F;const O={chevronRight:"chevron-right",chevronLeft:"chevron-left"};const R={container:"tab-nav",containerHasEndTabTitleOverflow:"tab-nav--end-overflow",containerHasStartTabTitleOverflow:"tab-nav--start-overflow",scrollButton:"scroll-button",scrollButtonContainer:"scroll-button-container",scrollBackwardContainerButton:"scroll-button-container--backward",scrollForwardContainerButton:"scroll-button-container--forward",tabTitleSlotWrapper:"tab-titles-slot-wrapper"};const D=':host{--calcite-internal-tab-nav-gradient-start-side:left;--calcite-internal-tab-nav-gradient-end-side:right;position:relative;display:flex}.scale-s{--calcite-internal-tab-nav-scroller-button-width:24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-scroller-button-width:32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-scroller-button-width:44px;min-block-size:2.75rem}.calcite--rtl{--calcite-internal-tab-nav-gradient-start-side:right;--calcite-internal-tab-nav-gradient-end-side:left}.tab-nav--start-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--end-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--start-overflow.tab-nav--end-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%)}.tab-nav::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap:var(--calcite-size-xxl)}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap:var(--calcite-size-xl)}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap:var(--calcite-size-lg)}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-spacing-xxl)}.tab-nav,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;overflow:hidden;white-space:nowrap}.scroll-button-container{position:absolute;inset-block:0px}.scroll-button-container calcite-button{--calcite-offset-invert-focus:1;--calcite-color-text-1:var(--calcite-color-text-3);block-size:100%}.scroll-button-container calcite-button:hover{--calcite-color-text-1:unset;--calcite-color-foreground-1:var(--calcite-color-transparent-hover);--calcite-color-foreground-3:var(--calcite-color-transparent)}.scroll-button-container--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button-container--backward{inset-inline-start:0;z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button-container--backward::before,:host(:not([bordered])) .scroll-button-container--forward::before{background-color:var(--calcite-color-border-3);content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute}:host(:not([bordered])) .scroll-button-container--backward::before{inset-inline-end:0}:host(:not([bordered])) .scroll-button-container--forward::before{inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}';const P=D;const $=class{constructor(i){t(this,i);this.calciteTabChange=n(this,"calciteTabChange",6);this.calciteInternalTabNavSlotChange=n(this,"calciteInternalTabNavSlotChange",7);this.calciteInternalTabChange=n(this,"calciteInternalTabChange",6);this.effectiveDir="ltr";this.lastScrollWheelAxis="x";this.resizeObserver=m("resize",(()=>{this.updateScrollingState()}));this.onTabTitleWheel=t=>{t.preventDefault();const{deltaX:e,deltaY:i}=t;const o=Math.abs(e);const n=Math.abs(i);let s;if(o===n){s=this.lastScrollWheelAxis==="x"?e:i}else if(o>n){s=e;this.lastScrollWheelAxis="x"}else{s=i;this.lastScrollWheelAxis="y"}const a=(this.effectiveDir==="rtl"?-1:1)*s;t.currentTarget.scrollBy(a,0)};this.onSlotChange=t=>{this.intersectionObserver?.disconnect();const e=r(t,"calcite-tab-title");e.forEach((t=>{this.intersectionObserver?.observe(t)}));this.calciteInternalTabNavSlotChange.emit(e)};this.storeTabTitleWrapperRef=t=>{this.tabTitleContainerEl=t;this.intersectionObserver=m("intersection",(()=>this.updateScrollingState()),{root:t,threshold:[0,.5,1]})};this.scrollToTabTitles=t=>{s((()=>{const e=this.tabTitleContainerEl;const i=e.getBoundingClientRect();const o=Array.from(this.el.querySelectorAll("calcite-tab-title"));const{effectiveDir:n}=this;if(t==="forward"){o.reverse()}let s=null;o.forEach((e=>{const o=e.getBoundingClientRect();const a=i.x+i.width;const c=o.x+o.width;if(t==="forward"&&n==="ltr"||t==="backward"&&n==="rtl"){const t=o.x>a;if(t){s=e}else{const t=c>a&&o.x>i.x;if(t){s=e}}}else{const t=c<i.x;if(t){s=e}else{const t=c<a&&o.x<i.x;if(t){s=e}}}}));if(s){const{scrollerButtonWidth:i}=this;const o=t==="forward"&&n==="ltr"||t==="backward"&&n==="rtl"?-i:s.offsetWidth-e.clientWidth+i;const a=s.offsetLeft+o;e.scrollTo({left:a,behavior:"smooth"})}}))};this.scrollToNextTabTitles=()=>this.scrollToTabTitles("forward");this.scrollToPreviousTabTitles=()=>this.scrollToTabTitles("backward");this.handleTabFocus=(t,e,i)=>{const o=l(this.enabledTabTitles,e,i);this.scrollTabTitleIntoView(o,"instant");t.stopPropagation()};this.onTabTitleScroll=()=>{this.updateScrollingState()};this.renderScrollButton=t=>{const{bordered:i,messages:o,hasOverflowingStartTabTitle:n,hasOverflowingEndTabTitle:s,scale:a}=this;const c=t==="end";return e("div",{class:{[R.scrollButtonContainer]:true,[R.scrollBackwardContainerButton]:!c,[R.scrollForwardContainerButton]:c},hidden:c&&!s||!c&&!n,key:t},e("calcite-button",{appearance:i?"outline-fill":"transparent","aria-label":c?o.nextTabTitles:o.previousTabTitles,class:{[R.scrollButton]:true},iconFlipRtl:"both",iconStart:c?O.chevronRight:O.chevronLeft,kind:"neutral",onClick:c?this.scrollToNextTabTitles:this.scrollToPreviousTabTitles,scale:a,tabIndex:-1}))};this.storageId=undefined;this.syncId=undefined;this.selectedTitle=null;this.scale="m";this.layout="inline";this.position="bottom";this.bordered=false;this.messages=undefined;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.hasOverflowingStartTabTitle=false;this.hasOverflowingEndTabTitle=false;this.selectedTabId=undefined}selectedTitleChanged(){this.calciteInternalTabChange.emit({tab:this.selectedTabId})}onMessagesChange(){}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs");this.resizeObserver?.observe(this.el);k(this);y(this)}async componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const e=JSON.parse(localStorage.getItem(t));this.selectedTabId=e}await w(this)}componentDidLoad(){this.scrollTabTitleIntoView(this.selectedTitle,"instant")}componentWillRender(){const{parentTabsEl:t}=this;this.layout=t?.layout;this.bordered=t?.bordered;this.effectiveDir=d(this.el)}componentDidRender(){if(this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId){this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}}disconnectedCallback(){this.resizeObserver?.disconnect();x(this);T(this)}render(){return e(i,{key:"e2e130cc399d8bb88201f283de2eef17a46882fc",role:"tablist"},e("div",{key:"2beae02bec71c759201063e4820ce19cacd1c432",class:{[R.container]:true,[R.containerHasStartTabTitleOverflow]:!!this.hasOverflowingStartTabTitle,[R.containerHasEndTabTitleOverflow]:!!this.hasOverflowingEndTabTitle,[`scale-${this.scale}`]:true,[`position-${this.position}`]:true,[C.rtl]:this.effectiveDir==="rtl"}},this.renderScrollButton("start"),e("div",{key:"609a5b8efc1bd46810217ab17256aaad7432586b",class:{[R.tabTitleSlotWrapper]:true},onScroll:this.onTabTitleScroll,onWheel:this.onTabTitleWheel,ref:this.storeTabTitleWrapperRef},e("slot",{key:"7436f2fcacf2b483a77c741a2449f783c9c4c148",onSlotchange:this.onSlotChange})),this.renderScrollButton("end")))}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){const e=t.target;this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(e);t.stopPropagation();this.selectedTitle=e;this.scrollTabTitleIntoView(e)}scrollTabTitleIntoView(t,e="smooth"){if(!t){return}s((()=>{const i=this.effectiveDir==="ltr";const o=this.tabTitleContainerEl;const n=o.getBoundingClientRect();const s=t.getBoundingClientRect();const a=o.scrollLeft;const c=i?this.hasOverflowingStartTabTitle:this.hasOverflowingEndTabTitle;const r=i?this.hasOverflowingEndTabTitle:this.hasOverflowingStartTabTitle;if(s.left<n.left+(c?this.scrollerButtonWidth:0)){const t=a+(s.left-n.left)-this.scrollerButtonWidth;o.scrollTo({left:t,behavior:e})}else if(s.right>n.right-(r?this.scrollerButtonWidth:0)){const t=a+(s.right-n.right)+this.scrollerButtonWidth;o.scrollTo({left:t,behavior:e})}}))}activateTabHandler(t){this.calciteTabChange.emit();t.stopPropagation()}internalCloseTabHandler(t){const e=t.target;this.handleTabTitleClose(e);t.stopPropagation()}async updateTabTitles(t){if(t.target.selected){this.selectedTabId=t.detail;this.selectedTitle=await this.getTabTitleById(this.selectedTabId)}}globalInternalTabChangeHandler(t){if(this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab){this.selectedTabId=t.detail.tab}t.stopPropagation()}effectiveLocaleChange(){z(this,this.effectiveLocale)}async selectedTabIdChanged(){if(localStorage&&this.storageId&&this.selectedTabId!==undefined&&this.selectedTabId!==null){localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId))}this.calciteInternalTabChange.emit({tab:this.selectedTabId})}get scrollerButtonWidth(){const{scale:t}=this;return parseInt(t==="s"?p:t==="m"?v:g)}updateScrollingState(){const t=this.tabTitleContainerEl;if(!t){return}let e;let i;const o=t.scrollLeft;const n=t.clientWidth;const s=t.scrollWidth;if(this.effectiveDir==="ltr"){e=o>0;i=o+n<s}else{e=o<0;i=o!==-(s-n)}this.hasOverflowingStartTabTitle=e;this.hasOverflowingEndTabTitle=i}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((e=>this.tabTitles[e.indexOf(t)]))}get tabTitles(){return h(this.el,"calcite-tab-title")}get enabledTabTitles(){return h(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this;const i=t.selected;const o=e.reduce(((t,e,i)=>!e.closed?[...t,i]:t),[]);const n=o.length;if(n===1&&e[o[0]].closable){e[o[0]].closable=false;this.selectedTabId=o[0];if(i){e[o[0]].activateTab()}}else if(n>1){const i=e.findIndex((e=>e===t));const s=o.find((t=>t>i));if(this.selectedTabId===i){this.selectedTabId=s?s:n-1;e[this.selectedTabId].activateTab()}}requestAnimationFrame((()=>{e[this.selectedTabId].focus()}))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selectedTitle:["selectedTitleChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],selectedTabId:["selectedTabIdChanged"]}}};$.style=P;const N={closeButton:"close-button",container:"container",containerBottom:"container--bottom",content:"content",contentHasText:"content--has-text",iconEnd:"icon-end",iconPresent:"icon-present",iconStart:"icon-start",titleIcon:"calcite-tab-title--icon",scale:t=>`scale-${t}`,selectedIndicator:"selected-indicator"};const M={close:"x"};const _=':host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{position:relative;margin-block-end:0.125rem;box-sizing:border-box;display:flex;block-size:100%;align-items:center;justify-content:center}.scale-s .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}.scale-s .close-button{inline-size:1.25rem}.scale-m .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}.scale-m .close-button{inline-size:1.75rem}.scale-l .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.scale-l .close-button{inline-size:2rem}:host([closable]) .content{border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:0.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.selected-indicator{position:absolute;display:block;block-size:0.125rem;inline-size:100%;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;inline-size:100%}.container--bottom .selected-indicator{inset-block-end:unset;inset-block-start:0}:host([bordered]) .selected-indicator{inset-block-start:0;inset-block-end:unset;inset-inline-start:-1px;inset-inline-end:0;inline-size:calc(100% + var(--calcite-spacing-base))}:host([bordered]) .container:not(.container--bottom){border-block-end:1px solid transparent}:host([bordered]:not([selected]):hover) .container:not(.container--bottom){border-block-end:1px solid var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .selected-indicator{background-color:var(--calcite-color-foreground-2)}:host([bordered]:not([selected]):hover:not(:focus)) .container:not(.container--bottom) .selected-indicator{box-shadow:inset 0 1px var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .container.container--bottom .selected-indicator{box-shadow:inset 0 -1px var(--calcite-color-border-1)}:host([bordered][selected]) .container::after{position:absolute;display:block;block-size:0.125rem;inline-size:100%;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-block-end:-1px;inset-inline-start:0;inset-inline-end:0;inline-size:100%;background:var(--calcite-color-foreground-1);content:""}:host([bordered][selected]) .container.container--bottom::after{inset-block-start:-1px}:host([bordered][selected]:hover) .container::after{background:var(--calcite-color-foreground-2)}:host([bordered][selected]:focus) .container::after{background:transparent}:host([bordered]) .container--bottom .selected-indicator{inset-block-start:unset;inset-block-end:0}:host([selected]) .selected-indicator,:host([selected]:hover) .selected-indicator{background-color:var(--calcite-color-brand)}:host(:hover) .selected-indicator{background-color:var(--calcite-color-border-3)}:host(:focus) .selected-indicator,:host(:active) .selected-indicator{background-color:var(--calcite-color-brand)}@media (forced-colors: active){.selected-indicator{background-color:highlight}}:host([closed]){display:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-color-text-1)}:host(:focus) .container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-color-border-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.content--has-text{padding:0.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:var(--calcite-spacing-sm)}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:var(--calcite-spacing-sm)}.close-button{display:flex;block-size:100%;cursor:pointer;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-start:var(--calcite-spacing-sm);margin-inline-end:var(--calcite-spacing-px);block-size:calc(100% - var(--calcite-spacing-xxs))}.close-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand))}.close-button:focus,.close-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button:active{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button calcite-icon{color:inherit}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:var(--calcite-spacing-sm)}:host([bordered]) .container:not(.container--bottom) .close-button{block-size:calc(100% - var(--calcite-spacing-px));margin-block-start:-1px}:host([bordered]) .container .close-button calcite-icon{margin-block-start:var(--calcite-spacing-px)}:host([bordered]) .container .close-button:focus,:host([bordered]) .container .close-button:hover,:host([bordered]) .container .close-button:active{box-shadow:0 2px 0 0 var(--calcite-color-foreground-3)}:host([bordered]) .container.container--bottom .close-button{box-shadow:0 -2px 0 0 transparent}:host([bordered]) .container.container--bottom .close-button calcite-icon{margin-block-end:var(--calcite-spacing-px)}:host([bordered]) .container.container--bottom .close-button:focus,:host([bordered]) .container.container--bottom .close-button:hover,:host([bordered]) .container.container--bottom .close-button:active{box-shadow:0 -2px 0 0 var(--calcite-color-foreground-3)}:host([bordered][selected]){box-shadow:inset 0 -1px var(--calcite-color-foreground-1)}:host([bordered]:not([selected])) .container .close-button{box-shadow:0 2px 0 0 transparent}:host([bordered]:hover) .container{background-color:var(--calcite-color-foreground-2)}:host([bordered]) .container{border-inline:var(--calcite-spacing-px) solid transparent}:host([selected][bordered]) .container{border-inline-color:var(--calcite-color-border-1)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:0.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:0.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered]) .container{border-block-end-style:solid}:host([bordered]) .container--bottom{border-block-start-style:solid}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][selected]) .container--bottom{border-block-start-style:none}.close-button{z-index:var(--calcite-z-index)}}:host([hidden]){display:none}[hidden]{display:none}';const q=_;const J=class{constructor(e){t(this,e);this.calciteTabsActivate=n(this,"calciteTabsActivate",6);this.calciteInternalTabsActivate=n(this,"calciteInternalTabsActivate",6);this.calciteTabsClose=n(this,"calciteTabsClose",6);this.calciteInternalTabsClose=n(this,"calciteInternalTabsClose",6);this.calciteInternalTabsFocusNext=n(this,"calciteInternalTabsFocusNext",6);this.calciteInternalTabsFocusPrevious=n(this,"calciteInternalTabsFocusPrevious",6);this.calciteInternalTabsFocusFirst=n(this,"calciteInternalTabsFocusFirst",6);this.calciteInternalTabsFocusLast=n(this,"calciteInternalTabsFocusLast",6);this.calciteInternalTabTitleRegister=n(this,"calciteInternalTabTitleRegister",6);this.calciteInternalTabIconChanged=n(this,"calciteInternalTabIconChanged",6);this.closeClickHandler=()=>{this.closeTabTitleAndNotify()};this.mutationObserver=m("mutation",(()=>this.updateHasText()));this.resizeObserver=m("resize",(()=>{this.calciteInternalTabIconChanged.emit()}));this.guid=`calcite-tab-title-${u()}`;this.selected=false;this.closable=false;this.closed=false;this.disabled=false;this.iconEnd=undefined;this.iconFlipRtl=undefined;this.iconStart=undefined;this.layout=undefined;this.position="top";this.scale="m";this.bordered=false;this.tab=undefined;this.messages=undefined;this.messageOverrides=undefined;this.controls=undefined;this.defaultMessages=undefined;this.effectiveLocale=undefined;this.hasText=false}selectedHandler(){if(this.selected){this.activateTab(false)}}onMessagesChange(){}connectedCallback(){I(this);k(this);y(this);this.setupTextContentObserver();this.parentTabNavEl=this.el.closest("calcite-tab-nav");this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){this.mutationObserver?.disconnect();document.body?.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}));this.resizeObserver?.disconnect();S(this);x(this);T(this)}async componentWillLoad(){await w(this);if(j()){this.updateHasText()}if(this.tab&&this.selected){this.activateTab(false)}}componentWillRender(){if(this.parentTabsEl){this.layout=this.parentTabsEl.layout;this.bordered=this.parentTabsEl.bordered}}render(){const{el:t,closed:o}=this;const n=t.id||this.guid;const s=e("calcite-icon",{key:"20ea18dabdb4cabe8a032d0799f3c757bc90c91d",class:{[N.titleIcon]:true,[N.iconStart]:true},flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:L(this.scale)});const a=e("calcite-icon",{key:"ebd3913a334a959e8962addd45e5077ee82f2ca8",class:{[N.titleIcon]:true,[N.iconEnd]:true},flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:L(this.scale)});return e(i,{key:"58a72fa4a6e961c3414dfe224a4e235892784707","aria-controls":this.controls,"aria-selected":b(this.selected),id:n,role:"tab",tabIndex:this.selected&&!this.disabled?0:-1},e(H,{key:"fe7662ade3001579b664772b4672d6bebd06a82b",disabled:this.disabled},e("div",{key:"ea226b71436922de6bae2e8e542ae0adf08add1b",class:{[N.container]:true,[N.containerBottom]:this.position==="bottom",[N.iconPresent]:!!this.iconStart||!!this.iconEnd,[N.scale(this.scale)]:true},hidden:o,ref:t=>this.resizeObserver?.observe(t)},e("div",{key:"737609daa04d9dc18b46872c49b82cf211ba9b5a",class:{[N.content]:true,[N.contentHasText]:this.hasText}},this.iconStart?s:null,e("slot",{key:"fb500a910e5c6bfcd8571e2d109331dd88f2544d"}),this.iconEnd?a:null),this.renderCloseButton(),e("div",{key:"3fd13c6f459e05cea88c40809b7220369866a2b9",class:N.selectedIndicator}))))}renderCloseButton(){const{closable:t,messages:i}=this;return t?e("button",{"aria-label":i.close,class:N.closeButton,disabled:false,key:N.closeButton,onClick:this.closeClickHandler,ref:t=>this.closeButtonEl=t,title:i.close,type:"button"},e("calcite-icon",{icon:M.close,scale:L(this.scale)})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){A(this)}internalTabChangeHandler(t){const e=t.composedPath().find((t=>t.tagName==="CALCITE-TABS"));if(e!==this.parentTabsEl){return}if(this.tab){this.selected=this.tab===t.detail.tab}else{this.getTabIndex().then((e=>{this.selected=e===t.detail.tab}))}t.stopPropagation()}onClick(){this.activateTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":if(!t.composedPath().includes(this.closeButtonEl)){this.activateTab();t.preventDefault()}break;case"ArrowRight":t.preventDefault();if(d(this.el)==="ltr"){this.calciteInternalTabsFocusNext.emit()}else{this.calciteInternalTabsFocusPrevious.emit()}break;case"ArrowLeft":t.preventDefault();if(d(this.el)==="ltr"){this.calciteInternalTabsFocusPrevious.emit()}else{this.calciteInternalTabsFocusNext.emit()}break;case"Home":t.preventDefault();this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault();this.calciteInternalTabsFocusLast.emit();break}}async getTabIndex(){return Array.prototype.indexOf.call(c(this.el.parentElement.children).filter((t=>t.matches("calcite-tab-title"))),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],e=[]){this.controls=t[e.indexOf(this.el.id)]||null}async activateTab(t=true){if(this.disabled||this.closed){return}const e={tab:this.tab};this.calciteInternalTabsActivate.emit(e);if(t){requestAnimationFrame((()=>this.calciteTabsActivate.emit()))}}effectiveLocaleChange(){z(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true})}closeTabTitleAndNotify(){this.closed=true;this.calciteInternalTabsClose.emit({tab:this.tab});this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};J.style=q;const U={titleGroup:"title-group"};const G=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1), inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}";const V=G;const X=class{constructor(e){t(this,e);this.defaultSlotChangeHandler=t=>{this.tabs=r(t,"calcite-tab")};this.setDefaultSlotRef=t=>this.slotEl=t;this.layout="inline";this.position="top";this.scale="m";this.bordered=false;this.titles=[];this.tabs=[]}handleInheritableProps(){this.updateItems()}calciteInternalTabNavSlotChangeHandler(t){t.stopPropagation();if(t.detail.length!==this.titles.length){this.titles=t.detail}}titlesWatcher(){this.updateAriaSettings();this.updateItems()}tabsWatcher(){this.updateAriaSettings();this.updateItems()}async updateAriaSettings(){let t;let e;const i=f(this.slotEl,"calcite-tab");if(i.some((t=>t.tab))||this.titles.some((t=>t.tab))){t=i.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id));e=this.titles.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id))}else{const o=await Promise.all(i.map((t=>t.getTabIndex())));const n=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=o.reduce(((t,e,o)=>{t[e]=i[o].id;return t}),[]);e=n.reduce(((t,e,i)=>{t[e]=this.titles[i].id;return t}),[])}i.forEach((i=>i.updateAriaInfo(t,e)));this.titles.forEach((i=>i.updateAriaInfo(t,e)))}updateItems(){const{position:t,scale:e}=this;const i=this.el.querySelector("calcite-tab-nav");if(i){i.position=t;i.scale=e}Array.from(this.el.querySelectorAll("calcite-tab")).forEach((t=>{if(t.parentElement===this.el){t.scale=e}}));Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach((i=>{i.position=t;i.scale=e}))}connectedCallback(){this.updateItems()}async componentWillLoad(){this.updateItems()}disconnectedCallback(){}render(){return e(a,{key:"300872682f4f969586b06b6bbfa5cccb5a005e03"},e("slot",{key:"9b8c09c2f93725349a98d13fb0167c88b82ef413",name:U.titleGroup}),e("section",{key:"bf1b19251ca8ab3ba4c3c3fa15995889d71d9355"},e("slot",{key:"e1008e065225b4f0cb1b4fbe2ec91ab761db1144",onSlotchange:this.defaultSlotChangeHandler,ref:this.setDefaultSlotRef})))}get el(){return o(this)}static get watchers(){return{position:["handleInheritableProps"],scale:["handleInheritableProps"],titles:["titlesWatcher"],tabs:["tabsWatcher"]}}};X.style=V;export{E as calcite_tab,$ as calcite_tab_nav,J as calcite_tab_title,X as calcite_tabs};
7
- //# sourceMappingURL=p-6de921a8.entry.js.map