@esri/calcite-components 2.4.1-next.0 → 2.5.0-next.0

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 (2247) hide show
  1. package/dist/.storybook/placeholderImage.js +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.esm.js.map +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/p-019644cf.entry.js +7 -0
  6. package/dist/calcite/p-019644cf.entry.js.map +1 -0
  7. package/dist/calcite/p-02a1bdc0.entry.js +7 -0
  8. package/dist/calcite/p-02a1bdc0.entry.js.map +1 -0
  9. package/dist/calcite/p-035a5711.entry.js +7 -0
  10. package/dist/calcite/p-035a5711.entry.js.map +1 -0
  11. package/dist/calcite/p-04bf9ee0.js +7 -0
  12. package/dist/calcite/p-04dde108.entry.js +7 -0
  13. package/dist/calcite/p-04dde108.entry.js.map +1 -0
  14. package/dist/calcite/p-072db029.entry.js +7 -0
  15. package/dist/calcite/p-072db029.entry.js.map +1 -0
  16. package/dist/calcite/p-077adace.js +7 -0
  17. package/dist/calcite/p-0a12bc37.entry.js +7 -0
  18. package/dist/calcite/p-0a12bc37.entry.js.map +1 -0
  19. package/dist/calcite/p-0aebc5e2.js +7 -0
  20. package/dist/calcite/p-0b4fc200.js +7 -0
  21. package/dist/calcite/p-0e2dd590.js +7 -0
  22. package/dist/calcite/p-0ff9607e.js +7 -0
  23. package/dist/calcite/p-11888bdf.js +7 -0
  24. package/dist/calcite/p-19e704e4.js +7 -0
  25. package/dist/calcite/p-1dd82193.entry.js +7 -0
  26. package/dist/calcite/p-1dd82193.entry.js.map +1 -0
  27. package/dist/calcite/p-1f5eabba.entry.js +7 -0
  28. package/dist/calcite/p-2222526e.entry.js +7 -0
  29. package/dist/calcite/p-2222526e.entry.js.map +1 -0
  30. package/dist/calcite/p-237e7376.js +7 -0
  31. package/dist/calcite/p-26202b48.entry.js +7 -0
  32. package/dist/calcite/p-26202b48.entry.js.map +1 -0
  33. package/dist/calcite/p-27fcee6a.entry.js +7 -0
  34. package/dist/calcite/p-27fcee6a.entry.js.map +1 -0
  35. package/dist/calcite/p-298dd034.js +7 -0
  36. package/dist/calcite/p-29a072e5.entry.js +7 -0
  37. package/dist/calcite/p-29a072e5.entry.js.map +1 -0
  38. package/dist/calcite/p-2a0f60c9.js +12 -0
  39. package/dist/calcite/p-2a7b59b3.js +7 -0
  40. package/dist/calcite/p-2aacf166.entry.js +7 -0
  41. package/dist/calcite/p-2b05e96c.js +7 -0
  42. package/dist/calcite/p-2d9e3418.js +7 -0
  43. package/dist/calcite/p-3123136c.js +7 -0
  44. package/dist/calcite/p-32bc822f.entry.js +7 -0
  45. package/dist/calcite/p-32bc822f.entry.js.map +1 -0
  46. package/dist/calcite/p-33841700.entry.js +7 -0
  47. package/dist/calcite/p-33841700.entry.js.map +1 -0
  48. package/dist/calcite/p-3422647c.entry.js +7 -0
  49. package/dist/calcite/p-3422647c.entry.js.map +1 -0
  50. package/dist/calcite/p-3623f210.entry.js +7 -0
  51. package/dist/calcite/p-3ac4588f.js +7 -0
  52. package/dist/calcite/p-3b31b276.entry.js +7 -0
  53. package/dist/calcite/p-3b31b276.entry.js.map +1 -0
  54. package/dist/calcite/p-3bb81127.js +7 -0
  55. package/dist/calcite/p-3c28fe95.entry.js +7 -0
  56. package/dist/calcite/p-3c28fe95.entry.js.map +1 -0
  57. package/dist/calcite/p-3c675720.js +7 -0
  58. package/dist/calcite/p-3daa9bb9.entry.js +7 -0
  59. package/dist/calcite/p-3daa9bb9.entry.js.map +1 -0
  60. package/dist/calcite/p-44f8178d.entry.js +7 -0
  61. package/dist/calcite/p-45af6cec.js +7 -0
  62. package/dist/calcite/p-45b93e33.js +7 -0
  63. package/dist/calcite/p-4ef1e399.js +7 -0
  64. package/dist/calcite/p-4f9c0e55.entry.js +7 -0
  65. package/dist/calcite/p-50ee23bf.js +7 -0
  66. package/dist/calcite/p-533c97f3.entry.js +7 -0
  67. package/dist/calcite/p-53cd0d17.js +7 -0
  68. package/dist/calcite/p-5713e697.js +11 -0
  69. package/dist/calcite/p-57e80471.entry.js +7 -0
  70. package/dist/calcite/p-57f5465e.js +7 -0
  71. package/dist/calcite/p-5b80a986.js +7 -0
  72. package/dist/calcite/p-5b92b79a.js +7 -0
  73. package/dist/calcite/p-5bdc1461.js +7 -0
  74. package/dist/calcite/p-5ea2064c.js +7 -0
  75. package/dist/calcite/p-5f8136ec.entry.js +7 -0
  76. package/dist/calcite/p-5f8136ec.entry.js.map +1 -0
  77. package/dist/calcite/p-615349be.entry.js +7 -0
  78. package/dist/calcite/p-637a4752.entry.js +7 -0
  79. package/dist/calcite/p-63e0bf39.js +7 -0
  80. package/dist/calcite/p-64612172.js +7 -0
  81. package/dist/calcite/p-66df38c9.js +7 -0
  82. package/dist/calcite/p-68c9209b.js +7 -0
  83. package/dist/calcite/p-6b9a90b3.entry.js +7 -0
  84. package/dist/calcite/p-6d9ab197.entry.js +7 -0
  85. package/dist/calcite/p-6d9ab197.entry.js.map +1 -0
  86. package/dist/calcite/p-705f04ba.js +7 -0
  87. package/dist/calcite/p-70acda02.js +7 -0
  88. package/dist/calcite/p-71cec3a4.js +7 -0
  89. package/dist/calcite/p-74a91282.entry.js +7 -0
  90. package/dist/calcite/p-74a91282.entry.js.map +1 -0
  91. package/dist/calcite/p-765f7d15.entry.js +7 -0
  92. package/dist/calcite/p-78427b05.js +7 -0
  93. package/dist/calcite/p-7a32abca.js +7 -0
  94. package/dist/calcite/p-7cb32bfc.entry.js +7 -0
  95. package/dist/calcite/p-7d92fea1.js +7 -0
  96. package/dist/calcite/p-7fa28a1a.js +7 -0
  97. package/dist/calcite/p-800cad55.js +7 -0
  98. package/dist/calcite/p-829c43a1.js +7 -0
  99. package/dist/calcite/p-829de772.entry.js +7 -0
  100. package/dist/calcite/p-829de772.entry.js.map +1 -0
  101. package/dist/calcite/p-83ced345.entry.js +7 -0
  102. package/dist/calcite/p-83ced345.entry.js.map +1 -0
  103. package/dist/calcite/p-842e64a5.entry.js +7 -0
  104. package/dist/calcite/p-842e64a5.entry.js.map +1 -0
  105. package/dist/calcite/p-844c1caa.js +7 -0
  106. package/dist/calcite/p-84946655.entry.js +7 -0
  107. package/dist/calcite/p-84dc9028.entry.js +7 -0
  108. package/dist/calcite/p-84dc9028.entry.js.map +1 -0
  109. package/dist/calcite/p-88d01ffd.entry.js +7 -0
  110. package/dist/calcite/p-897e1a2e.js +7 -0
  111. package/dist/calcite/p-8a08539c.js +7 -0
  112. package/dist/calcite/p-8af41380.entry.js +7 -0
  113. package/dist/calcite/p-8d22af5c.js +7 -0
  114. package/dist/calcite/p-8fcc31af.entry.js +7 -0
  115. package/dist/calcite/p-8fcc31af.entry.js.map +1 -0
  116. package/dist/calcite/p-9020d0e6.entry.js +7 -0
  117. package/dist/calcite/p-9020d0e6.entry.js.map +1 -0
  118. package/dist/calcite/p-9111d38f.entry.js +7 -0
  119. package/dist/calcite/p-9926ee56.entry.js +7 -0
  120. package/dist/calcite/p-9926ee56.entry.js.map +1 -0
  121. package/dist/calcite/p-992cd7cf.js +7 -0
  122. package/dist/calcite/p-99d9f179.js +7 -0
  123. package/dist/calcite/p-9ac37ea4.entry.js +7 -0
  124. package/dist/calcite/p-9ac37ea4.entry.js.map +1 -0
  125. package/dist/calcite/p-9af44e5e.js +7 -0
  126. package/dist/calcite/p-9b95254f.js +7 -0
  127. package/dist/calcite/p-9e925631.js +7 -0
  128. package/dist/calcite/p-9fdae794.entry.js +7 -0
  129. package/dist/calcite/p-9fdae794.entry.js.map +1 -0
  130. package/dist/calcite/p-a2d41d34.entry.js +7 -0
  131. package/dist/calcite/p-a2d41d34.entry.js.map +1 -0
  132. package/dist/calcite/p-a38c5371.js +7 -0
  133. package/dist/calcite/p-a3f078cd.entry.js +7 -0
  134. package/dist/calcite/p-a8373b69.js +7 -0
  135. package/dist/calcite/p-a9ce2433.entry.js +7 -0
  136. package/dist/calcite/p-aa4a7aa0.js +8 -0
  137. package/dist/calcite/p-b4352ddb.js +7 -0
  138. package/dist/calcite/p-b5a512a0.js +7 -0
  139. package/dist/calcite/p-b5bd7b8f.entry.js +7 -0
  140. package/dist/calcite/p-b5bd7b8f.entry.js.map +1 -0
  141. package/dist/calcite/p-b6a3f4ed.entry.js +7 -0
  142. package/dist/calcite/p-b6a3f4ed.entry.js.map +1 -0
  143. package/dist/calcite/p-b77f3a77.js +7 -0
  144. package/dist/calcite/p-b7a70295.entry.js +7 -0
  145. package/dist/calcite/p-b80c938f.entry.js +7 -0
  146. package/dist/calcite/p-bf26a6ed.js +7 -0
  147. package/dist/calcite/p-bf4dbf61.entry.js +7 -0
  148. package/dist/calcite/p-bfab4536.js +7 -0
  149. package/dist/calcite/p-c00b8868.js +7 -0
  150. package/dist/calcite/p-c3cd2929.entry.js +7 -0
  151. package/dist/calcite/p-c5c033e0.js +7 -0
  152. package/dist/calcite/p-c5c51e20.entry.js +7 -0
  153. package/dist/calcite/p-c5f2d6dd.js +7 -0
  154. package/dist/calcite/p-c825e1d7.js +7 -0
  155. package/dist/calcite/p-c8f684b5.entry.js +7 -0
  156. package/dist/calcite/p-c8f684b5.entry.js.map +1 -0
  157. package/dist/calcite/p-cc1937fc.entry.js +7 -0
  158. package/dist/calcite/p-cc1937fc.entry.js.map +1 -0
  159. package/dist/calcite/p-cc3e3eb3.js +7 -0
  160. package/dist/calcite/p-ce0038df.entry.js +7 -0
  161. package/dist/calcite/p-cf029a29.entry.js +7 -0
  162. package/dist/calcite/p-d5c307b4.js +7 -0
  163. package/dist/calcite/p-d6c65989.js +7 -0
  164. package/dist/calcite/p-d82edf1d.js +7 -0
  165. package/dist/calcite/p-d8733db2.entry.js +7 -0
  166. package/dist/calcite/p-da0a8316.js +7 -0
  167. package/dist/calcite/p-da496453.js +13 -0
  168. package/dist/calcite/p-dd0c9b04.js +7 -0
  169. package/dist/calcite/p-de2f6d68.entry.js +7 -0
  170. package/dist/calcite/p-df41f307.entry.js +7 -0
  171. package/dist/calcite/p-e14fd58f.js +7 -0
  172. package/dist/calcite/p-e241f391.entry.js +7 -0
  173. package/dist/calcite/p-e241f391.entry.js.map +1 -0
  174. package/dist/calcite/p-e2c841ab.js +7 -0
  175. package/dist/calcite/p-e42f0886.js +7 -0
  176. package/dist/calcite/p-e666f3f7.js +7 -0
  177. package/dist/calcite/p-e8b4926d.entry.js +7 -0
  178. package/dist/calcite/p-e93e2ffb.js +7 -0
  179. package/dist/calcite/p-e95ab15f.entry.js +7 -0
  180. package/dist/calcite/p-eaa7bcc5.js +7 -0
  181. package/dist/calcite/p-ec4b4562.js +7 -0
  182. package/dist/calcite/p-ef8fc86d.js +7 -0
  183. package/dist/calcite/p-f01e9a8d.entry.js +7 -0
  184. package/dist/calcite/p-f1947cb7.entry.js +7 -0
  185. package/dist/calcite/p-f1947cb7.entry.js.map +1 -0
  186. package/dist/calcite/p-f2fc0ffb.js +7 -0
  187. package/dist/calcite/p-f4650a58.js +7 -0
  188. package/dist/calcite/p-f501737a.js +7 -0
  189. package/dist/calcite/p-f5524011.entry.js +7 -0
  190. package/dist/calcite/p-f5524011.entry.js.map +1 -0
  191. package/dist/calcite/p-f55e1078.js +7 -0
  192. package/dist/calcite/p-f5919411.js +7 -0
  193. package/dist/calcite/p-f740ae4e.js +7 -0
  194. package/dist/calcite/p-f798999b.js +7 -0
  195. package/dist/calcite/p-f9b23542.js +7 -0
  196. package/dist/calcite/p-fa0d1ed0.js +7 -0
  197. package/dist/calcite/p-fb46e1b7.js +7 -0
  198. package/dist/calcite/p-fc5a3d05.entry.js +7 -0
  199. package/dist/calcite/p-fc6f8a7a.entry.js +7 -0
  200. package/dist/calcite/p-fc6f8a7a.entry.js.map +1 -0
  201. package/dist/calcite/p-fc7d92a9.entry.js +7 -0
  202. package/dist/calcite/p-fc7d92a9.entry.js.map +1 -0
  203. package/dist/calcite/p-fedca14d.js +7 -0
  204. package/dist/calcite-preset.js +4 -4
  205. package/dist/calcite-preset.js.map +1 -1
  206. package/dist/cjs/ExpandToggle-34b031ab.js +110 -0
  207. package/dist/cjs/ExpandToggle-34b031ab.js.map +1 -0
  208. package/dist/cjs/FloatingArrow-6ca52803.js +49 -0
  209. package/dist/cjs/FloatingArrow-6ca52803.js.map +1 -0
  210. package/dist/cjs/Heading-61dce554.js +22 -0
  211. package/dist/cjs/Heading-61dce554.js.map +1 -0
  212. package/dist/cjs/Validation-df606f86.js +18 -0
  213. package/dist/cjs/Validation-df606f86.js.map +1 -0
  214. package/dist/cjs/app-globals-3b7dbc7c.js +61 -0
  215. package/dist/cjs/app-globals-3b7dbc7c.js.map +1 -0
  216. package/dist/cjs/ar-4853e9ee.js +106 -0
  217. package/dist/cjs/ar-4853e9ee.js.map +1 -0
  218. package/dist/cjs/array-008641b1.js +14 -0
  219. package/dist/cjs/array-008641b1.js.map +1 -0
  220. package/dist/cjs/bg-e19313e0.js +84 -0
  221. package/dist/cjs/bg-e19313e0.js.map +1 -0
  222. package/dist/cjs/browser-23a497f3.js +20 -0
  223. package/dist/cjs/browser-23a497f3.js.map +1 -0
  224. package/dist/cjs/bs-c1b33bd3.js +53 -0
  225. package/dist/cjs/bs-c1b33bd3.js.map +1 -0
  226. package/dist/cjs/ca-ca1cded1.js +73 -0
  227. package/dist/cjs/ca-ca1cded1.js.map +1 -0
  228. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
  229. package/dist/cjs/calcite-accordion_2.cjs.entry.js.map +1 -1
  230. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  231. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  232. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  233. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  234. package/dist/cjs/calcite-action.cjs.entry.js +14 -14
  235. package/dist/cjs/calcite-action.cjs.entry.js.map +1 -1
  236. package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
  237. package/dist/cjs/calcite-alert.cjs.entry.js.map +1 -1
  238. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  239. package/dist/cjs/calcite-block_2.cjs.entry.js +17 -17
  240. package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
  241. package/dist/cjs/calcite-button.cjs.entry.js +16 -16
  242. package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
  243. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  244. package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -13
  245. package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
  246. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
  247. package/dist/cjs/calcite-chip.cjs.entry.js +15 -15
  248. package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
  249. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +32 -22
  250. package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
  251. package/dist/cjs/calcite-combobox_3.cjs.entry.js +42 -37
  252. package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
  253. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -17
  254. package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
  255. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -15
  256. package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
  257. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  258. package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
  259. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  260. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  261. package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -16
  262. package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
  263. package/dist/cjs/calcite-handle.cjs.entry.js +13 -13
  264. package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
  265. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  266. package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
  267. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
  268. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  269. package/dist/cjs/calcite-input-number.cjs.entry.js +17 -17
  270. package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
  271. package/dist/cjs/calcite-input-text.cjs.entry.js +17 -17
  272. package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
  273. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-8a856e15.js +2918 -0
  274. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-8a856e15.js.map +1 -0
  275. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
  276. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
  277. package/dist/cjs/calcite-input.cjs.entry.js +17 -17
  278. package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
  279. package/dist/cjs/calcite-label.cjs.entry.js +7 -7
  280. package/dist/cjs/calcite-link.cjs.entry.js +9 -9
  281. package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
  282. package/dist/cjs/calcite-list_3.cjs.entry.js +16 -16
  283. package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
  284. package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
  285. package/dist/cjs/calcite-loader.cjs.entry.js.map +1 -1
  286. package/dist/cjs/calcite-menu_2.cjs.entry.js +11 -11
  287. package/dist/cjs/calcite-menu_2.cjs.entry.js.map +1 -1
  288. package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
  289. package/dist/cjs/calcite-modal.cjs.entry.js +15 -15
  290. package/dist/cjs/calcite-modal.cjs.entry.js.map +1 -1
  291. package/dist/cjs/calcite-navigation_3.cjs.entry.js +8 -8
  292. package/dist/cjs/calcite-navigation_3.cjs.entry.js.map +1 -1
  293. package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
  294. package/dist/cjs/calcite-notice.cjs.entry.js.map +1 -1
  295. package/dist/cjs/calcite-option_3.cjs.entry.js +14 -14
  296. package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
  297. package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
  298. package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
  299. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  300. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +18 -18
  301. package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
  302. package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
  303. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  304. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
  305. package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
  306. package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -1
  307. package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
  308. package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -1
  309. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  310. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +14 -14
  311. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
  312. package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
  313. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  314. package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
  315. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
  316. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  317. package/dist/cjs/calcite-stepper_2.cjs.entry.js +13 -13
  318. package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
  319. package/dist/cjs/calcite-switch.cjs.entry.js +13 -13
  320. package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
  321. package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -13
  322. package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
  323. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -15
  324. package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
  325. package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
  326. package/dist/cjs/calcite-table.cjs.entry.js +11 -11
  327. package/dist/cjs/calcite-text-area.cjs.entry.js +19 -19
  328. package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
  329. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
  330. package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
  331. package/dist/cjs/calcite-tile.cjs.entry.js +33 -14
  332. package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -1
  333. package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -13
  334. package/dist/cjs/calcite-tip_3.cjs.entry.js.map +1 -1
  335. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  336. package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
  337. package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
  338. package/dist/cjs/calcite-value-list_2.cjs.entry.js +18 -18
  339. package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
  340. package/dist/cjs/calcite.cjs.js +5 -5
  341. package/dist/cjs/component-34030546.js +30 -0
  342. package/dist/cjs/component-34030546.js.map +1 -0
  343. package/dist/cjs/conditionalSlot-1ca4b831.js +60 -0
  344. package/dist/cjs/conditionalSlot-1ca4b831.js.map +1 -0
  345. package/dist/cjs/cs-011874da.js +149 -0
  346. package/dist/cjs/cs-011874da.js.map +1 -0
  347. package/dist/cjs/da-2d807996.js +68 -0
  348. package/dist/cjs/da-2d807996.js.map +1 -0
  349. package/dist/cjs/de-1289613c.js +93 -0
  350. package/dist/cjs/de-1289613c.js.map +1 -0
  351. package/dist/cjs/de-at-ffc92882.js +92 -0
  352. package/dist/cjs/de-at-ffc92882.js.map +1 -0
  353. package/dist/cjs/de-ch-9c518e82.js +92 -0
  354. package/dist/cjs/de-ch-9c518e82.js.map +1 -0
  355. package/dist/cjs/debounce-263a4d05.js +498 -0
  356. package/dist/cjs/debounce-263a4d05.js.map +1 -0
  357. package/dist/cjs/dom-a4bc273e.js +1084 -0
  358. package/dist/cjs/dom-a4bc273e.js.map +1 -0
  359. package/dist/cjs/el-fa02fee3.js +68 -0
  360. package/dist/cjs/el-fa02fee3.js.map +1 -0
  361. package/dist/cjs/en-au-89eac93e.js +68 -0
  362. package/dist/cjs/en-au-89eac93e.js.map +1 -0
  363. package/dist/cjs/en-ca-1dac29b1.js +67 -0
  364. package/dist/cjs/en-ca-1dac29b1.js.map +1 -0
  365. package/dist/cjs/en-gb-8fa0d22e.js +71 -0
  366. package/dist/cjs/en-gb-8fa0d22e.js.map +1 -0
  367. package/dist/cjs/es-67f53c0d.js +68 -0
  368. package/dist/cjs/es-67f53c0d.js.map +1 -0
  369. package/dist/cjs/es-mx-17afbae9.js +67 -0
  370. package/dist/cjs/es-mx-17afbae9.js.map +1 -0
  371. package/dist/cjs/et-4334b74b.js +94 -0
  372. package/dist/cjs/et-4334b74b.js.map +1 -0
  373. package/dist/cjs/fi-b9dc79ae.js +117 -0
  374. package/dist/cjs/fi-b9dc79ae.js.map +1 -0
  375. package/dist/cjs/filter-282ced89.js +762 -0
  376. package/dist/cjs/filter-282ced89.js.map +1 -0
  377. package/dist/cjs/floating-ui-2d6d5735.js +1965 -0
  378. package/dist/cjs/floating-ui-2d6d5735.js.map +1 -0
  379. package/dist/cjs/focusTrapComponent-84fd2072.js +1020 -0
  380. package/dist/cjs/focusTrapComponent-84fd2072.js.map +1 -0
  381. package/dist/cjs/form-c4ef5b05.js +333 -0
  382. package/dist/cjs/form-c4ef5b05.js.map +1 -0
  383. package/dist/cjs/fr-8ced4e30.js +70 -0
  384. package/dist/cjs/fr-8ced4e30.js.map +1 -0
  385. package/dist/cjs/fr-ch-8c37b953.js +68 -0
  386. package/dist/cjs/fr-ch-8c37b953.js.map +1 -0
  387. package/dist/cjs/guid-74831938.js +23 -0
  388. package/dist/cjs/guid-74831938.js.map +1 -0
  389. package/dist/cjs/he-e7c6710f.js +107 -0
  390. package/dist/cjs/he-e7c6710f.js.map +1 -0
  391. package/dist/cjs/hi-2702ee05.js +67 -0
  392. package/dist/cjs/hi-2702ee05.js.map +1 -0
  393. package/dist/cjs/hr-378617b4.js +82 -0
  394. package/dist/cjs/hr-378617b4.js.map +1 -0
  395. package/dist/cjs/hu-56d386e4.js +90 -0
  396. package/dist/cjs/hu-56d386e4.js.map +1 -0
  397. package/dist/cjs/id-512c92ff.js +68 -0
  398. package/dist/cjs/id-512c92ff.js.map +1 -0
  399. package/dist/cjs/index-2b4f84b4.js +208 -0
  400. package/dist/cjs/index-2b4f84b4.js.map +1 -0
  401. package/dist/cjs/index-6a75502d.js +2655 -0
  402. package/dist/cjs/index-6a75502d.js.map +1 -0
  403. package/dist/cjs/index-d55228fe.js +75 -0
  404. package/dist/cjs/index-d55228fe.js.map +1 -0
  405. package/dist/cjs/index.cjs.js +1 -1
  406. package/dist/cjs/interactive-e40cea5c.js +141 -0
  407. package/dist/cjs/interactive-e40cea5c.js.map +1 -0
  408. package/dist/cjs/it-12fc1579.js +68 -0
  409. package/dist/cjs/it-12fc1579.js.map +1 -0
  410. package/dist/cjs/it-ch-f0dbbf11.js +68 -0
  411. package/dist/cjs/it-ch-f0dbbf11.js.map +1 -0
  412. package/dist/cjs/ja-3b0ecece.js +74 -0
  413. package/dist/cjs/ja-3b0ecece.js.map +1 -0
  414. package/dist/cjs/key-5ae4ac59.js +16 -0
  415. package/dist/cjs/key-5ae4ac59.js.map +1 -0
  416. package/dist/cjs/ko-13485915.js +74 -0
  417. package/dist/cjs/ko-13485915.js.map +1 -0
  418. package/dist/cjs/label-8072d24b.js +183 -0
  419. package/dist/cjs/label-8072d24b.js.map +1 -0
  420. package/dist/cjs/loadable-20f73034.js +91 -0
  421. package/dist/cjs/loadable-20f73034.js.map +1 -0
  422. package/dist/cjs/loader.cjs.js +5 -5
  423. package/dist/cjs/locale-3af3bf88.js +576 -0
  424. package/dist/cjs/locale-3af3bf88.js.map +1 -0
  425. package/dist/cjs/lt-7c1ff9dc.js +99 -0
  426. package/dist/cjs/lt-7c1ff9dc.js.map +1 -0
  427. package/dist/cjs/lv-e9f045a8.js +68 -0
  428. package/dist/cjs/lv-e9f045a8.js.map +1 -0
  429. package/dist/cjs/math-231e8eee.js +57 -0
  430. package/dist/cjs/math-231e8eee.js.map +1 -0
  431. package/dist/cjs/mk-60e31920.js +68 -0
  432. package/dist/cjs/mk-60e31920.js.map +1 -0
  433. package/dist/cjs/nb-0f8e82a2.js +69 -0
  434. package/dist/cjs/nb-0f8e82a2.js.map +1 -0
  435. package/dist/cjs/nl-071eaf1e.js +69 -0
  436. package/dist/cjs/nl-071eaf1e.js.map +1 -0
  437. package/dist/cjs/observers-ddaadc65.js +50 -0
  438. package/dist/cjs/observers-ddaadc65.js.map +1 -0
  439. package/dist/cjs/openCloseComponent-1df07981.js +89 -0
  440. package/dist/cjs/openCloseComponent-1df07981.js.map +1 -0
  441. package/dist/cjs/pl-a1049aa0.js +116 -0
  442. package/dist/cjs/pl-a1049aa0.js.map +1 -0
  443. package/dist/cjs/pt-2eb8d754.js +69 -0
  444. package/dist/cjs/pt-2eb8d754.js.map +1 -0
  445. package/dist/cjs/pt-br-8628d53b.js +67 -0
  446. package/dist/cjs/pt-br-8628d53b.js.map +1 -0
  447. package/dist/cjs/resources-08d62cb4.js +26 -0
  448. package/dist/cjs/resources-08d62cb4.js.map +1 -0
  449. package/dist/cjs/resources-509fc363.js +414 -0
  450. package/dist/cjs/resources-509fc363.js.map +1 -0
  451. package/dist/cjs/resources-ae6f9a2f.js +29 -0
  452. package/dist/cjs/resources-ae6f9a2f.js.map +1 -0
  453. package/dist/cjs/resources-e08d9050.js +49 -0
  454. package/dist/cjs/resources-e08d9050.js.map +1 -0
  455. package/dist/cjs/resources-ea7ffed3.js +23 -0
  456. package/dist/cjs/resources-ea7ffed3.js.map +1 -0
  457. package/dist/cjs/resources-fb846c8e.js +26 -0
  458. package/dist/cjs/resources-fb846c8e.js.map +1 -0
  459. package/dist/cjs/resources-fee57d73.js +17 -0
  460. package/dist/cjs/resources-fee57d73.js.map +1 -0
  461. package/dist/cjs/ro-1da47cae.js +68 -0
  462. package/dist/cjs/ro-1da47cae.js.map +1 -0
  463. package/dist/cjs/ru-0944cd1e.js +128 -0
  464. package/dist/cjs/ru-0944cd1e.js.map +1 -0
  465. package/dist/cjs/sk-d989b9f0.js +150 -0
  466. package/dist/cjs/sk-d989b9f0.js.map +1 -0
  467. package/dist/cjs/sl-0ba33fe4.js +170 -0
  468. package/dist/cjs/sl-0ba33fe4.js.map +1 -0
  469. package/dist/cjs/sortableComponent-9129a7fc.js +2739 -0
  470. package/dist/cjs/sortableComponent-9129a7fc.js.map +1 -0
  471. package/dist/cjs/sr-cf1ebbe3.js +103 -0
  472. package/dist/cjs/sr-cf1ebbe3.js.map +1 -0
  473. package/dist/cjs/sv-83b98472.js +73 -0
  474. package/dist/cjs/sv-83b98472.js.map +1 -0
  475. package/dist/cjs/t9n-eac0e150.js +97 -0
  476. package/dist/cjs/t9n-eac0e150.js.map +1 -0
  477. package/dist/cjs/th-9c4f89c3.js +67 -0
  478. package/dist/cjs/th-9c4f89c3.js.map +1 -0
  479. package/dist/cjs/throttle-4a5a51bd.js +77 -0
  480. package/dist/cjs/throttle-4a5a51bd.js.map +1 -0
  481. package/dist/cjs/tr-054ff699.js +68 -0
  482. package/dist/cjs/tr-054ff699.js.map +1 -0
  483. package/dist/cjs/uk-5cd20eaa.js +106 -0
  484. package/dist/cjs/uk-5cd20eaa.js.map +1 -0
  485. package/dist/cjs/utils-8974a300.js +218 -0
  486. package/dist/cjs/utils-8974a300.js.map +1 -0
  487. package/dist/cjs/utils-be54e9ef.js +307 -0
  488. package/dist/cjs/utils-be54e9ef.js.map +1 -0
  489. package/dist/cjs/vi-5ab85df5.js +72 -0
  490. package/dist/cjs/vi-5ab85df5.js.map +1 -0
  491. package/dist/cjs/zh-cn-f78507bf.js +96 -0
  492. package/dist/cjs/zh-cn-f78507bf.js.map +1 -0
  493. package/dist/cjs/zh-hk-75809a50.js +73 -0
  494. package/dist/cjs/zh-hk-75809a50.js.map +1 -0
  495. package/dist/cjs/zh-tw-420bbe61.js +94 -0
  496. package/dist/cjs/zh-tw-420bbe61.js.map +1 -0
  497. package/dist/collection/components/accordion/accordion.css +5 -5
  498. package/dist/collection/components/accordion/accordion.e2e.js +1 -1
  499. package/dist/collection/components/accordion/accordion.js +1 -1
  500. package/dist/collection/components/accordion-item/accordion-item.css +6 -6
  501. package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
  502. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  503. package/dist/collection/components/accordion-item/resources.js +1 -1
  504. package/dist/collection/components/action/action.css +7 -7
  505. package/dist/collection/components/action/action.e2e.js +1 -1
  506. package/dist/collection/components/action/action.js +1 -1
  507. package/dist/collection/components/action/resources.js +1 -1
  508. package/dist/collection/components/action-bar/action-bar.css +5 -5
  509. package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
  510. package/dist/collection/components/action-bar/action-bar.js +1 -1
  511. package/dist/collection/components/action-bar/resources.js +1 -1
  512. package/dist/collection/components/action-bar/utils.js +1 -1
  513. package/dist/collection/components/action-group/action-group.css +5 -5
  514. package/dist/collection/components/action-group/action-group.e2e.js +1 -1
  515. package/dist/collection/components/action-group/action-group.js +1 -1
  516. package/dist/collection/components/action-group/resources.js +1 -1
  517. package/dist/collection/components/action-menu/action-menu.css +5 -5
  518. package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
  519. package/dist/collection/components/action-menu/action-menu.js +1 -1
  520. package/dist/collection/components/action-menu/resources.js +1 -1
  521. package/dist/collection/components/action-pad/action-pad.css +5 -5
  522. package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
  523. package/dist/collection/components/action-pad/action-pad.js +1 -1
  524. package/dist/collection/components/action-pad/resources.js +1 -1
  525. package/dist/collection/components/alert/alert.css +6 -6
  526. package/dist/collection/components/alert/alert.e2e.js +1 -1
  527. package/dist/collection/components/alert/alert.js +1 -1
  528. package/dist/collection/components/alert/resources.js +1 -1
  529. package/dist/collection/components/avatar/avatar.css +5 -5
  530. package/dist/collection/components/avatar/avatar.e2e.js +1 -1
  531. package/dist/collection/components/avatar/avatar.js +1 -1
  532. package/dist/collection/components/avatar/avatar.spec.js +1 -1
  533. package/dist/collection/components/avatar/utils.js +1 -1
  534. package/dist/collection/components/block/block.css +6 -6
  535. package/dist/collection/components/block/block.e2e.js +1 -1
  536. package/dist/collection/components/block/block.js +1 -1
  537. package/dist/collection/components/block/resources.js +1 -1
  538. package/dist/collection/components/block-section/block-section.css +6 -6
  539. package/dist/collection/components/block-section/block-section.e2e.js +1 -1
  540. package/dist/collection/components/block-section/block-section.js +1 -1
  541. package/dist/collection/components/block-section/resources.js +1 -1
  542. package/dist/collection/components/button/button.css +6 -6
  543. package/dist/collection/components/button/button.e2e.js +1 -1
  544. package/dist/collection/components/button/button.js +1 -1
  545. package/dist/collection/components/button/resources.js +1 -1
  546. package/dist/collection/components/card/card.css +5 -5
  547. package/dist/collection/components/card/card.e2e.js +1 -1
  548. package/dist/collection/components/card/card.js +1 -1
  549. package/dist/collection/components/card/resources.js +1 -1
  550. package/dist/collection/components/checkbox/checkbox.css +6 -6
  551. package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
  552. package/dist/collection/components/checkbox/checkbox.js +1 -1
  553. package/dist/collection/components/chip/chip.css +7 -7
  554. package/dist/collection/components/chip/chip.e2e.js +1 -1
  555. package/dist/collection/components/chip/chip.js +1 -1
  556. package/dist/collection/components/chip/resources.js +1 -1
  557. package/dist/collection/components/chip-group/chip-group.css +5 -5
  558. package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
  559. package/dist/collection/components/chip-group/chip-group.js +1 -1
  560. package/dist/collection/components/color-picker/color-picker.css +6 -6
  561. package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
  562. package/dist/collection/components/color-picker/color-picker.js +16 -6
  563. package/dist/collection/components/color-picker/color-picker.js.map +1 -1
  564. package/dist/collection/components/color-picker/resources.js +1 -1
  565. package/dist/collection/components/color-picker/utils.js +1 -1
  566. package/dist/collection/components/color-picker/utils.spec.js +1 -1
  567. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
  568. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
  569. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  570. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  571. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
  572. package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
  573. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  574. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  575. package/dist/collection/components/combobox/combobox.css +7 -12
  576. package/dist/collection/components/combobox/combobox.e2e.js +1 -1
  577. package/dist/collection/components/combobox/combobox.js +19 -14
  578. package/dist/collection/components/combobox/combobox.js.map +1 -1
  579. package/dist/collection/components/combobox/resources.js +1 -1
  580. package/dist/collection/components/combobox/utils.js +1 -1
  581. package/dist/collection/components/combobox-item/combobox-item.css +6 -6
  582. package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
  583. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  584. package/dist/collection/components/combobox-item/resources.js +1 -1
  585. package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
  586. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  587. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  588. package/dist/collection/components/date-picker/date-picker.css +5 -5
  589. package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
  590. package/dist/collection/components/date-picker/date-picker.js +1 -1
  591. package/dist/collection/components/date-picker/resources.js +1 -1
  592. package/dist/collection/components/date-picker/utils.js +1 -1
  593. package/dist/collection/components/date-picker/utils.spec.js +1 -1
  594. package/dist/collection/components/date-picker-day/date-picker-day.css +6 -6
  595. package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
  596. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  597. package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
  598. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  599. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +7 -7
  600. package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
  601. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  602. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  603. package/dist/collection/components/dropdown/dropdown.css +5 -5
  604. package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
  605. package/dist/collection/components/dropdown/dropdown.js +1 -1
  606. package/dist/collection/components/dropdown/resources.js +1 -1
  607. package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
  608. package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
  609. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  610. package/dist/collection/components/dropdown-item/dropdown-item.css +6 -6
  611. package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
  612. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  613. package/dist/collection/components/dropdown-item/resources.js +1 -1
  614. package/dist/collection/components/fab/fab.css +5 -5
  615. package/dist/collection/components/fab/fab.e2e.js +1 -1
  616. package/dist/collection/components/fab/fab.js +1 -1
  617. package/dist/collection/components/fab/resources.js +1 -1
  618. package/dist/collection/components/filter/filter.css +5 -5
  619. package/dist/collection/components/filter/filter.e2e.js +1 -1
  620. package/dist/collection/components/filter/filter.js +1 -1
  621. package/dist/collection/components/filter/resources.js +1 -1
  622. package/dist/collection/components/flow/flow.css +5 -5
  623. package/dist/collection/components/flow/flow.e2e.js +1 -1
  624. package/dist/collection/components/flow/flow.js +1 -1
  625. package/dist/collection/components/flow/resources.js +1 -1
  626. package/dist/collection/components/flow-item/flow-item.css +5 -5
  627. package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
  628. package/dist/collection/components/flow-item/flow-item.js +1 -1
  629. package/dist/collection/components/flow-item/resources.js +1 -1
  630. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  631. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  632. package/dist/collection/components/functional/Heading.js +1 -1
  633. package/dist/collection/components/functional/Heading.spec.js +1 -1
  634. package/dist/collection/components/functional/Validation.js +1 -1
  635. package/dist/collection/components/functional/XButton.js +1 -1
  636. package/dist/collection/components/graph/graph.css +5 -5
  637. package/dist/collection/components/graph/graph.e2e.js +1 -1
  638. package/dist/collection/components/graph/graph.js +1 -1
  639. package/dist/collection/components/graph/util.js +1 -1
  640. package/dist/collection/components/handle/handle.css +6 -6
  641. package/dist/collection/components/handle/handle.e2e.js +1 -1
  642. package/dist/collection/components/handle/handle.js +1 -1
  643. package/dist/collection/components/handle/resources.js +1 -1
  644. package/dist/collection/components/icon/icon.css +5 -5
  645. package/dist/collection/components/icon/icon.e2e.js +1 -1
  646. package/dist/collection/components/icon/icon.js +1 -1
  647. package/dist/collection/components/icon/resources.js +1 -1
  648. package/dist/collection/components/icon/utils.js +1 -1
  649. package/dist/collection/components/icon/utils.spec.js +1 -1
  650. package/dist/collection/components/inline-editable/inline-editable.css +5 -5
  651. package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
  652. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  653. package/dist/collection/components/inline-editable/resources.js +1 -1
  654. package/dist/collection/components/input/common/tests.js +1 -1
  655. package/dist/collection/components/input/input.css +7 -7
  656. package/dist/collection/components/input/input.e2e.js +1 -1
  657. package/dist/collection/components/input/input.js +1 -1
  658. package/dist/collection/components/input/resources.js +1 -1
  659. package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
  660. package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
  661. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  662. package/dist/collection/components/input-date-picker/resources.js +1 -1
  663. package/dist/collection/components/input-date-picker/util.spec.js +1 -1
  664. package/dist/collection/components/input-date-picker/utils.js +1 -1
  665. package/dist/collection/components/input-message/input-message.css +5 -5
  666. package/dist/collection/components/input-message/input-message.e2e.js +1 -1
  667. package/dist/collection/components/input-message/input-message.js +1 -1
  668. package/dist/collection/components/input-message/interfaces.js +1 -1
  669. package/dist/collection/components/input-number/input-number.css +7 -7
  670. package/dist/collection/components/input-number/input-number.e2e.js +1 -1
  671. package/dist/collection/components/input-number/input-number.js +1 -1
  672. package/dist/collection/components/input-number/resources.js +1 -1
  673. package/dist/collection/components/input-text/input-text.css +7 -7
  674. package/dist/collection/components/input-text/input-text.e2e.js +1 -1
  675. package/dist/collection/components/input-text/input-text.js +1 -1
  676. package/dist/collection/components/input-text/resources.js +1 -1
  677. package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
  678. package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
  679. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  680. package/dist/collection/components/input-time-picker/resources.js +1 -1
  681. package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
  682. package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
  683. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  684. package/dist/collection/components/input-time-zone/utils.js +1 -1
  685. package/dist/collection/components/label/label.css +5 -5
  686. package/dist/collection/components/label/label.e2e.js +1 -1
  687. package/dist/collection/components/label/label.js +1 -1
  688. package/dist/collection/components/label/resources.js +1 -1
  689. package/dist/collection/components/link/link.css +6 -6
  690. package/dist/collection/components/link/link.e2e.js +1 -1
  691. package/dist/collection/components/link/link.js +1 -1
  692. package/dist/collection/components/list/list.css +5 -5
  693. package/dist/collection/components/list/list.e2e.js +1 -1
  694. package/dist/collection/components/list/list.js +1 -1
  695. package/dist/collection/components/list/resources.js +1 -1
  696. package/dist/collection/components/list-item/list-item.css +8 -7
  697. package/dist/collection/components/list-item/list-item.e2e.js +1 -1
  698. package/dist/collection/components/list-item/list-item.js +1 -1
  699. package/dist/collection/components/list-item/resources.js +1 -1
  700. package/dist/collection/components/list-item/utils.js +1 -1
  701. package/dist/collection/components/list-item-group/list-item-group.css +5 -5
  702. package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
  703. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  704. package/dist/collection/components/list-item-group/resources.js +1 -1
  705. package/dist/collection/components/loader/loader.css +6 -5
  706. package/dist/collection/components/loader/loader.e2e.js +1 -1
  707. package/dist/collection/components/loader/loader.js +1 -1
  708. package/dist/collection/components/menu/menu.css +5 -5
  709. package/dist/collection/components/menu/menu.e2e.js +1 -1
  710. package/dist/collection/components/menu/menu.js +1 -1
  711. package/dist/collection/components/menu-item/menu-item.css +6 -6
  712. package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
  713. package/dist/collection/components/menu-item/menu-item.js +1 -1
  714. package/dist/collection/components/menu-item/resources.js +1 -1
  715. package/dist/collection/components/meter/meter.css +5 -5
  716. package/dist/collection/components/meter/meter.e2e.js +1 -1
  717. package/dist/collection/components/meter/meter.js +1 -1
  718. package/dist/collection/components/meter/resources.js +1 -1
  719. package/dist/collection/components/modal/modal.css +7 -7
  720. package/dist/collection/components/modal/modal.e2e.js +1 -1
  721. package/dist/collection/components/modal/modal.js +1 -1
  722. package/dist/collection/components/modal/resources.js +1 -1
  723. package/dist/collection/components/navigation/navigation.css +5 -5
  724. package/dist/collection/components/navigation/navigation.e2e.js +1 -1
  725. package/dist/collection/components/navigation/navigation.js +1 -1
  726. package/dist/collection/components/navigation/resources.js +1 -1
  727. package/dist/collection/components/navigation-logo/navigation-logo.css +6 -6
  728. package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
  729. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  730. package/dist/collection/components/navigation-logo/resources.js +1 -1
  731. package/dist/collection/components/navigation-user/navigation-user.css +6 -6
  732. package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
  733. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  734. package/dist/collection/components/navigation-user/resources.js +1 -1
  735. package/dist/collection/components/notice/notice.css +6 -6
  736. package/dist/collection/components/notice/notice.e2e.js +1 -1
  737. package/dist/collection/components/notice/notice.js +1 -1
  738. package/dist/collection/components/notice/resources.js +1 -1
  739. package/dist/collection/components/option/option.css +5 -5
  740. package/dist/collection/components/option/option.e2e.js +1 -1
  741. package/dist/collection/components/option/option.js +1 -1
  742. package/dist/collection/components/option-group/option-group.css +5 -5
  743. package/dist/collection/components/option-group/option-group.e2e.js +1 -1
  744. package/dist/collection/components/option-group/option-group.js +1 -1
  745. package/dist/collection/components/pagination/pagination.css +6 -6
  746. package/dist/collection/components/pagination/pagination.e2e.js +1 -1
  747. package/dist/collection/components/pagination/pagination.js +1 -1
  748. package/dist/collection/components/pagination/resources.js +1 -1
  749. package/dist/collection/components/panel/panel.css +5 -5
  750. package/dist/collection/components/panel/panel.e2e.js +1 -1
  751. package/dist/collection/components/panel/panel.js +1 -1
  752. package/dist/collection/components/panel/resources.js +1 -1
  753. package/dist/collection/components/pick-list/pick-list.css +5 -5
  754. package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
  755. package/dist/collection/components/pick-list/pick-list.js +1 -1
  756. package/dist/collection/components/pick-list/resources.js +1 -1
  757. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  758. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  759. package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
  760. package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
  761. package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
  762. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  763. package/dist/collection/components/pick-list-group/resources.js +1 -1
  764. package/dist/collection/components/pick-list-item/pick-list-item.css +6 -6
  765. package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
  766. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  767. package/dist/collection/components/pick-list-item/resources.js +1 -1
  768. package/dist/collection/components/popover/PopoverManager.js +1 -1
  769. package/dist/collection/components/popover/popover.css +5 -5
  770. package/dist/collection/components/popover/popover.e2e.js +1 -1
  771. package/dist/collection/components/popover/popover.js +1 -1
  772. package/dist/collection/components/popover/resources.js +1 -1
  773. package/dist/collection/components/progress/progress.css +5 -5
  774. package/dist/collection/components/progress/progress.e2e.js +1 -1
  775. package/dist/collection/components/progress/progress.js +1 -1
  776. package/dist/collection/components/radio-button/radio-button.css +6 -6
  777. package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
  778. package/dist/collection/components/radio-button/radio-button.js +1 -1
  779. package/dist/collection/components/radio-button/resources.js +1 -1
  780. package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
  781. package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
  782. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  783. package/dist/collection/components/radio-button-group/resources.js +1 -1
  784. package/dist/collection/components/rating/functional/star.js +1 -1
  785. package/dist/collection/components/rating/rating.css +6 -6
  786. package/dist/collection/components/rating/rating.e2e.js +1 -1
  787. package/dist/collection/components/rating/rating.js +1 -1
  788. package/dist/collection/components/resources.js +1 -1
  789. package/dist/collection/components/scrim/resources.js +1 -1
  790. package/dist/collection/components/scrim/scrim.css +5 -5
  791. package/dist/collection/components/scrim/scrim.e2e.js +1 -1
  792. package/dist/collection/components/scrim/scrim.js +1 -1
  793. package/dist/collection/components/segmented-control/resources.js +1 -1
  794. package/dist/collection/components/segmented-control/segmented-control.css +5 -5
  795. package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
  796. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  797. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  798. package/dist/collection/components/segmented-control-item/segmented-control-item.css +6 -6
  799. package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
  800. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  801. package/dist/collection/components/select/resources.js +1 -1
  802. package/dist/collection/components/select/select.css +6 -6
  803. package/dist/collection/components/select/select.e2e.js +1 -1
  804. package/dist/collection/components/select/select.js +1 -1
  805. package/dist/collection/components/sheet/resources.js +1 -1
  806. package/dist/collection/components/sheet/sheet.css +5 -5
  807. package/dist/collection/components/sheet/sheet.e2e.js +1 -1
  808. package/dist/collection/components/sheet/sheet.js +1 -1
  809. package/dist/collection/components/shell/resources.js +1 -1
  810. package/dist/collection/components/shell/shell.css +5 -5
  811. package/dist/collection/components/shell/shell.e2e.js +1 -1
  812. package/dist/collection/components/shell/shell.js +1 -1
  813. package/dist/collection/components/shell-center-row/resources.js +1 -1
  814. package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
  815. package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
  816. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  817. package/dist/collection/components/shell-panel/resources.js +1 -1
  818. package/dist/collection/components/shell-panel/shell-panel.css +5 -5
  819. package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
  820. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  821. package/dist/collection/components/slider/resources.js +1 -1
  822. package/dist/collection/components/slider/slider.css +6 -6
  823. package/dist/collection/components/slider/slider.e2e.js +1 -1
  824. package/dist/collection/components/slider/slider.js +1 -1
  825. package/dist/collection/components/sortable-list/resources.js +1 -1
  826. package/dist/collection/components/sortable-list/sortable-list.css +5 -5
  827. package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
  828. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  829. package/dist/collection/components/split-button/resources.js +1 -1
  830. package/dist/collection/components/split-button/split-button.css +5 -5
  831. package/dist/collection/components/split-button/split-button.e2e.js +1 -1
  832. package/dist/collection/components/split-button/split-button.js +1 -1
  833. package/dist/collection/components/stack/resources.js +1 -1
  834. package/dist/collection/components/stack/stack.css +5 -5
  835. package/dist/collection/components/stack/stack.e2e.js +1 -1
  836. package/dist/collection/components/stack/stack.js +1 -1
  837. package/dist/collection/components/stepper/functional/step-bar.js +1 -1
  838. package/dist/collection/components/stepper/resources.js +1 -1
  839. package/dist/collection/components/stepper/stepper.css +5 -5
  840. package/dist/collection/components/stepper/stepper.e2e.js +1 -1
  841. package/dist/collection/components/stepper/stepper.js +1 -1
  842. package/dist/collection/components/stepper-item/resources.js +1 -1
  843. package/dist/collection/components/stepper-item/stepper-item.css +7 -7
  844. package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
  845. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  846. package/dist/collection/components/switch/switch.css +6 -6
  847. package/dist/collection/components/switch/switch.e2e.js +1 -1
  848. package/dist/collection/components/switch/switch.js +1 -1
  849. package/dist/collection/components/tab/resources.js +1 -1
  850. package/dist/collection/components/tab/tab.css +5 -5
  851. package/dist/collection/components/tab/tab.e2e.js +1 -1
  852. package/dist/collection/components/tab/tab.js +1 -1
  853. package/dist/collection/components/tab-nav/resources.js +1 -1
  854. package/dist/collection/components/tab-nav/tab-nav.css +5 -5
  855. package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
  856. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  857. package/dist/collection/components/tab-title/resources.js +1 -1
  858. package/dist/collection/components/tab-title/tab-title.css +7 -7
  859. package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
  860. package/dist/collection/components/tab-title/tab-title.js +1 -1
  861. package/dist/collection/components/table/resources.js +1 -1
  862. package/dist/collection/components/table/table.css +5 -5
  863. package/dist/collection/components/table/table.e2e.js +1 -1
  864. package/dist/collection/components/table/table.js +1 -1
  865. package/dist/collection/components/table-cell/resources.js +1 -1
  866. package/dist/collection/components/table-cell/table-cell.css +6 -6
  867. package/dist/collection/components/table-cell/table-cell.js +1 -1
  868. package/dist/collection/components/table-header/resources.js +1 -1
  869. package/dist/collection/components/table-header/table-header.css +6 -6
  870. package/dist/collection/components/table-header/table-header.js +1 -1
  871. package/dist/collection/components/table-row/resources.js +1 -1
  872. package/dist/collection/components/table-row/table-row.css +5 -5
  873. package/dist/collection/components/table-row/table-row.js +1 -1
  874. package/dist/collection/components/tabs/resources.js +1 -1
  875. package/dist/collection/components/tabs/tabs.css +5 -5
  876. package/dist/collection/components/tabs/tabs.e2e.js +1 -1
  877. package/dist/collection/components/tabs/tabs.js +1 -1
  878. package/dist/collection/components/text-area/resources.js +1 -1
  879. package/dist/collection/components/text-area/text-area.css +6 -6
  880. package/dist/collection/components/text-area/text-area.e2e.js +1 -1
  881. package/dist/collection/components/text-area/text-area.js +1 -1
  882. package/dist/collection/components/tile/resources.js +10 -1
  883. package/dist/collection/components/tile/resources.js.map +1 -1
  884. package/dist/collection/components/tile/tile.css +77 -57
  885. package/dist/collection/components/tile/tile.e2e.js +9 -2
  886. package/dist/collection/components/tile/tile.e2e.js.map +1 -1
  887. package/dist/collection/components/tile/tile.js +53 -8
  888. package/dist/collection/components/tile/tile.js.map +1 -1
  889. package/dist/collection/components/tile-select/resources.js +1 -1
  890. package/dist/collection/components/tile-select/tile-select.css +6 -6
  891. package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
  892. package/dist/collection/components/tile-select/tile-select.js +1 -1
  893. package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
  894. package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
  895. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  896. package/dist/collection/components/time-picker/resources.js +1 -1
  897. package/dist/collection/components/time-picker/time-picker.css +5 -5
  898. package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
  899. package/dist/collection/components/time-picker/time-picker.js +1 -1
  900. package/dist/collection/components/tip/resources.js +1 -1
  901. package/dist/collection/components/tip/tip.css +6 -6
  902. package/dist/collection/components/tip/tip.e2e.js +1 -1
  903. package/dist/collection/components/tip/tip.js +1 -1
  904. package/dist/collection/components/tip-group/tip-group.css +5 -5
  905. package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
  906. package/dist/collection/components/tip-group/tip-group.js +1 -1
  907. package/dist/collection/components/tip-manager/resources.js +1 -1
  908. package/dist/collection/components/tip-manager/tip-manager.css +7 -7
  909. package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
  910. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  911. package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
  912. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  913. package/dist/collection/components/tooltip/resources.js +1 -1
  914. package/dist/collection/components/tooltip/tooltip.css +5 -5
  915. package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
  916. package/dist/collection/components/tooltip/tooltip.js +1 -1
  917. package/dist/collection/components/tooltip/utils.js +1 -1
  918. package/dist/collection/components/tree/tree.css +5 -5
  919. package/dist/collection/components/tree/tree.e2e.js +1 -1
  920. package/dist/collection/components/tree/tree.js +1 -1
  921. package/dist/collection/components/tree/utils.js +1 -1
  922. package/dist/collection/components/tree-item/resources.js +1 -1
  923. package/dist/collection/components/tree-item/tree-item.css +7 -7
  924. package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
  925. package/dist/collection/components/tree-item/tree-item.js +1 -1
  926. package/dist/collection/components/value-list/resources.js +1 -1
  927. package/dist/collection/components/value-list/utils.js +1 -1
  928. package/dist/collection/components/value-list/value-list.css +5 -5
  929. package/dist/collection/components/value-list/value-list.e2e.js +1 -1
  930. package/dist/collection/components/value-list/value-list.js +1 -1
  931. package/dist/collection/components/value-list-item/resources.js +1 -1
  932. package/dist/collection/components/value-list-item/value-list-item.css +6 -6
  933. package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
  934. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  935. package/dist/collection/index.js +1 -1
  936. package/dist/collection/tests/commonTests.js +1 -1
  937. package/dist/collection/tests/utils.js +1 -1
  938. package/dist/collection/utils/array.js +1 -1
  939. package/dist/collection/utils/browser.js +1 -1
  940. package/dist/collection/utils/component.js +1 -1
  941. package/dist/collection/utils/component.spec.js +1 -1
  942. package/dist/collection/utils/conditionalSlot.js +1 -1
  943. package/dist/collection/utils/config.js +1 -1
  944. package/dist/collection/utils/config.spec.js +1 -1
  945. package/dist/collection/utils/date.js +1 -1
  946. package/dist/collection/utils/date.spec.js +1 -1
  947. package/dist/collection/utils/dom.e2e.js +1 -1
  948. package/dist/collection/utils/dom.js +1 -1
  949. package/dist/collection/utils/dom.spec.js +1 -1
  950. package/dist/collection/utils/filter.js +1 -1
  951. package/dist/collection/utils/floating-ui.js +1 -1
  952. package/dist/collection/utils/floating-ui.spec.js +1 -1
  953. package/dist/collection/utils/focusTrapComponent.js +1 -1
  954. package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
  955. package/dist/collection/utils/form.js +1 -1
  956. package/dist/collection/utils/form.spec.js +1 -1
  957. package/dist/collection/utils/globalScript.js +1 -1
  958. package/dist/collection/utils/guid.js +1 -1
  959. package/dist/collection/utils/guid.spec.js +1 -1
  960. package/dist/collection/utils/interactive.js +1 -1
  961. package/dist/collection/utils/interactive.spec.js +1 -1
  962. package/dist/collection/utils/key.js +1 -1
  963. package/dist/collection/utils/label.js +1 -1
  964. package/dist/collection/utils/label.spec.js +1 -1
  965. package/dist/collection/utils/loadable.js +1 -1
  966. package/dist/collection/utils/loadable.spec.js +1 -1
  967. package/dist/collection/utils/locale.js +1 -1
  968. package/dist/collection/utils/locale.spec.js +1 -1
  969. package/dist/collection/utils/math.js +1 -1
  970. package/dist/collection/utils/math.spec.js +1 -1
  971. package/dist/collection/utils/mode.js +1 -1
  972. package/dist/collection/utils/number.js +1 -1
  973. package/dist/collection/utils/number.spec.js +1 -1
  974. package/dist/collection/utils/observers.js +1 -1
  975. package/dist/collection/utils/openCloseComponent.js +1 -1
  976. package/dist/collection/utils/resources.js +1 -1
  977. package/dist/collection/utils/responsive.js +1 -1
  978. package/dist/collection/utils/responsive.spec.js +1 -1
  979. package/dist/collection/utils/sortableComponent.js +1 -1
  980. package/dist/collection/utils/t9n.js +1 -1
  981. package/dist/collection/utils/time.js +1 -1
  982. package/dist/collection/utils/time.spec.js +1 -1
  983. package/dist/components/ExpandToggle.js +1 -1
  984. package/dist/components/FloatingArrow.js +1 -1
  985. package/dist/components/Heading.js +1 -1
  986. package/dist/components/Validation.js +1 -1
  987. package/dist/components/action-group.js +1 -1
  988. package/dist/components/action-menu.js +1 -1
  989. package/dist/components/action.js +2 -2
  990. package/dist/components/action.js.map +1 -1
  991. package/dist/components/ar.js +1 -1
  992. package/dist/components/array.js +1 -1
  993. package/dist/components/avatar.js +1 -1
  994. package/dist/components/bg.js +1 -1
  995. package/dist/components/bs.js +1 -1
  996. package/dist/components/button.js +2 -2
  997. package/dist/components/button.js.map +1 -1
  998. package/dist/components/ca.js +1 -1
  999. package/dist/components/calcite-accordion-item.js +2 -2
  1000. package/dist/components/calcite-accordion-item.js.map +1 -1
  1001. package/dist/components/calcite-accordion.js +1 -1
  1002. package/dist/components/calcite-action-bar.js +1 -1
  1003. package/dist/components/calcite-action-group.js +1 -1
  1004. package/dist/components/calcite-action-menu.js +1 -1
  1005. package/dist/components/calcite-action-pad.js +1 -1
  1006. package/dist/components/calcite-action.js +1 -1
  1007. package/dist/components/calcite-alert.js +2 -2
  1008. package/dist/components/calcite-alert.js.map +1 -1
  1009. package/dist/components/calcite-avatar.js +1 -1
  1010. package/dist/components/calcite-block-section.js +2 -2
  1011. package/dist/components/calcite-block-section.js.map +1 -1
  1012. package/dist/components/calcite-block.js +2 -2
  1013. package/dist/components/calcite-block.js.map +1 -1
  1014. package/dist/components/calcite-button.js +1 -1
  1015. package/dist/components/calcite-card.js +1 -1
  1016. package/dist/components/calcite-checkbox.js +1 -1
  1017. package/dist/components/calcite-chip-group.js +1 -1
  1018. package/dist/components/calcite-chip.js +1 -1
  1019. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  1020. package/dist/components/calcite-color-picker-swatch.js +1 -1
  1021. package/dist/components/calcite-color-picker.js +17 -7
  1022. package/dist/components/calcite-color-picker.js.map +1 -1
  1023. package/dist/components/calcite-combobox-item-group.js +1 -1
  1024. package/dist/components/calcite-combobox-item.js +1 -1
  1025. package/dist/components/calcite-combobox.js +1 -1
  1026. package/dist/components/calcite-date-picker-day.js +1 -1
  1027. package/dist/components/calcite-date-picker-month-header.js +1 -1
  1028. package/dist/components/calcite-date-picker-month.js +1 -1
  1029. package/dist/components/calcite-date-picker.js +1 -1
  1030. package/dist/components/calcite-dropdown-group.js +1 -1
  1031. package/dist/components/calcite-dropdown-item.js +2 -2
  1032. package/dist/components/calcite-dropdown-item.js.map +1 -1
  1033. package/dist/components/calcite-dropdown.js +1 -1
  1034. package/dist/components/calcite-fab.js +1 -1
  1035. package/dist/components/calcite-filter.js +1 -1
  1036. package/dist/components/calcite-flow-item.js +1 -1
  1037. package/dist/components/calcite-flow.js +1 -1
  1038. package/dist/components/calcite-graph.js +1 -1
  1039. package/dist/components/calcite-handle.js +1 -1
  1040. package/dist/components/calcite-icon.js +1 -1
  1041. package/dist/components/calcite-inline-editable.js +1 -1
  1042. package/dist/components/calcite-input-date-picker.js +1 -1
  1043. package/dist/components/calcite-input-message.js +1 -1
  1044. package/dist/components/calcite-input-number.js +1 -1
  1045. package/dist/components/calcite-input-text.js +1 -1
  1046. package/dist/components/calcite-input-time-picker.js +1 -1
  1047. package/dist/components/calcite-input-time-zone.js +1 -1
  1048. package/dist/components/calcite-input.js +1 -1
  1049. package/dist/components/calcite-label.js +1 -1
  1050. package/dist/components/calcite-link.js +1 -1
  1051. package/dist/components/calcite-list-item-group.js +1 -1
  1052. package/dist/components/calcite-list-item.js +2 -2
  1053. package/dist/components/calcite-list-item.js.map +1 -1
  1054. package/dist/components/calcite-list.js +1 -1
  1055. package/dist/components/calcite-loader.js +1 -1
  1056. package/dist/components/calcite-menu-item.js +2 -2
  1057. package/dist/components/calcite-menu-item.js.map +1 -1
  1058. package/dist/components/calcite-menu.js +1 -1
  1059. package/dist/components/calcite-meter.js +1 -1
  1060. package/dist/components/calcite-modal.js +2 -2
  1061. package/dist/components/calcite-modal.js.map +1 -1
  1062. package/dist/components/calcite-navigation-logo.js +2 -2
  1063. package/dist/components/calcite-navigation-logo.js.map +1 -1
  1064. package/dist/components/calcite-navigation-user.js +2 -2
  1065. package/dist/components/calcite-navigation-user.js.map +1 -1
  1066. package/dist/components/calcite-navigation.js +1 -1
  1067. package/dist/components/calcite-notice.js +2 -2
  1068. package/dist/components/calcite-notice.js.map +1 -1
  1069. package/dist/components/calcite-option-group.js +1 -1
  1070. package/dist/components/calcite-option.js +1 -1
  1071. package/dist/components/calcite-pagination.js +1 -1
  1072. package/dist/components/calcite-panel.js +1 -1
  1073. package/dist/components/calcite-pick-list-group.js +1 -1
  1074. package/dist/components/calcite-pick-list-item.js +1 -1
  1075. package/dist/components/calcite-pick-list.js +1 -1
  1076. package/dist/components/calcite-popover.js +1 -1
  1077. package/dist/components/calcite-progress.js +1 -1
  1078. package/dist/components/calcite-radio-button-group.js +1 -1
  1079. package/dist/components/calcite-radio-button.js +1 -1
  1080. package/dist/components/calcite-rating.js +2 -2
  1081. package/dist/components/calcite-rating.js.map +1 -1
  1082. package/dist/components/calcite-scrim.js +1 -1
  1083. package/dist/components/calcite-segmented-control-item.js +2 -2
  1084. package/dist/components/calcite-segmented-control-item.js.map +1 -1
  1085. package/dist/components/calcite-segmented-control.js +1 -1
  1086. package/dist/components/calcite-select.js +2 -2
  1087. package/dist/components/calcite-select.js.map +1 -1
  1088. package/dist/components/calcite-sheet.js +1 -1
  1089. package/dist/components/calcite-shell-center-row.js +1 -1
  1090. package/dist/components/calcite-shell-panel.js +1 -1
  1091. package/dist/components/calcite-shell.js +1 -1
  1092. package/dist/components/calcite-slider.js +2 -2
  1093. package/dist/components/calcite-slider.js.map +1 -1
  1094. package/dist/components/calcite-sortable-list.js +1 -1
  1095. package/dist/components/calcite-split-button.js +1 -1
  1096. package/dist/components/calcite-stack.js +1 -1
  1097. package/dist/components/calcite-stepper-item.js +2 -2
  1098. package/dist/components/calcite-stepper-item.js.map +1 -1
  1099. package/dist/components/calcite-stepper.js +1 -1
  1100. package/dist/components/calcite-switch.js +1 -1
  1101. package/dist/components/calcite-tab-nav.js +1 -1
  1102. package/dist/components/calcite-tab-title.js +1 -1
  1103. package/dist/components/calcite-tab.js +1 -1
  1104. package/dist/components/calcite-table-cell.js +1 -1
  1105. package/dist/components/calcite-table-header.js +1 -1
  1106. package/dist/components/calcite-table-row.js +1 -1
  1107. package/dist/components/calcite-table.js +1 -1
  1108. package/dist/components/calcite-tabs.js +1 -1
  1109. package/dist/components/calcite-text-area.js +2 -2
  1110. package/dist/components/calcite-text-area.js.map +1 -1
  1111. package/dist/components/calcite-tile-select-group.js +1 -1
  1112. package/dist/components/calcite-tile-select.js +2 -2
  1113. package/dist/components/calcite-tile-select.js.map +1 -1
  1114. package/dist/components/calcite-tile.js +32 -9
  1115. package/dist/components/calcite-tile.js.map +1 -1
  1116. package/dist/components/calcite-time-picker.js +1 -1
  1117. package/dist/components/calcite-tip-group.js +1 -1
  1118. package/dist/components/calcite-tip-manager.js +2 -2
  1119. package/dist/components/calcite-tip-manager.js.map +1 -1
  1120. package/dist/components/calcite-tip.js +2 -2
  1121. package/dist/components/calcite-tip.js.map +1 -1
  1122. package/dist/components/calcite-tooltip.js +1 -1
  1123. package/dist/components/calcite-tree-item.js +2 -2
  1124. package/dist/components/calcite-tree-item.js.map +1 -1
  1125. package/dist/components/calcite-tree.js +1 -1
  1126. package/dist/components/calcite-value-list-item.js +2 -2
  1127. package/dist/components/calcite-value-list-item.js.map +1 -1
  1128. package/dist/components/calcite-value-list.js +1 -1
  1129. package/dist/components/checkbox.js +2 -2
  1130. package/dist/components/checkbox.js.map +1 -1
  1131. package/dist/components/chip.js +2 -2
  1132. package/dist/components/chip.js.map +1 -1
  1133. package/dist/components/color-picker-hex-input.js +1 -1
  1134. package/dist/components/color-picker-swatch.js +1 -1
  1135. package/dist/components/combobox-item.js +2 -2
  1136. package/dist/components/combobox-item.js.map +1 -1
  1137. package/dist/components/combobox.js +21 -16
  1138. package/dist/components/combobox.js.map +1 -1
  1139. package/dist/components/component.js +1 -1
  1140. package/dist/components/conditionalSlot.js +1 -1
  1141. package/dist/components/cs.js +1 -1
  1142. package/dist/components/da.js +1 -1
  1143. package/dist/components/date-picker-day.js +2 -2
  1144. package/dist/components/date-picker-day.js.map +1 -1
  1145. package/dist/components/date-picker-month-header.js +2 -2
  1146. package/dist/components/date-picker-month-header.js.map +1 -1
  1147. package/dist/components/date-picker-month.js +1 -1
  1148. package/dist/components/date-picker.js +1 -1
  1149. package/dist/components/date.js +1 -1
  1150. package/dist/components/de-at.js +1 -1
  1151. package/dist/components/de-ch.js +1 -1
  1152. package/dist/components/de.js +1 -1
  1153. package/dist/components/debounce.js +1 -1
  1154. package/dist/components/dom.js +1 -1
  1155. package/dist/components/dropdown.js +1 -1
  1156. package/dist/components/el.js +1 -1
  1157. package/dist/components/en-au.js +1 -1
  1158. package/dist/components/en-ca.js +1 -1
  1159. package/dist/components/en-gb.js +1 -1
  1160. package/dist/components/es-mx.js +1 -1
  1161. package/dist/components/es.js +1 -1
  1162. package/dist/components/et.js +1 -1
  1163. package/dist/components/fi.js +1 -1
  1164. package/dist/components/filter.js +1 -1
  1165. package/dist/components/filter2.js +1 -1
  1166. package/dist/components/floating-ui.js +1 -1
  1167. package/dist/components/focusTrapComponent.js +1 -1
  1168. package/dist/components/form.js +1 -1
  1169. package/dist/components/fr-ch.js +1 -1
  1170. package/dist/components/fr.js +1 -1
  1171. package/dist/components/graph.js +1 -1
  1172. package/dist/components/guid.js +1 -1
  1173. package/dist/components/handle.js +2 -2
  1174. package/dist/components/handle.js.map +1 -1
  1175. package/dist/components/he.js +1 -1
  1176. package/dist/components/hi.js +1 -1
  1177. package/dist/components/hr.js +1 -1
  1178. package/dist/components/hu.js +1 -1
  1179. package/dist/components/icon.js +1 -1
  1180. package/dist/components/id.js +1 -1
  1181. package/dist/components/index.js +1 -1
  1182. package/dist/components/index2.js +1 -1
  1183. package/dist/components/index3.js +1 -1
  1184. package/dist/components/index4.js +1 -1
  1185. package/dist/components/input-message.js +1 -1
  1186. package/dist/components/input-number.js +2 -2
  1187. package/dist/components/input-number.js.map +1 -1
  1188. package/dist/components/input-text.js +2 -2
  1189. package/dist/components/input-text.js.map +1 -1
  1190. package/dist/components/input.js +2 -2
  1191. package/dist/components/input.js.map +1 -1
  1192. package/dist/components/interactive.js +1 -1
  1193. package/dist/components/it-ch.js +1 -1
  1194. package/dist/components/it.js +1 -1
  1195. package/dist/components/ja.js +1 -1
  1196. package/dist/components/key.js +1 -1
  1197. package/dist/components/ko.js +1 -1
  1198. package/dist/components/label.js +1 -1
  1199. package/dist/components/label2.js +1 -1
  1200. package/dist/components/link.js +2 -2
  1201. package/dist/components/link.js.map +1 -1
  1202. package/dist/components/loadable.js +1 -1
  1203. package/dist/components/loader.js +2 -2
  1204. package/dist/components/loader.js.map +1 -1
  1205. package/dist/components/locale.js +1 -1
  1206. package/dist/components/lt.js +1 -1
  1207. package/dist/components/lv.js +1 -1
  1208. package/dist/components/math.js +1 -1
  1209. package/dist/components/menu.js +1 -1
  1210. package/dist/components/mk.js +1 -1
  1211. package/dist/components/nb.js +1 -1
  1212. package/dist/components/nl.js +1 -1
  1213. package/dist/components/observers.js +1 -1
  1214. package/dist/components/openCloseComponent.js +1 -1
  1215. package/dist/components/pagination.js +3 -3
  1216. package/dist/components/pagination.js.map +1 -1
  1217. package/dist/components/panel.js +1 -1
  1218. package/dist/components/pick-list-item.js +2 -2
  1219. package/dist/components/pick-list-item.js.map +1 -1
  1220. package/dist/components/pl.js +1 -1
  1221. package/dist/components/popover.js +1 -1
  1222. package/dist/components/progress.js +1 -1
  1223. package/dist/components/pt-br.js +1 -1
  1224. package/dist/components/pt.js +1 -1
  1225. package/dist/components/radio-button.js +2 -2
  1226. package/dist/components/radio-button.js.map +1 -1
  1227. package/dist/components/resources.js +1 -1
  1228. package/dist/components/resources2.js +1 -1
  1229. package/dist/components/resources3.js +1 -1
  1230. package/dist/components/resources4.js +1 -1
  1231. package/dist/components/resources5.js +1 -1
  1232. package/dist/components/ro.js +1 -1
  1233. package/dist/components/ru.js +1 -1
  1234. package/dist/components/scrim.js +1 -1
  1235. package/dist/components/shared-list-render.js +1 -1
  1236. package/dist/components/sk.js +1 -1
  1237. package/dist/components/sl.js +1 -1
  1238. package/dist/components/sortableComponent.js +1 -1
  1239. package/dist/components/sr.js +1 -1
  1240. package/dist/components/stack.js +1 -1
  1241. package/dist/components/sv.js +1 -1
  1242. package/dist/components/switch.js +2 -2
  1243. package/dist/components/switch.js.map +1 -1
  1244. package/dist/components/t9n.js +1 -1
  1245. package/dist/components/tab-nav.js +1 -1
  1246. package/dist/components/tab-title.js +2 -2
  1247. package/dist/components/tab-title.js.map +1 -1
  1248. package/dist/components/tab.js +1 -1
  1249. package/dist/components/table-cell.js +2 -2
  1250. package/dist/components/table-cell.js.map +1 -1
  1251. package/dist/components/table-header.js +2 -2
  1252. package/dist/components/table-header.js.map +1 -1
  1253. package/dist/components/tabs.js +1 -1
  1254. package/dist/components/th.js +1 -1
  1255. package/dist/components/throttle.js +1 -1
  1256. package/dist/components/time-picker.js +1 -1
  1257. package/dist/components/tr.js +1 -1
  1258. package/dist/components/uk.js +1 -1
  1259. package/dist/components/utils.js +1 -1
  1260. package/dist/components/utils2.js +1 -1
  1261. package/dist/components/utils3.js +1 -1
  1262. package/dist/components/vi.js +1 -1
  1263. package/dist/components/zh-cn.js +1 -1
  1264. package/dist/components/zh-hk.js +1 -1
  1265. package/dist/components/zh-tw.js +1 -1
  1266. package/dist/esm/ExpandToggle-a9579669.js +102 -0
  1267. package/dist/esm/ExpandToggle-a9579669.js.map +1 -0
  1268. package/dist/esm/FloatingArrow-06434dfd.js +47 -0
  1269. package/dist/esm/FloatingArrow-06434dfd.js.map +1 -0
  1270. package/dist/esm/Heading-45150b9f.js +19 -0
  1271. package/dist/esm/Heading-45150b9f.js.map +1 -0
  1272. package/dist/esm/Validation-7b1fb10b.js +16 -0
  1273. package/dist/esm/Validation-7b1fb10b.js.map +1 -0
  1274. package/dist/esm/app-globals-8a011f87.js +59 -0
  1275. package/dist/esm/app-globals-8a011f87.js.map +1 -0
  1276. package/dist/esm/ar-5d066dd9.js +104 -0
  1277. package/dist/esm/ar-5d066dd9.js.map +1 -0
  1278. package/dist/esm/array-8adfbe4c.js +12 -0
  1279. package/dist/esm/array-8adfbe4c.js.map +1 -0
  1280. package/dist/esm/bg-51c36c27.js +82 -0
  1281. package/dist/esm/bg-51c36c27.js.map +1 -0
  1282. package/dist/esm/browser-79ab9ba6.js +18 -0
  1283. package/dist/esm/browser-79ab9ba6.js.map +1 -0
  1284. package/dist/esm/bs-b7c67b5d.js +51 -0
  1285. package/dist/esm/bs-b7c67b5d.js.map +1 -0
  1286. package/dist/esm/ca-d300659c.js +71 -0
  1287. package/dist/esm/ca-d300659c.js.map +1 -0
  1288. package/dist/esm/calcite-accordion_2.entry.js +9 -9
  1289. package/dist/esm/calcite-accordion_2.entry.js.map +1 -1
  1290. package/dist/esm/calcite-action-bar.entry.js +15 -15
  1291. package/dist/esm/calcite-action-group.entry.js +13 -13
  1292. package/dist/esm/calcite-action-menu.entry.js +9 -9
  1293. package/dist/esm/calcite-action-pad.entry.js +14 -14
  1294. package/dist/esm/calcite-action.entry.js +14 -14
  1295. package/dist/esm/calcite-action.entry.js.map +1 -1
  1296. package/dist/esm/calcite-alert.entry.js +14 -14
  1297. package/dist/esm/calcite-alert.entry.js.map +1 -1
  1298. package/dist/esm/calcite-avatar.entry.js +6 -6
  1299. package/dist/esm/calcite-block_2.entry.js +17 -17
  1300. package/dist/esm/calcite-block_2.entry.js.map +1 -1
  1301. package/dist/esm/calcite-button.entry.js +16 -16
  1302. package/dist/esm/calcite-button.entry.js.map +1 -1
  1303. package/dist/esm/calcite-card.entry.js +10 -10
  1304. package/dist/esm/calcite-checkbox.entry.js +13 -13
  1305. package/dist/esm/calcite-checkbox.entry.js.map +1 -1
  1306. package/dist/esm/calcite-chip-group.entry.js +9 -9
  1307. package/dist/esm/calcite-chip.entry.js +15 -15
  1308. package/dist/esm/calcite-chip.entry.js.map +1 -1
  1309. package/dist/esm/calcite-color-picker_3.entry.js +32 -22
  1310. package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
  1311. package/dist/esm/calcite-combobox_3.entry.js +42 -37
  1312. package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
  1313. package/dist/esm/calcite-date-picker_4.entry.js +17 -17
  1314. package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
  1315. package/dist/esm/calcite-dropdown_3.entry.js +15 -15
  1316. package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
  1317. package/dist/esm/calcite-fab.entry.js +8 -8
  1318. package/dist/esm/calcite-filter.entry.js +14 -14
  1319. package/dist/esm/calcite-flow-item.entry.js +13 -13
  1320. package/dist/esm/calcite-flow.entry.js +4 -4
  1321. package/dist/esm/calcite-graph_2.entry.js +16 -16
  1322. package/dist/esm/calcite-graph_2.entry.js.map +1 -1
  1323. package/dist/esm/calcite-handle.entry.js +13 -13
  1324. package/dist/esm/calcite-handle.entry.js.map +1 -1
  1325. package/dist/esm/calcite-icon.entry.js +6 -6
  1326. package/dist/esm/calcite-inline-editable.entry.js +14 -14
  1327. package/dist/esm/calcite-input-date-picker.entry.js +21 -21
  1328. package/dist/esm/calcite-input-message.entry.js +5 -5
  1329. package/dist/esm/calcite-input-number.entry.js +17 -17
  1330. package/dist/esm/calcite-input-number.entry.js.map +1 -1
  1331. package/dist/esm/calcite-input-text.entry.js +17 -17
  1332. package/dist/esm/calcite-input-text.entry.js.map +1 -1
  1333. package/dist/esm/calcite-input-time-picker.calcite-time-picker-84e7419d.js +2914 -0
  1334. package/dist/esm/calcite-input-time-picker.calcite-time-picker-84e7419d.js.map +1 -0
  1335. package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
  1336. package/dist/esm/calcite-input-time-zone.entry.js +17 -17
  1337. package/dist/esm/calcite-input.entry.js +17 -17
  1338. package/dist/esm/calcite-input.entry.js.map +1 -1
  1339. package/dist/esm/calcite-label.entry.js +7 -7
  1340. package/dist/esm/calcite-link.entry.js +9 -9
  1341. package/dist/esm/calcite-link.entry.js.map +1 -1
  1342. package/dist/esm/calcite-list_3.entry.js +16 -16
  1343. package/dist/esm/calcite-list_3.entry.js.map +1 -1
  1344. package/dist/esm/calcite-loader.entry.js +4 -4
  1345. package/dist/esm/calcite-loader.entry.js.map +1 -1
  1346. package/dist/esm/calcite-menu_2.entry.js +11 -11
  1347. package/dist/esm/calcite-menu_2.entry.js.map +1 -1
  1348. package/dist/esm/calcite-meter.entry.js +10 -10
  1349. package/dist/esm/calcite-modal.entry.js +15 -15
  1350. package/dist/esm/calcite-modal.entry.js.map +1 -1
  1351. package/dist/esm/calcite-navigation_3.entry.js +8 -8
  1352. package/dist/esm/calcite-navigation_3.entry.js.map +1 -1
  1353. package/dist/esm/calcite-notice.entry.js +15 -15
  1354. package/dist/esm/calcite-notice.entry.js.map +1 -1
  1355. package/dist/esm/calcite-option_3.entry.js +14 -14
  1356. package/dist/esm/calcite-option_3.entry.js.map +1 -1
  1357. package/dist/esm/calcite-pagination.entry.js +13 -13
  1358. package/dist/esm/calcite-pagination.entry.js.map +1 -1
  1359. package/dist/esm/calcite-panel.entry.js +15 -15
  1360. package/dist/esm/calcite-pick-list_3.entry.js +18 -18
  1361. package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
  1362. package/dist/esm/calcite-popover.entry.js +17 -17
  1363. package/dist/esm/calcite-progress.entry.js +5 -5
  1364. package/dist/esm/calcite-radio-button-group.entry.js +5 -5
  1365. package/dist/esm/calcite-radio-button.entry.js +13 -13
  1366. package/dist/esm/calcite-radio-button.entry.js.map +1 -1
  1367. package/dist/esm/calcite-rating.entry.js +16 -16
  1368. package/dist/esm/calcite-rating.entry.js.map +1 -1
  1369. package/dist/esm/calcite-scrim.entry.js +9 -9
  1370. package/dist/esm/calcite-segmented-control_2.entry.js +14 -14
  1371. package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
  1372. package/dist/esm/calcite-sheet.entry.js +9 -9
  1373. package/dist/esm/calcite-shell_3.entry.js +11 -11
  1374. package/dist/esm/calcite-sortable-list.entry.js +9 -9
  1375. package/dist/esm/calcite-split-button.entry.js +5 -5
  1376. package/dist/esm/calcite-stack.entry.js +6 -6
  1377. package/dist/esm/calcite-stepper_2.entry.js +13 -13
  1378. package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
  1379. package/dist/esm/calcite-switch.entry.js +13 -13
  1380. package/dist/esm/calcite-switch.entry.js.map +1 -1
  1381. package/dist/esm/calcite-tab_4.entry.js +13 -13
  1382. package/dist/esm/calcite-tab_4.entry.js.map +1 -1
  1383. package/dist/esm/calcite-table-cell_2.entry.js +15 -15
  1384. package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
  1385. package/dist/esm/calcite-table-row.entry.js +9 -9
  1386. package/dist/esm/calcite-table.entry.js +11 -11
  1387. package/dist/esm/calcite-text-area.entry.js +19 -19
  1388. package/dist/esm/calcite-text-area.entry.js.map +1 -1
  1389. package/dist/esm/calcite-tile-select_2.entry.js +7 -7
  1390. package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
  1391. package/dist/esm/calcite-tile.entry.js +33 -14
  1392. package/dist/esm/calcite-tile.entry.js.map +1 -1
  1393. package/dist/esm/calcite-tip_3.entry.js +13 -13
  1394. package/dist/esm/calcite-tip_3.entry.js.map +1 -1
  1395. package/dist/esm/calcite-tooltip.entry.js +9 -9
  1396. package/dist/esm/calcite-tree_2.entry.js +11 -11
  1397. package/dist/esm/calcite-tree_2.entry.js.map +1 -1
  1398. package/dist/esm/calcite-value-list_2.entry.js +18 -18
  1399. package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
  1400. package/dist/esm/calcite.js +6 -6
  1401. package/dist/esm/component-4ce2e4e4.js +27 -0
  1402. package/dist/esm/component-4ce2e4e4.js.map +1 -0
  1403. package/dist/esm/conditionalSlot-0fdeb6e1.js +57 -0
  1404. package/dist/esm/conditionalSlot-0fdeb6e1.js.map +1 -0
  1405. package/dist/esm/cs-9309363a.js +147 -0
  1406. package/dist/esm/cs-9309363a.js.map +1 -0
  1407. package/dist/esm/da-3bc71870.js +66 -0
  1408. package/dist/esm/da-3bc71870.js.map +1 -0
  1409. package/dist/esm/de-at-2a55c676.js +90 -0
  1410. package/dist/esm/de-at-2a55c676.js.map +1 -0
  1411. package/dist/esm/de-cacd65f9.js +91 -0
  1412. package/dist/esm/de-cacd65f9.js.map +1 -0
  1413. package/dist/esm/de-ch-a71f8336.js +90 -0
  1414. package/dist/esm/de-ch-a71f8336.js.map +1 -0
  1415. package/dist/esm/debounce-8977a306.js +489 -0
  1416. package/dist/esm/debounce-8977a306.js.map +1 -0
  1417. package/dist/esm/dom-08b6614c.js +1053 -0
  1418. package/dist/esm/dom-08b6614c.js.map +1 -0
  1419. package/dist/esm/el-8de63bb4.js +66 -0
  1420. package/dist/esm/el-8de63bb4.js.map +1 -0
  1421. package/dist/esm/en-au-c6020f45.js +66 -0
  1422. package/dist/esm/en-au-c6020f45.js.map +1 -0
  1423. package/dist/esm/en-ca-68679ecf.js +65 -0
  1424. package/dist/esm/en-ca-68679ecf.js.map +1 -0
  1425. package/dist/esm/en-gb-511dbe86.js +69 -0
  1426. package/dist/esm/en-gb-511dbe86.js.map +1 -0
  1427. package/dist/esm/es-5e53c111.js +66 -0
  1428. package/dist/esm/es-5e53c111.js.map +1 -0
  1429. package/dist/esm/es-mx-e53886d7.js +65 -0
  1430. package/dist/esm/es-mx-e53886d7.js.map +1 -0
  1431. package/dist/esm/et-16d960fe.js +92 -0
  1432. package/dist/esm/et-16d960fe.js.map +1 -0
  1433. package/dist/esm/fi-4abaa7c5.js +115 -0
  1434. package/dist/esm/fi-4abaa7c5.js.map +1 -0
  1435. package/dist/esm/filter-4160ac90.js +760 -0
  1436. package/dist/esm/filter-4160ac90.js.map +1 -0
  1437. package/dist/esm/floating-ui-44acd5ac.js +1957 -0
  1438. package/dist/esm/floating-ui-44acd5ac.js.map +1 -0
  1439. package/dist/esm/focusTrapComponent-61a50162.js +1015 -0
  1440. package/dist/esm/focusTrapComponent-61a50162.js.map +1 -0
  1441. package/dist/esm/form-02ff3693.js +324 -0
  1442. package/dist/esm/form-02ff3693.js.map +1 -0
  1443. package/dist/esm/fr-612a10c0.js +68 -0
  1444. package/dist/esm/fr-612a10c0.js.map +1 -0
  1445. package/dist/esm/fr-ch-f561ba9e.js +66 -0
  1446. package/dist/esm/fr-ch-f561ba9e.js.map +1 -0
  1447. package/dist/esm/guid-d4e7d31e.js +21 -0
  1448. package/dist/esm/guid-d4e7d31e.js.map +1 -0
  1449. package/dist/esm/he-93084066.js +105 -0
  1450. package/dist/esm/he-93084066.js.map +1 -0
  1451. package/dist/esm/hi-c1ee6998.js +65 -0
  1452. package/dist/esm/hi-c1ee6998.js.map +1 -0
  1453. package/dist/esm/hr-a1733b35.js +80 -0
  1454. package/dist/esm/hr-a1733b35.js.map +1 -0
  1455. package/dist/esm/hu-eb6d5a71.js +88 -0
  1456. package/dist/esm/hu-eb6d5a71.js.map +1 -0
  1457. package/dist/esm/id-c9460265.js +66 -0
  1458. package/dist/esm/id-c9460265.js.map +1 -0
  1459. package/dist/esm/index-15780aed.js +206 -0
  1460. package/dist/esm/index-15780aed.js.map +1 -0
  1461. package/dist/esm/index-18848e61.js +73 -0
  1462. package/dist/esm/index-18848e61.js.map +1 -0
  1463. package/dist/esm/index-91edccbd.js +2620 -0
  1464. package/dist/esm/index-91edccbd.js.map +1 -0
  1465. package/dist/esm/index.js +1 -1
  1466. package/dist/esm/interactive-f332f7c7.js +136 -0
  1467. package/dist/esm/interactive-f332f7c7.js.map +1 -0
  1468. package/dist/esm/it-6d730ae9.js +66 -0
  1469. package/dist/esm/it-6d730ae9.js.map +1 -0
  1470. package/dist/esm/it-ch-8300b303.js +66 -0
  1471. package/dist/esm/it-ch-8300b303.js.map +1 -0
  1472. package/dist/esm/ja-739424be.js +72 -0
  1473. package/dist/esm/ja-739424be.js.map +1 -0
  1474. package/dist/esm/key-1e81df28.js +13 -0
  1475. package/dist/esm/key-1e81df28.js.map +1 -0
  1476. package/dist/esm/ko-eb225971.js +72 -0
  1477. package/dist/esm/ko-eb225971.js.map +1 -0
  1478. package/dist/esm/label-94340ccf.js +176 -0
  1479. package/dist/esm/label-94340ccf.js.map +1 -0
  1480. package/dist/esm/loadable-e5b2c41c.js +86 -0
  1481. package/dist/esm/loadable-e5b2c41c.js.map +1 -0
  1482. package/dist/esm/loader.js +6 -6
  1483. package/dist/esm/locale-3cc2794c.js +563 -0
  1484. package/dist/esm/locale-3cc2794c.js.map +1 -0
  1485. package/dist/esm/lt-08ab381b.js +97 -0
  1486. package/dist/esm/lt-08ab381b.js.map +1 -0
  1487. package/dist/esm/lv-c8dd6ba2.js +66 -0
  1488. package/dist/esm/lv-c8dd6ba2.js.map +1 -0
  1489. package/dist/esm/math-c90f2ffb.js +51 -0
  1490. package/dist/esm/math-c90f2ffb.js.map +1 -0
  1491. package/dist/esm/mk-1c744aa8.js +66 -0
  1492. package/dist/esm/mk-1c744aa8.js.map +1 -0
  1493. package/dist/esm/nb-9600b747.js +67 -0
  1494. package/dist/esm/nb-9600b747.js.map +1 -0
  1495. package/dist/esm/nl-6963ded3.js +67 -0
  1496. package/dist/esm/nl-6963ded3.js.map +1 -0
  1497. package/dist/esm/observers-de596d65.js +48 -0
  1498. package/dist/esm/observers-de596d65.js.map +1 -0
  1499. package/dist/esm/openCloseComponent-0327226c.js +87 -0
  1500. package/dist/esm/openCloseComponent-0327226c.js.map +1 -0
  1501. package/dist/esm/pl-3bede996.js +114 -0
  1502. package/dist/esm/pl-3bede996.js.map +1 -0
  1503. package/dist/esm/pt-324e29c4.js +67 -0
  1504. package/dist/esm/pt-324e29c4.js.map +1 -0
  1505. package/dist/esm/pt-br-3254a01f.js +65 -0
  1506. package/dist/esm/pt-br-3254a01f.js.map +1 -0
  1507. package/dist/esm/resources-0c9c16f6.js +25 -0
  1508. package/dist/esm/resources-0c9c16f6.js.map +1 -0
  1509. package/dist/esm/resources-3bf40292.js +45 -0
  1510. package/dist/esm/resources-3bf40292.js.map +1 -0
  1511. package/dist/esm/resources-671017cd.js +387 -0
  1512. package/dist/esm/resources-671017cd.js.map +1 -0
  1513. package/dist/esm/resources-6f697258.js +17 -0
  1514. package/dist/esm/resources-6f697258.js.map +1 -0
  1515. package/dist/esm/resources-7029ed8b.js +23 -0
  1516. package/dist/esm/resources-7029ed8b.js.map +1 -0
  1517. package/dist/esm/resources-d887fe6e.js +21 -0
  1518. package/dist/esm/resources-d887fe6e.js.map +1 -0
  1519. package/dist/esm/resources-fbc5360d.js +19 -0
  1520. package/dist/esm/resources-fbc5360d.js.map +1 -0
  1521. package/dist/esm/ro-7f704b11.js +66 -0
  1522. package/dist/esm/ro-7f704b11.js.map +1 -0
  1523. package/dist/esm/ru-d78bb193.js +126 -0
  1524. package/dist/esm/ru-d78bb193.js.map +1 -0
  1525. package/dist/esm/sk-ac76260c.js +148 -0
  1526. package/dist/esm/sk-ac76260c.js.map +1 -0
  1527. package/dist/esm/sl-57173e5e.js +168 -0
  1528. package/dist/esm/sl-57173e5e.js.map +1 -0
  1529. package/dist/esm/sortableComponent-c4702e67.js +2735 -0
  1530. package/dist/esm/sortableComponent-c4702e67.js.map +1 -0
  1531. package/dist/esm/sr-aa2c4cab.js +101 -0
  1532. package/dist/esm/sr-aa2c4cab.js.map +1 -0
  1533. package/dist/esm/sv-05b14250.js +71 -0
  1534. package/dist/esm/sv-05b14250.js.map +1 -0
  1535. package/dist/esm/t9n-ac00cf6e.js +92 -0
  1536. package/dist/esm/t9n-ac00cf6e.js.map +1 -0
  1537. package/dist/esm/th-5fe85139.js +65 -0
  1538. package/dist/esm/th-5fe85139.js.map +1 -0
  1539. package/dist/esm/throttle-ba9f0641.js +75 -0
  1540. package/dist/esm/throttle-ba9f0641.js.map +1 -0
  1541. package/dist/esm/tr-17e76665.js +66 -0
  1542. package/dist/esm/tr-17e76665.js.map +1 -0
  1543. package/dist/esm/uk-49d1609a.js +104 -0
  1544. package/dist/esm/uk-49d1609a.js.map +1 -0
  1545. package/dist/esm/utils-837c791d.js +289 -0
  1546. package/dist/esm/utils-837c791d.js.map +1 -0
  1547. package/dist/esm/utils-8e3b6c16.js +200 -0
  1548. package/dist/esm/utils-8e3b6c16.js.map +1 -0
  1549. package/dist/esm/vi-68b8c9d0.js +70 -0
  1550. package/dist/esm/vi-68b8c9d0.js.map +1 -0
  1551. package/dist/esm/zh-cn-a9819cbd.js +94 -0
  1552. package/dist/esm/zh-cn-a9819cbd.js.map +1 -0
  1553. package/dist/esm/zh-hk-5209e0e3.js +71 -0
  1554. package/dist/esm/zh-hk-5209e0e3.js.map +1 -0
  1555. package/dist/esm/zh-tw-b68883d2.js +92 -0
  1556. package/dist/esm/zh-tw-b68883d2.js.map +1 -0
  1557. package/dist/extras/docs-json.json +60 -2
  1558. package/dist/loader/cdn.js +1 -1
  1559. package/dist/loader/index.cjs.js +1 -1
  1560. package/dist/loader/index.es2017.js +1 -1
  1561. package/dist/loader/index.js +1 -1
  1562. package/dist/stencil.config.js +1 -1
  1563. package/dist/support/formatting.js +1 -1
  1564. package/dist/support/preact.js +1 -1
  1565. package/dist/tailwind.config.js +1 -1
  1566. package/dist/types/components/combobox/combobox.d.ts +4 -3
  1567. package/dist/types/components/tile/resources.d.ts +9 -0
  1568. package/dist/types/components/tile/tile.d.ts +10 -3
  1569. package/dist/types/components.d.ts +8 -0
  1570. package/hydrate/index.js +660 -621
  1571. package/package.json +2 -2
  1572. package/dist/calcite/p-00b33d27.js +0 -7
  1573. package/dist/calcite/p-01223da5.entry.js +0 -7
  1574. package/dist/calcite/p-01223da5.entry.js.map +0 -1
  1575. package/dist/calcite/p-01ce6c82.entry.js +0 -7
  1576. package/dist/calcite/p-0294cb32.entry.js +0 -7
  1577. package/dist/calcite/p-0294cb32.entry.js.map +0 -1
  1578. package/dist/calcite/p-041acb71.js +0 -7
  1579. package/dist/calcite/p-082040be.js +0 -7
  1580. package/dist/calcite/p-086954cf.entry.js +0 -7
  1581. package/dist/calcite/p-0944eb43.entry.js +0 -7
  1582. package/dist/calcite/p-0d04e387.js +0 -7
  1583. package/dist/calcite/p-0f7d03d1.js +0 -7
  1584. package/dist/calcite/p-10acb648.js +0 -7
  1585. package/dist/calcite/p-11d4c82a.js +0 -7
  1586. package/dist/calcite/p-128a6263.js +0 -7
  1587. package/dist/calcite/p-15ec4f27.js +0 -7
  1588. package/dist/calcite/p-15fd0b18.js +0 -7
  1589. package/dist/calcite/p-1e1fed0c.entry.js +0 -7
  1590. package/dist/calcite/p-1e1fed0c.entry.js.map +0 -1
  1591. package/dist/calcite/p-20db39dc.js +0 -7
  1592. package/dist/calcite/p-21d84e50.js +0 -7
  1593. package/dist/calcite/p-264f4332.entry.js +0 -7
  1594. package/dist/calcite/p-264f4332.entry.js.map +0 -1
  1595. package/dist/calcite/p-26cd3c63.js +0 -7
  1596. package/dist/calcite/p-26f7f362.js +0 -7
  1597. package/dist/calcite/p-299b2dc4.entry.js +0 -7
  1598. package/dist/calcite/p-2b1358dd.entry.js +0 -7
  1599. package/dist/calcite/p-2e3e6934.js +0 -7
  1600. package/dist/calcite/p-2e8e9118.entry.js +0 -7
  1601. package/dist/calcite/p-2e8e9118.entry.js.map +0 -1
  1602. package/dist/calcite/p-30bc9f81.entry.js +0 -7
  1603. package/dist/calcite/p-319afb8e.js +0 -7
  1604. package/dist/calcite/p-31fd105d.entry.js +0 -7
  1605. package/dist/calcite/p-31fd105d.entry.js.map +0 -1
  1606. package/dist/calcite/p-32f0d2e4.entry.js +0 -7
  1607. package/dist/calcite/p-32f0d2e4.entry.js.map +0 -1
  1608. package/dist/calcite/p-3328f5ba.js +0 -7
  1609. package/dist/calcite/p-3341a34a.js +0 -7
  1610. package/dist/calcite/p-341f5dd5.js +0 -7
  1611. package/dist/calcite/p-34a71bdb.js +0 -7
  1612. package/dist/calcite/p-34feb62c.entry.js +0 -7
  1613. package/dist/calcite/p-34feb62c.entry.js.map +0 -1
  1614. package/dist/calcite/p-351ef8bc.js +0 -7
  1615. package/dist/calcite/p-385fabe6.entry.js +0 -7
  1616. package/dist/calcite/p-39613b4f.js +0 -7
  1617. package/dist/calcite/p-39d8f5e0.entry.js +0 -7
  1618. package/dist/calcite/p-39e3cd7c.js +0 -7
  1619. package/dist/calcite/p-3a38726f.js +0 -7
  1620. package/dist/calcite/p-3c663b9d.entry.js +0 -7
  1621. package/dist/calcite/p-3c663b9d.entry.js.map +0 -1
  1622. package/dist/calcite/p-3e9ca753.js +0 -7
  1623. package/dist/calcite/p-401ec473.entry.js +0 -7
  1624. package/dist/calcite/p-41c6c9db.entry.js +0 -7
  1625. package/dist/calcite/p-4598dc66.entry.js +0 -7
  1626. package/dist/calcite/p-471d1acf.js +0 -7
  1627. package/dist/calcite/p-48b5b678.js +0 -7
  1628. package/dist/calcite/p-49586b62.js +0 -7
  1629. package/dist/calcite/p-499adfac.entry.js +0 -7
  1630. package/dist/calcite/p-499adfac.entry.js.map +0 -1
  1631. package/dist/calcite/p-4ca318c0.entry.js +0 -7
  1632. package/dist/calcite/p-4dd08f5c.entry.js +0 -7
  1633. package/dist/calcite/p-4dd08f5c.entry.js.map +0 -1
  1634. package/dist/calcite/p-4e27599d.js +0 -7
  1635. package/dist/calcite/p-50fae575.js +0 -7
  1636. package/dist/calcite/p-51bb034f.entry.js +0 -7
  1637. package/dist/calcite/p-51bb034f.entry.js.map +0 -1
  1638. package/dist/calcite/p-541ed8e8.js +0 -7
  1639. package/dist/calcite/p-55202d8e.entry.js +0 -7
  1640. package/dist/calcite/p-566745a9.js +0 -7
  1641. package/dist/calcite/p-5723d5de.entry.js +0 -7
  1642. package/dist/calcite/p-582b93a0.js +0 -7
  1643. package/dist/calcite/p-5886e529.entry.js +0 -7
  1644. package/dist/calcite/p-58d1332e.js +0 -7
  1645. package/dist/calcite/p-5b0d5824.js +0 -7
  1646. package/dist/calcite/p-5b9f1e26.entry.js +0 -7
  1647. package/dist/calcite/p-5b9f1e26.entry.js.map +0 -1
  1648. package/dist/calcite/p-5bacd0a4.entry.js +0 -7
  1649. package/dist/calcite/p-619f6b40.entry.js +0 -7
  1650. package/dist/calcite/p-636cae83.entry.js +0 -7
  1651. package/dist/calcite/p-636cae83.entry.js.map +0 -1
  1652. package/dist/calcite/p-65704e9c.js +0 -7
  1653. package/dist/calcite/p-6635e3a5.js +0 -7
  1654. package/dist/calcite/p-69628498.entry.js +0 -7
  1655. package/dist/calcite/p-69628498.entry.js.map +0 -1
  1656. package/dist/calcite/p-6b48fd8f.js +0 -7
  1657. package/dist/calcite/p-6ca4af5b.js +0 -7
  1658. package/dist/calcite/p-72484322.js +0 -7
  1659. package/dist/calcite/p-73e108be.js +0 -7
  1660. package/dist/calcite/p-7ab6ded4.entry.js +0 -7
  1661. package/dist/calcite/p-7ab6ded4.entry.js.map +0 -1
  1662. package/dist/calcite/p-7bcfca23.js +0 -7
  1663. package/dist/calcite/p-7bd1de8b.js +0 -7
  1664. package/dist/calcite/p-7c6b37cb.js +0 -7
  1665. package/dist/calcite/p-7c9b1cff.js +0 -7
  1666. package/dist/calcite/p-7d4b1849.entry.js +0 -7
  1667. package/dist/calcite/p-7d650111.js +0 -7
  1668. package/dist/calcite/p-7dfa77d1.js +0 -7
  1669. package/dist/calcite/p-7f5e15af.entry.js +0 -7
  1670. package/dist/calcite/p-810b69a9.entry.js +0 -7
  1671. package/dist/calcite/p-810b69a9.entry.js.map +0 -1
  1672. package/dist/calcite/p-812d4433.js +0 -7
  1673. package/dist/calcite/p-85355ac3.js +0 -7
  1674. package/dist/calcite/p-88b0202c.js +0 -7
  1675. package/dist/calcite/p-88eda241.js +0 -7
  1676. package/dist/calcite/p-8dcbfce8.js +0 -7
  1677. package/dist/calcite/p-9223fe05.js +0 -7
  1678. package/dist/calcite/p-92816b80.entry.js +0 -7
  1679. package/dist/calcite/p-9395c02e.js +0 -11
  1680. package/dist/calcite/p-958e9564.entry.js +0 -7
  1681. package/dist/calcite/p-9868153c.entry.js +0 -7
  1682. package/dist/calcite/p-9868153c.entry.js.map +0 -1
  1683. package/dist/calcite/p-99a20f25.entry.js +0 -7
  1684. package/dist/calcite/p-9b44500a.entry.js +0 -7
  1685. package/dist/calcite/p-9b4aed37.js +0 -7
  1686. package/dist/calcite/p-9b565b18.js +0 -7
  1687. package/dist/calcite/p-9bd3b0b6.js +0 -7
  1688. package/dist/calcite/p-9bf3339b.entry.js +0 -7
  1689. package/dist/calcite/p-9bf3339b.entry.js.map +0 -1
  1690. package/dist/calcite/p-9e347276.js +0 -7
  1691. package/dist/calcite/p-9f076d48.js +0 -7
  1692. package/dist/calcite/p-9fe87a22.entry.js +0 -7
  1693. package/dist/calcite/p-9fe87a22.entry.js.map +0 -1
  1694. package/dist/calcite/p-a07af675.entry.js +0 -7
  1695. package/dist/calcite/p-a07af675.entry.js.map +0 -1
  1696. package/dist/calcite/p-a0ca104b.js +0 -7
  1697. package/dist/calcite/p-a5ff208a.js +0 -7
  1698. package/dist/calcite/p-a63dbb17.entry.js +0 -7
  1699. package/dist/calcite/p-a6687bbe.js +0 -7
  1700. package/dist/calcite/p-a6739f55.js +0 -7
  1701. package/dist/calcite/p-aa0e172f.js +0 -7
  1702. package/dist/calcite/p-abbb8e20.js +0 -7
  1703. package/dist/calcite/p-abc5ea47.entry.js +0 -7
  1704. package/dist/calcite/p-abc5ea47.entry.js.map +0 -1
  1705. package/dist/calcite/p-aff88591.js +0 -7
  1706. package/dist/calcite/p-b04460b0.js +0 -7
  1707. package/dist/calcite/p-b06765b5.js +0 -7
  1708. package/dist/calcite/p-b1aeb283.entry.js +0 -7
  1709. package/dist/calcite/p-b1c541ce.js +0 -7
  1710. package/dist/calcite/p-b3e72f62.js +0 -7
  1711. package/dist/calcite/p-b4957e5a.js +0 -7
  1712. package/dist/calcite/p-ba29ffe7.entry.js +0 -7
  1713. package/dist/calcite/p-ba29ffe7.entry.js.map +0 -1
  1714. package/dist/calcite/p-ba4c20f7.js +0 -7
  1715. package/dist/calcite/p-bb9a7c14.entry.js +0 -7
  1716. package/dist/calcite/p-be3588ed.entry.js +0 -7
  1717. package/dist/calcite/p-be3588ed.entry.js.map +0 -1
  1718. package/dist/calcite/p-bf3d56f4.entry.js +0 -7
  1719. package/dist/calcite/p-c1905124.js +0 -7
  1720. package/dist/calcite/p-c1f13ffc.entry.js +0 -7
  1721. package/dist/calcite/p-c1f13ffc.entry.js.map +0 -1
  1722. package/dist/calcite/p-c233af9a.js +0 -7
  1723. package/dist/calcite/p-c5a8df34.js +0 -7
  1724. package/dist/calcite/p-c6fd9a15.entry.js +0 -7
  1725. package/dist/calcite/p-c6fd9a15.entry.js.map +0 -1
  1726. package/dist/calcite/p-c827bdff.js +0 -7
  1727. package/dist/calcite/p-cbabb3e9.entry.js +0 -7
  1728. package/dist/calcite/p-cbabb3e9.entry.js.map +0 -1
  1729. package/dist/calcite/p-cf6c103a.js +0 -8
  1730. package/dist/calcite/p-d3aa19a3.js +0 -7
  1731. package/dist/calcite/p-d4392514.entry.js +0 -7
  1732. package/dist/calcite/p-d4392514.entry.js.map +0 -1
  1733. package/dist/calcite/p-d55685ca.entry.js +0 -7
  1734. package/dist/calcite/p-d55685ca.entry.js.map +0 -1
  1735. package/dist/calcite/p-d5d23c62.js +0 -7
  1736. package/dist/calcite/p-d6e4ab3a.js +0 -12
  1737. package/dist/calcite/p-d746164d.js +0 -7
  1738. package/dist/calcite/p-dc0027ba.entry.js +0 -7
  1739. package/dist/calcite/p-dc8fb8e4.entry.js +0 -7
  1740. package/dist/calcite/p-e2c60ff0.entry.js +0 -7
  1741. package/dist/calcite/p-e4186f47.js +0 -7
  1742. package/dist/calcite/p-e4298c9a.entry.js +0 -7
  1743. package/dist/calcite/p-e4736736.js +0 -7
  1744. package/dist/calcite/p-e47b629f.entry.js +0 -7
  1745. package/dist/calcite/p-e47b629f.entry.js.map +0 -1
  1746. package/dist/calcite/p-e585713f.entry.js +0 -7
  1747. package/dist/calcite/p-e585713f.entry.js.map +0 -1
  1748. package/dist/calcite/p-e589b26a.entry.js +0 -7
  1749. package/dist/calcite/p-e589b26a.entry.js.map +0 -1
  1750. package/dist/calcite/p-e6f9f5c1.js +0 -7
  1751. package/dist/calcite/p-eb367998.entry.js +0 -7
  1752. package/dist/calcite/p-eb367998.entry.js.map +0 -1
  1753. package/dist/calcite/p-ee9909cb.entry.js +0 -7
  1754. package/dist/calcite/p-f148f25b.js +0 -7
  1755. package/dist/calcite/p-f23ed287.entry.js +0 -7
  1756. package/dist/calcite/p-f23ed287.entry.js.map +0 -1
  1757. package/dist/calcite/p-f320c3b0.entry.js +0 -7
  1758. package/dist/calcite/p-f320c3b0.entry.js.map +0 -1
  1759. package/dist/calcite/p-f42f46c0.js +0 -7
  1760. package/dist/calcite/p-f60dd8b1.js +0 -7
  1761. package/dist/calcite/p-f75bd725.entry.js +0 -7
  1762. package/dist/calcite/p-f75bd725.entry.js.map +0 -1
  1763. package/dist/calcite/p-f9c43b7f.entry.js +0 -7
  1764. package/dist/calcite/p-f9c43b7f.entry.js.map +0 -1
  1765. package/dist/calcite/p-f9d57a45.entry.js +0 -7
  1766. package/dist/calcite/p-f9d57a45.entry.js.map +0 -1
  1767. package/dist/calcite/p-fa8aa680.js +0 -7
  1768. package/dist/calcite/p-fd880023.entry.js +0 -7
  1769. package/dist/calcite/p-fd880023.entry.js.map +0 -1
  1770. package/dist/calcite/p-fe4db0fa.js +0 -13
  1771. package/dist/cjs/ExpandToggle-9521cee5.js +0 -110
  1772. package/dist/cjs/ExpandToggle-9521cee5.js.map +0 -1
  1773. package/dist/cjs/FloatingArrow-5525a51e.js +0 -49
  1774. package/dist/cjs/FloatingArrow-5525a51e.js.map +0 -1
  1775. package/dist/cjs/Heading-8294d389.js +0 -22
  1776. package/dist/cjs/Heading-8294d389.js.map +0 -1
  1777. package/dist/cjs/Validation-e5075693.js +0 -18
  1778. package/dist/cjs/Validation-e5075693.js.map +0 -1
  1779. package/dist/cjs/app-globals-b8263335.js +0 -61
  1780. package/dist/cjs/app-globals-b8263335.js.map +0 -1
  1781. package/dist/cjs/ar-ce7a2383.js +0 -106
  1782. package/dist/cjs/ar-ce7a2383.js.map +0 -1
  1783. package/dist/cjs/array-bfc7639a.js +0 -14
  1784. package/dist/cjs/array-bfc7639a.js.map +0 -1
  1785. package/dist/cjs/bg-d0860d48.js +0 -84
  1786. package/dist/cjs/bg-d0860d48.js.map +0 -1
  1787. package/dist/cjs/browser-ee8f4c43.js +0 -20
  1788. package/dist/cjs/browser-ee8f4c43.js.map +0 -1
  1789. package/dist/cjs/bs-89e33cf2.js +0 -53
  1790. package/dist/cjs/bs-89e33cf2.js.map +0 -1
  1791. package/dist/cjs/ca-91e0cc2c.js +0 -73
  1792. package/dist/cjs/ca-91e0cc2c.js.map +0 -1
  1793. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-71073227.js +0 -2918
  1794. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-71073227.js.map +0 -1
  1795. package/dist/cjs/component-031364d5.js +0 -30
  1796. package/dist/cjs/component-031364d5.js.map +0 -1
  1797. package/dist/cjs/conditionalSlot-a14208bb.js +0 -60
  1798. package/dist/cjs/conditionalSlot-a14208bb.js.map +0 -1
  1799. package/dist/cjs/cs-83a82bf0.js +0 -149
  1800. package/dist/cjs/cs-83a82bf0.js.map +0 -1
  1801. package/dist/cjs/da-55c03ccb.js +0 -68
  1802. package/dist/cjs/da-55c03ccb.js.map +0 -1
  1803. package/dist/cjs/de-at-2eff8fd4.js +0 -92
  1804. package/dist/cjs/de-at-2eff8fd4.js.map +0 -1
  1805. package/dist/cjs/de-ch-e6790116.js +0 -92
  1806. package/dist/cjs/de-ch-e6790116.js.map +0 -1
  1807. package/dist/cjs/de-eb7d5bc8.js +0 -93
  1808. package/dist/cjs/de-eb7d5bc8.js.map +0 -1
  1809. package/dist/cjs/debounce-47d0a428.js +0 -498
  1810. package/dist/cjs/debounce-47d0a428.js.map +0 -1
  1811. package/dist/cjs/dom-8a99a8f4.js +0 -1084
  1812. package/dist/cjs/dom-8a99a8f4.js.map +0 -1
  1813. package/dist/cjs/el-efe35c19.js +0 -68
  1814. package/dist/cjs/el-efe35c19.js.map +0 -1
  1815. package/dist/cjs/en-au-f06421f5.js +0 -68
  1816. package/dist/cjs/en-au-f06421f5.js.map +0 -1
  1817. package/dist/cjs/en-ca-8eaf5515.js +0 -67
  1818. package/dist/cjs/en-ca-8eaf5515.js.map +0 -1
  1819. package/dist/cjs/en-gb-96b411c0.js +0 -71
  1820. package/dist/cjs/en-gb-96b411c0.js.map +0 -1
  1821. package/dist/cjs/es-3d63f266.js +0 -68
  1822. package/dist/cjs/es-3d63f266.js.map +0 -1
  1823. package/dist/cjs/es-mx-d81c53b9.js +0 -67
  1824. package/dist/cjs/es-mx-d81c53b9.js.map +0 -1
  1825. package/dist/cjs/et-ec23d267.js +0 -94
  1826. package/dist/cjs/et-ec23d267.js.map +0 -1
  1827. package/dist/cjs/fi-5276d29d.js +0 -117
  1828. package/dist/cjs/fi-5276d29d.js.map +0 -1
  1829. package/dist/cjs/filter-a1f78854.js +0 -762
  1830. package/dist/cjs/filter-a1f78854.js.map +0 -1
  1831. package/dist/cjs/floating-ui-d49e931c.js +0 -1965
  1832. package/dist/cjs/floating-ui-d49e931c.js.map +0 -1
  1833. package/dist/cjs/focusTrapComponent-bab8f4fe.js +0 -1020
  1834. package/dist/cjs/focusTrapComponent-bab8f4fe.js.map +0 -1
  1835. package/dist/cjs/form-4234381c.js +0 -333
  1836. package/dist/cjs/form-4234381c.js.map +0 -1
  1837. package/dist/cjs/fr-2b67725c.js +0 -70
  1838. package/dist/cjs/fr-2b67725c.js.map +0 -1
  1839. package/dist/cjs/fr-ch-a5ad7198.js +0 -68
  1840. package/dist/cjs/fr-ch-a5ad7198.js.map +0 -1
  1841. package/dist/cjs/guid-f89b696d.js +0 -23
  1842. package/dist/cjs/guid-f89b696d.js.map +0 -1
  1843. package/dist/cjs/he-9f0588ed.js +0 -107
  1844. package/dist/cjs/he-9f0588ed.js.map +0 -1
  1845. package/dist/cjs/hi-0c6c9c73.js +0 -67
  1846. package/dist/cjs/hi-0c6c9c73.js.map +0 -1
  1847. package/dist/cjs/hr-e9527c1e.js +0 -82
  1848. package/dist/cjs/hr-e9527c1e.js.map +0 -1
  1849. package/dist/cjs/hu-de46526b.js +0 -90
  1850. package/dist/cjs/hu-de46526b.js.map +0 -1
  1851. package/dist/cjs/id-33482348.js +0 -68
  1852. package/dist/cjs/id-33482348.js.map +0 -1
  1853. package/dist/cjs/index-0adb367e.js +0 -208
  1854. package/dist/cjs/index-0adb367e.js.map +0 -1
  1855. package/dist/cjs/index-20993df4.js +0 -75
  1856. package/dist/cjs/index-20993df4.js.map +0 -1
  1857. package/dist/cjs/index-315596ec.js +0 -2655
  1858. package/dist/cjs/index-315596ec.js.map +0 -1
  1859. package/dist/cjs/interactive-1c587add.js +0 -141
  1860. package/dist/cjs/interactive-1c587add.js.map +0 -1
  1861. package/dist/cjs/it-8337d997.js +0 -68
  1862. package/dist/cjs/it-8337d997.js.map +0 -1
  1863. package/dist/cjs/it-ch-723d4507.js +0 -68
  1864. package/dist/cjs/it-ch-723d4507.js.map +0 -1
  1865. package/dist/cjs/ja-ebafccaf.js +0 -74
  1866. package/dist/cjs/ja-ebafccaf.js.map +0 -1
  1867. package/dist/cjs/key-ce27460f.js +0 -16
  1868. package/dist/cjs/key-ce27460f.js.map +0 -1
  1869. package/dist/cjs/ko-d9a9ed6f.js +0 -74
  1870. package/dist/cjs/ko-d9a9ed6f.js.map +0 -1
  1871. package/dist/cjs/label-c0757b28.js +0 -183
  1872. package/dist/cjs/label-c0757b28.js.map +0 -1
  1873. package/dist/cjs/loadable-583ec821.js +0 -91
  1874. package/dist/cjs/loadable-583ec821.js.map +0 -1
  1875. package/dist/cjs/locale-62430b46.js +0 -576
  1876. package/dist/cjs/locale-62430b46.js.map +0 -1
  1877. package/dist/cjs/lt-547ce7f8.js +0 -99
  1878. package/dist/cjs/lt-547ce7f8.js.map +0 -1
  1879. package/dist/cjs/lv-e3ab0dd4.js +0 -68
  1880. package/dist/cjs/lv-e3ab0dd4.js.map +0 -1
  1881. package/dist/cjs/math-687d3bf5.js +0 -57
  1882. package/dist/cjs/math-687d3bf5.js.map +0 -1
  1883. package/dist/cjs/mk-ac39e9ba.js +0 -68
  1884. package/dist/cjs/mk-ac39e9ba.js.map +0 -1
  1885. package/dist/cjs/nb-3862ed2b.js +0 -69
  1886. package/dist/cjs/nb-3862ed2b.js.map +0 -1
  1887. package/dist/cjs/nl-f26a536c.js +0 -69
  1888. package/dist/cjs/nl-f26a536c.js.map +0 -1
  1889. package/dist/cjs/observers-bd89a170.js +0 -50
  1890. package/dist/cjs/observers-bd89a170.js.map +0 -1
  1891. package/dist/cjs/openCloseComponent-7009664d.js +0 -89
  1892. package/dist/cjs/openCloseComponent-7009664d.js.map +0 -1
  1893. package/dist/cjs/pl-5604e39c.js +0 -116
  1894. package/dist/cjs/pl-5604e39c.js.map +0 -1
  1895. package/dist/cjs/pt-a96a7649.js +0 -69
  1896. package/dist/cjs/pt-a96a7649.js.map +0 -1
  1897. package/dist/cjs/pt-br-609918e6.js +0 -67
  1898. package/dist/cjs/pt-br-609918e6.js.map +0 -1
  1899. package/dist/cjs/resources-666c6581.js +0 -29
  1900. package/dist/cjs/resources-666c6581.js.map +0 -1
  1901. package/dist/cjs/resources-669bed34.js +0 -17
  1902. package/dist/cjs/resources-669bed34.js.map +0 -1
  1903. package/dist/cjs/resources-6e141ab6.js +0 -26
  1904. package/dist/cjs/resources-6e141ab6.js.map +0 -1
  1905. package/dist/cjs/resources-832813b8.js +0 -23
  1906. package/dist/cjs/resources-832813b8.js.map +0 -1
  1907. package/dist/cjs/resources-a1c3da44.js +0 -26
  1908. package/dist/cjs/resources-a1c3da44.js.map +0 -1
  1909. package/dist/cjs/resources-e461c8a7.js +0 -49
  1910. package/dist/cjs/resources-e461c8a7.js.map +0 -1
  1911. package/dist/cjs/resources-febc620c.js +0 -414
  1912. package/dist/cjs/resources-febc620c.js.map +0 -1
  1913. package/dist/cjs/ro-725fe836.js +0 -68
  1914. package/dist/cjs/ro-725fe836.js.map +0 -1
  1915. package/dist/cjs/ru-a37f21cf.js +0 -128
  1916. package/dist/cjs/ru-a37f21cf.js.map +0 -1
  1917. package/dist/cjs/sk-e114c05c.js +0 -150
  1918. package/dist/cjs/sk-e114c05c.js.map +0 -1
  1919. package/dist/cjs/sl-283645a8.js +0 -170
  1920. package/dist/cjs/sl-283645a8.js.map +0 -1
  1921. package/dist/cjs/sortableComponent-22945d97.js +0 -2739
  1922. package/dist/cjs/sortableComponent-22945d97.js.map +0 -1
  1923. package/dist/cjs/sr-d3eabb60.js +0 -103
  1924. package/dist/cjs/sr-d3eabb60.js.map +0 -1
  1925. package/dist/cjs/sv-e46ad4d6.js +0 -73
  1926. package/dist/cjs/sv-e46ad4d6.js.map +0 -1
  1927. package/dist/cjs/t9n-2471b90f.js +0 -97
  1928. package/dist/cjs/t9n-2471b90f.js.map +0 -1
  1929. package/dist/cjs/th-4253024f.js +0 -67
  1930. package/dist/cjs/th-4253024f.js.map +0 -1
  1931. package/dist/cjs/throttle-03ef5077.js +0 -77
  1932. package/dist/cjs/throttle-03ef5077.js.map +0 -1
  1933. package/dist/cjs/tr-f5fb29cd.js +0 -68
  1934. package/dist/cjs/tr-f5fb29cd.js.map +0 -1
  1935. package/dist/cjs/uk-97721767.js +0 -106
  1936. package/dist/cjs/uk-97721767.js.map +0 -1
  1937. package/dist/cjs/utils-81b10422.js +0 -218
  1938. package/dist/cjs/utils-81b10422.js.map +0 -1
  1939. package/dist/cjs/utils-ab09fa69.js +0 -307
  1940. package/dist/cjs/utils-ab09fa69.js.map +0 -1
  1941. package/dist/cjs/vi-2e04fc1f.js +0 -72
  1942. package/dist/cjs/vi-2e04fc1f.js.map +0 -1
  1943. package/dist/cjs/zh-cn-d75e1b83.js +0 -96
  1944. package/dist/cjs/zh-cn-d75e1b83.js.map +0 -1
  1945. package/dist/cjs/zh-hk-603ff2dc.js +0 -73
  1946. package/dist/cjs/zh-hk-603ff2dc.js.map +0 -1
  1947. package/dist/cjs/zh-tw-f769c4a6.js +0 -94
  1948. package/dist/cjs/zh-tw-f769c4a6.js.map +0 -1
  1949. package/dist/esm/ExpandToggle-3810effb.js +0 -102
  1950. package/dist/esm/ExpandToggle-3810effb.js.map +0 -1
  1951. package/dist/esm/FloatingArrow-e53a2129.js +0 -47
  1952. package/dist/esm/FloatingArrow-e53a2129.js.map +0 -1
  1953. package/dist/esm/Heading-11b44426.js +0 -19
  1954. package/dist/esm/Heading-11b44426.js.map +0 -1
  1955. package/dist/esm/Validation-67e15e5c.js +0 -16
  1956. package/dist/esm/Validation-67e15e5c.js.map +0 -1
  1957. package/dist/esm/app-globals-4152c05e.js +0 -59
  1958. package/dist/esm/app-globals-4152c05e.js.map +0 -1
  1959. package/dist/esm/ar-55bf6805.js +0 -104
  1960. package/dist/esm/ar-55bf6805.js.map +0 -1
  1961. package/dist/esm/array-1c5e5140.js +0 -12
  1962. package/dist/esm/array-1c5e5140.js.map +0 -1
  1963. package/dist/esm/bg-dd3894db.js +0 -82
  1964. package/dist/esm/bg-dd3894db.js.map +0 -1
  1965. package/dist/esm/browser-df09b947.js +0 -18
  1966. package/dist/esm/browser-df09b947.js.map +0 -1
  1967. package/dist/esm/bs-ea2c718f.js +0 -51
  1968. package/dist/esm/bs-ea2c718f.js.map +0 -1
  1969. package/dist/esm/ca-e09992d8.js +0 -71
  1970. package/dist/esm/ca-e09992d8.js.map +0 -1
  1971. package/dist/esm/calcite-input-time-picker.calcite-time-picker-08c42c53.js +0 -2914
  1972. package/dist/esm/calcite-input-time-picker.calcite-time-picker-08c42c53.js.map +0 -1
  1973. package/dist/esm/component-0539431e.js +0 -27
  1974. package/dist/esm/component-0539431e.js.map +0 -1
  1975. package/dist/esm/conditionalSlot-5f792007.js +0 -57
  1976. package/dist/esm/conditionalSlot-5f792007.js.map +0 -1
  1977. package/dist/esm/cs-a0e885ec.js +0 -147
  1978. package/dist/esm/cs-a0e885ec.js.map +0 -1
  1979. package/dist/esm/da-a4ec6339.js +0 -66
  1980. package/dist/esm/da-a4ec6339.js.map +0 -1
  1981. package/dist/esm/de-6eb42a98.js +0 -91
  1982. package/dist/esm/de-6eb42a98.js.map +0 -1
  1983. package/dist/esm/de-at-80e16904.js +0 -90
  1984. package/dist/esm/de-at-80e16904.js.map +0 -1
  1985. package/dist/esm/de-ch-c9f3a5f4.js +0 -90
  1986. package/dist/esm/de-ch-c9f3a5f4.js.map +0 -1
  1987. package/dist/esm/debounce-6853b96e.js +0 -489
  1988. package/dist/esm/debounce-6853b96e.js.map +0 -1
  1989. package/dist/esm/dom-e5f64712.js +0 -1053
  1990. package/dist/esm/dom-e5f64712.js.map +0 -1
  1991. package/dist/esm/el-c5b18675.js +0 -66
  1992. package/dist/esm/el-c5b18675.js.map +0 -1
  1993. package/dist/esm/en-au-8f1484e5.js +0 -66
  1994. package/dist/esm/en-au-8f1484e5.js.map +0 -1
  1995. package/dist/esm/en-ca-fce90580.js +0 -65
  1996. package/dist/esm/en-ca-fce90580.js.map +0 -1
  1997. package/dist/esm/en-gb-2b14b424.js +0 -69
  1998. package/dist/esm/en-gb-2b14b424.js.map +0 -1
  1999. package/dist/esm/es-403a9263.js +0 -66
  2000. package/dist/esm/es-403a9263.js.map +0 -1
  2001. package/dist/esm/es-mx-5b6fc56e.js +0 -65
  2002. package/dist/esm/es-mx-5b6fc56e.js.map +0 -1
  2003. package/dist/esm/et-030ba87f.js +0 -92
  2004. package/dist/esm/et-030ba87f.js.map +0 -1
  2005. package/dist/esm/fi-b0ab1580.js +0 -115
  2006. package/dist/esm/fi-b0ab1580.js.map +0 -1
  2007. package/dist/esm/filter-4633a870.js +0 -760
  2008. package/dist/esm/filter-4633a870.js.map +0 -1
  2009. package/dist/esm/floating-ui-101f0321.js +0 -1957
  2010. package/dist/esm/floating-ui-101f0321.js.map +0 -1
  2011. package/dist/esm/focusTrapComponent-d262d8ea.js +0 -1015
  2012. package/dist/esm/focusTrapComponent-d262d8ea.js.map +0 -1
  2013. package/dist/esm/form-e6d220a2.js +0 -324
  2014. package/dist/esm/form-e6d220a2.js.map +0 -1
  2015. package/dist/esm/fr-1a492056.js +0 -68
  2016. package/dist/esm/fr-1a492056.js.map +0 -1
  2017. package/dist/esm/fr-ch-8c47e261.js +0 -66
  2018. package/dist/esm/fr-ch-8c47e261.js.map +0 -1
  2019. package/dist/esm/guid-4f87cd10.js +0 -21
  2020. package/dist/esm/guid-4f87cd10.js.map +0 -1
  2021. package/dist/esm/he-b791bfeb.js +0 -105
  2022. package/dist/esm/he-b791bfeb.js.map +0 -1
  2023. package/dist/esm/hi-f90e5520.js +0 -65
  2024. package/dist/esm/hi-f90e5520.js.map +0 -1
  2025. package/dist/esm/hr-11494043.js +0 -80
  2026. package/dist/esm/hr-11494043.js.map +0 -1
  2027. package/dist/esm/hu-36dfc8eb.js +0 -88
  2028. package/dist/esm/hu-36dfc8eb.js.map +0 -1
  2029. package/dist/esm/id-ae4b2c05.js +0 -66
  2030. package/dist/esm/id-ae4b2c05.js.map +0 -1
  2031. package/dist/esm/index-54140c30.js +0 -2620
  2032. package/dist/esm/index-54140c30.js.map +0 -1
  2033. package/dist/esm/index-b5cf267b.js +0 -206
  2034. package/dist/esm/index-b5cf267b.js.map +0 -1
  2035. package/dist/esm/index-d9046c8f.js +0 -73
  2036. package/dist/esm/index-d9046c8f.js.map +0 -1
  2037. package/dist/esm/interactive-9254dd1a.js +0 -136
  2038. package/dist/esm/interactive-9254dd1a.js.map +0 -1
  2039. package/dist/esm/it-b4d84efc.js +0 -66
  2040. package/dist/esm/it-b4d84efc.js.map +0 -1
  2041. package/dist/esm/it-ch-0bba1334.js +0 -66
  2042. package/dist/esm/it-ch-0bba1334.js.map +0 -1
  2043. package/dist/esm/ja-cf5b848e.js +0 -72
  2044. package/dist/esm/ja-cf5b848e.js.map +0 -1
  2045. package/dist/esm/key-c5a2dce5.js +0 -13
  2046. package/dist/esm/key-c5a2dce5.js.map +0 -1
  2047. package/dist/esm/ko-18ae91c3.js +0 -72
  2048. package/dist/esm/ko-18ae91c3.js.map +0 -1
  2049. package/dist/esm/label-4f7be475.js +0 -176
  2050. package/dist/esm/label-4f7be475.js.map +0 -1
  2051. package/dist/esm/loadable-703938ac.js +0 -86
  2052. package/dist/esm/loadable-703938ac.js.map +0 -1
  2053. package/dist/esm/locale-b3dd17dc.js +0 -563
  2054. package/dist/esm/locale-b3dd17dc.js.map +0 -1
  2055. package/dist/esm/lt-566c53d5.js +0 -97
  2056. package/dist/esm/lt-566c53d5.js.map +0 -1
  2057. package/dist/esm/lv-2d686712.js +0 -66
  2058. package/dist/esm/lv-2d686712.js.map +0 -1
  2059. package/dist/esm/math-9204a56d.js +0 -51
  2060. package/dist/esm/math-9204a56d.js.map +0 -1
  2061. package/dist/esm/mk-0261f9fe.js +0 -66
  2062. package/dist/esm/mk-0261f9fe.js.map +0 -1
  2063. package/dist/esm/nb-5dcf8d83.js +0 -67
  2064. package/dist/esm/nb-5dcf8d83.js.map +0 -1
  2065. package/dist/esm/nl-bc7f280a.js +0 -67
  2066. package/dist/esm/nl-bc7f280a.js.map +0 -1
  2067. package/dist/esm/observers-339a84bb.js +0 -48
  2068. package/dist/esm/observers-339a84bb.js.map +0 -1
  2069. package/dist/esm/openCloseComponent-de30d208.js +0 -87
  2070. package/dist/esm/openCloseComponent-de30d208.js.map +0 -1
  2071. package/dist/esm/pl-516c0130.js +0 -114
  2072. package/dist/esm/pl-516c0130.js.map +0 -1
  2073. package/dist/esm/pt-38801a89.js +0 -67
  2074. package/dist/esm/pt-38801a89.js.map +0 -1
  2075. package/dist/esm/pt-br-58c13c23.js +0 -65
  2076. package/dist/esm/pt-br-58c13c23.js.map +0 -1
  2077. package/dist/esm/resources-3f0f4ee9.js +0 -387
  2078. package/dist/esm/resources-3f0f4ee9.js.map +0 -1
  2079. package/dist/esm/resources-47bad8e2.js +0 -45
  2080. package/dist/esm/resources-47bad8e2.js.map +0 -1
  2081. package/dist/esm/resources-605689f9.js +0 -23
  2082. package/dist/esm/resources-605689f9.js.map +0 -1
  2083. package/dist/esm/resources-c5611de1.js +0 -25
  2084. package/dist/esm/resources-c5611de1.js.map +0 -1
  2085. package/dist/esm/resources-cea160f3.js +0 -19
  2086. package/dist/esm/resources-cea160f3.js.map +0 -1
  2087. package/dist/esm/resources-da6536ba.js +0 -17
  2088. package/dist/esm/resources-da6536ba.js.map +0 -1
  2089. package/dist/esm/resources-e92e3f84.js +0 -21
  2090. package/dist/esm/resources-e92e3f84.js.map +0 -1
  2091. package/dist/esm/ro-7d401b18.js +0 -66
  2092. package/dist/esm/ro-7d401b18.js.map +0 -1
  2093. package/dist/esm/ru-f76a0c11.js +0 -126
  2094. package/dist/esm/ru-f76a0c11.js.map +0 -1
  2095. package/dist/esm/sk-2e7ba2e0.js +0 -148
  2096. package/dist/esm/sk-2e7ba2e0.js.map +0 -1
  2097. package/dist/esm/sl-baddf04f.js +0 -168
  2098. package/dist/esm/sl-baddf04f.js.map +0 -1
  2099. package/dist/esm/sortableComponent-a920089c.js +0 -2735
  2100. package/dist/esm/sortableComponent-a920089c.js.map +0 -1
  2101. package/dist/esm/sr-32f8aa4d.js +0 -101
  2102. package/dist/esm/sr-32f8aa4d.js.map +0 -1
  2103. package/dist/esm/sv-1c5d7c6d.js +0 -71
  2104. package/dist/esm/sv-1c5d7c6d.js.map +0 -1
  2105. package/dist/esm/t9n-416f93ba.js +0 -92
  2106. package/dist/esm/t9n-416f93ba.js.map +0 -1
  2107. package/dist/esm/th-fa1bc6b6.js +0 -65
  2108. package/dist/esm/th-fa1bc6b6.js.map +0 -1
  2109. package/dist/esm/throttle-c180a249.js +0 -75
  2110. package/dist/esm/throttle-c180a249.js.map +0 -1
  2111. package/dist/esm/tr-2775ebd9.js +0 -66
  2112. package/dist/esm/tr-2775ebd9.js.map +0 -1
  2113. package/dist/esm/uk-731884a9.js +0 -104
  2114. package/dist/esm/uk-731884a9.js.map +0 -1
  2115. package/dist/esm/utils-35e399d8.js +0 -200
  2116. package/dist/esm/utils-35e399d8.js.map +0 -1
  2117. package/dist/esm/utils-7c1d6125.js +0 -289
  2118. package/dist/esm/utils-7c1d6125.js.map +0 -1
  2119. package/dist/esm/vi-86d98c11.js +0 -70
  2120. package/dist/esm/vi-86d98c11.js.map +0 -1
  2121. package/dist/esm/zh-cn-d2fef501.js +0 -94
  2122. package/dist/esm/zh-cn-d2fef501.js.map +0 -1
  2123. package/dist/esm/zh-hk-7f540d06.js +0 -71
  2124. package/dist/esm/zh-hk-7f540d06.js.map +0 -1
  2125. package/dist/esm/zh-tw-0b96e532.js +0 -92
  2126. package/dist/esm/zh-tw-0b96e532.js.map +0 -1
  2127. /package/dist/calcite/{p-50fae575.js.map → p-04bf9ee0.js.map} +0 -0
  2128. /package/dist/calcite/{p-85355ac3.js.map → p-077adace.js.map} +0 -0
  2129. /package/dist/calcite/{p-88eda241.js.map → p-0aebc5e2.js.map} +0 -0
  2130. /package/dist/calcite/{p-c233af9a.js.map → p-0b4fc200.js.map} +0 -0
  2131. /package/dist/calcite/{p-0f7d03d1.js.map → p-0e2dd590.js.map} +0 -0
  2132. /package/dist/calcite/{p-fa8aa680.js.map → p-0ff9607e.js.map} +0 -0
  2133. /package/dist/calcite/{p-15ec4f27.js.map → p-11888bdf.js.map} +0 -0
  2134. /package/dist/calcite/{p-b06765b5.js.map → p-19e704e4.js.map} +0 -0
  2135. /package/dist/calcite/{p-7d4b1849.entry.js.map → p-1f5eabba.entry.js.map} +0 -0
  2136. /package/dist/calcite/{p-aa0e172f.js.map → p-237e7376.js.map} +0 -0
  2137. /package/dist/calcite/{p-3e9ca753.js.map → p-298dd034.js.map} +0 -0
  2138. /package/dist/calcite/{p-d6e4ab3a.js.map → p-2a0f60c9.js.map} +0 -0
  2139. /package/dist/calcite/{p-5b0d5824.js.map → p-2a7b59b3.js.map} +0 -0
  2140. /package/dist/calcite/{p-086954cf.entry.js.map → p-2aacf166.entry.js.map} +0 -0
  2141. /package/dist/calcite/{p-aff88591.js.map → p-2b05e96c.js.map} +0 -0
  2142. /package/dist/calcite/{p-a6687bbe.js.map → p-2d9e3418.js.map} +0 -0
  2143. /package/dist/calcite/{p-2e3e6934.js.map → p-3123136c.js.map} +0 -0
  2144. /package/dist/calcite/{p-01ce6c82.entry.js.map → p-3623f210.entry.js.map} +0 -0
  2145. /package/dist/calcite/{p-48b5b678.js.map → p-3ac4588f.js.map} +0 -0
  2146. /package/dist/calcite/{p-9f076d48.js.map → p-3bb81127.js.map} +0 -0
  2147. /package/dist/calcite/{p-c1905124.js.map → p-3c675720.js.map} +0 -0
  2148. /package/dist/calcite/{p-bf3d56f4.entry.js.map → p-44f8178d.entry.js.map} +0 -0
  2149. /package/dist/calcite/{p-0d04e387.js.map → p-45af6cec.js.map} +0 -0
  2150. /package/dist/calcite/{p-9223fe05.js.map → p-45b93e33.js.map} +0 -0
  2151. /package/dist/calcite/{p-e4186f47.js.map → p-4ef1e399.js.map} +0 -0
  2152. /package/dist/calcite/{p-e4298c9a.entry.js.map → p-4f9c0e55.entry.js.map} +0 -0
  2153. /package/dist/calcite/{p-566745a9.js.map → p-50ee23bf.js.map} +0 -0
  2154. /package/dist/calcite/{p-5886e529.entry.js.map → p-533c97f3.entry.js.map} +0 -0
  2155. /package/dist/calcite/{p-7bd1de8b.js.map → p-53cd0d17.js.map} +0 -0
  2156. /package/dist/calcite/{p-9395c02e.js.map → p-5713e697.js.map} +0 -0
  2157. /package/dist/calcite/{p-4ca318c0.entry.js.map → p-57e80471.entry.js.map} +0 -0
  2158. /package/dist/calcite/{p-128a6263.js.map → p-57f5465e.js.map} +0 -0
  2159. /package/dist/calcite/{p-082040be.js.map → p-5b80a986.js.map} +0 -0
  2160. /package/dist/calcite/{p-812d4433.js.map → p-5b92b79a.js.map} +0 -0
  2161. /package/dist/calcite/{p-a0ca104b.js.map → p-5bdc1461.js.map} +0 -0
  2162. /package/dist/calcite/{p-34a71bdb.js.map → p-5ea2064c.js.map} +0 -0
  2163. /package/dist/calcite/{p-39d8f5e0.entry.js.map → p-615349be.entry.js.map} +0 -0
  2164. /package/dist/calcite/{p-958e9564.entry.js.map → p-637a4752.entry.js.map} +0 -0
  2165. /package/dist/calcite/{p-abbb8e20.js.map → p-63e0bf39.js.map} +0 -0
  2166. /package/dist/calcite/{p-88b0202c.js.map → p-64612172.js.map} +0 -0
  2167. /package/dist/calcite/{p-341f5dd5.js.map → p-66df38c9.js.map} +0 -0
  2168. /package/dist/calcite/{p-7d650111.js.map → p-68c9209b.js.map} +0 -0
  2169. /package/dist/calcite/{p-41c6c9db.entry.js.map → p-6b9a90b3.entry.js.map} +0 -0
  2170. /package/dist/calcite/{p-39613b4f.js.map → p-705f04ba.js.map} +0 -0
  2171. /package/dist/calcite/{p-9b4aed37.js.map → p-70acda02.js.map} +0 -0
  2172. /package/dist/calcite/{p-d5d23c62.js.map → p-71cec3a4.js.map} +0 -0
  2173. /package/dist/calcite/{p-0944eb43.entry.js.map → p-765f7d15.entry.js.map} +0 -0
  2174. /package/dist/calcite/{p-3341a34a.js.map → p-78427b05.js.map} +0 -0
  2175. /package/dist/calcite/{p-58d1332e.js.map → p-7a32abca.js.map} +0 -0
  2176. /package/dist/calcite/{p-bb9a7c14.entry.js.map → p-7cb32bfc.entry.js.map} +0 -0
  2177. /package/dist/calcite/{p-471d1acf.js.map → p-7d92fea1.js.map} +0 -0
  2178. /package/dist/calcite/{p-f148f25b.js.map → p-7fa28a1a.js.map} +0 -0
  2179. /package/dist/calcite/{p-00b33d27.js.map → p-800cad55.js.map} +0 -0
  2180. /package/dist/calcite/{p-6635e3a5.js.map → p-829c43a1.js.map} +0 -0
  2181. /package/dist/calcite/{p-d3aa19a3.js.map → p-844c1caa.js.map} +0 -0
  2182. /package/dist/calcite/{p-299b2dc4.entry.js.map → p-84946655.entry.js.map} +0 -0
  2183. /package/dist/calcite/{p-99a20f25.entry.js.map → p-88d01ffd.entry.js.map} +0 -0
  2184. /package/dist/calcite/{p-9e347276.js.map → p-897e1a2e.js.map} +0 -0
  2185. /package/dist/calcite/{p-e6f9f5c1.js.map → p-8a08539c.js.map} +0 -0
  2186. /package/dist/calcite/{p-9b44500a.entry.js.map → p-8af41380.entry.js.map} +0 -0
  2187. /package/dist/calcite/{p-8dcbfce8.js.map → p-8d22af5c.js.map} +0 -0
  2188. /package/dist/calcite/{p-5723d5de.entry.js.map → p-9111d38f.entry.js.map} +0 -0
  2189. /package/dist/calcite/{p-7dfa77d1.js.map → p-992cd7cf.js.map} +0 -0
  2190. /package/dist/calcite/{p-b04460b0.js.map → p-99d9f179.js.map} +0 -0
  2191. /package/dist/calcite/{p-7bcfca23.js.map → p-9af44e5e.js.map} +0 -0
  2192. /package/dist/calcite/{p-6ca4af5b.js.map → p-9b95254f.js.map} +0 -0
  2193. /package/dist/calcite/{p-4e27599d.js.map → p-9e925631.js.map} +0 -0
  2194. /package/dist/calcite/{p-15fd0b18.js.map → p-a38c5371.js.map} +0 -0
  2195. /package/dist/calcite/{p-b1aeb283.entry.js.map → p-a3f078cd.entry.js.map} +0 -0
  2196. /package/dist/calcite/{p-a6739f55.js.map → p-a8373b69.js.map} +0 -0
  2197. /package/dist/calcite/{p-a63dbb17.entry.js.map → p-a9ce2433.entry.js.map} +0 -0
  2198. /package/dist/calcite/{p-cf6c103a.js.map → p-aa4a7aa0.js.map} +0 -0
  2199. /package/dist/calcite/{p-10acb648.js.map → p-b4352ddb.js.map} +0 -0
  2200. /package/dist/calcite/{p-73e108be.js.map → p-b5a512a0.js.map} +0 -0
  2201. /package/dist/calcite/{p-541ed8e8.js.map → p-b77f3a77.js.map} +0 -0
  2202. /package/dist/calcite/{p-4598dc66.entry.js.map → p-b7a70295.entry.js.map} +0 -0
  2203. /package/dist/calcite/{p-55202d8e.entry.js.map → p-b80c938f.entry.js.map} +0 -0
  2204. /package/dist/calcite/{p-041acb71.js.map → p-bf26a6ed.js.map} +0 -0
  2205. /package/dist/calcite/{p-2b1358dd.entry.js.map → p-bf4dbf61.entry.js.map} +0 -0
  2206. /package/dist/calcite/{p-351ef8bc.js.map → p-bfab4536.js.map} +0 -0
  2207. /package/dist/calcite/{p-f42f46c0.js.map → p-c00b8868.js.map} +0 -0
  2208. /package/dist/calcite/{p-ee9909cb.entry.js.map → p-c3cd2929.entry.js.map} +0 -0
  2209. /package/dist/calcite/{p-49586b62.js.map → p-c5c033e0.js.map} +0 -0
  2210. /package/dist/calcite/{p-401ec473.entry.js.map → p-c5c51e20.entry.js.map} +0 -0
  2211. /package/dist/calcite/{p-39e3cd7c.js.map → p-c5f2d6dd.js.map} +0 -0
  2212. /package/dist/calcite/{p-e4736736.js.map → p-c825e1d7.js.map} +0 -0
  2213. /package/dist/calcite/{p-9b565b18.js.map → p-cc3e3eb3.js.map} +0 -0
  2214. /package/dist/calcite/{p-385fabe6.entry.js.map → p-ce0038df.entry.js.map} +0 -0
  2215. /package/dist/calcite/{p-7f5e15af.entry.js.map → p-cf029a29.entry.js.map} +0 -0
  2216. /package/dist/calcite/{p-65704e9c.js.map → p-d5c307b4.js.map} +0 -0
  2217. /package/dist/calcite/{p-b1c541ce.js.map → p-d6c65989.js.map} +0 -0
  2218. /package/dist/calcite/{p-26f7f362.js.map → p-d82edf1d.js.map} +0 -0
  2219. /package/dist/calcite/{p-e2c60ff0.entry.js.map → p-d8733db2.entry.js.map} +0 -0
  2220. /package/dist/calcite/{p-3328f5ba.js.map → p-da0a8316.js.map} +0 -0
  2221. /package/dist/calcite/{p-fe4db0fa.js.map → p-da496453.js.map} +0 -0
  2222. /package/dist/calcite/{p-319afb8e.js.map → p-dd0c9b04.js.map} +0 -0
  2223. /package/dist/calcite/{p-92816b80.entry.js.map → p-de2f6d68.entry.js.map} +0 -0
  2224. /package/dist/calcite/{p-5bacd0a4.entry.js.map → p-df41f307.entry.js.map} +0 -0
  2225. /package/dist/calcite/{p-72484322.js.map → p-e14fd58f.js.map} +0 -0
  2226. /package/dist/calcite/{p-21d84e50.js.map → p-e2c841ab.js.map} +0 -0
  2227. /package/dist/calcite/{p-a5ff208a.js.map → p-e42f0886.js.map} +0 -0
  2228. /package/dist/calcite/{p-20db39dc.js.map → p-e666f3f7.js.map} +0 -0
  2229. /package/dist/calcite/{p-dc0027ba.entry.js.map → p-e8b4926d.entry.js.map} +0 -0
  2230. /package/dist/calcite/{p-b3e72f62.js.map → p-e93e2ffb.js.map} +0 -0
  2231. /package/dist/calcite/{p-619f6b40.entry.js.map → p-e95ab15f.entry.js.map} +0 -0
  2232. /package/dist/calcite/{p-c827bdff.js.map → p-eaa7bcc5.js.map} +0 -0
  2233. /package/dist/calcite/{p-b4957e5a.js.map → p-ec4b4562.js.map} +0 -0
  2234. /package/dist/calcite/{p-7c6b37cb.js.map → p-ef8fc86d.js.map} +0 -0
  2235. /package/dist/calcite/{p-30bc9f81.entry.js.map → p-f01e9a8d.entry.js.map} +0 -0
  2236. /package/dist/calcite/{p-f60dd8b1.js.map → p-f2fc0ffb.js.map} +0 -0
  2237. /package/dist/calcite/{p-6b48fd8f.js.map → p-f4650a58.js.map} +0 -0
  2238. /package/dist/calcite/{p-ba4c20f7.js.map → p-f501737a.js.map} +0 -0
  2239. /package/dist/calcite/{p-c5a8df34.js.map → p-f55e1078.js.map} +0 -0
  2240. /package/dist/calcite/{p-d746164d.js.map → p-f5919411.js.map} +0 -0
  2241. /package/dist/calcite/{p-7c9b1cff.js.map → p-f740ae4e.js.map} +0 -0
  2242. /package/dist/calcite/{p-11d4c82a.js.map → p-f798999b.js.map} +0 -0
  2243. /package/dist/calcite/{p-582b93a0.js.map → p-f9b23542.js.map} +0 -0
  2244. /package/dist/calcite/{p-3a38726f.js.map → p-fa0d1ed0.js.map} +0 -0
  2245. /package/dist/calcite/{p-9bd3b0b6.js.map → p-fb46e1b7.js.map} +0 -0
  2246. /package/dist/calcite/{p-dc8fb8e4.entry.js.map → p-fc5a3d05.entry.js.map} +0 -0
  2247. /package/dist/calcite/{p-26cd3c63.js.map → p-fedca14d.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.4.1-next.0
4
+ * v2.5.0-next.0
5
5
  */
6
6
  import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
@@ -19,7 +19,7 @@ const StarIcon = ({ full, scale, partial }) => (h("calcite-icon", { class: parti
19
19
  icon: full ? "star-f" : "star",
20
20
  scale }));
21
21
 
22
- const ratingCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-color-border-input)}.star:focus{outline:2px solid 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 )}.average,.fraction{color:var(--calcite-color-status-warning)}.hovered,.selected{color:var(--calcite-color-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-color-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";
22
+ const ratingCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-color-border-input)}.star:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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 )}.average,.fraction{color:var(--calcite-color-status-warning)}.hovered,.selected{color:var(--calcite-color-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-color-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";
23
23
 
24
24
  const Rating = /*@__PURE__*/ proxyCustomElement(class Rating extends HTMLElement {
25
25
  constructor() {
@@ -1 +1 @@
1
- {"file":"calcite-rating.js","mappings":";;;;;;;;;;;;;;;;;AAIO,MAAM,QAAQ,GAAuC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MACnF,oBAEI,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM;IACnC,IAAI,EAAE,IAAI,GAAG,QAAQ,GAAG,MAAM;IAC9B,KAAK,GAEP,CACH;;ACZD,MAAM,SAAS,GAAG,q1EAAq1E;;MCgD11E,MAAM;;;;;;QA0QT,4BAAuB,GAAG;YAChC,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;SACpC,CAAC;QAEM,2BAAsB,GAAG;YAC/B,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC;YAClC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;SACxB,CAAC;QAEM,sBAAiB,GAAG;YAC1B,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC;SACnC,CAAC;QAEM,uBAAkB,GAAG,CAAC,KAAoB;YAChD,MAAM,UAAU,GAAG,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;YACtD,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC;YACtB,MAAM,SAAS,GAAG,GAAG,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,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,CAAC;KAClD;IAED,kBAAkB,CAAC,YAAoB;QACrC,OAAO,YAAY,KAAK,CAAC,GAAG,CAAC,GAAG,YAAY,GAAG,CAAC,CAAC;KAClD;IAED,sBAAsB,CAAC,YAAoB;QACzC,OAAO,YAAY,KAAK,CAAC,GAAG,CAAC,GAAG,YAAY,GAAG,CAAC,CAAC;KAClD;;;;;;;IAUD,MAAM,QAAQ;QACZ,MAAM,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAC/B,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/rating/functional/star.tsx","src/components/rating/rating.scss?tag=calcite-rating&encapsulation=shadow","src/components/rating/rating.tsx"],"sourcesContent":["import { FunctionalComponent, h } from \"@stencil/core\";\n\nimport { StarIconProps } from \"../interfaces\";\n\nexport const StarIcon: FunctionalComponent<StarIconProps> = ({ full, scale, partial }) => (\n <calcite-icon\n {...{\n class: partial ? undefined : \"icon\",\n icon: full ? \"star-f\" : \"star\",\n scale,\n }}\n />\n);\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-rating-spacing-unit: The amount of left and right margin spacing between each rating star.\n */\n\n:host {\n @apply relative flex items-center;\n inline-size: fit-content;\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n @apply h-6;\n --calcite-rating-spacing-unit: theme(\"spacing.1\");\n}\n\n:host([scale=\"m\"]) {\n @apply h-8;\n --calcite-rating-spacing-unit: theme(\"spacing.2\");\n}\n\n:host([scale=\"l\"]) {\n @apply h-11;\n --calcite-rating-spacing-unit: theme(\"spacing.3\");\n}\n\n:host([read-only]) {\n @extend %non-interactive-host-contents;\n}\n\n.fieldset {\n margin: 0;\n display: flex;\n border-width: 0;\n padding: 0;\n align-items: center;\n gap: var(--calcite-rating-spacing-unit);\n}\n\n.wrapper {\n display: inline-block;\n}\n\n.star {\n @apply transition-default;\n position: relative;\n display: flex;\n flex-direction: column;\n cursor: pointer;\n color: theme(\"borderColor.color.input\");\n &:focus {\n @apply focus-outset;\n }\n}\n\n.average,\n.fraction {\n color: theme(\"colors.warning\");\n}\n\n.hovered,\n.selected {\n color: theme(\"colors.brand\");\n}\n\n.fraction {\n @apply transition-default;\n position: absolute;\n pointer-events: none;\n inset-block-start: 0;\n overflow: hidden;\n inset-inline-start: 0;\n}\n\n// rating count\ncalcite-chip {\n pointer-events: none;\n cursor: default;\n}\n\n.number--average {\n font-weight: bold;\n}\n\n.number--count {\n color: var(--calcite-color-text-2);\n font-style: italic;\n &:not(:first-child) {\n margin-inline-start: var(--calcite-rating-spacing-unit);\n }\n}\n\n.visually-hidden {\n @apply sr-only;\n}\n\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from \"@stencil/core\";\nimport { connectForm, disconnectForm, FormComponent, HiddenFormInputSlot } from \"../../utils/form\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Scale } from \"../interfaces\";\nimport { RatingMessages } from \"./assets/rating/t9n\";\nimport { StarIcon } from \"./functional/star\";\nimport { Star } from \"./interfaces\";\nimport { focusFirstTabbable } from \"../../utils/dom\";\n\n@Component({\n tag: \"calcite-rating\",\n styleUrl: \"rating.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Rating\n implements\n LabelableComponent,\n FormComponent,\n InteractiveComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /** Specifies a cumulative average from previous ratings to display. */\n @Prop({ reflect: true }) average: number;\n\n /** Specifies the number of previous ratings to display. */\n @Prop({ reflect: true }) count: number;\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\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: RatingMessages;\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<RatingMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component's value can be read, but cannot be modified. */\n @Prop({ reflect: true }) readOnly = false;\n\n /**\n * When `true`, the component must have a value in order for the form to submit.\n *\n * @internal\n */\n @Prop({ reflect: true }) required = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** When `true`, and if available, displays the `average` and/or `count` data summary in a `calcite-chip`. */\n @Prop({ reflect: true }) showChip = false;\n\n /** The component's value. */\n @Prop({ reflect: true, mutable: true }) value = 0;\n\n @Watch(\"value\")\n handleValueUpdate(newValue: number): void {\n this.hoverValue = newValue;\n if (this.emit) {\n this.calciteRatingChange.emit();\n }\n\n this.emit = false;\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the component's value changes.\n */\n @Event({ cancelable: false }) calciteRatingChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Static\n //\n //--------------------------------------------------------------------------\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: RatingMessages;\n\n @State() hoverValue: number;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n connectLabel(this);\n connectForm(this);\n }\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n setUpLoadableComponent(this);\n }\n\n componentWillRender(): void {\n this.starsMap = Array.from({ length: this.max }, (_, i) => {\n const value = i + 1;\n const average = !this.hoverValue && this.average && !this.value && value <= this.average;\n const checked = value === this.value;\n const fraction = this.average && this.average + 1 - value;\n const hovered = value <= this.hoverValue;\n const id = `${this.guid}-${value}`;\n const partial = !this.hoverValue && !this.value && !hovered && fraction > 0 && fraction < 1;\n const selected = this.value >= value;\n const tabIndex = this.getTabIndex(value);\n return {\n average,\n checked,\n fraction,\n hovered,\n id,\n partial,\n selected,\n value,\n tabIndex,\n };\n });\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n render() {\n return (\n <Host\n onKeyDown={this.handleHostKeyDown}\n onPointerOut={this.handleRatingPointerOut}\n onPointerOver={this.handleRatingPointerOver}\n >\n <InteractiveContainer disabled={this.disabled}>\n <span class=\"wrapper\">\n <fieldset class=\"fieldset\" disabled={this.disabled}>\n <legend class=\"visually-hidden\">{this.messages.rating}</legend>\n {this.starsMap.map(\n ({\n average,\n checked,\n fraction,\n hovered,\n id,\n partial,\n selected,\n value,\n tabIndex,\n }) => {\n return (\n <label\n class={{\n star: true,\n selected,\n hovered,\n average,\n partial,\n }}\n data-value={value}\n htmlFor={id}\n onClick={this.handleLabelClick}\n onFocus={this.handleLabelFocus}\n onKeyDown={this.handleLabelKeyDown}\n onPointerDown={this.handleLabelPointerDown}\n onPointerOver={this.handleLabelPointerOver}\n tabIndex={tabIndex}\n // eslint-disable-next-line react/jsx-sort-props\n ref={this.setLabelEl}\n >\n <input\n checked={checked}\n class=\"visually-hidden\"\n disabled={this.disabled || this.readOnly}\n id={id}\n name={this.guid}\n onChange={this.handleInputChange}\n tabIndex={-1}\n type=\"radio\"\n value={value}\n />\n <StarIcon full={selected || average} scale={this.scale} />\n {partial && (\n <div class=\"fraction\" style={{ width: `${fraction * 100}%` }}>\n <StarIcon full partial scale={this.scale} />\n </div>\n )}\n <span class=\"visually-hidden\">\n {this.messages.stars.replace(\"{num}\", `${value}`)}\n </span>\n </label>\n );\n },\n )}\n\n {(this.count || this.average) && this.showChip ? (\n <calcite-chip scale={this.scale} value={this.count?.toString()}>\n {!!this.average && <span class=\"number--average\">{this.average.toString()}</span>}\n {!!this.count && <span class=\"number--count\">({this.count?.toString()})</span>}\n </calcite-chip>\n ) : null}\n </fieldset>\n <HiddenFormInputSlot component={this} />\n </span>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private handleRatingPointerOver = () => {\n this.isKeyboardInteraction = false;\n };\n\n private handleRatingPointerOut = () => {\n this.isKeyboardInteraction = true;\n this.hoverValue = null;\n };\n\n private handleHostKeyDown = () => {\n this.isKeyboardInteraction = true;\n };\n\n private handleLabelKeyDown = (event: KeyboardEvent) => {\n const inputValue = this.getValueFromLabelEvent(event);\n const key = event.key;\n const numberKey = key == \" \" ? undefined : Number(key);\n\n this.emit = true;\n if (isNaN(numberKey)) {\n switch (key) {\n case \"Enter\":\n case \" \":\n this.value = !this.required && this.value === inputValue ? 0 : inputValue;\n break;\n case \"ArrowLeft\":\n this.value = this.getPreviousRatingValue(inputValue);\n this.updateFocus();\n event.preventDefault();\n break;\n case \"ArrowRight\":\n this.value = this.getNextRatingValue(inputValue);\n this.updateFocus();\n event.preventDefault();\n break;\n case \"Tab\":\n this.hoverValue = null;\n default:\n break;\n }\n } else {\n if (!this.required && numberKey >= 0 && numberKey <= this.max) {\n this.value = numberKey;\n } else if (this.required && numberKey > 0 && numberKey <= this.max) {\n this.value = numberKey;\n }\n this.updateFocus();\n }\n };\n\n private handleInputChange = (event: InputEvent) => {\n if (this.isKeyboardInteraction === true) {\n const inputVal = Number(event.target[\"value\"]);\n this.hoverValue = inputVal;\n this.value = inputVal;\n }\n };\n\n private handleLabelPointerOver = (event: PointerEvent) => {\n this.hoverValue = this.getValueFromLabelEvent(event);\n };\n\n private handleLabelPointerDown = (event: PointerEvent) => {\n const target = event.currentTarget as HTMLLabelElement;\n const inputValue = this.getValueFromLabelEvent(event);\n this.hoverValue = inputValue;\n this.emit = true;\n this.value = !this.required && this.value === inputValue ? 0 : inputValue;\n target.focus();\n };\n\n private handleLabelClick = (event: Event) => {\n //preventing pointerdown event will supress any compatability mouse events except for click event.\n event.preventDefault();\n };\n\n private handleLabelFocus = (event: FocusEvent) => {\n const inputValue = this.getValueFromLabelEvent(event);\n this.hoverValue = inputValue;\n };\n\n private updateFocus(): void {\n this.hoverValue = this.value;\n this.labelElements[this.value - 1].focus();\n }\n\n private getTabIndex(value: number): number {\n if (this.readOnly || (this.value !== value && (this.value || value !== 1))) {\n return -1;\n }\n return 0;\n }\n\n private setLabelEl = (el: HTMLLabelElement): void => {\n this.labelElements.push(el);\n };\n\n private getValueFromLabelEvent(event: FocusEvent | PointerEvent | KeyboardEvent): number {\n const target = event.currentTarget as HTMLLabelElement;\n return Number(target.getAttribute(\"data-value\"));\n }\n\n getNextRatingValue(currentValue: number): number {\n return currentValue === 5 ? 1 : currentValue + 1;\n }\n\n getPreviousRatingValue(currentValue: number): number {\n return currentValue === 1 ? 5 : currentValue - 1;\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 focusFirstTabbable(this.el);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private State / Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteRatingElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Rating[\"value\"];\n\n private emit = false;\n\n private guid = `calcite-ratings-${guid()}`;\n\n private isKeyboardInteraction = true;\n\n private labelElements: HTMLLabelElement[] = [];\n\n private max = 5;\n\n private starsMap: Star[];\n}\n"],"version":3}
1
+ {"file":"calcite-rating.js","mappings":";;;;;;;;;;;;;;;;;AAIO,MAAM,QAAQ,GAAuC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MACnF,oBAEI,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM;IACnC,IAAI,EAAE,IAAI,GAAG,QAAQ,GAAG,MAAM;IAC9B,KAAK,GAEP,CACH;;ACZD,MAAM,SAAS,GAAG,u5EAAu5E;;MCgD55E,MAAM;;;;;;QA0QT,4BAAuB,GAAG;YAChC,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;SACpC,CAAC;QAEM,2BAAsB,GAAG;YAC/B,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC;YAClC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;SACxB,CAAC;QAEM,sBAAiB,GAAG;YAC1B,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC;SACnC,CAAC;QAEM,uBAAkB,GAAG,CAAC,KAAoB;YAChD,MAAM,UAAU,GAAG,IAAI,CAAC,sBAAsB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O,sBAAsB,CAAC,KAAgD;QAC7E,MAAM,MAAM,GAAG,KAAK,CAAC,aAAiC,CAAC;QACvD,OAAO,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,CAAC;KAClD;IAED,kBAAkB,CAAC,YAAoB;QACrC,OAAO,YAAY,KAAK,CAAC,GAAG,CAAC,GAAG,YAAY,GAAG,CAAC,CAAC;KAClD;IAED,sBAAsB,CAAC,YAAoB;QACzC,OAAO,YAAY,KAAK,CAAC,GAAG,CAAC,GAAG,YAAY,GAAG,CAAC,CAAC;KAClD;;;;;;;IAUD,MAAM,QAAQ;QACZ,MAAM,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAC/B,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/rating/functional/star.tsx","src/components/rating/rating.scss?tag=calcite-rating&encapsulation=shadow","src/components/rating/rating.tsx"],"sourcesContent":["import { FunctionalComponent, h } from \"@stencil/core\";\n\nimport { StarIconProps } from \"../interfaces\";\n\nexport const StarIcon: FunctionalComponent<StarIconProps> = ({ full, scale, partial }) => (\n <calcite-icon\n {...{\n class: partial ? undefined : \"icon\",\n icon: full ? \"star-f\" : \"star\",\n scale,\n }}\n />\n);\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-rating-spacing-unit: The amount of left and right margin spacing between each rating star.\n */\n\n:host {\n @apply relative flex items-center;\n inline-size: fit-content;\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n @apply h-6;\n --calcite-rating-spacing-unit: theme(\"spacing.1\");\n}\n\n:host([scale=\"m\"]) {\n @apply h-8;\n --calcite-rating-spacing-unit: theme(\"spacing.2\");\n}\n\n:host([scale=\"l\"]) {\n @apply h-11;\n --calcite-rating-spacing-unit: theme(\"spacing.3\");\n}\n\n:host([read-only]) {\n @extend %non-interactive-host-contents;\n}\n\n.fieldset {\n margin: 0;\n display: flex;\n border-width: 0;\n padding: 0;\n align-items: center;\n gap: var(--calcite-rating-spacing-unit);\n}\n\n.wrapper {\n display: inline-block;\n}\n\n.star {\n @apply transition-default;\n position: relative;\n display: flex;\n flex-direction: column;\n cursor: pointer;\n color: theme(\"borderColor.color.input\");\n &:focus {\n @apply focus-outset;\n }\n}\n\n.average,\n.fraction {\n color: theme(\"colors.warning\");\n}\n\n.hovered,\n.selected {\n color: theme(\"colors.brand\");\n}\n\n.fraction {\n @apply transition-default;\n position: absolute;\n pointer-events: none;\n inset-block-start: 0;\n overflow: hidden;\n inset-inline-start: 0;\n}\n\n// rating count\ncalcite-chip {\n pointer-events: none;\n cursor: default;\n}\n\n.number--average {\n font-weight: bold;\n}\n\n.number--count {\n color: var(--calcite-color-text-2);\n font-style: italic;\n &:not(:first-child) {\n margin-inline-start: var(--calcite-rating-spacing-unit);\n }\n}\n\n.visually-hidden {\n @apply sr-only;\n}\n\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from \"@stencil/core\";\nimport { connectForm, disconnectForm, FormComponent, HiddenFormInputSlot } from \"../../utils/form\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Scale } from \"../interfaces\";\nimport { RatingMessages } from \"./assets/rating/t9n\";\nimport { StarIcon } from \"./functional/star\";\nimport { Star } from \"./interfaces\";\nimport { focusFirstTabbable } from \"../../utils/dom\";\n\n@Component({\n tag: \"calcite-rating\",\n styleUrl: \"rating.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Rating\n implements\n LabelableComponent,\n FormComponent,\n InteractiveComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /** Specifies a cumulative average from previous ratings to display. */\n @Prop({ reflect: true }) average: number;\n\n /** Specifies the number of previous ratings to display. */\n @Prop({ reflect: true }) count: number;\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\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: RatingMessages;\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<RatingMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component's value can be read, but cannot be modified. */\n @Prop({ reflect: true }) readOnly = false;\n\n /**\n * When `true`, the component must have a value in order for the form to submit.\n *\n * @internal\n */\n @Prop({ reflect: true }) required = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** When `true`, and if available, displays the `average` and/or `count` data summary in a `calcite-chip`. */\n @Prop({ reflect: true }) showChip = false;\n\n /** The component's value. */\n @Prop({ reflect: true, mutable: true }) value = 0;\n\n @Watch(\"value\")\n handleValueUpdate(newValue: number): void {\n this.hoverValue = newValue;\n if (this.emit) {\n this.calciteRatingChange.emit();\n }\n\n this.emit = false;\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the component's value changes.\n */\n @Event({ cancelable: false }) calciteRatingChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Static\n //\n //--------------------------------------------------------------------------\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: RatingMessages;\n\n @State() hoverValue: number;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n connectLabel(this);\n connectForm(this);\n }\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n setUpLoadableComponent(this);\n }\n\n componentWillRender(): void {\n this.starsMap = Array.from({ length: this.max }, (_, i) => {\n const value = i + 1;\n const average = !this.hoverValue && this.average && !this.value && value <= this.average;\n const checked = value === this.value;\n const fraction = this.average && this.average + 1 - value;\n const hovered = value <= this.hoverValue;\n const id = `${this.guid}-${value}`;\n const partial = !this.hoverValue && !this.value && !hovered && fraction > 0 && fraction < 1;\n const selected = this.value >= value;\n const tabIndex = this.getTabIndex(value);\n return {\n average,\n checked,\n fraction,\n hovered,\n id,\n partial,\n selected,\n value,\n tabIndex,\n };\n });\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n render() {\n return (\n <Host\n onKeyDown={this.handleHostKeyDown}\n onPointerOut={this.handleRatingPointerOut}\n onPointerOver={this.handleRatingPointerOver}\n >\n <InteractiveContainer disabled={this.disabled}>\n <span class=\"wrapper\">\n <fieldset class=\"fieldset\" disabled={this.disabled}>\n <legend class=\"visually-hidden\">{this.messages.rating}</legend>\n {this.starsMap.map(\n ({\n average,\n checked,\n fraction,\n hovered,\n id,\n partial,\n selected,\n value,\n tabIndex,\n }) => {\n return (\n <label\n class={{\n star: true,\n selected,\n hovered,\n average,\n partial,\n }}\n data-value={value}\n htmlFor={id}\n onClick={this.handleLabelClick}\n onFocus={this.handleLabelFocus}\n onKeyDown={this.handleLabelKeyDown}\n onPointerDown={this.handleLabelPointerDown}\n onPointerOver={this.handleLabelPointerOver}\n tabIndex={tabIndex}\n // eslint-disable-next-line react/jsx-sort-props\n ref={this.setLabelEl}\n >\n <input\n checked={checked}\n class=\"visually-hidden\"\n disabled={this.disabled || this.readOnly}\n id={id}\n name={this.guid}\n onChange={this.handleInputChange}\n tabIndex={-1}\n type=\"radio\"\n value={value}\n />\n <StarIcon full={selected || average} scale={this.scale} />\n {partial && (\n <div class=\"fraction\" style={{ width: `${fraction * 100}%` }}>\n <StarIcon full partial scale={this.scale} />\n </div>\n )}\n <span class=\"visually-hidden\">\n {this.messages.stars.replace(\"{num}\", `${value}`)}\n </span>\n </label>\n );\n },\n )}\n\n {(this.count || this.average) && this.showChip ? (\n <calcite-chip scale={this.scale} value={this.count?.toString()}>\n {!!this.average && <span class=\"number--average\">{this.average.toString()}</span>}\n {!!this.count && <span class=\"number--count\">({this.count?.toString()})</span>}\n </calcite-chip>\n ) : null}\n </fieldset>\n <HiddenFormInputSlot component={this} />\n </span>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private handleRatingPointerOver = () => {\n this.isKeyboardInteraction = false;\n };\n\n private handleRatingPointerOut = () => {\n this.isKeyboardInteraction = true;\n this.hoverValue = null;\n };\n\n private handleHostKeyDown = () => {\n this.isKeyboardInteraction = true;\n };\n\n private handleLabelKeyDown = (event: KeyboardEvent) => {\n const inputValue = this.getValueFromLabelEvent(event);\n const key = event.key;\n const numberKey = key == \" \" ? undefined : Number(key);\n\n this.emit = true;\n if (isNaN(numberKey)) {\n switch (key) {\n case \"Enter\":\n case \" \":\n this.value = !this.required && this.value === inputValue ? 0 : inputValue;\n break;\n case \"ArrowLeft\":\n this.value = this.getPreviousRatingValue(inputValue);\n this.updateFocus();\n event.preventDefault();\n break;\n case \"ArrowRight\":\n this.value = this.getNextRatingValue(inputValue);\n this.updateFocus();\n event.preventDefault();\n break;\n case \"Tab\":\n this.hoverValue = null;\n default:\n break;\n }\n } else {\n if (!this.required && numberKey >= 0 && numberKey <= this.max) {\n this.value = numberKey;\n } else if (this.required && numberKey > 0 && numberKey <= this.max) {\n this.value = numberKey;\n }\n this.updateFocus();\n }\n };\n\n private handleInputChange = (event: InputEvent) => {\n if (this.isKeyboardInteraction === true) {\n const inputVal = Number(event.target[\"value\"]);\n this.hoverValue = inputVal;\n this.value = inputVal;\n }\n };\n\n private handleLabelPointerOver = (event: PointerEvent) => {\n this.hoverValue = this.getValueFromLabelEvent(event);\n };\n\n private handleLabelPointerDown = (event: PointerEvent) => {\n const target = event.currentTarget as HTMLLabelElement;\n const inputValue = this.getValueFromLabelEvent(event);\n this.hoverValue = inputValue;\n this.emit = true;\n this.value = !this.required && this.value === inputValue ? 0 : inputValue;\n target.focus();\n };\n\n private handleLabelClick = (event: Event) => {\n //preventing pointerdown event will supress any compatability mouse events except for click event.\n event.preventDefault();\n };\n\n private handleLabelFocus = (event: FocusEvent) => {\n const inputValue = this.getValueFromLabelEvent(event);\n this.hoverValue = inputValue;\n };\n\n private updateFocus(): void {\n this.hoverValue = this.value;\n this.labelElements[this.value - 1].focus();\n }\n\n private getTabIndex(value: number): number {\n if (this.readOnly || (this.value !== value && (this.value || value !== 1))) {\n return -1;\n }\n return 0;\n }\n\n private setLabelEl = (el: HTMLLabelElement): void => {\n this.labelElements.push(el);\n };\n\n private getValueFromLabelEvent(event: FocusEvent | PointerEvent | KeyboardEvent): number {\n const target = event.currentTarget as HTMLLabelElement;\n return Number(target.getAttribute(\"data-value\"));\n }\n\n getNextRatingValue(currentValue: number): number {\n return currentValue === 5 ? 1 : currentValue + 1;\n }\n\n getPreviousRatingValue(currentValue: number): number {\n return currentValue === 1 ? 5 : currentValue - 1;\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 focusFirstTabbable(this.el);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private State / Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteRatingElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Rating[\"value\"];\n\n private emit = false;\n\n private guid = `calcite-ratings-${guid()}`;\n\n private isKeyboardInteraction = true;\n\n private labelElements: HTMLLabelElement[] = [];\n\n private max = 5;\n\n private starsMap: Star[];\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.4.1-next.0
4
+ * v2.5.0-next.0
5
5
  */
6
6
  import { S as Scrim, d as defineCustomElement$1 } from './scrim.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.4.1-next.0
4
+ * v2.5.0-next.0
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { t as toAriaBoolean } from './dom.js';
@@ -14,7 +14,7 @@ const CSS = {
14
14
  segmentedControlItemIcon: "segmented-control-item-icon",
15
15
  };
16
16
 
17
- const segmentedControlItemCss = ":host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-color-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid 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:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:active) label{background-color:var(--calcite-color-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-color-brand);background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-color-brand);color:var(--calcite-color-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .segmented-control-item-icon{color:highlightText}}.segmented-control-item-icon{position:relative;margin:0px;display:inline-flex;line-height:inherit}:host([icon-start]) .label--scale-s .segmented-control-item-icon{margin-inline-end:0.5rem}:host([icon-end]) .label--scale-s .segmented-control-item-icon{margin-inline-start:0.5rem}:host([icon-start]) .label--scale-m .segmented-control-item-icon{margin-inline-end:0.75rem}:host([icon-end]) .label--scale-m .segmented-control-item-icon{margin-inline-start:0.75rem}:host([icon-start]) .label--scale-l .segmented-control-item-icon{margin-inline-end:1rem}:host([icon-end]) .label--scale-l .segmented-control-item-icon{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";
17
+ const segmentedControlItemCss = ":host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-color-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:active) label{background-color:var(--calcite-color-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-color-brand);background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-color-brand);color:var(--calcite-color-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .segmented-control-item-icon{color:highlightText}}.segmented-control-item-icon{position:relative;margin:0px;display:inline-flex;line-height:inherit}:host([icon-start]) .label--scale-s .segmented-control-item-icon{margin-inline-end:0.5rem}:host([icon-end]) .label--scale-s .segmented-control-item-icon{margin-inline-start:0.5rem}:host([icon-start]) .label--scale-m .segmented-control-item-icon{margin-inline-end:0.75rem}:host([icon-end]) .label--scale-m .segmented-control-item-icon{margin-inline-start:0.75rem}:host([icon-start]) .label--scale-l .segmented-control-item-icon{margin-inline-end:1rem}:host([icon-end]) .label--scale-l .segmented-control-item-icon{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";
18
18
 
19
19
  const SegmentedControlItem = /*@__PURE__*/ proxyCustomElement(class SegmentedControlItem extends HTMLElement {
20
20
  constructor() {
@@ -1 +1 @@
1
- {"file":"calcite-segmented-control-item.js","mappings":";;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;CACf,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,wBAAwB,EAAE,6BAA6B;CACxD;;ACND,MAAM,uBAAuB,GAAG,s9FAAs9F;;MCoBz+F,oBAAoB;;;;;;uBASmB,KAAK;2BAQhB,KAAK;;;;0BAoBoC,OAAO;sBAO9D,YAAY;qBAOd,GAAG;;IAvChB,mBAAmB;QAC3B,IAAI,CAAC,yCAAyC,CAAC,IAAI,EAAE,CAAC;KACvD;;;;;;IA6CD,MAAM;QACJ,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QAE3D,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,IAChC,oBACE,KAAK,EAAE,GAAG,CAAC,wBAAwB,EACnC,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,IAAI,EAAE,IAAI,CAAC,SAAS,EACpB,GAAG,EAAC,YAAY,EAChB,KAAK,EAAC,GAAG,GACT,IACA,IAAI,CAAC;QAET,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,IAC5B,oBACE,KAAK,EAAE,GAAG,CAAC,wBAAwB,EACnC,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,IAAI,EAAE,IAAI,CAAC,OAAO,EAClB,GAAG,EAAC,UAAU,EACd,KAAK,EAAC,GAAG,GACT,IACA,IAAI,CAAC;QAET,QACE,EAAC,IAAI,oBAAe,aAAa,CAAC,OAAO,CAAC,gBAAc,KAAK,EAAE,IAAI,EAAC,OAAO,IACzE,aACE,KAAK,EAAE;gBACL,gBAAgB,EAAE,KAAK,KAAK,GAAG;gBAC/B,gBAAgB,EAAE,KAAK,KAAK,GAAG;gBAC/B,gBAAgB,EAAE,KAAK,KAAK,GAAG;gBAC/B,mBAAmB,EAAE,MAAM,KAAK,YAAY;gBAC5C,gBAAgB,EAAE,UAAU,KAAK,SAAS;gBAC1C,qBAAqB,EAAE,UAAU,KAAK,cAAc;aACrD,IAEA,IAAI,CAAC,SAAS,GAAG,WAAW,GAAG,IAAI,EACpC,gBAAO,KAAK,CAAQ,EACpB,YAAM,IAAI,EAAE,KAAK,CAAC,KAAK,GAAI,EAC1B,IAAI,CAAC,OAAO,GAAG,SAAS,GAAG,IAAI,CAC1B,CACH,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/segmented-control-item/resources.ts","src/components/segmented-control-item/segmented-control-item.scss?tag=calcite-segmented-control-item&encapsulation=shadow","src/components/segmented-control-item/segmented-control-item.tsx"],"sourcesContent":["export const SLOTS = {\n input: \"input\",\n};\n\nexport const CSS = {\n segmentedControlItemIcon: \"segmented-control-item-icon\",\n};\n",":host {\n @apply flex\n cursor-pointer\n self-stretch\n font-normal;\n transition:\n background-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n border-color var(--calcite-animation-timing) ease-in-out;\n}\n\n:host label {\n @apply text-color-3\n pointer-events-none\n m-0.5\n box-border\n flex\n flex-1\n items-center;\n transition:\n background-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n border-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n color var(--calcite-internal-animation-timing-fast) ease-in-out;\n}\n\n.label--horizontal {\n @apply justify-center;\n}\n\n// focus styles\n:host {\n @apply focus-base;\n}\n:host(:focus) {\n @apply focus-inset;\n outline-offset: -1px;\n}\n\n.label--scale-s {\n @apply text-n2h px-2;\n padding-block: 0.125rem;\n}\n\n.label--scale-m {\n @apply text-n1h px-3;\n padding-block: 0.375rem;\n}\n\n.label--scale-l {\n @apply text-0h px-4 py-2.5;\n}\n\n:host(:hover) label {\n @apply bg-foreground-2 text-color-1;\n}\n\n:host(:active) label {\n @apply bg-foreground-3;\n}\n\n:host([checked]) label {\n @apply bg-brand border-color-brand cursor-default text-color-inverse;\n}\n\n:host([checked]) .label--outline,\n:host([checked]) .label--outline-fill {\n @apply bg-foreground-1 border-color-brand;\n box-shadow: inset 0 0 0 1px theme(\"backgroundColor.brand\");\n color: theme(\"backgroundColor.brand\");\n}\n\n:host([checked]) .label--outline {\n @apply bg-transparent;\n}\n\n::slotted(input) {\n @apply hidden;\n}\n\n@media (forced-colors: active) {\n :host([checked]) label {\n background-color: highlight;\n }\n :host([checked]) .label--outline,\n :host([checked]) .label--outline-fill {\n @apply outline-none;\n }\n :host([checked]) label:not([class~=\"label--outline\"]) .segmented-control-item-icon {\n color: highlightText;\n }\n}\n\n// icon\n.segmented-control-item-icon {\n @apply relative\n m-0\n inline-flex;\n line-height: inherit;\n}\n\n:host([icon-start]) .label--scale-s .segmented-control-item-icon {\n margin-inline-end: theme(\"margin.2\");\n}\n\n:host([icon-end]) .label--scale-s .segmented-control-item-icon {\n margin-inline-start: theme(\"margin.2\");\n}\n\n:host([icon-start]) .label--scale-m .segmented-control-item-icon {\n margin-inline-end: theme(\"margin.3\");\n}\n\n:host([icon-end]) .label--scale-m .segmented-control-item-icon {\n margin-inline-start: theme(\"margin.3\");\n}\n\n:host([icon-start]) .label--scale-l .segmented-control-item-icon {\n margin-inline-end: theme(\"margin.4\");\n}\n:host([icon-end]) .label--scale-l .segmented-control-item-icon {\n margin-inline-start: theme(\"margin.4\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport { Appearance, Layout, Scale } from \"../interfaces\";\nimport { CSS, SLOTS } from \"./resources\";\n\n@Component({\n tag: \"calcite-segmented-control-item\",\n styleUrl: \"segmented-control-item.scss\",\n shadow: true,\n})\nexport class SegmentedControlItem {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is checked. */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by form module\n @Prop({ reflect: true, mutable: true }) checked = false;\n\n @Watch(\"checked\")\n protected handleCheckedChange(): void {\n this.calciteInternalSegmentedControlItemChange.emit();\n }\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 /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: string;\n\n /**\n * The component's value.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by form module\n @Prop({ mutable: true })\n value: any | null;\n\n /**\n * Specifies the appearance style of the component inherited from parent `calcite-segmented-control`, defaults to `solid`.\n *\n * @internal\n */\n @Prop() appearance: Extract<\"outline\" | \"outline-fill\" | \"solid\", Appearance> = \"solid\";\n\n /**\n * Defines the layout of the component inherited from parent `calcite-segmented-control`, defaults to `horizontal`.\n *\n * @internal\n */\n @Prop() layout: Layout = \"horizontal\";\n\n /**\n * Specifies the size of the component inherited from the `calcite-segmented-control`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n const { appearance, checked, layout, scale, value } = this;\n\n const iconStartEl = this.iconStart ? (\n <calcite-icon\n class={CSS.segmentedControlItemIcon}\n flipRtl={this.iconFlipRtl}\n icon={this.iconStart}\n key=\"icon-start\"\n scale=\"s\"\n />\n ) : null;\n\n const iconEndEl = this.iconEnd ? (\n <calcite-icon\n class={CSS.segmentedControlItemIcon}\n flipRtl={this.iconFlipRtl}\n icon={this.iconEnd}\n key=\"icon-end\"\n scale=\"s\"\n />\n ) : null;\n\n return (\n <Host aria-checked={toAriaBoolean(checked)} aria-label={value} role=\"radio\">\n <label\n class={{\n \"label--scale-s\": scale === \"s\",\n \"label--scale-m\": scale === \"m\",\n \"label--scale-l\": scale === \"l\",\n \"label--horizontal\": layout === \"horizontal\",\n \"label--outline\": appearance === \"outline\",\n \"label--outline-fill\": appearance === \"outline-fill\",\n }}\n >\n {this.iconStart ? iconStartEl : null}\n <slot>{value}</slot>\n <slot name={SLOTS.input} />\n {this.iconEnd ? iconEndEl : null}\n </label>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSegmentedControlItemElement;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the item has been selected.\n *\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalSegmentedControlItemChange: EventEmitter<void>;\n}\n"],"version":3}
1
+ {"file":"calcite-segmented-control-item.js","mappings":";;;;;;;;;AAAO,MAAM,KAAK,GAAG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c;aACrD,IAEA,IAAI,CAAC,SAAS,GAAG,WAAW,GAAG,IAAI,EACpC,gBAAO,KAAK,CAAQ,EACpB,YAAM,IAAI,EAAE,KAAK,CAAC,KAAK,GAAI,EAC1B,IAAI,CAAC,OAAO,GAAG,SAAS,GAAG,IAAI,CAC1B,CACH,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/segmented-control-item/resources.ts","src/components/segmented-control-item/segmented-control-item.scss?tag=calcite-segmented-control-item&encapsulation=shadow","src/components/segmented-control-item/segmented-control-item.tsx"],"sourcesContent":["export const SLOTS = {\n input: \"input\",\n};\n\nexport const CSS = {\n segmentedControlItemIcon: \"segmented-control-item-icon\",\n};\n",":host {\n @apply flex\n cursor-pointer\n self-stretch\n font-normal;\n transition:\n background-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n border-color var(--calcite-animation-timing) ease-in-out;\n}\n\n:host label {\n @apply text-color-3\n pointer-events-none\n m-0.5\n box-border\n flex\n flex-1\n items-center;\n transition:\n background-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n border-color var(--calcite-internal-animation-timing-fast) ease-in-out,\n color var(--calcite-internal-animation-timing-fast) ease-in-out;\n}\n\n.label--horizontal {\n @apply justify-center;\n}\n\n// focus styles\n:host {\n @apply focus-base;\n}\n:host(:focus) {\n @apply focus-inset;\n outline-offset: -1px;\n}\n\n.label--scale-s {\n @apply text-n2h px-2;\n padding-block: 0.125rem;\n}\n\n.label--scale-m {\n @apply text-n1h px-3;\n padding-block: 0.375rem;\n}\n\n.label--scale-l {\n @apply text-0h px-4 py-2.5;\n}\n\n:host(:hover) label {\n @apply bg-foreground-2 text-color-1;\n}\n\n:host(:active) label {\n @apply bg-foreground-3;\n}\n\n:host([checked]) label {\n @apply bg-brand border-color-brand cursor-default text-color-inverse;\n}\n\n:host([checked]) .label--outline,\n:host([checked]) .label--outline-fill {\n @apply bg-foreground-1 border-color-brand;\n box-shadow: inset 0 0 0 1px theme(\"backgroundColor.brand\");\n color: theme(\"backgroundColor.brand\");\n}\n\n:host([checked]) .label--outline {\n @apply bg-transparent;\n}\n\n::slotted(input) {\n @apply hidden;\n}\n\n@media (forced-colors: active) {\n :host([checked]) label {\n background-color: highlight;\n }\n :host([checked]) .label--outline,\n :host([checked]) .label--outline-fill {\n @apply outline-none;\n }\n :host([checked]) label:not([class~=\"label--outline\"]) .segmented-control-item-icon {\n color: highlightText;\n }\n}\n\n// icon\n.segmented-control-item-icon {\n @apply relative\n m-0\n inline-flex;\n line-height: inherit;\n}\n\n:host([icon-start]) .label--scale-s .segmented-control-item-icon {\n margin-inline-end: theme(\"margin.2\");\n}\n\n:host([icon-end]) .label--scale-s .segmented-control-item-icon {\n margin-inline-start: theme(\"margin.2\");\n}\n\n:host([icon-start]) .label--scale-m .segmented-control-item-icon {\n margin-inline-end: theme(\"margin.3\");\n}\n\n:host([icon-end]) .label--scale-m .segmented-control-item-icon {\n margin-inline-start: theme(\"margin.3\");\n}\n\n:host([icon-start]) .label--scale-l .segmented-control-item-icon {\n margin-inline-end: theme(\"margin.4\");\n}\n:host([icon-end]) .label--scale-l .segmented-control-item-icon {\n margin-inline-start: theme(\"margin.4\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport { Appearance, Layout, Scale } from \"../interfaces\";\nimport { CSS, SLOTS } from \"./resources\";\n\n@Component({\n tag: \"calcite-segmented-control-item\",\n styleUrl: \"segmented-control-item.scss\",\n shadow: true,\n})\nexport class SegmentedControlItem {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is checked. */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by form module\n @Prop({ reflect: true, mutable: true }) checked = false;\n\n @Watch(\"checked\")\n protected handleCheckedChange(): void {\n this.calciteInternalSegmentedControlItemChange.emit();\n }\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 /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: string;\n\n /**\n * The component's value.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by form module\n @Prop({ mutable: true })\n value: any | null;\n\n /**\n * Specifies the appearance style of the component inherited from parent `calcite-segmented-control`, defaults to `solid`.\n *\n * @internal\n */\n @Prop() appearance: Extract<\"outline\" | \"outline-fill\" | \"solid\", Appearance> = \"solid\";\n\n /**\n * Defines the layout of the component inherited from parent `calcite-segmented-control`, defaults to `horizontal`.\n *\n * @internal\n */\n @Prop() layout: Layout = \"horizontal\";\n\n /**\n * Specifies the size of the component inherited from the `calcite-segmented-control`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n const { appearance, checked, layout, scale, value } = this;\n\n const iconStartEl = this.iconStart ? (\n <calcite-icon\n class={CSS.segmentedControlItemIcon}\n flipRtl={this.iconFlipRtl}\n icon={this.iconStart}\n key=\"icon-start\"\n scale=\"s\"\n />\n ) : null;\n\n const iconEndEl = this.iconEnd ? (\n <calcite-icon\n class={CSS.segmentedControlItemIcon}\n flipRtl={this.iconFlipRtl}\n icon={this.iconEnd}\n key=\"icon-end\"\n scale=\"s\"\n />\n ) : null;\n\n return (\n <Host aria-checked={toAriaBoolean(checked)} aria-label={value} role=\"radio\">\n <label\n class={{\n \"label--scale-s\": scale === \"s\",\n \"label--scale-m\": scale === \"m\",\n \"label--scale-l\": scale === \"l\",\n \"label--horizontal\": layout === \"horizontal\",\n \"label--outline\": appearance === \"outline\",\n \"label--outline-fill\": appearance === \"outline-fill\",\n }}\n >\n {this.iconStart ? iconStartEl : null}\n <slot>{value}</slot>\n <slot name={SLOTS.input} />\n {this.iconEnd ? iconEndEl : null}\n </label>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSegmentedControlItemElement;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the item has been selected.\n *\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalSegmentedControlItemChange: EventEmitter<void>;\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.4.1-next.0
4
+ * v2.5.0-next.0
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client/index.js';
7
7
  import { a as getElementDir } from './dom.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.4.1-next.0
4
+ * v2.5.0-next.0
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { e as focusElement } from './dom.js';
@@ -22,7 +22,7 @@ const CSS = {
22
22
  wrapper: "wrapper",
23
23
  };
24
24
 
25
- const selectCss = ":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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:flex;flex-direction:column}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .wrapper{block-size:1.5rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .wrapper{block-size:2rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .wrapper{block-size:44px}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);font-family:inherit;color:var(--calcite-color-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid 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 )}.select:hover{background-color:var(--calcite-color-foreground-2)}select:disabled{border-color:var(--calcite-color-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:transparent;color:var(--calcite-color-text-2);inset-inline-end:0px;border-inline-width:0px 1px}:host([status=invalid]) select,:host([status=invalid]) .icon-container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) select:focus,:host([status=invalid]) .icon-container:focus{outline:2px solid var(--calcite-color-status-danger);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 )}.select:focus~.icon-container{border-color:transparent}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";
25
+ const selectCss = ":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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:flex;flex-direction:column}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .wrapper{block-size:1.5rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .wrapper{block-size:2rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .wrapper{block-size:44px}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);font-family:inherit;color:var(--calcite-color-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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 )}.select:hover{background-color:var(--calcite-color-foreground-2)}select:disabled{border-color:var(--calcite-color-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:transparent;color:var(--calcite-color-text-2);inset-inline-end:0px;border-inline-width:0px 1px}:host([status=invalid]) select,:host([status=invalid]) .icon-container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) select:focus,:host([status=invalid]) .icon-container:focus{outline:2px solid var(--calcite-color-status-danger);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 )}.select:focus~.icon-container{border-color:transparent}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";
26
26
 
27
27
  function isOption(optionOrGroup) {
28
28
  return optionOrGroup.tagName === "CALCITE-OPTION";
@@ -1 +1 @@
1
- {"file":"calcite-select.js","mappings":";;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACnB;;ACLD,MAAM,SAAS,GAAG,65HAA65H;;AC4C/6H,SAAS,QAAQ,CAAC,aAA4B;IAC5C,OAAO,aAAa,CAAC,OAAO,KAAK,gBAAgB,CAAC;AACpD,CAAC;AAED,SAAS,aAAa,CACpB,aAA4B;IAE5B,OAAO,aAAa,CAAC,OAAO,KAAK,sBAAsB,CAAC;AAC1D,CAAC;MAUY,MAAM;;;;;;QA2FT,wBAAmB,GAAG,IAAI,GAAG,EAAsC,CAAC;QAEpE,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAAC;QAoEnF,+BAA0B,GAAG;YACnC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;YAClD,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC;YACtC,qBAAqB,CAAC,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC;SACrD,CAAC;QAkDM,2BAAsB,GAAG;YAC/B,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CACjC,IAAI,CAAC,EAAE,CAAC,QAA6D,CACtE,CAAC,MAAM,CACN,CAAC,KAAK,KAAK,KAAK,CAAC,OAAO,KAAK,gBAAgB,IAAI,KAAK,CAAC,OAAO,KAAK,sBA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C,oBAAoB,IAAC,QAAQ,EAAE,QAAQ,IACtC,WAAK,KAAK,EAAE,GAAG,CAAC,OAAO,IACrB,4BACc,YAAY,CAAC,IAAI,CAAC,EAC9B,KAAK,EAAE,GAAG,CAAC,MAAM,EACjB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,IAAI,CAAC,0BAA0B;;YAEzC,GAAG,EAAE,IAAI,CAAC,cAAc,IAExB,eAAQ,CACD,EACR,IAAI,CAAC,aAAa,EAAE,EACrB,EAAC,mBAAmB,IAAC,SAAS,EAAE,IAAI,GAAI,CACpC,EACL,IAAI,CAAC,iBAAiB,IACrB,EAAC,UAAU,IACT,IAAI,EAAE,IAAI,CAAC,cAAc,EACzB,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAC/B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,GACnB,IACA,IAAI,CACa,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/select/resources.ts","src/components/select/select.scss?tag=calcite-select&encapsulation=shadow","src/components/select/select.tsx"],"sourcesContent":["export const CSS = {\n icon: \"icon\",\n iconContainer: \"icon-container\",\n select: \"select\",\n wrapper: \"wrapper\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-select-font-size: The font size of `calcite-option`s in the component.\n * @prop --calcite-select-spacing: The padding around the selected option text.\n */\n\n:host {\n @extend %component-spacing;\n @apply flex flex-col;\n}\n\n.wrapper {\n @apply relative flex items-stretch;\n inline-size: var(--select-width);\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n --calcite-select-font-size: theme(\"fontSize.n2h\");\n --calcite-select-spacing-inline: theme(\"spacing.2\") theme(\"spacing.8\");\n\n .wrapper {\n @apply h-6;\n }\n\n .icon-container {\n @apply px-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-select-font-size: theme(\"fontSize.n1h\");\n --calcite-select-spacing-inline: theme(\"spacing.3\") theme(\"spacing.10\");\n\n .wrapper {\n @apply h-8;\n }\n\n .icon-container {\n @apply px-3;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-select-font-size: theme(\"fontSize.0h\");\n --calcite-select-spacing-inline: theme(\"spacing.4\") theme(\"spacing.12\");\n\n .wrapper {\n block-size: 44px;\n }\n\n .icon-container {\n @apply px-4;\n }\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-1/2;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n.select {\n @apply bg-foreground-1 border-color-input text-color-2 font-inherit focus-base m-0 box-border w-full cursor-pointer appearance-none truncate rounded-none border border-solid;\n font-size: var(--calcite-select-font-size);\n padding-inline: var(--calcite-select-spacing-inline);\n border-inline-end-width: theme(\"borderWidth.0\");\n\n &:focus {\n @apply focus-inset;\n }\n\n &:hover {\n @apply bg-foreground-2;\n }\n}\n\n// override user agent stylesheet disabled styling\nselect:disabled {\n @apply border-color-input bg-opacity-100;\n}\n\n.icon-container {\n @apply border-color-input text-color-2 pointer-events-none absolute inset-y-0 flex items-center border-0 border-solid bg-transparent;\n inset-inline-end: theme(\"inset.0\");\n border-inline-width: theme(\"borderWidth.0\") theme(\"borderWidth.DEFAULT\");\n}\n\n:host([status=\"invalid\"]) {\n select,\n .icon-container {\n @apply border-color-danger;\n }\n\n select:focus,\n .icon-container:focus {\n @apply focus-inset-danger;\n }\n}\n\n.select:focus ~ .icon-container {\n @apply border-color-transparent;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { focusElement } from \"../../utils/dom\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent, getLabelText } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { Scale, Status, Width } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\n\ntype OptionOrGroup = HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement;\ntype NativeOptionOrGroup = HTMLOptionElement | HTMLOptGroupElement;\n\nfunction isOption(optionOrGroup: OptionOrGroup): optionOrGroup is HTMLCalciteOptionElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION\";\n}\n\nfunction isOptionGroup(\n optionOrGroup: OptionOrGroup,\n): optionOrGroup is HTMLCalciteOptionGroupElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION-GROUP\";\n}\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-select\",\n styleUrl: \"select.scss\",\n shadow: true,\n})\nexport class Select\n implements LabelableComponent, FormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\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 `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * Accessible name for the component.\n *\n */\n @Prop() label!: string;\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop({ reflect: true }) validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's `selectedOption` value. */\n @Prop({ mutable: true }) value: string = null;\n\n @Watch(\"value\")\n valueHandler(value: string): void {\n const items = this.el.querySelectorAll(\"calcite-option\");\n items.forEach((item) => (item.selected = item.value === value));\n }\n\n /**\n * The component's selected option `HTMLElement`.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedOption: HTMLCalciteOptionElement;\n\n @Watch(\"selectedOption\")\n selectedOptionHandler(selectedOption: HTMLCalciteOptionElement): void {\n this.value = selectedOption?.value;\n }\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSelectElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Select[\"value\"];\n\n private componentToNativeEl = new Map<OptionOrGroup, NativeOptionOrGroup>();\n\n private mutationObserver = createObserver(\"mutation\", () => this.populateInternalSelect());\n\n private selectEl: HTMLSelectElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { el } = this;\n\n this.mutationObserver?.observe(el, {\n subtree: true,\n childList: true,\n });\n\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n afterConnectDefaultValueSet(this, this.selectedOption?.value ?? \"\");\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\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 focusElement(this.selectEl);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the `selectedOption` changes.\n */\n @Event({ cancelable: false }) calciteSelectChange: EventEmitter<void>;\n\n private handleInternalSelectChange = (): void => {\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n requestAnimationFrame(() => this.emitChangeEvent());\n };\n\n @Listen(\"calciteInternalOptionChange\")\n @Listen(\"calciteInternalOptionGroupChange\")\n protected handleOptionOrGroupChange(event: CustomEvent): void {\n event.stopPropagation();\n\n const optionOrGroup = event.target as OptionOrGroup;\n const nativeEl = this.componentToNativeEl.get(optionOrGroup);\n\n if (!nativeEl) {\n return;\n }\n\n this.updateNativeElement(optionOrGroup, nativeEl);\n\n if (isOption(optionOrGroup) && optionOrGroup.selected) {\n this.deselectAllExcept(optionOrGroup);\n this.selectedOption = optionOrGroup;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private updateNativeElement(\n optionOrGroup: OptionOrGroup,\n nativeOptionOrGroup: NativeOptionOrGroup,\n ): void {\n nativeOptionOrGroup.disabled = optionOrGroup.disabled;\n nativeOptionOrGroup.label = optionOrGroup.label;\n\n if (isOption(optionOrGroup)) {\n const option = nativeOptionOrGroup as HTMLOptionElement;\n option.selected = optionOrGroup.selected;\n option.value = optionOrGroup.value;\n\n // need to set innerText for mobile\n // see https://stackoverflow.com/questions/35021620/ios-safari-not-showing-all-options-for-select-menu/41749701\n option.innerText = optionOrGroup.label;\n }\n }\n\n private populateInternalSelect = (): void => {\n const optionsAndGroups = Array.from(\n this.el.children as HTMLCollectionOf<OptionOrGroup | HTMLSlotElement>,\n ).filter(\n (child) => child.tagName === \"CALCITE-OPTION\" || child.tagName === \"CALCITE-OPTION-GROUP\",\n ) as OptionOrGroup[];\n\n this.clearInternalSelect();\n\n optionsAndGroups.forEach(\n (optionOrGroup) => this.selectEl?.append(this.toNativeElement(optionOrGroup)),\n );\n };\n\n private clearInternalSelect(): void {\n this.componentToNativeEl.forEach((value) => value.remove());\n this.componentToNativeEl.clear();\n }\n\n private storeSelectRef = (node: HTMLSelectElement): void => {\n this.selectEl = node;\n this.populateInternalSelect();\n\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n };\n\n private selectFromNativeOption(nativeOption: HTMLOptionElement): void {\n if (!nativeOption) {\n return;\n }\n\n let futureSelected: HTMLCalciteOptionElement;\n\n this.componentToNativeEl.forEach((nativeOptionOrGroup, optionOrGroup) => {\n if (isOption(optionOrGroup) && nativeOptionOrGroup === nativeOption) {\n optionOrGroup.selected = true;\n futureSelected = optionOrGroup;\n this.deselectAllExcept(optionOrGroup as HTMLCalciteOptionElement);\n }\n });\n\n if (futureSelected) {\n this.selectedOption = futureSelected;\n }\n }\n\n private toNativeElement(\n optionOrGroup: HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement,\n ): NativeOptionOrGroup {\n if (isOption(optionOrGroup)) {\n const option = document.createElement(\"option\");\n this.updateNativeElement(optionOrGroup, option);\n this.componentToNativeEl.set(optionOrGroup, option);\n\n return option;\n }\n\n if (isOptionGroup(optionOrGroup)) {\n const group = document.createElement(\"optgroup\");\n this.updateNativeElement(optionOrGroup, group);\n\n Array.from(optionOrGroup.children as HTMLCollectionOf<HTMLCalciteOptionElement>).forEach(\n (option) => {\n const nativeOption = this.toNativeElement(option);\n group.append(nativeOption);\n this.componentToNativeEl.set(optionOrGroup, nativeOption);\n },\n );\n\n this.componentToNativeEl.set(optionOrGroup, group);\n\n return group;\n }\n\n throw new Error(\"unsupported element child provided\");\n }\n\n private deselectAllExcept(except: HTMLCalciteOptionElement): void {\n this.el.querySelectorAll<HTMLCalciteOptionElement>(\"calcite-option\").forEach((option) => {\n if (option === except) {\n return;\n }\n\n option.selected = false;\n });\n }\n\n private emitChangeEvent = (): void => {\n this.calciteSelectChange.emit();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChevron(): VNode {\n return (\n <div class={CSS.iconContainer}>\n <calcite-icon class={CSS.icon} icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </div>\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div class={CSS.wrapper}>\n <select\n aria-label={getLabelText(this)}\n class={CSS.select}\n disabled={disabled}\n onChange={this.handleInternalSelectChange}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.storeSelectRef}\n >\n <slot />\n </select>\n {this.renderChevron()}\n <HiddenFormInputSlot component={this} />\n </div>\n {this.validationMessage ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"calcite-select.js","mappings":";;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACnB;;ACLD,MAAM,SAAS,GAAG,+9HAA+9H;;AC4Cj/H,SAAS,QAAQ,CAAC,aAA4B;IAC5C,OAAO,aAAa,CAAC,OAAO,KAAK,gBAAgB,CAAC;AACpD,CAAC;AAED,SAAS,aAAa,CACpB,aAA4B;IAE5B,OAAO,aAAa,CAAC,OAAO,KAAK,sBAAsB,CAAC;AAC1D,CAAC;MAUY,MAAM;;;;;;QA2FT,wBAAmB,GAAG,IA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ts","src/components/select/select.scss?tag=calcite-select&encapsulation=shadow","src/components/select/select.tsx"],"sourcesContent":["export const CSS = {\n icon: \"icon\",\n iconContainer: \"icon-container\",\n select: \"select\",\n wrapper: \"wrapper\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-select-font-size: The font size of `calcite-option`s in the component.\n * @prop --calcite-select-spacing: The padding around the selected option text.\n */\n\n:host {\n @extend %component-spacing;\n @apply flex flex-col;\n}\n\n.wrapper {\n @apply relative flex items-stretch;\n inline-size: var(--select-width);\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n --calcite-select-font-size: theme(\"fontSize.n2h\");\n --calcite-select-spacing-inline: theme(\"spacing.2\") theme(\"spacing.8\");\n\n .wrapper {\n @apply h-6;\n }\n\n .icon-container {\n @apply px-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-select-font-size: theme(\"fontSize.n1h\");\n --calcite-select-spacing-inline: theme(\"spacing.3\") theme(\"spacing.10\");\n\n .wrapper {\n @apply h-8;\n }\n\n .icon-container {\n @apply px-3;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-select-font-size: theme(\"fontSize.0h\");\n --calcite-select-spacing-inline: theme(\"spacing.4\") theme(\"spacing.12\");\n\n .wrapper {\n block-size: 44px;\n }\n\n .icon-container {\n @apply px-4;\n }\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-1/2;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n.select {\n @apply bg-foreground-1 border-color-input text-color-2 font-inherit focus-base m-0 box-border w-full cursor-pointer appearance-none truncate rounded-none border border-solid;\n font-size: var(--calcite-select-font-size);\n padding-inline: var(--calcite-select-spacing-inline);\n border-inline-end-width: theme(\"borderWidth.0\");\n\n &:focus {\n @apply focus-inset;\n }\n\n &:hover {\n @apply bg-foreground-2;\n }\n}\n\n// override user agent stylesheet disabled styling\nselect:disabled {\n @apply border-color-input bg-opacity-100;\n}\n\n.icon-container {\n @apply border-color-input text-color-2 pointer-events-none absolute inset-y-0 flex items-center border-0 border-solid bg-transparent;\n inset-inline-end: theme(\"inset.0\");\n border-inline-width: theme(\"borderWidth.0\") theme(\"borderWidth.DEFAULT\");\n}\n\n:host([status=\"invalid\"]) {\n select,\n .icon-container {\n @apply border-color-danger;\n }\n\n select:focus,\n .icon-container:focus {\n @apply focus-inset-danger;\n }\n}\n\n.select:focus ~ .icon-container {\n @apply border-color-transparent;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { focusElement } from \"../../utils/dom\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent, getLabelText } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { Scale, Status, Width } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\n\ntype OptionOrGroup = HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement;\ntype NativeOptionOrGroup = HTMLOptionElement | HTMLOptGroupElement;\n\nfunction isOption(optionOrGroup: OptionOrGroup): optionOrGroup is HTMLCalciteOptionElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION\";\n}\n\nfunction isOptionGroup(\n optionOrGroup: OptionOrGroup,\n): optionOrGroup is HTMLCalciteOptionGroupElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION-GROUP\";\n}\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-select\",\n styleUrl: \"select.scss\",\n shadow: true,\n})\nexport class Select\n implements LabelableComponent, FormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\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 `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * Accessible name for the component.\n *\n */\n @Prop() label!: string;\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop({ reflect: true }) validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's `selectedOption` value. */\n @Prop({ mutable: true }) value: string = null;\n\n @Watch(\"value\")\n valueHandler(value: string): void {\n const items = this.el.querySelectorAll(\"calcite-option\");\n items.forEach((item) => (item.selected = item.value === value));\n }\n\n /**\n * The component's selected option `HTMLElement`.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedOption: HTMLCalciteOptionElement;\n\n @Watch(\"selectedOption\")\n selectedOptionHandler(selectedOption: HTMLCalciteOptionElement): void {\n this.value = selectedOption?.value;\n }\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSelectElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Select[\"value\"];\n\n private componentToNativeEl = new Map<OptionOrGroup, NativeOptionOrGroup>();\n\n private mutationObserver = createObserver(\"mutation\", () => this.populateInternalSelect());\n\n private selectEl: HTMLSelectElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { el } = this;\n\n this.mutationObserver?.observe(el, {\n subtree: true,\n childList: true,\n });\n\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n afterConnectDefaultValueSet(this, this.selectedOption?.value ?? \"\");\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\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 focusElement(this.selectEl);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the `selectedOption` changes.\n */\n @Event({ cancelable: false }) calciteSelectChange: EventEmitter<void>;\n\n private handleInternalSelectChange = (): void => {\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n requestAnimationFrame(() => this.emitChangeEvent());\n };\n\n @Listen(\"calciteInternalOptionChange\")\n @Listen(\"calciteInternalOptionGroupChange\")\n protected handleOptionOrGroupChange(event: CustomEvent): void {\n event.stopPropagation();\n\n const optionOrGroup = event.target as OptionOrGroup;\n const nativeEl = this.componentToNativeEl.get(optionOrGroup);\n\n if (!nativeEl) {\n return;\n }\n\n this.updateNativeElement(optionOrGroup, nativeEl);\n\n if (isOption(optionOrGroup) && optionOrGroup.selected) {\n this.deselectAllExcept(optionOrGroup);\n this.selectedOption = optionOrGroup;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private updateNativeElement(\n optionOrGroup: OptionOrGroup,\n nativeOptionOrGroup: NativeOptionOrGroup,\n ): void {\n nativeOptionOrGroup.disabled = optionOrGroup.disabled;\n nativeOptionOrGroup.label = optionOrGroup.label;\n\n if (isOption(optionOrGroup)) {\n const option = nativeOptionOrGroup as HTMLOptionElement;\n option.selected = optionOrGroup.selected;\n option.value = optionOrGroup.value;\n\n // need to set innerText for mobile\n // see https://stackoverflow.com/questions/35021620/ios-safari-not-showing-all-options-for-select-menu/41749701\n option.innerText = optionOrGroup.label;\n }\n }\n\n private populateInternalSelect = (): void => {\n const optionsAndGroups = Array.from(\n this.el.children as HTMLCollectionOf<OptionOrGroup | HTMLSlotElement>,\n ).filter(\n (child) => child.tagName === \"CALCITE-OPTION\" || child.tagName === \"CALCITE-OPTION-GROUP\",\n ) as OptionOrGroup[];\n\n this.clearInternalSelect();\n\n optionsAndGroups.forEach(\n (optionOrGroup) => this.selectEl?.append(this.toNativeElement(optionOrGroup)),\n );\n };\n\n private clearInternalSelect(): void {\n this.componentToNativeEl.forEach((value) => value.remove());\n this.componentToNativeEl.clear();\n }\n\n private storeSelectRef = (node: HTMLSelectElement): void => {\n this.selectEl = node;\n this.populateInternalSelect();\n\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n };\n\n private selectFromNativeOption(nativeOption: HTMLOptionElement): void {\n if (!nativeOption) {\n return;\n }\n\n let futureSelected: HTMLCalciteOptionElement;\n\n this.componentToNativeEl.forEach((nativeOptionOrGroup, optionOrGroup) => {\n if (isOption(optionOrGroup) && nativeOptionOrGroup === nativeOption) {\n optionOrGroup.selected = true;\n futureSelected = optionOrGroup;\n this.deselectAllExcept(optionOrGroup as HTMLCalciteOptionElement);\n }\n });\n\n if (futureSelected) {\n this.selectedOption = futureSelected;\n }\n }\n\n private toNativeElement(\n optionOrGroup: HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement,\n ): NativeOptionOrGroup {\n if (isOption(optionOrGroup)) {\n const option = document.createElement(\"option\");\n this.updateNativeElement(optionOrGroup, option);\n this.componentToNativeEl.set(optionOrGroup, option);\n\n return option;\n }\n\n if (isOptionGroup(optionOrGroup)) {\n const group = document.createElement(\"optgroup\");\n this.updateNativeElement(optionOrGroup, group);\n\n Array.from(optionOrGroup.children as HTMLCollectionOf<HTMLCalciteOptionElement>).forEach(\n (option) => {\n const nativeOption = this.toNativeElement(option);\n group.append(nativeOption);\n this.componentToNativeEl.set(optionOrGroup, nativeOption);\n },\n );\n\n this.componentToNativeEl.set(optionOrGroup, group);\n\n return group;\n }\n\n throw new Error(\"unsupported element child provided\");\n }\n\n private deselectAllExcept(except: HTMLCalciteOptionElement): void {\n this.el.querySelectorAll<HTMLCalciteOptionElement>(\"calcite-option\").forEach((option) => {\n if (option === except) {\n return;\n }\n\n option.selected = false;\n });\n }\n\n private emitChangeEvent = (): void => {\n this.calciteSelectChange.emit();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChevron(): VNode {\n return (\n <div class={CSS.iconContainer}>\n <calcite-icon class={CSS.icon} icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </div>\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div class={CSS.wrapper}>\n <select\n aria-label={getLabelText(this)}\n class={CSS.select}\n disabled={disabled}\n onChange={this.handleInternalSelectChange}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.storeSelectRef}\n >\n <slot />\n </select>\n {this.renderChevron()}\n <HiddenFormInputSlot component={this} />\n </div>\n {this.validationMessage ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.4.1-next.0
4
+ * v2.5.0-next.0
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { C as ensureId, a as getElementDir, f as focusFirstTabbable } from './dom.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.4.1-next.0
4
+ * v2.5.0-next.0
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
7
7
  import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.4.1-next.0
4
+ * v2.5.0-next.0
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, forceUpdate } from '@stencil/core/internal/client/index.js';
7
7
  import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.4.1-next.0
4
+ * v2.5.0-next.0
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
7
7
  import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.4.1-next.0
4
+ * v2.5.0-next.0
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { g as guid } from './guid.js';
@@ -45,7 +45,7 @@ const CSS = {
45
45
  };
46
46
  const maxTickElementThreshold = 250;
47
47
 
48
- const sliderCss = "@charset \"UTF-8\";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );touch-action:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-color-text-3)}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-color-brand)}.thumb:focus .handle{outline:2px solid 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 )}.thumb:focus .handle-extension{background-color:var(--calcite-color-brand)}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-0.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-color-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-color-border-2);transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-color-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:\"\";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-color-border-input);border-color:var(--calcite-color-foreground-1);inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-color-brand)}.tick__label{pointer-events:none;margin-block-start:0.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-color-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";
48
+ const sliderCss = "@charset \"UTF-8\";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );touch-action:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-color-text-3)}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-color-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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 )}.thumb:focus .handle-extension{background-color:var(--calcite-color-brand)}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-0.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-color-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-color-border-2);transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-color-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:\"\";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-color-border-input);border-color:var(--calcite-color-foreground-1);inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-color-brand)}.tick__label{pointer-events:none;margin-block-start:0.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-color-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";
49
49
 
50
50
  function isRange(value) {
51
51
  return Array.isArray(value);